@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
package/file-input/internal.js
CHANGED
|
@@ -8,17 +8,21 @@ import InternalButton from '../button/internal';
|
|
|
8
8
|
import { useFormFieldContext } from '../contexts/form-field';
|
|
9
9
|
import { getBaseProps } from '../internal/base-component/index.js';
|
|
10
10
|
import ScreenreaderOnly from '../internal/components/screenreader-only';
|
|
11
|
+
import { useSingleTabStopNavigation } from '../internal/context/single-tab-stop-navigation-context';
|
|
11
12
|
import { fireNonCancelableEvent } from '../internal/events';
|
|
12
13
|
import checkControlled from '../internal/hooks/check-controlled';
|
|
13
14
|
import useForwardFocus from '../internal/hooks/forward-focus';
|
|
15
|
+
import { useMergeRefs } from '../internal/hooks/use-merge-refs';
|
|
14
16
|
import { useUniqueId } from '../internal/hooks/use-unique-id';
|
|
15
17
|
import { joinStrings } from '../internal/utils/strings';
|
|
16
18
|
import styles from './styles.css.js';
|
|
17
19
|
const InternalFileInput = React.forwardRef((_a, ref) => {
|
|
18
20
|
var _b;
|
|
19
|
-
var { accept, ariaRequired, ariaLabel, multiple = false, value, onChange, variant = 'button', children, __internalRootRef = null } = _a, restProps = __rest(_a, ["accept", "ariaRequired", "ariaLabel", "multiple", "value", "onChange", "variant", "children", "__internalRootRef"]);
|
|
21
|
+
var { accept, ariaRequired, ariaLabel, multiple = false, value, onChange, variant = 'button', children, __internalRootRef = null, __inputClassName, __inputNativeAttributes } = _a, restProps = __rest(_a, ["accept", "ariaRequired", "ariaLabel", "multiple", "value", "onChange", "variant", "children", "__internalRootRef", "__inputClassName", "__inputNativeAttributes"]);
|
|
20
22
|
const baseProps = getBaseProps(restProps);
|
|
21
23
|
const uploadInputRef = useRef(null);
|
|
24
|
+
const containerRef = useRef(null);
|
|
25
|
+
const mergedRef = useMergeRefs(__internalRootRef, containerRef);
|
|
22
26
|
const uploadButtonLabelId = useUniqueId('upload-button-label');
|
|
23
27
|
const formFieldContext = useFormFieldContext(restProps);
|
|
24
28
|
const selfControlId = useUniqueId('upload-input');
|
|
@@ -26,17 +30,17 @@ const InternalFileInput = React.forwardRef((_a, ref) => {
|
|
|
26
30
|
useForwardFocus(ref, uploadInputRef);
|
|
27
31
|
const [isFocused, setIsFocused] = useState(false);
|
|
28
32
|
const onUploadButtonClick = () => { var _a; return (_a = uploadInputRef.current) === null || _a === void 0 ? void 0 : _a.click(); };
|
|
29
|
-
const onUploadInputFocus = () =>
|
|
33
|
+
const onUploadInputFocus = () => {
|
|
34
|
+
var _a, _b;
|
|
35
|
+
setIsFocused(true);
|
|
36
|
+
(_b = (_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.scrollIntoView) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
37
|
+
};
|
|
30
38
|
const onUploadInputBlur = () => setIsFocused(false);
|
|
31
39
|
const onUploadInputChange = ({ target }) => {
|
|
32
40
|
fireNonCancelableEvent(onChange, { value: target.files ? Array.from(target.files) : [] });
|
|
33
41
|
};
|
|
34
42
|
checkControlled('FileInput', 'value', value, 'onChange', onChange);
|
|
35
|
-
const nativeAttributes = {
|
|
36
|
-
'aria-label': ariaLabel || children,
|
|
37
|
-
'aria-labelledby': joinStrings(formFieldContext.ariaLabelledby, uploadButtonLabelId),
|
|
38
|
-
'aria-describedby': formFieldContext.ariaDescribedby,
|
|
39
|
-
};
|
|
43
|
+
const nativeAttributes = Object.assign({ 'aria-label': ariaLabel || children, 'aria-labelledby': joinStrings(formFieldContext.ariaLabelledby, uploadButtonLabelId), 'aria-describedby': formFieldContext.ariaDescribedby }, __inputNativeAttributes);
|
|
40
44
|
if (formFieldContext.invalid) {
|
|
41
45
|
nativeAttributes['aria-invalid'] = true;
|
|
42
46
|
}
|
|
@@ -60,9 +64,13 @@ const InternalFileInput = React.forwardRef((_a, ref) => {
|
|
|
60
64
|
uploadInputRef.current.value = ''; // reset value to allow calling onChange when the same file is uploaded again
|
|
61
65
|
}
|
|
62
66
|
}, [value]);
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
React.createElement(
|
|
67
|
+
const { tabIndex } = useSingleTabStopNavigation(uploadInputRef);
|
|
68
|
+
return (React.createElement("div", Object.assign({}, baseProps, { ref: mergedRef, className: clsx(baseProps.className, styles.root) }),
|
|
69
|
+
React.createElement("input", Object.assign({ id: controlId, ref: uploadInputRef, type: "file", hidden: false, multiple: multiple, accept: accept, onChange: onUploadInputChange, onFocus: onUploadInputFocus, onBlur: onUploadInputBlur, className: clsx(styles['file-input'], styles.hidden, __inputClassName), tabIndex: tabIndex }, nativeAttributes)),
|
|
70
|
+
React.createElement(InternalButton, { iconName: "upload", variant: variant === 'icon' ? 'icon' : undefined, formAction: "none", onClick: onUploadButtonClick, className: clsx(styles['file-input-button'], {
|
|
71
|
+
[styles['force-focus-outline-button']]: isFocused && variant === 'button',
|
|
72
|
+
[styles['force-focus-outline-icon']]: isFocused && variant === 'icon',
|
|
73
|
+
}), __nativeAttributes: { tabIndex: -1, 'aria-hidden': true } }, variant === 'button' && children),
|
|
66
74
|
React.createElement(ScreenreaderOnly, { id: uploadButtonLabelId }, ariaLabel || children)));
|
|
67
75
|
});
|
|
68
76
|
export default InternalFileInput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/file-input/internal.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;;AAEtC,OAAO,KAAK,EAAE,EAAoB,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM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C,CAAC,EAAE,aAAa,EAAE,IAAI,EAAE,IAExD,OAAO,KAAK,QAAQ,IAAI,QAAQ,CAClB;QAGjB,oBAAC,gBAAgB,IAAC,EAAE,EAAE,mBAAmB,IAAG,SAAS,IAAI,QAAQ,CAAoB,CACjF,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,iBAAiB,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport React, { ChangeEvent, Ref, useEffect, useRef, useState } from 'react';\nimport clsx from 'clsx';\n\nimport { warnOnce } from '@cloudscape-design/component-toolkit/internal';\n\nimport InternalButton from '../button/internal';\nimport { useFormFieldContext } from '../contexts/form-field';\nimport { getBaseProps } from '../internal/base-component/index.js';\nimport ScreenreaderOnly from '../internal/components/screenreader-only';\nimport { fireNonCancelableEvent } from '../internal/events';\nimport checkControlled from '../internal/hooks/check-controlled';\nimport useForwardFocus from '../internal/hooks/forward-focus';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component/index.js';\nimport { useUniqueId } from '../internal/hooks/use-unique-id';\nimport { joinStrings } from '../internal/utils/strings';\nimport { FileInputProps } from './interfaces';\n\nimport styles from './styles.css.js';\n\nconst InternalFileInput = React.forwardRef(\n (\n {\n accept,\n ariaRequired,\n ariaLabel,\n multiple = false,\n value,\n onChange,\n variant = 'button',\n children,\n __internalRootRef = null,\n ...restProps\n }: FileInputProps & InternalBaseComponentProps,\n ref: Ref<FileInputProps.Ref>\n ) => {\n const baseProps = getBaseProps(restProps);\n const uploadInputRef = useRef<HTMLInputElement>(null);\n const uploadButtonLabelId = useUniqueId('upload-button-label');\n const formFieldContext = useFormFieldContext(restProps);\n const selfControlId = useUniqueId('upload-input');\n const controlId = formFieldContext.controlId ?? selfControlId;\n\n useForwardFocus(ref, uploadInputRef);\n\n const [isFocused, setIsFocused] = useState(false);\n const onUploadButtonClick = () => uploadInputRef.current?.click();\n const onUploadInputFocus = () => setIsFocused(true);\n const onUploadInputBlur = () => setIsFocused(false);\n\n const onUploadInputChange = ({ target }: ChangeEvent<HTMLInputElement>) => {\n fireNonCancelableEvent(onChange, { value: target.files ? Array.from(target.files) : [] });\n };\n\n checkControlled('FileInput', 'value', value, 'onChange', onChange);\n\n const nativeAttributes: React.HTMLAttributes<HTMLInputElement> = {\n 'aria-label': ariaLabel || children,\n 'aria-labelledby': joinStrings(formFieldContext.ariaLabelledby, uploadButtonLabelId),\n 'aria-describedby': formFieldContext.ariaDescribedby,\n };\n if (formFieldContext.invalid) {\n nativeAttributes['aria-invalid'] = true;\n }\n if (ariaRequired) {\n nativeAttributes['aria-required'] = true;\n }\n\n if (variant === 'icon' && !ariaLabel) {\n warnOnce('FileInput', 'Aria label is required with icon variant.');\n }\n\n // Synchronizing component's value with the native file input state.\n useEffect(() => {\n /* istanbul ignore next: The DataTransfer is not available in jsdom. */\n if (window.DataTransfer) {\n const dataTransfer = new DataTransfer();\n for (const file of value) {\n dataTransfer.items.add(file);\n }\n uploadInputRef.current!.files = dataTransfer.files;\n }\n if (uploadInputRef.current) {\n uploadInputRef.current.value = ''; // reset value to allow calling onChange when the same file is uploaded again\n }\n }, [value]);\n\n return (\n <div {...baseProps} ref={__internalRootRef} className={clsx(baseProps.className, styles.root)}>\n {/* This is the actual interactive and accessible file-upload element. */}\n {/* It is visually hidden to achieve the desired UX design. */}\n <input\n id={controlId}\n ref={uploadInputRef}\n type=\"file\"\n hidden={false}\n multiple={multiple}\n accept={accept}\n onChange={onUploadInputChange}\n onFocus={onUploadInputFocus}\n onBlur={onUploadInputBlur}\n className={clsx(styles['file-input'], styles.hidden)}\n {...nativeAttributes}\n />\n\n {/* The button is decorative. It dispatches clicks to the file input and is ARIA-hidden. */}\n {/* When the input is focused the focus outline is forced on the button. */}\n <InternalButton\n iconName=\"upload\"\n variant={variant === 'icon' ? 'icon' : undefined}\n formAction=\"none\"\n onClick={onUploadButtonClick}\n className={clsx(styles['file-input-button'], isFocused && styles['force-focus-outline'])}\n __nativeAttributes={{ tabIndex: -1, 'aria-hidden': true }}\n >\n {variant === 'button' && children}\n </InternalButton>\n\n {/* The file input needs to be labelled with provided content. Can't use the button because it is ARIA-hidden. */}\n <ScreenreaderOnly id={uploadButtonLabelId}>{ariaLabel || children}</ScreenreaderOnly>\n </div>\n );\n }\n);\n\nexport default InternalFileInput;\n"]}
|
|
1
|
+
{"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/file-input/internal.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;;AAEtC,OAAO,KAAK,EAAE,EAAoB,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC7E,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,QAAQ,EAAE,MAAM,+CAA+C,CAAC;AAEzE,OAAO,cAAc,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,gBAAgB,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAE,0BAA0B,EAAE,MAAM,wDAAwD,CAAC;AACpG,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,eAAe,MAAM,oCAAoC,CAAC;AACjE,OAAO,eAAe,MAAM,iCAAiC,CAAC;AAE9D,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAGxD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAOrC,MAAM,iBAAiB,GAAG,KAAK,CAAC,UAAU,CACxC,CACE,EAauE,EACvE,GAA4B,EAC5B,EAAE;;QAfF,EACE,MAAM,EACN,YAAY,EACZ,SAAS,EACT,QAAQ,GAAG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,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport React, { ChangeEvent, Ref, useEffect, useRef, useState } from 'react';\nimport clsx from 'clsx';\n\nimport { warnOnce } from '@cloudscape-design/component-toolkit/internal';\n\nimport InternalButton from '../button/internal';\nimport { useFormFieldContext } from '../contexts/form-field';\nimport { getBaseProps } from '../internal/base-component/index.js';\nimport ScreenreaderOnly from '../internal/components/screenreader-only';\nimport { useSingleTabStopNavigation } from '../internal/context/single-tab-stop-navigation-context';\nimport { fireNonCancelableEvent } from '../internal/events';\nimport checkControlled from '../internal/hooks/check-controlled';\nimport useForwardFocus from '../internal/hooks/forward-focus';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component/index.js';\nimport { useMergeRefs } from '../internal/hooks/use-merge-refs';\nimport { useUniqueId } from '../internal/hooks/use-unique-id';\nimport { joinStrings } from '../internal/utils/strings';\nimport { FileInputProps } from './interfaces';\n\nimport styles from './styles.css.js';\n\ninterface InternalFileInputProps {\n __inputClassName?: string;\n __inputNativeAttributes?: React.InputHTMLAttributes<HTMLInputElement> | Record<`data-${string}`, string>;\n}\n\nconst InternalFileInput = React.forwardRef(\n (\n {\n accept,\n ariaRequired,\n ariaLabel,\n multiple = false,\n value,\n onChange,\n variant = 'button',\n children,\n __internalRootRef = null,\n __inputClassName,\n __inputNativeAttributes,\n ...restProps\n }: FileInputProps & InternalBaseComponentProps & InternalFileInputProps,\n ref: Ref<FileInputProps.Ref>\n ) => {\n const baseProps = getBaseProps(restProps);\n const uploadInputRef = useRef<HTMLInputElement>(null);\n const containerRef = useRef<HTMLButtonElement>(null);\n const mergedRef = useMergeRefs(__internalRootRef, containerRef);\n\n const uploadButtonLabelId = useUniqueId('upload-button-label');\n const formFieldContext = useFormFieldContext(restProps);\n const selfControlId = useUniqueId('upload-input');\n const controlId = formFieldContext.controlId ?? selfControlId;\n\n useForwardFocus(ref, uploadInputRef);\n\n const [isFocused, setIsFocused] = useState(false);\n const onUploadButtonClick = () => uploadInputRef.current?.click();\n const onUploadInputFocus = () => {\n setIsFocused(true);\n containerRef.current?.scrollIntoView?.();\n };\n const onUploadInputBlur = () => setIsFocused(false);\n\n const onUploadInputChange = ({ target }: ChangeEvent<HTMLInputElement>) => {\n fireNonCancelableEvent(onChange, { value: target.files ? Array.from(target.files) : [] });\n };\n\n checkControlled('FileInput', 'value', value, 'onChange', onChange);\n\n const nativeAttributes: React.HTMLAttributes<HTMLInputElement> = {\n 'aria-label': ariaLabel || children,\n 'aria-labelledby': joinStrings(formFieldContext.ariaLabelledby, uploadButtonLabelId),\n 'aria-describedby': formFieldContext.ariaDescribedby,\n ...__inputNativeAttributes,\n };\n if (formFieldContext.invalid) {\n nativeAttributes['aria-invalid'] = true;\n }\n if (ariaRequired) {\n nativeAttributes['aria-required'] = true;\n }\n\n if (variant === 'icon' && !ariaLabel) {\n warnOnce('FileInput', 'Aria label is required with icon variant.');\n }\n\n // Synchronizing component's value with the native file input state.\n useEffect(() => {\n /* istanbul ignore next: The DataTransfer is not available in jsdom. */\n if (window.DataTransfer) {\n const dataTransfer = new DataTransfer();\n for (const file of value) {\n dataTransfer.items.add(file);\n }\n uploadInputRef.current!.files = dataTransfer.files;\n }\n if (uploadInputRef.current) {\n uploadInputRef.current.value = ''; // reset value to allow calling onChange when the same file is uploaded again\n }\n }, [value]);\n\n const { tabIndex } = useSingleTabStopNavigation(uploadInputRef);\n\n return (\n <div {...baseProps} ref={mergedRef} className={clsx(baseProps.className, styles.root)}>\n {/* This is the actual interactive and accessible file-upload element. */}\n {/* It is visually hidden to achieve the desired UX design. */}\n <input\n id={controlId}\n ref={uploadInputRef}\n type=\"file\"\n hidden={false}\n multiple={multiple}\n accept={accept}\n onChange={onUploadInputChange}\n onFocus={onUploadInputFocus}\n onBlur={onUploadInputBlur}\n className={clsx(styles['file-input'], styles.hidden, __inputClassName)}\n tabIndex={tabIndex}\n {...nativeAttributes}\n />\n\n {/* The button is decorative. It dispatches clicks to the file input and is ARIA-hidden. */}\n {/* When the input is focused the focus outline is forced on the button. */}\n <InternalButton\n iconName=\"upload\"\n variant={variant === 'icon' ? 'icon' : undefined}\n formAction=\"none\"\n onClick={onUploadButtonClick}\n className={clsx(styles['file-input-button'], {\n [styles['force-focus-outline-button']]: isFocused && variant === 'button',\n [styles['force-focus-outline-icon']]: isFocused && variant === 'icon',\n })}\n __nativeAttributes={{ tabIndex: -1, 'aria-hidden': true }}\n >\n {variant === 'button' && children}\n </InternalButton>\n\n {/* The file input needs to be labelled with provided content. Can't use the button because it is ARIA-hidden. */}\n <ScreenreaderOnly id={uploadButtonLabelId}>{ariaLabel || children}</ScreenreaderOnly>\n </div>\n );\n }\n);\n\nexport default InternalFileInput;\n"]}
|
package/file-input/styles.css.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"file-input": "awsui_file-
|
|
6
|
-
"hidden": "
|
|
7
|
-
"file-input-button": "awsui_file-input-
|
|
8
|
-
"force-focus-outline": "awsui_force-focus-
|
|
4
|
+
"root": "awsui_root_1wp4s_4b9xd_185",
|
|
5
|
+
"file-input": "awsui_file-input_1wp4s_4b9xd_186",
|
|
6
|
+
"hidden": "awsui_hidden_1wp4s_4b9xd_190",
|
|
7
|
+
"file-input-button": "awsui_file-input-button_1wp4s_4b9xd_196",
|
|
8
|
+
"force-focus-outline-icon": "awsui_force-focus-outline-icon_1wp4s_4b9xd_196",
|
|
9
|
+
"force-focus-outline-button": "awsui_force-focus-outline-button_1wp4s_4b9xd_217"
|
|
9
10
|
};
|
|
10
11
|
|
|
@@ -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
|
|
@@ -178,25 +182,46 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
178
182
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
179
183
|
SPDX-License-Identifier: Apache-2.0
|
|
180
184
|
*/
|
|
181
|
-
.
|
|
182
|
-
.awsui_file-
|
|
185
|
+
.awsui_root_1wp4s_4b9xd_185:not(#\9),
|
|
186
|
+
.awsui_file-input_1wp4s_4b9xd_186:not(#\9) {
|
|
183
187
|
/* used in test-utils */
|
|
184
188
|
}
|
|
185
189
|
|
|
186
|
-
.
|
|
190
|
+
.awsui_hidden_1wp4s_4b9xd_190:not(#\9) {
|
|
187
191
|
position: absolute !important;
|
|
188
192
|
inset-block-start: -9999px !important;
|
|
189
193
|
inset-inline-start: -9999px !important;
|
|
190
194
|
}
|
|
191
195
|
|
|
192
|
-
body[data-awsui-focus-visible=true] .awsui_file-input-
|
|
196
|
+
body[data-awsui-focus-visible=true] .awsui_file-input-button_1wp4s_4b9xd_196.awsui_force-focus-outline-icon_1wp4s_4b9xd_196:not(#\9) {
|
|
197
|
+
position: relative;
|
|
198
|
+
}
|
|
199
|
+
body[data-awsui-focus-visible=true] .awsui_file-input-button_1wp4s_4b9xd_196.awsui_force-focus-outline-icon_1wp4s_4b9xd_196:not(#\9) {
|
|
200
|
+
outline: 2px dotted transparent;
|
|
201
|
+
outline-offset: calc(var(--space-button-focus-outline-gutter-cqfd0c, 4px) - 1px);
|
|
202
|
+
}
|
|
203
|
+
body[data-awsui-focus-visible=true] .awsui_file-input-button_1wp4s_4b9xd_196.awsui_force-focus-outline-icon_1wp4s_4b9xd_196:not(#\9)::before {
|
|
204
|
+
content: " ";
|
|
205
|
+
display: block;
|
|
206
|
+
position: absolute;
|
|
207
|
+
inset-inline-start: calc(-1 * var(--space-button-focus-outline-gutter-cqfd0c, 4px));
|
|
208
|
+
inset-block-start: calc(-1 * var(--space-button-icon-focus-outline-gutter-vertical-zgqy8m, 0px));
|
|
209
|
+
inline-size: calc(100% + var(--space-button-focus-outline-gutter-cqfd0c, 4px) + var(--space-button-focus-outline-gutter-cqfd0c, 4px));
|
|
210
|
+
block-size: calc(100% + var(--space-button-icon-focus-outline-gutter-vertical-zgqy8m, 0px) + var(--space-button-icon-focus-outline-gutter-vertical-zgqy8m, 0px));
|
|
211
|
+
border-start-start-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
212
|
+
border-start-end-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
213
|
+
border-end-start-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
214
|
+
border-end-end-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
215
|
+
box-shadow: 0 0 0 2px var(--color-border-item-focused-nv6mhz, #006ce0);
|
|
216
|
+
}
|
|
217
|
+
body[data-awsui-focus-visible=true] .awsui_file-input-button_1wp4s_4b9xd_196.awsui_force-focus-outline-button_1wp4s_4b9xd_217:not(#\9) {
|
|
193
218
|
position: relative;
|
|
194
219
|
}
|
|
195
|
-
body[data-awsui-focus-visible=true] .awsui_file-input-
|
|
220
|
+
body[data-awsui-focus-visible=true] .awsui_file-input-button_1wp4s_4b9xd_196.awsui_force-focus-outline-button_1wp4s_4b9xd_217:not(#\9) {
|
|
196
221
|
outline: 2px dotted transparent;
|
|
197
222
|
outline-offset: calc(var(--space-button-focus-outline-gutter-cqfd0c, 4px) - 1px);
|
|
198
223
|
}
|
|
199
|
-
body[data-awsui-focus-visible=true] .awsui_file-input-
|
|
224
|
+
body[data-awsui-focus-visible=true] .awsui_file-input-button_1wp4s_4b9xd_196.awsui_force-focus-outline-button_1wp4s_4b9xd_217:not(#\9)::before {
|
|
200
225
|
content: " ";
|
|
201
226
|
display: block;
|
|
202
227
|
position: absolute;
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"root": "
|
|
6
|
-
"file-input": "awsui_file-
|
|
7
|
-
"hidden": "
|
|
8
|
-
"file-input-button": "awsui_file-input-
|
|
9
|
-
"force-focus-outline": "awsui_force-focus-
|
|
5
|
+
"root": "awsui_root_1wp4s_4b9xd_185",
|
|
6
|
+
"file-input": "awsui_file-input_1wp4s_4b9xd_186",
|
|
7
|
+
"hidden": "awsui_hidden_1wp4s_4b9xd_190",
|
|
8
|
+
"file-input-button": "awsui_file-input-button_1wp4s_4b9xd_196",
|
|
9
|
+
"force-focus-outline-icon": "awsui_force-focus-outline-icon_1wp4s_4b9xd_196",
|
|
10
|
+
"force-focus-outline-button": "awsui_force-focus-outline-button_1wp4s_4b9xd_217"
|
|
10
11
|
};
|
|
11
12
|
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"file-loading-overlay": "awsui_file-loading-
|
|
6
|
-
"file-loading-overlay-single-row": "awsui_file-loading-overlay-single-
|
|
7
|
-
"file-option-name": "awsui_file-option-
|
|
8
|
-
"file-option-size": "awsui_file-option-
|
|
9
|
-
"file-option-last-modified": "awsui_file-option-last-
|
|
10
|
-
"file-option": "awsui_file-
|
|
11
|
-
"file-option-thumbnail": "awsui_file-option-
|
|
12
|
-
"file-option-thumbnail-image": "awsui_file-option-thumbnail-
|
|
13
|
-
"file-option-metadata": "awsui_file-option-
|
|
14
|
-
"with-image": "awsui_with-
|
|
15
|
-
"single-row-loading": "awsui_single-row-
|
|
16
|
-
"token": "
|
|
17
|
-
"token-grid": "awsui_token-
|
|
18
|
-
"token-contains-image": "awsui_token-contains-
|
|
19
|
-
"token-box": "awsui_token-
|
|
20
|
-
"horizontal": "
|
|
21
|
-
"error": "
|
|
22
|
-
"dismiss-button": "awsui_dismiss-
|
|
23
|
-
"warning": "
|
|
24
|
-
"read-only": "awsui_read-
|
|
25
|
-
"loading": "
|
|
4
|
+
"root": "awsui_root_39ths_t73m5_209",
|
|
5
|
+
"file-loading-overlay": "awsui_file-loading-overlay_39ths_t73m5_241",
|
|
6
|
+
"file-loading-overlay-single-row": "awsui_file-loading-overlay-single-row_39ths_t73m5_246",
|
|
7
|
+
"file-option-name": "awsui_file-option-name_39ths_t73m5_250",
|
|
8
|
+
"file-option-size": "awsui_file-option-size_39ths_t73m5_251",
|
|
9
|
+
"file-option-last-modified": "awsui_file-option-last-modified_39ths_t73m5_252",
|
|
10
|
+
"file-option": "awsui_file-option_39ths_t73m5_250",
|
|
11
|
+
"file-option-thumbnail": "awsui_file-option-thumbnail_39ths_t73m5_265",
|
|
12
|
+
"file-option-thumbnail-image": "awsui_file-option-thumbnail-image_39ths_t73m5_269",
|
|
13
|
+
"file-option-metadata": "awsui_file-option-metadata_39ths_t73m5_282",
|
|
14
|
+
"with-image": "awsui_with-image_39ths_t73m5_285",
|
|
15
|
+
"single-row-loading": "awsui_single-row-loading_39ths_t73m5_288",
|
|
16
|
+
"token": "awsui_token_39ths_t73m5_292",
|
|
17
|
+
"token-grid": "awsui_token-grid_39ths_t73m5_299",
|
|
18
|
+
"token-contains-image": "awsui_token-contains-image_39ths_t73m5_308",
|
|
19
|
+
"token-box": "awsui_token-box_39ths_t73m5_312",
|
|
20
|
+
"horizontal": "awsui_horizontal_39ths_t73m5_331",
|
|
21
|
+
"error": "awsui_error_39ths_t73m5_339",
|
|
22
|
+
"dismiss-button": "awsui_dismiss-button_39ths_t73m5_343",
|
|
23
|
+
"warning": "awsui_warning_39ths_t73m5_349",
|
|
24
|
+
"read-only": "awsui_read-only_39ths_t73m5_359",
|
|
25
|
+
"loading": "awsui_loading_39ths_t73m5_372"
|
|
26
26
|
};
|
|
27
27
|
|
|
@@ -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
|
|
@@ -202,7 +206,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
202
206
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
203
207
|
SPDX-License-Identifier: Apache-2.0
|
|
204
208
|
*/
|
|
205
|
-
.
|
|
209
|
+
.awsui_root_39ths_t73m5_209:not(#\9) {
|
|
206
210
|
border-collapse: separate;
|
|
207
211
|
border-spacing: 0;
|
|
208
212
|
box-sizing: border-box;
|
|
@@ -235,35 +239,35 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
235
239
|
-moz-osx-font-smoothing: auto;
|
|
236
240
|
}
|
|
237
241
|
|
|
238
|
-
.awsui_file-loading-
|
|
242
|
+
.awsui_file-loading-overlay_39ths_t73m5_241:not(#\9) {
|
|
239
243
|
position: absolute;
|
|
240
244
|
inset-inline-end: var(--space-static-xs-7sfb63, 8px);
|
|
241
245
|
inset-block-end: var(--space-static-xxs-82cdfi, 4px);
|
|
242
246
|
}
|
|
243
|
-
.awsui_file-loading-overlay-single-
|
|
247
|
+
.awsui_file-loading-overlay-single-row_39ths_t73m5_246:not(#\9) {
|
|
244
248
|
inset-inline-end: var(--space-static-xxl-02zgl2, 32px);
|
|
245
249
|
}
|
|
246
250
|
|
|
247
|
-
.awsui_file-option-
|
|
248
|
-
.awsui_file-option-
|
|
249
|
-
.awsui_file-option-last-
|
|
251
|
+
.awsui_file-option-name_39ths_t73m5_250:not(#\9),
|
|
252
|
+
.awsui_file-option-size_39ths_t73m5_251:not(#\9),
|
|
253
|
+
.awsui_file-option-last-modified_39ths_t73m5_252:not(#\9) {
|
|
250
254
|
text-overflow: ellipsis;
|
|
251
255
|
overflow: hidden;
|
|
252
256
|
white-space: nowrap;
|
|
253
257
|
}
|
|
254
258
|
|
|
255
|
-
.awsui_file-
|
|
259
|
+
.awsui_file-option_39ths_t73m5_250:not(#\9) {
|
|
256
260
|
inline-size: 100%;
|
|
257
261
|
min-inline-size: 0;
|
|
258
262
|
display: flex;
|
|
259
263
|
gap: var(--space-scaled-xs-26e2du, 8px);
|
|
260
264
|
}
|
|
261
265
|
|
|
262
|
-
.awsui_file-option-
|
|
266
|
+
.awsui_file-option-thumbnail_39ths_t73m5_265:not(#\9) {
|
|
263
267
|
margin-block-start: var(--space-static-xxs-82cdfi, 4px);
|
|
264
268
|
}
|
|
265
269
|
|
|
266
|
-
.awsui_file-option-thumbnail-
|
|
270
|
+
.awsui_file-option-thumbnail-image_39ths_t73m5_269:not(#\9) {
|
|
267
271
|
font-size: var(--font-size-body-s-asqx2i, 12px);
|
|
268
272
|
line-height: var(--line-height-body-s-7zv1j5, 16px);
|
|
269
273
|
letter-spacing: var(--letter-spacing-body-s-z9jkwp, 0.005em);
|
|
@@ -276,37 +280,37 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
276
280
|
overflow: hidden;
|
|
277
281
|
}
|
|
278
282
|
|
|
279
|
-
.awsui_file-option-
|
|
283
|
+
.awsui_file-option-metadata_39ths_t73m5_282:not(#\9) {
|
|
280
284
|
inline-size: 100%;
|
|
281
285
|
}
|
|
282
|
-
.awsui_file-option-
|
|
286
|
+
.awsui_file-option-metadata_39ths_t73m5_282.awsui_with-image_39ths_t73m5_285:not(#\9) {
|
|
283
287
|
inline-size: calc(100% - 48px);
|
|
284
288
|
}
|
|
285
|
-
.awsui_file-option-
|
|
289
|
+
.awsui_file-option-metadata_39ths_t73m5_282.awsui_single-row-loading_39ths_t73m5_288:not(#\9) {
|
|
286
290
|
inline-size: calc(100% - var(--size-icon-normal-0m1722, 16px));
|
|
287
291
|
}
|
|
288
292
|
|
|
289
|
-
.
|
|
293
|
+
.awsui_token_39ths_t73m5_292:not(#\9) {
|
|
290
294
|
position: relative;
|
|
291
295
|
block-size: 100%;
|
|
292
296
|
display: flex;
|
|
293
297
|
flex-direction: column;
|
|
294
298
|
gap: var(--space-xxs-p8yyaw, 4px);
|
|
295
299
|
}
|
|
296
|
-
.awsui_token-
|
|
300
|
+
.awsui_token-grid_39ths_t73m5_299:not(#\9) {
|
|
297
301
|
display: grid;
|
|
298
302
|
grid-template-rows: max-content auto;
|
|
299
303
|
}
|
|
300
304
|
@media (max-width: 688px) {
|
|
301
|
-
.awsui_token-
|
|
305
|
+
.awsui_token-grid_39ths_t73m5_299:not(#\9) {
|
|
302
306
|
display: flex;
|
|
303
307
|
}
|
|
304
308
|
}
|
|
305
|
-
.awsui_token-contains-
|
|
309
|
+
.awsui_token-contains-image_39ths_t73m5_308:not(#\9) {
|
|
306
310
|
grid-template-rows: 68px auto;
|
|
307
311
|
}
|
|
308
312
|
|
|
309
|
-
.awsui_token-
|
|
313
|
+
.awsui_token-box_39ths_t73m5_312:not(#\9) {
|
|
310
314
|
position: relative;
|
|
311
315
|
block-size: 100%;
|
|
312
316
|
border-block: var(--border-width-field-h1g7tw, 2px) solid var(--color-border-item-selected-m769ej, #006ce0);
|
|
@@ -325,48 +329,48 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
325
329
|
color: var(--color-text-body-default-7v1jfn, #0f141a);
|
|
326
330
|
box-sizing: border-box;
|
|
327
331
|
}
|
|
328
|
-
.awsui_token-
|
|
332
|
+
.awsui_token-box_39ths_t73m5_312.awsui_horizontal_39ths_t73m5_331:not(#\9) {
|
|
329
333
|
max-inline-size: 230px;
|
|
330
334
|
}
|
|
331
335
|
@media (max-width: 688px) {
|
|
332
|
-
.awsui_token-
|
|
336
|
+
.awsui_token-box_39ths_t73m5_312.awsui_horizontal_39ths_t73m5_331:not(#\9) {
|
|
333
337
|
max-inline-size: 100%;
|
|
334
338
|
}
|
|
335
339
|
}
|
|
336
|
-
.awsui_token-
|
|
340
|
+
.awsui_token-box_39ths_t73m5_312.awsui_error_39ths_t73m5_339:not(#\9) {
|
|
337
341
|
border-color: var(--color-border-status-error-adxa56, #db0000);
|
|
338
342
|
border-inline-start-width: var(--border-invalid-width-5ktjp2, 8px);
|
|
339
343
|
}
|
|
340
|
-
.awsui_token-
|
|
344
|
+
.awsui_token-box_39ths_t73m5_312.awsui_error_39ths_t73m5_339 > .awsui_dismiss-button_39ths_t73m5_343:not(#\9) {
|
|
341
345
|
color: var(--color-text-interactive-default-tkx8fe, #424650);
|
|
342
346
|
}
|
|
343
|
-
.awsui_token-
|
|
347
|
+
.awsui_token-box_39ths_t73m5_312.awsui_error_39ths_t73m5_339 > .awsui_dismiss-button_39ths_t73m5_343:not(#\9):hover {
|
|
344
348
|
color: var(--color-text-interactive-hover-f9gqs8, #0f141a);
|
|
345
349
|
}
|
|
346
|
-
.awsui_token-
|
|
350
|
+
.awsui_token-box_39ths_t73m5_312.awsui_warning_39ths_t73m5_349:not(#\9) {
|
|
347
351
|
border-color: var(--color-border-status-warning-3feumr, #855900);
|
|
348
352
|
border-inline-start-width: var(--border-invalid-width-5ktjp2, 8px);
|
|
349
353
|
}
|
|
350
|
-
.awsui_token-
|
|
354
|
+
.awsui_token-box_39ths_t73m5_312.awsui_warning_39ths_t73m5_349 > .awsui_dismiss-button_39ths_t73m5_343:not(#\9) {
|
|
351
355
|
color: var(--color-text-interactive-default-tkx8fe, #424650);
|
|
352
356
|
}
|
|
353
|
-
.awsui_token-
|
|
357
|
+
.awsui_token-box_39ths_t73m5_312.awsui_warning_39ths_t73m5_349 > .awsui_dismiss-button_39ths_t73m5_343:not(#\9):hover {
|
|
354
358
|
color: var(--color-text-interactive-hover-f9gqs8, #0f141a);
|
|
355
359
|
}
|
|
356
|
-
.awsui_token-
|
|
360
|
+
.awsui_token-box_39ths_t73m5_312.awsui_read-only_39ths_t73m5_359:not(#\9) {
|
|
357
361
|
border-color: var(--color-border-input-disabled-lb7zn3, #ebebf0);
|
|
358
362
|
background-color: var(--color-background-container-content-z79u4u, #ffffff);
|
|
359
363
|
pointer-events: none;
|
|
360
364
|
}
|
|
361
|
-
.awsui_token-
|
|
365
|
+
.awsui_token-box_39ths_t73m5_312.awsui_read-only_39ths_t73m5_359 > .awsui_dismiss-button_39ths_t73m5_343:not(#\9) {
|
|
362
366
|
color: var(--color-text-button-inline-icon-disabled-yk9lvs, #b4b4bb);
|
|
363
367
|
}
|
|
364
|
-
.awsui_token-
|
|
368
|
+
.awsui_token-box_39ths_t73m5_312.awsui_read-only_39ths_t73m5_359 > .awsui_dismiss-button_39ths_t73m5_343:not(#\9):hover {
|
|
365
369
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
366
370
|
cursor: initial;
|
|
367
371
|
color: var(--color-text-button-inline-icon-disabled-yk9lvs, #b4b4bb);
|
|
368
372
|
}
|
|
369
|
-
.awsui_token-
|
|
373
|
+
.awsui_token-box_39ths_t73m5_312.awsui_loading_39ths_t73m5_372:not(#\9) {
|
|
370
374
|
border-color: var(--color-border-control-disabled-qc5csz, #dedee3);
|
|
371
375
|
background-color: var(--color-background-container-content-z79u4u, #ffffff);
|
|
372
376
|
}
|
|
@@ -2,27 +2,27 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"root": "
|
|
6
|
-
"file-loading-overlay": "awsui_file-loading-
|
|
7
|
-
"file-loading-overlay-single-row": "awsui_file-loading-overlay-single-
|
|
8
|
-
"file-option-name": "awsui_file-option-
|
|
9
|
-
"file-option-size": "awsui_file-option-
|
|
10
|
-
"file-option-last-modified": "awsui_file-option-last-
|
|
11
|
-
"file-option": "awsui_file-
|
|
12
|
-
"file-option-thumbnail": "awsui_file-option-
|
|
13
|
-
"file-option-thumbnail-image": "awsui_file-option-thumbnail-
|
|
14
|
-
"file-option-metadata": "awsui_file-option-
|
|
15
|
-
"with-image": "awsui_with-
|
|
16
|
-
"single-row-loading": "awsui_single-row-
|
|
17
|
-
"token": "
|
|
18
|
-
"token-grid": "awsui_token-
|
|
19
|
-
"token-contains-image": "awsui_token-contains-
|
|
20
|
-
"token-box": "awsui_token-
|
|
21
|
-
"horizontal": "
|
|
22
|
-
"error": "
|
|
23
|
-
"dismiss-button": "awsui_dismiss-
|
|
24
|
-
"warning": "
|
|
25
|
-
"read-only": "awsui_read-
|
|
26
|
-
"loading": "
|
|
5
|
+
"root": "awsui_root_39ths_t73m5_209",
|
|
6
|
+
"file-loading-overlay": "awsui_file-loading-overlay_39ths_t73m5_241",
|
|
7
|
+
"file-loading-overlay-single-row": "awsui_file-loading-overlay-single-row_39ths_t73m5_246",
|
|
8
|
+
"file-option-name": "awsui_file-option-name_39ths_t73m5_250",
|
|
9
|
+
"file-option-size": "awsui_file-option-size_39ths_t73m5_251",
|
|
10
|
+
"file-option-last-modified": "awsui_file-option-last-modified_39ths_t73m5_252",
|
|
11
|
+
"file-option": "awsui_file-option_39ths_t73m5_250",
|
|
12
|
+
"file-option-thumbnail": "awsui_file-option-thumbnail_39ths_t73m5_265",
|
|
13
|
+
"file-option-thumbnail-image": "awsui_file-option-thumbnail-image_39ths_t73m5_269",
|
|
14
|
+
"file-option-metadata": "awsui_file-option-metadata_39ths_t73m5_282",
|
|
15
|
+
"with-image": "awsui_with-image_39ths_t73m5_285",
|
|
16
|
+
"single-row-loading": "awsui_single-row-loading_39ths_t73m5_288",
|
|
17
|
+
"token": "awsui_token_39ths_t73m5_292",
|
|
18
|
+
"token-grid": "awsui_token-grid_39ths_t73m5_299",
|
|
19
|
+
"token-contains-image": "awsui_token-contains-image_39ths_t73m5_308",
|
|
20
|
+
"token-box": "awsui_token-box_39ths_t73m5_312",
|
|
21
|
+
"horizontal": "awsui_horizontal_39ths_t73m5_331",
|
|
22
|
+
"error": "awsui_error_39ths_t73m5_339",
|
|
23
|
+
"dismiss-button": "awsui_dismiss-button_39ths_t73m5_343",
|
|
24
|
+
"warning": "awsui_warning_39ths_t73m5_349",
|
|
25
|
+
"read-only": "awsui_read-only_39ths_t73m5_359",
|
|
26
|
+
"loading": "awsui_loading_39ths_t73m5_372"
|
|
27
27
|
};
|
|
28
28
|
|
package/flashbar/styles.css.js
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"flash-with-motion": "awsui_flash-with-
|
|
5
|
-
"enter": "
|
|
6
|
-
"flash-body": "awsui_flash-
|
|
7
|
-
"flash-message": "awsui_flash-
|
|
8
|
-
"flash-header": "awsui_flash-
|
|
9
|
-
"flash-content": "awsui_flash-
|
|
10
|
-
"action-button-wrapper": "awsui_action-button-
|
|
11
|
-
"dismiss-button-wrapper": "awsui_dismiss-button-
|
|
12
|
-
"flash-icon": "awsui_flash-
|
|
13
|
-
"entering": "
|
|
14
|
-
"entered": "
|
|
15
|
-
"exiting": "
|
|
16
|
-
"stack": "
|
|
17
|
-
"animation-running": "awsui_animation-
|
|
18
|
-
"item": "
|
|
19
|
-
"flash-list-item": "awsui_flash-list-
|
|
20
|
-
"notification-bar": "awsui_notification-
|
|
21
|
-
"collapsed": "
|
|
22
|
-
"animation-ready": "awsui_animation-
|
|
23
|
-
"expanded-only": "awsui_expanded-
|
|
24
|
-
"expanded": "
|
|
25
|
-
"flash": "
|
|
26
|
-
"collapsible": "
|
|
27
|
-
"short-list": "awsui_short-
|
|
28
|
-
"visual-refresh": "awsui_visual-
|
|
29
|
-
"status": "
|
|
30
|
-
"header": "
|
|
31
|
-
"item-count": "awsui_item-
|
|
32
|
-
"button": "
|
|
33
|
-
"type-count": "awsui_type-
|
|
34
|
-
"count-number": "awsui_count-
|
|
35
|
-
"icon": "
|
|
36
|
-
"floating": "
|
|
37
|
-
"flashbar": "
|
|
38
|
-
"initial-hidden": "awsui_initial-
|
|
39
|
-
"flash-list": "awsui_flash-
|
|
40
|
-
"flash-focus-container": "awsui_flash-focus-
|
|
41
|
-
"flash-text": "awsui_flash-
|
|
42
|
-
"hidden": "
|
|
43
|
-
"header-replacement": "awsui_header-
|
|
44
|
-
"content-replacement": "awsui_content-
|
|
45
|
-
"dismiss-button": "awsui_dismiss-
|
|
46
|
-
"breakpoint-default": "awsui_breakpoint-
|
|
47
|
-
"action-button": "awsui_action-
|
|
48
|
-
"action-slot": "awsui_action-
|
|
49
|
-
"flash-type-success": "awsui_flash-type-
|
|
50
|
-
"flash-type-error": "awsui_flash-type-
|
|
51
|
-
"flash-type-info": "awsui_flash-type-
|
|
52
|
-
"flash-type-in-progress": "awsui_flash-type-in-
|
|
53
|
-
"flash-type-warning": "awsui_flash-type-
|
|
4
|
+
"flash-with-motion": "awsui_flash-with-motion_1q84n_ld8k0_157",
|
|
5
|
+
"enter": "awsui_enter_1q84n_ld8k0_157",
|
|
6
|
+
"flash-body": "awsui_flash-body_1q84n_ld8k0_171",
|
|
7
|
+
"flash-message": "awsui_flash-message_1q84n_ld8k0_171",
|
|
8
|
+
"flash-header": "awsui_flash-header_1q84n_ld8k0_171",
|
|
9
|
+
"flash-content": "awsui_flash-content_1q84n_ld8k0_172",
|
|
10
|
+
"action-button-wrapper": "awsui_action-button-wrapper_1q84n_ld8k0_173",
|
|
11
|
+
"dismiss-button-wrapper": "awsui_dismiss-button-wrapper_1q84n_ld8k0_174",
|
|
12
|
+
"flash-icon": "awsui_flash-icon_1q84n_ld8k0_197",
|
|
13
|
+
"entering": "awsui_entering_1q84n_ld8k0_210",
|
|
14
|
+
"entered": "awsui_entered_1q84n_ld8k0_231",
|
|
15
|
+
"exiting": "awsui_exiting_1q84n_ld8k0_336",
|
|
16
|
+
"stack": "awsui_stack_1q84n_ld8k0_370",
|
|
17
|
+
"animation-running": "awsui_animation-running_1q84n_ld8k0_370",
|
|
18
|
+
"item": "awsui_item_1q84n_ld8k0_370",
|
|
19
|
+
"flash-list-item": "awsui_flash-list-item_1q84n_ld8k0_371",
|
|
20
|
+
"notification-bar": "awsui_notification-bar_1q84n_ld8k0_372",
|
|
21
|
+
"collapsed": "awsui_collapsed_1q84n_ld8k0_392",
|
|
22
|
+
"animation-ready": "awsui_animation-ready_1q84n_ld8k0_392",
|
|
23
|
+
"expanded-only": "awsui_expanded-only_1q84n_ld8k0_392",
|
|
24
|
+
"expanded": "awsui_expanded_1q84n_ld8k0_392",
|
|
25
|
+
"flash": "awsui_flash_1q84n_ld8k0_157",
|
|
26
|
+
"collapsible": "awsui_collapsible_1q84n_ld8k0_448",
|
|
27
|
+
"short-list": "awsui_short-list_1q84n_ld8k0_454",
|
|
28
|
+
"visual-refresh": "awsui_visual-refresh_1q84n_ld8k0_454",
|
|
29
|
+
"status": "awsui_status_1q84n_ld8k0_601",
|
|
30
|
+
"header": "awsui_header_1q84n_ld8k0_601",
|
|
31
|
+
"item-count": "awsui_item-count_1q84n_ld8k0_602",
|
|
32
|
+
"button": "awsui_button_1q84n_ld8k0_603",
|
|
33
|
+
"type-count": "awsui_type-count_1q84n_ld8k0_636",
|
|
34
|
+
"count-number": "awsui_count-number_1q84n_ld8k0_636",
|
|
35
|
+
"icon": "awsui_icon_1q84n_ld8k0_670",
|
|
36
|
+
"floating": "awsui_floating_1q84n_ld8k0_711",
|
|
37
|
+
"flashbar": "awsui_flashbar_1q84n_ld8k0_715",
|
|
38
|
+
"initial-hidden": "awsui_initial-hidden_1q84n_ld8k0_773",
|
|
39
|
+
"flash-list": "awsui_flash-list_1q84n_ld8k0_371",
|
|
40
|
+
"flash-focus-container": "awsui_flash-focus-container_1q84n_ld8k0_795",
|
|
41
|
+
"flash-text": "awsui_flash-text_1q84n_ld8k0_825",
|
|
42
|
+
"hidden": "awsui_hidden_1q84n_ld8k0_844",
|
|
43
|
+
"header-replacement": "awsui_header-replacement_1q84n_ld8k0_849",
|
|
44
|
+
"content-replacement": "awsui_content-replacement_1q84n_ld8k0_854",
|
|
45
|
+
"dismiss-button": "awsui_dismiss-button_1q84n_ld8k0_174",
|
|
46
|
+
"breakpoint-default": "awsui_breakpoint-default_1q84n_ld8k0_873",
|
|
47
|
+
"action-button": "awsui_action-button_1q84n_ld8k0_173",
|
|
48
|
+
"action-slot": "awsui_action-slot_1q84n_ld8k0_883",
|
|
49
|
+
"flash-type-success": "awsui_flash-type-success_1q84n_ld8k0_887",
|
|
50
|
+
"flash-type-error": "awsui_flash-type-error_1q84n_ld8k0_891",
|
|
51
|
+
"flash-type-info": "awsui_flash-type-info_1q84n_ld8k0_895",
|
|
52
|
+
"flash-type-in-progress": "awsui_flash-type-in-progress_1q84n_ld8k0_896",
|
|
53
|
+
"flash-type-warning": "awsui_flash-type-warning_1q84n_ld8k0_900"
|
|
54
54
|
};
|
|
55
55
|
|