@cloudscape-design/components-themeable 3.0.1398 → 3.0.1399
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/lib/internal/manifest.json +1 -1
- package/lib/internal/scss/alert/styles.scss +6 -4
- package/lib/internal/scss/button-dropdown/styles.scss +5 -0
- package/lib/internal/scss/button-dropdown/test-classes/styles.scss +12 -0
- package/lib/internal/scss/button-group/styles.scss +11 -2
- package/lib/internal/scss/container/styles.scss +84 -11
- package/lib/internal/scss/copy-to-clipboard/styles.scss +4 -0
- package/lib/internal/scss/date-input/styles.scss +4 -0
- package/lib/internal/scss/divider/styles.scss +11 -3
- package/lib/internal/scss/dropdown/styles.scss +1 -1
- package/lib/internal/scss/expandable-section/styles.scss +32 -0
- package/lib/internal/scss/file-input/styles.scss +3 -8
- package/lib/internal/scss/header/styles.scss +22 -0
- package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +178 -176
- package/lib/internal/scss/internal/styles/forms/mixins.scss +31 -4
- package/lib/internal/scss/internal/styles/style-api.scss +1 -1
- package/lib/internal/scss/popover/arrow.scss +15 -3
- package/lib/internal/scss/popover/style-api.scss +8 -0
- package/lib/internal/scss/popover/styles.scss +8 -0
- package/lib/internal/scss/progress-bar/styles.scss +52 -19
- package/lib/internal/scss/slider/mixins.scss +79 -40
- package/lib/internal/scss/slider/styles.scss +97 -71
- package/lib/internal/scss/tabs/motion.scss +22 -0
- package/lib/internal/scss/tabs/styles.scss +1 -0
- package/lib/internal/scss/tabs/tab-header-bar.scss +42 -20
- package/lib/internal/scss/text-filter/styles.scss +11 -0
- package/lib/internal/scss/time-input/styles.scss +4 -0
- package/lib/internal/scss/toggle-button/styles.scss +3 -0
- package/lib/internal/scss/token/styles.scss +28 -37
- package/lib/internal/scss/tooltip/styles.scss +5 -0
- package/lib/internal/template/alert/styles.css.js +27 -27
- package/lib/internal/template/alert/styles.scoped.css +55 -53
- package/lib/internal/template/alert/styles.selectors.js +27 -27
- package/lib/internal/template/annotation-context/annotation/styles.css.js +13 -13
- package/lib/internal/template/annotation-context/annotation/styles.scoped.css +21 -21
- package/lib/internal/template/annotation-context/annotation/styles.selectors.js +13 -13
- package/lib/internal/template/app-layout/notifications/styles.css.js +3 -3
- package/lib/internal/template/app-layout/notifications/styles.scoped.css +7 -7
- package/lib/internal/template/app-layout/notifications/styles.selectors.js +3 -3
- package/lib/internal/template/app-layout/visual-refresh/styles.css.js +86 -86
- package/lib/internal/template/app-layout/visual-refresh/styles.scoped.css +258 -258
- package/lib/internal/template/app-layout/visual-refresh/styles.selectors.js +86 -86
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.css.js +32 -32
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +89 -89
- package/lib/internal/template/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +32 -32
- package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.css.js +6 -6
- package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +13 -13
- package/lib/internal/template/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +6 -6
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +30 -30
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +68 -68
- package/lib/internal/template/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +30 -30
- package/lib/internal/template/attribute-editor/styles.css.js +15 -15
- package/lib/internal/template/attribute-editor/styles.scoped.css +28 -28
- package/lib/internal/template/attribute-editor/styles.selectors.js +15 -15
- package/lib/internal/template/breadcrumb-group/item/styles.css.js +7 -7
- package/lib/internal/template/breadcrumb-group/item/styles.scoped.css +28 -28
- package/lib/internal/template/breadcrumb-group/item/styles.selectors.js +7 -7
- package/lib/internal/template/button/styles.css.js +24 -24
- package/lib/internal/template/button/styles.scoped.css +327 -327
- package/lib/internal/template/button/styles.selectors.js +24 -24
- package/lib/internal/template/button-dropdown/category-elements/expandable-category-element.d.ts +1 -1
- package/lib/internal/template/button-dropdown/category-elements/expandable-category-element.d.ts.map +1 -1
- package/lib/internal/template/button-dropdown/category-elements/expandable-category-element.js +18 -3
- package/lib/internal/template/button-dropdown/category-elements/expandable-category-element.js.map +1 -1
- package/lib/internal/template/button-dropdown/category-elements/mobile-expandable-category-element.d.ts +1 -1
- package/lib/internal/template/button-dropdown/category-elements/mobile-expandable-category-element.d.ts.map +1 -1
- package/lib/internal/template/button-dropdown/category-elements/mobile-expandable-category-element.js +23 -3
- package/lib/internal/template/button-dropdown/category-elements/mobile-expandable-category-element.js.map +1 -1
- package/lib/internal/template/button-dropdown/category-elements/use-expandable-group-status.d.ts +27 -0
- package/lib/internal/template/button-dropdown/category-elements/use-expandable-group-status.d.ts.map +1 -0
- package/lib/internal/template/button-dropdown/category-elements/use-expandable-group-status.js +59 -0
- package/lib/internal/template/button-dropdown/category-elements/use-expandable-group-status.js.map +1 -0
- package/lib/internal/template/button-dropdown/index.d.ts.map +1 -1
- package/lib/internal/template/button-dropdown/index.js +3 -3
- package/lib/internal/template/button-dropdown/index.js.map +1 -1
- package/lib/internal/template/button-dropdown/interfaces.d.ts +110 -8
- package/lib/internal/template/button-dropdown/interfaces.d.ts.map +1 -1
- package/lib/internal/template/button-dropdown/interfaces.js.map +1 -1
- package/lib/internal/template/button-dropdown/internal-interfaces.d.ts +20 -0
- package/lib/internal/template/button-dropdown/internal-interfaces.d.ts.map +1 -1
- package/lib/internal/template/button-dropdown/internal-interfaces.js.map +1 -1
- package/lib/internal/template/button-dropdown/internal.d.ts.map +1 -1
- package/lib/internal/template/button-dropdown/internal.js +149 -16
- package/lib/internal/template/button-dropdown/internal.js.map +1 -1
- package/lib/internal/template/button-dropdown/item-element/styles.css.js +21 -21
- package/lib/internal/template/button-dropdown/item-element/styles.scoped.css +37 -37
- package/lib/internal/template/button-dropdown/item-element/styles.selectors.js +21 -21
- package/lib/internal/template/button-dropdown/items-list.d.ts +1 -1
- package/lib/internal/template/button-dropdown/items-list.d.ts.map +1 -1
- package/lib/internal/template/button-dropdown/items-list.js +2 -2
- package/lib/internal/template/button-dropdown/items-list.js.map +1 -1
- package/lib/internal/template/button-dropdown/status-footer.d.ts +12 -0
- package/lib/internal/template/button-dropdown/status-footer.d.ts.map +1 -0
- package/lib/internal/template/button-dropdown/status-footer.js +23 -0
- package/lib/internal/template/button-dropdown/status-footer.js.map +1 -0
- package/lib/internal/template/button-dropdown/styles.css.js +23 -23
- package/lib/internal/template/button-dropdown/styles.scoped.css +34 -31
- package/lib/internal/template/button-dropdown/styles.selectors.js +23 -23
- package/lib/internal/template/button-dropdown/test-classes/styles.css.js +7 -0
- package/lib/internal/template/button-dropdown/test-classes/styles.scoped.css +11 -0
- package/lib/internal/template/button-dropdown/test-classes/styles.selectors.js +8 -0
- package/lib/internal/template/button-dropdown/utils/use-button-dropdown.d.ts +26 -2
- package/lib/internal/template/button-dropdown/utils/use-button-dropdown.d.ts.map +1 -1
- package/lib/internal/template/button-dropdown/utils/use-button-dropdown.js +62 -7
- package/lib/internal/template/button-dropdown/utils/use-button-dropdown.js.map +1 -1
- package/lib/internal/template/button-dropdown/utils/use-highlighted-menu.d.ts +2 -0
- package/lib/internal/template/button-dropdown/utils/use-highlighted-menu.d.ts.map +1 -1
- package/lib/internal/template/button-dropdown/utils/use-highlighted-menu.js +7 -0
- package/lib/internal/template/button-dropdown/utils/use-highlighted-menu.js.map +1 -1
- package/lib/internal/template/button-dropdown/utils/use-load-items.d.ts +14 -0
- package/lib/internal/template/button-dropdown/utils/use-load-items.d.ts.map +1 -0
- package/lib/internal/template/button-dropdown/utils/use-load-items.js +23 -0
- package/lib/internal/template/button-dropdown/utils/use-load-items.js.map +1 -0
- package/lib/internal/template/button-group/copy-to-clipboard-item.d.ts +1 -0
- package/lib/internal/template/button-group/copy-to-clipboard-item.d.ts.map +1 -1
- package/lib/internal/template/button-group/copy-to-clipboard-item.js +2 -2
- package/lib/internal/template/button-group/copy-to-clipboard-item.js.map +1 -1
- package/lib/internal/template/button-group/file-input-item.d.ts +1 -0
- package/lib/internal/template/button-group/file-input-item.d.ts.map +1 -1
- package/lib/internal/template/button-group/file-input-item.js +2 -2
- package/lib/internal/template/button-group/file-input-item.js.map +1 -1
- package/lib/internal/template/button-group/icon-button-item.d.ts +1 -0
- package/lib/internal/template/button-group/icon-button-item.d.ts.map +1 -1
- package/lib/internal/template/button-group/icon-button-item.js +2 -2
- package/lib/internal/template/button-group/icon-button-item.js.map +1 -1
- package/lib/internal/template/button-group/icon-toggle-button-item.d.ts +1 -0
- package/lib/internal/template/button-group/icon-toggle-button-item.d.ts.map +1 -1
- package/lib/internal/template/button-group/icon-toggle-button-item.js +2 -2
- package/lib/internal/template/button-group/icon-toggle-button-item.js.map +1 -1
- package/lib/internal/template/button-group/index.d.ts.map +1 -1
- package/lib/internal/template/button-group/index.js +1 -1
- package/lib/internal/template/button-group/index.js.map +1 -1
- package/lib/internal/template/button-group/internal-interfaces.d.ts +8 -0
- package/lib/internal/template/button-group/internal-interfaces.d.ts.map +1 -1
- package/lib/internal/template/button-group/internal-interfaces.js.map +1 -1
- package/lib/internal/template/button-group/internal.d.ts.map +1 -1
- package/lib/internal/template/button-group/internal.js +3 -3
- package/lib/internal/template/button-group/internal.js.map +1 -1
- package/lib/internal/template/button-group/item-element.d.ts +2 -0
- package/lib/internal/template/button-group/item-element.d.ts.map +1 -1
- package/lib/internal/template/button-group/item-element.js +7 -6
- package/lib/internal/template/button-group/item-element.js.map +1 -1
- package/lib/internal/template/button-group/menu-dropdown-item.d.ts +2 -0
- package/lib/internal/template/button-group/menu-dropdown-item.d.ts.map +1 -1
- package/lib/internal/template/button-group/menu-dropdown-item.js +3 -3
- package/lib/internal/template/button-group/menu-dropdown-item.js.map +1 -1
- package/lib/internal/template/button-group/styles.css.js +4 -4
- package/lib/internal/template/button-group/styles.scoped.css +19 -6
- package/lib/internal/template/button-group/styles.selectors.js +4 -4
- package/lib/internal/template/cards/styles.css.js +39 -39
- package/lib/internal/template/cards/styles.scoped.css +41 -41
- package/lib/internal/template/cards/styles.selectors.js +39 -39
- package/lib/internal/template/checkbox/styles.css.js +3 -3
- package/lib/internal/template/checkbox/styles.scoped.css +10 -10
- package/lib/internal/template/checkbox/styles.selectors.js +3 -3
- package/lib/internal/template/column-layout/internal.d.ts.map +1 -1
- package/lib/internal/template/column-layout/internal.js +12 -0
- package/lib/internal/template/column-layout/internal.js.map +1 -1
- package/lib/internal/template/container/internal.d.ts +11 -0
- package/lib/internal/template/container/internal.d.ts.map +1 -1
- package/lib/internal/template/container/internal.js +7 -4
- package/lib/internal/template/container/internal.js.map +1 -1
- package/lib/internal/template/container/styles.css.js +33 -34
- package/lib/internal/template/container/styles.scoped.css +140 -94
- package/lib/internal/template/container/styles.selectors.js +33 -34
- package/lib/internal/template/content-layout/styles.css.js +14 -14
- package/lib/internal/template/content-layout/styles.scoped.css +27 -27
- package/lib/internal/template/content-layout/styles.selectors.js +14 -14
- package/lib/internal/template/control-group/styles.css.js +27 -27
- package/lib/internal/template/control-group/styles.scoped.css +28 -28
- package/lib/internal/template/control-group/styles.selectors.js +27 -27
- package/lib/internal/template/copy-to-clipboard/index.d.ts.map +1 -1
- package/lib/internal/template/copy-to-clipboard/index.js +1 -1
- package/lib/internal/template/copy-to-clipboard/index.js.map +1 -1
- package/lib/internal/template/copy-to-clipboard/internal.d.ts +7 -1
- package/lib/internal/template/copy-to-clipboard/internal.d.ts.map +1 -1
- package/lib/internal/template/copy-to-clipboard/internal.js +3 -3
- package/lib/internal/template/copy-to-clipboard/internal.js.map +1 -1
- package/lib/internal/template/copy-to-clipboard/styles.css.js +10 -10
- package/lib/internal/template/copy-to-clipboard/styles.scoped.css +16 -14
- package/lib/internal/template/copy-to-clipboard/styles.selectors.js +10 -10
- package/lib/internal/template/date-input/internal.d.ts +5 -0
- package/lib/internal/template/date-input/internal.d.ts.map +1 -1
- package/lib/internal/template/date-input/internal.js +2 -2
- package/lib/internal/template/date-input/internal.js.map +1 -1
- package/lib/internal/template/date-input/styles.css.js +1 -1
- package/lib/internal/template/date-input/styles.scoped.css +2 -1
- package/lib/internal/template/date-input/styles.selectors.js +1 -1
- package/lib/internal/template/divider/index.d.ts.map +1 -1
- package/lib/internal/template/divider/index.js +1 -1
- package/lib/internal/template/divider/index.js.map +1 -1
- package/lib/internal/template/divider/internal.d.ts +7 -2
- package/lib/internal/template/divider/internal.d.ts.map +1 -1
- package/lib/internal/template/divider/internal.js +2 -2
- package/lib/internal/template/divider/internal.js.map +1 -1
- package/lib/internal/template/divider/styles.css.js +6 -6
- package/lib/internal/template/divider/styles.scoped.css +20 -9
- package/lib/internal/template/divider/styles.selectors.js +6 -6
- package/lib/internal/template/dropdown/internal.d.ts +1 -1
- package/lib/internal/template/dropdown/internal.d.ts.map +1 -1
- package/lib/internal/template/dropdown/internal.js +1 -1
- package/lib/internal/template/dropdown/internal.js.map +1 -1
- package/lib/internal/template/dropdown/styles.css.js +20 -20
- package/lib/internal/template/dropdown/styles.scoped.css +48 -48
- package/lib/internal/template/dropdown/styles.selectors.js +20 -20
- package/lib/internal/template/expandable-section/expandable-section-container.d.ts +4 -1
- package/lib/internal/template/expandable-section/expandable-section-container.d.ts.map +1 -1
- package/lib/internal/template/expandable-section/expandable-section-container.js +4 -3
- package/lib/internal/template/expandable-section/expandable-section-container.js.map +1 -1
- package/lib/internal/template/expandable-section/expandable-section-header.d.ts +4 -1
- package/lib/internal/template/expandable-section/expandable-section-header.d.ts.map +1 -1
- package/lib/internal/template/expandable-section/expandable-section-header.js +34 -15
- package/lib/internal/template/expandable-section/expandable-section-header.js.map +1 -1
- package/lib/internal/template/expandable-section/interfaces.d.ts +11 -0
- package/lib/internal/template/expandable-section/interfaces.d.ts.map +1 -1
- package/lib/internal/template/expandable-section/interfaces.js.map +1 -1
- package/lib/internal/template/expandable-section/internal.d.ts +1 -1
- package/lib/internal/template/expandable-section/internal.d.ts.map +1 -1
- package/lib/internal/template/expandable-section/internal.js +10 -3
- package/lib/internal/template/expandable-section/internal.js.map +1 -1
- package/lib/internal/template/expandable-section/styles.css.js +49 -46
- package/lib/internal/template/expandable-section/styles.scoped.css +121 -91
- package/lib/internal/template/expandable-section/styles.selectors.js +49 -46
- package/lib/internal/template/expandable-section/utils.d.ts +1 -0
- package/lib/internal/template/expandable-section/utils.d.ts.map +1 -1
- package/lib/internal/template/expandable-section/utils.js +3 -0
- package/lib/internal/template/expandable-section/utils.js.map +1 -1
- package/lib/internal/template/file-input/internal.d.ts +2 -0
- package/lib/internal/template/file-input/internal.d.ts.map +1 -1
- package/lib/internal/template/file-input/internal.js +2 -2
- package/lib/internal/template/file-input/internal.js.map +1 -1
- package/lib/internal/template/file-input/styles.css.js +5 -5
- package/lib/internal/template/file-input/styles.scoped.css +18 -22
- package/lib/internal/template/file-input/styles.selectors.js +5 -5
- package/lib/internal/template/file-token-group/styles.css.js +23 -23
- package/lib/internal/template/file-token-group/styles.scoped.css +36 -36
- package/lib/internal/template/file-token-group/styles.selectors.js +23 -23
- package/lib/internal/template/flashbar/styles.css.js +50 -50
- package/lib/internal/template/flashbar/styles.scoped.css +184 -184
- package/lib/internal/template/flashbar/styles.selectors.js +50 -50
- package/lib/internal/template/header/interfaces.d.ts +3 -2
- package/lib/internal/template/header/interfaces.d.ts.map +1 -1
- package/lib/internal/template/header/interfaces.js.map +1 -1
- package/lib/internal/template/header/internal.d.ts +6 -1
- package/lib/internal/template/header/internal.d.ts.map +1 -1
- package/lib/internal/template/header/internal.js +2 -1
- package/lib/internal/template/header/internal.js.map +1 -1
- package/lib/internal/template/header/styles.css.js +36 -35
- package/lib/internal/template/header/styles.scoped.css +69 -53
- package/lib/internal/template/header/styles.selectors.js +36 -35
- package/lib/internal/template/help-panel/styles.css.js +6 -6
- package/lib/internal/template/help-panel/styles.scoped.css +72 -72
- package/lib/internal/template/help-panel/styles.selectors.js +6 -6
- package/lib/internal/template/i18n/messages/all.all.js +1 -1
- package/lib/internal/template/i18n/messages/all.all.json +1 -1
- package/lib/internal/template/i18n/messages/all.de.js +1 -1
- package/lib/internal/template/i18n/messages/all.de.json +1 -1
- package/lib/internal/template/i18n/messages/all.en-GB.js +1 -1
- package/lib/internal/template/i18n/messages/all.en-GB.json +1 -1
- package/lib/internal/template/i18n/messages/all.en.js +1 -1
- package/lib/internal/template/i18n/messages/all.en.json +1 -1
- package/lib/internal/template/i18n/messages/all.es.js +1 -1
- package/lib/internal/template/i18n/messages/all.es.json +1 -1
- package/lib/internal/template/i18n/messages/all.fr.js +1 -1
- package/lib/internal/template/i18n/messages/all.fr.json +1 -1
- package/lib/internal/template/i18n/messages/all.id.js +1 -1
- package/lib/internal/template/i18n/messages/all.id.json +1 -1
- package/lib/internal/template/i18n/messages/all.it.js +1 -1
- package/lib/internal/template/i18n/messages/all.it.json +1 -1
- package/lib/internal/template/i18n/messages/all.ja.js +1 -1
- package/lib/internal/template/i18n/messages/all.ja.json +1 -1
- package/lib/internal/template/i18n/messages/all.ko.js +1 -1
- package/lib/internal/template/i18n/messages/all.ko.json +1 -1
- package/lib/internal/template/i18n/messages/all.pt-BR.js +1 -1
- package/lib/internal/template/i18n/messages/all.pt-BR.json +1 -1
- package/lib/internal/template/i18n/messages/all.tr.js +1 -1
- package/lib/internal/template/i18n/messages/all.tr.json +1 -1
- package/lib/internal/template/i18n/messages/all.zh-CN.js +1 -1
- package/lib/internal/template/i18n/messages/all.zh-CN.json +1 -1
- package/lib/internal/template/i18n/messages/all.zh-TW.js +1 -1
- package/lib/internal/template/i18n/messages/all.zh-TW.json +1 -1
- package/lib/internal/template/i18n/messages-types.d.ts +28 -0
- package/lib/internal/template/i18n/messages-types.d.ts.map +1 -1
- package/lib/internal/template/i18n/messages-types.js.map +1 -1
- package/lib/internal/template/input/styles.css.js +44 -44
- package/lib/internal/template/input/styles.scoped.css +143 -143
- package/lib/internal/template/input/styles.selectors.js +44 -44
- package/lib/internal/template/internal/base-component/styles.scoped.css +1 -1
- package/lib/internal/template/internal/components/autosuggest-input/styles.css.js +33 -33
- package/lib/internal/template/internal/components/autosuggest-input/styles.scoped.css +86 -86
- package/lib/internal/template/internal/components/autosuggest-input/styles.selectors.js +33 -33
- package/lib/internal/template/internal/components/drag-handle-wrapper/styles.css.js +30 -30
- package/lib/internal/template/internal/components/drag-handle-wrapper/styles.scoped.css +58 -58
- package/lib/internal/template/internal/components/drag-handle-wrapper/styles.selectors.js +30 -30
- package/lib/internal/template/internal/components/dropdown-status/index.d.ts +6 -1
- package/lib/internal/template/internal/components/dropdown-status/index.d.ts.map +1 -1
- package/lib/internal/template/internal/components/dropdown-status/index.js +2 -2
- package/lib/internal/template/internal/components/dropdown-status/index.js.map +1 -1
- package/lib/internal/template/internal/components/listbox/selection/interfaces.d.ts +29 -0
- package/lib/internal/template/internal/components/listbox/selection/interfaces.d.ts.map +1 -0
- package/lib/internal/template/internal/components/listbox/selection/interfaces.js +2 -0
- package/lib/internal/template/internal/components/listbox/selection/interfaces.js.map +1 -0
- package/lib/internal/template/internal/components/listbox/selection/multi-selection.d.ts +21 -0
- package/lib/internal/template/internal/components/listbox/selection/multi-selection.d.ts.map +1 -0
- package/lib/internal/template/internal/components/listbox/selection/multi-selection.js +60 -0
- package/lib/internal/template/internal/components/listbox/selection/multi-selection.js.map +1 -0
- package/lib/internal/template/internal/components/listbox/selection/single-selection.d.ts +8 -0
- package/lib/internal/template/internal/components/listbox/selection/single-selection.d.ts.map +1 -0
- package/lib/internal/template/internal/components/listbox/selection/single-selection.js +26 -0
- package/lib/internal/template/internal/components/listbox/selection/single-selection.js.map +1 -0
- package/lib/internal/template/internal/components/option/styles.css.js +18 -18
- package/lib/internal/template/internal/components/option/styles.scoped.css +35 -35
- package/lib/internal/template/internal/components/option/styles.selectors.js +18 -18
- package/lib/internal/template/internal/components/radio-button/styles.css.js +7 -7
- package/lib/internal/template/internal/components/radio-button/styles.scoped.css +17 -17
- package/lib/internal/template/internal/components/radio-button/styles.selectors.js +7 -7
- package/lib/internal/template/internal/components/selectable-item/styles.css.js +22 -22
- package/lib/internal/template/internal/components/selectable-item/styles.scoped.css +57 -57
- package/lib/internal/template/internal/components/selectable-item/styles.selectors.js +22 -22
- package/lib/internal/template/internal/components/token-list/styles.css.js +10 -10
- package/lib/internal/template/internal/components/token-list/styles.scoped.css +25 -25
- package/lib/internal/template/internal/components/token-list/styles.selectors.js +10 -10
- package/lib/internal/template/internal/environment.js +2 -2
- package/lib/internal/template/internal/environment.json +2 -2
- package/lib/internal/template/internal/generated/custom-css-properties/index.d.ts +2 -0
- package/lib/internal/template/internal/generated/custom-css-properties/index.d.ts.map +1 -1
- package/lib/internal/template/internal/generated/custom-css-properties/index.js +177 -175
- package/lib/internal/template/internal/generated/custom-css-properties/index.js.map +1 -1
- package/lib/internal/template/internal/hooks/use-load-items/index.d.ts +15 -0
- package/lib/internal/template/internal/hooks/use-load-items/index.d.ts.map +1 -0
- package/lib/internal/template/{select/utils/use-load-items.js → internal/hooks/use-load-items/index.js} +4 -5
- package/lib/internal/template/internal/hooks/use-load-items/index.js.map +1 -0
- package/lib/internal/template/item-card/styles.css.js +14 -14
- package/lib/internal/template/item-card/styles.scoped.css +63 -63
- package/lib/internal/template/item-card/styles.selectors.js +14 -14
- package/lib/internal/template/link/styles.css.js +21 -21
- package/lib/internal/template/link/styles.scoped.css +104 -104
- package/lib/internal/template/link/styles.selectors.js +21 -21
- package/lib/internal/template/modal/styles.css.js +32 -32
- package/lib/internal/template/modal/styles.scoped.css +49 -49
- package/lib/internal/template/modal/styles.selectors.js +32 -32
- package/lib/internal/template/multiselect/use-multiselect.d.ts.map +1 -1
- package/lib/internal/template/multiselect/use-multiselect.js +15 -48
- package/lib/internal/template/multiselect/use-multiselect.js.map +1 -1
- package/lib/internal/template/popover/arrow.d.ts +2 -1
- package/lib/internal/template/popover/arrow.d.ts.map +1 -1
- package/lib/internal/template/popover/arrow.js +2 -2
- package/lib/internal/template/popover/arrow.js.map +1 -1
- package/lib/internal/template/popover/body.d.ts +1 -0
- package/lib/internal/template/popover/body.d.ts.map +1 -1
- package/lib/internal/template/popover/body.js +2 -2
- package/lib/internal/template/popover/body.js.map +1 -1
- package/lib/internal/template/popover/container.d.ts +2 -1
- package/lib/internal/template/popover/container.d.ts.map +1 -1
- package/lib/internal/template/popover/container.js +2 -2
- package/lib/internal/template/popover/container.js.map +1 -1
- package/lib/internal/template/popover/internal.d.ts +6 -0
- package/lib/internal/template/popover/internal.d.ts.map +1 -1
- package/lib/internal/template/popover/internal.js +3 -3
- package/lib/internal/template/popover/internal.js.map +1 -1
- package/lib/internal/template/popover/styles.css.js +58 -58
- package/lib/internal/template/popover/styles.scoped.css +114 -95
- package/lib/internal/template/popover/styles.selectors.js +58 -58
- package/lib/internal/template/progress-bar/index.d.ts.map +1 -1
- package/lib/internal/template/progress-bar/index.js +4 -3
- package/lib/internal/template/progress-bar/index.js.map +1 -1
- package/lib/internal/template/progress-bar/internal.d.ts +6 -1
- package/lib/internal/template/progress-bar/internal.d.ts.map +1 -1
- package/lib/internal/template/progress-bar/internal.js +2 -2
- package/lib/internal/template/progress-bar/internal.js.map +1 -1
- package/lib/internal/template/progress-bar/styles.css.js +20 -19
- package/lib/internal/template/progress-bar/styles.scoped.css +92 -59
- package/lib/internal/template/progress-bar/styles.selectors.js +20 -19
- package/lib/internal/template/prompt-input/styles.css.js +26 -26
- package/lib/internal/template/prompt-input/styles.scoped.css +105 -105
- package/lib/internal/template/prompt-input/styles.selectors.js +26 -26
- package/lib/internal/template/segmented-control/styles.css.js +31 -31
- package/lib/internal/template/segmented-control/styles.scoped.css +81 -81
- package/lib/internal/template/segmented-control/styles.selectors.js +31 -31
- package/lib/internal/template/select/internal.d.ts.map +1 -1
- package/lib/internal/template/select/internal.js +6 -3
- package/lib/internal/template/select/internal.js.map +1 -1
- package/lib/internal/template/select/parts/styles.css.js +21 -21
- package/lib/internal/template/select/parts/styles.scoped.css +24 -24
- package/lib/internal/template/select/parts/styles.selectors.js +21 -21
- package/lib/internal/template/select/utils/use-select.d.ts +4 -3
- package/lib/internal/template/select/utils/use-select.d.ts.map +1 -1
- package/lib/internal/template/select/utils/use-select.js +16 -29
- package/lib/internal/template/select/utils/use-select.js.map +1 -1
- package/lib/internal/template/side-navigation/styles.css.js +65 -65
- package/lib/internal/template/side-navigation/styles.scoped.css +114 -114
- package/lib/internal/template/side-navigation/styles.selectors.js +65 -65
- package/lib/internal/template/slider/internal.d.ts +6 -1
- package/lib/internal/template/slider/internal.d.ts.map +1 -1
- package/lib/internal/template/slider/internal.js +3 -3
- package/lib/internal/template/slider/internal.js.map +1 -1
- package/lib/internal/template/slider/styles.css.js +26 -26
- package/lib/internal/template/slider/styles.scoped.css +202 -171
- package/lib/internal/template/slider/styles.selectors.js +26 -26
- package/lib/internal/template/spinner/styles.css.js +14 -14
- package/lib/internal/template/spinner/styles.scoped.css +40 -40
- package/lib/internal/template/spinner/styles.selectors.js +14 -14
- package/lib/internal/template/styling/button-dropdown.scss +1 -0
- package/lib/internal/template/styling/button-group.scss +15 -0
- package/lib/internal/template/styling/container.scss +95 -0
- package/lib/internal/template/styling/copy-to-clipboard.scss +1 -0
- package/lib/internal/template/styling/date-input.scss +1 -0
- package/lib/internal/template/styling/divider.scss +15 -0
- package/lib/internal/template/styling/dropdown.scss +2 -2
- package/lib/internal/template/styling/popover.scss +58 -0
- package/lib/internal/template/styling/progress-bar.scss +36 -0
- package/lib/internal/template/styling/slider.scss +30 -0
- package/lib/internal/template/styling/text-filter.scss +19 -0
- package/lib/internal/template/styling/time-input.scss +1 -0
- package/lib/internal/template/styling/toggle-button.scss +1 -0
- package/lib/internal/template/styling/token.scss +49 -0
- package/lib/internal/template/styling/tooltip.scss +58 -0
- package/lib/internal/template/table/column-groups/col-group.d.ts +1 -1
- package/lib/internal/template/table/column-groups/col-group.d.ts.map +1 -1
- package/lib/internal/template/table/column-groups/col-group.js +3 -3
- package/lib/internal/template/table/column-groups/col-group.js.map +1 -1
- package/lib/internal/template/table/header-cell/group-header-cell.js +2 -2
- package/lib/internal/template/table/header-cell/group-header-cell.js.map +1 -1
- package/lib/internal/template/table/internal.d.ts.map +1 -1
- package/lib/internal/template/table/internal.js +1 -1
- package/lib/internal/template/table/internal.js.map +1 -1
- package/lib/internal/template/table/styles.css.js +37 -37
- package/lib/internal/template/table/styles.scoped.css +46 -46
- package/lib/internal/template/table/styles.selectors.js +37 -37
- package/lib/internal/template/table/use-column-widths.d.ts +2 -1
- package/lib/internal/template/table/use-column-widths.d.ts.map +1 -1
- package/lib/internal/template/table/use-column-widths.js +42 -11
- package/lib/internal/template/table/use-column-widths.js.map +1 -1
- package/lib/internal/template/tabs/styles.css.js +31 -30
- package/lib/internal/template/tabs/styles.scoped.css +93 -77
- package/lib/internal/template/tabs/styles.selectors.js +31 -30
- package/lib/internal/template/tabs/tab-header-bar.d.ts.map +1 -1
- package/lib/internal/template/tabs/tab-header-bar.js +54 -5
- package/lib/internal/template/tabs/tab-header-bar.js.map +1 -1
- package/lib/internal/template/tag-editor/styles.css.js +3 -3
- package/lib/internal/template/tag-editor/styles.scoped.css +13 -13
- package/lib/internal/template/tag-editor/styles.selectors.js +3 -3
- package/lib/internal/template/test-utils/dom/button-dropdown/index.d.ts +16 -0
- package/lib/internal/template/test-utils/dom/button-dropdown/index.js +28 -6
- package/lib/internal/template/test-utils/dom/button-dropdown/index.js.map +1 -1
- package/lib/internal/template/test-utils/selectors/button-dropdown/index.d.ts +16 -0
- package/lib/internal/template/test-utils/selectors/button-dropdown/index.js +32 -6
- package/lib/internal/template/test-utils/selectors/button-dropdown/index.js.map +1 -1
- package/lib/internal/template/text-content/styles.css.js +1 -1
- package/lib/internal/template/text-content/styles.scoped.css +66 -66
- package/lib/internal/template/text-content/styles.selectors.js +1 -1
- package/lib/internal/template/text-filter/internal.d.ts +8 -1
- package/lib/internal/template/text-filter/internal.d.ts.map +1 -1
- package/lib/internal/template/text-filter/internal.js +3 -3
- package/lib/internal/template/text-filter/internal.js.map +1 -1
- package/lib/internal/template/text-filter/search-results.d.ts +1 -0
- package/lib/internal/template/text-filter/search-results.d.ts.map +1 -1
- package/lib/internal/template/text-filter/search-results.js +3 -2
- package/lib/internal/template/text-filter/search-results.js.map +1 -1
- package/lib/internal/template/text-filter/styles.css.js +3 -3
- package/lib/internal/template/text-filter/styles.scoped.css +6 -3
- package/lib/internal/template/text-filter/styles.selectors.js +3 -3
- package/lib/internal/template/textarea/styles.css.js +9 -9
- package/lib/internal/template/textarea/styles.scoped.css +51 -51
- package/lib/internal/template/textarea/styles.selectors.js +9 -9
- package/lib/internal/template/time-input/internal.d.ts +7 -1
- package/lib/internal/template/time-input/internal.d.ts.map +1 -1
- package/lib/internal/template/time-input/internal.js +2 -1
- package/lib/internal/template/time-input/internal.js.map +1 -1
- package/lib/internal/template/time-input/styles.css.js +1 -1
- package/lib/internal/template/time-input/styles.scoped.css +2 -1
- package/lib/internal/template/time-input/styles.selectors.js +1 -1
- package/lib/internal/template/toggle/styles.css.js +10 -10
- package/lib/internal/template/toggle/styles.scoped.css +25 -25
- package/lib/internal/template/toggle/styles.selectors.js +10 -10
- package/lib/internal/template/toggle-button/index.d.ts.map +1 -1
- package/lib/internal/template/toggle-button/index.js +1 -1
- package/lib/internal/template/toggle-button/index.js.map +1 -1
- package/lib/internal/template/toggle-button/internal.d.ts +2 -0
- package/lib/internal/template/toggle-button/internal.d.ts.map +1 -1
- package/lib/internal/template/toggle-button/internal.js +2 -2
- package/lib/internal/template/toggle-button/internal.js.map +1 -1
- package/lib/internal/template/toggle-button/styles.css.js +4 -4
- package/lib/internal/template/toggle-button/styles.scoped.css +5 -4
- package/lib/internal/template/toggle-button/styles.selectors.js +4 -4
- package/lib/internal/template/token/dismiss-button.d.ts +5 -3
- package/lib/internal/template/token/dismiss-button.d.ts.map +1 -1
- package/lib/internal/template/token/dismiss-button.js +6 -22
- package/lib/internal/template/token/dismiss-button.js.map +1 -1
- package/lib/internal/template/token/index.d.ts.map +1 -1
- package/lib/internal/template/token/index.js +1 -1
- package/lib/internal/template/token/index.js.map +1 -1
- package/lib/internal/template/token/internal.d.ts +6 -1
- package/lib/internal/template/token/internal.d.ts.map +1 -1
- package/lib/internal/template/token/internal.js +3 -3
- package/lib/internal/template/token/internal.js.map +1 -1
- package/lib/internal/template/token/styles.css.js +14 -14
- package/lib/internal/template/token/styles.d.ts +23 -1
- package/lib/internal/template/token/styles.d.ts.map +1 -1
- package/lib/internal/template/token/styles.js +22 -12
- package/lib/internal/template/token/styles.js.map +1 -1
- package/lib/internal/template/token/styles.scoped.css +67 -61
- package/lib/internal/template/token/styles.selectors.js +14 -14
- package/lib/internal/template/tooltip/internal.d.ts +6 -1
- package/lib/internal/template/tooltip/internal.d.ts.map +1 -1
- package/lib/internal/template/tooltip/internal.js +2 -2
- package/lib/internal/template/tooltip/internal.js.map +1 -1
- package/lib/internal/template/tooltip/styles.css.js +2 -2
- package/lib/internal/template/tooltip/styles.scoped.css +7 -5
- package/lib/internal/template/tooltip/styles.selectors.js +2 -2
- package/lib/internal/template/tutorial-panel/components/tutorial-detail-view/congratulation-screen.d.ts +1 -1
- package/lib/internal/template/tutorial-panel/components/tutorial-detail-view/congratulation-screen.d.ts.map +1 -1
- package/lib/internal/template/tutorial-panel/components/tutorial-detail-view/congratulation-screen.js.map +1 -1
- package/lib/internal/template/tutorial-panel/components/tutorial-detail-view/index.d.ts +1 -1
- package/lib/internal/template/tutorial-panel/components/tutorial-detail-view/index.d.ts.map +1 -1
- package/lib/internal/template/tutorial-panel/components/tutorial-detail-view/index.js.map +1 -1
- package/lib/internal/template/tutorial-panel/components/tutorial-detail-view/task-list.d.ts +1 -1
- package/lib/internal/template/tutorial-panel/components/tutorial-detail-view/task-list.d.ts.map +1 -1
- package/lib/internal/template/tutorial-panel/components/tutorial-detail-view/task-list.js.map +1 -1
- package/lib/internal/template/tutorial-panel/components/tutorial-detail-view/task.d.ts +1 -1
- package/lib/internal/template/tutorial-panel/components/tutorial-detail-view/task.d.ts.map +1 -1
- package/lib/internal/template/tutorial-panel/components/tutorial-detail-view/task.js +9 -5
- package/lib/internal/template/tutorial-panel/components/tutorial-detail-view/task.js.map +1 -1
- package/lib/internal/template/tutorial-panel/components/tutorial-list/index.d.ts +1 -1
- package/lib/internal/template/tutorial-panel/components/tutorial-list/index.d.ts.map +1 -1
- package/lib/internal/template/tutorial-panel/components/tutorial-list/index.js.map +1 -1
- package/lib/internal/template/tutorial-panel/index.d.ts.map +1 -1
- package/lib/internal/template/tutorial-panel/index.js +27 -1
- package/lib/internal/template/tutorial-panel/index.js.map +1 -1
- package/lib/internal/template/tutorial-panel/interfaces.d.ts +19 -18
- package/lib/internal/template/tutorial-panel/interfaces.d.ts.map +1 -1
- package/lib/internal/template/tutorial-panel/interfaces.js.map +1 -1
- package/package.json +1 -1
- package/lib/internal/template/select/utils/use-load-items.d.ts +0 -15
- package/lib/internal/template/select/utils/use-load-items.d.ts.map +0 -1
- package/lib/internal/template/select/utils/use-load-items.js.map +0 -1
|
@@ -2,38 +2,38 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"dropdown-footer": "awsui_dropdown-
|
|
6
|
-
"dropdown-content": "awsui_dropdown-
|
|
7
|
-
"token-field-container": "awsui_token-field-
|
|
8
|
-
"token-field": "awsui_token-
|
|
9
|
-
"token-field-disabled": "awsui_token-field-
|
|
10
|
-
"token-field-readonly": "awsui_token-field-
|
|
11
|
-
"token-field-invalid": "awsui_token-field-
|
|
12
|
-
"token-field-warning": "awsui_token-field-
|
|
13
|
-
"grouped": "
|
|
14
|
-
"grouped-horizontal-first": "awsui_grouped-horizontal-
|
|
15
|
-
"grouped-horizontal-middle": "awsui_grouped-horizontal-
|
|
16
|
-
"grouped-horizontal-last": "awsui_grouped-horizontal-
|
|
17
|
-
"grouped-vertical-first": "awsui_grouped-vertical-
|
|
18
|
-
"grouped-vertical-middle": "awsui_grouped-vertical-
|
|
19
|
-
"grouped-vertical-last": "awsui_grouped-vertical-
|
|
20
|
-
"grouped-with-action": "awsui_grouped-with-
|
|
21
|
-
"grouped-with-error": "awsui_grouped-with-
|
|
22
|
-
"grouped-horizontal-only": "awsui_grouped-horizontal-
|
|
23
|
-
"grouped-vertical-only": "awsui_grouped-vertical-
|
|
24
|
-
"grouped-with-warning": "awsui_grouped-with-
|
|
25
|
-
"grouped-vertical": "awsui_grouped-
|
|
26
|
-
"grouped-horizontal": "awsui_grouped-
|
|
27
|
-
"token-field-icon": "awsui_token-field-
|
|
28
|
-
"token-list": "awsui_token-
|
|
29
|
-
"inline-tokens": "awsui_inline-
|
|
30
|
-
"token-list-item": "awsui_token-list-
|
|
31
|
-
"token-input-wrapper": "awsui_token-input-
|
|
32
|
-
"token-overflow": "awsui_token-
|
|
33
|
-
"token-overflow-trigger": "awsui_token-overflow-
|
|
34
|
-
"overflow-dropdown": "awsui_overflow-
|
|
35
|
-
"overflow-dropdown-item": "awsui_overflow-dropdown-
|
|
36
|
-
"measurement-container": "awsui_measurement-
|
|
37
|
-
"measurement-token": "awsui_measurement-
|
|
5
|
+
"dropdown-footer": "awsui_dropdown-footer_vm8qf_1jwa9_9",
|
|
6
|
+
"dropdown-content": "awsui_dropdown-content_vm8qf_1jwa9_14",
|
|
7
|
+
"token-field-container": "awsui_token-field-container_vm8qf_1jwa9_18",
|
|
8
|
+
"token-field": "awsui_token-field_vm8qf_1jwa9_18",
|
|
9
|
+
"token-field-disabled": "awsui_token-field-disabled_vm8qf_1jwa9_54",
|
|
10
|
+
"token-field-readonly": "awsui_token-field-readonly_vm8qf_1jwa9_62",
|
|
11
|
+
"token-field-invalid": "awsui_token-field-invalid_vm8qf_1jwa9_68",
|
|
12
|
+
"token-field-warning": "awsui_token-field-warning_vm8qf_1jwa9_80",
|
|
13
|
+
"grouped": "awsui_grouped_vm8qf_1jwa9_92",
|
|
14
|
+
"grouped-horizontal-first": "awsui_grouped-horizontal-first_vm8qf_1jwa9_99",
|
|
15
|
+
"grouped-horizontal-middle": "awsui_grouped-horizontal-middle_vm8qf_1jwa9_103",
|
|
16
|
+
"grouped-horizontal-last": "awsui_grouped-horizontal-last_vm8qf_1jwa9_109",
|
|
17
|
+
"grouped-vertical-first": "awsui_grouped-vertical-first_vm8qf_1jwa9_113",
|
|
18
|
+
"grouped-vertical-middle": "awsui_grouped-vertical-middle_vm8qf_1jwa9_117",
|
|
19
|
+
"grouped-vertical-last": "awsui_grouped-vertical-last_vm8qf_1jwa9_123",
|
|
20
|
+
"grouped-with-action": "awsui_grouped-with-action_vm8qf_1jwa9_127",
|
|
21
|
+
"grouped-with-error": "awsui_grouped-with-error_vm8qf_1jwa9_131",
|
|
22
|
+
"grouped-horizontal-only": "awsui_grouped-horizontal-only_vm8qf_1jwa9_159",
|
|
23
|
+
"grouped-vertical-only": "awsui_grouped-vertical-only_vm8qf_1jwa9_159",
|
|
24
|
+
"grouped-with-warning": "awsui_grouped-with-warning_vm8qf_1jwa9_165",
|
|
25
|
+
"grouped-vertical": "awsui_grouped-vertical_vm8qf_1jwa9_113",
|
|
26
|
+
"grouped-horizontal": "awsui_grouped-horizontal_vm8qf_1jwa9_99",
|
|
27
|
+
"token-field-icon": "awsui_token-field-icon_vm8qf_1jwa9_226",
|
|
28
|
+
"token-list": "awsui_token-list_vm8qf_1jwa9_232",
|
|
29
|
+
"inline-tokens": "awsui_inline-tokens_vm8qf_1jwa9_246",
|
|
30
|
+
"token-list-item": "awsui_token-list-item_vm8qf_1jwa9_250",
|
|
31
|
+
"token-input-wrapper": "awsui_token-input-wrapper_vm8qf_1jwa9_254",
|
|
32
|
+
"token-overflow": "awsui_token-overflow_vm8qf_1jwa9_261",
|
|
33
|
+
"token-overflow-trigger": "awsui_token-overflow-trigger_vm8qf_1jwa9_265",
|
|
34
|
+
"overflow-dropdown": "awsui_overflow-dropdown_vm8qf_1jwa9_269",
|
|
35
|
+
"overflow-dropdown-item": "awsui_overflow-dropdown-item_vm8qf_1jwa9_278",
|
|
36
|
+
"measurement-container": "awsui_measurement-container_vm8qf_1jwa9_284",
|
|
37
|
+
"measurement-token": "awsui_measurement-token_vm8qf_1jwa9_297"
|
|
38
38
|
};
|
|
39
39
|
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"direction-button-wrapper": "awsui_direction-button-
|
|
5
|
-
"direction-button-wrapper-motion-enter": "awsui_direction-button-wrapper-motion-
|
|
6
|
-
"direction-button-wrapper-motion-entering": "awsui_direction-button-wrapper-motion-
|
|
7
|
-
"direction-button-wrapper-motion-exit": "awsui_direction-button-wrapper-motion-
|
|
8
|
-
"direction-button-wrapper-motion-exiting": "awsui_direction-button-wrapper-motion-
|
|
9
|
-
"drag-handle-entry": "awsui_drag-handle-
|
|
10
|
-
"awsui-motion-fade-in": "awsui_awsui-motion-fade-
|
|
11
|
-
"drag-handle-exit": "awsui_drag-handle-
|
|
12
|
-
"awsui-motion-fade-out-0": "awsui_awsui-motion-fade-out-
|
|
13
|
-
"direction-button-wrapper-block-start": "awsui_direction-button-wrapper-block-
|
|
14
|
-
"direction-button-wrapper-block-end": "awsui_direction-button-wrapper-block-
|
|
15
|
-
"direction-button-wrapper-inline-start": "awsui_direction-button-wrapper-inline-
|
|
16
|
-
"direction-button-wrapper-inline-end": "awsui_direction-button-wrapper-inline-
|
|
17
|
-
"contents": "
|
|
18
|
-
"portal-overlay": "awsui_portal-
|
|
19
|
-
"portal-overlay-disabled": "awsui_portal-overlay-
|
|
20
|
-
"portal-overlay-contents": "awsui_portal-overlay-
|
|
21
|
-
"drag-handle": "awsui_drag-
|
|
22
|
-
"direction-button-wrapper-hidden": "awsui_direction-button-wrapper-
|
|
23
|
-
"direction-button-wrapper-forced": "awsui_direction-button-wrapper-
|
|
24
|
-
"direction-button-wrapper-forced-top-0": "awsui_direction-button-wrapper-forced-top-
|
|
25
|
-
"direction-button-wrapper-forced-top-1": "awsui_direction-button-wrapper-forced-top-
|
|
26
|
-
"direction-button-wrapper-forced-top-2": "awsui_direction-button-wrapper-forced-top-
|
|
27
|
-
"direction-button-wrapper-forced-top-3": "awsui_direction-button-wrapper-forced-top-
|
|
28
|
-
"direction-button-wrapper-forced-bottom-0": "awsui_direction-button-wrapper-forced-bottom-
|
|
29
|
-
"direction-button-wrapper-forced-bottom-1": "awsui_direction-button-wrapper-forced-bottom-
|
|
30
|
-
"direction-button-wrapper-forced-bottom-2": "awsui_direction-button-wrapper-forced-bottom-
|
|
31
|
-
"direction-button-wrapper-forced-bottom-3": "awsui_direction-button-wrapper-forced-bottom-
|
|
32
|
-
"direction-button": "awsui_direction-
|
|
33
|
-
"direction-button-disabled": "awsui_direction-button-
|
|
4
|
+
"direction-button-wrapper": "awsui_direction-button-wrapper_155yk_ccv3v_29",
|
|
5
|
+
"direction-button-wrapper-motion-enter": "awsui_direction-button-wrapper-motion-enter_155yk_ccv3v_49",
|
|
6
|
+
"direction-button-wrapper-motion-entering": "awsui_direction-button-wrapper-motion-entering_155yk_ccv3v_49",
|
|
7
|
+
"direction-button-wrapper-motion-exit": "awsui_direction-button-wrapper-motion-exit_155yk_ccv3v_49",
|
|
8
|
+
"direction-button-wrapper-motion-exiting": "awsui_direction-button-wrapper-motion-exiting_155yk_ccv3v_49",
|
|
9
|
+
"drag-handle-entry": "awsui_drag-handle-entry_155yk_ccv3v_1",
|
|
10
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_155yk_ccv3v_1",
|
|
11
|
+
"drag-handle-exit": "awsui_drag-handle-exit_155yk_ccv3v_1",
|
|
12
|
+
"awsui-motion-fade-out-0": "awsui_awsui-motion-fade-out-0_155yk_ccv3v_1",
|
|
13
|
+
"direction-button-wrapper-block-start": "awsui_direction-button-wrapper-block-start_155yk_ccv3v_89",
|
|
14
|
+
"direction-button-wrapper-block-end": "awsui_direction-button-wrapper-block-end_155yk_ccv3v_93",
|
|
15
|
+
"direction-button-wrapper-inline-start": "awsui_direction-button-wrapper-inline-start_155yk_ccv3v_97",
|
|
16
|
+
"direction-button-wrapper-inline-end": "awsui_direction-button-wrapper-inline-end_155yk_ccv3v_108",
|
|
17
|
+
"contents": "awsui_contents_155yk_ccv3v_119",
|
|
18
|
+
"portal-overlay": "awsui_portal-overlay_155yk_ccv3v_123",
|
|
19
|
+
"portal-overlay-disabled": "awsui_portal-overlay-disabled_155yk_ccv3v_131",
|
|
20
|
+
"portal-overlay-contents": "awsui_portal-overlay-contents_155yk_ccv3v_135",
|
|
21
|
+
"drag-handle": "awsui_drag-handle_155yk_ccv3v_139",
|
|
22
|
+
"direction-button-wrapper-hidden": "awsui_direction-button-wrapper-hidden_155yk_ccv3v_152",
|
|
23
|
+
"direction-button-wrapper-forced": "awsui_direction-button-wrapper-forced_155yk_ccv3v_176",
|
|
24
|
+
"direction-button-wrapper-forced-top-0": "awsui_direction-button-wrapper-forced-top-0_155yk_ccv3v_180",
|
|
25
|
+
"direction-button-wrapper-forced-top-1": "awsui_direction-button-wrapper-forced-top-1_155yk_ccv3v_184",
|
|
26
|
+
"direction-button-wrapper-forced-top-2": "awsui_direction-button-wrapper-forced-top-2_155yk_ccv3v_188",
|
|
27
|
+
"direction-button-wrapper-forced-top-3": "awsui_direction-button-wrapper-forced-top-3_155yk_ccv3v_192",
|
|
28
|
+
"direction-button-wrapper-forced-bottom-0": "awsui_direction-button-wrapper-forced-bottom-0_155yk_ccv3v_196",
|
|
29
|
+
"direction-button-wrapper-forced-bottom-1": "awsui_direction-button-wrapper-forced-bottom-1_155yk_ccv3v_200",
|
|
30
|
+
"direction-button-wrapper-forced-bottom-2": "awsui_direction-button-wrapper-forced-bottom-2_155yk_ccv3v_204",
|
|
31
|
+
"direction-button-wrapper-forced-bottom-3": "awsui_direction-button-wrapper-forced-bottom-3_155yk_ccv3v_208",
|
|
32
|
+
"direction-button": "awsui_direction-button_155yk_ccv3v_29",
|
|
33
|
+
"direction-button-disabled": "awsui_direction-button-disabled_155yk_ccv3v_231"
|
|
34
34
|
};
|
|
35
35
|
|
|
@@ -10,27 +10,27 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
10
10
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
11
11
|
SPDX-License-Identifier: Apache-2.0
|
|
12
12
|
*/
|
|
13
|
-
@keyframes awsui_drag-handle-
|
|
13
|
+
@keyframes awsui_drag-handle-entry_155yk_ccv3v_1 {
|
|
14
14
|
from {
|
|
15
|
-
transform: translate(var(--awsui-drag-handle-animation-inline-offset-
|
|
15
|
+
transform: translate(var(--awsui-drag-handle-animation-inline-offset-8i8exb), var(--awsui-drag-handle-animation-block-offset-8i8exb));
|
|
16
16
|
}
|
|
17
17
|
to {
|
|
18
18
|
transform: translate(0, 0);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
@keyframes awsui_drag-handle-
|
|
21
|
+
@keyframes awsui_drag-handle-exit_155yk_ccv3v_1 {
|
|
22
22
|
from {
|
|
23
23
|
transform: translate(0, 0);
|
|
24
24
|
}
|
|
25
25
|
to {
|
|
26
|
-
transform: translate(var(--awsui-drag-handle-animation-inline-offset-
|
|
26
|
+
transform: translate(var(--awsui-drag-handle-animation-inline-offset-8i8exb), var(--awsui-drag-handle-animation-block-offset-8i8exb));
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
-
.awsui_direction-button-
|
|
30
|
-
--awsui-drag-handle-animation-inline-offset-
|
|
31
|
-
--awsui-drag-handle-animation-block-offset-
|
|
29
|
+
.awsui_direction-button-wrapper_155yk_ccv3v_29:not(#\9) {
|
|
30
|
+
--awsui-drag-handle-animation-inline-offset-8i8exb: 0;
|
|
31
|
+
--awsui-drag-handle-animation-block-offset-8i8exb: 0;
|
|
32
32
|
}
|
|
33
|
-
@keyframes awsui_awsui-motion-fade-
|
|
33
|
+
@keyframes awsui_awsui-motion-fade-in_155yk_ccv3v_1 {
|
|
34
34
|
from {
|
|
35
35
|
opacity: 0.2;
|
|
36
36
|
}
|
|
@@ -38,7 +38,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
38
38
|
opacity: 1;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
@keyframes awsui_awsui-motion-fade-out-
|
|
41
|
+
@keyframes awsui_awsui-motion-fade-out-0_155yk_ccv3v_1 {
|
|
42
42
|
from {
|
|
43
43
|
opacity: 1;
|
|
44
44
|
}
|
|
@@ -46,81 +46,81 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
46
46
|
opacity: 0;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
.awsui_direction-button-wrapper-motion-
|
|
49
|
+
.awsui_direction-button-wrapper-motion-enter_155yk_ccv3v_49:not(#\9), .awsui_direction-button-wrapper-motion-entering_155yk_ccv3v_49:not(#\9), .awsui_direction-button-wrapper-motion-exit_155yk_ccv3v_49:not(#\9), .awsui_direction-button-wrapper-motion-exiting_155yk_ccv3v_49:not(#\9) {
|
|
50
50
|
pointer-events: none;
|
|
51
51
|
}
|
|
52
|
-
.awsui_direction-button-wrapper-motion-
|
|
53
|
-
animation: awsui_drag-handle-
|
|
52
|
+
.awsui_direction-button-wrapper-motion-entering_155yk_ccv3v_49:not(#\9) {
|
|
53
|
+
animation: awsui_drag-handle-entry_155yk_ccv3v_1 var(--motion-duration-complex-n5wfwh, 270ms) var(--motion-easing-responsive-k7246o, ease-out), awsui_awsui-motion-fade-in_155yk_ccv3v_1 var(--motion-duration-complex-n5wfwh, 270ms) var(--motion-easing-responsive-k7246o, ease-out);
|
|
54
54
|
}
|
|
55
55
|
@media (prefers-reduced-motion: reduce) {
|
|
56
|
-
.awsui_direction-button-wrapper-motion-
|
|
56
|
+
.awsui_direction-button-wrapper-motion-entering_155yk_ccv3v_49:not(#\9) {
|
|
57
57
|
animation: none;
|
|
58
58
|
transition: none;
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
.awsui-motion-disabled .awsui_direction-button-wrapper-motion-
|
|
61
|
+
.awsui-motion-disabled .awsui_direction-button-wrapper-motion-entering_155yk_ccv3v_49:not(#\9), .awsui-mode-entering .awsui_direction-button-wrapper-motion-entering_155yk_ccv3v_49:not(#\9) {
|
|
62
62
|
animation: none;
|
|
63
63
|
transition: none;
|
|
64
64
|
}
|
|
65
|
-
.awsui_direction-button-wrapper-motion-
|
|
66
|
-
animation: awsui_drag-handle-
|
|
65
|
+
.awsui_direction-button-wrapper-motion-exiting_155yk_ccv3v_49:not(#\9) {
|
|
66
|
+
animation: awsui_drag-handle-exit_155yk_ccv3v_1 var(--motion-duration-complex-n5wfwh, 270ms) var(--motion-easing-responsive-k7246o, ease-out) forwards, awsui_awsui-motion-fade-out-0_155yk_ccv3v_1 var(--motion-duration-complex-n5wfwh, 270ms) var(--motion-easing-responsive-k7246o, ease-out) forwards;
|
|
67
67
|
}
|
|
68
68
|
@media (prefers-reduced-motion: reduce) {
|
|
69
|
-
.awsui_direction-button-wrapper-motion-
|
|
69
|
+
.awsui_direction-button-wrapper-motion-exiting_155yk_ccv3v_49:not(#\9) {
|
|
70
70
|
animation: none;
|
|
71
71
|
transition: none;
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
.awsui-motion-disabled .awsui_direction-button-wrapper-motion-
|
|
74
|
+
.awsui-motion-disabled .awsui_direction-button-wrapper-motion-exiting_155yk_ccv3v_49:not(#\9), .awsui-mode-entering .awsui_direction-button-wrapper-motion-exiting_155yk_ccv3v_49:not(#\9) {
|
|
75
75
|
animation: none;
|
|
76
76
|
transition: none;
|
|
77
77
|
}
|
|
78
78
|
@media (prefers-reduced-motion: reduce) {
|
|
79
|
-
.awsui_direction-button-
|
|
79
|
+
.awsui_direction-button-wrapper_155yk_ccv3v_29:not(#\9) {
|
|
80
80
|
animation: none;
|
|
81
81
|
transition: none;
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
|
-
.awsui-motion-disabled .awsui_direction-button-
|
|
84
|
+
.awsui-motion-disabled .awsui_direction-button-wrapper_155yk_ccv3v_29:not(#\9), .awsui-mode-entering .awsui_direction-button-wrapper_155yk_ccv3v_29:not(#\9) {
|
|
85
85
|
animation: none;
|
|
86
86
|
transition: none;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
.awsui_direction-button-wrapper-block-
|
|
90
|
-
--awsui-drag-handle-animation-block-offset-
|
|
89
|
+
.awsui_direction-button-wrapper-block-start_155yk_ccv3v_89:not(#\9) {
|
|
90
|
+
--awsui-drag-handle-animation-block-offset-8i8exb: 20px;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
.awsui_direction-button-wrapper-block-
|
|
94
|
-
--awsui-drag-handle-animation-block-offset-
|
|
93
|
+
.awsui_direction-button-wrapper-block-end_155yk_ccv3v_93:not(#\9) {
|
|
94
|
+
--awsui-drag-handle-animation-block-offset-8i8exb: -20px;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
.awsui_direction-button-wrapper-inline-
|
|
97
|
+
.awsui_direction-button-wrapper-inline-start_155yk_ccv3v_97:not(#\9) {
|
|
98
98
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
99
99
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
100
100
|
}
|
|
101
|
-
.awsui_direction-button-wrapper-inline-
|
|
102
|
-
--awsui-drag-handle-animation-inline-offset-
|
|
101
|
+
.awsui_direction-button-wrapper-inline-start_155yk_ccv3v_97:not(#\9):dir(ltr) {
|
|
102
|
+
--awsui-drag-handle-animation-inline-offset-8i8exb: 20px;
|
|
103
103
|
}
|
|
104
|
-
.awsui_direction-button-wrapper-inline-
|
|
105
|
-
--awsui-drag-handle-animation-inline-offset-
|
|
104
|
+
.awsui_direction-button-wrapper-inline-start_155yk_ccv3v_97:not(#\9):dir(rtl) {
|
|
105
|
+
--awsui-drag-handle-animation-inline-offset-8i8exb: -20px;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
.awsui_direction-button-wrapper-inline-
|
|
108
|
+
.awsui_direction-button-wrapper-inline-end_155yk_ccv3v_108:not(#\9) {
|
|
109
109
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
110
110
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
111
111
|
}
|
|
112
|
-
.awsui_direction-button-wrapper-inline-
|
|
113
|
-
--awsui-drag-handle-animation-inline-offset-
|
|
112
|
+
.awsui_direction-button-wrapper-inline-end_155yk_ccv3v_108:not(#\9):dir(ltr) {
|
|
113
|
+
--awsui-drag-handle-animation-inline-offset-8i8exb: -20px;
|
|
114
114
|
}
|
|
115
|
-
.awsui_direction-button-wrapper-inline-
|
|
116
|
-
--awsui-drag-handle-animation-inline-offset-
|
|
115
|
+
.awsui_direction-button-wrapper-inline-end_155yk_ccv3v_108:not(#\9):dir(rtl) {
|
|
116
|
+
--awsui-drag-handle-animation-inline-offset-8i8exb: 20px;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
.
|
|
119
|
+
.awsui_contents_155yk_ccv3v_119:not(#\9) {
|
|
120
120
|
display: contents;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
.awsui_portal-
|
|
123
|
+
.awsui_portal-overlay_155yk_ccv3v_123:not(#\9) {
|
|
124
124
|
position: absolute;
|
|
125
125
|
inset-block-start: 0;
|
|
126
126
|
inset-inline-start: 0;
|
|
@@ -128,20 +128,20 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
128
128
|
z-index: 7000;
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
.awsui_portal-overlay-
|
|
131
|
+
.awsui_portal-overlay-disabled_155yk_ccv3v_131:not(#\9) {
|
|
132
132
|
display: none;
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
.awsui_portal-overlay-
|
|
135
|
+
.awsui_portal-overlay-contents_155yk_ccv3v_135:not(#\9) {
|
|
136
136
|
pointer-events: auto;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
.awsui_drag-
|
|
139
|
+
.awsui_drag-handle_155yk_ccv3v_139:not(#\9) {
|
|
140
140
|
position: relative;
|
|
141
141
|
display: inline-flex;
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
.awsui_direction-button-
|
|
144
|
+
.awsui_direction-button-wrapper_155yk_ccv3v_29:not(#\9) {
|
|
145
145
|
position: absolute;
|
|
146
146
|
block-size: var(--space-static-xl-frcfkv, 24px);
|
|
147
147
|
inline-size: var(--space-static-xl-frcfkv, 24px);
|
|
@@ -149,67 +149,67 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
149
149
|
padding-inline: var(--space-static-xxs-vzto3j, 4px);
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
.awsui_direction-button-wrapper-
|
|
152
|
+
.awsui_direction-button-wrapper-hidden_155yk_ccv3v_152:not(#\9) {
|
|
153
153
|
display: none;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
.awsui_direction-button-wrapper-block-
|
|
156
|
+
.awsui_direction-button-wrapper-block-start_155yk_ccv3v_89:not(#\9) {
|
|
157
157
|
inset-block-start: calc(-1 * (var(--space-static-xl-frcfkv, 24px) + 2 * var(--space-static-xxs-vzto3j, 4px)));
|
|
158
158
|
inset-inline-start: calc(50% - (var(--space-static-xl-frcfkv, 24px) + 2 * var(--space-static-xxs-vzto3j, 4px)) / 2);
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
.awsui_direction-button-wrapper-block-
|
|
161
|
+
.awsui_direction-button-wrapper-block-end_155yk_ccv3v_93:not(#\9) {
|
|
162
162
|
inset-block-end: calc(-1 * (var(--space-static-xl-frcfkv, 24px) + 2 * var(--space-static-xxs-vzto3j, 4px)));
|
|
163
163
|
inset-inline-start: calc(50% - (var(--space-static-xl-frcfkv, 24px) + 2 * var(--space-static-xxs-vzto3j, 4px)) / 2);
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
.awsui_direction-button-wrapper-inline-
|
|
166
|
+
.awsui_direction-button-wrapper-inline-start_155yk_ccv3v_97:not(#\9) {
|
|
167
167
|
inset-inline-start: calc(-1 * (var(--space-static-xl-frcfkv, 24px) + 2 * var(--space-static-xxs-vzto3j, 4px)));
|
|
168
168
|
inset-block-start: calc(50% - (var(--space-static-xl-frcfkv, 24px) + 2 * var(--space-static-xxs-vzto3j, 4px)) / 2);
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
.awsui_direction-button-wrapper-inline-
|
|
171
|
+
.awsui_direction-button-wrapper-inline-end_155yk_ccv3v_108:not(#\9) {
|
|
172
172
|
inset-inline-end: calc(-1 * (var(--space-static-xl-frcfkv, 24px) + 2 * var(--space-static-xxs-vzto3j, 4px)));
|
|
173
173
|
inset-block-start: calc(50% - (var(--space-static-xl-frcfkv, 24px) + 2 * var(--space-static-xxs-vzto3j, 4px)) / 2);
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
-
.awsui_direction-button-wrapper-
|
|
176
|
+
.awsui_direction-button-wrapper-forced_155yk_ccv3v_176:not(#\9) {
|
|
177
177
|
inset-inline-start: calc(50% - (var(--space-static-xl-frcfkv, 24px) + 2 * var(--space-static-xxs-vzto3j, 4px)) / 2);
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
.awsui_direction-button-wrapper-forced-top-
|
|
180
|
+
.awsui_direction-button-wrapper-forced-top-0_155yk_ccv3v_180:not(#\9) {
|
|
181
181
|
inset-block-start: calc(-1 * (var(--space-static-xl-frcfkv, 24px) + 2 * var(--space-static-xxs-vzto3j, 4px)));
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
.awsui_direction-button-wrapper-forced-top-
|
|
184
|
+
.awsui_direction-button-wrapper-forced-top-1_155yk_ccv3v_184:not(#\9) {
|
|
185
185
|
inset-block-start: calc(-2 * (var(--space-static-xl-frcfkv, 24px) + 2 * var(--space-static-xxs-vzto3j, 4px)));
|
|
186
186
|
}
|
|
187
187
|
|
|
188
|
-
.awsui_direction-button-wrapper-forced-top-
|
|
188
|
+
.awsui_direction-button-wrapper-forced-top-2_155yk_ccv3v_188:not(#\9) {
|
|
189
189
|
inset-block-start: calc(-3 * (var(--space-static-xl-frcfkv, 24px) + 2 * var(--space-static-xxs-vzto3j, 4px)));
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
-
.awsui_direction-button-wrapper-forced-top-
|
|
192
|
+
.awsui_direction-button-wrapper-forced-top-3_155yk_ccv3v_192:not(#\9) {
|
|
193
193
|
inset-block-start: calc(-4 * (var(--space-static-xl-frcfkv, 24px) + 2 * var(--space-static-xxs-vzto3j, 4px)));
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
.awsui_direction-button-wrapper-forced-bottom-
|
|
196
|
+
.awsui_direction-button-wrapper-forced-bottom-0_155yk_ccv3v_196:not(#\9) {
|
|
197
197
|
inset-block-start: calc(1 * (var(--space-static-xl-frcfkv, 24px) + 2 * var(--space-static-xxs-vzto3j, 4px)));
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
.awsui_direction-button-wrapper-forced-bottom-
|
|
200
|
+
.awsui_direction-button-wrapper-forced-bottom-1_155yk_ccv3v_200:not(#\9) {
|
|
201
201
|
inset-block-start: calc(2 * (var(--space-static-xl-frcfkv, 24px) + 2 * var(--space-static-xxs-vzto3j, 4px)));
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
-
.awsui_direction-button-wrapper-forced-bottom-
|
|
204
|
+
.awsui_direction-button-wrapper-forced-bottom-2_155yk_ccv3v_204:not(#\9) {
|
|
205
205
|
inset-block-start: calc(3 * (var(--space-static-xl-frcfkv, 24px) + 2 * var(--space-static-xxs-vzto3j, 4px)));
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
.awsui_direction-button-wrapper-forced-bottom-
|
|
208
|
+
.awsui_direction-button-wrapper-forced-bottom-3_155yk_ccv3v_208:not(#\9) {
|
|
209
209
|
inset-block-start: calc(4 * (var(--space-static-xl-frcfkv, 24px) + 2 * var(--space-static-xxs-vzto3j, 4px)));
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
.awsui_direction-
|
|
212
|
+
.awsui_direction-button_155yk_ccv3v_29:not(#\9) {
|
|
213
213
|
position: absolute;
|
|
214
214
|
border-width: 0;
|
|
215
215
|
cursor: pointer;
|
|
@@ -228,14 +228,14 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
228
228
|
color: var(--color-text-direction-button-default-rvsx02, #ffffff);
|
|
229
229
|
box-shadow: var(--shadow-dropdown-ogwesf, 0 1px 1px 0 rgba(0, 28, 36, 0.3), 1px 1px 1px 0 rgba(0, 28, 36, 0.15), -1px 1px 1px 0 rgba(0, 28, 36, 0.15));
|
|
230
230
|
}
|
|
231
|
-
.awsui_direction-
|
|
231
|
+
.awsui_direction-button_155yk_ccv3v_29:not(#\9):not(.awsui_direction-button-disabled_155yk_ccv3v_231):hover {
|
|
232
232
|
background-color: var(--color-background-direction-button-hover-ixmpit, #414750);
|
|
233
233
|
}
|
|
234
|
-
.awsui_direction-
|
|
234
|
+
.awsui_direction-button_155yk_ccv3v_29:not(#\9):not(.awsui_direction-button-disabled_155yk_ccv3v_231):active {
|
|
235
235
|
background-color: var(--color-background-direction-button-active-ilpypx, #2a2e33);
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
-
.awsui_direction-button-
|
|
238
|
+
.awsui_direction-button-disabled_155yk_ccv3v_231:not(#\9) {
|
|
239
239
|
cursor: default;
|
|
240
240
|
background-color: var(--color-background-direction-button-disabled-p1avil, #eaeded);
|
|
241
241
|
color: var(--color-text-direction-button-disabled-qzn64l, #aab7b8);
|
|
@@ -2,35 +2,35 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"direction-button-wrapper": "awsui_direction-button-
|
|
6
|
-
"direction-button-wrapper-motion-enter": "awsui_direction-button-wrapper-motion-
|
|
7
|
-
"direction-button-wrapper-motion-entering": "awsui_direction-button-wrapper-motion-
|
|
8
|
-
"direction-button-wrapper-motion-exit": "awsui_direction-button-wrapper-motion-
|
|
9
|
-
"direction-button-wrapper-motion-exiting": "awsui_direction-button-wrapper-motion-
|
|
10
|
-
"drag-handle-entry": "awsui_drag-handle-
|
|
11
|
-
"awsui-motion-fade-in": "awsui_awsui-motion-fade-
|
|
12
|
-
"drag-handle-exit": "awsui_drag-handle-
|
|
13
|
-
"awsui-motion-fade-out-0": "awsui_awsui-motion-fade-out-
|
|
14
|
-
"direction-button-wrapper-block-start": "awsui_direction-button-wrapper-block-
|
|
15
|
-
"direction-button-wrapper-block-end": "awsui_direction-button-wrapper-block-
|
|
16
|
-
"direction-button-wrapper-inline-start": "awsui_direction-button-wrapper-inline-
|
|
17
|
-
"direction-button-wrapper-inline-end": "awsui_direction-button-wrapper-inline-
|
|
18
|
-
"contents": "
|
|
19
|
-
"portal-overlay": "awsui_portal-
|
|
20
|
-
"portal-overlay-disabled": "awsui_portal-overlay-
|
|
21
|
-
"portal-overlay-contents": "awsui_portal-overlay-
|
|
22
|
-
"drag-handle": "awsui_drag-
|
|
23
|
-
"direction-button-wrapper-hidden": "awsui_direction-button-wrapper-
|
|
24
|
-
"direction-button-wrapper-forced": "awsui_direction-button-wrapper-
|
|
25
|
-
"direction-button-wrapper-forced-top-0": "awsui_direction-button-wrapper-forced-top-
|
|
26
|
-
"direction-button-wrapper-forced-top-1": "awsui_direction-button-wrapper-forced-top-
|
|
27
|
-
"direction-button-wrapper-forced-top-2": "awsui_direction-button-wrapper-forced-top-
|
|
28
|
-
"direction-button-wrapper-forced-top-3": "awsui_direction-button-wrapper-forced-top-
|
|
29
|
-
"direction-button-wrapper-forced-bottom-0": "awsui_direction-button-wrapper-forced-bottom-
|
|
30
|
-
"direction-button-wrapper-forced-bottom-1": "awsui_direction-button-wrapper-forced-bottom-
|
|
31
|
-
"direction-button-wrapper-forced-bottom-2": "awsui_direction-button-wrapper-forced-bottom-
|
|
32
|
-
"direction-button-wrapper-forced-bottom-3": "awsui_direction-button-wrapper-forced-bottom-
|
|
33
|
-
"direction-button": "awsui_direction-
|
|
34
|
-
"direction-button-disabled": "awsui_direction-button-
|
|
5
|
+
"direction-button-wrapper": "awsui_direction-button-wrapper_155yk_ccv3v_29",
|
|
6
|
+
"direction-button-wrapper-motion-enter": "awsui_direction-button-wrapper-motion-enter_155yk_ccv3v_49",
|
|
7
|
+
"direction-button-wrapper-motion-entering": "awsui_direction-button-wrapper-motion-entering_155yk_ccv3v_49",
|
|
8
|
+
"direction-button-wrapper-motion-exit": "awsui_direction-button-wrapper-motion-exit_155yk_ccv3v_49",
|
|
9
|
+
"direction-button-wrapper-motion-exiting": "awsui_direction-button-wrapper-motion-exiting_155yk_ccv3v_49",
|
|
10
|
+
"drag-handle-entry": "awsui_drag-handle-entry_155yk_ccv3v_1",
|
|
11
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_155yk_ccv3v_1",
|
|
12
|
+
"drag-handle-exit": "awsui_drag-handle-exit_155yk_ccv3v_1",
|
|
13
|
+
"awsui-motion-fade-out-0": "awsui_awsui-motion-fade-out-0_155yk_ccv3v_1",
|
|
14
|
+
"direction-button-wrapper-block-start": "awsui_direction-button-wrapper-block-start_155yk_ccv3v_89",
|
|
15
|
+
"direction-button-wrapper-block-end": "awsui_direction-button-wrapper-block-end_155yk_ccv3v_93",
|
|
16
|
+
"direction-button-wrapper-inline-start": "awsui_direction-button-wrapper-inline-start_155yk_ccv3v_97",
|
|
17
|
+
"direction-button-wrapper-inline-end": "awsui_direction-button-wrapper-inline-end_155yk_ccv3v_108",
|
|
18
|
+
"contents": "awsui_contents_155yk_ccv3v_119",
|
|
19
|
+
"portal-overlay": "awsui_portal-overlay_155yk_ccv3v_123",
|
|
20
|
+
"portal-overlay-disabled": "awsui_portal-overlay-disabled_155yk_ccv3v_131",
|
|
21
|
+
"portal-overlay-contents": "awsui_portal-overlay-contents_155yk_ccv3v_135",
|
|
22
|
+
"drag-handle": "awsui_drag-handle_155yk_ccv3v_139",
|
|
23
|
+
"direction-button-wrapper-hidden": "awsui_direction-button-wrapper-hidden_155yk_ccv3v_152",
|
|
24
|
+
"direction-button-wrapper-forced": "awsui_direction-button-wrapper-forced_155yk_ccv3v_176",
|
|
25
|
+
"direction-button-wrapper-forced-top-0": "awsui_direction-button-wrapper-forced-top-0_155yk_ccv3v_180",
|
|
26
|
+
"direction-button-wrapper-forced-top-1": "awsui_direction-button-wrapper-forced-top-1_155yk_ccv3v_184",
|
|
27
|
+
"direction-button-wrapper-forced-top-2": "awsui_direction-button-wrapper-forced-top-2_155yk_ccv3v_188",
|
|
28
|
+
"direction-button-wrapper-forced-top-3": "awsui_direction-button-wrapper-forced-top-3_155yk_ccv3v_192",
|
|
29
|
+
"direction-button-wrapper-forced-bottom-0": "awsui_direction-button-wrapper-forced-bottom-0_155yk_ccv3v_196",
|
|
30
|
+
"direction-button-wrapper-forced-bottom-1": "awsui_direction-button-wrapper-forced-bottom-1_155yk_ccv3v_200",
|
|
31
|
+
"direction-button-wrapper-forced-bottom-2": "awsui_direction-button-wrapper-forced-bottom-2_155yk_ccv3v_204",
|
|
32
|
+
"direction-button-wrapper-forced-bottom-3": "awsui_direction-button-wrapper-forced-bottom-3_155yk_ccv3v_208",
|
|
33
|
+
"direction-button": "awsui_direction-button_155yk_ccv3v_29",
|
|
34
|
+
"direction-button-disabled": "awsui_direction-button-disabled_155yk_ccv3v_231"
|
|
35
35
|
};
|
|
36
36
|
|
|
@@ -18,11 +18,16 @@ export interface DropdownStatusPropsExtended extends DropdownStatusProps {
|
|
|
18
18
|
* in case recoveryText was automatically provided by i18n.
|
|
19
19
|
*/
|
|
20
20
|
hasRecoveryCallback?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Optional `id` for the recovery button, so that it can be referenced
|
|
23
|
+
* through `aria-activedescendant` while focus stays in a filter input.
|
|
24
|
+
*/
|
|
25
|
+
recoveryButtonId?: string;
|
|
21
26
|
}
|
|
22
27
|
declare function DropdownStatus({ children }: {
|
|
23
28
|
children: React.ReactNode;
|
|
24
29
|
}): JSX.Element;
|
|
25
|
-
type UseDropdownStatus = ({ statusType, empty, loadingText, finishedText, filteringResultsText, errorText, recoveryText, isEmpty, isNoMatch, noMatch, hasRecoveryCallback, onRecoveryClick, }: DropdownStatusPropsExtended) => DropdownStatusResult;
|
|
30
|
+
type UseDropdownStatus = ({ statusType, empty, loadingText, finishedText, filteringResultsText, errorText, recoveryText, isEmpty, isNoMatch, noMatch, hasRecoveryCallback, onRecoveryClick, recoveryButtonId, }: DropdownStatusPropsExtended) => DropdownStatusResult;
|
|
26
31
|
export interface DropdownStatusResult {
|
|
27
32
|
isSticky: boolean;
|
|
28
33
|
content: React.ReactNode | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/dropdown-status/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAMlE,MAAM,WAAW,2BAA4B,SAAQ,mBAAmB;IACtE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;;;OAKG;IACH,eAAe,CAAC,EAAE,yBAAyB,CAAC;IAC5C;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/dropdown-status/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAMlE,MAAM,WAAW,2BAA4B,SAAQ,mBAAmB;IACtE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;;;OAKG;IACH,eAAe,CAAC,EAAE,yBAAyB,CAAC;IAC5C;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,iBAAS,cAAc,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,eAElE;AAED,KAAK,iBAAiB,GAAG,CAAC,EACxB,UAAU,EACV,KAAK,EACL,WAAW,EACX,YAAY,EACZ,oBAAoB,EACpB,SAAS,EACT,YAAY,EACZ,OAAO,EACP,SAAS,EACT,OAAO,EACP,mBAAmB,EACnB,eAAe,EACf,gBAAgB,GACjB,EAAE,2BAA2B,KAAK,oBAAoB,CAAC;AAExD,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC;IAChC,iBAAiB,EAAE,OAAO,CAAC;CAC5B;AAED,eAAO,MAAM,iBAAiB,EAAE,iBAyD/B,CAAC;AAEF,eAAe,cAAc,CAAC;AAG9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC"}
|
|
@@ -9,7 +9,7 @@ import styles from './styles.css.js';
|
|
|
9
9
|
function DropdownStatus({ children }) {
|
|
10
10
|
return React.createElement("div", { className: styles.root }, children);
|
|
11
11
|
}
|
|
12
|
-
export const useDropdownStatus = ({ statusType, empty, loadingText, finishedText, filteringResultsText, errorText, recoveryText, isEmpty, isNoMatch, noMatch, onRecoveryClick, hasRecoveryCallback = false, errorIconAriaLabel, }) => {
|
|
12
|
+
export const useDropdownStatus = ({ statusType, empty, loadingText, finishedText, filteringResultsText, errorText, recoveryText, isEmpty, isNoMatch, noMatch, onRecoveryClick, hasRecoveryCallback = false, errorIconAriaLabel, recoveryButtonId, }) => {
|
|
13
13
|
const previousStatusType = usePrevious(statusType);
|
|
14
14
|
const statusResult = { isSticky: true, content: null, hasRecoveryButton: false };
|
|
15
15
|
if (statusType === 'loading') {
|
|
@@ -20,7 +20,7 @@ export const useDropdownStatus = ({ statusType, empty, loadingText, finishedText
|
|
|
20
20
|
statusResult.content = (React.createElement("span", null,
|
|
21
21
|
React.createElement(InternalStatusIndicator, { type: "error", __display: "inline", __animate: previousStatusType !== 'error', iconAriaLabel: errorIconAriaLabel }, errorText),
|
|
22
22
|
' ',
|
|
23
|
-
statusResult.hasRecoveryButton && (React.createElement(InternalLink, { onFollow: () => fireNonCancelableEvent(onRecoveryClick), variant: "recovery", className: styles.recovery }, recoveryText))));
|
|
23
|
+
statusResult.hasRecoveryButton && (React.createElement(InternalLink, { id: recoveryButtonId, onFollow: () => fireNonCancelableEvent(onRecoveryClick), variant: "recovery", className: styles.recovery }, recoveryText))));
|
|
24
24
|
}
|
|
25
25
|
else if (isEmpty && empty) {
|
|
26
26
|
statusResult.content = empty;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/components/dropdown-status/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,YAAY,MAAM,wBAAwB,CAAC;AAClD,OAAO,uBAAuB,MAAM,oCAAoC,CAAC;AAGzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,OAAO,MAAM,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/components/dropdown-status/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,YAAY,MAAM,wBAAwB,CAAC;AAClD,OAAO,uBAAuB,MAAM,oCAAoC,CAAC;AAGzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AA0BrC,SAAS,cAAc,CAAC,EAAE,QAAQ,EAAiC;IACjE,OAAO,6BAAK,SAAS,EAAE,MAAM,CAAC,IAAI,IAAG,QAAQ,CAAO,CAAC;AACvD,CAAC;AAwBD,MAAM,CAAC,MAAM,iBAAiB,GAAsB,CAAC,EACnD,UAAU,EACV,KAAK,EACL,WAAW,EACX,YAAY,EACZ,oBAAoB,EACpB,SAAS,EACT,YAAY,EACZ,OAAO,EACP,SAAS,EACT,OAAO,EACP,eAAe,EACf,mBAAmB,GAAG,KAAK,EAC3B,kBAAkB,EAClB,gBAAgB,GACjB,EAAwB,EAAE;IACzB,MAAM,kBAAkB,GAAG,WAAW,CAAC,UAAU,CAAC,CAAC;IACnD,MAAM,YAAY,GAAyB,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,iBAAiB,EAAE,KAAK,EAAE,CAAC;IAEvG,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;QAC7B,YAAY,CAAC,OAAO,GAAG,oBAAC,uBAAuB,IAAC,IAAI,EAAE,SAAS,IAAG,WAAW,CAA2B,CAAC;IAC3G,CAAC;SAAM,IAAI,UAAU,KAAK,OAAO,EAAE,CAAC;QAClC,YAAY,CAAC,iBAAiB,GAAG,CAAC,CAAC,YAAY,IAAI,mBAAmB,CAAC;QACvE,YAAY,CAAC,OAAO,GAAG,CACrB;YACE,oBAAC,uBAAuB,IACtB,IAAI,EAAC,OAAO,EACZ,SAAS,EAAC,QAAQ,EAClB,SAAS,EAAE,kBAAkB,KAAK,OAAO,EACzC,aAAa,EAAE,kBAAkB,IAEhC,SAAS,CACc;YAAC,GAAG;YAC7B,YAAY,CAAC,iBAAiB,IAAI,CACjC,oBAAC,YAAY,IACX,EAAE,EAAE,gBAAgB,EACpB,QAAQ,EAAE,GAAG,EAAE,CAAC,sBAAsB,CAAC,eAAe,CAAC,EACvD,OAAO,EAAC,UAAU,EAClB,SAAS,EAAE,MAAM,CAAC,QAAQ,IAEzB,YAAY,CACA,CAChB,CACI,CACR,CAAC;IACJ,CAAC;SAAM,IAAI,OAAO,IAAI,KAAK,EAAE,CAAC;QAC5B,YAAY,CAAC,OAAO,GAAG,KAAK,CAAC;IAC/B,CAAC;SAAM,IAAI,SAAS,IAAI,OAAO,EAAE,CAAC;QAChC,YAAY,CAAC,OAAO,GAAG,OAAO,CAAC;IACjC,CAAC;SAAM,IAAI,oBAAoB,EAAE,CAAC;QAChC,YAAY,CAAC,OAAO,GAAG,oBAAoB,CAAC;IAC9C,CAAC;SAAM,IAAI,UAAU,KAAK,UAAU,IAAI,YAAY,EAAE,CAAC;QACrD,YAAY,CAAC,OAAO,GAAG,YAAY,CAAC;QACpC,YAAY,CAAC,QAAQ,GAAG,KAAK,CAAC;IAChC,CAAC;IAED,OAAO,YAAY,CAAC;AACtB,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\n\nimport InternalLink from '../../../link/internal';\nimport InternalStatusIndicator from '../../../status-indicator/internal';\nimport { DropdownStatusProps } from '../../../types/dropdown-status';\nimport { NonCancelableEventHandler } from '../../../types/events';\nimport { fireNonCancelableEvent } from '../../events';\nimport { usePrevious } from '../../hooks/use-previous';\n\nimport styles from './styles.css.js';\n\nexport interface DropdownStatusPropsExtended extends DropdownStatusProps {\n isEmpty?: boolean;\n isNoMatch?: boolean;\n noMatch?: React.ReactNode;\n filteringResultsText?: string;\n /**\n * Called when the user clicks the recovery button placed at the\n * bottom of the dropdown list in the error state. Use this to\n * retry a failed request or provide another option for the user\n * to recover from the error.\n */\n onRecoveryClick?: NonCancelableEventHandler;\n /**\n * Determines if retry button should be rendered\n * in case recoveryText was automatically provided by i18n.\n */\n hasRecoveryCallback?: boolean;\n /**\n * Optional `id` for the recovery button, so that it can be referenced\n * through `aria-activedescendant` while focus stays in a filter input.\n */\n recoveryButtonId?: string;\n}\n\nfunction DropdownStatus({ children }: { children: React.ReactNode }) {\n return <div className={styles.root}>{children}</div>;\n}\n\ntype UseDropdownStatus = ({\n statusType,\n empty,\n loadingText,\n finishedText,\n filteringResultsText,\n errorText,\n recoveryText,\n isEmpty,\n isNoMatch,\n noMatch,\n hasRecoveryCallback,\n onRecoveryClick,\n recoveryButtonId,\n}: DropdownStatusPropsExtended) => DropdownStatusResult;\n\nexport interface DropdownStatusResult {\n isSticky: boolean;\n content: React.ReactNode | null;\n hasRecoveryButton: boolean;\n}\n\nexport const useDropdownStatus: UseDropdownStatus = ({\n statusType,\n empty,\n loadingText,\n finishedText,\n filteringResultsText,\n errorText,\n recoveryText,\n isEmpty,\n isNoMatch,\n noMatch,\n onRecoveryClick,\n hasRecoveryCallback = false,\n errorIconAriaLabel,\n recoveryButtonId,\n}): DropdownStatusResult => {\n const previousStatusType = usePrevious(statusType);\n const statusResult: DropdownStatusResult = { isSticky: true, content: null, hasRecoveryButton: false };\n\n if (statusType === 'loading') {\n statusResult.content = <InternalStatusIndicator type={'loading'}>{loadingText}</InternalStatusIndicator>;\n } else if (statusType === 'error') {\n statusResult.hasRecoveryButton = !!recoveryText && hasRecoveryCallback;\n statusResult.content = (\n <span>\n <InternalStatusIndicator\n type=\"error\"\n __display=\"inline\"\n __animate={previousStatusType !== 'error'}\n iconAriaLabel={errorIconAriaLabel}\n >\n {errorText}\n </InternalStatusIndicator>{' '}\n {statusResult.hasRecoveryButton && (\n <InternalLink\n id={recoveryButtonId}\n onFollow={() => fireNonCancelableEvent(onRecoveryClick)}\n variant=\"recovery\"\n className={styles.recovery}\n >\n {recoveryText}\n </InternalLink>\n )}\n </span>\n );\n } else if (isEmpty && empty) {\n statusResult.content = empty;\n } else if (isNoMatch && noMatch) {\n statusResult.content = noMatch;\n } else if (filteringResultsText) {\n statusResult.content = filteringResultsText;\n } else if (statusType === 'finished' && finishedText) {\n statusResult.content = finishedText;\n statusResult.isSticky = false;\n }\n\n return statusResult;\n};\n\nexport default DropdownStatus;\n\n// Backward-compatibility re-export for consumers importing this public type from the internal path.\nexport { DropdownStatusProps } from '../../../types/dropdown-status';\n"]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { OptionDefinition } from '../../../../types/option';
|
|
2
|
+
import { DropdownOption } from '../../option/interfaces';
|
|
3
|
+
export type SelectionType = 'single' | 'multi';
|
|
4
|
+
export interface GroupState {
|
|
5
|
+
selected: boolean;
|
|
6
|
+
indeterminate: boolean;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Describes how a list selects options. Implementations are pure functions of their inputs.
|
|
10
|
+
*/
|
|
11
|
+
export interface SelectionModel {
|
|
12
|
+
/** Drives aria-multiselectable and the row style. */
|
|
13
|
+
selectionType: SelectionType;
|
|
14
|
+
/** Whether group headers (and select-all) can be highlighted and chosen. */
|
|
15
|
+
interactiveGroups: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* The selected options. Rows are matched to them by `value` (the first option with a matching value wins),
|
|
18
|
+
* so this is the single source of truth for which rows render as selected.
|
|
19
|
+
*/
|
|
20
|
+
selectedOptions: ReadonlyArray<OptionDefinition>;
|
|
21
|
+
/** The checkbox state of a group header or select-all row. Other options are neither selected nor indeterminate. */
|
|
22
|
+
getGroupState(option: DropdownOption): GroupState;
|
|
23
|
+
/**
|
|
24
|
+
* Returns the selection that results from the user choosing `option`.
|
|
25
|
+
* Does not check whether `option` is disabled, read-only or non-interactive; callers must do that first.
|
|
26
|
+
*/
|
|
27
|
+
getNextSelection(option: DropdownOption): ReadonlyArray<OptionDefinition>;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=interfaces.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/components/listbox/selection/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAEzD,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE/C,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,OAAO,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,qDAAqD;IACrD,aAAa,EAAE,aAAa,CAAC;IAC7B,4EAA4E;IAC5E,iBAAiB,EAAE,OAAO,CAAC;IAC3B;;;OAGG;IACH,eAAe,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;IAEjD,oHAAoH;IACpH,aAAa,CAAC,MAAM,EAAE,cAAc,GAAG,UAAU,CAAC;IAClD;;;OAGG;IACH,gBAAgB,CAAC,MAAM,EAAE,cAAc,GAAG,aAAa,CAAC,gBAAgB,CAAC,CAAC;CAC3E"}
|