Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ export class DatePickerMonthHeader extends LitElement {
onKeyDown={isDirectionRight ? this.nextMonthKeydown : this.prevMonthKeydown}
ref={isDirectionRight ? this.nextMonthActionRef : this.prevMonthActionRef}
role="button"
scale={this.scale === "l" ? "l" : "m"}
scale={this.scale}
text={isDirectionRight ? this.messages.nextMonth : this.messages.prevMonth}
/>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ localized.parameters = {
};

export const widthSetToBreakpoints_TestOnly = (): string =>
createBreakpointStories(html`<calcite-date-picker scale="{scale}" value="2000-11-27"></calcite-date-picker>`);
createBreakpointStories(html`<calcite-date-picker value="2000-11-27"></calcite-date-picker>`);

export const defaultWidthAllScales_TestOnly = (): string => html`
<calcite-date-picker scale="s" value="2000-11-27"></calcite-date-picker>
Expand Down
Loading