@cloudscape-design/components 3.0.523 → 3.0.524

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,10 +10,10 @@ import { DatePickerProps } from '../../date-picker/interfaces';
10
10
  * - (table navigation) Chrome+VO - weekday is announced twice when navigating to the calendar's header;
11
11
  * - (table navigation) Safari+VO - "dimmed" state is announced twice;
12
12
  * - (table navigation) Firefox/Chrome+NVDA - cannot use table navigation if any cell has a focus;
13
- * - (keyboard navigation) Firefox+NVDA - every day is announced as "not selected";
13
+ * - (keyboard navigation) Firefox+NVDA - every date is announced as "not selected";
14
14
  * - (keyboard navigation) Safari/Chrome+VO - weekdays are not announced;
15
- * - (keyboard navigation) Safari/Chrome+VO - days are not announced as interactive (clickable or selectable);
16
- * - (keyboard navigation) Safari/Chrome+VO - day announcements are not interruptive and can be missed if navigating fast.
15
+ * - (keyboard navigation) Safari/Chrome+VO - dates are not announced as interactive (clickable or selectable);
16
+ * - (keyboard navigation) Safari/Chrome+VO - date announcements are not interruptive and can be missed if navigating fast.
17
17
  */
18
18
  export interface GridProps {
19
19
  locale: string;
@@ -51,7 +51,7 @@ export default function Grid({ locale, baseDate, isDateEnabled, focusedDate, foc
51
51
  onFocusDate(updatedFocusDate);
52
52
  };
53
53
  // The focused date changes as a feedback to keyboard navigation in the grid.
54
- // Once changed, the corresponding day button needs to receive the actual focus.
54
+ // Once changed, the corresponding date button needs to receive the actual focus.
55
55
  useEffectOnUpdate(() => {
56
56
  if (focusedDate && focusedDateRef.current) {
57
57
  focusedDateRef.current.focus();
@@ -61,10 +61,10 @@ export default function Grid({ locale, baseDate, isDateEnabled, focusedDate, foc
61
61
  const weekdays = weeks[0].map(date => date.getDay());
62
62
  return (React.createElement("table", { role: "grid", className: styles['calendar-grid'], "aria-labelledby": ariaLabelledby },
63
63
  React.createElement("thead", null,
64
- React.createElement("tr", null, weekdays.map(dayIndex => (React.createElement("th", { key: dayIndex, scope: "col", className: clsx(styles['calendar-grid-cell'], styles['calendar-day-header']) },
64
+ React.createElement("tr", null, weekdays.map(dayIndex => (React.createElement("th", { key: dayIndex, scope: "col", className: clsx(styles['calendar-grid-cell'], styles['calendar-date-header']) },
65
65
  React.createElement("span", { "aria-hidden": "true" }, renderDayName(locale, dayIndex, 'short')),
66
66
  React.createElement(ScreenreaderOnly, null, renderDayName(locale, dayIndex, 'long'))))))),
67
- React.createElement("tbody", { onKeyDown: onGridKeyDownHandler }, weeks.map((week, weekIndex) => (React.createElement("tr", { key: weekIndex, className: styles['calendar-week'] }, week.map((date, dateIndex) => {
67
+ React.createElement("tbody", { onKeyDown: onGridKeyDownHandler }, weeks.map((week, weekIndex) => (React.createElement("tr", { key: weekIndex, className: styles['calendar-row'] }, week.map((date, dateIndex) => {
68
68
  const isFocusable = !!focusableDate && isSameDay(date, focusableDate);
69
69
  const isSelected = !!selectedDate && isSameDay(date, selectedDate);
70
70
  const isEnabled = !isDateEnabled || isDateEnabled(date);
@@ -79,20 +79,20 @@ export default function Grid({ locale, baseDate, isDateEnabled, focusedDate, foc
79
79
  // Can be focused programmatically.
80
80
  tabIndex = -1;
81
81
  }
82
- // Screen-reader announcement for the focused day.
82
+ // Screen-reader announcement for the focused date.
83
83
  let dayAnnouncement = getDateLabel(locale, date, 'short');
84
84
  if (isDateOnSameDay && todayAriaLabel) {
85
85
  dayAnnouncement += '. ' + todayAriaLabel;
86
86
  }
87
87
  return (React.createElement("td", { key: `${weekIndex}:${dateIndex}`, ref: tabIndex === 0 ? focusedDateRef : undefined, tabIndex: tabIndex, "aria-current": isDateOnSameDay ? 'date' : undefined, "aria-selected": isEnabled ? isSelected : undefined, "aria-disabled": !isEnabled,
88
88
  // Do not attach click event when the date is disabled, otherwise VO+safari announces clickable
89
- onClick: isEnabled ? () => onSelectDate(date) : undefined, className: clsx(styles['calendar-grid-cell'], styles['calendar-day'], {
90
- [styles['calendar-day-current-month']]: isSameMonth(date, baseDate),
91
- [styles['calendar-day-enabled']]: isEnabled,
92
- [styles['calendar-day-selected']]: isSelected,
93
- [styles['calendar-day-today']]: isDateOnSameDay,
89
+ onClick: isEnabled ? () => onSelectDate(date) : undefined, className: clsx(styles['calendar-grid-cell'], styles['calendar-date'], {
90
+ [styles['calendar-date-current-page']]: isSameMonth(date, baseDate),
91
+ [styles['calendar-date-enabled']]: isEnabled,
92
+ [styles['calendar-date-selected']]: isSelected,
93
+ [styles['calendar-date-current']]: isDateOnSameDay,
94
94
  }) },
95
- React.createElement("span", { className: styles['day-inner'], "aria-hidden": "true" }, date.getDate()),
95
+ React.createElement("span", { className: styles['date-inner'], "aria-hidden": "true" }, date.getDate()),
96
96
  React.createElement(ScreenreaderOnly, null, dayAnnouncement)));
97
97
  })))))));
98
98
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"lib/default/","sources":["calendar/grid/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,MAAM,MAAM,kBAAkB,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,MAAM,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACjF,OAAO,gBAAgB,MAAM,sDAAsD,CAAC;AACpF,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAgC3F,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,EAC3B,MAAM,EACN,QAAQ,EACR,aAAa,EACb,WAAW,EACX,aA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YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,EACzD,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,MAAM,CAAC,cAAc,CAAC,EAAE;oBACpE,CAAC,MAAM,CAAC,4BAA4B,CAAC,CAAC,EAAE,WAAW,CAAC,IAAI,EAAE,QAAQ,CAAC;oBACnE,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAC,EAAE,SAAS;oBAC3C,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC,EAAE,UAAU;oBAC7C,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAAC,EAAE,eAAe;iBAChD,CAAC;gBAEF,8BAAM,SAAS,EAAE,MAAM,CAAC,WAAW,CAAC,iBAAc,MAAM,IACrD,IAAI,CAAC,OAAO,EAAE,CACV;gBACP,oBAAC,gBAAgB,QAAE,eAAe,CAAoB,CACnD,CACN,CAAC;QACJ,CAAC,CAAC,CACC,CACN,CAAC,CACI,CACF,CACT,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useMemo, useRef } from 'react';\nimport styles from '../styles.css.js';\nimport { KeyCode } from '../../internal/keycode';\nimport { isSameDay, isSameMonth } from 'date-fns';\nimport { getCalendarMonth } from 'mnth';\nimport { DayIndex } from '../internal';\nimport { DatePickerProps } from '../../date-picker/interfaces';\nimport { getDateLabel, renderDayName } from '../utils/intl';\nimport clsx from 'clsx';\nimport { useEffectOnUpdate } from '../../internal/hooks/use-effect-on-update.js';\nimport ScreenreaderOnly from '../../internal/components/screenreader-only/index.js';\nimport { moveNextDay, movePrevDay, moveNextWeek, movePrevWeek } from '../utils/navigation';\n\n/**\n * Calendar grid supports two mechanisms of keyboard navigation:\n * - Native screen-reader table navigation (semantic table markup);\n * - Keyboard arrow-keys navigation (a custom key-down handler).\n *\n * The implementation largely follows the w3 example (https://www.w3.org/WAI/ARIA/apg/example-index/dialog-modal/datepicker-dialog) and shares the following issues:\n * - (table navigation) Chrome+VO - weekday is announced twice when navigating to the calendar's header;\n * - (table navigation) Safari+VO - \"dimmed\" state is announced twice;\n * - (table navigation) Firefox/Chrome+NVDA - cannot use table navigation if any cell has a focus;\n * - (keyboard navigation) Firefox+NVDA - every day is announced as \"not selected\";\n * - (keyboard navigation) Safari/Chrome+VO - weekdays are not announced;\n * - (keyboard navigation) Safari/Chrome+VO - days are not announced as interactive (clickable or selectable);\n * - (keyboard navigation) Safari/Chrome+VO - day announcements are not interruptive and can be missed if navigating fast.\n */\n\nexport interface GridProps {\n locale: string;\n baseDate: Date;\n isDateEnabled: DatePickerProps.IsDateEnabledFunction;\n focusedDate: Date | null;\n focusableDate: Date | null;\n onSelectDate: (date: Date) => void;\n onFocusDate: (date: null | Date) => void;\n onChangeMonth: (date: Date) => void;\n startOfWeek: DayIndex;\n todayAriaLabel?: string;\n selectedDate: Date | null;\n ariaLabelledby: string;\n}\n\nexport default function Grid({\n locale,\n baseDate,\n isDateEnabled,\n focusedDate,\n focusableDate,\n onSelectDate,\n onFocusDate,\n onChangeMonth,\n startOfWeek,\n todayAriaLabel,\n selectedDate,\n ariaLabelledby,\n}: GridProps) {\n const focusedDateRef = useRef<HTMLTableCellElement>(null);\n\n const onGridKeyDownHandler = (event: React.KeyboardEvent) => {\n let updatedFocusDate;\n\n if (focusableDate === null) {\n return;\n }\n\n switch (event.keyCode) {\n case KeyCode.space:\n case KeyCode.enter:\n event.preventDefault();\n if (focusableDate) {\n onFocusDate(null);\n onSelectDate(focusableDate);\n }\n return;\n case KeyCode.right:\n event.preventDefault();\n updatedFocusDate = moveNextDay(focusableDate, isDateEnabled);\n break;\n case KeyCode.left:\n event.preventDefault();\n updatedFocusDate = movePrevDay(focusableDate, isDateEnabled);\n break;\n case KeyCode.up:\n event.preventDefault();\n updatedFocusDate = movePrevWeek(focusableDate, isDateEnabled);\n break;\n case KeyCode.down:\n event.preventDefault();\n updatedFocusDate = moveNextWeek(focusableDate, isDateEnabled);\n break;\n default:\n return;\n }\n\n if (!isSameMonth(updatedFocusDate, baseDate)) {\n onChangeMonth(updatedFocusDate);\n }\n onFocusDate(updatedFocusDate);\n };\n\n // The focused date changes as a feedback to keyboard navigation in the grid.\n // Once changed, the corresponding day button needs to receive the actual focus.\n useEffectOnUpdate(() => {\n if (focusedDate && focusedDateRef.current) {\n (focusedDateRef.current as HTMLDivElement).focus();\n }\n }, [focusedDate]);\n\n const weeks = useMemo<Date[][]>(\n () => getCalendarMonth(baseDate, { firstDayOfWeek: startOfWeek }),\n [baseDate, startOfWeek]\n );\n const weekdays = weeks[0].map(date => date.getDay());\n\n return (\n <table role=\"grid\" className={styles['calendar-grid']} aria-labelledby={ariaLabelledby}>\n <thead>\n <tr>\n {weekdays.map(dayIndex => (\n <th\n key={dayIndex}\n scope=\"col\"\n className={clsx(styles['calendar-grid-cell'], styles['calendar-day-header'])}\n >\n <span aria-hidden=\"true\">{renderDayName(locale, dayIndex, 'short')}</span>\n <ScreenreaderOnly>{renderDayName(locale, dayIndex, 'long')}</ScreenreaderOnly>\n </th>\n ))}\n </tr>\n </thead>\n <tbody onKeyDown={onGridKeyDownHandler}>\n {weeks.map((week, weekIndex) => (\n <tr key={weekIndex} className={styles['calendar-week']}>\n {week.map((date, dateIndex) => {\n const isFocusable = !!focusableDate && isSameDay(date, focusableDate);\n const isSelected = !!selectedDate && isSameDay(date, selectedDate);\n const isEnabled = !isDateEnabled || isDateEnabled(date);\n const isDateOnSameDay = isSameDay(date, new Date());\n\n // Can't be focused.\n let tabIndex = undefined;\n if (isFocusable && isEnabled) {\n // Next focus target.\n tabIndex = 0;\n } else if (isEnabled) {\n // Can be focused programmatically.\n tabIndex = -1;\n }\n\n // Screen-reader announcement for the focused day.\n let dayAnnouncement = getDateLabel(locale, date, 'short');\n if (isDateOnSameDay && todayAriaLabel) {\n dayAnnouncement += '. ' + todayAriaLabel;\n }\n\n return (\n <td\n key={`${weekIndex}:${dateIndex}`}\n ref={tabIndex === 0 ? focusedDateRef : undefined}\n tabIndex={tabIndex}\n aria-current={isDateOnSameDay ? 'date' : undefined}\n aria-selected={isEnabled ? isSelected : undefined}\n aria-disabled={!isEnabled}\n // Do not attach click event when the date is disabled, otherwise VO+safari announces clickable\n onClick={isEnabled ? () => onSelectDate(date) : undefined}\n className={clsx(styles['calendar-grid-cell'], styles['calendar-day'], {\n [styles['calendar-day-current-month']]: isSameMonth(date, baseDate),\n [styles['calendar-day-enabled']]: isEnabled,\n [styles['calendar-day-selected']]: isSelected,\n [styles['calendar-day-today']]: isDateOnSameDay,\n })}\n >\n <span className={styles['day-inner']} aria-hidden=\"true\">\n {date.getDate()}\n </span>\n <ScreenreaderOnly>{dayAnnouncement}</ScreenreaderOnly>\n </td>\n );\n })}\n </tr>\n ))}\n </tbody>\n </table>\n );\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"lib/default/","sources":["calendar/grid/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,MAAM,MAAM,kBAAkB,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,MAAM,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACjF,OAAO,gBAAgB,MAAM,sDAAsD,CAAC;AACpF,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAgC3F,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC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,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,EACzD,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,MAAM,CAAC,eAAe,CAAC,EAAE;oBACrE,CAAC,MAAM,CAAC,4BAA4B,CAAC,CAAC,EAAE,WAAW,CAAC,IAAI,EAAE,QAAQ,CAAC;oBACnE,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC,EAAE,SAAS;oBAC5C,CAAC,MAAM,CAAC,wBAAwB,CAAC,CAAC,EAAE,UAAU;oBAC9C,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC,EAAE,eAAe;iBACnD,CAAC;gBAEF,8BAAM,SAAS,EAAE,MAAM,CAAC,YAAY,CAAC,iBAAc,MAAM,IACtD,IAAI,CAAC,OAAO,EAAE,CACV;gBACP,oBAAC,gBAAgB,QAAE,eAAe,CAAoB,CACnD,CACN,CAAC;QACJ,CAAC,CAAC,CACC,CACN,CAAC,CACI,CACF,CACT,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useMemo, useRef } from 'react';\nimport styles from '../styles.css.js';\nimport { KeyCode } from '../../internal/keycode';\nimport { isSameDay, isSameMonth } from 'date-fns';\nimport { getCalendarMonth } from 'mnth';\nimport { DayIndex } from '../internal';\nimport { DatePickerProps } from '../../date-picker/interfaces';\nimport { getDateLabel, renderDayName } from '../utils/intl';\nimport clsx from 'clsx';\nimport { useEffectOnUpdate } from '../../internal/hooks/use-effect-on-update.js';\nimport ScreenreaderOnly from '../../internal/components/screenreader-only/index.js';\nimport { moveNextDay, movePrevDay, moveNextWeek, movePrevWeek } from '../utils/navigation';\n\n/**\n * Calendar grid supports two mechanisms of keyboard navigation:\n * - Native screen-reader table navigation (semantic table markup);\n * - Keyboard arrow-keys navigation (a custom key-down handler).\n *\n * The implementation largely follows the w3 example (https://www.w3.org/WAI/ARIA/apg/example-index/dialog-modal/datepicker-dialog) and shares the following issues:\n * - (table navigation) Chrome+VO - weekday is announced twice when navigating to the calendar's header;\n * - (table navigation) Safari+VO - \"dimmed\" state is announced twice;\n * - (table navigation) Firefox/Chrome+NVDA - cannot use table navigation if any cell has a focus;\n * - (keyboard navigation) Firefox+NVDA - every date is announced as \"not selected\";\n * - (keyboard navigation) Safari/Chrome+VO - weekdays are not announced;\n * - (keyboard navigation) Safari/Chrome+VO - dates are not announced as interactive (clickable or selectable);\n * - (keyboard navigation) Safari/Chrome+VO - date announcements are not interruptive and can be missed if navigating fast.\n */\n\nexport interface GridProps {\n locale: string;\n baseDate: Date;\n isDateEnabled: DatePickerProps.IsDateEnabledFunction;\n focusedDate: Date | null;\n focusableDate: Date | null;\n onSelectDate: (date: Date) => void;\n onFocusDate: (date: null | Date) => void;\n onChangeMonth: (date: Date) => void;\n startOfWeek: DayIndex;\n todayAriaLabel?: string;\n selectedDate: Date | null;\n ariaLabelledby: string;\n}\n\nexport default function Grid({\n locale,\n baseDate,\n isDateEnabled,\n focusedDate,\n focusableDate,\n onSelectDate,\n onFocusDate,\n onChangeMonth,\n startOfWeek,\n todayAriaLabel,\n selectedDate,\n ariaLabelledby,\n}: GridProps) {\n const focusedDateRef = useRef<HTMLTableCellElement>(null);\n\n const onGridKeyDownHandler = (event: React.KeyboardEvent) => {\n let updatedFocusDate;\n\n if (focusableDate === null) {\n return;\n }\n\n switch (event.keyCode) {\n case KeyCode.space:\n case KeyCode.enter:\n event.preventDefault();\n if (focusableDate) {\n onFocusDate(null);\n onSelectDate(focusableDate);\n }\n return;\n case KeyCode.right:\n event.preventDefault();\n updatedFocusDate = moveNextDay(focusableDate, isDateEnabled);\n break;\n case KeyCode.left:\n event.preventDefault();\n updatedFocusDate = movePrevDay(focusableDate, isDateEnabled);\n break;\n case KeyCode.up:\n event.preventDefault();\n updatedFocusDate = movePrevWeek(focusableDate, isDateEnabled);\n break;\n case KeyCode.down:\n event.preventDefault();\n updatedFocusDate = moveNextWeek(focusableDate, isDateEnabled);\n break;\n default:\n return;\n }\n\n if (!isSameMonth(updatedFocusDate, baseDate)) {\n onChangeMonth(updatedFocusDate);\n }\n onFocusDate(updatedFocusDate);\n };\n\n // The focused date changes as a feedback to keyboard navigation in the grid.\n // Once changed, the corresponding date button needs to receive the actual focus.\n useEffectOnUpdate(() => {\n if (focusedDate && focusedDateRef.current) {\n (focusedDateRef.current as HTMLDivElement).focus();\n }\n }, [focusedDate]);\n\n const weeks = useMemo<Date[][]>(\n () => getCalendarMonth(baseDate, { firstDayOfWeek: startOfWeek }),\n [baseDate, startOfWeek]\n );\n const weekdays = weeks[0].map(date => date.getDay());\n\n return (\n <table role=\"grid\" className={styles['calendar-grid']} aria-labelledby={ariaLabelledby}>\n <thead>\n <tr>\n {weekdays.map(dayIndex => (\n <th\n key={dayIndex}\n scope=\"col\"\n className={clsx(styles['calendar-grid-cell'], styles['calendar-date-header'])}\n >\n <span aria-hidden=\"true\">{renderDayName(locale, dayIndex, 'short')}</span>\n <ScreenreaderOnly>{renderDayName(locale, dayIndex, 'long')}</ScreenreaderOnly>\n </th>\n ))}\n </tr>\n </thead>\n <tbody onKeyDown={onGridKeyDownHandler}>\n {weeks.map((week, weekIndex) => (\n <tr key={weekIndex} className={styles['calendar-row']}>\n {week.map((date, dateIndex) => {\n const isFocusable = !!focusableDate && isSameDay(date, focusableDate);\n const isSelected = !!selectedDate && isSameDay(date, selectedDate);\n const isEnabled = !isDateEnabled || isDateEnabled(date);\n const isDateOnSameDay = isSameDay(date, new Date());\n\n // Can't be focused.\n let tabIndex = undefined;\n if (isFocusable && isEnabled) {\n // Next focus target.\n tabIndex = 0;\n } else if (isEnabled) {\n // Can be focused programmatically.\n tabIndex = -1;\n }\n\n // Screen-reader announcement for the focused date.\n let dayAnnouncement = getDateLabel(locale, date, 'short');\n if (isDateOnSameDay && todayAriaLabel) {\n dayAnnouncement += '. ' + todayAriaLabel;\n }\n\n return (\n <td\n key={`${weekIndex}:${dateIndex}`}\n ref={tabIndex === 0 ? focusedDateRef : undefined}\n tabIndex={tabIndex}\n aria-current={isDateOnSameDay ? 'date' : undefined}\n aria-selected={isEnabled ? isSelected : undefined}\n aria-disabled={!isEnabled}\n // Do not attach click event when the date is disabled, otherwise VO+safari announces clickable\n onClick={isEnabled ? () => onSelectDate(date) : undefined}\n className={clsx(styles['calendar-grid-cell'], styles['calendar-date'], {\n [styles['calendar-date-current-page']]: isSameMonth(date, baseDate),\n [styles['calendar-date-enabled']]: isEnabled,\n [styles['calendar-date-selected']]: isSelected,\n [styles['calendar-date-current']]: isDateOnSameDay,\n })}\n >\n <span className={styles['date-inner']} aria-hidden=\"true\">\n {date.getDate()}\n </span>\n <ScreenreaderOnly>{dayAnnouncement}</ScreenreaderOnly>\n </td>\n );\n })}\n </tr>\n ))}\n </tbody>\n </table>\n );\n}\n"]}
@@ -5,9 +5,9 @@ import { InternalButton } from '../../button/internal';
5
5
  import styles from '../styles.css.js';
6
6
  import { addMonths } from 'date-fns';
7
7
  export function PrevMonthButton({ ariaLabel, baseDate, onChangeMonth }) {
8
- return (React.createElement(InternalButton, { iconName: "angle-left", ariaLabel: ariaLabel, variant: "icon", onClick: () => onChangeMonth(addMonths(baseDate, -1)), formAction: "none", className: styles['calendar-prev-month-btn'] }));
8
+ return (React.createElement(InternalButton, { iconName: "angle-left", ariaLabel: ariaLabel, variant: "icon", onClick: () => onChangeMonth(addMonths(baseDate, -1)), formAction: "none", className: styles['calendar-prev-btn'] }));
9
9
  }
10
10
  export function NextMonthButton({ ariaLabel, baseDate, onChangeMonth }) {
11
- return (React.createElement(InternalButton, { iconName: "angle-right", ariaLabel: ariaLabel, variant: "icon", onClick: () => onChangeMonth(addMonths(baseDate, 1)), formAction: "none", className: styles['calendar-next-month-btn'] }));
11
+ return (React.createElement(InternalButton, { iconName: "angle-right", ariaLabel: ariaLabel, variant: "icon", onClick: () => onChangeMonth(addMonths(baseDate, 1)), formAction: "none", className: styles['calendar-next-btn'] }));
12
12
  }
13
13
  //# sourceMappingURL=header-button.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"header-button.js","sourceRoot":"lib/default/","sources":["calendar/header/header-button.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAEtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,MAAM,MAAM,kBAAkB,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAQrC,MAAM,UAAU,eAAe,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,aAAa,EAAqB;IACvF,OAAO,CACL,oBAAC,cAAc,IACb,QAAQ,EAAC,YAAY,EACrB,SAAS,EAAE,SAAS,EACpB,OAAO,EAAC,MAAM,EACd,OAAO,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,EACrD,UAAU,EAAC,MAAM,EACjB,SAAS,EAAE,MAAM,CAAC,yBAAyB,CAAC,GAC5C,CACH,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,eAAe,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,aAAa,EAAqB;IACvF,OAAO,CACL,oBAAC,cAAc,IACb,QAAQ,EAAC,aAAa,EACtB,SAAS,EAAE,SAAS,EACpB,OAAO,EAAC,MAAM,EACd,OAAO,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,EACpD,UAAU,EAAC,MAAM,EACjB,SAAS,EAAE,MAAM,CAAC,yBAAyB,CAAC,GAC5C,CACH,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport React from 'react';\nimport { InternalButton } from '../../button/internal';\nimport styles from '../styles.css.js';\nimport { addMonths } from 'date-fns';\n\ninterface HeaderButtonProps {\n ariaLabel?: string;\n baseDate: Date;\n onChangeMonth: (date: Date) => void;\n}\n\nexport function PrevMonthButton({ ariaLabel, baseDate, onChangeMonth }: HeaderButtonProps) {\n return (\n <InternalButton\n iconName=\"angle-left\"\n ariaLabel={ariaLabel}\n variant=\"icon\"\n onClick={() => onChangeMonth(addMonths(baseDate, -1))}\n formAction=\"none\"\n className={styles['calendar-prev-month-btn']}\n />\n );\n}\n\nexport function NextMonthButton({ ariaLabel, baseDate, onChangeMonth }: HeaderButtonProps) {\n return (\n <InternalButton\n iconName=\"angle-right\"\n ariaLabel={ariaLabel}\n variant=\"icon\"\n onClick={() => onChangeMonth(addMonths(baseDate, 1))}\n formAction=\"none\"\n className={styles['calendar-next-month-btn']}\n />\n );\n}\n"]}
1
+ {"version":3,"file":"header-button.js","sourceRoot":"lib/default/","sources":["calendar/header/header-button.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAEtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,MAAM,MAAM,kBAAkB,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAQrC,MAAM,UAAU,eAAe,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,aAAa,EAAqB;IACvF,OAAO,CACL,oBAAC,cAAc,IACb,QAAQ,EAAC,YAAY,EACrB,SAAS,EAAE,SAAS,EACpB,OAAO,EAAC,MAAM,EACd,OAAO,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,EACrD,UAAU,EAAC,MAAM,EACjB,SAAS,EAAE,MAAM,CAAC,mBAAmB,CAAC,GACtC,CACH,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,eAAe,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,aAAa,EAAqB;IACvF,OAAO,CACL,oBAAC,cAAc,IACb,QAAQ,EAAC,aAAa,EACtB,SAAS,EAAE,SAAS,EACpB,OAAO,EAAC,MAAM,EACd,OAAO,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,EACpD,UAAU,EAAC,MAAM,EACjB,SAAS,EAAE,MAAM,CAAC,mBAAmB,CAAC,GACtC,CACH,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport React from 'react';\nimport { InternalButton } from '../../button/internal';\nimport styles from '../styles.css.js';\nimport { addMonths } from 'date-fns';\n\ninterface HeaderButtonProps {\n ariaLabel?: string;\n baseDate: Date;\n onChangeMonth: (date: Date) => void;\n}\n\nexport function PrevMonthButton({ ariaLabel, baseDate, onChangeMonth }: HeaderButtonProps) {\n return (\n <InternalButton\n iconName=\"angle-left\"\n ariaLabel={ariaLabel}\n variant=\"icon\"\n onClick={() => onChangeMonth(addMonths(baseDate, -1))}\n formAction=\"none\"\n className={styles['calendar-prev-btn']}\n />\n );\n}\n\nexport function NextMonthButton({ ariaLabel, baseDate, onChangeMonth }: HeaderButtonProps) {\n return (\n <InternalButton\n iconName=\"angle-right\"\n ariaLabel={ariaLabel}\n variant=\"icon\"\n onClick={() => onChangeMonth(addMonths(baseDate, 1))}\n formAction=\"none\"\n className={styles['calendar-next-btn']}\n />\n );\n}\n"]}
@@ -1,23 +1,23 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "calendar": "awsui_calendar_1ykar_1818s_93",
5
- "awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_1ykar_1818s_1",
6
- "root": "awsui_root_1ykar_1818s_124",
7
- "calendar-inner": "awsui_calendar-inner_1ykar_1818s_165",
8
- "calendar-header": "awsui_calendar-header_1ykar_1818s_169",
9
- "calendar-header-month": "awsui_calendar-header-month_1ykar_1818s_174",
10
- "calendar-next-month-btn": "awsui_calendar-next-month-btn_1ykar_1818s_182",
11
- "calendar-prev-month-btn": "awsui_calendar-prev-month-btn_1ykar_1818s_185",
12
- "calendar-grid": "awsui_calendar-grid_1ykar_1818s_188",
13
- "calendar-grid-cell": "awsui_calendar-grid-cell_1ykar_1818s_192",
14
- "calendar-day-header": "awsui_calendar-day-header_1ykar_1818s_198",
15
- "calendar-day": "awsui_calendar-day_1ykar_1818s_198",
16
- "calendar-day-enabled": "awsui_calendar-day-enabled_1ykar_1818s_218",
17
- "calendar-day-current-month": "awsui_calendar-day-current-month_1ykar_1818s_228",
18
- "calendar-day-selected": "awsui_calendar-day-selected_1ykar_1818s_235",
19
- "calendar-day-today": "awsui_calendar-day-today_1ykar_1818s_239",
20
- "day-inner": "awsui_day-inner_1ykar_1818s_257",
21
- "calendar-week": "awsui_calendar-week_1ykar_1818s_332"
4
+ "calendar": "awsui_calendar_1ykar_2xzng_93",
5
+ "awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_1ykar_2xzng_1",
6
+ "root": "awsui_root_1ykar_2xzng_124",
7
+ "calendar-inner": "awsui_calendar-inner_1ykar_2xzng_165",
8
+ "calendar-header": "awsui_calendar-header_1ykar_2xzng_169",
9
+ "calendar-header-month": "awsui_calendar-header-month_1ykar_2xzng_174",
10
+ "calendar-next-btn": "awsui_calendar-next-btn_1ykar_2xzng_182",
11
+ "calendar-prev-btn": "awsui_calendar-prev-btn_1ykar_2xzng_185",
12
+ "calendar-grid": "awsui_calendar-grid_1ykar_2xzng_188",
13
+ "calendar-grid-cell": "awsui_calendar-grid-cell_1ykar_2xzng_192",
14
+ "calendar-date-header": "awsui_calendar-date-header_1ykar_2xzng_198",
15
+ "calendar-date": "awsui_calendar-date_1ykar_2xzng_198",
16
+ "calendar-date-enabled": "awsui_calendar-date-enabled_1ykar_2xzng_218",
17
+ "calendar-date-current-page": "awsui_calendar-date-current-page_1ykar_2xzng_228",
18
+ "calendar-date-selected": "awsui_calendar-date-selected_1ykar_2xzng_235",
19
+ "calendar-date-current": "awsui_calendar-date-current_1ykar_2xzng_228",
20
+ "date-inner": "awsui_date-inner_1ykar_2xzng_257",
21
+ "calendar-row": "awsui_calendar-row_1ykar_2xzng_332"
22
22
  };
23
23
 
@@ -90,11 +90,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
90
90
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
91
91
  SPDX-License-Identifier: Apache-2.0
92
92
  */
93
- .awsui_calendar_1ykar_1818s_93:not(#\9) {
94
- animation: awsui_awsui-motion-fade-in-0_1ykar_1818s_1 var(--motion-duration-show-quick-aq3ump, 135ms) var(--motion-easing-show-quick-vc5zgd, ease-out);
93
+ .awsui_calendar_1ykar_2xzng_93:not(#\9) {
94
+ animation: awsui_awsui-motion-fade-in-0_1ykar_2xzng_1 var(--motion-duration-show-quick-aq3ump, 135ms) var(--motion-easing-show-quick-vc5zgd, ease-out);
95
95
  animation-fill-mode: both;
96
96
  }
97
- @keyframes awsui_awsui-motion-fade-in-0_1ykar_1818s_1 {
97
+ @keyframes awsui_awsui-motion-fade-in-0_1ykar_2xzng_1 {
98
98
  from {
99
99
  opacity: 0;
100
100
  }
@@ -103,12 +103,12 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
103
103
  }
104
104
  }
105
105
  @media (prefers-reduced-motion: reduce) {
106
- .awsui_calendar_1ykar_1818s_93:not(#\9) {
106
+ .awsui_calendar_1ykar_2xzng_93:not(#\9) {
107
107
  animation: none;
108
108
  transition: none;
109
109
  }
110
110
  }
111
- .awsui-motion-disabled .awsui_calendar_1ykar_1818s_93:not(#\9), .awsui-mode-entering .awsui_calendar_1ykar_1818s_93:not(#\9) {
111
+ .awsui-motion-disabled .awsui_calendar_1ykar_2xzng_93:not(#\9), .awsui-mode-entering .awsui_calendar_1ykar_2xzng_93:not(#\9) {
112
112
  animation: none;
113
113
  transition: none;
114
114
  }
@@ -121,11 +121,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
121
121
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
122
122
  SPDX-License-Identifier: Apache-2.0
123
123
  */
124
- .awsui_root_1ykar_1818s_124:not(#\9) {
124
+ .awsui_root_1ykar_2xzng_124:not(#\9) {
125
125
  /* used in test-utils */
126
126
  }
127
127
 
128
- .awsui_calendar_1ykar_1818s_93:not(#\9) {
128
+ .awsui_calendar_1ykar_2xzng_93:not(#\9) {
129
129
  display: block;
130
130
  inline-size: var(--size-calendar-grid-width-lrunz7, 238px);
131
131
  overflow: auto;
@@ -163,16 +163,16 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
163
163
  -webkit-font-smoothing: auto;
164
164
  -moz-osx-font-smoothing: auto;
165
165
  }
166
- .awsui_calendar-inner_1ykar_1818s_165:not(#\9) {
166
+ .awsui_calendar-inner_1ykar_2xzng_165:not(#\9) {
167
167
  margin-block: var(--space-xs-zb16t3, 8px);
168
168
  margin-inline: var(--space-xs-zb16t3, 8px);
169
169
  }
170
- .awsui_calendar-header_1ykar_1818s_169:not(#\9) {
170
+ .awsui_calendar-header_1ykar_2xzng_169:not(#\9) {
171
171
  display: flex;
172
172
  justify-content: space-between;
173
173
  align-items: center;
174
174
  }
175
- .awsui_calendar-header-month_1ykar_1818s_174:not(#\9) {
175
+ .awsui_calendar-header-month_1ykar_2xzng_174:not(#\9) {
176
176
  font-size: var(--font-size-body-m-x4okxb, 14px);
177
177
  line-height: var(--line-height-body-m-30ar75, 20px);
178
178
  font-weight: 700;
@@ -180,23 +180,23 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
180
180
  margin-block: 0;
181
181
  margin-inline: 0;
182
182
  }
183
- .awsui_calendar-next-month-btn_1ykar_1818s_182:not(#\9) {
183
+ .awsui_calendar-next-btn_1ykar_2xzng_182:not(#\9) {
184
184
  /* used for identifying element */
185
185
  }
186
- .awsui_calendar-prev-month-btn_1ykar_1818s_185:not(#\9) {
186
+ .awsui_calendar-prev-btn_1ykar_2xzng_185:not(#\9) {
187
187
  /* used for identifying element */
188
188
  }
189
- .awsui_calendar-grid_1ykar_1818s_188:not(#\9) {
189
+ .awsui_calendar-grid_1ykar_2xzng_188:not(#\9) {
190
190
  inline-size: 100%;
191
191
  border-spacing: 0;
192
192
  }
193
- .awsui_calendar-grid-cell_1ykar_1818s_192:not(#\9) {
193
+ .awsui_calendar-grid-cell_1ykar_2xzng_192:not(#\9) {
194
194
  inline-size: 14.2857142857%;
195
195
  word-break: break-word;
196
196
  text-align: center;
197
197
  font-weight: unset;
198
198
  }
199
- .awsui_calendar-day-header_1ykar_1818s_198:not(#\9) {
199
+ .awsui_calendar-date-header_1ykar_2xzng_198:not(#\9) {
200
200
  padding-block-start: var(--space-s-34lx8l, 12px);
201
201
  padding-block-end: var(--space-xxs-p8yyaw, 4px);
202
202
  padding-inline: 0;
@@ -205,7 +205,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
205
205
  line-height: var(--line-height-body-s-7zv1j5, 16px);
206
206
  letter-spacing: var(--letter-spacing-body-s-z9jkwp, 0.005em);
207
207
  }
208
- .awsui_calendar-day_1ykar_1818s_198:not(#\9) {
208
+ .awsui_calendar-date_1ykar_2xzng_198:not(#\9) {
209
209
  border-block-end: 1px solid var(--color-border-calendar-grid-u86q1u, transparent);
210
210
  border-inline-end: 1px solid var(--color-border-calendar-grid-u86q1u, transparent);
211
211
  padding-block: var(--space-xxs-p8yyaw, 4px);
@@ -213,39 +213,39 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
213
213
  color: var(--color-text-dropdown-item-disabled-6oq3n6, #9ba7b6);
214
214
  position: relative;
215
215
  }
216
- .awsui_calendar-day_1ykar_1818s_198:not(#\9):first-child {
216
+ .awsui_calendar-date_1ykar_2xzng_198:not(#\9):first-child {
217
217
  border-inline-start: 1px solid var(--color-border-calendar-grid-u86q1u, transparent);
218
218
  }
219
- .awsui_calendar-day-enabled_1ykar_1818s_218:not(#\9) {
219
+ .awsui_calendar-date-enabled_1ykar_2xzng_218:not(#\9) {
220
220
  cursor: pointer;
221
221
  color: var(--color-text-dropdown-item-secondary-jho0ju, #5f6b7a);
222
222
  }
223
- .awsui_calendar-day-enabled_1ykar_1818s_218:not(#\9)::after {
223
+ .awsui_calendar-date-enabled_1ykar_2xzng_218:not(#\9)::after {
224
224
  border-start-start-radius: var(--border-radius-item-05df9h, 8px);
225
225
  border-start-end-radius: var(--border-radius-item-05df9h, 8px);
226
226
  border-end-start-radius: var(--border-radius-item-05df9h, 8px);
227
227
  border-end-end-radius: var(--border-radius-item-05df9h, 8px);
228
228
  }
229
- .awsui_calendar-day-enabled_1ykar_1818s_218.awsui_calendar-day-current-month_1ykar_1818s_228:not(#\9) {
229
+ .awsui_calendar-date-enabled_1ykar_2xzng_218.awsui_calendar-date-current-page_1ykar_2xzng_228:not(#\9) {
230
230
  color: var(--color-text-dropdown-item-default-4o4hes, #000716);
231
231
  }
232
- .awsui_calendar-day-enabled_1ykar_1818s_218.awsui_calendar-day-current-month_1ykar_1818s_228:not(#\9):hover {
233
- color: var(--color-text-calendar-day-hover-azublp, #000716);
232
+ .awsui_calendar-date-enabled_1ykar_2xzng_218.awsui_calendar-date-current-page_1ykar_2xzng_228:not(#\9):hover {
233
+ color: var(--color-text-calendar-date-hover-llr4as, #000716);
234
234
  background-color: var(--color-background-dropdown-item-hover-swsulg, #f4f4f4);
235
235
  }
236
- .awsui_calendar-day-enabled_1ykar_1818s_218.awsui_calendar-day-current-month_1ykar_1818s_228:not(#\9):hover:not(.awsui_calendar-day-selected_1ykar_1818s_235)::after {
236
+ .awsui_calendar-date-enabled_1ykar_2xzng_218.awsui_calendar-date-current-page_1ykar_2xzng_228:not(#\9):hover:not(.awsui_calendar-date-selected_1ykar_2xzng_235)::after {
237
237
  border-block: var(--border-item-width-yel47s, 2px) solid var(--color-border-dropdown-item-hover-461g78, #7d8998);
238
238
  border-inline: var(--border-item-width-yel47s, 2px) solid var(--color-border-dropdown-item-hover-461g78, #7d8998);
239
239
  }
240
- .awsui_calendar-day-today_1ykar_1818s_239:not(#\9) {
241
- background-color: var(--color-background-calendar-today-gp14tm, #f4f4f4);
240
+ .awsui_calendar-date-current_1ykar_2xzng_228:not(#\9) {
241
+ background-color: var(--color-background-calendar-current-date-kmb0ji, #f4f4f4);
242
242
  border-start-start-radius: var(--border-radius-item-05df9h, 8px);
243
243
  border-start-end-radius: var(--border-radius-item-05df9h, 8px);
244
244
  border-end-start-radius: var(--border-radius-item-05df9h, 8px);
245
245
  border-end-end-radius: var(--border-radius-item-05df9h, 8px);
246
246
  font-weight: 700;
247
247
  }
248
- .awsui_calendar-day_1ykar_1818s_198:not(#\9)::after {
248
+ .awsui_calendar-date_1ykar_2xzng_198:not(#\9)::after {
249
249
  content: "";
250
250
  position: absolute;
251
251
  z-index: 1;
@@ -255,21 +255,21 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
255
255
  inset-inline-end: calc(-1 * var(--border-item-width-yel47s, 2px));
256
256
  background-color: transparent;
257
257
  }
258
- .awsui_calendar-day_1ykar_1818s_198 > .awsui_day-inner_1ykar_1818s_257:not(#\9) {
258
+ .awsui_calendar-date_1ykar_2xzng_198 > .awsui_date-inner_1ykar_2xzng_257:not(#\9) {
259
259
  position: relative;
260
260
  z-index: 1;
261
261
  }
262
- .awsui_calendar-day_1ykar_1818s_198:not(#\9):focus {
262
+ .awsui_calendar-date_1ykar_2xzng_198:not(#\9):focus {
263
263
  outline: none;
264
264
  }
265
- body[data-awsui-focus-visible=true] .awsui_calendar-day_1ykar_1818s_198:not(#\9):focus:focus {
265
+ body[data-awsui-focus-visible=true] .awsui_calendar-date_1ykar_2xzng_198:not(#\9):focus:focus {
266
266
  position: relative;
267
267
  }
268
- body[data-awsui-focus-visible=true] .awsui_calendar-day_1ykar_1818s_198:not(#\9):focus:focus {
268
+ body[data-awsui-focus-visible=true] .awsui_calendar-date_1ykar_2xzng_198:not(#\9):focus:focus {
269
269
  outline: 2px dotted transparent;
270
270
  outline-offset: calc(var(--space-calendar-grid-focus-outline-gutter-g00bgj, -5px) - 1px);
271
271
  }
272
- body[data-awsui-focus-visible=true] .awsui_calendar-day_1ykar_1818s_198:not(#\9):focus:focus::before {
272
+ body[data-awsui-focus-visible=true] .awsui_calendar-date_1ykar_2xzng_198:not(#\9):focus:focus::before {
273
273
  content: " ";
274
274
  display: block;
275
275
  position: absolute;
@@ -283,23 +283,23 @@ body[data-awsui-focus-visible=true] .awsui_calendar-day_1ykar_1818s_198:not(#\9)
283
283
  border-end-end-radius: var(--border-radius-calendar-day-focus-ring-545h0w, 3px);
284
284
  box-shadow: 0 0 0 2px var(--color-border-item-focused-b2ntyl, #0972d3);
285
285
  }
286
- body[data-awsui-focus-visible=true] .awsui_calendar-day_1ykar_1818s_198:not(#\9):focus:focus::before {
286
+ body[data-awsui-focus-visible=true] .awsui_calendar-date_1ykar_2xzng_198:not(#\9):focus:focus::before {
287
287
  z-index: 2;
288
288
  }
289
- .awsui_calendar-day-selected_1ykar_1818s_235:not(#\9) {
289
+ .awsui_calendar-date-selected_1ykar_2xzng_235:not(#\9) {
290
290
  border-color: transparent;
291
291
  position: relative;
292
292
  z-index: 2;
293
293
  font-weight: 700;
294
294
  }
295
- body[data-awsui-focus-visible=true] .awsui_calendar-day-selected_1ykar_1818s_235:not(#\9):focus:focus {
295
+ body[data-awsui-focus-visible=true] .awsui_calendar-date-selected_1ykar_2xzng_235:not(#\9):focus:focus {
296
296
  position: relative;
297
297
  }
298
- body[data-awsui-focus-visible=true] .awsui_calendar-day-selected_1ykar_1818s_235:not(#\9):focus:focus {
298
+ body[data-awsui-focus-visible=true] .awsui_calendar-date-selected_1ykar_2xzng_235:not(#\9):focus:focus {
299
299
  outline: 2px dotted transparent;
300
300
  outline-offset: calc(var(--space-calendar-grid-focus-outline-gutter-g00bgj, -5px) - 1px);
301
301
  }
302
- body[data-awsui-focus-visible=true] .awsui_calendar-day-selected_1ykar_1818s_235:not(#\9):focus:focus::before {
302
+ body[data-awsui-focus-visible=true] .awsui_calendar-date-selected_1ykar_2xzng_235:not(#\9):focus:focus::before {
303
303
  content: " ";
304
304
  display: block;
305
305
  position: absolute;
@@ -313,10 +313,10 @@ body[data-awsui-focus-visible=true] .awsui_calendar-day-selected_1ykar_1818s_235
313
313
  border-end-end-radius: var(--border-radius-calendar-day-focus-ring-545h0w, 3px);
314
314
  box-shadow: 0 0 0 2px var(--color-border-calendar-grid-selected-focus-ring-thqa8y, #fbfbfb);
315
315
  }
316
- body[data-awsui-focus-visible=true] .awsui_calendar-day-selected_1ykar_1818s_235:not(#\9):focus:focus::before {
316
+ body[data-awsui-focus-visible=true] .awsui_calendar-date-selected_1ykar_2xzng_235:not(#\9):focus:focus::before {
317
317
  z-index: 2;
318
318
  }
319
- .awsui_calendar-day-selected_1ykar_1818s_235:not(#\9)::after {
319
+ .awsui_calendar-date-selected_1ykar_2xzng_235:not(#\9)::after {
320
320
  background-color: var(--color-background-control-checked-w517i0, #0972d3);
321
321
  border-block: var(--border-item-width-yel47s, 2px) solid var(--color-background-control-checked-w517i0, #0972d3);
322
322
  border-inline: var(--border-item-width-yel47s, 2px) solid var(--color-background-control-checked-w517i0, #0972d3);
@@ -325,11 +325,11 @@ body[data-awsui-focus-visible=true] .awsui_calendar-day-selected_1ykar_1818s_235
325
325
  border-end-start-radius: var(--border-radius-item-05df9h, 8px);
326
326
  border-end-end-radius: var(--border-radius-item-05df9h, 8px);
327
327
  }
328
- .awsui_calendar-day-selected_1ykar_1818s_235 > .awsui_day-inner_1ykar_1818s_257:not(#\9) {
328
+ .awsui_calendar-date-selected_1ykar_2xzng_235 > .awsui_date-inner_1ykar_2xzng_257:not(#\9) {
329
329
  z-index: 2;
330
330
  color: var(--color-background-control-default-qzruqy, #ffffff);
331
331
  position: relative;
332
332
  }
333
- .awsui_calendar-week_1ykar_1818s_332:not(#\9):first-child > .awsui_calendar-day_1ykar_1818s_198 {
333
+ .awsui_calendar-row_1ykar_2xzng_332:not(#\9):first-child > .awsui_calendar-date_1ykar_2xzng_198 {
334
334
  border-block-start: 1px solid var(--color-border-calendar-grid-u86q1u, transparent);
335
335
  }
@@ -2,23 +2,23 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "calendar": "awsui_calendar_1ykar_1818s_93",
6
- "awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_1ykar_1818s_1",
7
- "root": "awsui_root_1ykar_1818s_124",
8
- "calendar-inner": "awsui_calendar-inner_1ykar_1818s_165",
9
- "calendar-header": "awsui_calendar-header_1ykar_1818s_169",
10
- "calendar-header-month": "awsui_calendar-header-month_1ykar_1818s_174",
11
- "calendar-next-month-btn": "awsui_calendar-next-month-btn_1ykar_1818s_182",
12
- "calendar-prev-month-btn": "awsui_calendar-prev-month-btn_1ykar_1818s_185",
13
- "calendar-grid": "awsui_calendar-grid_1ykar_1818s_188",
14
- "calendar-grid-cell": "awsui_calendar-grid-cell_1ykar_1818s_192",
15
- "calendar-day-header": "awsui_calendar-day-header_1ykar_1818s_198",
16
- "calendar-day": "awsui_calendar-day_1ykar_1818s_198",
17
- "calendar-day-enabled": "awsui_calendar-day-enabled_1ykar_1818s_218",
18
- "calendar-day-current-month": "awsui_calendar-day-current-month_1ykar_1818s_228",
19
- "calendar-day-selected": "awsui_calendar-day-selected_1ykar_1818s_235",
20
- "calendar-day-today": "awsui_calendar-day-today_1ykar_1818s_239",
21
- "day-inner": "awsui_day-inner_1ykar_1818s_257",
22
- "calendar-week": "awsui_calendar-week_1ykar_1818s_332"
5
+ "calendar": "awsui_calendar_1ykar_2xzng_93",
6
+ "awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_1ykar_2xzng_1",
7
+ "root": "awsui_root_1ykar_2xzng_124",
8
+ "calendar-inner": "awsui_calendar-inner_1ykar_2xzng_165",
9
+ "calendar-header": "awsui_calendar-header_1ykar_2xzng_169",
10
+ "calendar-header-month": "awsui_calendar-header-month_1ykar_2xzng_174",
11
+ "calendar-next-btn": "awsui_calendar-next-btn_1ykar_2xzng_182",
12
+ "calendar-prev-btn": "awsui_calendar-prev-btn_1ykar_2xzng_185",
13
+ "calendar-grid": "awsui_calendar-grid_1ykar_2xzng_188",
14
+ "calendar-grid-cell": "awsui_calendar-grid-cell_1ykar_2xzng_192",
15
+ "calendar-date-header": "awsui_calendar-date-header_1ykar_2xzng_198",
16
+ "calendar-date": "awsui_calendar-date_1ykar_2xzng_198",
17
+ "calendar-date-enabled": "awsui_calendar-date-enabled_1ykar_2xzng_218",
18
+ "calendar-date-current-page": "awsui_calendar-date-current-page_1ykar_2xzng_228",
19
+ "calendar-date-selected": "awsui_calendar-date-selected_1ykar_2xzng_235",
20
+ "calendar-date-current": "awsui_calendar-date-current_1ykar_2xzng_228",
21
+ "date-inner": "awsui_date-inner_1ykar_2xzng_257",
22
+ "calendar-row": "awsui_calendar-row_1ykar_2xzng_332"
23
23
  };
24
24
 
@@ -1,30 +1,30 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "grid": "awsui_grid_1mfbn_gaq28_97",
5
- "grid-cell": "awsui_grid-cell_1mfbn_gaq28_102",
6
- "day-header": "awsui_day-header_1mfbn_gaq28_109",
7
- "week": "awsui_week_1mfbn_gaq28_119",
8
- "day": "awsui_day_1mfbn_gaq28_109",
9
- "day-inner": "awsui_day-inner_1mfbn_gaq28_166",
10
- "in-first-row": "awsui_in-first-row_1mfbn_gaq28_171",
11
- "in-previous-month": "awsui_in-previous-month_1mfbn_gaq28_171",
12
- "last-day-of-month": "awsui_last-day-of-month_1mfbn_gaq28_175",
13
- "in-next-month": "awsui_in-next-month_1mfbn_gaq28_179",
14
- "in-first-column": "awsui_in-first-column_1mfbn_gaq28_183",
15
- "in-current-month": "awsui_in-current-month_1mfbn_gaq28_186",
16
- "enabled": "awsui_enabled_1mfbn_gaq28_190",
17
- "in-range": "awsui_in-range_1mfbn_gaq28_196",
18
- "end-date": "awsui_end-date_1mfbn_gaq28_196",
19
- "start-date": "awsui_start-date_1mfbn_gaq28_196",
20
- "no-range": "awsui_no-range_1mfbn_gaq28_196",
21
- "selected": "awsui_selected_1mfbn_gaq28_206",
22
- "today": "awsui_today_1mfbn_gaq28_211",
23
- "range-start-date": "awsui_range-start-date_1mfbn_gaq28_256",
24
- "in-range-border-bottom": "awsui_in-range-border-bottom_1mfbn_gaq28_259",
25
- "range-end-date": "awsui_range-end-date_1mfbn_gaq28_262",
26
- "in-range-border-top": "awsui_in-range-border-top_1mfbn_gaq28_265",
27
- "in-range-border-right": "awsui_in-range-border-right_1mfbn_gaq28_281",
28
- "in-range-border-left": "awsui_in-range-border-left_1mfbn_gaq28_287"
4
+ "grid": "awsui_grid_1mfbn_u2j2d_97",
5
+ "grid-cell": "awsui_grid-cell_1mfbn_u2j2d_102",
6
+ "day-header": "awsui_day-header_1mfbn_u2j2d_109",
7
+ "week": "awsui_week_1mfbn_u2j2d_119",
8
+ "day": "awsui_day_1mfbn_u2j2d_109",
9
+ "day-inner": "awsui_day-inner_1mfbn_u2j2d_166",
10
+ "in-first-row": "awsui_in-first-row_1mfbn_u2j2d_171",
11
+ "in-previous-month": "awsui_in-previous-month_1mfbn_u2j2d_171",
12
+ "last-day-of-month": "awsui_last-day-of-month_1mfbn_u2j2d_175",
13
+ "in-next-month": "awsui_in-next-month_1mfbn_u2j2d_179",
14
+ "in-first-column": "awsui_in-first-column_1mfbn_u2j2d_183",
15
+ "in-current-month": "awsui_in-current-month_1mfbn_u2j2d_186",
16
+ "enabled": "awsui_enabled_1mfbn_u2j2d_190",
17
+ "in-range": "awsui_in-range_1mfbn_u2j2d_196",
18
+ "end-date": "awsui_end-date_1mfbn_u2j2d_196",
19
+ "start-date": "awsui_start-date_1mfbn_u2j2d_196",
20
+ "no-range": "awsui_no-range_1mfbn_u2j2d_196",
21
+ "selected": "awsui_selected_1mfbn_u2j2d_206",
22
+ "today": "awsui_today_1mfbn_u2j2d_211",
23
+ "range-start-date": "awsui_range-start-date_1mfbn_u2j2d_256",
24
+ "in-range-border-bottom": "awsui_in-range-border-bottom_1mfbn_u2j2d_259",
25
+ "range-end-date": "awsui_range-end-date_1mfbn_u2j2d_262",
26
+ "in-range-border-top": "awsui_in-range-border-top_1mfbn_u2j2d_265",
27
+ "in-range-border-right": "awsui_in-range-border-right_1mfbn_u2j2d_281",
28
+ "in-range-border-left": "awsui_in-range-border-left_1mfbn_u2j2d_287"
29
29
  };
30
30