@cloudscape-design/components 3.0.59 → 3.0.61
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.
- package/attribute-editor/styles.scoped.css +4 -1
- package/breadcrumb-group/item/styles.scoped.css +2 -0
- package/calendar/grid/day/index.d.ts +2 -2
- package/calendar/grid/day/index.d.ts.map +1 -1
- package/calendar/grid/day/index.js +5 -4
- package/calendar/grid/day/index.js.map +1 -1
- package/calendar/grid/index.d.ts.map +1 -1
- package/calendar/grid/index.js.map +1 -1
- package/calendar/styles.css.js +20 -20
- package/calendar/styles.scoped.css +69 -41
- package/calendar/styles.selectors.js +20 -20
- package/date-input/internal.js +1 -1
- package/date-input/internal.js.map +1 -1
- package/date-range-picker/calendar/grids/day/styles.css.js +21 -21
- package/date-range-picker/calendar/grids/day/styles.scoped.css +41 -41
- package/date-range-picker/calendar/grids/day/styles.selectors.js +21 -21
- package/date-range-picker/calendar/index.js +23 -27
- package/date-range-picker/calendar/index.js.map +1 -1
- package/date-range-picker/styles.css.js +40 -41
- package/date-range-picker/styles.scoped.css +52 -53
- package/date-range-picker/styles.selectors.js +40 -41
- package/flashbar/flash.d.ts.map +1 -1
- package/flashbar/flash.js +2 -2
- package/flashbar/flash.js.map +1 -1
- package/flashbar/interfaces.d.ts +2 -0
- package/flashbar/interfaces.d.ts.map +1 -1
- package/flashbar/interfaces.js.map +1 -1
- package/help-panel/styles.scoped.css +2 -0
- package/input/internal.js +1 -1
- package/input/internal.js.map +1 -1
- package/internal/base-component/styles.scoped.css +0 -8
- package/internal/environment.js +1 -1
- package/link/styles.scoped.css +18 -1
- package/package.json +1 -1
- package/property-filter/interfaces.d.ts +1 -5
- package/property-filter/interfaces.d.ts.map +1 -1
- package/property-filter/interfaces.js.map +1 -1
- package/property-filter/styles.css.js +25 -30
- package/property-filter/styles.scoped.css +28 -56
- package/property-filter/styles.selectors.js +25 -30
- package/property-filter/token-editor.d.ts.map +1 -1
- package/property-filter/token-editor.js +13 -28
- package/property-filter/token-editor.js.map +1 -1
- package/property-filter/token.d.ts.map +1 -1
- package/property-filter/token.js.map +1 -1
- package/tag-editor/styles.scoped.css +2 -0
- package/text-content/styles.scoped.css +6 -1
- package/textarea/index.js +1 -1
- package/textarea/index.js.map +1 -1
- package/token-group/styles.scoped.css +2 -0
|
@@ -202,10 +202,13 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
202
202
|
color: var(--color-text-link-default-5f186r, #0972d3);
|
|
203
203
|
font-weight: var(--font-link-primary-weight-91pybi, "inherit");
|
|
204
204
|
letter-spacing: var(--font-link-primary-letter-spacing-vmsgcx, "inherit");
|
|
205
|
-
text-decoration: var(--font-link-primary-decoration-wfgjh2, underline);
|
|
205
|
+
-webkit-text-decoration: var(--font-link-primary-decoration-wfgjh2, underline);
|
|
206
|
+
text-decoration: var(--font-link-primary-decoration-wfgjh2, underline);
|
|
206
207
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
207
208
|
text-decoration-color: var(--color-text-link-primary-underline-ga7rq8, #0972d3);
|
|
209
|
+
transition-property: color, -webkit-text-decoration;
|
|
208
210
|
transition-property: color, text-decoration;
|
|
211
|
+
transition-property: color, text-decoration, -webkit-text-decoration;
|
|
209
212
|
transition-duration: var(--motion-duration-refresh-only-medium-5flen2, 165ms);
|
|
210
213
|
}
|
|
211
214
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -108,7 +108,9 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
108
108
|
text-decoration: none;
|
|
109
109
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
110
110
|
text-decoration-color: transparent;
|
|
111
|
+
transition-property: color, -webkit-text-decoration;
|
|
111
112
|
transition-property: color, text-decoration;
|
|
113
|
+
transition-property: color, text-decoration, -webkit-text-decoration;
|
|
112
114
|
transition-duration: var(--motion-duration-refresh-only-medium-5flen2, 165ms);
|
|
113
115
|
}
|
|
114
116
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -10,6 +10,6 @@ interface GridDayProps {
|
|
|
10
10
|
onSelectDate: (date: Date) => void;
|
|
11
11
|
isDateInLastWeek: boolean;
|
|
12
12
|
}
|
|
13
|
-
|
|
14
|
-
export
|
|
13
|
+
export default function GridDay({ locale, baseDate, date, selectedDate, focusedDate, isDateEnabled, todayAriaLabel, onSelectDate, isDateInLastWeek, }: GridDayProps): JSX.Element;
|
|
14
|
+
export {};
|
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/calendar/grid/day/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/calendar/grid/day/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAMlE,UAAU,YAAY;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,IAAI,CAAC;IACf,IAAI,EAAE,IAAI,CAAC;IACX,YAAY,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC3B,WAAW,EAAE,IAAI,GAAG,IAAI,CAAC;IACzB,aAAa,CAAC,EAAE,eAAe,CAAC,qBAAqB,CAAC;IACtD,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IACnC,gBAAgB,EAAE,OAAO,CAAC;CAC3B;AAED,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,EAC9B,MAAM,EACN,QAAQ,EACR,IAAI,EACJ,YAAY,EACZ,WAAW,EACX,aAAa,EACb,cAAc,EACd,YAAY,EACZ,gBAAgB,GACjB,EAAE,YAAY,eAyCd"}
|
|
@@ -6,7 +6,8 @@ import styles from '../../styles.css.js';
|
|
|
6
6
|
import { isSameDay, isSameMonth } from 'date-fns';
|
|
7
7
|
import { getDateLabel } from '../../utils/intl';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
|
|
9
|
+
import useFocusVisible from '../../../internal/hooks/focus-visible/index.js';
|
|
10
|
+
export default function GridDay(_a) {
|
|
10
11
|
var _b;
|
|
11
12
|
var locale = _a.locale, baseDate = _a.baseDate, date = _a.date, selectedDate = _a.selectedDate, focusedDate = _a.focusedDate, isDateEnabled = _a.isDateEnabled, todayAriaLabel = _a.todayAriaLabel, onSelectDate = _a.onSelectDate, isDateInLastWeek = _a.isDateInLastWeek;
|
|
12
13
|
var labels = [getDateLabel(locale, date)];
|
|
@@ -23,6 +24,7 @@ var GridDay = function (_a) {
|
|
|
23
24
|
_b[styles['calendar-day-today']] = isDateOnSameDay,
|
|
24
25
|
_b[styles['calendar-day-focusable']] = isFocusable && isEnabled,
|
|
25
26
|
_b));
|
|
27
|
+
var focusVisible = useFocusVisible();
|
|
26
28
|
if (isSelected) {
|
|
27
29
|
computedAttributes['aria-current'] = 'date';
|
|
28
30
|
}
|
|
@@ -39,8 +41,7 @@ var GridDay = function (_a) {
|
|
|
39
41
|
if (isFocusable && isEnabled) {
|
|
40
42
|
computedAttributes.tabIndex = 0;
|
|
41
43
|
}
|
|
42
|
-
return (React.createElement("div", __assign({ className: classNames, "aria-label": labels.join('. '), role: "button" }, computedAttributes),
|
|
44
|
+
return (React.createElement("div", __assign({ className: classNames, "aria-label": labels.join('. '), role: "button" }, computedAttributes, focusVisible),
|
|
43
45
|
React.createElement("span", { className: styles['day-inner'] }, date.getDate())));
|
|
44
|
-
}
|
|
45
|
-
export default GridDay;
|
|
46
|
+
}
|
|
46
47
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/calendar/grid/day/index.tsx"],"names":[],"mappings":";AAAA,qEAAqE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ACP,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport styles from '../../styles.css.js';\nimport { DatePickerProps } from '../../../date-picker/interfaces';\nimport { isSameDay, isSameMonth } from 'date-fns';\nimport { getDateLabel } from '../../utils/intl';\nimport clsx from 'clsx';\nimport useFocusVisible from '../../../internal/hooks/focus-visible/index.js';\n\ninterface GridDayProps {\n locale: string;\n baseDate: Date;\n date: Date;\n selectedDate?: Date | null;\n focusedDate: Date | null;\n isDateEnabled?: DatePickerProps.IsDateEnabledFunction;\n todayAriaLabel: string;\n onSelectDate: (date: Date) => void;\n isDateInLastWeek: boolean;\n}\n\nexport default function GridDay({\n locale,\n baseDate,\n date,\n selectedDate,\n focusedDate,\n isDateEnabled,\n todayAriaLabel,\n onSelectDate,\n isDateInLastWeek,\n}: GridDayProps) {\n const labels = [getDateLabel(locale, date)];\n const isFocusable = !!focusedDate && isSameDay(date, focusedDate);\n const isSelected = !!selectedDate && isSameDay(date, selectedDate);\n const isEnabled = !isDateEnabled || isDateEnabled(date);\n const isDateOnSameDay = isSameDay(date, new Date());\n const computedAttributes: React.HTMLAttributes<HTMLDivElement> = {};\n const classNames = clsx(styles['calendar-day'], {\n [styles['calendar-day-in-last-week']]: isDateInLastWeek,\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 [styles['calendar-day-focusable']]: isFocusable && isEnabled,\n });\n const focusVisible = useFocusVisible();\n\n if (isSelected) {\n computedAttributes['aria-current'] = 'date';\n }\n\n if (isDateOnSameDay) {\n labels.push(todayAriaLabel);\n }\n\n if (isEnabled) {\n computedAttributes.onClick = () => onSelectDate(date);\n computedAttributes.tabIndex = -1;\n } else {\n computedAttributes['aria-disabled'] = true;\n }\n\n if (isFocusable && isEnabled) {\n computedAttributes.tabIndex = 0;\n }\n\n return (\n <div className={classNames} aria-label={labels.join('. ')} role=\"button\" {...computedAttributes} {...focusVisible}>\n <span className={styles['day-inner']}>{date.getDate()}</span>\n </div>\n );\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/calendar/grid/index.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAI/D,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,IAAI,CAAC;IACf,aAAa,EAAE,eAAe,CAAC,qBAAqB,CAAC;IACrD,WAAW,EAAE,IAAI,GAAG,IAAI,CAAC;IACzB,YAAY,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IACnC,WAAW,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,KAAK,IAAI,CAAC;IACzC,aAAa,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IACpC,WAAW,EAAE,QAAQ,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,IAAI,GAAG,IAAI,CAAC;IAC1B,eAAe,EAAE,gBAAgB,CAAC;CACnC;AAED,QAAA,MAAM,IAAI,4JAYP,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/calendar/grid/index.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAI/D,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,MAA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,CAAC,EAAE,SAAS,EAAE,oBAAoB,IACtE,KAAK,CAAC,GAAG,CAAC,UAAC,IAAI,EAAE,SAAS;YACzB,IAAM,gBAAgB,GAAG,KAAK,CAAC,MAAM,GAAG,CAAC,KAAK,SAAS,CAAC;YACxD,OAAO,CACL,6BAAK,GAAG,EAAE,eAAQ,SAAS,CAAE,EAAE,SAAS,EAAE,MAAM,CAAC,eAAe,CAAC,IAC9D,IAAI,CAAC,GAAG,CAAC,UAAC,IAAI,EAAE,SAAS;gBACxB,OAAO,CACL,oBAAC,OAAO,IACN,GAAG,EAAE,eAAQ,SAAS,cAAI,SAAS,CAAE,EACrC,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,YAAY,EAAE,YAAY,EAC1B,IAAI,EAAE,IAAI,EACV,WAAW,EAAE,WAAW,EACxB,cAAc,EAAE,cAAc,EAC9B,YAAY,EAAE,UAAA,IAAI,IAAI,OAAA,YAAY,CAAC,IAAI,CAAC,EAAlB,CAAkB,EACxC,aAAa,EAAE,aAAa,EAC5B,gBAAgB,EAAE,gBAAgB,GAClC,CACH,CAAC;YACJ,CAAC,CAAC,CACE,CACP,CAAC;QACJ,CAAC,CAAC,CACE,CACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,IAAI,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useMemo } from 'react';\nimport styles from '../styles.css.js';\nimport GridDay from './day';\nimport { KeyCode } from '../../internal/keycode';\nimport { addDays, addWeeks, isSameMonth } from 'date-fns';\nimport { getCalendarMonth } from 'mnth';\nimport { DayIndex } from '../internal';\nimport { MoveFocusHandler } from '../utils/move-focus-handler';\nimport { DatePickerProps } from '../../date-picker/interfaces';\nimport rotateDayIndexes from '../utils/rotate-day-indexes';\nimport { renderDayName } from '../utils/intl';\n\nexport interface GridProps {\n locale: string;\n baseDate: Date;\n isDateEnabled: DatePickerProps.IsDateEnabledFunction;\n focusedDate: 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 handleFocusMove: MoveFocusHandler;\n}\n\nconst Grid = ({\n locale,\n baseDate,\n isDateEnabled,\n focusedDate,\n onSelectDate,\n onFocusDate,\n onChangeMonth,\n startOfWeek,\n todayAriaLabel,\n selectedDate,\n handleFocusMove,\n}: GridProps) => {\n const onGridKeyDownHandler = (event: React.KeyboardEvent) => {\n let updatedFocusDate;\n\n if (focusedDate === null) {\n return;\n }\n\n switch (event.keyCode) {\n case KeyCode.enter:\n event.preventDefault();\n if (focusedDate) {\n onFocusDate(null);\n onSelectDate(focusedDate);\n }\n return;\n case KeyCode.right:\n event.preventDefault();\n updatedFocusDate = handleFocusMove(focusedDate, isDateEnabled, date => addDays(date, 1));\n break;\n case KeyCode.left:\n event.preventDefault();\n updatedFocusDate = handleFocusMove(focusedDate, isDateEnabled, date => addDays(date, -1));\n break;\n case KeyCode.up:\n event.preventDefault();\n updatedFocusDate = handleFocusMove(focusedDate, isDateEnabled, date => addWeeks(date, -1));\n break;\n case KeyCode.down:\n event.preventDefault();\n updatedFocusDate = handleFocusMove(focusedDate, isDateEnabled, date => addWeeks(date, 1));\n break;\n default:\n return;\n }\n\n if (!isSameMonth(updatedFocusDate, baseDate)) {\n onChangeMonth(updatedFocusDate);\n }\n onFocusDate(updatedFocusDate);\n };\n\n const weeks = useMemo<Date[][]>(\n () => getCalendarMonth(baseDate, { firstDayOfWeek: startOfWeek }),\n [baseDate, startOfWeek]\n );\n\n return (\n <div>\n <div className={styles['calendar-day-names']}>\n {rotateDayIndexes(startOfWeek).map(i => (\n <div key={`day-name-${i}`} className={styles['calendar-day-name']}>\n {renderDayName(locale, i)}\n </div>\n ))}\n </div>\n <div className={styles['calendar-dates']} onKeyDown={onGridKeyDownHandler}>\n {weeks.map((week, weekIndex) => {\n const isDateInLastWeek = weeks.length - 1 === weekIndex;\n return (\n <div key={`week-${weekIndex}`} className={styles['calendar-week']}>\n {week.map((date, dateIndex) => {\n return (\n <GridDay\n key={`date-${weekIndex}-${dateIndex}`}\n locale={locale}\n baseDate={baseDate}\n selectedDate={selectedDate}\n date={date}\n focusedDate={focusedDate}\n todayAriaLabel={todayAriaLabel}\n onSelectDate={date => onSelectDate(date)}\n isDateEnabled={isDateEnabled}\n isDateInLastWeek={isDateInLastWeek}\n />\n );\n })}\n </div>\n );\n })}\n </div>\n </div>\n );\n};\n\nexport default Grid;\n"]}
|
package/calendar/styles.css.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"calendar": "
|
|
5
|
-
"awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-
|
|
6
|
-
"root": "
|
|
7
|
-
"calendar-inner": "awsui_calendar-
|
|
8
|
-
"calendar-header": "awsui_calendar-
|
|
9
|
-
"calendar-header-month": "awsui_calendar-header-
|
|
10
|
-
"calendar-next-month-btn": "awsui_calendar-next-month-
|
|
11
|
-
"calendar-prev-month-btn": "awsui_calendar-prev-month-
|
|
12
|
-
"calendar-day-names": "awsui_calendar-day-
|
|
13
|
-
"calendar-day-name": "awsui_calendar-day-
|
|
14
|
-
"calendar-dates": "awsui_calendar-
|
|
15
|
-
"calendar-week": "awsui_calendar-
|
|
16
|
-
"calendar-day": "awsui_calendar-
|
|
17
|
-
"calendar-day-in-last-week": "awsui_calendar-day-in-last-
|
|
18
|
-
"calendar-day-focusable": "awsui_calendar-day-
|
|
19
|
-
"calendar-day-enabled": "awsui_calendar-day-
|
|
20
|
-
"calendar-day-current-month": "awsui_calendar-day-current-
|
|
21
|
-
"calendar-day-selected": "awsui_calendar-day-
|
|
22
|
-
"calendar-day-today": "awsui_calendar-day-
|
|
23
|
-
"day-inner": "awsui_day-
|
|
4
|
+
"calendar": "awsui_calendar_1ykar_9qo45_93",
|
|
5
|
+
"awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_1ykar_9qo45_1",
|
|
6
|
+
"root": "awsui_root_1ykar_9qo45_120",
|
|
7
|
+
"calendar-inner": "awsui_calendar-inner_1ykar_9qo45_137",
|
|
8
|
+
"calendar-header": "awsui_calendar-header_1ykar_9qo45_140",
|
|
9
|
+
"calendar-header-month": "awsui_calendar-header-month_1ykar_9qo45_145",
|
|
10
|
+
"calendar-next-month-btn": "awsui_calendar-next-month-btn_1ykar_9qo45_151",
|
|
11
|
+
"calendar-prev-month-btn": "awsui_calendar-prev-month-btn_1ykar_9qo45_154",
|
|
12
|
+
"calendar-day-names": "awsui_calendar-day-names_1ykar_9qo45_157",
|
|
13
|
+
"calendar-day-name": "awsui_calendar-day-name_1ykar_9qo45_157",
|
|
14
|
+
"calendar-dates": "awsui_calendar-dates_1ykar_9qo45_172",
|
|
15
|
+
"calendar-week": "awsui_calendar-week_1ykar_9qo45_175",
|
|
16
|
+
"calendar-day": "awsui_calendar-day_1ykar_9qo45_157",
|
|
17
|
+
"calendar-day-in-last-week": "awsui_calendar-day-in-last-week_1ykar_9qo45_193",
|
|
18
|
+
"calendar-day-focusable": "awsui_calendar-day-focusable_1ykar_9qo45_196",
|
|
19
|
+
"calendar-day-enabled": "awsui_calendar-day-enabled_1ykar_9qo45_199",
|
|
20
|
+
"calendar-day-current-month": "awsui_calendar-day-current-month_1ykar_9qo45_206",
|
|
21
|
+
"calendar-day-selected": "awsui_calendar-day-selected_1ykar_9qo45_213",
|
|
22
|
+
"calendar-day-today": "awsui_calendar-day-today_1ykar_9qo45_216",
|
|
23
|
+
"day-inner": "awsui_day-inner_1ykar_9qo45_230"
|
|
24
24
|
};
|
|
25
25
|
|
|
@@ -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
|
-
.
|
|
94
|
-
animation: awsui_awsui-motion-fade-in-
|
|
93
|
+
.awsui_calendar_1ykar_9qo45_93:not(#\9) {
|
|
94
|
+
animation: awsui_awsui-motion-fade-in-0_1ykar_9qo45_1 var(--motion-duration-show-quick-tyaalm, 135ms) var(--motion-easing-show-quick-1fcgbv, ease-out);
|
|
95
95
|
animation-fill-mode: both;
|
|
96
96
|
}
|
|
97
|
-
@keyframes awsui_awsui-motion-fade-in-
|
|
97
|
+
@keyframes awsui_awsui-motion-fade-in-0_1ykar_9qo45_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
|
-
.
|
|
106
|
+
.awsui_calendar_1ykar_9qo45_93:not(#\9) {
|
|
107
107
|
animation: none;
|
|
108
108
|
transition: none;
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
|
-
.awsui-motion-disabled .
|
|
111
|
+
.awsui-motion-disabled .awsui_calendar_1ykar_9qo45_93:not(#\9), .awsui-mode-entering .awsui_calendar_1ykar_9qo45_93:not(#\9) {
|
|
112
112
|
animation: none;
|
|
113
113
|
transition: none;
|
|
114
114
|
}
|
|
@@ -117,11 +117,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
117
117
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
118
118
|
SPDX-License-Identifier: Apache-2.0
|
|
119
119
|
*/
|
|
120
|
-
.
|
|
120
|
+
.awsui_root_1ykar_9qo45_120:not(#\9) {
|
|
121
121
|
/* used in test-utils */
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
.
|
|
124
|
+
.awsui_calendar_1ykar_9qo45_93:not(#\9) {
|
|
125
125
|
display: block;
|
|
126
126
|
width: 234px;
|
|
127
127
|
overflow: auto;
|
|
@@ -160,31 +160,31 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
160
160
|
font-weight: 400;
|
|
161
161
|
font-family: var(--font-family-base-qnistn, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
162
162
|
}
|
|
163
|
-
.awsui_calendar-
|
|
163
|
+
.awsui_calendar-inner_1ykar_9qo45_137:not(#\9) {
|
|
164
164
|
margin: var(--space-xs-rsr2qu, 8px);
|
|
165
165
|
}
|
|
166
|
-
.awsui_calendar-
|
|
166
|
+
.awsui_calendar-header_1ykar_9qo45_140:not(#\9) {
|
|
167
167
|
display: flex;
|
|
168
168
|
justify-content: space-between;
|
|
169
169
|
align-items: center;
|
|
170
170
|
}
|
|
171
|
-
.awsui_calendar-header-
|
|
171
|
+
.awsui_calendar-header-month_1ykar_9qo45_145:not(#\9) {
|
|
172
172
|
font-size: var(--font-body-m-size-sregvd, 14px);
|
|
173
173
|
line-height: var(--font-body-m-line-height-i7xxvv, 22px);
|
|
174
174
|
font-weight: 700;
|
|
175
175
|
color: var(--color-text-dropdown-item-default-7tg9p2, #000716);
|
|
176
176
|
}
|
|
177
|
-
.awsui_calendar-next-month-
|
|
177
|
+
.awsui_calendar-next-month-btn_1ykar_9qo45_151:not(#\9) {
|
|
178
178
|
/* used for identifying element */
|
|
179
179
|
}
|
|
180
|
-
.awsui_calendar-prev-month-
|
|
180
|
+
.awsui_calendar-prev-month-btn_1ykar_9qo45_154:not(#\9) {
|
|
181
181
|
/* used for identifying element */
|
|
182
182
|
}
|
|
183
|
-
.awsui_calendar-day-
|
|
183
|
+
.awsui_calendar-day-names_1ykar_9qo45_157:not(#\9) {
|
|
184
184
|
display: flex;
|
|
185
185
|
justify-content: stretch;
|
|
186
186
|
}
|
|
187
|
-
.awsui_calendar-day-
|
|
187
|
+
.awsui_calendar-day-name_1ykar_9qo45_157:not(#\9) {
|
|
188
188
|
flex: 1 1 0%;
|
|
189
189
|
width: 0;
|
|
190
190
|
word-break: break-word;
|
|
@@ -195,74 +195,79 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
195
195
|
line-height: var(--font-body-s-line-height-kdsbrl, 16px);
|
|
196
196
|
letter-spacing: var(--font-body-s-letter-spacing-cy0oxj, 0.005em);
|
|
197
197
|
}
|
|
198
|
-
.awsui_calendar-
|
|
198
|
+
.awsui_calendar-dates_1ykar_9qo45_172:not(#\9) {
|
|
199
199
|
border: 1px solid var(--color-border-calendar-grid-sshunw, transparent);
|
|
200
200
|
}
|
|
201
|
-
.awsui_calendar-
|
|
201
|
+
.awsui_calendar-week_1ykar_9qo45_175:not(#\9) {
|
|
202
202
|
display: flex;
|
|
203
203
|
justify-content: stretch;
|
|
204
204
|
}
|
|
205
|
-
.awsui_calendar-
|
|
205
|
+
.awsui_calendar-day_1ykar_9qo45_157:not(#\9) {
|
|
206
206
|
flex: 1 1 0%;
|
|
207
207
|
width: 0;
|
|
208
208
|
word-break: break-word;
|
|
209
209
|
text-align: center;
|
|
210
210
|
border-bottom: 1px solid var(--color-border-calendar-grid-sshunw, transparent);
|
|
211
211
|
border-right: 1px solid var(--color-border-calendar-grid-sshunw, transparent);
|
|
212
|
-
border-radius: var(--border-radius-item-u2ibpi, 8px);
|
|
213
212
|
padding: var(--space-xxs-ynfts5, 4px) 0;
|
|
214
213
|
color: var(--color-text-dropdown-item-disabled-varol7, #9ba7b6);
|
|
215
214
|
position: relative;
|
|
216
215
|
}
|
|
217
|
-
.awsui_calendar-
|
|
216
|
+
.awsui_calendar-day_1ykar_9qo45_157:not(#\9):last-child {
|
|
218
217
|
border-right: none;
|
|
219
218
|
}
|
|
220
|
-
.awsui_calendar-day-in-last-
|
|
219
|
+
.awsui_calendar-day-in-last-week_1ykar_9qo45_193:not(#\9) {
|
|
221
220
|
border-bottom: none;
|
|
222
221
|
}
|
|
223
|
-
.awsui_calendar-day-
|
|
222
|
+
.awsui_calendar-day-focusable_1ykar_9qo45_196:not(#\9) {
|
|
224
223
|
/* used for identifying element */
|
|
225
224
|
}
|
|
226
|
-
.awsui_calendar-day-
|
|
225
|
+
.awsui_calendar-day-enabled_1ykar_9qo45_199:not(#\9) {
|
|
227
226
|
cursor: pointer;
|
|
228
227
|
color: var(--color-text-dropdown-item-secondary-0me7js, #5f6b7a);
|
|
229
228
|
}
|
|
230
|
-
.awsui_calendar-day-
|
|
229
|
+
.awsui_calendar-day-enabled_1ykar_9qo45_199:not(#\9)::after {
|
|
230
|
+
border-radius: var(--border-radius-item-u2ibpi, 8px);
|
|
231
|
+
}
|
|
232
|
+
.awsui_calendar-day-enabled_1ykar_9qo45_199.awsui_calendar-day-current-month_1ykar_9qo45_206:not(#\9) {
|
|
231
233
|
color: var(--color-text-dropdown-item-default-7tg9p2, #000716);
|
|
232
234
|
}
|
|
233
|
-
.awsui_calendar-day-
|
|
235
|
+
.awsui_calendar-day-enabled_1ykar_9qo45_199.awsui_calendar-day-current-month_1ykar_9qo45_206:not(#\9):hover {
|
|
234
236
|
color: var(--color-text-calendar-day-hover-graajh, #000716);
|
|
235
237
|
background-color: var(--color-background-dropdown-item-hover-mqsxkv, #f4f4f4);
|
|
236
238
|
}
|
|
237
|
-
.awsui_calendar-day-
|
|
239
|
+
.awsui_calendar-day-enabled_1ykar_9qo45_199.awsui_calendar-day-current-month_1ykar_9qo45_206:not(#\9):hover:not(.awsui_calendar-day-selected_1ykar_9qo45_213)::after {
|
|
238
240
|
border: var(--border-item-width-qbbbsa, 2px) solid var(--color-border-dropdown-item-hover-tyzq9m, #7d8998);
|
|
239
|
-
border-radius: var(--border-radius-item-u2ibpi, 8px);
|
|
240
241
|
}
|
|
241
|
-
.awsui_calendar-day-
|
|
242
|
+
.awsui_calendar-day-today_1ykar_9qo45_216:not(#\9) {
|
|
242
243
|
background-color: var(--color-background-calendar-today-762czq, #f4f4f4);
|
|
244
|
+
border-radius: var(--border-radius-item-u2ibpi, 8px);
|
|
243
245
|
}
|
|
244
|
-
.awsui_calendar-
|
|
246
|
+
.awsui_calendar-day_1ykar_9qo45_157:not(#\9)::after {
|
|
245
247
|
content: "";
|
|
246
248
|
position: absolute;
|
|
247
|
-
|
|
249
|
+
z-index: 1;
|
|
250
|
+
top: calc(-1 * var(--border-item-width-qbbbsa, 2px));
|
|
248
251
|
left: -1px;
|
|
249
252
|
bottom: -1px;
|
|
250
|
-
right: -
|
|
253
|
+
right: calc(-1 * var(--border-item-width-qbbbsa, 2px));
|
|
251
254
|
background-color: transparent;
|
|
252
255
|
}
|
|
253
|
-
.awsui_calendar-
|
|
256
|
+
.awsui_calendar-day_1ykar_9qo45_157 > .awsui_day-inner_1ykar_9qo45_230:not(#\9) {
|
|
254
257
|
position: relative;
|
|
255
258
|
z-index: 1;
|
|
256
259
|
}
|
|
257
|
-
.awsui_calendar-
|
|
260
|
+
.awsui_calendar-day_1ykar_9qo45_157:not(#\9):focus {
|
|
258
261
|
outline: none;
|
|
262
|
+
}
|
|
263
|
+
.awsui_calendar-day_1ykar_9qo45_157:not(#\9):focus[data-awsui-focus-visible=true]:focus {
|
|
259
264
|
position: relative;
|
|
260
265
|
}
|
|
261
|
-
.awsui_calendar-
|
|
266
|
+
.awsui_calendar-day_1ykar_9qo45_157:not(#\9):focus[data-awsui-focus-visible=true]:focus {
|
|
262
267
|
outline: 2px dotted transparent;
|
|
263
268
|
outline-offset: calc(var(--space-calendar-grid-focus-outline-gutter-v3dwvl, -5px) - 1px);
|
|
264
269
|
}
|
|
265
|
-
.awsui_calendar-
|
|
270
|
+
.awsui_calendar-day_1ykar_9qo45_157:not(#\9):focus[data-awsui-focus-visible=true]:focus::before {
|
|
266
271
|
content: " ";
|
|
267
272
|
display: block;
|
|
268
273
|
position: absolute;
|
|
@@ -273,19 +278,42 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
273
278
|
border-radius: var(--border-radius-calendar-day-focus-ring-a8mlqd, 3px);
|
|
274
279
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-ap3b6s, #0972d3);
|
|
275
280
|
}
|
|
276
|
-
.awsui_calendar-
|
|
281
|
+
.awsui_calendar-day_1ykar_9qo45_157:not(#\9):focus[data-awsui-focus-visible=true]:focus::before {
|
|
277
282
|
z-index: 2;
|
|
278
283
|
}
|
|
279
|
-
.awsui_calendar-day-
|
|
284
|
+
.awsui_calendar-day-selected_1ykar_9qo45_213:not(#\9) {
|
|
280
285
|
border-color: transparent;
|
|
281
286
|
position: relative;
|
|
287
|
+
z-index: 2;
|
|
288
|
+
}
|
|
289
|
+
.awsui_calendar-day-selected_1ykar_9qo45_213:not(#\9):focus[data-awsui-focus-visible=true]:focus {
|
|
290
|
+
position: relative;
|
|
291
|
+
}
|
|
292
|
+
.awsui_calendar-day-selected_1ykar_9qo45_213:not(#\9):focus[data-awsui-focus-visible=true]:focus {
|
|
293
|
+
outline: 2px dotted transparent;
|
|
294
|
+
outline-offset: calc(var(--space-calendar-grid-focus-outline-gutter-v3dwvl, -5px) - 1px);
|
|
282
295
|
}
|
|
283
|
-
.awsui_calendar-day-
|
|
284
|
-
|
|
285
|
-
|
|
296
|
+
.awsui_calendar-day-selected_1ykar_9qo45_213:not(#\9):focus[data-awsui-focus-visible=true]:focus::before {
|
|
297
|
+
content: " ";
|
|
298
|
+
display: block;
|
|
299
|
+
position: absolute;
|
|
300
|
+
left: calc(-1 * var(--space-calendar-grid-focus-outline-gutter-v3dwvl, -5px));
|
|
301
|
+
top: calc(-1 * var(--space-calendar-grid-focus-outline-gutter-v3dwvl, -5px));
|
|
302
|
+
width: calc(100% + 2 * var(--space-calendar-grid-focus-outline-gutter-v3dwvl, -5px));
|
|
303
|
+
height: calc(100% + 2 * var(--space-calendar-grid-focus-outline-gutter-v3dwvl, -5px));
|
|
304
|
+
border-radius: var(--border-radius-calendar-day-focus-ring-a8mlqd, 3px);
|
|
305
|
+
box-shadow: 0 0 0 2px var(--color-border-calendar-grid-selected-focus-ring-cxqa0s, #fbfbfb);
|
|
306
|
+
}
|
|
307
|
+
.awsui_calendar-day-selected_1ykar_9qo45_213:not(#\9):focus[data-awsui-focus-visible=true]:focus::before {
|
|
308
|
+
z-index: 2;
|
|
309
|
+
}
|
|
310
|
+
.awsui_calendar-day-selected_1ykar_9qo45_213:not(#\9)::after {
|
|
311
|
+
background-color: var(--color-background-control-checked-9admlu, #0972d3);
|
|
312
|
+
border: var(--border-item-width-qbbbsa, 2px) solid var(--color-background-control-checked-9admlu, #0972d3);
|
|
286
313
|
border-radius: var(--border-radius-item-u2ibpi, 8px);
|
|
287
314
|
}
|
|
288
|
-
.awsui_calendar-day-
|
|
289
|
-
|
|
315
|
+
.awsui_calendar-day-selected_1ykar_9qo45_213 > .awsui_day-inner_1ykar_9qo45_230:not(#\9) {
|
|
316
|
+
z-index: 2;
|
|
317
|
+
color: var(--color-background-control-default-4pa05r, #ffffff);
|
|
290
318
|
position: relative;
|
|
291
319
|
}
|
|
@@ -2,25 +2,25 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"calendar": "
|
|
6
|
-
"awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-
|
|
7
|
-
"root": "
|
|
8
|
-
"calendar-inner": "awsui_calendar-
|
|
9
|
-
"calendar-header": "awsui_calendar-
|
|
10
|
-
"calendar-header-month": "awsui_calendar-header-
|
|
11
|
-
"calendar-next-month-btn": "awsui_calendar-next-month-
|
|
12
|
-
"calendar-prev-month-btn": "awsui_calendar-prev-month-
|
|
13
|
-
"calendar-day-names": "awsui_calendar-day-
|
|
14
|
-
"calendar-day-name": "awsui_calendar-day-
|
|
15
|
-
"calendar-dates": "awsui_calendar-
|
|
16
|
-
"calendar-week": "awsui_calendar-
|
|
17
|
-
"calendar-day": "awsui_calendar-
|
|
18
|
-
"calendar-day-in-last-week": "awsui_calendar-day-in-last-
|
|
19
|
-
"calendar-day-focusable": "awsui_calendar-day-
|
|
20
|
-
"calendar-day-enabled": "awsui_calendar-day-
|
|
21
|
-
"calendar-day-current-month": "awsui_calendar-day-current-
|
|
22
|
-
"calendar-day-selected": "awsui_calendar-day-
|
|
23
|
-
"calendar-day-today": "awsui_calendar-day-
|
|
24
|
-
"day-inner": "awsui_day-
|
|
5
|
+
"calendar": "awsui_calendar_1ykar_9qo45_93",
|
|
6
|
+
"awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_1ykar_9qo45_1",
|
|
7
|
+
"root": "awsui_root_1ykar_9qo45_120",
|
|
8
|
+
"calendar-inner": "awsui_calendar-inner_1ykar_9qo45_137",
|
|
9
|
+
"calendar-header": "awsui_calendar-header_1ykar_9qo45_140",
|
|
10
|
+
"calendar-header-month": "awsui_calendar-header-month_1ykar_9qo45_145",
|
|
11
|
+
"calendar-next-month-btn": "awsui_calendar-next-month-btn_1ykar_9qo45_151",
|
|
12
|
+
"calendar-prev-month-btn": "awsui_calendar-prev-month-btn_1ykar_9qo45_154",
|
|
13
|
+
"calendar-day-names": "awsui_calendar-day-names_1ykar_9qo45_157",
|
|
14
|
+
"calendar-day-name": "awsui_calendar-day-name_1ykar_9qo45_157",
|
|
15
|
+
"calendar-dates": "awsui_calendar-dates_1ykar_9qo45_172",
|
|
16
|
+
"calendar-week": "awsui_calendar-week_1ykar_9qo45_175",
|
|
17
|
+
"calendar-day": "awsui_calendar-day_1ykar_9qo45_157",
|
|
18
|
+
"calendar-day-in-last-week": "awsui_calendar-day-in-last-week_1ykar_9qo45_193",
|
|
19
|
+
"calendar-day-focusable": "awsui_calendar-day-focusable_1ykar_9qo45_196",
|
|
20
|
+
"calendar-day-enabled": "awsui_calendar-day-enabled_1ykar_9qo45_199",
|
|
21
|
+
"calendar-day-current-month": "awsui_calendar-day-current-month_1ykar_9qo45_206",
|
|
22
|
+
"calendar-day-selected": "awsui_calendar-day-selected_1ykar_9qo45_213",
|
|
23
|
+
"calendar-day-today": "awsui_calendar-day-today_1ykar_9qo45_216",
|
|
24
|
+
"day-inner": "awsui_day-inner_1ykar_9qo45_230"
|
|
25
25
|
};
|
|
26
26
|
|
package/date-input/internal.js
CHANGED
|
@@ -24,7 +24,7 @@ var maskArgs = {
|
|
|
24
24
|
};
|
|
25
25
|
var InternalDateInput = React.forwardRef(function (_a, ref) {
|
|
26
26
|
var value = _a.value, onChange = _a.onChange, _b = _a.disableBrowserAutocorrect, disableBrowserAutocorrect = _b === void 0 ? true : _b, _c = _a.__internalRootRef, __internalRootRef = _c === void 0 ? null : _c, props = __rest(_a, ["value", "onChange", "disableBrowserAutocorrect", "__internalRootRef"]);
|
|
27
|
-
return (React.createElement(MaskedInput, __assign({ ref: ref }, props, { value: isoToDisplay(value), onChange: function (event) { return fireNonCancelableEvent(onChange, { value: displayToIso(event.detail.value) }); }, className: clsx(styles.root, props.className), mask: maskArgs, autofix: true, autoComplete: false, disableAutocompleteOnBlur: false, disableBrowserAutocorrect: disableBrowserAutocorrect, __internalRootRef: __internalRootRef })));
|
|
27
|
+
return (React.createElement(MaskedInput, __assign({ ref: ref }, props, { value: isoToDisplay(value || ''), onChange: function (event) { return fireNonCancelableEvent(onChange, { value: displayToIso(event.detail.value) }); }, className: clsx(styles.root, props.className), mask: maskArgs, autofix: true, autoComplete: false, disableAutocompleteOnBlur: false, disableBrowserAutocorrect: disableBrowserAutocorrect, __internalRootRef: __internalRootRef })));
|
|
28
28
|
});
|
|
29
29
|
export default InternalDateInput;
|
|
30
30
|
//# sourceMappingURL=internal.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/date-input/internal.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;;AAEtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,KAAc,MAAM,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,KAAA,EAAE,yBAAwB,EAAxB,iBAAiB,mBAAG,IAAI,KAAA,EAAK,KAAK,cAAvF,uEAAyF,CAAF;IAGvF,OAAO,CACL,oBAAC,WAAW,aACV,GAAG,EAAE,GAAG,IACJ,KAAK,IACT,KAAK,EAAE,YAAY,CAAC,KAAK,IAAI,EAAE,CAAC,EAChC,QAAQ,EAAE,UAAA,KAAK,IAAI,OAAA,sBAAsB,CAAC,QAAQ,EAAE,EAAE,KAAK,EAAE,YAAY,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,EAA7E,CAA6E,EAChG,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC,EAC7C,IAAI,EAAE,QAAQ,EACd,OAAO,EAAE,IAAI,EACb,YAAY,EAAE,KAAK,EACnB,yBAAyB,EAAE,KAAK,EAChC,yBAAyB,EAAE,yBAAyB,EACpD,iBAAiB,EAAE,iBAAiB,IACpC,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,iBAAiB,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport clsx from 'clsx';\nimport { getDaysInMonth } from 'date-fns';\nimport React, { Ref } from 'react';\nimport { fireNonCancelableEvent } from '../internal/events';\nimport { displayToIso, isoToDisplay, parseDate } from '../internal/utils/date-time';\n\nimport MaskedInput from '../internal/components/masked-input';\nimport { MaskArgs } from '../internal/components/masked-input/utils/mask-format';\n\nimport styles from './styles.css.js';\nimport { DateInputProps } from './interfaces';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\n\ntype InternalDateInputProps = DateInputProps & InternalBaseComponentProps;\n\nfunction daysMax(value: string): number {\n // force to first day in month, as new Date('2018-02-30') -> March 2nd 2018\n const baseDate = displayToIso(value).substring(0, 7);\n return getDaysInMonth(parseDate(baseDate));\n}\n\nconst maskArgs: MaskArgs = {\n separator: '/',\n inputSeparators: ['-', '.', ' '],\n segments: [\n { min: 0, max: 9999, default: 2000, length: 4 },\n { min: 1, max: 12, length: 2 },\n { min: 1, max: daysMax, length: 2 },\n ],\n};\n\nconst InternalDateInput = React.forwardRef(\n (\n { value, onChange, disableBrowserAutocorrect = true, __internalRootRef = null, ...props }: InternalDateInputProps,\n ref: Ref<HTMLInputElement>\n ) => {\n return (\n <MaskedInput\n ref={ref}\n {...props}\n value={isoToDisplay(value || '')}\n onChange={event => fireNonCancelableEvent(onChange, { value: displayToIso(event.detail.value) })}\n className={clsx(styles.root, props.className)}\n mask={maskArgs}\n autofix={true}\n autoComplete={false}\n disableAutocompleteOnBlur={false}\n disableBrowserAutocorrect={disableBrowserAutocorrect}\n __internalRootRef={__internalRootRef}\n />\n );\n }\n);\n\nexport default InternalDateInput;\n"]}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"day": "
|
|
5
|
-
"day-inner": "awsui_day-
|
|
6
|
-
"in-first-row": "awsui_in-first-
|
|
7
|
-
"in-previous-month": "awsui_in-previous-
|
|
8
|
-
"last-day-of-month": "awsui_last-day-of-
|
|
9
|
-
"in-next-month": "awsui_in-next-
|
|
10
|
-
"in-first-column": "awsui_in-first-
|
|
11
|
-
"in-current-month": "awsui_in-current-
|
|
12
|
-
"enabled": "
|
|
13
|
-
"in-range": "awsui_in-
|
|
14
|
-
"end-date": "awsui_end-
|
|
15
|
-
"start-date": "awsui_start-
|
|
16
|
-
"no-range": "awsui_no-
|
|
17
|
-
"selected": "
|
|
18
|
-
"today": "
|
|
19
|
-
"range-start-date": "awsui_range-start-
|
|
20
|
-
"in-range-border-bottom": "awsui_in-range-border-
|
|
21
|
-
"range-end-date": "awsui_range-end-
|
|
22
|
-
"in-range-border-top": "awsui_in-range-border-
|
|
23
|
-
"in-range-border-right": "awsui_in-range-border-
|
|
24
|
-
"in-range-border-left": "awsui_in-range-border-
|
|
4
|
+
"day": "awsui_day_vci2l_y5fby_93",
|
|
5
|
+
"day-inner": "awsui_day-inner_vci2l_y5fby_136",
|
|
6
|
+
"in-first-row": "awsui_in-first-row_vci2l_y5fby_141",
|
|
7
|
+
"in-previous-month": "awsui_in-previous-month_vci2l_y5fby_141",
|
|
8
|
+
"last-day-of-month": "awsui_last-day-of-month_vci2l_y5fby_145",
|
|
9
|
+
"in-next-month": "awsui_in-next-month_vci2l_y5fby_149",
|
|
10
|
+
"in-first-column": "awsui_in-first-column_vci2l_y5fby_153",
|
|
11
|
+
"in-current-month": "awsui_in-current-month_vci2l_y5fby_156",
|
|
12
|
+
"enabled": "awsui_enabled_vci2l_y5fby_160",
|
|
13
|
+
"in-range": "awsui_in-range_vci2l_y5fby_166",
|
|
14
|
+
"end-date": "awsui_end-date_vci2l_y5fby_166",
|
|
15
|
+
"start-date": "awsui_start-date_vci2l_y5fby_166",
|
|
16
|
+
"no-range": "awsui_no-range_vci2l_y5fby_166",
|
|
17
|
+
"selected": "awsui_selected_vci2l_y5fby_173",
|
|
18
|
+
"today": "awsui_today_vci2l_y5fby_177",
|
|
19
|
+
"range-start-date": "awsui_range-start-date_vci2l_y5fby_213",
|
|
20
|
+
"in-range-border-bottom": "awsui_in-range-border-bottom_vci2l_y5fby_216",
|
|
21
|
+
"range-end-date": "awsui_range-end-date_vci2l_y5fby_219",
|
|
22
|
+
"in-range-border-top": "awsui_in-range-border-top_vci2l_y5fby_222",
|
|
23
|
+
"in-range-border-right": "awsui_in-range-border-right_vci2l_y5fby_237",
|
|
24
|
+
"in-range-border-left": "awsui_in-range-border-left_vci2l_y5fby_243"
|
|
25
25
|
};
|
|
26
26
|
|