@cloudscape-design/components 3.0.1303 → 3.0.1305
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/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +29 -27
- package/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +115 -46
- package/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +29 -27
- package/app-layout/visual-refresh-toolbar/state/props-merger.js +3 -3
- package/app-layout/visual-refresh-toolbar/state/props-merger.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/state/use-app-layout.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/state/use-app-layout.js +2 -1
- package/app-layout/visual-refresh-toolbar/state/use-app-layout.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.js +5 -0
- package/app-layout/visual-refresh-toolbar/widget-areas/before-main-slot.js.map +1 -1
- package/calendar/styles.css.js +21 -21
- package/calendar/styles.scoped.css +44 -44
- package/calendar/styles.selectors.js +21 -21
- package/collection-preferences/content-display/index.d.ts.map +1 -1
- package/collection-preferences/content-display/index.js +1 -1
- package/collection-preferences/content-display/index.js.map +1 -1
- package/container/interfaces.d.ts +0 -1
- package/container/interfaces.d.ts.map +1 -1
- package/container/interfaces.js.map +1 -1
- package/date-range-picker/calendar/grids/styles.css.js +30 -30
- package/date-range-picker/calendar/grids/styles.scoped.css +56 -56
- package/date-range-picker/calendar/grids/styles.selectors.js +30 -30
- package/dropdown/index.d.ts +0 -3
- package/dropdown/index.d.ts.map +1 -1
- package/dropdown/index.js +0 -3
- package/dropdown/index.js.map +1 -1
- package/i18n/messages/all.all.js +1 -1
- package/i18n/messages/all.all.json +1 -1
- package/i18n/messages/all.ar.js +1 -1
- package/i18n/messages/all.ar.json +1 -1
- package/i18n/messages/all.de.js +1 -1
- package/i18n/messages/all.de.json +1 -1
- package/i18n/messages/all.en-GB.js +1 -1
- package/i18n/messages/all.en-GB.json +1 -1
- package/i18n/messages/all.en.js +1 -1
- package/i18n/messages/all.en.json +1 -1
- package/i18n/messages/all.es.js +1 -1
- package/i18n/messages/all.es.json +1 -1
- package/i18n/messages/all.fr.js +1 -1
- package/i18n/messages/all.fr.json +1 -1
- package/i18n/messages/all.id.js +1 -1
- package/i18n/messages/all.id.json +1 -1
- package/i18n/messages/all.it.js +1 -1
- package/i18n/messages/all.it.json +1 -1
- package/i18n/messages/all.ja.js +1 -1
- package/i18n/messages/all.ja.json +1 -1
- package/i18n/messages/all.ko.js +1 -1
- package/i18n/messages/all.ko.json +1 -1
- package/i18n/messages/all.pt-BR.js +1 -1
- package/i18n/messages/all.pt-BR.json +1 -1
- package/i18n/messages/all.zh-CN.js +1 -1
- package/i18n/messages/all.zh-CN.json +1 -1
- package/i18n/messages/all.zh-TW.js +1 -1
- package/i18n/messages/all.zh-TW.json +1 -1
- package/icon-provider/index.d.ts +0 -3
- package/icon-provider/index.d.ts.map +1 -1
- package/icon-provider/index.js +0 -3
- package/icon-provider/index.js.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +1 -0
- package/index.js.map +1 -1
- package/internal/base-component/styles.scoped.css +13 -2
- package/internal/components/drag-handle/button.d.ts.map +1 -1
- package/internal/components/drag-handle/button.js +1 -1
- package/internal/components/drag-handle/button.js.map +1 -1
- package/internal/components/sortable-area/index.d.ts.map +1 -1
- package/internal/components/sortable-area/index.js +1 -0
- package/internal/components/sortable-area/index.js.map +1 -1
- package/internal/environment.d.ts +2 -1
- package/internal/environment.js +4 -3
- package/internal/environment.json +4 -3
- package/internal/generated/styles/tokens.d.ts +2 -0
- package/internal/generated/styles/tokens.js +2 -0
- package/internal/generated/theming/index.cjs +68 -0
- package/internal/generated/theming/index.cjs.d.ts +27 -0
- package/internal/generated/theming/index.d.ts +27 -0
- package/internal/generated/theming/index.js +68 -0
- package/internal/manifest.json +1 -1
- package/manifest.json +2 -2
- package/navigable-group/index.d.ts +0 -3
- package/navigable-group/index.d.ts.map +1 -1
- package/navigable-group/index.js +0 -3
- package/navigable-group/index.js.map +1 -1
- package/package.json +2 -1
- package/radio-button/index.d.ts +0 -3
- package/radio-button/index.d.ts.map +1 -1
- package/radio-button/index.js +0 -3
- package/radio-button/index.js.map +1 -1
- package/test-utils/dom/index.d.ts +28 -0
- package/test-utils/dom/index.js +20 -1
- package/test-utils/dom/index.js.map +1 -1
- package/test-utils/dom/truncated-text/index.d.ts +6 -0
- package/test-utils/dom/truncated-text/index.js +17 -0
- package/test-utils/dom/truncated-text/index.js.map +1 -0
- package/test-utils/selectors/index.d.ts +18 -0
- package/test-utils/selectors/index.js +15 -1
- package/test-utils/selectors/index.js.map +1 -1
- package/test-utils/selectors/truncated-text/index.d.ts +6 -0
- package/test-utils/selectors/truncated-text/index.js +17 -0
- package/test-utils/selectors/truncated-text/index.js.map +1 -0
- package/toggle-button/styles.css.js +3 -3
- package/toggle-button/styles.scoped.css +6 -2
- package/toggle-button/styles.selectors.js +3 -3
- package/truncated-text/index.d.ts +7 -0
- package/truncated-text/index.d.ts.map +1 -0
- package/truncated-text/index.js +18 -0
- package/truncated-text/index.js.map +1 -0
- package/truncated-text/interfaces.d.ts +16 -0
- package/truncated-text/interfaces.d.ts.map +1 -0
- package/truncated-text/interfaces.js +2 -0
- package/truncated-text/interfaces.js.map +1 -0
- package/truncated-text/internal.d.ts +10 -0
- package/truncated-text/internal.d.ts.map +1 -0
- package/truncated-text/internal.js +47 -0
- package/truncated-text/internal.js.map +1 -0
- package/truncated-text/styles.css.js +6 -0
- package/truncated-text/styles.scoped.css +177 -0
- package/truncated-text/styles.selectors.js +7 -0
- package/truncated-text/test-classes/styles.css.js +6 -0
- package/truncated-text/test-classes/styles.scoped.css +7 -0
- package/truncated-text/test-classes/styles.selectors.js +7 -0
|
@@ -2,26 +2,26 @@
|
|
|
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-title": "awsui_calendar-header-
|
|
11
|
-
"calendar-next-btn": "awsui_calendar-next-
|
|
12
|
-
"calendar-prev-btn": "awsui_calendar-prev-
|
|
13
|
-
"calendar-grid": "awsui_calendar-
|
|
14
|
-
"calendar-grid-dense": "awsui_calendar-grid-
|
|
15
|
-
"calendar-grid-cell": "awsui_calendar-grid-
|
|
16
|
-
"calendar-date-header": "awsui_calendar-date-
|
|
17
|
-
"calendar-date": "awsui_calendar-
|
|
18
|
-
"calendar-date-enabled": "awsui_calendar-date-
|
|
19
|
-
"calendar-date-current-page": "awsui_calendar-date-current-
|
|
20
|
-
"calendar-date-selected": "awsui_calendar-date-
|
|
21
|
-
"calendar-date-current": "awsui_calendar-date-
|
|
22
|
-
"calendar-date-dense": "awsui_calendar-date-
|
|
23
|
-
"date-inner": "awsui_date-
|
|
24
|
-
"calendar-row": "awsui_calendar-
|
|
25
|
-
"disabled-reason-tooltip": "awsui_disabled-reason-
|
|
5
|
+
"calendar": "awsui_calendar_1ykar_14a4k_153",
|
|
6
|
+
"awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_1ykar_14a4k_1",
|
|
7
|
+
"root": "awsui_root_1ykar_14a4k_180",
|
|
8
|
+
"calendar-inner": "awsui_calendar-inner_1ykar_14a4k_218",
|
|
9
|
+
"calendar-header": "awsui_calendar-header_1ykar_14a4k_222",
|
|
10
|
+
"calendar-header-title": "awsui_calendar-header-title_1ykar_14a4k_227",
|
|
11
|
+
"calendar-next-btn": "awsui_calendar-next-btn_1ykar_14a4k_235",
|
|
12
|
+
"calendar-prev-btn": "awsui_calendar-prev-btn_1ykar_14a4k_238",
|
|
13
|
+
"calendar-grid": "awsui_calendar-grid_1ykar_14a4k_241",
|
|
14
|
+
"calendar-grid-dense": "awsui_calendar-grid-dense_1ykar_14a4k_245",
|
|
15
|
+
"calendar-grid-cell": "awsui_calendar-grid-cell_1ykar_14a4k_253",
|
|
16
|
+
"calendar-date-header": "awsui_calendar-date-header_1ykar_14a4k_258",
|
|
17
|
+
"calendar-date": "awsui_calendar-date_1ykar_14a4k_258",
|
|
18
|
+
"calendar-date-enabled": "awsui_calendar-date-enabled_1ykar_14a4k_278",
|
|
19
|
+
"calendar-date-current-page": "awsui_calendar-date-current-page_1ykar_14a4k_288",
|
|
20
|
+
"calendar-date-selected": "awsui_calendar-date-selected_1ykar_14a4k_299",
|
|
21
|
+
"calendar-date-current": "awsui_calendar-date-current_1ykar_14a4k_288",
|
|
22
|
+
"calendar-date-dense": "awsui_calendar-date-dense_1ykar_14a4k_320",
|
|
23
|
+
"date-inner": "awsui_date-inner_1ykar_14a4k_328",
|
|
24
|
+
"calendar-row": "awsui_calendar-row_1ykar_14a4k_403",
|
|
25
|
+
"disabled-reason-tooltip": "awsui_disabled-reason-tooltip_1ykar_14a4k_407"
|
|
26
26
|
};
|
|
27
27
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/collection-preferences/content-display/index.tsx"],"names":[],"mappings":"AAkBA,OAAO,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAC;AAU3D,UAAU,6BAA8B,SAAQ,0BAA0B,CAAC,wBAAwB;IACjG,QAAQ,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC,0BAA0B,CAAC,kBAAkB,CAAC,KAAK,IAAI,CAAC;IACxF,KAAK,CAAC,EAAE,aAAa,CAAC,0BAA0B,CAAC,kBAAkB,CAAC,CAAC;CACtE;AAED,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAAC,EAC/C,KAAK,EACL,WAAW,EACX,OAAO,EACP,KAGG,EACH,QAAQ,EACR,0BAA0B,EAC1B,gCAAgC,EAChC,gCAAgC,EAChC,4BAA4B,EAC5B,yBAAyB,EACzB,mBAAmB,EACnB,qBAA6B,EAC7B,WAAW,GACZ,EAAE,6BAA6B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/collection-preferences/content-display/index.tsx"],"names":[],"mappings":"AAkBA,OAAO,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAC;AAU3D,UAAU,6BAA8B,SAAQ,0BAA0B,CAAC,wBAAwB;IACjG,QAAQ,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC,0BAA0B,CAAC,kBAAkB,CAAC,KAAK,IAAI,CAAC;IACxF,KAAK,CAAC,EAAE,aAAa,CAAC,0BAA0B,CAAC,kBAAkB,CAAC,CAAC;CACtE;AAED,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAAC,EAC/C,KAAK,EACL,WAAW,EACX,OAAO,EACP,KAGG,EACH,QAAQ,EACR,0BAA0B,EAC1B,gCAAgC,EAChC,gCAAgC,EAChC,4BAA4B,EAC5B,yBAAyB,EACzB,mBAAmB,EACnB,qBAA6B,EAC7B,WAAW,GACZ,EAAE,6BAA6B,eAgI/B"}
|
|
@@ -34,7 +34,7 @@ export default function ContentDisplayPreference({ title, description, options,
|
|
|
34
34
|
// are not in the value yet, so they're added as non-visible after the known ones.
|
|
35
35
|
onChange(sortedOptions.map(({ id, visible }) => ({ id, visible: id === option.id ? !option.visible : visible })));
|
|
36
36
|
};
|
|
37
|
-
return (React.createElement("div", { className: styles[componentPrefix], ...getAnalyticsInnerContextAttribute('contentDisplay') },
|
|
37
|
+
return (React.createElement("div", { role: "group", "aria-labelledby": titleId, "aria-describedby": descriptionId, className: styles[componentPrefix], ...getAnalyticsInnerContextAttribute('contentDisplay') },
|
|
38
38
|
React.createElement("h3", { className: getClassName('title'), id: titleId }, i18n('contentDisplayPreference.title', title)),
|
|
39
39
|
React.createElement("p", { className: getClassName('description'), id: descriptionId }, i18n('contentDisplayPreference.description', description)),
|
|
40
40
|
enableColumnFiltering && (React.createElement("div", { className: getClassName('text-filter') },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/collection-preferences/content-display/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAE5E,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,cAAc,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACtB,gBAAgB,GACjB,MAAM,gEAAgE,CAAC;AACxE,OAAO,YAAY,MAAM,qBAAqB,CAAC;AAC/C,OAAO,oBAAoB,MAAM,8BAA8B,CAAC;AAChE,OAAO,kBAAkB,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,iCAAiC,EAAE,MAAM,6BAA6B,CAAC;AAEhF,OAAO,oBAAoB,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAwB,MAAM,SAAS,CAAC;AAErF,OAAO,MAAM,MAAM,kBAAkB,CAAC;AAEtC,MAAM,eAAe,GAAG,iBAAiB,CAAC;AAE1C,MAAM,YAAY,GAAG,CAAC,MAAc,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,eAAe,IAAI,MAAM,EAAE,CAAC,CAAC;AAOhF,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAAC,EAC/C,KAAK,EACL,WAAW,EACX,OAAO,EACP,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/B,EAAE;IACF,OAAO,EAAE,IAAI;CACd,C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vB;gBACD,4BAA4B,EAAE,IAAI,CAChC,uDAAuD,EACvD,4BAA4B,CAC7B;gBACD,mBAAmB,EAAE,IAAI,CAAC,8CAA8C,EAAE,mBAAmB,CAAC;gBAC9F,yBAAyB,EAAE,IAAI,CAC7B,oDAAoD,EACpD,yBAAyB,CAC1B;aACF,GACD,CACE,CACP,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useMemo, useState } from 'react';\n\nimport { useUniqueId } from '@cloudscape-design/component-toolkit/internal';\n\nimport InternalBox from '../../box/internal';\nimport InternalButton from '../../button/internal';\nimport { useInternalI18n } from '../../i18n/context';\nimport {\n formatDndItemCommitted,\n formatDndItemReordered,\n formatDndStarted,\n} from '../../internal/components/sortable-area/use-live-announcements';\nimport InternalList from '../../list/internal';\nimport InternalSpaceBetween from '../../space-between/internal';\nimport InternalTextFilter from '../../text-filter/internal';\nimport { getAnalyticsInnerContextAttribute } from '../analytics-metadata/utils';\nimport { CollectionPreferencesProps } from '../interfaces';\nimport ContentDisplayOption from './content-display-option';\nimport { getFilteredOptions, getSortedOptions, OptionWithVisibility } from './utils';\n\nimport styles from '../styles.css.js';\n\nconst componentPrefix = 'content-display';\n\nconst getClassName = (suffix: string) => styles[`${componentPrefix}-${suffix}`];\n\ninterface ContentDisplayPreferenceProps extends CollectionPreferencesProps.ContentDisplayPreference {\n onChange: (value: ReadonlyArray<CollectionPreferencesProps.ContentDisplayItem>) => void;\n value?: ReadonlyArray<CollectionPreferencesProps.ContentDisplayItem>;\n}\n\nexport default function ContentDisplayPreference({\n title,\n description,\n options,\n value = options.map(({ id }) => ({\n id,\n visible: true,\n })),\n onChange,\n liveAnnouncementDndStarted,\n liveAnnouncementDndItemReordered,\n liveAnnouncementDndItemCommitted,\n liveAnnouncementDndDiscarded,\n dragHandleAriaDescription,\n dragHandleAriaLabel,\n enableColumnFiltering = false,\n i18nStrings,\n}: ContentDisplayPreferenceProps) {\n const idPrefix = useUniqueId(componentPrefix);\n const i18n = useInternalI18n('collection-preferences');\n const [columnFilteringText, setColumnFilteringText] = useState('');\n\n const titleId = `${idPrefix}-title`;\n const descriptionId = `${idPrefix}-description`;\n\n const [sortedOptions, sortedAndFilteredOptions] = useMemo(() => {\n const sorted = getSortedOptions({ options, contentDisplay: value });\n const filtered = getFilteredOptions(sorted, columnFilteringText);\n return [sorted, filtered];\n }, [columnFilteringText, options, value]);\n\n const onToggle = (option: OptionWithVisibility) => {\n // We use sortedOptions as base and not value because there might be options that\n // are not in the value yet, so they're added as non-visible after the known ones.\n onChange(sortedOptions.map(({ id, visible }) => ({ id, visible: id === option.id ? !option.visible : visible })));\n };\n\n return (\n <div className={styles[componentPrefix]} {...getAnalyticsInnerContextAttribute('contentDisplay')}>\n <h3 className={getClassName('title')} id={titleId}>\n {i18n('contentDisplayPreference.title', title)}\n </h3>\n <p className={getClassName('description')} id={descriptionId}>\n {i18n('contentDisplayPreference.description', description)}\n </p>\n\n {/* Filter input */}\n {enableColumnFiltering && (\n <div className={getClassName('text-filter')}>\n <InternalTextFilter\n filteringText={columnFilteringText}\n filteringPlaceholder={i18n(\n 'contentDisplayPreference.i18nStrings.columnFilteringPlaceholder',\n i18nStrings?.columnFilteringPlaceholder\n )}\n filteringAriaLabel={i18n(\n 'contentDisplayPreference.i18nStrings.columnFilteringAriaLabel',\n i18nStrings?.columnFilteringAriaLabel\n )}\n filteringClearAriaLabel={i18n(\n 'contentDisplayPreference.i18nStrings.columnFilteringClearFilterText',\n i18nStrings?.columnFilteringClearFilterText\n )}\n onChange={({ detail }) => setColumnFilteringText(detail.filteringText)}\n countText={i18n(\n 'contentDisplayPreference.i18nStrings.columnFilteringCountText',\n i18nStrings?.columnFilteringCountText\n ? i18nStrings?.columnFilteringCountText(sortedAndFilteredOptions.length)\n : undefined,\n format => format({ count: sortedAndFilteredOptions.length })\n )}\n />\n </div>\n )}\n\n {/* No match */}\n {sortedAndFilteredOptions.length === 0 && (\n <div className={getClassName('no-match')}>\n <InternalSpaceBetween size=\"s\" alignItems=\"center\">\n <InternalBox margin={{ top: 'm' }}>\n {i18n(\n 'contentDisplayPreference.i18nStrings.columnFilteringNoMatchText',\n i18nStrings?.columnFilteringNoMatchText\n )}\n </InternalBox>\n <InternalButton onClick={() => setColumnFilteringText('')}>\n {i18n(\n 'contentDisplayPreference.i18nStrings.columnFilteringClearFilterText',\n i18nStrings?.columnFilteringClearFilterText\n )}\n </InternalButton>\n </InternalSpaceBetween>\n </div>\n )}\n\n <InternalList\n items={sortedAndFilteredOptions}\n renderItem={item => ({\n id: item.id,\n content: <ContentDisplayOption option={item} onToggle={onToggle} />,\n announcementLabel: item.label,\n })}\n disableItemPaddings={true}\n sortable={true}\n sortDisabled={columnFilteringText.trim().length > 0}\n onSortingChange={({ detail: { items } }) => {\n onChange(items);\n }}\n ariaDescribedby={descriptionId}\n ariaLabelledby={titleId}\n i18nStrings={{\n liveAnnouncementDndStarted: i18n(\n 'contentDisplayPreference.liveAnnouncementDndStarted',\n liveAnnouncementDndStarted,\n formatDndStarted\n ),\n liveAnnouncementDndItemReordered: i18n(\n 'contentDisplayPreference.liveAnnouncementDndItemReordered',\n liveAnnouncementDndItemReordered,\n formatDndItemReordered\n ),\n liveAnnouncementDndItemCommitted: i18n(\n 'contentDisplayPreference.liveAnnouncementDndItemCommitted',\n liveAnnouncementDndItemCommitted,\n formatDndItemCommitted\n ),\n liveAnnouncementDndDiscarded: i18n(\n 'contentDisplayPreference.liveAnnouncementDndDiscarded',\n liveAnnouncementDndDiscarded\n ),\n dragHandleAriaLabel: i18n('contentDisplayPreference.dragHandleAriaLabel', dragHandleAriaLabel),\n dragHandleAriaDescription: i18n(\n 'contentDisplayPreference.dragHandleAriaDescription',\n dragHandleAriaDescription\n ),\n }}\n />\n </div>\n );\n}\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/collection-preferences/content-display/index.tsx"],"names":[],"mapp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AC9F,yBAAyB,EAAE,IAAI,CAC7B,oDAAoD,EACpD,yBAAyB,CAC1B;aACF,GACD,CACE,CACP,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useMemo, useState } from 'react';\n\nimport { useUniqueId } from '@cloudscape-design/component-toolkit/internal';\n\nimport InternalBox from '../../box/internal';\nimport InternalButton from '../../button/internal';\nimport { useInternalI18n } from '../../i18n/context';\nimport {\n formatDndItemCommitted,\n formatDndItemReordered,\n formatDndStarted,\n} from '../../internal/components/sortable-area/use-live-announcements';\nimport InternalList from '../../list/internal';\nimport InternalSpaceBetween from '../../space-between/internal';\nimport InternalTextFilter from '../../text-filter/internal';\nimport { getAnalyticsInnerContextAttribute } from '../analytics-metadata/utils';\nimport { CollectionPreferencesProps } from '../interfaces';\nimport ContentDisplayOption from './content-display-option';\nimport { getFilteredOptions, getSortedOptions, OptionWithVisibility } from './utils';\n\nimport styles from '../styles.css.js';\n\nconst componentPrefix = 'content-display';\n\nconst getClassName = (suffix: string) => styles[`${componentPrefix}-${suffix}`];\n\ninterface ContentDisplayPreferenceProps extends CollectionPreferencesProps.ContentDisplayPreference {\n onChange: (value: ReadonlyArray<CollectionPreferencesProps.ContentDisplayItem>) => void;\n value?: ReadonlyArray<CollectionPreferencesProps.ContentDisplayItem>;\n}\n\nexport default function ContentDisplayPreference({\n title,\n description,\n options,\n value = options.map(({ id }) => ({\n id,\n visible: true,\n })),\n onChange,\n liveAnnouncementDndStarted,\n liveAnnouncementDndItemReordered,\n liveAnnouncementDndItemCommitted,\n liveAnnouncementDndDiscarded,\n dragHandleAriaDescription,\n dragHandleAriaLabel,\n enableColumnFiltering = false,\n i18nStrings,\n}: ContentDisplayPreferenceProps) {\n const idPrefix = useUniqueId(componentPrefix);\n const i18n = useInternalI18n('collection-preferences');\n const [columnFilteringText, setColumnFilteringText] = useState('');\n\n const titleId = `${idPrefix}-title`;\n const descriptionId = `${idPrefix}-description`;\n\n const [sortedOptions, sortedAndFilteredOptions] = useMemo(() => {\n const sorted = getSortedOptions({ options, contentDisplay: value });\n const filtered = getFilteredOptions(sorted, columnFilteringText);\n return [sorted, filtered];\n }, [columnFilteringText, options, value]);\n\n const onToggle = (option: OptionWithVisibility) => {\n // We use sortedOptions as base and not value because there might be options that\n // are not in the value yet, so they're added as non-visible after the known ones.\n onChange(sortedOptions.map(({ id, visible }) => ({ id, visible: id === option.id ? !option.visible : visible })));\n };\n\n return (\n <div\n role=\"group\"\n aria-labelledby={titleId}\n aria-describedby={descriptionId}\n className={styles[componentPrefix]}\n {...getAnalyticsInnerContextAttribute('contentDisplay')}\n >\n <h3 className={getClassName('title')} id={titleId}>\n {i18n('contentDisplayPreference.title', title)}\n </h3>\n <p className={getClassName('description')} id={descriptionId}>\n {i18n('contentDisplayPreference.description', description)}\n </p>\n\n {/* Filter input */}\n {enableColumnFiltering && (\n <div className={getClassName('text-filter')}>\n <InternalTextFilter\n filteringText={columnFilteringText}\n filteringPlaceholder={i18n(\n 'contentDisplayPreference.i18nStrings.columnFilteringPlaceholder',\n i18nStrings?.columnFilteringPlaceholder\n )}\n filteringAriaLabel={i18n(\n 'contentDisplayPreference.i18nStrings.columnFilteringAriaLabel',\n i18nStrings?.columnFilteringAriaLabel\n )}\n filteringClearAriaLabel={i18n(\n 'contentDisplayPreference.i18nStrings.columnFilteringClearFilterText',\n i18nStrings?.columnFilteringClearFilterText\n )}\n onChange={({ detail }) => setColumnFilteringText(detail.filteringText)}\n countText={i18n(\n 'contentDisplayPreference.i18nStrings.columnFilteringCountText',\n i18nStrings?.columnFilteringCountText\n ? i18nStrings?.columnFilteringCountText(sortedAndFilteredOptions.length)\n : undefined,\n format => format({ count: sortedAndFilteredOptions.length })\n )}\n />\n </div>\n )}\n\n {/* No match */}\n {sortedAndFilteredOptions.length === 0 && (\n <div className={getClassName('no-match')}>\n <InternalSpaceBetween size=\"s\" alignItems=\"center\">\n <InternalBox margin={{ top: 'm' }}>\n {i18n(\n 'contentDisplayPreference.i18nStrings.columnFilteringNoMatchText',\n i18nStrings?.columnFilteringNoMatchText\n )}\n </InternalBox>\n <InternalButton onClick={() => setColumnFilteringText('')}>\n {i18n(\n 'contentDisplayPreference.i18nStrings.columnFilteringClearFilterText',\n i18nStrings?.columnFilteringClearFilterText\n )}\n </InternalButton>\n </InternalSpaceBetween>\n </div>\n )}\n\n <InternalList\n items={sortedAndFilteredOptions}\n renderItem={item => ({\n id: item.id,\n content: <ContentDisplayOption option={item} onToggle={onToggle} />,\n announcementLabel: item.label,\n })}\n disableItemPaddings={true}\n sortable={true}\n sortDisabled={columnFilteringText.trim().length > 0}\n onSortingChange={({ detail: { items } }) => {\n onChange(items);\n }}\n ariaDescribedby={descriptionId}\n ariaLabelledby={titleId}\n i18nStrings={{\n liveAnnouncementDndStarted: i18n(\n 'contentDisplayPreference.liveAnnouncementDndStarted',\n liveAnnouncementDndStarted,\n formatDndStarted\n ),\n liveAnnouncementDndItemReordered: i18n(\n 'contentDisplayPreference.liveAnnouncementDndItemReordered',\n liveAnnouncementDndItemReordered,\n formatDndItemReordered\n ),\n liveAnnouncementDndItemCommitted: i18n(\n 'contentDisplayPreference.liveAnnouncementDndItemCommitted',\n liveAnnouncementDndItemCommitted,\n formatDndItemCommitted\n ),\n liveAnnouncementDndDiscarded: i18n(\n 'contentDisplayPreference.liveAnnouncementDndDiscarded',\n liveAnnouncementDndDiscarded\n ),\n dragHandleAriaLabel: i18n('contentDisplayPreference.dragHandleAriaLabel', dragHandleAriaLabel),\n dragHandleAriaDescription: i18n(\n 'contentDisplayPreference.dragHandleAriaDescription',\n dragHandleAriaDescription\n ),\n }}\n />\n </div>\n );\n}\n"]}
|
|
@@ -57,7 +57,6 @@ export interface ContainerProps extends BaseComponentProps {
|
|
|
57
57
|
footer?: React.ReactNode;
|
|
58
58
|
/**
|
|
59
59
|
* Determines whether the container footer has padding. If `true`, removes the default padding from the footer.
|
|
60
|
-
* @awsuiSystem core
|
|
61
60
|
*/
|
|
62
61
|
disableFooterPaddings?: boolean;
|
|
63
62
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/container/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhE,MAAM,WAAW,cAAe,SAAQ,kBAAkB;IACxD;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,cAAc,CAAC,iBAAiB,CAAC;IAErD;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEzB;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;;;;;;;;;;;;;;;;;OAkBG;IACH,KAAK,CAAC,EAAE,cAAc,CAAC,KAAK,CAAC;IAE7B;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B;;OAEG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IAEjC;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEzB
|
|
1
|
+
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/container/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhE,MAAM,WAAW,cAAe,SAAQ,kBAAkB;IACxD;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,cAAc,CAAC,iBAAiB,CAAC;IAErD;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEzB;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;;;;;;;;;;;;;;;;;OA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AE;YACP,YAAY,CAAC,EAAE,MAAM,CAAC;YACtB,aAAa,CAAC,EAAE,MAAM,CAAC;SACxB,CAAC;QACF,MAAM,CAAC,EAAE;YACP,IAAI,EAAE;gBACJ,YAAY,CAAC,EAAE,MAAM,CAAC;gBACtB,aAAa,CAAC,EAAE,MAAM,CAAC;aACxB,CAAC;YACF,OAAO,EAAE;gBACP,WAAW,CAAC,EAAE,MAAM,CAAC;gBACrB,WAAW,CAAC,EAAE,MAAM,CAAC;aACtB,CAAC;SACH,CAAC;KACH;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/container/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\n\nimport { BaseComponentProps } from '../internal/base-component';\n\nexport interface ContainerProps extends BaseComponentProps {\n /**\n * Specifies additional analytics-related metadata.\n * * `instanceIdentifier` - A unique string that identifies this component instance in your application.\n * @analytics\n */\n analyticsMetadata?: ContainerProps.AnalyticsMetadata;\n\n /**\n * Heading element of the container. Use the [header component](/components/header/).\n */\n header?: React.ReactNode;\n\n /**\n * Determines whether the container header has padding. If `true`, removes the default padding from the header.\n */\n disableHeaderPaddings?: boolean;\n\n /**\n *\n * Use this slot to render a media element. Supported element types are 'img', 'video', and 'picture'.\n * You can define different positions and sizes for the media element within the container.\n *\n * * `content` - Use this slot to render your media element. We support `img`, `video`, `picture`, and `iframe` elements.\n *\n * * `position` - Defines the media slot's position within the container. Defaults to `top`.\n *\n * * `width` - Defines the width of the media slot when positioned on the side. Corresponds to the `width` CSS-property.\n * When this value is set, media elements larger than the defined width may be cropped, with 'object-fit: cover' centering it.\n * Note: This value is considered only when `position` is set to `side`.\n * If no width is provided, the media slot will take a maximum of 66% of the container's width.\n *\n * * `height` - Defines the height of the media slot when position on the top. Corresponds to the `height` CSS-property.\n * When this value is set, media elements larger than the defined width may be cropped, with 'object-fit: cover' centering it. * Note: This value is only considered if `position` is set to `top`.\n * If no height is provided, the media slot will be displayed at its full height.\n *\n */\n media?: ContainerProps.Media;\n\n /**\n * Main content of the container.\n */\n children?: React.ReactNode;\n\n /**\n * Determines whether the container content has padding. If `true`, removes the default padding from the content area.\n */\n disableContentPaddings?: boolean;\n\n /**\n * Enabling this property will make the container to fit into available height. If content is too short, the container\n * will stretch, if too long, the container will shrink and show vertical scrollbar.\n *\n * Use this property to align heights of multiple containers displayed in a single row. It is recommended to stretch\n * all containers to the height of the longest one, to avoid extra vertical scroll areas.\n */\n fitHeight?: boolean;\n\n /**\n * Footer of the container.\n */\n footer?: React.ReactNode;\n\n /**\n * Determines whether the container footer has padding. If `true`, removes the default padding from the footer.\n
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/container/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\n\nimport { BaseComponentProps } from '../internal/base-component';\n\nexport interface ContainerProps extends BaseComponentProps {\n /**\n * Specifies additional analytics-related metadata.\n * * `instanceIdentifier` - A unique string that identifies this component instance in your application.\n * @analytics\n */\n analyticsMetadata?: ContainerProps.AnalyticsMetadata;\n\n /**\n * Heading element of the container. Use the [header component](/components/header/).\n */\n header?: React.ReactNode;\n\n /**\n * Determines whether the container header has padding. If `true`, removes the default padding from the header.\n */\n disableHeaderPaddings?: boolean;\n\n /**\n *\n * Use this slot to render a media element. Supported element types are 'img', 'video', and 'picture'.\n * You can define different positions and sizes for the media element within the container.\n *\n * * `content` - Use this slot to render your media element. We support `img`, `video`, `picture`, and `iframe` elements.\n *\n * * `position` - Defines the media slot's position within the container. Defaults to `top`.\n *\n * * `width` - Defines the width of the media slot when positioned on the side. Corresponds to the `width` CSS-property.\n * When this value is set, media elements larger than the defined width may be cropped, with 'object-fit: cover' centering it.\n * Note: This value is considered only when `position` is set to `side`.\n * If no width is provided, the media slot will take a maximum of 66% of the container's width.\n *\n * * `height` - Defines the height of the media slot when position on the top. Corresponds to the `height` CSS-property.\n * When this value is set, media elements larger than the defined width may be cropped, with 'object-fit: cover' centering it. * Note: This value is only considered if `position` is set to `top`.\n * If no height is provided, the media slot will be displayed at its full height.\n *\n */\n media?: ContainerProps.Media;\n\n /**\n * Main content of the container.\n */\n children?: React.ReactNode;\n\n /**\n * Determines whether the container content has padding. If `true`, removes the default padding from the content area.\n */\n disableContentPaddings?: boolean;\n\n /**\n * Enabling this property will make the container to fit into available height. If content is too short, the container\n * will stretch, if too long, the container will shrink and show vertical scrollbar.\n *\n * Use this property to align heights of multiple containers displayed in a single row. It is recommended to stretch\n * all containers to the height of the longest one, to avoid extra vertical scroll areas.\n */\n fitHeight?: boolean;\n\n /**\n * Footer of the container.\n */\n footer?: React.ReactNode;\n\n /**\n * Determines whether the container footer has padding. If `true`, removes the default padding from the footer.\n */\n disableFooterPaddings?: boolean;\n\n /**\n * Specify a container variant with one of the following:\n * * `default` - Use this variant in standalone context.\n * * `stacked` - Use this variant adjacent to other stacked containers (such as a container,\n * table).\n * @visualrefresh `stacked` variant\n */\n variant?: 'default' | 'stacked';\n\n /**\n * An object containing CSS properties to customize the container's visual appearance.\n * Refer to the [style](/components/container/?tabId=style) tab for more details.\n * @awsuiSystem core\n */\n style?: ContainerProps.Style;\n}\n\nexport namespace ContainerProps {\n export interface AnalyticsMetadata {\n instanceIdentifier?: string;\n }\n export interface Media {\n /**\n * Use this slot to render your media element. We support `img`, `video`, `picture`, and `iframe` elements.\n */\n content: React.ReactNode;\n\n /**\n * Defines the media slot's position within the container. Defaults to `top`.\n */\n position?: 'top' | 'side';\n\n /**\n * Defines the width of the media slot when positioned on the side. Corresponds to the `width` CSS-property.\n * When this value is set, the media element may be cropped, with `object-fit: cover` centering it.\n *\n * Note: This value is considered only when `position` is set to `side`.\n * If no width is provided, the media slot will take a maximum of 66% of the container's width.\n */\n width?: string | number;\n\n /**\n * Defines the height of the media slot when position on the top. Corresponds to the `height` CSS-property.\n * When this value is set, the media element may be cropped, with `object-fit: cover` centering it.\n *\n * Note: This value is only considered if `position` is set to `top`.\n * If no height is provided, the media slot will be displayed at its full height.\n */\n height?: string | number;\n }\n\n export interface Style {\n root?: {\n background?: string;\n borderColor?: string;\n borderRadius?: string;\n borderWidth?: string;\n boxShadow?: string;\n color?: string;\n };\n content?: {\n paddingBlock?: string;\n paddingInline?: string;\n };\n header?: {\n paddingBlock?: string;\n paddingInline?: string;\n };\n footer?: {\n root: {\n paddingBlock?: string;\n paddingInline?: string;\n };\n divider: {\n borderColor?: string;\n borderWidth?: string;\n };\n };\n }\n}\n"]}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"grid": "
|
|
5
|
-
"grid-cell": "awsui_grid-
|
|
6
|
-
"day-header": "awsui_day-
|
|
7
|
-
"day": "
|
|
8
|
-
"month": "
|
|
9
|
-
"day-inner": "awsui_day-
|
|
10
|
-
"month-inner": "awsui_month-
|
|
11
|
-
"in-first-row": "awsui_in-first-
|
|
12
|
-
"in-previous-month": "awsui_in-previous-
|
|
13
|
-
"in-previous-year": "awsui_in-previous-
|
|
14
|
-
"last-day-of-month": "awsui_last-day-of-
|
|
15
|
-
"last-month-of-year": "awsui_last-month-of-
|
|
16
|
-
"in-next-month": "awsui_in-next-
|
|
17
|
-
"in-next-year": "awsui_in-next-
|
|
18
|
-
"in-first-column": "awsui_in-first-
|
|
19
|
-
"in-visible-calendar": "awsui_in-visible-
|
|
20
|
-
"in-current-month": "awsui_in-current-
|
|
21
|
-
"in-current-year": "awsui_in-current-
|
|
22
|
-
"enabled": "
|
|
23
|
-
"in-range": "awsui_in-
|
|
24
|
-
"end-date": "awsui_end-
|
|
25
|
-
"start-date": "awsui_start-
|
|
26
|
-
"no-range": "awsui_no-
|
|
27
|
-
"selected": "
|
|
28
|
-
"today": "
|
|
29
|
-
"this-month": "awsui_this-
|
|
30
|
-
"in-range-border-block-start": "awsui_in-range-border-block-
|
|
31
|
-
"in-range-border-inline-end": "awsui_in-range-border-inline-
|
|
32
|
-
"in-range-border-block-end": "awsui_in-range-border-block-
|
|
33
|
-
"in-range-border-inline-start": "awsui_in-range-border-inline-
|
|
4
|
+
"grid": "awsui_grid_1mfbn_mrxjd_149",
|
|
5
|
+
"grid-cell": "awsui_grid-cell_1mfbn_mrxjd_154",
|
|
6
|
+
"day-header": "awsui_day-header_1mfbn_mrxjd_161",
|
|
7
|
+
"day": "awsui_day_1mfbn_mrxjd_161",
|
|
8
|
+
"month": "awsui_month_1mfbn_mrxjd_172",
|
|
9
|
+
"day-inner": "awsui_day-inner_1mfbn_mrxjd_220",
|
|
10
|
+
"month-inner": "awsui_month-inner_1mfbn_mrxjd_221",
|
|
11
|
+
"in-first-row": "awsui_in-first-row_1mfbn_mrxjd_228",
|
|
12
|
+
"in-previous-month": "awsui_in-previous-month_1mfbn_mrxjd_228",
|
|
13
|
+
"in-previous-year": "awsui_in-previous-year_1mfbn_mrxjd_229",
|
|
14
|
+
"last-day-of-month": "awsui_last-day-of-month_1mfbn_mrxjd_233",
|
|
15
|
+
"last-month-of-year": "awsui_last-month-of-year_1mfbn_mrxjd_234",
|
|
16
|
+
"in-next-month": "awsui_in-next-month_1mfbn_mrxjd_238",
|
|
17
|
+
"in-next-year": "awsui_in-next-year_1mfbn_mrxjd_239",
|
|
18
|
+
"in-first-column": "awsui_in-first-column_1mfbn_mrxjd_243",
|
|
19
|
+
"in-visible-calendar": "awsui_in-visible-calendar_1mfbn_mrxjd_246",
|
|
20
|
+
"in-current-month": "awsui_in-current-month_1mfbn_mrxjd_246",
|
|
21
|
+
"in-current-year": "awsui_in-current-year_1mfbn_mrxjd_246",
|
|
22
|
+
"enabled": "awsui_enabled_1mfbn_mrxjd_250",
|
|
23
|
+
"in-range": "awsui_in-range_1mfbn_mrxjd_256",
|
|
24
|
+
"end-date": "awsui_end-date_1mfbn_mrxjd_256",
|
|
25
|
+
"start-date": "awsui_start-date_1mfbn_mrxjd_256",
|
|
26
|
+
"no-range": "awsui_no-range_1mfbn_mrxjd_256",
|
|
27
|
+
"selected": "awsui_selected_1mfbn_mrxjd_266",
|
|
28
|
+
"today": "awsui_today_1mfbn_mrxjd_271",
|
|
29
|
+
"this-month": "awsui_this-month_1mfbn_mrxjd_272",
|
|
30
|
+
"in-range-border-block-start": "awsui_in-range-border-block-start_1mfbn_mrxjd_328",
|
|
31
|
+
"in-range-border-inline-end": "awsui_in-range-border-inline-end_1mfbn_mrxjd_331",
|
|
32
|
+
"in-range-border-block-end": "awsui_in-range-border-block-end_1mfbn_mrxjd_334",
|
|
33
|
+
"in-range-border-inline-start": "awsui_in-range-border-inline-start_1mfbn_mrxjd_337"
|
|
34
34
|
};
|
|
35
35
|
|
|
@@ -146,19 +146,19 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
146
146
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
147
147
|
SPDX-License-Identifier: Apache-2.0
|
|
148
148
|
*/
|
|
149
|
-
.
|
|
149
|
+
.awsui_grid_1mfbn_mrxjd_149:not(#\9) {
|
|
150
150
|
inline-size: var(--size-calendar-grid-width-hv3136, 238px);
|
|
151
151
|
border-spacing: 0;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
-
.awsui_grid-
|
|
154
|
+
.awsui_grid-cell_1mfbn_mrxjd_154:not(#\9) {
|
|
155
155
|
inline-size: 14.2857142857%;
|
|
156
156
|
word-break: break-word;
|
|
157
157
|
text-align: center;
|
|
158
158
|
font-weight: unset;
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
.awsui_day-
|
|
161
|
+
.awsui_day-header_1mfbn_mrxjd_161:not(#\9) {
|
|
162
162
|
padding-block-start: var(--space-s-tvghoh, 12px);
|
|
163
163
|
padding-block-end: var(--space-xxs-hwfkai, 4px);
|
|
164
164
|
padding-inline: 0;
|
|
@@ -168,8 +168,8 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
168
168
|
letter-spacing: var(--letter-spacing-body-s-gq78ok, 0.005em);
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
.
|
|
172
|
-
.
|
|
171
|
+
.awsui_day_1mfbn_mrxjd_161:not(#\9),
|
|
172
|
+
.awsui_month_1mfbn_mrxjd_172:not(#\9) {
|
|
173
173
|
border-block-end: 1px solid var(--color-border-calendar-grid-67r4w4, transparent);
|
|
174
174
|
border-inline-end: 1px solid var(--color-border-calendar-grid-67r4w4, transparent);
|
|
175
175
|
padding-block: var(--space-xxs-hwfkai, 4px);
|
|
@@ -177,12 +177,12 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
177
177
|
color: var(--color-text-dropdown-item-disabled-8m65hf, #b4b4bb);
|
|
178
178
|
position: relative;
|
|
179
179
|
}
|
|
180
|
-
.
|
|
181
|
-
.
|
|
180
|
+
.awsui_day_1mfbn_mrxjd_161:not(#\9):focus,
|
|
181
|
+
.awsui_month_1mfbn_mrxjd_172:not(#\9):focus {
|
|
182
182
|
outline: none;
|
|
183
183
|
}
|
|
184
|
-
.
|
|
185
|
-
.
|
|
184
|
+
.awsui_day_1mfbn_mrxjd_161:not(#\9)::after,
|
|
185
|
+
.awsui_month_1mfbn_mrxjd_172:not(#\9)::after {
|
|
186
186
|
content: "";
|
|
187
187
|
position: absolute;
|
|
188
188
|
z-index: 1;
|
|
@@ -192,18 +192,18 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
192
192
|
inset-inline-end: calc(-1 * var(--border-item-width-miijiw, 2px));
|
|
193
193
|
background-color: transparent;
|
|
194
194
|
}
|
|
195
|
-
body[data-awsui-focus-visible=true] .
|
|
196
|
-
body[data-awsui-focus-visible=true] .
|
|
195
|
+
body[data-awsui-focus-visible=true] .awsui_day_1mfbn_mrxjd_161:not(#\9):focus,
|
|
196
|
+
body[data-awsui-focus-visible=true] .awsui_month_1mfbn_mrxjd_172:not(#\9):focus {
|
|
197
197
|
z-index: 2;
|
|
198
198
|
position: relative;
|
|
199
199
|
}
|
|
200
|
-
body[data-awsui-focus-visible=true] .
|
|
201
|
-
body[data-awsui-focus-visible=true] .
|
|
200
|
+
body[data-awsui-focus-visible=true] .awsui_day_1mfbn_mrxjd_161:not(#\9):focus,
|
|
201
|
+
body[data-awsui-focus-visible=true] .awsui_month_1mfbn_mrxjd_172:not(#\9):focus {
|
|
202
202
|
outline: 2px dotted transparent;
|
|
203
203
|
outline-offset: calc(var(--space-calendar-grid-focus-outline-gutter-vvh43m, -5px) - 1px);
|
|
204
204
|
}
|
|
205
|
-
body[data-awsui-focus-visible=true] .
|
|
206
|
-
body[data-awsui-focus-visible=true] .
|
|
205
|
+
body[data-awsui-focus-visible=true] .awsui_day_1mfbn_mrxjd_161:not(#\9):focus::before,
|
|
206
|
+
body[data-awsui-focus-visible=true] .awsui_month_1mfbn_mrxjd_172:not(#\9):focus::before {
|
|
207
207
|
content: " ";
|
|
208
208
|
display: block;
|
|
209
209
|
position: absolute;
|
|
@@ -217,59 +217,59 @@ body[data-awsui-focus-visible=true] .awsui_month_1mfbn_f8b5y_172:not(#\9):focus:
|
|
|
217
217
|
border-end-end-radius: var(--border-radius-calendar-day-focus-ring-xvvbuc, 3px);
|
|
218
218
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-uk47pl, #006ce0);
|
|
219
219
|
}
|
|
220
|
-
.
|
|
221
|
-
.
|
|
222
|
-
.
|
|
223
|
-
.
|
|
220
|
+
.awsui_day_1mfbn_mrxjd_161 > .awsui_day-inner_1mfbn_mrxjd_220:not(#\9),
|
|
221
|
+
.awsui_day_1mfbn_mrxjd_161 > .awsui_month-inner_1mfbn_mrxjd_221:not(#\9),
|
|
222
|
+
.awsui_month_1mfbn_mrxjd_172 > .awsui_day-inner_1mfbn_mrxjd_220:not(#\9),
|
|
223
|
+
.awsui_month_1mfbn_mrxjd_172 > .awsui_month-inner_1mfbn_mrxjd_221:not(#\9) {
|
|
224
224
|
position: relative;
|
|
225
225
|
z-index: 1;
|
|
226
226
|
}
|
|
227
227
|
|
|
228
|
-
.awsui_in-first-
|
|
229
|
-
.awsui_in-first-
|
|
228
|
+
.awsui_in-first-row_1mfbn_mrxjd_228:not(#\9):not(.awsui_in-previous-month_1mfbn_mrxjd_228),
|
|
229
|
+
.awsui_in-first-row_1mfbn_mrxjd_228:not(#\9):not(.awsui_in-previous-year_1mfbn_mrxjd_229) {
|
|
230
230
|
border-block-start: 1px solid var(--color-border-calendar-grid-67r4w4, transparent);
|
|
231
231
|
}
|
|
232
232
|
|
|
233
|
-
.awsui_in-previous-
|
|
234
|
-
.awsui_in-previous-
|
|
233
|
+
.awsui_in-previous-month_1mfbn_mrxjd_228:not(#\9):not(.awsui_last-day-of-month_1mfbn_mrxjd_233),
|
|
234
|
+
.awsui_in-previous-year_1mfbn_mrxjd_229:not(#\9):not(.awsui_last-month-of-year_1mfbn_mrxjd_234) {
|
|
235
235
|
border-inline-end-color: transparent;
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
-
.awsui_in-next-
|
|
239
|
-
.awsui_in-next-
|
|
238
|
+
.awsui_in-next-month_1mfbn_mrxjd_238:not(#\9),
|
|
239
|
+
.awsui_in-next-year_1mfbn_mrxjd_239:not(#\9) {
|
|
240
240
|
border-color: transparent;
|
|
241
241
|
}
|
|
242
242
|
|
|
243
|
-
.awsui_in-first-
|
|
243
|
+
.awsui_in-first-column_1mfbn_mrxjd_243:not(#\9) {
|
|
244
244
|
border-inline-start: 1px solid 1px solid var(--color-border-calendar-grid-67r4w4, transparent);
|
|
245
245
|
}
|
|
246
|
-
.awsui_in-first-
|
|
246
|
+
.awsui_in-first-column_1mfbn_mrxjd_243.awsui_in-visible-calendar_1mfbn_mrxjd_246.awsui_in-current-month_1mfbn_mrxjd_246:not(#\9), .awsui_in-first-column_1mfbn_mrxjd_243.awsui_in-visible-calendar_1mfbn_mrxjd_246.awsui_in-current-year_1mfbn_mrxjd_246:not(#\9) {
|
|
247
247
|
border-inline-start: 1px solid var(--color-border-calendar-grid-67r4w4, transparent);
|
|
248
248
|
}
|
|
249
249
|
|
|
250
|
-
.
|
|
250
|
+
.awsui_enabled_1mfbn_mrxjd_250:not(#\9) {
|
|
251
251
|
cursor: pointer;
|
|
252
252
|
}
|
|
253
|
-
.
|
|
253
|
+
.awsui_enabled_1mfbn_mrxjd_250.awsui_in-visible-calendar_1mfbn_mrxjd_246.awsui_in-current-month_1mfbn_mrxjd_246:not(#\9), .awsui_enabled_1mfbn_mrxjd_250.awsui_in-visible-calendar_1mfbn_mrxjd_246.awsui_in-current-year_1mfbn_mrxjd_246:not(#\9) {
|
|
254
254
|
color: var(--color-text-dropdown-item-default-f1jr9u, #0f141a);
|
|
255
255
|
}
|
|
256
|
-
.
|
|
256
|
+
.awsui_enabled_1mfbn_mrxjd_250.awsui_in-visible-calendar_1mfbn_mrxjd_246.awsui_in-current-month_1mfbn_mrxjd_246:not(#\9):not(.awsui_in-range_1mfbn_mrxjd_256), .awsui_enabled_1mfbn_mrxjd_250.awsui_in-visible-calendar_1mfbn_mrxjd_246.awsui_in-current-month_1mfbn_mrxjd_246:not(#\9):not(.awsui_in-range_1mfbn_mrxjd_256)::after, .awsui_enabled_1mfbn_mrxjd_250.awsui_in-visible-calendar_1mfbn_mrxjd_246.awsui_in-current-month_1mfbn_mrxjd_246.awsui_end-date_1mfbn_mrxjd_256.awsui_start-date_1mfbn_mrxjd_256:not(#\9), .awsui_enabled_1mfbn_mrxjd_250.awsui_in-visible-calendar_1mfbn_mrxjd_246.awsui_in-current-month_1mfbn_mrxjd_246.awsui_end-date_1mfbn_mrxjd_256.awsui_start-date_1mfbn_mrxjd_256:not(#\9)::after, .awsui_enabled_1mfbn_mrxjd_250.awsui_in-visible-calendar_1mfbn_mrxjd_246.awsui_in-current-month_1mfbn_mrxjd_246.awsui_no-range_1mfbn_mrxjd_256:not(#\9), .awsui_enabled_1mfbn_mrxjd_250.awsui_in-visible-calendar_1mfbn_mrxjd_246.awsui_in-current-month_1mfbn_mrxjd_246.awsui_no-range_1mfbn_mrxjd_256:not(#\9)::after, .awsui_enabled_1mfbn_mrxjd_250.awsui_in-visible-calendar_1mfbn_mrxjd_246.awsui_in-current-year_1mfbn_mrxjd_246:not(#\9):not(.awsui_in-range_1mfbn_mrxjd_256), .awsui_enabled_1mfbn_mrxjd_250.awsui_in-visible-calendar_1mfbn_mrxjd_246.awsui_in-current-year_1mfbn_mrxjd_246:not(#\9):not(.awsui_in-range_1mfbn_mrxjd_256)::after, .awsui_enabled_1mfbn_mrxjd_250.awsui_in-visible-calendar_1mfbn_mrxjd_246.awsui_in-current-year_1mfbn_mrxjd_246.awsui_end-date_1mfbn_mrxjd_256.awsui_start-date_1mfbn_mrxjd_256:not(#\9), .awsui_enabled_1mfbn_mrxjd_250.awsui_in-visible-calendar_1mfbn_mrxjd_246.awsui_in-current-year_1mfbn_mrxjd_246.awsui_end-date_1mfbn_mrxjd_256.awsui_start-date_1mfbn_mrxjd_256:not(#\9)::after, .awsui_enabled_1mfbn_mrxjd_250.awsui_in-visible-calendar_1mfbn_mrxjd_246.awsui_in-current-year_1mfbn_mrxjd_246.awsui_no-range_1mfbn_mrxjd_256:not(#\9), .awsui_enabled_1mfbn_mrxjd_250.awsui_in-visible-calendar_1mfbn_mrxjd_246.awsui_in-current-year_1mfbn_mrxjd_246.awsui_no-range_1mfbn_mrxjd_256:not(#\9)::after {
|
|
257
257
|
border-start-start-radius: var(--border-radius-item-iwaia5, 8px);
|
|
258
258
|
border-start-end-radius: var(--border-radius-item-iwaia5, 8px);
|
|
259
259
|
border-end-start-radius: var(--border-radius-item-iwaia5, 8px);
|
|
260
260
|
border-end-end-radius: var(--border-radius-item-iwaia5, 8px);
|
|
261
261
|
}
|
|
262
|
-
.
|
|
262
|
+
.awsui_enabled_1mfbn_mrxjd_250.awsui_in-visible-calendar_1mfbn_mrxjd_246.awsui_in-current-month_1mfbn_mrxjd_246:not(#\9):hover, .awsui_enabled_1mfbn_mrxjd_250.awsui_in-visible-calendar_1mfbn_mrxjd_246.awsui_in-current-year_1mfbn_mrxjd_246:not(#\9):hover {
|
|
263
263
|
color: var(--color-text-calendar-date-hover-3fcriv, #0f141a);
|
|
264
264
|
background-color: var(--color-background-dropdown-item-hover-yunepc, #f3f3f7);
|
|
265
265
|
}
|
|
266
|
-
.
|
|
266
|
+
.awsui_enabled_1mfbn_mrxjd_250.awsui_in-visible-calendar_1mfbn_mrxjd_246.awsui_in-current-month_1mfbn_mrxjd_246:not(#\9):hover:not(.awsui_selected_1mfbn_mrxjd_266)::after, .awsui_enabled_1mfbn_mrxjd_250.awsui_in-visible-calendar_1mfbn_mrxjd_246.awsui_in-current-year_1mfbn_mrxjd_246:not(#\9):hover:not(.awsui_selected_1mfbn_mrxjd_266)::after {
|
|
267
267
|
border-block: var(--border-item-width-miijiw, 2px) solid var(--color-border-dropdown-item-hover-aqfuxq, #8c8c94);
|
|
268
268
|
border-inline: var(--border-item-width-miijiw, 2px) solid var(--color-border-dropdown-item-hover-aqfuxq, #8c8c94);
|
|
269
269
|
}
|
|
270
270
|
|
|
271
|
-
.
|
|
272
|
-
.awsui_this-
|
|
271
|
+
.awsui_today_1mfbn_mrxjd_271:not(#\9):not(.awsui_in-range_1mfbn_mrxjd_256),
|
|
272
|
+
.awsui_this-month_1mfbn_mrxjd_272:not(#\9):not(.awsui_in-range_1mfbn_mrxjd_256) {
|
|
273
273
|
background-color: var(--color-background-calendar-current-date-sk0f6i, #f3f3f7);
|
|
274
274
|
border-start-start-radius: var(--border-radius-item-iwaia5, 8px);
|
|
275
275
|
border-start-end-radius: var(--border-radius-item-iwaia5, 8px);
|
|
@@ -278,20 +278,20 @@ body[data-awsui-focus-visible=true] .awsui_month_1mfbn_f8b5y_172:not(#\9):focus:
|
|
|
278
278
|
font-weight: var(--font-weight-bold-fo1afg, 700);
|
|
279
279
|
}
|
|
280
280
|
|
|
281
|
-
.
|
|
281
|
+
.awsui_selected_1mfbn_mrxjd_266:not(#\9) {
|
|
282
282
|
border-color: transparent;
|
|
283
283
|
position: relative;
|
|
284
284
|
z-index: 2;
|
|
285
285
|
font-weight: var(--font-weight-bold-fo1afg, 700);
|
|
286
286
|
}
|
|
287
|
-
body[data-awsui-focus-visible=true] .
|
|
287
|
+
body[data-awsui-focus-visible=true] .awsui_selected_1mfbn_mrxjd_266:not(#\9):focus {
|
|
288
288
|
position: relative;
|
|
289
289
|
}
|
|
290
|
-
body[data-awsui-focus-visible=true] .
|
|
290
|
+
body[data-awsui-focus-visible=true] .awsui_selected_1mfbn_mrxjd_266:not(#\9):focus {
|
|
291
291
|
outline: 2px dotted transparent;
|
|
292
292
|
outline-offset: calc(var(--space-calendar-grid-selected-focus-outline-gutter-dy6gf8, -5px) - 1px);
|
|
293
293
|
}
|
|
294
|
-
body[data-awsui-focus-visible=true] .
|
|
294
|
+
body[data-awsui-focus-visible=true] .awsui_selected_1mfbn_mrxjd_266:not(#\9):focus::before {
|
|
295
295
|
content: " ";
|
|
296
296
|
display: block;
|
|
297
297
|
position: absolute;
|
|
@@ -305,60 +305,60 @@ body[data-awsui-focus-visible=true] .awsui_selected_1mfbn_f8b5y_266:not(#\9):foc
|
|
|
305
305
|
border-end-end-radius: var(--border-radius-calendar-day-focus-ring-xvvbuc, 3px);
|
|
306
306
|
box-shadow: 0 0 0 2px var(--color-border-calendar-grid-selected-focus-ring-jk1fb0, #f9f9fa);
|
|
307
307
|
}
|
|
308
|
-
body[data-awsui-focus-visible=true] .
|
|
308
|
+
body[data-awsui-focus-visible=true] .awsui_selected_1mfbn_mrxjd_266:not(#\9):focus::before {
|
|
309
309
|
z-index: 1;
|
|
310
310
|
}
|
|
311
|
-
.
|
|
311
|
+
.awsui_selected_1mfbn_mrxjd_266:not(#\9)::after {
|
|
312
312
|
background-color: var(--color-background-control-checked-ka7kc2, #006ce0);
|
|
313
313
|
border-block: var(--border-item-width-miijiw, 2px) solid var(--color-background-control-checked-ka7kc2, #006ce0);
|
|
314
314
|
border-inline: var(--border-item-width-miijiw, 2px) solid var(--color-background-control-checked-ka7kc2, #006ce0);
|
|
315
315
|
z-index: 0;
|
|
316
316
|
}
|
|
317
|
-
.
|
|
318
|
-
.
|
|
319
|
-
color: var(--color-
|
|
317
|
+
.awsui_selected_1mfbn_mrxjd_266 > .awsui_day-inner_1mfbn_mrxjd_220:not(#\9),
|
|
318
|
+
.awsui_selected_1mfbn_mrxjd_266 > .awsui_month-inner_1mfbn_mrxjd_221:not(#\9) {
|
|
319
|
+
color: var(--color-text-calendar-date-selected-m18pgv, #ffffff);
|
|
320
320
|
position: relative;
|
|
321
321
|
z-index: 2;
|
|
322
322
|
}
|
|
323
323
|
|
|
324
|
-
.awsui_in-
|
|
324
|
+
.awsui_in-range_1mfbn_mrxjd_256:not(#\9) {
|
|
325
325
|
background-color: var(--color-background-dropdown-item-selected-f3v6te, #f0fbff);
|
|
326
326
|
font-weight: var(--font-weight-bold-fo1afg, 700);
|
|
327
327
|
}
|
|
328
|
-
.awsui_in-
|
|
328
|
+
.awsui_in-range_1mfbn_mrxjd_256.awsui_in-range-border-block-start_1mfbn_mrxjd_328:not(#\9)::after {
|
|
329
329
|
border-block-start: var(--border-item-width-miijiw, 2px) solid var(--color-background-control-checked-ka7kc2, #006ce0);
|
|
330
330
|
}
|
|
331
|
-
.awsui_in-
|
|
331
|
+
.awsui_in-range_1mfbn_mrxjd_256.awsui_in-range-border-inline-end_1mfbn_mrxjd_331:not(#\9)::after {
|
|
332
332
|
border-inline-end: var(--border-item-width-miijiw, 2px) solid var(--color-background-control-checked-ka7kc2, #006ce0);
|
|
333
333
|
}
|
|
334
|
-
.awsui_in-
|
|
334
|
+
.awsui_in-range_1mfbn_mrxjd_256.awsui_in-range-border-block-end_1mfbn_mrxjd_334:not(#\9)::after {
|
|
335
335
|
border-block-end: var(--border-item-width-miijiw, 2px) solid var(--color-background-control-checked-ka7kc2, #006ce0);
|
|
336
336
|
}
|
|
337
|
-
.awsui_in-
|
|
337
|
+
.awsui_in-range_1mfbn_mrxjd_256.awsui_in-range-border-inline-start_1mfbn_mrxjd_337:not(#\9)::after {
|
|
338
338
|
border-inline-start: var(--border-item-width-miijiw, 2px) solid var(--color-background-control-checked-ka7kc2, #006ce0);
|
|
339
339
|
}
|
|
340
|
-
.awsui_in-
|
|
340
|
+
.awsui_in-range_1mfbn_mrxjd_256.awsui_in-range-border-block-start_1mfbn_mrxjd_328.awsui_in-range-border-inline-end_1mfbn_mrxjd_331:not(#\9), .awsui_in-range_1mfbn_mrxjd_256.awsui_in-range-border-block-start_1mfbn_mrxjd_328.awsui_in-range-border-inline-end_1mfbn_mrxjd_331:not(#\9)::after {
|
|
341
341
|
border-start-end-radius: var(--border-radius-item-iwaia5, 8px);
|
|
342
342
|
}
|
|
343
|
-
.awsui_in-
|
|
343
|
+
.awsui_in-range_1mfbn_mrxjd_256.awsui_in-range-border-block-end_1mfbn_mrxjd_334.awsui_in-range-border-inline-end_1mfbn_mrxjd_331:not(#\9), .awsui_in-range_1mfbn_mrxjd_256.awsui_in-range-border-block-end_1mfbn_mrxjd_334.awsui_in-range-border-inline-end_1mfbn_mrxjd_331:not(#\9)::after {
|
|
344
344
|
border-end-end-radius: var(--border-radius-item-iwaia5, 8px);
|
|
345
345
|
}
|
|
346
|
-
.awsui_in-
|
|
346
|
+
.awsui_in-range_1mfbn_mrxjd_256.awsui_in-range-border-block-end_1mfbn_mrxjd_334.awsui_in-range-border-inline-start_1mfbn_mrxjd_337:not(#\9), .awsui_in-range_1mfbn_mrxjd_256.awsui_in-range-border-block-end_1mfbn_mrxjd_334.awsui_in-range-border-inline-start_1mfbn_mrxjd_337:not(#\9)::after {
|
|
347
347
|
border-end-start-radius: var(--border-radius-item-iwaia5, 8px);
|
|
348
348
|
}
|
|
349
|
-
.awsui_in-
|
|
349
|
+
.awsui_in-range_1mfbn_mrxjd_256.awsui_in-range-border-block-start_1mfbn_mrxjd_328.awsui_in-range-border-inline-start_1mfbn_mrxjd_337:not(#\9), .awsui_in-range_1mfbn_mrxjd_256.awsui_in-range-border-block-start_1mfbn_mrxjd_328.awsui_in-range-border-inline-start_1mfbn_mrxjd_337:not(#\9)::after {
|
|
350
350
|
border-start-start-radius: var(--border-radius-item-iwaia5, 8px);
|
|
351
351
|
}
|
|
352
352
|
|
|
353
|
-
.awsui_no-
|
|
353
|
+
.awsui_no-range_1mfbn_mrxjd_256:not(#\9), .awsui_no-range_1mfbn_mrxjd_256:not(#\9)::after {
|
|
354
354
|
border-start-start-radius: var(--border-radius-item-iwaia5, 8px);
|
|
355
355
|
}
|
|
356
|
-
.awsui_no-
|
|
356
|
+
.awsui_no-range_1mfbn_mrxjd_256:not(#\9), .awsui_no-range_1mfbn_mrxjd_256:not(#\9)::after {
|
|
357
357
|
border-start-end-radius: var(--border-radius-item-iwaia5, 8px);
|
|
358
358
|
}
|
|
359
|
-
.awsui_no-
|
|
359
|
+
.awsui_no-range_1mfbn_mrxjd_256:not(#\9), .awsui_no-range_1mfbn_mrxjd_256:not(#\9)::after {
|
|
360
360
|
border-end-start-radius: var(--border-radius-item-iwaia5, 8px);
|
|
361
361
|
}
|
|
362
|
-
.awsui_no-
|
|
362
|
+
.awsui_no-range_1mfbn_mrxjd_256:not(#\9), .awsui_no-range_1mfbn_mrxjd_256:not(#\9)::after {
|
|
363
363
|
border-end-end-radius: var(--border-radius-item-iwaia5, 8px);
|
|
364
364
|
}
|
|
@@ -2,35 +2,35 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"grid": "
|
|
6
|
-
"grid-cell": "awsui_grid-
|
|
7
|
-
"day-header": "awsui_day-
|
|
8
|
-
"day": "
|
|
9
|
-
"month": "
|
|
10
|
-
"day-inner": "awsui_day-
|
|
11
|
-
"month-inner": "awsui_month-
|
|
12
|
-
"in-first-row": "awsui_in-first-
|
|
13
|
-
"in-previous-month": "awsui_in-previous-
|
|
14
|
-
"in-previous-year": "awsui_in-previous-
|
|
15
|
-
"last-day-of-month": "awsui_last-day-of-
|
|
16
|
-
"last-month-of-year": "awsui_last-month-of-
|
|
17
|
-
"in-next-month": "awsui_in-next-
|
|
18
|
-
"in-next-year": "awsui_in-next-
|
|
19
|
-
"in-first-column": "awsui_in-first-
|
|
20
|
-
"in-visible-calendar": "awsui_in-visible-
|
|
21
|
-
"in-current-month": "awsui_in-current-
|
|
22
|
-
"in-current-year": "awsui_in-current-
|
|
23
|
-
"enabled": "
|
|
24
|
-
"in-range": "awsui_in-
|
|
25
|
-
"end-date": "awsui_end-
|
|
26
|
-
"start-date": "awsui_start-
|
|
27
|
-
"no-range": "awsui_no-
|
|
28
|
-
"selected": "
|
|
29
|
-
"today": "
|
|
30
|
-
"this-month": "awsui_this-
|
|
31
|
-
"in-range-border-block-start": "awsui_in-range-border-block-
|
|
32
|
-
"in-range-border-inline-end": "awsui_in-range-border-inline-
|
|
33
|
-
"in-range-border-block-end": "awsui_in-range-border-block-
|
|
34
|
-
"in-range-border-inline-start": "awsui_in-range-border-inline-
|
|
5
|
+
"grid": "awsui_grid_1mfbn_mrxjd_149",
|
|
6
|
+
"grid-cell": "awsui_grid-cell_1mfbn_mrxjd_154",
|
|
7
|
+
"day-header": "awsui_day-header_1mfbn_mrxjd_161",
|
|
8
|
+
"day": "awsui_day_1mfbn_mrxjd_161",
|
|
9
|
+
"month": "awsui_month_1mfbn_mrxjd_172",
|
|
10
|
+
"day-inner": "awsui_day-inner_1mfbn_mrxjd_220",
|
|
11
|
+
"month-inner": "awsui_month-inner_1mfbn_mrxjd_221",
|
|
12
|
+
"in-first-row": "awsui_in-first-row_1mfbn_mrxjd_228",
|
|
13
|
+
"in-previous-month": "awsui_in-previous-month_1mfbn_mrxjd_228",
|
|
14
|
+
"in-previous-year": "awsui_in-previous-year_1mfbn_mrxjd_229",
|
|
15
|
+
"last-day-of-month": "awsui_last-day-of-month_1mfbn_mrxjd_233",
|
|
16
|
+
"last-month-of-year": "awsui_last-month-of-year_1mfbn_mrxjd_234",
|
|
17
|
+
"in-next-month": "awsui_in-next-month_1mfbn_mrxjd_238",
|
|
18
|
+
"in-next-year": "awsui_in-next-year_1mfbn_mrxjd_239",
|
|
19
|
+
"in-first-column": "awsui_in-first-column_1mfbn_mrxjd_243",
|
|
20
|
+
"in-visible-calendar": "awsui_in-visible-calendar_1mfbn_mrxjd_246",
|
|
21
|
+
"in-current-month": "awsui_in-current-month_1mfbn_mrxjd_246",
|
|
22
|
+
"in-current-year": "awsui_in-current-year_1mfbn_mrxjd_246",
|
|
23
|
+
"enabled": "awsui_enabled_1mfbn_mrxjd_250",
|
|
24
|
+
"in-range": "awsui_in-range_1mfbn_mrxjd_256",
|
|
25
|
+
"end-date": "awsui_end-date_1mfbn_mrxjd_256",
|
|
26
|
+
"start-date": "awsui_start-date_1mfbn_mrxjd_256",
|
|
27
|
+
"no-range": "awsui_no-range_1mfbn_mrxjd_256",
|
|
28
|
+
"selected": "awsui_selected_1mfbn_mrxjd_266",
|
|
29
|
+
"today": "awsui_today_1mfbn_mrxjd_271",
|
|
30
|
+
"this-month": "awsui_this-month_1mfbn_mrxjd_272",
|
|
31
|
+
"in-range-border-block-start": "awsui_in-range-border-block-start_1mfbn_mrxjd_328",
|
|
32
|
+
"in-range-border-inline-end": "awsui_in-range-border-inline-end_1mfbn_mrxjd_331",
|
|
33
|
+
"in-range-border-block-end": "awsui_in-range-border-block-end_1mfbn_mrxjd_334",
|
|
34
|
+
"in-range-border-inline-start": "awsui_in-range-border-inline-start_1mfbn_mrxjd_337"
|
|
35
35
|
};
|
|
36
36
|
|
package/dropdown/index.d.ts
CHANGED
package/dropdown/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dropdown/index.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAG7C,OAAO,EAAE,aAAa,EAAE,CAAC;AAEzB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dropdown/index.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAG7C,OAAO,EAAE,aAAa,EAAE,CAAC;AAEzB,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,eAGlE"}
|