@cloudscape-design/components 3.0.841 → 3.0.842
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/alert/styles.css.js +28 -28
- package/alert/styles.scoped.css +49 -45
- package/alert/styles.selectors.js +28 -28
- package/anchor-navigation/styles.css.js +8 -8
- package/anchor-navigation/styles.scoped.css +24 -20
- package/anchor-navigation/styles.selectors.js +8 -8
- package/annotation-context/annotation/styles.css.js +24 -24
- package/annotation-context/annotation/styles.scoped.css +36 -32
- package/annotation-context/annotation/styles.selectors.js +24 -24
- package/app-layout/content-wrapper/styles.css.js +3 -3
- package/app-layout/content-wrapper/styles.scoped.css +10 -6
- package/app-layout/content-wrapper/styles.selectors.js +3 -3
- package/app-layout/drawer/styles.css.js +14 -14
- package/app-layout/drawer/styles.scoped.css +28 -24
- package/app-layout/drawer/styles.selectors.js +14 -14
- package/app-layout/mobile-toolbar/styles.css.js +8 -8
- package/app-layout/mobile-toolbar/styles.scoped.css +12 -8
- package/app-layout/mobile-toolbar/styles.selectors.js +8 -8
- package/app-layout/resize/styles.css.js +5 -5
- package/app-layout/resize/styles.scoped.css +16 -12
- package/app-layout/resize/styles.selectors.js +5 -5
- package/app-layout/split-panel/styles.css.js +2 -2
- package/app-layout/split-panel/styles.scoped.css +6 -2
- package/app-layout/split-panel/styles.selectors.js +2 -2
- package/app-layout/styles.css.js +12 -12
- package/app-layout/styles.scoped.css +16 -12
- package/app-layout/styles.selectors.js +12 -12
- package/app-layout/toggles/styles.css.js +2 -2
- package/app-layout/toggles/styles.scoped.css +12 -8
- package/app-layout/toggles/styles.selectors.js +2 -2
- package/app-layout/visual-refresh/styles.css.js +86 -86
- package/app-layout/visual-refresh/styles.scoped.css +167 -163
- package/app-layout/visual-refresh/styles.selectors.js +86 -86
- package/app-layout/visual-refresh-toolbar/drawer/styles.css.js +10 -10
- package/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +17 -13
- package/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +10 -10
- package/app-layout/visual-refresh-toolbar/navigation/styles.css.js +4 -4
- package/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +9 -5
- package/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +4 -4
- package/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +19 -19
- package/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +39 -35
- package/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +19 -19
- package/app-layout/visual-refresh-toolbar/split-panel/styles.css.js +1 -1
- package/app-layout/visual-refresh-toolbar/split-panel/styles.scoped.css +5 -1
- package/app-layout/visual-refresh-toolbar/split-panel/styles.selectors.js +1 -1
- package/app-layout/visual-refresh-toolbar/toolbar/styles.css.js +13 -13
- package/app-layout/visual-refresh-toolbar/toolbar/styles.scoped.css +19 -15
- package/app-layout/visual-refresh-toolbar/toolbar/styles.selectors.js +13 -13
- package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/styles.css.js +7 -7
- package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/styles.scoped.css +23 -19
- package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/styles.selectors.js +7 -7
- package/area-chart/styles.css.js +6 -6
- package/area-chart/styles.scoped.css +15 -11
- package/area-chart/styles.selectors.js +6 -6
- package/attribute-editor/styles.css.js +14 -14
- package/attribute-editor/styles.scoped.css +28 -24
- package/attribute-editor/styles.selectors.js +14 -14
- package/badge/styles.css.js +10 -10
- package/badge/styles.scoped.css +14 -10
- package/badge/styles.selectors.js +10 -10
- package/box/styles.css.js +191 -191
- package/box/styles.scoped.css +240 -236
- package/box/styles.selectors.js +191 -191
- package/breadcrumb-group/all-items-dropdown.d.ts +15 -0
- package/breadcrumb-group/all-items-dropdown.d.ts.map +1 -0
- package/breadcrumb-group/all-items-dropdown.js +47 -0
- package/breadcrumb-group/all-items-dropdown.js.map +1 -0
- package/breadcrumb-group/implementation.d.ts.map +1 -1
- package/breadcrumb-group/implementation.js +9 -6
- package/breadcrumb-group/implementation.js.map +1 -1
- package/breadcrumb-group/item/styles.css.js +7 -7
- package/breadcrumb-group/item/styles.scoped.css +29 -25
- package/breadcrumb-group/item/styles.selectors.js +7 -7
- package/breadcrumb-group/styles.css.js +14 -10
- package/breadcrumb-group/styles.scoped.css +124 -11
- package/breadcrumb-group/styles.selectors.js +14 -10
- package/breadcrumb-group/utils.d.ts +0 -2
- package/breadcrumb-group/utils.d.ts.map +1 -1
- package/breadcrumb-group/utils.js +17 -46
- package/breadcrumb-group/utils.js.map +1 -1
- package/button/index.d.ts.map +1 -1
- package/button/index.js +3 -3
- package/button/index.js.map +1 -1
- package/button/interfaces.d.ts +18 -0
- package/button/interfaces.d.ts.map +1 -1
- package/button/interfaces.js.map +1 -1
- package/button/internal.d.ts.map +1 -1
- package/button/internal.js +15 -2
- package/button/internal.js.map +1 -1
- package/button/styles.css.js +21 -21
- package/button/styles.scoped.css +158 -154
- package/button/styles.selectors.js +21 -21
- package/button/test-classes/styles.css.js +2 -1
- package/button/test-classes/styles.scoped.css +5 -1
- package/button/test-classes/styles.selectors.js +2 -1
- package/button-dropdown/category-elements/styles.css.js +14 -14
- package/button-dropdown/category-elements/styles.scoped.css +27 -23
- package/button-dropdown/category-elements/styles.selectors.js +14 -14
- package/button-dropdown/index.d.ts.map +1 -1
- package/button-dropdown/index.js +2 -2
- package/button-dropdown/index.js.map +1 -1
- package/button-dropdown/interfaces.d.ts +18 -2
- package/button-dropdown/interfaces.d.ts.map +1 -1
- package/button-dropdown/interfaces.js.map +1 -1
- package/button-dropdown/internal.d.ts.map +1 -1
- package/button-dropdown/internal.js +13 -6
- package/button-dropdown/internal.js.map +1 -1
- package/button-dropdown/item-element/index.d.ts.map +1 -1
- package/button-dropdown/item-element/index.js +3 -2
- package/button-dropdown/item-element/index.js.map +1 -1
- package/button-dropdown/item-element/styles.css.js +14 -13
- package/button-dropdown/item-element/styles.scoped.css +33 -21
- package/button-dropdown/item-element/styles.selectors.js +14 -13
- package/button-dropdown/mobile-expandable-group/styles.css.js +5 -5
- package/button-dropdown/mobile-expandable-group/styles.scoped.css +9 -5
- package/button-dropdown/mobile-expandable-group/styles.selectors.js +5 -5
- package/button-dropdown/styles.css.js +21 -17
- package/button-dropdown/styles.scoped.css +51 -38
- package/button-dropdown/styles.selectors.js +21 -17
- package/button-group/file-input-item.d.ts +11 -0
- package/button-group/file-input-item.d.ts.map +1 -0
- package/button-group/file-input-item.js +23 -0
- package/button-group/file-input-item.js.map +1 -0
- package/button-group/interfaces.d.ts +23 -1
- package/button-group/interfaces.d.ts.map +1 -1
- package/button-group/interfaces.js.map +1 -1
- package/button-group/internal.d.ts.map +1 -1
- package/button-group/internal.js +2 -2
- package/button-group/internal.js.map +1 -1
- package/button-group/item-element.d.ts +1 -0
- package/button-group/item-element.d.ts.map +1 -1
- package/button-group/item-element.js +12 -6
- package/button-group/item-element.js.map +1 -1
- package/button-group/styles.css.js +4 -4
- package/button-group/styles.scoped.css +10 -6
- package/button-group/styles.selectors.js +4 -4
- package/calendar/grid/index.d.ts +1 -2
- package/calendar/grid/index.d.ts.map +1 -1
- package/calendar/grid/index.js.map +1 -1
- package/calendar/grid/use-calendar-grid-keyboard-navigation.d.ts.map +1 -1
- package/calendar/grid/use-calendar-grid-keyboard-navigation.js +2 -1
- package/calendar/grid/use-calendar-grid-keyboard-navigation.js.map +1 -1
- package/calendar/internal.d.ts.map +1 -1
- package/calendar/internal.js +2 -1
- package/calendar/internal.js.map +1 -1
- package/calendar/styles.css.js +21 -21
- package/calendar/styles.scoped.css +47 -43
- package/calendar/styles.selectors.js +21 -21
- package/calendar/utils/navigation-day.d.ts +8 -0
- package/calendar/utils/navigation-day.d.ts.map +1 -0
- package/calendar/utils/navigation-day.js +39 -0
- package/calendar/utils/navigation-day.js.map +1 -0
- package/calendar/utils/{navigation.d.ts → navigation-month.d.ts} +2 -6
- package/calendar/utils/navigation-month.d.ts.map +1 -0
- package/calendar/utils/navigation-month.js +39 -0
- package/calendar/utils/navigation-month.js.map +1 -0
- package/cards/styles.css.js +39 -39
- package/cards/styles.scoped.css +54 -50
- package/cards/styles.selectors.js +39 -39
- package/checkbox/styles.css.js +3 -3
- package/checkbox/styles.scoped.css +9 -5
- package/checkbox/styles.selectors.js +3 -3
- package/code-editor/resizable-box/styles.css.js +3 -3
- package/code-editor/resizable-box/styles.scoped.css +10 -6
- package/code-editor/resizable-box/styles.selectors.js +3 -3
- package/code-editor/styles.css.js +33 -33
- package/code-editor/styles.scoped.css +139 -135
- package/code-editor/styles.selectors.js +33 -33
- package/collection-preferences/content-display/styles.css.js +12 -12
- package/collection-preferences/content-display/styles.scoped.css +23 -15
- package/collection-preferences/content-display/styles.selectors.js +12 -12
- package/collection-preferences/styles.css.js +38 -38
- package/collection-preferences/styles.scoped.css +58 -42
- package/collection-preferences/styles.selectors.js +38 -38
- package/column-layout/flexible-column-layout/styles.css.js +5 -5
- package/column-layout/flexible-column-layout/styles.scoped.css +14 -10
- package/column-layout/flexible-column-layout/styles.selectors.js +5 -5
- package/column-layout/styles.css.js +13 -13
- package/column-layout/styles.scoped.css +49 -45
- package/column-layout/styles.selectors.js +13 -13
- package/container/styles.css.js +31 -31
- package/container/styles.scoped.css +60 -56
- package/container/styles.selectors.js +31 -31
- package/content-layout/styles.css.js +14 -14
- package/content-layout/styles.scoped.css +20 -16
- package/content-layout/styles.selectors.js +14 -14
- package/date-picker/styles.css.js +7 -7
- package/date-picker/styles.scoped.css +13 -9
- package/date-picker/styles.selectors.js +7 -7
- package/date-range-picker/calendar/grids/index.d.ts.map +1 -1
- package/date-range-picker/calendar/grids/index.js +1 -1
- package/date-range-picker/calendar/grids/index.js.map +1 -1
- package/date-range-picker/calendar/grids/styles.css.js +28 -28
- package/date-range-picker/calendar/grids/styles.scoped.css +47 -43
- package/date-range-picker/calendar/grids/styles.selectors.js +28 -28
- package/date-range-picker/calendar/index.js +1 -1
- package/date-range-picker/calendar/index.js.map +1 -1
- package/date-range-picker/index.d.ts.map +1 -1
- package/date-range-picker/index.js +3 -10
- package/date-range-picker/index.js.map +1 -1
- package/date-range-picker/relative-range/styles.css.js +9 -9
- package/date-range-picker/relative-range/styles.scoped.css +17 -13
- package/date-range-picker/relative-range/styles.selectors.js +9 -9
- package/date-range-picker/styles.css.js +38 -38
- package/date-range-picker/styles.scoped.css +51 -47
- package/date-range-picker/styles.selectors.js +38 -38
- package/date-range-picker/time-offset.d.ts +2 -1
- package/date-range-picker/time-offset.d.ts.map +1 -1
- package/date-range-picker/time-offset.js +1 -1
- package/date-range-picker/time-offset.js.map +1 -1
- package/date-range-picker/utils.d.ts +9 -0
- package/date-range-picker/utils.d.ts.map +1 -1
- package/date-range-picker/utils.js +19 -2
- package/date-range-picker/utils.js.map +1 -1
- package/drawer/styles.css.js +5 -5
- package/drawer/styles.scoped.css +16 -12
- package/drawer/styles.selectors.js +5 -5
- package/expandable-section/styles.css.js +34 -34
- package/expandable-section/styles.scoped.css +69 -65
- package/expandable-section/styles.selectors.js +34 -34
- package/file-dropzone/styles.css.js +3 -3
- package/file-dropzone/styles.scoped.css +9 -5
- package/file-dropzone/styles.selectors.js +3 -3
- package/file-input/internal.d.ts +5 -1
- package/file-input/internal.d.ts.map +1 -1
- package/file-input/internal.js +18 -10
- package/file-input/internal.js.map +1 -1
- package/file-input/styles.css.js +6 -5
- package/file-input/styles.scoped.css +33 -8
- package/file-input/styles.selectors.js +6 -5
- package/file-token-group/styles.css.js +22 -22
- package/file-token-group/styles.scoped.css +35 -31
- package/file-token-group/styles.selectors.js +22 -22
- package/flashbar/styles.css.js +50 -50
- package/flashbar/styles.scoped.css +152 -148
- package/flashbar/styles.selectors.js +50 -50
- package/form/styles.css.js +8 -8
- package/form/styles.scoped.css +12 -8
- package/form/styles.selectors.js +8 -8
- package/form-field/styles.css.js +24 -24
- package/form-field/styles.scoped.css +42 -38
- package/form-field/styles.selectors.js +24 -24
- package/grid/styles.css.js +53 -53
- package/grid/styles.scoped.css +58 -54
- package/grid/styles.selectors.js +53 -53
- package/header/styles.css.js +34 -34
- package/header/styles.scoped.css +56 -52
- package/header/styles.selectors.js +34 -34
- package/help-panel/styles.css.js +6 -6
- package/help-panel/styles.scoped.css +73 -69
- package/help-panel/styles.selectors.js +6 -6
- package/hotspot/styles.css.js +7 -7
- package/hotspot/styles.scoped.css +13 -9
- package/hotspot/styles.selectors.js +7 -7
- 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.tr.js +1 -1
- package/i18n/messages/all.tr.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/i18n/messages-types.d.ts +3 -0
- package/i18n/messages-types.d.ts.map +1 -1
- package/i18n/messages-types.js.map +1 -1
- package/icon/styles.css.js +38 -38
- package/icon/styles.scoped.css +89 -85
- package/icon/styles.selectors.js +38 -38
- package/input/styles.css.js +13 -13
- package/input/styles.scoped.css +36 -32
- package/input/styles.selectors.js +13 -13
- package/internal/components/abstract-switch/styles.css.js +13 -13
- package/internal/components/abstract-switch/styles.scoped.css +24 -20
- package/internal/components/abstract-switch/styles.selectors.js +13 -13
- package/internal/components/button-trigger/styles.css.js +13 -13
- package/internal/components/button-trigger/styles.scoped.css +31 -27
- package/internal/components/button-trigger/styles.selectors.js +13 -13
- package/internal/components/chart-filter/styles.css.js +3 -3
- package/internal/components/chart-filter/styles.scoped.css +7 -3
- package/internal/components/chart-filter/styles.selectors.js +3 -3
- package/internal/components/chart-legend/styles.css.js +6 -6
- package/internal/components/chart-legend/styles.scoped.css +19 -15
- package/internal/components/chart-legend/styles.selectors.js +6 -6
- package/internal/components/chart-plot/styles.css.js +5 -5
- package/internal/components/chart-plot/styles.scoped.css +9 -5
- package/internal/components/chart-plot/styles.selectors.js +5 -5
- package/internal/components/chart-popover/styles.css.js +3 -3
- package/internal/components/chart-popover/styles.scoped.css +7 -3
- package/internal/components/chart-popover/styles.selectors.js +3 -3
- package/internal/components/chart-series-details/styles.css.js +20 -20
- package/internal/components/chart-series-details/styles.scoped.css +37 -33
- package/internal/components/chart-series-details/styles.selectors.js +20 -20
- package/internal/components/chart-series-marker/styles.css.js +5 -5
- package/internal/components/chart-series-marker/styles.scoped.css +11 -7
- package/internal/components/chart-series-marker/styles.selectors.js +5 -5
- package/internal/components/chart-wrapper/styles.css.js +9 -9
- package/internal/components/chart-wrapper/styles.scoped.css +15 -11
- package/internal/components/chart-wrapper/styles.selectors.js +9 -9
- package/internal/components/checkbox-icon/styles.css.js +9 -9
- package/internal/components/checkbox-icon/styles.scoped.css +13 -9
- package/internal/components/checkbox-icon/styles.selectors.js +9 -9
- package/internal/components/dnd-container/styles.css.js +1 -1
- package/internal/components/dnd-container/styles.scoped.css +8 -4
- package/internal/components/dnd-container/styles.selectors.js +1 -1
- package/internal/components/dropdown/styles.css.js +20 -20
- package/internal/components/dropdown/styles.scoped.css +41 -37
- package/internal/components/dropdown/styles.selectors.js +20 -20
- package/internal/components/dropdown-footer/styles.css.js +3 -3
- package/internal/components/dropdown-footer/styles.scoped.css +7 -3
- package/internal/components/dropdown-footer/styles.selectors.js +3 -3
- package/internal/components/dropdown-status/styles.css.js +2 -2
- package/internal/components/dropdown-status/styles.scoped.css +6 -2
- package/internal/components/dropdown-status/styles.selectors.js +2 -2
- package/internal/components/handle/styles.css.js +2 -2
- package/internal/components/handle/styles.scoped.css +10 -6
- package/internal/components/handle/styles.selectors.js +2 -2
- package/internal/components/menu-dropdown/index.d.ts.map +1 -1
- package/internal/components/menu-dropdown/index.js +2 -1
- package/internal/components/menu-dropdown/index.js.map +1 -1
- package/internal/components/menu-dropdown/styles.css.js +7 -7
- package/internal/components/menu-dropdown/styles.scoped.css +17 -13
- package/internal/components/menu-dropdown/styles.selectors.js +7 -7
- package/internal/components/option/styles.css.js +17 -17
- package/internal/components/option/styles.scoped.css +33 -29
- package/internal/components/option/styles.selectors.js +17 -17
- package/internal/components/options-list/styles.css.js +3 -3
- package/internal/components/options-list/styles.scoped.css +7 -3
- package/internal/components/options-list/styles.selectors.js +3 -3
- package/internal/components/options-list/utils/use-keyboard.d.ts.map +1 -1
- package/internal/components/options-list/utils/use-keyboard.js +13 -16
- package/internal/components/options-list/utils/use-keyboard.js.map +1 -1
- package/internal/components/panel-resize-handle/styles.css.js +5 -5
- package/internal/components/panel-resize-handle/styles.scoped.css +14 -10
- package/internal/components/panel-resize-handle/styles.selectors.js +5 -5
- package/internal/components/screenreader-only/styles.css.js +1 -1
- package/internal/components/screenreader-only/styles.scoped.css +5 -1
- package/internal/components/screenreader-only/styles.selectors.js +1 -1
- package/internal/components/selectable-item/styles.css.js +16 -16
- package/internal/components/selectable-item/styles.scoped.css +33 -29
- package/internal/components/selectable-item/styles.selectors.js +16 -16
- package/internal/components/token-list/styles.css.js +10 -10
- package/internal/components/token-list/styles.scoped.css +28 -24
- package/internal/components/token-list/styles.selectors.js +10 -10
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/hooks/use-performance-marks/index.d.ts.map +1 -1
- package/internal/hooks/use-performance-marks/index.js +23 -2
- package/internal/hooks/use-performance-marks/index.js.map +1 -1
- package/internal/manifest.json +1 -1
- package/internal/styles/motion/utils.d.ts +2 -0
- package/internal/styles/motion/utils.d.ts.map +1 -0
- package/internal/styles/motion/utils.js +5 -0
- package/internal/styles/motion/utils.js.map +1 -0
- package/internal/utils/date-time/format-date-iso.d.ts +2 -1
- package/internal/utils/date-time/format-date-iso.d.ts.map +1 -1
- package/internal/utils/date-time/format-date-iso.js +6 -2
- package/internal/utils/date-time/format-date-iso.js.map +1 -1
- package/internal/utils/date-time/format-date-localized.d.ts +2 -1
- package/internal/utils/date-time/format-date-localized.d.ts.map +1 -1
- package/internal/utils/date-time/format-date-localized.js +9 -2
- package/internal/utils/date-time/format-date-localized.js.map +1 -1
- package/internal/utils/date-time/format-date-time-with-offset.d.ts.map +1 -1
- package/internal/utils/date-time/format-date-time-with-offset.js +4 -3
- package/internal/utils/date-time/format-date-time-with-offset.js.map +1 -1
- package/internal/utils/date-time/index.d.ts +1 -1
- package/internal/utils/date-time/index.d.ts.map +1 -1
- package/internal/utils/date-time/index.js +1 -1
- package/internal/utils/date-time/index.js.map +1 -1
- package/internal/utils/date-time/is-iso-only.d.ts +9 -0
- package/internal/utils/date-time/is-iso-only.d.ts.map +1 -0
- package/internal/utils/date-time/is-iso-only.js +18 -0
- package/internal/utils/date-time/is-iso-only.js.map +1 -0
- package/internal/utils/handle-key.d.ts +1 -2
- package/internal/utils/handle-key.d.ts.map +1 -1
- package/internal/utils/handle-key.js.map +1 -1
- package/internal/utils/throttle.d.ts +1 -2
- package/internal/utils/throttle.d.ts.map +1 -1
- package/internal/utils/throttle.js.map +1 -1
- package/key-value-pairs/styles.css.js +8 -8
- package/key-value-pairs/styles.scoped.css +13 -9
- package/key-value-pairs/styles.selectors.js +8 -8
- package/link/styles.css.js +20 -20
- package/link/styles.scoped.css +75 -71
- package/link/styles.selectors.js +20 -20
- package/live-region/styles.css.js +2 -2
- package/live-region/styles.scoped.css +7 -3
- package/live-region/styles.selectors.js +2 -2
- package/mixed-line-bar-chart/styles.css.js +11 -11
- package/mixed-line-bar-chart/styles.scoped.css +23 -19
- package/mixed-line-bar-chart/styles.selectors.js +11 -11
- package/modal/index.js +1 -1
- package/modal/index.js.map +1 -1
- package/modal/styles.css.js +23 -23
- package/modal/styles.scoped.css +42 -38
- package/modal/styles.selectors.js +23 -23
- package/multiselect/styles.css.js +3 -3
- package/multiselect/styles.scoped.css +7 -3
- package/multiselect/styles.selectors.js +3 -3
- package/package.json +1 -1
- package/pagination/styles.css.js +9 -9
- package/pagination/styles.scoped.css +27 -23
- package/pagination/styles.selectors.js +9 -9
- package/pie-chart/styles.css.js +27 -27
- package/pie-chart/styles.scoped.css +52 -48
- package/pie-chart/styles.selectors.js +27 -27
- package/popover/styles.css.js +53 -53
- package/popover/styles.scoped.css +89 -69
- package/popover/styles.selectors.js +53 -53
- package/progress-bar/styles.css.js +19 -19
- package/progress-bar/styles.scoped.css +42 -34
- package/progress-bar/styles.selectors.js +19 -19
- package/prompt-input/styles.css.js +14 -14
- package/prompt-input/styles.scoped.css +43 -39
- package/prompt-input/styles.selectors.js +14 -14
- package/property-filter/filtering-token/styles.css.js +18 -18
- package/property-filter/filtering-token/styles.scoped.css +45 -41
- package/property-filter/filtering-token/styles.selectors.js +18 -18
- package/property-filter/styles.css.js +39 -39
- package/property-filter/styles.scoped.css +45 -41
- package/property-filter/styles.selectors.js +39 -39
- package/radio-group/styles.css.js +10 -10
- package/radio-group/styles.scoped.css +20 -16
- package/radio-group/styles.selectors.js +10 -10
- package/s3-resource-selector/s3-modal/basic-table.js +1 -0
- package/s3-resource-selector/s3-modal/basic-table.js.map +1 -1
- package/s3-resource-selector/s3-modal/styles.css.js +3 -3
- package/s3-resource-selector/s3-modal/styles.scoped.css +9 -5
- package/s3-resource-selector/s3-modal/styles.selectors.js +3 -3
- package/segmented-control/styles.css.js +15 -15
- package/segmented-control/styles.scoped.css +38 -34
- package/segmented-control/styles.selectors.js +15 -15
- package/select/parts/filter.d.ts +1 -1
- package/select/parts/styles.css.js +21 -21
- package/select/parts/styles.scoped.css +26 -22
- package/select/parts/styles.selectors.js +21 -21
- package/select/styles.css.js +1 -1
- package/select/styles.scoped.css +5 -1
- package/select/styles.selectors.js +1 -1
- package/select/utils/use-select.js +1 -1
- package/select/utils/use-select.js.map +1 -1
- package/side-navigation/styles.css.js +30 -30
- package/side-navigation/styles.scoped.css +50 -46
- package/side-navigation/styles.selectors.js +30 -30
- package/slider/styles.css.js +26 -26
- package/slider/styles.scoped.css +80 -76
- package/slider/styles.selectors.js +26 -26
- package/space-between/styles.css.js +23 -23
- package/space-between/styles.scoped.css +28 -24
- package/space-between/styles.selectors.js +23 -23
- package/spinner/styles.css.js +13 -13
- package/spinner/styles.scoped.css +23 -19
- package/spinner/styles.selectors.js +13 -13
- package/split-panel/icons/styles.css.js +22 -22
- package/split-panel/icons/styles.scoped.css +28 -24
- package/split-panel/icons/styles.selectors.js +22 -22
- package/split-panel/styles.css.js +26 -26
- package/split-panel/styles.scoped.css +47 -43
- package/split-panel/styles.selectors.js +26 -26
- package/status-indicator/styles.css.js +23 -23
- package/status-indicator/styles.scoped.css +33 -29
- package/status-indicator/styles.selectors.js +23 -23
- package/steps/styles.css.js +6 -6
- package/steps/styles.scoped.css +13 -9
- package/steps/styles.selectors.js +6 -6
- package/table/body-cell/styles.css.js +46 -46
- package/table/body-cell/styles.scoped.css +296 -292
- package/table/body-cell/styles.selectors.js +46 -46
- package/table/expandable-rows/styles.css.js +3 -3
- package/table/expandable-rows/styles.scoped.css +17 -13
- package/table/expandable-rows/styles.selectors.js +3 -3
- package/table/header-cell/styles.css.js +26 -26
- package/table/header-cell/styles.scoped.css +69 -65
- package/table/header-cell/styles.selectors.js +26 -26
- package/table/header-cell/th-element.d.ts +2 -1
- package/table/header-cell/th-element.d.ts.map +1 -1
- package/table/header-cell/th-element.js +2 -2
- package/table/header-cell/th-element.js.map +1 -1
- package/table/interfaces.d.ts +14 -3
- package/table/interfaces.d.ts.map +1 -1
- package/table/interfaces.js.map +1 -1
- package/table/internal.d.ts.map +1 -1
- package/table/internal.js +13 -4
- package/table/internal.js.map +1 -1
- package/table/progressive-loading/items-loader.d.ts +8 -2
- package/table/progressive-loading/items-loader.d.ts.map +1 -1
- package/table/progressive-loading/items-loader.js +11 -5
- package/table/progressive-loading/items-loader.js.map +1 -1
- package/table/progressive-loading/loader-cell.d.ts +2 -3
- package/table/progressive-loading/loader-cell.d.ts.map +1 -1
- package/table/progressive-loading/loader-cell.js +2 -2
- package/table/progressive-loading/loader-cell.js.map +1 -1
- package/table/progressive-loading/progressive-loading-utils.d.ts.map +1 -1
- package/table/progressive-loading/progressive-loading-utils.js +2 -2
- package/table/progressive-loading/progressive-loading-utils.js.map +1 -1
- package/table/resizer/styles.css.js +8 -8
- package/table/resizer/styles.scoped.css +19 -15
- package/table/resizer/styles.selectors.js +8 -8
- package/table/selection/interfaces.d.ts +1 -0
- package/table/selection/interfaces.d.ts.map +1 -1
- package/table/selection/interfaces.js.map +1 -1
- package/table/selection/selection-cell.d.ts.map +1 -1
- package/table/selection/selection-cell.js +4 -3
- package/table/selection/selection-cell.js.map +1 -1
- package/table/selection/styles.css.js +3 -3
- package/table/selection/styles.scoped.css +7 -3
- package/table/selection/styles.selectors.js +3 -3
- package/table/selection/use-selection.js +1 -0
- package/table/selection/use-selection.js.map +1 -1
- package/table/sticky-scrollbar/styles.css.js +6 -6
- package/table/sticky-scrollbar/styles.scoped.css +14 -10
- package/table/sticky-scrollbar/styles.selectors.js +6 -6
- package/table/styles.css.js +34 -34
- package/table/styles.scoped.css +45 -41
- package/table/styles.selectors.js +34 -34
- package/tabs/styles.css.js +28 -28
- package/tabs/styles.scoped.css +57 -49
- package/tabs/styles.selectors.js +28 -28
- package/tag-editor/styles.css.js +3 -3
- package/tag-editor/styles.scoped.css +14 -10
- package/tag-editor/styles.selectors.js +3 -3
- package/test-utils/dom/button-group/index.d.ts +5 -0
- package/test-utils/dom/button-group/index.js +16 -7
- package/test-utils/dom/button-group/index.js.map +1 -1
- package/test-utils/selectors/button-group/index.d.ts +5 -0
- package/test-utils/selectors/button-group/index.js +16 -7
- package/test-utils/selectors/button-group/index.js.map +1 -1
- package/test-utils/tsconfig.tsbuildinfo +1 -1
- package/text-content/styles.css.js +1 -1
- package/text-content/styles.scoped.css +64 -60
- package/text-content/styles.selectors.js +1 -1
- package/text-filter/styles.css.js +3 -3
- package/text-filter/styles.scoped.css +7 -3
- package/text-filter/styles.selectors.js +3 -3
- package/textarea/styles.css.js +5 -5
- package/textarea/styles.scoped.css +18 -14
- package/textarea/styles.selectors.js +5 -5
- package/tiles/styles.css.js +30 -30
- package/tiles/styles.scoped.css +77 -73
- package/tiles/styles.selectors.js +30 -30
- package/toggle/styles.css.js +10 -10
- package/toggle/styles.scoped.css +21 -17
- package/toggle/styles.selectors.js +10 -10
- package/token-group/styles.css.js +8 -8
- package/token-group/styles.scoped.css +20 -16
- package/token-group/styles.selectors.js +8 -8
- package/top-navigation/1.0-beta/styles.css.js +23 -25
- package/top-navigation/1.0-beta/styles.scoped.css +40 -66
- package/top-navigation/1.0-beta/styles.selectors.js +23 -25
- package/top-navigation/parts/overflow-menu/menu-item.d.ts.map +1 -1
- package/top-navigation/parts/overflow-menu/menu-item.js +3 -2
- package/top-navigation/parts/overflow-menu/menu-item.js.map +1 -1
- package/top-navigation/styles.css.js +47 -47
- package/top-navigation/styles.scoped.css +78 -85
- package/top-navigation/styles.selectors.js +47 -47
- package/tutorial-panel/components/tutorial-detail-view/styles.css.js +20 -20
- package/tutorial-panel/components/tutorial-detail-view/styles.scoped.css +27 -23
- package/tutorial-panel/components/tutorial-detail-view/styles.selectors.js +20 -20
- package/tutorial-panel/components/tutorial-list/styles.css.js +18 -18
- package/tutorial-panel/components/tutorial-list/styles.scoped.css +33 -29
- package/tutorial-panel/components/tutorial-list/styles.selectors.js +18 -18
- package/tutorial-panel/styles.css.js +1 -1
- package/tutorial-panel/styles.scoped.css +7 -3
- package/tutorial-panel/styles.selectors.js +1 -1
- package/wizard/styles.css.js +30 -30
- package/wizard/styles.scoped.css +62 -58
- package/wizard/styles.selectors.js +30 -30
- package/calendar/utils/navigation.d.ts.map +0 -1
- package/calendar/utils/navigation.js +0 -73
- package/calendar/utils/navigation.js.map +0 -1
- package/internal/utils/date-time/is-iso-date-only.d.ts +0 -5
- package/internal/utils/date-time/is-iso-date-only.d.ts.map +0 -1
- package/internal/utils/date-time/is-iso-date-only.js +0 -10
- package/internal/utils/date-time/is-iso-date-only.js.map +0 -1
|
@@ -136,6 +136,10 @@
|
|
|
136
136
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
137
137
|
SPDX-License-Identifier: Apache-2.0
|
|
138
138
|
*/
|
|
139
|
+
/*
|
|
140
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
141
|
+
SPDX-License-Identifier: Apache-2.0
|
|
142
|
+
*/
|
|
139
143
|
/* Style used for links in slots/components that are text heavy, to help links stand out among
|
|
140
144
|
surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
|
|
141
145
|
/*
|
|
@@ -146,11 +150,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
146
150
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
147
151
|
SPDX-License-Identifier: Apache-2.0
|
|
148
152
|
*/
|
|
149
|
-
.
|
|
150
|
-
animation: awsui_awsui-motion-fade-in-
|
|
153
|
+
.awsui_calendar_mgja0_1g4r6_153:not(#\9) {
|
|
154
|
+
animation: awsui_awsui-motion-fade-in-0_mgja0_1g4r6_1 var(--motion-duration-show-quick-aq3ump, 135ms) var(--motion-easing-show-quick-vc5zgd, ease-out);
|
|
151
155
|
animation-fill-mode: both;
|
|
152
156
|
}
|
|
153
|
-
@keyframes awsui_awsui-motion-fade-in-
|
|
157
|
+
@keyframes awsui_awsui-motion-fade-in-0_mgja0_1g4r6_1 {
|
|
154
158
|
from {
|
|
155
159
|
opacity: 0;
|
|
156
160
|
}
|
|
@@ -159,17 +163,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
159
163
|
}
|
|
160
164
|
}
|
|
161
165
|
@media (prefers-reduced-motion: reduce) {
|
|
162
|
-
.
|
|
166
|
+
.awsui_calendar_mgja0_1g4r6_153:not(#\9) {
|
|
163
167
|
animation: none;
|
|
164
168
|
transition: none;
|
|
165
169
|
}
|
|
166
170
|
}
|
|
167
|
-
.awsui-motion-disabled .
|
|
171
|
+
.awsui-motion-disabled .awsui_calendar_mgja0_1g4r6_153:not(#\9), .awsui-mode-entering .awsui_calendar_mgja0_1g4r6_153:not(#\9) {
|
|
168
172
|
animation: none;
|
|
169
173
|
transition: none;
|
|
170
174
|
}
|
|
171
175
|
|
|
172
|
-
.
|
|
176
|
+
.awsui_root_mgja0_1g4r6_176:not(#\9) {
|
|
173
177
|
border-collapse: separate;
|
|
174
178
|
border-spacing: 0;
|
|
175
179
|
box-sizing: border-box;
|
|
@@ -201,35 +205,35 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
201
205
|
-webkit-font-smoothing: auto;
|
|
202
206
|
-moz-osx-font-smoothing: auto;
|
|
203
207
|
}
|
|
204
|
-
.
|
|
208
|
+
.awsui_root_mgja0_1g4r6_176:not(#\9):not(.awsui_wide_mgja0_1g4r6_207) {
|
|
205
209
|
max-inline-size: 32em;
|
|
206
210
|
}
|
|
207
|
-
.
|
|
211
|
+
.awsui_root_mgja0_1g4r6_176.awsui_wide_mgja0_1g4r6_207:not(#\9) {
|
|
208
212
|
max-inline-size: 39em;
|
|
209
213
|
}
|
|
210
214
|
|
|
211
|
-
.awsui_focus-
|
|
215
|
+
.awsui_focus-lock_mgja0_1g4r6_214:not(#\9) {
|
|
212
216
|
display: contents;
|
|
213
217
|
}
|
|
214
218
|
|
|
215
|
-
.awsui_trigger-
|
|
219
|
+
.awsui_trigger-flexbox_mgja0_1g4r6_218:not(#\9) {
|
|
216
220
|
display: flex;
|
|
217
221
|
}
|
|
218
222
|
|
|
219
|
-
.awsui_calendar-
|
|
223
|
+
.awsui_calendar-container_mgja0_1g4r6_222:not(#\9) {
|
|
220
224
|
inline-size: calc(2 * var(--size-calendar-grid-width-lrunz7, 238px) + var(--space-xs-zb16t3, 8px));
|
|
221
225
|
}
|
|
222
|
-
.awsui_calendar-
|
|
226
|
+
.awsui_calendar-container_mgja0_1g4r6_222.awsui_one-grid_mgja0_1g4r6_225:not(#\9) {
|
|
223
227
|
inline-size: var(--size-calendar-grid-width-lrunz7, 238px);
|
|
224
228
|
}
|
|
225
229
|
|
|
226
|
-
.awsui_calendar-
|
|
230
|
+
.awsui_calendar-header_mgja0_1g4r6_229:not(#\9) {
|
|
227
231
|
display: flex;
|
|
228
232
|
justify-content: space-between;
|
|
229
233
|
align-items: center;
|
|
230
234
|
position: relative;
|
|
231
235
|
}
|
|
232
|
-
.awsui_calendar-header-months-
|
|
236
|
+
.awsui_calendar-header-months-wrapper_mgja0_1g4r6_235:not(#\9) {
|
|
233
237
|
position: absolute;
|
|
234
238
|
inset: 0;
|
|
235
239
|
margin-block: 0;
|
|
@@ -240,7 +244,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
240
244
|
flex: 1;
|
|
241
245
|
pointer-events: none;
|
|
242
246
|
}
|
|
243
|
-
.awsui_calendar-header-
|
|
247
|
+
.awsui_calendar-header-month_mgja0_1g4r6_235:not(#\9) {
|
|
244
248
|
font-size: var(--font-size-body-m-x4okxb, 14px);
|
|
245
249
|
line-height: var(--line-height-body-m-30ar75, 20px);
|
|
246
250
|
font-weight: 700;
|
|
@@ -248,32 +252,32 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
248
252
|
display: flex;
|
|
249
253
|
pointer-events: auto;
|
|
250
254
|
}
|
|
251
|
-
.awsui_calendar-next-month-
|
|
255
|
+
.awsui_calendar-next-month-btn_mgja0_1g4r6_254:not(#\9) {
|
|
252
256
|
/* used for identifying element */
|
|
253
257
|
}
|
|
254
|
-
.awsui_calendar-prev-month-
|
|
258
|
+
.awsui_calendar-prev-month-btn_mgja0_1g4r6_257:not(#\9) {
|
|
255
259
|
/* used for identifying element */
|
|
256
260
|
}
|
|
257
261
|
|
|
258
|
-
.awsui_first-
|
|
259
|
-
.awsui_second-
|
|
262
|
+
.awsui_first-grid_mgja0_1g4r6_261:not(#\9),
|
|
263
|
+
.awsui_second-grid_mgja0_1g4r6_262:not(#\9) {
|
|
260
264
|
/* used in test-utils */
|
|
261
265
|
}
|
|
262
266
|
|
|
263
|
-
.awsui_date-and-time-
|
|
267
|
+
.awsui_date-and-time-container_mgja0_1g4r6_266:not(#\9) {
|
|
264
268
|
display: grid;
|
|
265
269
|
grid-template-columns: repeat(auto-fit, minmax(var(--size-calendar-grid-width-lrunz7, 238px), 1fr));
|
|
266
270
|
gap: var(--space-xs-zb16t3, 8px);
|
|
267
271
|
}
|
|
268
272
|
|
|
269
|
-
.awsui_date-and-time-
|
|
273
|
+
.awsui_date-and-time-wrapper_mgja0_1g4r6_272:not(#\9) {
|
|
270
274
|
inline-size: var(--size-calendar-grid-width-lrunz7, 238px);
|
|
271
275
|
display: grid;
|
|
272
276
|
gap: var(--space-xs-zb16t3, 8px);
|
|
273
277
|
grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
|
|
274
278
|
}
|
|
275
279
|
|
|
276
|
-
.
|
|
280
|
+
.awsui_footer_mgja0_1g4r6_279:not(#\9) {
|
|
277
281
|
display: flex;
|
|
278
282
|
flex-wrap: wrap;
|
|
279
283
|
justify-content: flex-end;
|
|
@@ -282,51 +286,51 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
282
286
|
padding-block-end: var(--space-s-34lx8l, 12px);
|
|
283
287
|
padding-inline: var(--space-l-t419sm, 20px);
|
|
284
288
|
}
|
|
285
|
-
.
|
|
289
|
+
.awsui_footer_mgja0_1g4r6_279.awsui_has-clear-button_mgja0_1g4r6_288:not(#\9) {
|
|
286
290
|
justify-content: space-between;
|
|
287
291
|
}
|
|
288
|
-
.
|
|
292
|
+
.awsui_footer_mgja0_1g4r6_279.awsui_one-grid_mgja0_1g4r6_225:not(#\9) {
|
|
289
293
|
padding-block-start: 0;
|
|
290
294
|
padding-block-end: var(--space-s-34lx8l, 12px);
|
|
291
295
|
padding-inline: var(--space-xs-zb16t3, 8px);
|
|
292
296
|
}
|
|
293
297
|
|
|
294
|
-
.awsui_footer-button-
|
|
298
|
+
.awsui_footer-button-wrapper_mgja0_1g4r6_297:not(#\9) {
|
|
295
299
|
padding-block-start: var(--space-s-34lx8l, 12px);
|
|
296
300
|
}
|
|
297
|
-
.awsui_footer-button-
|
|
301
|
+
.awsui_footer-button-wrapper_mgja0_1g4r6_297:not(#\9):last-child {
|
|
298
302
|
margin-inline-start: auto;
|
|
299
303
|
}
|
|
300
304
|
|
|
301
|
-
.awsui_icon-
|
|
305
|
+
.awsui_icon-wrapper_mgja0_1g4r6_304:not(#\9) {
|
|
302
306
|
color: var(--color-text-interactive-default-tkx8fe, #424650);
|
|
303
307
|
margin-inline-end: var(--space-xs-zb16t3, 8px);
|
|
304
308
|
}
|
|
305
309
|
|
|
306
|
-
.
|
|
310
|
+
.awsui_label_mgja0_1g4r6_309:not(#\9) {
|
|
307
311
|
-webkit-user-select: text;
|
|
308
312
|
user-select: text;
|
|
309
313
|
cursor: default;
|
|
310
314
|
}
|
|
311
315
|
|
|
312
|
-
.
|
|
316
|
+
.awsui_label_mgja0_1g4r6_309.awsui_label-enabled_mgja0_1g4r6_314:not(#\9):hover > .awsui_trigger-flexbox_mgja0_1g4r6_218 > .awsui_icon-wrapper_mgja0_1g4r6_304 {
|
|
313
317
|
color: var(--color-text-interactive-hover-f9gqs8, #0f141a);
|
|
314
318
|
}
|
|
315
319
|
|
|
316
|
-
.awsui_label-
|
|
320
|
+
.awsui_label-text_mgja0_1g4r6_318:not(#\9) {
|
|
317
321
|
color: var(--color-text-input-placeholder-f3x213, #656871);
|
|
318
322
|
font-style: italic;
|
|
319
323
|
}
|
|
320
324
|
|
|
321
|
-
.awsui_label-token-
|
|
325
|
+
.awsui_label-token-nowrap_mgja0_1g4r6_323:not(#\9) {
|
|
322
326
|
white-space: nowrap;
|
|
323
327
|
}
|
|
324
328
|
|
|
325
|
-
.awsui_mode-
|
|
329
|
+
.awsui_mode-switch_mgja0_1g4r6_327:not(#\9) {
|
|
326
330
|
/* used in test-utils */
|
|
327
331
|
}
|
|
328
332
|
|
|
329
|
-
.
|
|
333
|
+
.awsui_dropdown_mgja0_1g4r6_331:not(#\9) {
|
|
330
334
|
overflow: auto;
|
|
331
335
|
border-block-start: 1px solid var(--color-border-container-top-736buh, transparent);
|
|
332
336
|
border-block-end: 1px solid var(--color-border-container-top-736buh, transparent);
|
|
@@ -335,10 +339,10 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
335
339
|
border-end-start-radius: var(--border-radius-dropdown-0dhh79, 8px);
|
|
336
340
|
border-end-end-radius: var(--border-radius-dropdown-0dhh79, 8px);
|
|
337
341
|
}
|
|
338
|
-
.
|
|
342
|
+
.awsui_dropdown_mgja0_1g4r6_331:not(#\9):focus {
|
|
339
343
|
outline: none;
|
|
340
344
|
}
|
|
341
|
-
body[data-awsui-focus-visible=true] .
|
|
345
|
+
body[data-awsui-focus-visible=true] .awsui_dropdown_mgja0_1g4r6_331:not(#\9):focus {
|
|
342
346
|
outline: 2px dotted transparent;
|
|
343
347
|
outline-offset: 2px;
|
|
344
348
|
border-start-start-radius: var(--border-radius-dropdown-0dhh79, 8px);
|
|
@@ -348,43 +352,43 @@ body[data-awsui-focus-visible=true] .awsui_dropdown_mgja0_16597_327:not(#\9):foc
|
|
|
348
352
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-nv6mhz, #006ce0);
|
|
349
353
|
}
|
|
350
354
|
|
|
351
|
-
.awsui_dropdown-
|
|
355
|
+
.awsui_dropdown-content_mgja0_1g4r6_353:not(#\9) {
|
|
352
356
|
-webkit-user-select: text;
|
|
353
357
|
user-select: text;
|
|
354
358
|
background-color: var(--color-background-container-content-z79u4u, #ffffff);
|
|
355
359
|
inline-size: calc(2 * var(--size-calendar-grid-width-lrunz7, 238px) + var(--space-xs-zb16t3, 8px) + 2 * var(--space-l-t419sm, 20px));
|
|
356
360
|
}
|
|
357
|
-
.awsui_dropdown-
|
|
361
|
+
.awsui_dropdown-content_mgja0_1g4r6_353.awsui_one-grid_mgja0_1g4r6_225:not(#\9) {
|
|
358
362
|
inline-size: calc(var(--size-calendar-grid-width-lrunz7, 238px) + 2 * var(--space-l-t419sm, 20px));
|
|
359
363
|
}
|
|
360
364
|
|
|
361
|
-
.awsui_start-date-
|
|
362
|
-
.awsui_start-time-
|
|
363
|
-
.awsui_end-date-
|
|
364
|
-
.awsui_end-time-
|
|
365
|
+
.awsui_start-date-input_mgja0_1g4r6_362:not(#\9),
|
|
366
|
+
.awsui_start-time-input_mgja0_1g4r6_363:not(#\9),
|
|
367
|
+
.awsui_end-date-input_mgja0_1g4r6_364:not(#\9),
|
|
368
|
+
.awsui_end-time-input_mgja0_1g4r6_365:not(#\9) {
|
|
365
369
|
/* used in test-utils */
|
|
366
370
|
}
|
|
367
371
|
|
|
368
|
-
.awsui_validation-
|
|
372
|
+
.awsui_validation-section_mgja0_1g4r6_369:not(#\9) {
|
|
369
373
|
/* used in test-utils */
|
|
370
374
|
}
|
|
371
375
|
|
|
372
|
-
.awsui_validation-
|
|
376
|
+
.awsui_validation-error_mgja0_1g4r6_373:not(#\9) {
|
|
373
377
|
/* used in test-utils */
|
|
374
378
|
}
|
|
375
379
|
|
|
376
|
-
.awsui_clear-
|
|
380
|
+
.awsui_clear-button_mgja0_1g4r6_377:not(#\9) {
|
|
377
381
|
/* used in test-utils */
|
|
378
382
|
}
|
|
379
383
|
|
|
380
|
-
.awsui_apply-
|
|
384
|
+
.awsui_apply-button_mgja0_1g4r6_381:not(#\9) {
|
|
381
385
|
/* used in test-utils */
|
|
382
386
|
}
|
|
383
387
|
|
|
384
|
-
.awsui_cancel-
|
|
388
|
+
.awsui_cancel-button_mgja0_1g4r6_385:not(#\9) {
|
|
385
389
|
/* used in test-utils */
|
|
386
390
|
}
|
|
387
391
|
|
|
388
|
-
.awsui_calendar-aria-
|
|
392
|
+
.awsui_calendar-aria-live_mgja0_1g4r6_389:not(#\9) {
|
|
389
393
|
/* used in test-utils */
|
|
390
394
|
}
|
|
@@ -2,43 +2,43 @@
|
|
|
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
|
-
"wide": "
|
|
9
|
-
"focus-lock": "awsui_focus-
|
|
10
|
-
"trigger-flexbox": "awsui_trigger-
|
|
11
|
-
"calendar-container": "awsui_calendar-
|
|
12
|
-
"one-grid": "awsui_one-
|
|
13
|
-
"calendar-header": "awsui_calendar-
|
|
14
|
-
"calendar-header-months-wrapper": "awsui_calendar-header-months-
|
|
15
|
-
"calendar-header-month": "awsui_calendar-header-
|
|
16
|
-
"calendar-next-month-btn": "awsui_calendar-next-month-
|
|
17
|
-
"calendar-prev-month-btn": "awsui_calendar-prev-month-
|
|
18
|
-
"first-grid": "awsui_first-
|
|
19
|
-
"second-grid": "awsui_second-
|
|
20
|
-
"date-and-time-container": "awsui_date-and-time-
|
|
21
|
-
"date-and-time-wrapper": "awsui_date-and-time-
|
|
22
|
-
"footer": "
|
|
23
|
-
"has-clear-button": "awsui_has-clear-
|
|
24
|
-
"footer-button-wrapper": "awsui_footer-button-
|
|
25
|
-
"icon-wrapper": "awsui_icon-
|
|
26
|
-
"label": "
|
|
27
|
-
"label-enabled": "awsui_label-
|
|
28
|
-
"label-text": "awsui_label-
|
|
29
|
-
"label-token-nowrap": "awsui_label-token-
|
|
30
|
-
"mode-switch": "awsui_mode-
|
|
31
|
-
"dropdown": "
|
|
32
|
-
"dropdown-content": "awsui_dropdown-
|
|
33
|
-
"start-date-input": "awsui_start-date-
|
|
34
|
-
"start-time-input": "awsui_start-time-
|
|
35
|
-
"end-date-input": "awsui_end-date-
|
|
36
|
-
"end-time-input": "awsui_end-time-
|
|
37
|
-
"validation-section": "awsui_validation-
|
|
38
|
-
"validation-error": "awsui_validation-
|
|
39
|
-
"clear-button": "awsui_clear-
|
|
40
|
-
"apply-button": "awsui_apply-
|
|
41
|
-
"cancel-button": "awsui_cancel-
|
|
42
|
-
"calendar-aria-live": "awsui_calendar-aria-
|
|
5
|
+
"calendar": "awsui_calendar_mgja0_1g4r6_153",
|
|
6
|
+
"awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_mgja0_1g4r6_1",
|
|
7
|
+
"root": "awsui_root_mgja0_1g4r6_176",
|
|
8
|
+
"wide": "awsui_wide_mgja0_1g4r6_207",
|
|
9
|
+
"focus-lock": "awsui_focus-lock_mgja0_1g4r6_214",
|
|
10
|
+
"trigger-flexbox": "awsui_trigger-flexbox_mgja0_1g4r6_218",
|
|
11
|
+
"calendar-container": "awsui_calendar-container_mgja0_1g4r6_222",
|
|
12
|
+
"one-grid": "awsui_one-grid_mgja0_1g4r6_225",
|
|
13
|
+
"calendar-header": "awsui_calendar-header_mgja0_1g4r6_229",
|
|
14
|
+
"calendar-header-months-wrapper": "awsui_calendar-header-months-wrapper_mgja0_1g4r6_235",
|
|
15
|
+
"calendar-header-month": "awsui_calendar-header-month_mgja0_1g4r6_235",
|
|
16
|
+
"calendar-next-month-btn": "awsui_calendar-next-month-btn_mgja0_1g4r6_254",
|
|
17
|
+
"calendar-prev-month-btn": "awsui_calendar-prev-month-btn_mgja0_1g4r6_257",
|
|
18
|
+
"first-grid": "awsui_first-grid_mgja0_1g4r6_261",
|
|
19
|
+
"second-grid": "awsui_second-grid_mgja0_1g4r6_262",
|
|
20
|
+
"date-and-time-container": "awsui_date-and-time-container_mgja0_1g4r6_266",
|
|
21
|
+
"date-and-time-wrapper": "awsui_date-and-time-wrapper_mgja0_1g4r6_272",
|
|
22
|
+
"footer": "awsui_footer_mgja0_1g4r6_279",
|
|
23
|
+
"has-clear-button": "awsui_has-clear-button_mgja0_1g4r6_288",
|
|
24
|
+
"footer-button-wrapper": "awsui_footer-button-wrapper_mgja0_1g4r6_297",
|
|
25
|
+
"icon-wrapper": "awsui_icon-wrapper_mgja0_1g4r6_304",
|
|
26
|
+
"label": "awsui_label_mgja0_1g4r6_309",
|
|
27
|
+
"label-enabled": "awsui_label-enabled_mgja0_1g4r6_314",
|
|
28
|
+
"label-text": "awsui_label-text_mgja0_1g4r6_318",
|
|
29
|
+
"label-token-nowrap": "awsui_label-token-nowrap_mgja0_1g4r6_323",
|
|
30
|
+
"mode-switch": "awsui_mode-switch_mgja0_1g4r6_327",
|
|
31
|
+
"dropdown": "awsui_dropdown_mgja0_1g4r6_331",
|
|
32
|
+
"dropdown-content": "awsui_dropdown-content_mgja0_1g4r6_353",
|
|
33
|
+
"start-date-input": "awsui_start-date-input_mgja0_1g4r6_362",
|
|
34
|
+
"start-time-input": "awsui_start-time-input_mgja0_1g4r6_363",
|
|
35
|
+
"end-date-input": "awsui_end-date-input_mgja0_1g4r6_364",
|
|
36
|
+
"end-time-input": "awsui_end-time-input_mgja0_1g4r6_365",
|
|
37
|
+
"validation-section": "awsui_validation-section_mgja0_1g4r6_369",
|
|
38
|
+
"validation-error": "awsui_validation-error_mgja0_1g4r6_373",
|
|
39
|
+
"clear-button": "awsui_clear-button_mgja0_1g4r6_377",
|
|
40
|
+
"apply-button": "awsui_apply-button_mgja0_1g4r6_381",
|
|
41
|
+
"cancel-button": "awsui_cancel-button_mgja0_1g4r6_385",
|
|
42
|
+
"calendar-aria-live": "awsui_calendar-aria-live_mgja0_1g4r6_389"
|
|
43
43
|
};
|
|
44
44
|
|
|
@@ -15,11 +15,12 @@ export declare function shiftTimeOffset(value: null | DateRangePickerProps.Value
|
|
|
15
15
|
startDate?: number;
|
|
16
16
|
endDate?: number;
|
|
17
17
|
}): DateRangePickerProps.Value | null;
|
|
18
|
-
export
|
|
18
|
+
export type NormalizedTimeOffset = {
|
|
19
19
|
startDate: number;
|
|
20
20
|
endDate: number;
|
|
21
21
|
} | {
|
|
22
22
|
startDate: undefined;
|
|
23
23
|
endDate: undefined;
|
|
24
24
|
};
|
|
25
|
+
export declare function normalizeTimeOffset(value: null | DateRangePickerProps.Value, getTimeOffset?: DateRangePickerProps.GetTimeOffsetFunction, timeOffset?: number): NormalizedTimeOffset;
|
|
25
26
|
//# sourceMappingURL=time-offset.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time-offset.d.ts","sourceRoot":"","sources":["../../../src/date-range-picker/time-offset.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEpD;;GAEG;AACH,wBAAgB,aAAa,CAC3B,KAAK,EAAE,oBAAoB,CAAC,KAAK,GAAG,IAAI,EACxC,UAAU,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GACnD,oBAAoB,CAAC,KAAK,GAAG,IAAI,CASnC;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAC7B,KAAK,EAAE,IAAI,GAAG,oBAAoB,CAAC,KAAK,EACxC,UAAU,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GACnD,oBAAoB,CAAC,KAAK,GAAG,IAAI,CA2BnC;AAED,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,IAAI,GAAG,oBAAoB,CAAC,KAAK,EACxC,aAAa,CAAC,EAAE,oBAAoB,CAAC,qBAAqB,EAC1D,UAAU,CAAC,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"time-offset.d.ts","sourceRoot":"","sources":["../../../src/date-range-picker/time-offset.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEpD;;GAEG;AACH,wBAAgB,aAAa,CAC3B,KAAK,EAAE,oBAAoB,CAAC,KAAK,GAAG,IAAI,EACxC,UAAU,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GACnD,oBAAoB,CAAC,KAAK,GAAG,IAAI,CASnC;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAC7B,KAAK,EAAE,IAAI,GAAG,oBAAoB,CAAC,KAAK,EACxC,UAAU,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GACnD,oBAAoB,CAAC,KAAK,GAAG,IAAI,CA2BnC;AAED,MAAM,MAAM,oBAAoB,GAC5B;IACE,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB,GACD;IACE,SAAS,EAAE,SAAS,CAAC;IACrB,OAAO,EAAE,SAAS,CAAC;CACpB,CAAC;AAEN,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,IAAI,GAAG,oBAAoB,CAAC,KAAK,EACxC,aAAa,CAAC,EAAE,oBAAoB,CAAC,qBAAqB,EAC1D,UAAU,CAAC,EAAE,MAAM,GAClB,oBAAoB,CAYtB"}
|
|
@@ -26,7 +26,7 @@ export function shiftTimeOffset(value, timeOffset) {
|
|
|
26
26
|
return value;
|
|
27
27
|
}
|
|
28
28
|
/*
|
|
29
|
-
This regex matches an ISO date-time with
|
|
29
|
+
This regex matches an ISO date-time (non date-only or month-only) with
|
|
30
30
|
- optional seconds;
|
|
31
31
|
- optional milliseconds;
|
|
32
32
|
- optional time offset or 'Z'.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time-offset.js","sourceRoot":"","sources":["../../../src/date-range-picker/time-offset.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,OAAO,EAAE,QAAQ,EAAE,MAAM,+CAA+C,CAAC;AAEzE,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAG5G;;GAEG;AACH,MAAM,UAAU,aAAa,CAC3B,KAAwC,EACxC,UAAoD;IAEpD,IAAI,CAAC,CAAC,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,MAAK,UAAU,CAAC,EAAE;QACjC,OAAO,KAAK,CAAC;KACd;IACD,OAAO;QACL,IAAI,EAAE,UAAU;QAChB,SAAS,EAAE,KAAK,CAAC,SAAS,GAAG,mBAAmB,CAAC,KAAK,CAAC,SAAS,EAAE,UAAU,CAAC,SAAS,CAAC;QACvF,OAAO,EAAE,KAAK,CAAC,OAAO,GAAG,mBAAmB,CAAC,KAAK,CAAC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAC;KAChF,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,eAAe,CAC7B,KAAwC,EACxC,UAAoD;IAEpD,IAAI,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI,KAAK,UAAU,EAAE;QACvC,OAAO,KAAK,CAAC;KACd;IAED;;;;;MAKE;IACF,MAAM,aAAa,GAAG,iFAAiF,CAAC;IAExG,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE;QAC9E,QAAQ,CACN,iBAAiB,EACjB,sGAAsG;YACpG,uEAAuE,CAC1E,CAAC;QACF,OAAO,IAAI,CAAC;KACb;IAED,OAAO;QACL,IAAI,EAAE,UAAU;QAChB,SAAS,EAAE,mBAAmB,CAAC,KAAK,CAAC,SAAS,EAAE,UAAU,CAAC,SAAS,CAAC;QACrE,OAAO,EAAE,mBAAmB,CAAC,KAAK,CAAC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAC;KAChE,CAAC;AACJ,CAAC;
|
|
1
|
+
{"version":3,"file":"time-offset.js","sourceRoot":"","sources":["../../../src/date-range-picker/time-offset.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,OAAO,EAAE,QAAQ,EAAE,MAAM,+CAA+C,CAAC;AAEzE,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAG5G;;GAEG;AACH,MAAM,UAAU,aAAa,CAC3B,KAAwC,EACxC,UAAoD;IAEpD,IAAI,CAAC,CAAC,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,MAAK,UAAU,CAAC,EAAE;QACjC,OAAO,KAAK,CAAC;KACd;IACD,OAAO;QACL,IAAI,EAAE,UAAU;QAChB,SAAS,EAAE,KAAK,CAAC,SAAS,GAAG,mBAAmB,CAAC,KAAK,CAAC,SAAS,EAAE,UAAU,CAAC,SAAS,CAAC;QACvF,OAAO,EAAE,KAAK,CAAC,OAAO,GAAG,mBAAmB,CAAC,KAAK,CAAC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAC;KAChF,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,eAAe,CAC7B,KAAwC,EACxC,UAAoD;IAEpD,IAAI,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI,KAAK,UAAU,EAAE;QACvC,OAAO,KAAK,CAAC;KACd;IAED;;;;;MAKE;IACF,MAAM,aAAa,GAAG,iFAAiF,CAAC;IAExG,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE;QAC9E,QAAQ,CACN,iBAAiB,EACjB,sGAAsG;YACpG,uEAAuE,CAC1E,CAAC;QACF,OAAO,IAAI,CAAC;KACb;IAED,OAAO;QACL,IAAI,EAAE,UAAU;QAChB,SAAS,EAAE,mBAAmB,CAAC,KAAK,CAAC,SAAS,EAAE,UAAU,CAAC,SAAS,CAAC;QACrE,OAAO,EAAE,mBAAmB,CAAC,KAAK,CAAC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAC;KAChE,CAAC;AACJ,CAAC;AAYD,MAAM,UAAU,mBAAmB,CACjC,KAAwC,EACxC,aAA0D,EAC1D,UAAmB;IAEnB,IAAI,KAAK,IAAI,KAAK,CAAC,IAAI,KAAK,UAAU,EAAE;QACtC,IAAI,aAAa,EAAE;YACjB,OAAO;gBACL,SAAS,EAAE,aAAa,CAAC,YAAY,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;gBACvD,OAAO,EAAE,aAAa,CAAC,YAAY,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;aACpD,CAAC;SACH;aAAM,IAAI,UAAU,KAAK,SAAS,EAAE;YACnC,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;SACvD;KACF;IACD,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC;AACtD,CAAC;AAED;;;;;;;;;;;;;;;EAeE;AACF,SAAS,YAAY,CAAC,aAAqB;IACzC,MAAM,IAAI,GAAG,IAAI,IAAI,CAAC,aAAa,CAAC,CAAC;IACrC,OAAO,UAAU,CAAC,IAAI,EAAE,mBAAmB,CAAC,aAAa,CAAC,CAAC,CAAC;AAC9D,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { addMinutes } from 'date-fns';\n\nimport { warnOnce } from '@cloudscape-design/component-toolkit/internal';\n\nimport { formatTimeOffsetISO, parseTimezoneOffset, shiftTimezoneOffset } from '../internal/utils/date-time';\nimport { DateRangePickerProps } from './interfaces';\n\n/**\n * Appends a time zone offset to an offset-less date string.\n */\nexport function setTimeOffset(\n value: DateRangePickerProps.Value | null,\n timeOffset: { startDate?: number; endDate?: number }\n): DateRangePickerProps.Value | null {\n if (!(value?.type === 'absolute')) {\n return value;\n }\n return {\n type: 'absolute',\n startDate: value.startDate + formatTimeOffsetISO(value.startDate, timeOffset.startDate),\n endDate: value.endDate + formatTimeOffsetISO(value.endDate, timeOffset.endDate),\n };\n}\n\n/**\n * Re-formats an absolute date range so that it is expressed using the\n * target time offset. The returned value still represents the same range\n * in time, but contains no visible offset.\n */\nexport function shiftTimeOffset(\n value: null | DateRangePickerProps.Value,\n timeOffset: { startDate?: number; endDate?: number }\n): DateRangePickerProps.Value | null {\n if (!value || value.type !== 'absolute') {\n return value;\n }\n\n /*\n This regex matches an ISO date-time (non date-only or month-only) with\n - optional seconds;\n - optional milliseconds;\n - optional time offset or 'Z'.\n */\n const dateTimeRegex = /^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(:\\d{2})?(\\.\\d{1,3})?(((\\+|-)\\d{2}(:\\d{2})?)|Z)?$/;\n\n if (!dateTimeRegex.test(value.startDate) || !dateTimeRegex.test(value.endDate)) {\n warnOnce(\n 'DateRangePicker',\n 'You have provided a misformatted start or end date. The component will fall back to an empty value. ' +\n 'Dates have to be ISO8601-formatted with an optional time zone offset.'\n );\n return null;\n }\n\n return {\n type: 'absolute',\n startDate: shiftTimezoneOffset(value.startDate, timeOffset.startDate),\n endDate: shiftTimezoneOffset(value.endDate, timeOffset.endDate),\n };\n}\n\nexport type NormalizedTimeOffset =\n | {\n startDate: number;\n endDate: number;\n }\n | {\n startDate: undefined;\n endDate: undefined;\n };\n\nexport function normalizeTimeOffset(\n value: null | DateRangePickerProps.Value,\n getTimeOffset?: DateRangePickerProps.GetTimeOffsetFunction,\n timeOffset?: number\n): NormalizedTimeOffset {\n if (value && value.type === 'absolute') {\n if (getTimeOffset) {\n return {\n startDate: getTimeOffset(parseDateUTC(value.startDate)),\n endDate: getTimeOffset(parseDateUTC(value.endDate)),\n };\n } else if (timeOffset !== undefined) {\n return { startDate: timeOffset, endDate: timeOffset };\n }\n }\n return { startDate: undefined, endDate: undefined };\n}\n\n/*\n Before the getTimeOffset function is used there is no information on the preferred time offset.\n \n Besides, the ISO date string might or might not contain the offset:\n - 2021-02-03T01:02:03\n - 2021-02-03T01:02:03Z\n - 2021-02-03T01:02:03+01:00\n \n For every value above the date is converted to UTC and the following is true:\n date.getUTCFullYear() === 2021\n date.getUTCMonth() === 1\n date.getUTCDate() === 3\n date.getUTCHours() === 1\n date.getUTCMinutes() === 2\n date.getUTCSeconds() === 3\n*/\nfunction parseDateUTC(isoDateString: string): Date {\n const date = new Date(isoDateString);\n return addMinutes(date, parseTimezoneOffset(isoDateString));\n}\n"]}
|
|
@@ -9,4 +9,13 @@ export declare function formatValue(value: null | DateRangePickerProps.Value, {
|
|
|
9
9
|
export declare function getDefaultMode(value: null | DateRangePickerProps.Value, relativeOptions: readonly DateRangePickerProps.RelativeOption[], rangeSelectorMode: DateRangePickerProps.RangeSelectorMode): "absolute" | "relative";
|
|
10
10
|
export declare function splitAbsoluteValue(value: null | DateRangePickerProps.AbsoluteValue): DateRangePickerProps.PendingAbsoluteValue;
|
|
11
11
|
export declare function joinAbsoluteValue(value: DateRangePickerProps.PendingAbsoluteValue): DateRangePickerProps.AbsoluteValue;
|
|
12
|
+
type NormalizedTimeOffset = {
|
|
13
|
+
startDate: number;
|
|
14
|
+
endDate: number;
|
|
15
|
+
} | {
|
|
16
|
+
startDate: undefined;
|
|
17
|
+
endDate: undefined;
|
|
18
|
+
};
|
|
19
|
+
export declare function formatInitialValue(value: null | DateRangePickerProps.Value, dateOnly: boolean, normalizedTimeOffset: NormalizedTimeOffset): DateRangePickerProps.Value | null;
|
|
20
|
+
export {};
|
|
12
21
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/date-range-picker/utils.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/date-range-picker/utils.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAGpD,wBAAgB,WAAW,CACzB,KAAK,EAAE,IAAI,GAAG,oBAAoB,CAAC,KAAK,EACxC,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE;IAAE,UAAU,EAAE;QAAE,SAAS,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,GACpG,IAAI,GAAG,oBAAoB,CAAC,KAAK,CAgBnC;AAED,wBAAgB,cAAc,CAC5B,KAAK,EAAE,IAAI,GAAG,oBAAoB,CAAC,KAAK,EACxC,eAAe,EAAE,SAAS,oBAAoB,CAAC,cAAc,EAAE,EAC/D,iBAAiB,EAAE,oBAAoB,CAAC,iBAAiB,2BAY1D;AAED,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,IAAI,GAAG,oBAAoB,CAAC,aAAa,GAC/C,oBAAoB,CAAC,oBAAoB,CAQ3C;AAED,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,oBAAoB,CAAC,oBAAoB,GAC/C,oBAAoB,CAAC,aAAa,CASpC;AAED,KAAK,oBAAoB,GACrB;IACE,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB,GACD;IACE,SAAS,EAAE,SAAS,CAAC;IACrB,OAAO,EAAE,SAAS,CAAC;CACpB,CAAC;AAEN,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,IAAI,GAAG,oBAAoB,CAAC,KAAK,EACxC,QAAQ,EAAE,OAAO,EACjB,oBAAoB,EAAE,oBAAoB,GACzC,oBAAoB,CAAC,KAAK,GAAG,IAAI,CAgBnC"}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
import { joinDateTime, splitDateTime } from '../internal/utils/date-time';
|
|
4
|
+
import { isIsoDateOnly } from '../internal/utils/date-time';
|
|
4
5
|
import { normalizeTimeString } from '../internal/utils/date-time/join-date-time';
|
|
5
|
-
import { setTimeOffset } from './time-offset';
|
|
6
|
+
import { setTimeOffset, shiftTimeOffset } from './time-offset';
|
|
6
7
|
export function formatValue(value, { timeOffset, dateOnly }) {
|
|
7
|
-
if (!value ||
|
|
8
|
+
if (!value ||
|
|
9
|
+
value.type === 'relative' ||
|
|
10
|
+
(value.startDate === '' && value.endDate === '' && value.type === 'absolute')) {
|
|
8
11
|
return value;
|
|
9
12
|
}
|
|
10
13
|
if (dateOnly) {
|
|
@@ -46,4 +49,18 @@ export function joinAbsoluteValue(value) {
|
|
|
46
49
|
endDate: joinDateTime(value.end.date, endTime),
|
|
47
50
|
};
|
|
48
51
|
}
|
|
52
|
+
export function formatInitialValue(value, dateOnly, normalizedTimeOffset) {
|
|
53
|
+
if ((value === null || value === void 0 ? void 0 : value.type) !== 'absolute') {
|
|
54
|
+
return shiftTimeOffset(value, normalizedTimeOffset);
|
|
55
|
+
}
|
|
56
|
+
if (value.endDate === '' && value.startDate === '') {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
if (dateOnly) {
|
|
60
|
+
return formatValue(value, { dateOnly, timeOffset: normalizedTimeOffset });
|
|
61
|
+
}
|
|
62
|
+
return isIsoDateOnly(value.startDate) && isIsoDateOnly(value.endDate)
|
|
63
|
+
? value
|
|
64
|
+
: shiftTimeOffset(value, normalizedTimeOffset);
|
|
65
|
+
}
|
|
49
66
|
//# sourceMappingURL=utils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/date-range-picker/utils.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAC;AAEjF,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/date-range-picker/utils.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAC;AAEjF,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAE/D,MAAM,UAAU,WAAW,CACzB,KAAwC,EACxC,EAAE,UAAU,EAAE,QAAQ,EAA+E;IAErG,IACE,CAAC,KAAK;QACN,KAAK,CAAC,IAAI,KAAK,UAAU;QACzB,CAAC,KAAK,CAAC,SAAS,KAAK,EAAE,IAAI,KAAK,CAAC,OAAO,KAAK,EAAE,IAAI,KAAK,CAAC,IAAI,KAAK,UAAU,CAAC,EAC7E;QACA,OAAO,KAAK,CAAC;KACd;IACD,IAAI,QAAQ,EAAE;QACZ,OAAO;YACL,IAAI,EAAE,UAAU;YAChB,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;YACxC,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;SACrC,CAAC;KACH;IACD,OAAO,aAAa,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;AAC1C,CAAC;AAED,MAAM,UAAU,cAAc,CAC5B,KAAwC,EACxC,eAA+D,EAC/D,iBAAyD;IAEzD,IAAI,KAAK,IAAI,KAAK,CAAC,IAAI,EAAE;QACvB,OAAO,KAAK,CAAC,IAAI,CAAC;KACnB;IACD,IAAI,iBAAiB,KAAK,eAAe,EAAE;QACzC,OAAO,UAAU,CAAC;KACnB;IACD,IAAI,iBAAiB,KAAK,eAAe,EAAE;QACzC,OAAO,UAAU,CAAC;KACnB;IACD,OAAO,eAAe,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC;AAC9D,CAAC;AAED,MAAM,UAAU,kBAAkB,CAChC,KAAgD;IAEhD,IAAI,CAAC,KAAK,EAAE;QACV,OAAO;YACL,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;YAC7B,GAAG,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;SAC5B,CAAC;KACH;IACD,OAAO,EAAE,KAAK,EAAE,aAAa,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC;AACtF,CAAC;AAED,MAAM,UAAU,iBAAiB,CAC/B,KAAgD;IAEhD,MAAM,SAAS,GAAG,mBAAmB,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,IAAI,UAAU,CAAC,CAAC;IACtE,MAAM,OAAO,GAAG,mBAAmB,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,IAAI,UAAU,CAAC,CAAC;IAElE,OAAO;QACL,IAAI,EAAE,UAAU;QAChB,SAAS,EAAE,YAAY,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,SAAS,CAAC;QACpD,OAAO,EAAE,YAAY,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,EAAE,OAAO,CAAC;KAC/C,CAAC;AACJ,CAAC;AAYD,MAAM,UAAU,kBAAkB,CAChC,KAAwC,EACxC,QAAiB,EACjB,oBAA0C;IAE1C,IAAI,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,MAAK,UAAU,EAAE;QAC9B,OAAO,eAAe,CAAC,KAAK,EAAE,oBAAoB,CAAC,CAAC;KACrD;IAED,IAAI,KAAK,CAAC,OAAO,KAAK,EAAE,IAAI,KAAK,CAAC,SAAS,KAAK,EAAE,EAAE;QAClD,OAAO,KAAK,CAAC;KACd;IAED,IAAI,QAAQ,EAAE;QACZ,OAAO,WAAW,CAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,oBAAoB,EAAE,CAAC,CAAC;KAC3E;IAED,OAAO,aAAa,CAAC,KAAK,CAAC,SAAS,CAAC,IAAI,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC;QACnE,CAAC,CAAC,KAAK;QACP,CAAC,CAAC,eAAe,CAAC,KAAK,EAAE,oBAAoB,CAAC,CAAC;AACnD,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { joinDateTime, splitDateTime } from '../internal/utils/date-time';\nimport { isIsoDateOnly } from '../internal/utils/date-time';\nimport { normalizeTimeString } from '../internal/utils/date-time/join-date-time';\nimport { DateRangePickerProps } from './interfaces';\nimport { setTimeOffset, shiftTimeOffset } from './time-offset';\n\nexport function formatValue(\n value: null | DateRangePickerProps.Value,\n { timeOffset, dateOnly }: { timeOffset: { startDate?: number; endDate?: number }; dateOnly: boolean }\n): null | DateRangePickerProps.Value {\n if (\n !value ||\n value.type === 'relative' ||\n (value.startDate === '' && value.endDate === '' && value.type === 'absolute')\n ) {\n return value;\n }\n if (dateOnly) {\n return {\n type: 'absolute',\n startDate: value.startDate.split('T')[0],\n endDate: value.endDate.split('T')[0],\n };\n }\n return setTimeOffset(value, timeOffset);\n}\n\nexport function getDefaultMode(\n value: null | DateRangePickerProps.Value,\n relativeOptions: readonly DateRangePickerProps.RelativeOption[],\n rangeSelectorMode: DateRangePickerProps.RangeSelectorMode\n) {\n if (value && value.type) {\n return value.type;\n }\n if (rangeSelectorMode === 'relative-only') {\n return 'relative';\n }\n if (rangeSelectorMode === 'absolute-only') {\n return 'absolute';\n }\n return relativeOptions.length > 0 ? 'relative' : 'absolute';\n}\n\nexport function splitAbsoluteValue(\n value: null | DateRangePickerProps.AbsoluteValue\n): DateRangePickerProps.PendingAbsoluteValue {\n if (!value) {\n return {\n start: { date: '', time: '' },\n end: { date: '', time: '' },\n };\n }\n return { start: splitDateTime(value.startDate), end: splitDateTime(value.endDate) };\n}\n\nexport function joinAbsoluteValue(\n value: DateRangePickerProps.PendingAbsoluteValue\n): DateRangePickerProps.AbsoluteValue {\n const startTime = normalizeTimeString(value.start.time || '00:00:00');\n const endTime = normalizeTimeString(value.end.time || '23:59:59');\n\n return {\n type: 'absolute',\n startDate: joinDateTime(value.start.date, startTime),\n endDate: joinDateTime(value.end.date, endTime),\n };\n}\n\ntype NormalizedTimeOffset =\n | {\n startDate: number;\n endDate: number;\n }\n | {\n startDate: undefined;\n endDate: undefined;\n };\n\nexport function formatInitialValue(\n value: null | DateRangePickerProps.Value,\n dateOnly: boolean,\n normalizedTimeOffset: NormalizedTimeOffset\n): DateRangePickerProps.Value | null {\n if (value?.type !== 'absolute') {\n return shiftTimeOffset(value, normalizedTimeOffset);\n }\n\n if (value.endDate === '' && value.startDate === '') {\n return value;\n }\n\n if (dateOnly) {\n return formatValue(value, { dateOnly, timeOffset: normalizedTimeOffset });\n }\n\n return isIsoDateOnly(value.startDate) && isIsoDateOnly(value.endDate)\n ? value\n : shiftTimeOffset(value, normalizedTimeOffset);\n}\n"]}
|
package/drawer/styles.css.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"drawer": "
|
|
5
|
-
"header": "
|
|
6
|
-
"with-toolbar": "awsui_with-
|
|
7
|
-
"content": "
|
|
8
|
-
"test-utils-drawer-content": "awsui_test-utils-drawer-
|
|
4
|
+
"drawer": "awsui_drawer_1sxt8_smrsr_181",
|
|
5
|
+
"header": "awsui_header_1sxt8_smrsr_214",
|
|
6
|
+
"with-toolbar": "awsui_with-toolbar_1sxt8_smrsr_229",
|
|
7
|
+
"content": "awsui_content_1sxt8_smrsr_247",
|
|
8
|
+
"test-utils-drawer-content": "awsui_test-utils-drawer-content_1sxt8_smrsr_253"
|
|
9
9
|
};
|
|
10
10
|
|
package/drawer/styles.scoped.css
CHANGED
|
@@ -134,12 +134,16 @@
|
|
|
134
134
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
135
135
|
SPDX-License-Identifier: Apache-2.0
|
|
136
136
|
*/
|
|
137
|
+
/* stylelint-disable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
138
|
+
/* stylelint-enable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
139
|
+
/*
|
|
140
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
141
|
+
SPDX-License-Identifier: Apache-2.0
|
|
142
|
+
*/
|
|
137
143
|
/*
|
|
138
144
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
139
145
|
SPDX-License-Identifier: Apache-2.0
|
|
140
146
|
*/
|
|
141
|
-
/* stylelint-disable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
142
|
-
/* stylelint-enable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
143
147
|
/*
|
|
144
148
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
145
149
|
SPDX-License-Identifier: Apache-2.0
|
|
@@ -174,7 +178,7 @@
|
|
|
174
178
|
*/
|
|
175
179
|
/* Style used for links in slots/components that are text heavy, to help links stand out among
|
|
176
180
|
surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
|
|
177
|
-
.
|
|
181
|
+
.awsui_drawer_1sxt8_smrsr_181:not(#\9) {
|
|
178
182
|
border-collapse: separate;
|
|
179
183
|
border-spacing: 0;
|
|
180
184
|
box-sizing: border-box;
|
|
@@ -208,7 +212,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
208
212
|
word-wrap: break-word;
|
|
209
213
|
}
|
|
210
214
|
|
|
211
|
-
.
|
|
215
|
+
.awsui_header_1sxt8_smrsr_214:not(#\9) {
|
|
212
216
|
font-size: var(--font-panel-header-size-edjz3l, 18px);
|
|
213
217
|
line-height: var(--font-panel-header-line-height-kxi4u2, 22px);
|
|
214
218
|
font-weight: var(--font-weight-heading-l-f8711v, 700);
|
|
@@ -223,15 +227,15 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
223
227
|
/* stylelint-disable @cloudscape-design/no-implicit-descendant, selector-max-type */
|
|
224
228
|
/* stylelint-enable @cloudscape-design/no-implicit-descendant, selector-max-type */
|
|
225
229
|
}
|
|
226
|
-
.awsui_with-
|
|
230
|
+
.awsui_with-toolbar_1sxt8_smrsr_229 > .awsui_header_1sxt8_smrsr_214:not(#\9) {
|
|
227
231
|
border-color: transparent;
|
|
228
232
|
margin-block-end: 0px;
|
|
229
233
|
}
|
|
230
|
-
.
|
|
231
|
-
.
|
|
232
|
-
.
|
|
233
|
-
.
|
|
234
|
-
.
|
|
234
|
+
.awsui_header_1sxt8_smrsr_214 h2:not(#\9),
|
|
235
|
+
.awsui_header_1sxt8_smrsr_214 h3:not(#\9),
|
|
236
|
+
.awsui_header_1sxt8_smrsr_214 h4:not(#\9),
|
|
237
|
+
.awsui_header_1sxt8_smrsr_214 h5:not(#\9),
|
|
238
|
+
.awsui_header_1sxt8_smrsr_214 h6:not(#\9) {
|
|
235
239
|
font-size: var(--font-panel-header-size-edjz3l, 18px);
|
|
236
240
|
line-height: var(--font-panel-header-line-height-kxi4u2, 22px);
|
|
237
241
|
font-weight: var(--font-weight-heading-l-f8711v, 700);
|
|
@@ -241,12 +245,12 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
241
245
|
margin-block: 0;
|
|
242
246
|
}
|
|
243
247
|
|
|
244
|
-
.
|
|
248
|
+
.awsui_content_1sxt8_smrsr_247:not(#\9):not(:empty) {
|
|
245
249
|
padding-inline-start: var(--space-panel-side-left-5t0who, 28px);
|
|
246
250
|
padding-inline-end: var(--space-panel-side-right-xofg51, 24px);
|
|
247
251
|
padding-block-end: var(--space-panel-content-bottom-7k6er3, 40px);
|
|
248
252
|
}
|
|
249
253
|
|
|
250
|
-
.awsui_test-utils-drawer-
|
|
254
|
+
.awsui_test-utils-drawer-content_1sxt8_smrsr_253:not(#\9) {
|
|
251
255
|
/* used in test-utils */
|
|
252
256
|
}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"drawer": "
|
|
6
|
-
"header": "
|
|
7
|
-
"with-toolbar": "awsui_with-
|
|
8
|
-
"content": "
|
|
9
|
-
"test-utils-drawer-content": "awsui_test-utils-drawer-
|
|
5
|
+
"drawer": "awsui_drawer_1sxt8_smrsr_181",
|
|
6
|
+
"header": "awsui_header_1sxt8_smrsr_214",
|
|
7
|
+
"with-toolbar": "awsui_with-toolbar_1sxt8_smrsr_229",
|
|
8
|
+
"content": "awsui_content_1sxt8_smrsr_247",
|
|
9
|
+
"test-utils-drawer-content": "awsui_test-utils-drawer-content_1sxt8_smrsr_253"
|
|
10
10
|
};
|
|
11
11
|
|