@cloudscape-design/components 3.0.1407 → 3.0.1409
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 +27 -27
- package/alert/styles.scoped.css +55 -53
- package/alert/styles.selectors.js +27 -27
- package/annotation-context/annotation/styles.css.js +13 -13
- package/annotation-context/annotation/styles.scoped.css +21 -21
- package/annotation-context/annotation/styles.selectors.js +13 -13
- package/app-layout/notifications/styles.css.js +3 -3
- package/app-layout/notifications/styles.scoped.css +7 -7
- package/app-layout/notifications/styles.selectors.js +3 -3
- package/app-layout/visual-refresh/styles.css.js +86 -86
- package/app-layout/visual-refresh/styles.scoped.css +258 -258
- package/app-layout/visual-refresh/styles.selectors.js +86 -86
- package/app-layout/visual-refresh-toolbar/drawer/styles.css.js +32 -32
- package/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +89 -89
- package/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +32 -32
- package/app-layout/visual-refresh-toolbar/navigation/styles.css.js +6 -6
- package/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +13 -13
- package/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +6 -6
- package/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +30 -30
- package/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +68 -68
- package/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +30 -30
- package/attribute-editor/styles.css.js +15 -15
- package/attribute-editor/styles.scoped.css +28 -28
- package/attribute-editor/styles.selectors.js +15 -15
- package/breadcrumb-group/item/styles.css.js +7 -7
- package/breadcrumb-group/item/styles.scoped.css +28 -28
- package/breadcrumb-group/item/styles.selectors.js +7 -7
- package/button/styles.css.js +24 -24
- package/button/styles.scoped.css +327 -327
- package/button/styles.selectors.js +24 -24
- package/button-dropdown/category-elements/expandable-category-element.d.ts +4 -1
- package/button-dropdown/category-elements/expandable-category-element.d.ts.map +1 -1
- package/button-dropdown/category-elements/expandable-category-element.js +18 -3
- package/button-dropdown/category-elements/expandable-category-element.js.map +1 -1
- package/button-dropdown/category-elements/mobile-expandable-category-element.d.ts +4 -1
- package/button-dropdown/category-elements/mobile-expandable-category-element.d.ts.map +1 -1
- package/button-dropdown/category-elements/mobile-expandable-category-element.js +23 -3
- package/button-dropdown/category-elements/mobile-expandable-category-element.js.map +1 -1
- package/button-dropdown/category-elements/use-expandable-group-status.d.ts +34 -0
- package/button-dropdown/category-elements/use-expandable-group-status.d.ts.map +1 -0
- package/button-dropdown/category-elements/use-expandable-group-status.js +59 -0
- package/button-dropdown/category-elements/use-expandable-group-status.js.map +1 -0
- package/button-dropdown/filter.d.ts +1 -1
- package/button-dropdown/filter.d.ts.map +1 -1
- package/button-dropdown/index.d.ts.map +1 -1
- package/button-dropdown/index.js +3 -3
- package/button-dropdown/index.js.map +1 -1
- package/button-dropdown/interfaces.d.ts +110 -8
- package/button-dropdown/interfaces.d.ts.map +1 -1
- package/button-dropdown/interfaces.js.map +1 -1
- package/button-dropdown/internal-interfaces.d.ts +20 -0
- package/button-dropdown/internal-interfaces.d.ts.map +1 -1
- package/button-dropdown/internal-interfaces.js.map +1 -1
- package/button-dropdown/internal.d.ts.map +1 -1
- package/button-dropdown/internal.js +149 -16
- package/button-dropdown/internal.js.map +1 -1
- package/button-dropdown/item-element/styles.css.js +21 -21
- package/button-dropdown/item-element/styles.scoped.css +37 -37
- package/button-dropdown/item-element/styles.selectors.js +21 -21
- package/button-dropdown/items-list.d.ts +4 -1
- package/button-dropdown/items-list.d.ts.map +1 -1
- package/button-dropdown/items-list.js +2 -2
- package/button-dropdown/items-list.js.map +1 -1
- package/button-dropdown/status-footer.d.ts +16 -0
- package/button-dropdown/status-footer.d.ts.map +1 -0
- package/button-dropdown/status-footer.js +23 -0
- package/button-dropdown/status-footer.js.map +1 -0
- package/button-dropdown/styles.css.js +23 -23
- package/button-dropdown/styles.scoped.css +34 -31
- package/button-dropdown/styles.selectors.js +23 -23
- package/button-dropdown/test-classes/styles.css.js +7 -0
- package/button-dropdown/test-classes/styles.scoped.css +11 -0
- package/button-dropdown/test-classes/styles.selectors.js +8 -0
- package/button-dropdown/utils/use-button-dropdown.d.ts +31 -2
- package/button-dropdown/utils/use-button-dropdown.d.ts.map +1 -1
- package/button-dropdown/utils/use-button-dropdown.js +62 -7
- package/button-dropdown/utils/use-button-dropdown.js.map +1 -1
- package/button-dropdown/utils/use-highlighted-menu.d.ts +2 -0
- package/button-dropdown/utils/use-highlighted-menu.d.ts.map +1 -1
- package/button-dropdown/utils/use-highlighted-menu.js +7 -0
- package/button-dropdown/utils/use-highlighted-menu.js.map +1 -1
- package/button-dropdown/utils/use-load-items.d.ts +17 -0
- package/button-dropdown/utils/use-load-items.d.ts.map +1 -0
- package/button-dropdown/utils/use-load-items.js +23 -0
- package/button-dropdown/utils/use-load-items.js.map +1 -0
- package/button-group/copy-to-clipboard-item.d.ts +1 -0
- package/button-group/copy-to-clipboard-item.d.ts.map +1 -1
- package/button-group/copy-to-clipboard-item.js +2 -2
- package/button-group/copy-to-clipboard-item.js.map +1 -1
- package/button-group/file-input-item.d.ts +1 -0
- package/button-group/file-input-item.d.ts.map +1 -1
- package/button-group/file-input-item.js +2 -2
- package/button-group/file-input-item.js.map +1 -1
- package/button-group/icon-button-item.d.ts +1 -0
- package/button-group/icon-button-item.d.ts.map +1 -1
- package/button-group/icon-button-item.js +2 -2
- package/button-group/icon-button-item.js.map +1 -1
- package/button-group/icon-toggle-button-item.d.ts +1 -0
- package/button-group/icon-toggle-button-item.d.ts.map +1 -1
- package/button-group/icon-toggle-button-item.js +2 -2
- package/button-group/icon-toggle-button-item.js.map +1 -1
- package/button-group/index.d.ts.map +1 -1
- package/button-group/index.js +1 -1
- package/button-group/index.js.map +1 -1
- package/button-group/internal-interfaces.d.ts +8 -0
- package/button-group/internal-interfaces.d.ts.map +1 -1
- package/button-group/internal-interfaces.js.map +1 -1
- package/button-group/internal.d.ts.map +1 -1
- package/button-group/internal.js +3 -3
- package/button-group/internal.js.map +1 -1
- package/button-group/item-element.d.ts +2 -0
- package/button-group/item-element.d.ts.map +1 -1
- package/button-group/item-element.js +7 -6
- package/button-group/item-element.js.map +1 -1
- package/button-group/menu-dropdown-item.d.ts +2 -0
- package/button-group/menu-dropdown-item.d.ts.map +1 -1
- package/button-group/menu-dropdown-item.js +3 -3
- package/button-group/menu-dropdown-item.js.map +1 -1
- package/button-group/styles.css.js +4 -4
- package/button-group/styles.scoped.css +19 -6
- package/button-group/styles.selectors.js +4 -4
- package/cards/styles.css.js +39 -39
- package/cards/styles.scoped.css +41 -41
- package/cards/styles.selectors.js +39 -39
- package/checkbox/styles.css.js +3 -3
- package/checkbox/styles.scoped.css +10 -10
- package/checkbox/styles.selectors.js +3 -3
- package/column-layout/internal.d.ts.map +1 -1
- package/column-layout/internal.js +12 -0
- package/column-layout/internal.js.map +1 -1
- package/container/internal.d.ts +11 -0
- package/container/internal.d.ts.map +1 -1
- package/container/internal.js +7 -4
- package/container/internal.js.map +1 -1
- package/container/styles.css.js +33 -34
- package/container/styles.scoped.css +140 -94
- package/container/styles.selectors.js +33 -34
- package/content-layout/styles.css.js +14 -14
- package/content-layout/styles.scoped.css +27 -27
- package/content-layout/styles.selectors.js +14 -14
- package/control-group/styles.css.js +27 -27
- package/control-group/styles.scoped.css +28 -28
- package/control-group/styles.selectors.js +27 -27
- package/copy-to-clipboard/index.d.ts.map +1 -1
- package/copy-to-clipboard/index.js +1 -1
- package/copy-to-clipboard/index.js.map +1 -1
- package/copy-to-clipboard/internal.d.ts +9 -1
- package/copy-to-clipboard/internal.d.ts.map +1 -1
- package/copy-to-clipboard/internal.js +3 -3
- package/copy-to-clipboard/internal.js.map +1 -1
- package/copy-to-clipboard/styles.css.js +10 -10
- package/copy-to-clipboard/styles.scoped.css +16 -14
- package/copy-to-clipboard/styles.selectors.js +10 -10
- package/date-input/internal.d.ts +5 -0
- package/date-input/internal.d.ts.map +1 -1
- package/date-input/internal.js +2 -2
- package/date-input/internal.js.map +1 -1
- package/date-input/styles.css.js +1 -1
- package/date-input/styles.scoped.css +2 -1
- package/date-input/styles.selectors.js +1 -1
- package/divider/index.d.ts.map +1 -1
- package/divider/index.js +1 -1
- package/divider/index.js.map +1 -1
- package/divider/internal.d.ts +7 -1
- package/divider/internal.d.ts.map +1 -1
- package/divider/internal.js +2 -2
- package/divider/internal.js.map +1 -1
- package/divider/styles.css.js +6 -6
- package/divider/styles.scoped.css +20 -9
- package/divider/styles.selectors.js +6 -6
- package/dropdown/internal.d.ts +1 -1
- package/dropdown/internal.d.ts.map +1 -1
- package/dropdown/internal.js +1 -1
- package/dropdown/internal.js.map +1 -1
- package/dropdown/styles.css.js +20 -20
- package/dropdown/styles.scoped.css +48 -48
- package/dropdown/styles.selectors.js +20 -20
- package/expandable-section/expandable-section-container.d.ts +6 -0
- package/expandable-section/expandable-section-container.d.ts.map +1 -1
- package/expandable-section/expandable-section-container.js +4 -3
- package/expandable-section/expandable-section-container.js.map +1 -1
- package/expandable-section/expandable-section-header.d.ts +6 -0
- package/expandable-section/expandable-section-header.d.ts.map +1 -1
- package/expandable-section/expandable-section-header.js +34 -15
- package/expandable-section/expandable-section-header.js.map +1 -1
- package/expandable-section/interfaces.d.ts +11 -0
- package/expandable-section/interfaces.d.ts.map +1 -1
- package/expandable-section/interfaces.js.map +1 -1
- package/expandable-section/internal.d.ts +2 -0
- package/expandable-section/internal.d.ts.map +1 -1
- package/expandable-section/internal.js +10 -3
- package/expandable-section/internal.js.map +1 -1
- package/expandable-section/styles.css.js +49 -46
- package/expandable-section/styles.scoped.css +121 -91
- package/expandable-section/styles.selectors.js +49 -46
- package/expandable-section/utils.d.ts +1 -0
- package/expandable-section/utils.d.ts.map +1 -1
- package/expandable-section/utils.js +3 -0
- package/expandable-section/utils.js.map +1 -1
- package/file-input/internal.d.ts +2 -0
- package/file-input/internal.d.ts.map +1 -1
- package/file-input/internal.js +2 -2
- package/file-input/internal.js.map +1 -1
- package/file-input/styles.css.js +5 -5
- package/file-input/styles.scoped.css +18 -22
- package/file-input/styles.selectors.js +5 -5
- package/file-token-group/styles.css.js +23 -23
- package/file-token-group/styles.scoped.css +36 -36
- package/file-token-group/styles.selectors.js +23 -23
- package/flashbar/styles.css.js +50 -50
- package/flashbar/styles.scoped.css +184 -184
- package/flashbar/styles.selectors.js +50 -50
- package/header/interfaces.d.ts +3 -2
- package/header/interfaces.d.ts.map +1 -1
- package/header/interfaces.js.map +1 -1
- package/header/internal.d.ts +6 -0
- package/header/internal.d.ts.map +1 -1
- package/header/internal.js +2 -1
- package/header/internal.js.map +1 -1
- package/header/styles.css.js +36 -35
- package/header/styles.scoped.css +69 -53
- package/header/styles.selectors.js +36 -35
- package/help-panel/styles.css.js +6 -6
- package/help-panel/styles.scoped.css +72 -72
- package/help-panel/styles.selectors.js +6 -6
- package/i18n/messages/all.all.js +1 -1
- package/i18n/messages/all.all.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 +28 -0
- package/i18n/messages-types.d.ts.map +1 -1
- package/i18n/messages-types.js.map +1 -1
- package/input/internal.d.ts +1 -1
- package/input/internal.d.ts.map +1 -1
- package/input/internal.js +4 -2
- package/input/internal.js.map +1 -1
- package/input/styles.css.js +45 -44
- package/input/styles.scoped.css +159 -151
- package/input/styles.selectors.js +45 -44
- package/internal/base-component/styles.scoped.css +1 -1
- package/internal/components/autosuggest-input/index.d.ts.map +1 -1
- package/internal/components/autosuggest-input/index.js +21 -60
- package/internal/components/autosuggest-input/index.js.map +1 -1
- package/internal/components/autosuggest-input/inline-tokens.d.ts +1 -0
- package/internal/components/autosuggest-input/inline-tokens.d.ts.map +1 -1
- package/internal/components/autosuggest-input/inline-tokens.js +4 -2
- package/internal/components/autosuggest-input/inline-tokens.js.map +1 -1
- package/internal/components/autosuggest-input/styles.css.js +11 -33
- package/internal/components/autosuggest-input/styles.scoped.css +15 -233
- package/internal/components/autosuggest-input/styles.selectors.js +11 -33
- package/internal/components/autosuggest-input/use-token-overflow.d.ts +7 -11
- package/internal/components/autosuggest-input/use-token-overflow.d.ts.map +1 -1
- package/internal/components/autosuggest-input/use-token-overflow.js +16 -29
- package/internal/components/autosuggest-input/use-token-overflow.js.map +1 -1
- package/internal/components/drag-handle-wrapper/styles.css.js +30 -30
- package/internal/components/drag-handle-wrapper/styles.scoped.css +58 -58
- package/internal/components/drag-handle-wrapper/styles.selectors.js +30 -30
- package/internal/components/dropdown-status/index.d.ts +7 -1
- package/internal/components/dropdown-status/index.d.ts.map +1 -1
- package/internal/components/dropdown-status/index.js +2 -2
- package/internal/components/dropdown-status/index.js.map +1 -1
- package/internal/components/listbox/selection/interfaces.d.ts +28 -0
- package/internal/components/listbox/selection/interfaces.d.ts.map +1 -0
- package/internal/components/listbox/selection/interfaces.js +2 -0
- package/internal/components/listbox/selection/interfaces.js.map +1 -0
- package/internal/components/listbox/selection/multi-selection.d.ts +24 -0
- package/internal/components/listbox/selection/multi-selection.d.ts.map +1 -0
- package/internal/components/listbox/selection/multi-selection.js +60 -0
- package/internal/components/listbox/selection/multi-selection.js.map +1 -0
- package/internal/components/listbox/selection/single-selection.d.ts +7 -0
- package/internal/components/listbox/selection/single-selection.d.ts.map +1 -0
- package/internal/components/listbox/selection/single-selection.js +26 -0
- package/internal/components/listbox/selection/single-selection.js.map +1 -0
- package/internal/components/option/styles.css.js +18 -18
- package/internal/components/option/styles.scoped.css +35 -35
- package/internal/components/option/styles.selectors.js +18 -18
- package/internal/components/radio-button/styles.css.js +7 -7
- package/internal/components/radio-button/styles.scoped.css +17 -17
- package/internal/components/radio-button/styles.selectors.js +7 -7
- package/internal/components/selectable-item/styles.css.js +22 -22
- package/internal/components/selectable-item/styles.scoped.css +57 -57
- package/internal/components/selectable-item/styles.selectors.js +22 -22
- package/internal/components/token-list/styles.css.js +10 -10
- package/internal/components/token-list/styles.scoped.css +25 -25
- package/internal/components/token-list/styles.selectors.js +10 -10
- package/internal/environment.js +2 -2
- package/internal/environment.json +2 -2
- package/internal/generated/custom-css-properties/index.d.ts +2 -0
- package/internal/generated/custom-css-properties/index.d.ts.map +1 -1
- package/internal/generated/custom-css-properties/index.js +177 -175
- package/internal/generated/custom-css-properties/index.js.map +1 -1
- package/internal/hooks/use-load-items/index.d.ts +18 -0
- package/internal/hooks/use-load-items/index.d.ts.map +1 -0
- package/{select/utils/use-load-items.js → internal/hooks/use-load-items/index.js} +4 -5
- package/internal/hooks/use-load-items/index.js.map +1 -0
- package/internal/manifest.json +1 -1
- package/item-card/styles.css.js +14 -14
- package/item-card/styles.scoped.css +63 -63
- package/item-card/styles.selectors.js +14 -14
- package/link/styles.css.js +21 -21
- package/link/styles.scoped.css +104 -104
- package/link/styles.selectors.js +21 -21
- package/manifest.json +2 -2
- package/modal/styles.css.js +32 -32
- package/modal/styles.scoped.css +49 -49
- package/modal/styles.selectors.js +32 -32
- package/multiselect/internal.js +1 -1
- package/multiselect/internal.js.map +1 -1
- package/multiselect/use-multiselect.d.ts.map +1 -1
- package/multiselect/use-multiselect.js +15 -48
- package/multiselect/use-multiselect.js.map +1 -1
- package/package.json +1 -1
- package/popover/arrow.d.ts +3 -1
- package/popover/arrow.d.ts.map +1 -1
- package/popover/arrow.js +2 -2
- package/popover/arrow.js.map +1 -1
- package/popover/body.d.ts +1 -0
- package/popover/body.d.ts.map +1 -1
- package/popover/body.js +2 -2
- package/popover/body.js.map +1 -1
- package/popover/container.d.ts +3 -1
- package/popover/container.d.ts.map +1 -1
- package/popover/container.js +2 -2
- package/popover/container.js.map +1 -1
- package/popover/internal.d.ts +6 -0
- package/popover/internal.d.ts.map +1 -1
- package/popover/internal.js +3 -3
- package/popover/internal.js.map +1 -1
- package/popover/styles.css.js +58 -58
- package/popover/styles.scoped.css +114 -95
- package/popover/styles.selectors.js +58 -58
- package/progress-bar/index.d.ts.map +1 -1
- package/progress-bar/index.js +4 -3
- package/progress-bar/index.js.map +1 -1
- package/progress-bar/internal.d.ts +7 -1
- package/progress-bar/internal.d.ts.map +1 -1
- package/progress-bar/internal.js +2 -2
- package/progress-bar/internal.js.map +1 -1
- package/progress-bar/styles.css.js +20 -19
- package/progress-bar/styles.scoped.css +92 -59
- package/progress-bar/styles.selectors.js +20 -19
- package/prompt-input/styles.css.js +26 -26
- package/prompt-input/styles.scoped.css +105 -105
- package/prompt-input/styles.selectors.js +26 -26
- package/segmented-control/styles.css.js +31 -31
- package/segmented-control/styles.scoped.css +81 -81
- package/segmented-control/styles.selectors.js +31 -31
- package/select/internal.d.ts.map +1 -1
- package/select/internal.js +7 -4
- package/select/internal.js.map +1 -1
- package/select/parts/filter.d.ts +1 -1
- package/select/parts/filter.d.ts.map +1 -1
- package/select/parts/styles.css.js +21 -21
- package/select/parts/styles.scoped.css +24 -24
- package/select/parts/styles.selectors.js +21 -21
- package/select/utils/use-select.d.ts +4 -4
- package/select/utils/use-select.d.ts.map +1 -1
- package/select/utils/use-select.js +16 -29
- package/select/utils/use-select.js.map +1 -1
- package/side-navigation/styles.css.js +65 -65
- package/side-navigation/styles.scoped.css +114 -114
- package/side-navigation/styles.selectors.js +65 -65
- package/slider/internal.d.ts +6 -0
- package/slider/internal.d.ts.map +1 -1
- package/slider/internal.js +3 -3
- package/slider/internal.js.map +1 -1
- package/slider/styles.css.js +26 -26
- package/slider/styles.scoped.css +202 -171
- package/slider/styles.selectors.js +26 -26
- package/spinner/styles.css.js +14 -14
- package/spinner/styles.scoped.css +40 -40
- package/spinner/styles.selectors.js +14 -14
- package/styling/button-dropdown.scss +1 -0
- package/styling/button-group.scss +15 -0
- package/styling/container.scss +95 -0
- package/styling/copy-to-clipboard.scss +1 -0
- package/styling/date-input.scss +1 -0
- package/styling/divider.scss +15 -0
- package/styling/dropdown.scss +2 -2
- package/styling/popover.scss +58 -0
- package/styling/progress-bar.scss +36 -0
- package/styling/slider.scss +30 -0
- package/styling/text-filter.scss +19 -0
- package/styling/time-input.scss +1 -0
- package/styling/toggle-button.scss +1 -0
- package/styling/token.scss +49 -0
- package/styling/tooltip.scss +58 -0
- package/table/column-groups/col-group.d.ts +1 -1
- package/table/column-groups/col-group.d.ts.map +1 -1
- package/table/column-groups/col-group.js +3 -3
- package/table/column-groups/col-group.js.map +1 -1
- package/table/header-cell/group-header-cell.js +2 -2
- package/table/header-cell/group-header-cell.js.map +1 -1
- package/table/internal.d.ts.map +1 -1
- package/table/internal.js +1 -1
- package/table/internal.js.map +1 -1
- package/table/styles.css.js +37 -37
- package/table/styles.scoped.css +46 -46
- package/table/styles.selectors.js +37 -37
- package/table/use-column-widths.d.ts +2 -1
- package/table/use-column-widths.d.ts.map +1 -1
- package/table/use-column-widths.js +42 -11
- package/table/use-column-widths.js.map +1 -1
- package/tabs/styles.css.js +31 -30
- package/tabs/styles.scoped.css +93 -77
- package/tabs/styles.selectors.js +31 -30
- package/tabs/tab-header-bar.d.ts.map +1 -1
- package/tabs/tab-header-bar.js +54 -5
- package/tabs/tab-header-bar.js.map +1 -1
- package/tag-editor/styles.css.js +3 -3
- package/tag-editor/styles.scoped.css +13 -13
- package/tag-editor/styles.selectors.js +3 -3
- package/test-utils/dom/button-dropdown/index.d.ts +16 -0
- package/test-utils/dom/button-dropdown/index.js +28 -6
- package/test-utils/dom/button-dropdown/index.js.map +1 -1
- package/test-utils/selectors/button-dropdown/index.d.ts +16 -0
- package/test-utils/selectors/button-dropdown/index.js +32 -6
- package/test-utils/selectors/button-dropdown/index.js.map +1 -1
- package/text-content/styles.css.js +1 -1
- package/text-content/styles.scoped.css +66 -66
- package/text-content/styles.selectors.js +1 -1
- package/text-filter/internal.d.ts +8 -1
- package/text-filter/internal.d.ts.map +1 -1
- package/text-filter/internal.js +3 -3
- package/text-filter/internal.js.map +1 -1
- package/text-filter/search-results.d.ts +1 -0
- package/text-filter/search-results.d.ts.map +1 -1
- package/text-filter/search-results.js +3 -2
- package/text-filter/search-results.js.map +1 -1
- package/text-filter/styles.css.js +3 -3
- package/text-filter/styles.scoped.css +6 -3
- package/text-filter/styles.selectors.js +3 -3
- package/textarea/styles.css.js +9 -9
- package/textarea/styles.scoped.css +51 -51
- package/textarea/styles.selectors.js +9 -9
- package/time-input/internal.d.ts +7 -1
- package/time-input/internal.d.ts.map +1 -1
- package/time-input/internal.js +2 -1
- package/time-input/internal.js.map +1 -1
- package/time-input/styles.css.js +1 -1
- package/time-input/styles.scoped.css +2 -1
- package/time-input/styles.selectors.js +1 -1
- package/toggle/styles.css.js +10 -10
- package/toggle/styles.scoped.css +25 -25
- package/toggle/styles.selectors.js +10 -10
- package/toggle-button/index.d.ts.map +1 -1
- package/toggle-button/index.js +1 -1
- package/toggle-button/index.js.map +1 -1
- package/toggle-button/internal.d.ts +2 -0
- package/toggle-button/internal.d.ts.map +1 -1
- package/toggle-button/internal.js +2 -2
- package/toggle-button/internal.js.map +1 -1
- package/toggle-button/styles.css.js +4 -4
- package/toggle-button/styles.scoped.css +5 -4
- package/toggle-button/styles.selectors.js +4 -4
- package/token/dismiss-button.d.ts +13 -3
- package/token/dismiss-button.d.ts.map +1 -1
- package/token/dismiss-button.js +6 -22
- package/token/dismiss-button.js.map +1 -1
- package/token/index.d.ts.map +1 -1
- package/token/index.js +1 -1
- package/token/index.js.map +1 -1
- package/token/internal.d.ts +6 -0
- package/token/internal.d.ts.map +1 -1
- package/token/internal.js +3 -3
- package/token/internal.js.map +1 -1
- package/token/styles.css.js +14 -14
- package/token/styles.d.ts +26 -1
- package/token/styles.d.ts.map +1 -1
- package/token/styles.js +22 -12
- package/token/styles.js.map +1 -1
- package/token/styles.scoped.css +67 -61
- package/token/styles.selectors.js +14 -14
- package/tooltip/internal.d.ts +6 -0
- package/tooltip/internal.d.ts.map +1 -1
- package/tooltip/internal.js +2 -2
- package/tooltip/internal.js.map +1 -1
- package/tooltip/styles.css.js +2 -2
- package/tooltip/styles.scoped.css +7 -5
- package/tooltip/styles.selectors.js +2 -2
- package/tutorial-panel/components/tutorial-detail-view/congratulation-screen.d.ts +1 -1
- package/tutorial-panel/components/tutorial-detail-view/congratulation-screen.d.ts.map +1 -1
- package/tutorial-panel/components/tutorial-detail-view/congratulation-screen.js.map +1 -1
- package/tutorial-panel/components/tutorial-detail-view/index.d.ts +1 -1
- package/tutorial-panel/components/tutorial-detail-view/index.d.ts.map +1 -1
- package/tutorial-panel/components/tutorial-detail-view/index.js.map +1 -1
- package/tutorial-panel/components/tutorial-detail-view/task-list.d.ts +1 -1
- package/tutorial-panel/components/tutorial-detail-view/task-list.d.ts.map +1 -1
- package/tutorial-panel/components/tutorial-detail-view/task-list.js.map +1 -1
- package/tutorial-panel/components/tutorial-detail-view/task.d.ts +1 -1
- package/tutorial-panel/components/tutorial-detail-view/task.d.ts.map +1 -1
- package/tutorial-panel/components/tutorial-detail-view/task.js +9 -5
- package/tutorial-panel/components/tutorial-detail-view/task.js.map +1 -1
- package/tutorial-panel/components/tutorial-list/index.d.ts +1 -1
- package/tutorial-panel/components/tutorial-list/index.d.ts.map +1 -1
- package/tutorial-panel/components/tutorial-list/index.js.map +1 -1
- package/tutorial-panel/index.d.ts.map +1 -1
- package/tutorial-panel/index.js +27 -1
- package/tutorial-panel/index.js.map +1 -1
- package/tutorial-panel/interfaces.d.ts +19 -18
- package/tutorial-panel/interfaces.d.ts.map +1 -1
- package/tutorial-panel/interfaces.js.map +1 -1
- package/select/utils/use-load-items.d.ts +0 -18
- package/select/utils/use-load-items.d.ts.map +0 -1
- package/select/utils/use-load-items.js.map +0 -1
|
@@ -6,7 +6,18 @@
|
|
|
6
6
|
/* stylelint-enable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
7
7
|
/* Style used for links in slots/components that are text heavy, to help links stand out among
|
|
8
8
|
surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
|
|
9
|
-
|
|
9
|
+
@property --awsui-style-line-color {
|
|
10
|
+
syntax: "*";
|
|
11
|
+
inherits: false;
|
|
12
|
+
}
|
|
13
|
+
@property --awsui-style-line-width {
|
|
14
|
+
syntax: "*";
|
|
15
|
+
inherits: false;
|
|
16
|
+
}
|
|
17
|
+
/* awsui:style-api-slot name=divider tokens=line-color, line-width properties= */
|
|
18
|
+
/* awsui:style-api-slot name=item component=button slot=root */
|
|
19
|
+
/* awsui:style-api-slot name=dropdown component=dropdown slot=container */
|
|
20
|
+
.awsui_root_vdkpj_fsawk_20:not(#\9) {
|
|
10
21
|
border-collapse: separate;
|
|
11
22
|
border-spacing: 0;
|
|
12
23
|
box-sizing: border-box;
|
|
@@ -42,16 +53,18 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
42
53
|
gap: var(--space-scaled-xs-65ylh6, 8px);
|
|
43
54
|
}
|
|
44
55
|
|
|
45
|
-
.awsui_item-
|
|
56
|
+
.awsui_item-wrapper_vdkpj_fsawk_56:not(#\9) {
|
|
46
57
|
display: inline-block;
|
|
47
58
|
}
|
|
48
59
|
|
|
49
|
-
.
|
|
60
|
+
.awsui_group_vdkpj_fsawk_60:not(#\9) {
|
|
50
61
|
display: contents;
|
|
51
62
|
}
|
|
52
63
|
|
|
53
|
-
.
|
|
54
|
-
|
|
55
|
-
|
|
64
|
+
.awsui_divider_vdkpj_fsawk_64:not(#\9) {
|
|
65
|
+
--awsui-internal-style-line-color: var(--awsui-style-line-color);
|
|
66
|
+
--awsui-internal-style-line-width: var(--awsui-style-line-width);
|
|
67
|
+
border-inline-start: var(--awsui-internal-style-line-width, var(--border-divider-section-width-ljhehl, 1px)) solid var(--awsui-internal-style-line-color, var(--color-border-divider-default-8vuq97, #c6c6cd));
|
|
68
|
+
inline-size: 0;
|
|
56
69
|
margin-block: var(--space-static-xs-b6kz15, 8px);
|
|
57
70
|
}
|
|
@@ -2,9 +2,9 @@
|
|
|
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
|
-
"item-wrapper": "awsui_item-
|
|
7
|
-
"group": "
|
|
8
|
-
"divider": "
|
|
5
|
+
"root": "awsui_root_vdkpj_fsawk_20",
|
|
6
|
+
"item-wrapper": "awsui_item-wrapper_vdkpj_fsawk_56",
|
|
7
|
+
"group": "awsui_group_vdkpj_fsawk_60",
|
|
8
|
+
"divider": "awsui_divider_vdkpj_fsawk_64"
|
|
9
9
|
};
|
|
10
10
|
|
package/cards/styles.css.js
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"header": "
|
|
6
|
-
"header-variant-full-page": "awsui_header-variant-full-
|
|
7
|
-
"header-refresh": "awsui_header-
|
|
8
|
-
"list": "
|
|
9
|
-
"list-grid-1": "awsui_list-grid-
|
|
10
|
-
"card": "
|
|
11
|
-
"list-grid-2": "awsui_list-grid-
|
|
12
|
-
"list-grid-3": "awsui_list-grid-
|
|
13
|
-
"list-grid-4": "awsui_list-grid-
|
|
14
|
-
"list-grid-5": "awsui_list-grid-
|
|
15
|
-
"list-grid-6": "awsui_list-grid-
|
|
16
|
-
"list-grid-7": "awsui_list-grid-
|
|
17
|
-
"list-grid-8": "awsui_list-grid-
|
|
18
|
-
"list-grid-9": "awsui_list-grid-
|
|
19
|
-
"list-grid-10": "awsui_list-grid-
|
|
20
|
-
"list-grid-11": "awsui_list-grid-
|
|
21
|
-
"list-grid-12": "awsui_list-grid-
|
|
22
|
-
"list-grid-13": "awsui_list-grid-
|
|
23
|
-
"list-grid-14": "awsui_list-grid-
|
|
24
|
-
"list-grid-15": "awsui_list-grid-
|
|
25
|
-
"list-grid-16": "awsui_list-grid-
|
|
26
|
-
"list-grid-17": "awsui_list-grid-
|
|
27
|
-
"list-grid-18": "awsui_list-grid-
|
|
28
|
-
"list-grid-19": "awsui_list-grid-
|
|
29
|
-
"list-grid-20": "awsui_list-grid-
|
|
30
|
-
"selection-control": "awsui_selection-
|
|
31
|
-
"loading": "
|
|
32
|
-
"empty": "
|
|
33
|
-
"has-header": "awsui_has-
|
|
34
|
-
"refresh": "
|
|
35
|
-
"card-header": "awsui_card-
|
|
36
|
-
"card-header-inner": "awsui_card-header-
|
|
37
|
-
"card-header-inner-selectable": "awsui_card-header-inner-
|
|
38
|
-
"card-selected": "awsui_card-
|
|
39
|
-
"section": "
|
|
40
|
-
"section-header": "awsui_section-
|
|
41
|
-
"section-content": "awsui_section-
|
|
42
|
-
"footer-pagination": "awsui_footer-
|
|
4
|
+
"root": "awsui_root_p8a6i_11uh7_9",
|
|
5
|
+
"header": "awsui_header_p8a6i_11uh7_41",
|
|
6
|
+
"header-variant-full-page": "awsui_header-variant-full-page_p8a6i_11uh7_41",
|
|
7
|
+
"header-refresh": "awsui_header-refresh_p8a6i_11uh7_44",
|
|
8
|
+
"list": "awsui_list_p8a6i_11uh7_51",
|
|
9
|
+
"list-grid-1": "awsui_list-grid-1_p8a6i_11uh7_62",
|
|
10
|
+
"card": "awsui_card_p8a6i_11uh7_62",
|
|
11
|
+
"list-grid-2": "awsui_list-grid-2_p8a6i_11uh7_65",
|
|
12
|
+
"list-grid-3": "awsui_list-grid-3_p8a6i_11uh7_68",
|
|
13
|
+
"list-grid-4": "awsui_list-grid-4_p8a6i_11uh7_71",
|
|
14
|
+
"list-grid-5": "awsui_list-grid-5_p8a6i_11uh7_74",
|
|
15
|
+
"list-grid-6": "awsui_list-grid-6_p8a6i_11uh7_77",
|
|
16
|
+
"list-grid-7": "awsui_list-grid-7_p8a6i_11uh7_80",
|
|
17
|
+
"list-grid-8": "awsui_list-grid-8_p8a6i_11uh7_83",
|
|
18
|
+
"list-grid-9": "awsui_list-grid-9_p8a6i_11uh7_86",
|
|
19
|
+
"list-grid-10": "awsui_list-grid-10_p8a6i_11uh7_89",
|
|
20
|
+
"list-grid-11": "awsui_list-grid-11_p8a6i_11uh7_92",
|
|
21
|
+
"list-grid-12": "awsui_list-grid-12_p8a6i_11uh7_95",
|
|
22
|
+
"list-grid-13": "awsui_list-grid-13_p8a6i_11uh7_98",
|
|
23
|
+
"list-grid-14": "awsui_list-grid-14_p8a6i_11uh7_101",
|
|
24
|
+
"list-grid-15": "awsui_list-grid-15_p8a6i_11uh7_104",
|
|
25
|
+
"list-grid-16": "awsui_list-grid-16_p8a6i_11uh7_107",
|
|
26
|
+
"list-grid-17": "awsui_list-grid-17_p8a6i_11uh7_110",
|
|
27
|
+
"list-grid-18": "awsui_list-grid-18_p8a6i_11uh7_113",
|
|
28
|
+
"list-grid-19": "awsui_list-grid-19_p8a6i_11uh7_116",
|
|
29
|
+
"list-grid-20": "awsui_list-grid-20_p8a6i_11uh7_119",
|
|
30
|
+
"selection-control": "awsui_selection-control_p8a6i_11uh7_123",
|
|
31
|
+
"loading": "awsui_loading_p8a6i_11uh7_133",
|
|
32
|
+
"empty": "awsui_empty_p8a6i_11uh7_134",
|
|
33
|
+
"has-header": "awsui_has-header_p8a6i_11uh7_141",
|
|
34
|
+
"refresh": "awsui_refresh_p8a6i_11uh7_144",
|
|
35
|
+
"card-header": "awsui_card-header_p8a6i_11uh7_160",
|
|
36
|
+
"card-header-inner": "awsui_card-header-inner_p8a6i_11uh7_169",
|
|
37
|
+
"card-header-inner-selectable": "awsui_card-header-inner-selectable_p8a6i_11uh7_172",
|
|
38
|
+
"card-selected": "awsui_card-selected_p8a6i_11uh7_175",
|
|
39
|
+
"section": "awsui_section_p8a6i_11uh7_179",
|
|
40
|
+
"section-header": "awsui_section-header_p8a6i_11uh7_186",
|
|
41
|
+
"section-content": "awsui_section-content_p8a6i_11uh7_192",
|
|
42
|
+
"footer-pagination": "awsui_footer-pagination_p8a6i_11uh7_204"
|
|
43
43
|
};
|
|
44
44
|
|
package/cards/styles.scoped.css
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/* stylelint-enable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
7
7
|
/* Style used for links in slots/components that are text heavy, to help links stand out among
|
|
8
8
|
surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
|
|
9
|
-
.
|
|
9
|
+
.awsui_root_p8a6i_11uh7_9:not(#\9) {
|
|
10
10
|
border-collapse: separate;
|
|
11
11
|
border-spacing: 0;
|
|
12
12
|
box-sizing: border-box;
|
|
@@ -38,17 +38,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
38
38
|
-moz-osx-font-smoothing: auto;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
.
|
|
42
|
-
--awsui-inline-label-background-color-
|
|
41
|
+
.awsui_header_p8a6i_11uh7_41:not(#\9):not(.awsui_header-variant-full-page_p8a6i_11uh7_41) {
|
|
42
|
+
--awsui-inline-label-background-color-8i8exb: var(--color-background-container-header-orof4i, #ffffff);
|
|
43
43
|
}
|
|
44
|
-
.awsui_header-variant-full-
|
|
44
|
+
.awsui_header-variant-full-page_p8a6i_11uh7_41.awsui_header-refresh_p8a6i_11uh7_44:not(#\9) {
|
|
45
45
|
padding-block-start: 0;
|
|
46
46
|
padding-inline-start: 0;
|
|
47
47
|
padding-inline-end: 0;
|
|
48
48
|
padding-block-end: calc(var(--space-container-header-bottom-r88nbd, 8px) + var(--space-table-header-tools-full-page-bottom-2tmh8o, 4px));
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.
|
|
51
|
+
.awsui_list_p8a6i_11uh7_51:not(#\9) {
|
|
52
52
|
display: flex;
|
|
53
53
|
flex-wrap: wrap;
|
|
54
54
|
box-sizing: border-box;
|
|
@@ -59,68 +59,68 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
59
59
|
margin-inline-start: calc(var(--space-grid-gutter-vhfxd9, 20px) * -1);
|
|
60
60
|
margin-inline-end: 0;
|
|
61
61
|
}
|
|
62
|
-
.
|
|
62
|
+
.awsui_list_p8a6i_11uh7_51.awsui_list-grid-1_p8a6i_11uh7_62 > .awsui_card_p8a6i_11uh7_62:not(#\9) {
|
|
63
63
|
inline-size: 100%;
|
|
64
64
|
}
|
|
65
|
-
.
|
|
65
|
+
.awsui_list_p8a6i_11uh7_51.awsui_list-grid-2_p8a6i_11uh7_65 > .awsui_card_p8a6i_11uh7_62:not(#\9) {
|
|
66
66
|
inline-size: 50%;
|
|
67
67
|
}
|
|
68
|
-
.
|
|
68
|
+
.awsui_list_p8a6i_11uh7_51.awsui_list-grid-3_p8a6i_11uh7_68 > .awsui_card_p8a6i_11uh7_62:not(#\9) {
|
|
69
69
|
inline-size: 33.3333333333%;
|
|
70
70
|
}
|
|
71
|
-
.
|
|
71
|
+
.awsui_list_p8a6i_11uh7_51.awsui_list-grid-4_p8a6i_11uh7_71 > .awsui_card_p8a6i_11uh7_62:not(#\9) {
|
|
72
72
|
inline-size: 25%;
|
|
73
73
|
}
|
|
74
|
-
.
|
|
74
|
+
.awsui_list_p8a6i_11uh7_51.awsui_list-grid-5_p8a6i_11uh7_74 > .awsui_card_p8a6i_11uh7_62:not(#\9) {
|
|
75
75
|
inline-size: 20%;
|
|
76
76
|
}
|
|
77
|
-
.
|
|
77
|
+
.awsui_list_p8a6i_11uh7_51.awsui_list-grid-6_p8a6i_11uh7_77 > .awsui_card_p8a6i_11uh7_62:not(#\9) {
|
|
78
78
|
inline-size: 16.6666666667%;
|
|
79
79
|
}
|
|
80
|
-
.
|
|
80
|
+
.awsui_list_p8a6i_11uh7_51.awsui_list-grid-7_p8a6i_11uh7_80 > .awsui_card_p8a6i_11uh7_62:not(#\9) {
|
|
81
81
|
inline-size: 14.2857142857%;
|
|
82
82
|
}
|
|
83
|
-
.
|
|
83
|
+
.awsui_list_p8a6i_11uh7_51.awsui_list-grid-8_p8a6i_11uh7_83 > .awsui_card_p8a6i_11uh7_62:not(#\9) {
|
|
84
84
|
inline-size: 12.5%;
|
|
85
85
|
}
|
|
86
|
-
.
|
|
86
|
+
.awsui_list_p8a6i_11uh7_51.awsui_list-grid-9_p8a6i_11uh7_86 > .awsui_card_p8a6i_11uh7_62:not(#\9) {
|
|
87
87
|
inline-size: 11.1111111111%;
|
|
88
88
|
}
|
|
89
|
-
.
|
|
89
|
+
.awsui_list_p8a6i_11uh7_51.awsui_list-grid-10_p8a6i_11uh7_89 > .awsui_card_p8a6i_11uh7_62:not(#\9) {
|
|
90
90
|
inline-size: 10%;
|
|
91
91
|
}
|
|
92
|
-
.
|
|
92
|
+
.awsui_list_p8a6i_11uh7_51.awsui_list-grid-11_p8a6i_11uh7_92 > .awsui_card_p8a6i_11uh7_62:not(#\9) {
|
|
93
93
|
inline-size: 9.0909090909%;
|
|
94
94
|
}
|
|
95
|
-
.
|
|
95
|
+
.awsui_list_p8a6i_11uh7_51.awsui_list-grid-12_p8a6i_11uh7_95 > .awsui_card_p8a6i_11uh7_62:not(#\9) {
|
|
96
96
|
inline-size: 8.3333333333%;
|
|
97
97
|
}
|
|
98
|
-
.
|
|
98
|
+
.awsui_list_p8a6i_11uh7_51.awsui_list-grid-13_p8a6i_11uh7_98 > .awsui_card_p8a6i_11uh7_62:not(#\9) {
|
|
99
99
|
inline-size: 7.6923076923%;
|
|
100
100
|
}
|
|
101
|
-
.
|
|
101
|
+
.awsui_list_p8a6i_11uh7_51.awsui_list-grid-14_p8a6i_11uh7_101 > .awsui_card_p8a6i_11uh7_62:not(#\9) {
|
|
102
102
|
inline-size: 7.1428571429%;
|
|
103
103
|
}
|
|
104
|
-
.
|
|
104
|
+
.awsui_list_p8a6i_11uh7_51.awsui_list-grid-15_p8a6i_11uh7_104 > .awsui_card_p8a6i_11uh7_62:not(#\9) {
|
|
105
105
|
inline-size: 6.6666666667%;
|
|
106
106
|
}
|
|
107
|
-
.
|
|
107
|
+
.awsui_list_p8a6i_11uh7_51.awsui_list-grid-16_p8a6i_11uh7_107 > .awsui_card_p8a6i_11uh7_62:not(#\9) {
|
|
108
108
|
inline-size: 6.25%;
|
|
109
109
|
}
|
|
110
|
-
.
|
|
110
|
+
.awsui_list_p8a6i_11uh7_51.awsui_list-grid-17_p8a6i_11uh7_110 > .awsui_card_p8a6i_11uh7_62:not(#\9) {
|
|
111
111
|
inline-size: 5.8823529412%;
|
|
112
112
|
}
|
|
113
|
-
.
|
|
113
|
+
.awsui_list_p8a6i_11uh7_51.awsui_list-grid-18_p8a6i_11uh7_113 > .awsui_card_p8a6i_11uh7_62:not(#\9) {
|
|
114
114
|
inline-size: 5.5555555556%;
|
|
115
115
|
}
|
|
116
|
-
.
|
|
116
|
+
.awsui_list_p8a6i_11uh7_51.awsui_list-grid-19_p8a6i_11uh7_116 > .awsui_card_p8a6i_11uh7_62:not(#\9) {
|
|
117
117
|
inline-size: 5.2631578947%;
|
|
118
118
|
}
|
|
119
|
-
.
|
|
119
|
+
.awsui_list_p8a6i_11uh7_51.awsui_list-grid-20_p8a6i_11uh7_119 > .awsui_card_p8a6i_11uh7_62:not(#\9) {
|
|
120
120
|
inline-size: 5%;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
.awsui_selection-
|
|
123
|
+
.awsui_selection-control_p8a6i_11uh7_123:not(#\9) {
|
|
124
124
|
position: absolute;
|
|
125
125
|
box-sizing: border-box;
|
|
126
126
|
inline-size: calc(var(--size-control-smkmln, 16px) + 2 * var(--space-card-horizontal-default-e7yakw, 20px));
|
|
@@ -130,22 +130,22 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
130
130
|
padding-inline: var(--space-card-horizontal-default-e7yakw, 20px);
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
.
|
|
134
|
-
.
|
|
133
|
+
.awsui_loading_p8a6i_11uh7_133:not(#\9),
|
|
134
|
+
.awsui_empty_p8a6i_11uh7_134:not(#\9) {
|
|
135
135
|
overflow: hidden;
|
|
136
136
|
text-align: center;
|
|
137
137
|
color: var(--color-text-empty-a5zixv, #656871);
|
|
138
138
|
margin-block-end: var(--space-scaled-l-kalwlg, 20px);
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
.awsui_has-
|
|
141
|
+
.awsui_has-header_p8a6i_11uh7_141:not(#\9) {
|
|
142
142
|
margin-block-start: var(--space-grid-gutter-vhfxd9, 20px);
|
|
143
143
|
}
|
|
144
|
-
.awsui_has-
|
|
144
|
+
.awsui_has-header_p8a6i_11uh7_141.awsui_refresh_p8a6i_11uh7_144.awsui_header-variant-full-page_p8a6i_11uh7_41:not(#\9) {
|
|
145
145
|
margin-block-start: var(--space-scaled-s-srzhhj, 12px);
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
.
|
|
148
|
+
.awsui_card_p8a6i_11uh7_62:not(#\9) {
|
|
149
149
|
overflow-wrap: break-word;
|
|
150
150
|
word-wrap: break-word;
|
|
151
151
|
box-sizing: border-box;
|
|
@@ -157,7 +157,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
157
157
|
padding-inline-end: 0;
|
|
158
158
|
list-style: none;
|
|
159
159
|
}
|
|
160
|
-
.awsui_card-
|
|
160
|
+
.awsui_card-header_p8a6i_11uh7_160:not(#\9) {
|
|
161
161
|
font-family: var(--font-family-heading-5urgm6, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
162
162
|
font-size: var(--font-size-heading-m-bw4ppb, 18px);
|
|
163
163
|
line-height: var(--line-height-heading-m-1ujjlo, 22px);
|
|
@@ -166,42 +166,42 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
166
166
|
-webkit-font-smoothing: var(--font-smoothing-webkit-noqmev, antialiased);
|
|
167
167
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-1ua98z, grayscale);
|
|
168
168
|
}
|
|
169
|
-
.awsui_card-header-
|
|
169
|
+
.awsui_card-header-inner_p8a6i_11uh7_169:not(#\9) {
|
|
170
170
|
/* used in test-utils */
|
|
171
171
|
}
|
|
172
|
-
.awsui_card-header-inner-
|
|
172
|
+
.awsui_card-header-inner-selectable_p8a6i_11uh7_172:not(#\9) {
|
|
173
173
|
inline-size: 90%;
|
|
174
174
|
}
|
|
175
|
-
.awsui_card-
|
|
175
|
+
.awsui_card-selected_p8a6i_11uh7_175:not(#\9) {
|
|
176
176
|
/* Used in test utils */
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
.
|
|
179
|
+
.awsui_section_p8a6i_11uh7_179:not(#\9) {
|
|
180
180
|
display: inline-block;
|
|
181
181
|
box-sizing: border-box;
|
|
182
182
|
padding-block-end: var(--space-scaled-xs-65ylh6, 8px);
|
|
183
183
|
padding-inline: 0;
|
|
184
184
|
vertical-align: top;
|
|
185
185
|
}
|
|
186
|
-
.awsui_section-
|
|
186
|
+
.awsui_section-header_p8a6i_11uh7_186:not(#\9) {
|
|
187
187
|
font-size: var(--font-size-body-m-diae7s, 14px);
|
|
188
188
|
line-height: var(--line-height-body-m-18p63n, 20px);
|
|
189
189
|
font-weight: var(--font-display-label-weight-sfjkdk, 700);
|
|
190
190
|
color: var(--color-text-label-vt1q79, #0f141a);
|
|
191
191
|
}
|
|
192
|
-
.awsui_section-
|
|
192
|
+
.awsui_section-content_p8a6i_11uh7_192:not(#\9) {
|
|
193
193
|
/* used in test-utils */
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
.
|
|
196
|
+
.awsui_section_p8a6i_11uh7_179:not(#\9):not(:first-child) {
|
|
197
197
|
padding-block-start: var(--space-xs-3yjatw, 8px);
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
.
|
|
200
|
+
.awsui_section_p8a6i_11uh7_179:not(#\9):last-child {
|
|
201
201
|
padding-block-end: 0;
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
-
.awsui_footer-
|
|
204
|
+
.awsui_footer-pagination_p8a6i_11uh7_204:not(#\9) {
|
|
205
205
|
display: flex;
|
|
206
206
|
justify-content: flex-end;
|
|
207
207
|
}
|
|
@@ -2,44 +2,44 @@
|
|
|
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
|
-
"header": "
|
|
7
|
-
"header-variant-full-page": "awsui_header-variant-full-
|
|
8
|
-
"header-refresh": "awsui_header-
|
|
9
|
-
"list": "
|
|
10
|
-
"list-grid-1": "awsui_list-grid-
|
|
11
|
-
"card": "
|
|
12
|
-
"list-grid-2": "awsui_list-grid-
|
|
13
|
-
"list-grid-3": "awsui_list-grid-
|
|
14
|
-
"list-grid-4": "awsui_list-grid-
|
|
15
|
-
"list-grid-5": "awsui_list-grid-
|
|
16
|
-
"list-grid-6": "awsui_list-grid-
|
|
17
|
-
"list-grid-7": "awsui_list-grid-
|
|
18
|
-
"list-grid-8": "awsui_list-grid-
|
|
19
|
-
"list-grid-9": "awsui_list-grid-
|
|
20
|
-
"list-grid-10": "awsui_list-grid-
|
|
21
|
-
"list-grid-11": "awsui_list-grid-
|
|
22
|
-
"list-grid-12": "awsui_list-grid-
|
|
23
|
-
"list-grid-13": "awsui_list-grid-
|
|
24
|
-
"list-grid-14": "awsui_list-grid-
|
|
25
|
-
"list-grid-15": "awsui_list-grid-
|
|
26
|
-
"list-grid-16": "awsui_list-grid-
|
|
27
|
-
"list-grid-17": "awsui_list-grid-
|
|
28
|
-
"list-grid-18": "awsui_list-grid-
|
|
29
|
-
"list-grid-19": "awsui_list-grid-
|
|
30
|
-
"list-grid-20": "awsui_list-grid-
|
|
31
|
-
"selection-control": "awsui_selection-
|
|
32
|
-
"loading": "
|
|
33
|
-
"empty": "
|
|
34
|
-
"has-header": "awsui_has-
|
|
35
|
-
"refresh": "
|
|
36
|
-
"card-header": "awsui_card-
|
|
37
|
-
"card-header-inner": "awsui_card-header-
|
|
38
|
-
"card-header-inner-selectable": "awsui_card-header-inner-
|
|
39
|
-
"card-selected": "awsui_card-
|
|
40
|
-
"section": "
|
|
41
|
-
"section-header": "awsui_section-
|
|
42
|
-
"section-content": "awsui_section-
|
|
43
|
-
"footer-pagination": "awsui_footer-
|
|
5
|
+
"root": "awsui_root_p8a6i_11uh7_9",
|
|
6
|
+
"header": "awsui_header_p8a6i_11uh7_41",
|
|
7
|
+
"header-variant-full-page": "awsui_header-variant-full-page_p8a6i_11uh7_41",
|
|
8
|
+
"header-refresh": "awsui_header-refresh_p8a6i_11uh7_44",
|
|
9
|
+
"list": "awsui_list_p8a6i_11uh7_51",
|
|
10
|
+
"list-grid-1": "awsui_list-grid-1_p8a6i_11uh7_62",
|
|
11
|
+
"card": "awsui_card_p8a6i_11uh7_62",
|
|
12
|
+
"list-grid-2": "awsui_list-grid-2_p8a6i_11uh7_65",
|
|
13
|
+
"list-grid-3": "awsui_list-grid-3_p8a6i_11uh7_68",
|
|
14
|
+
"list-grid-4": "awsui_list-grid-4_p8a6i_11uh7_71",
|
|
15
|
+
"list-grid-5": "awsui_list-grid-5_p8a6i_11uh7_74",
|
|
16
|
+
"list-grid-6": "awsui_list-grid-6_p8a6i_11uh7_77",
|
|
17
|
+
"list-grid-7": "awsui_list-grid-7_p8a6i_11uh7_80",
|
|
18
|
+
"list-grid-8": "awsui_list-grid-8_p8a6i_11uh7_83",
|
|
19
|
+
"list-grid-9": "awsui_list-grid-9_p8a6i_11uh7_86",
|
|
20
|
+
"list-grid-10": "awsui_list-grid-10_p8a6i_11uh7_89",
|
|
21
|
+
"list-grid-11": "awsui_list-grid-11_p8a6i_11uh7_92",
|
|
22
|
+
"list-grid-12": "awsui_list-grid-12_p8a6i_11uh7_95",
|
|
23
|
+
"list-grid-13": "awsui_list-grid-13_p8a6i_11uh7_98",
|
|
24
|
+
"list-grid-14": "awsui_list-grid-14_p8a6i_11uh7_101",
|
|
25
|
+
"list-grid-15": "awsui_list-grid-15_p8a6i_11uh7_104",
|
|
26
|
+
"list-grid-16": "awsui_list-grid-16_p8a6i_11uh7_107",
|
|
27
|
+
"list-grid-17": "awsui_list-grid-17_p8a6i_11uh7_110",
|
|
28
|
+
"list-grid-18": "awsui_list-grid-18_p8a6i_11uh7_113",
|
|
29
|
+
"list-grid-19": "awsui_list-grid-19_p8a6i_11uh7_116",
|
|
30
|
+
"list-grid-20": "awsui_list-grid-20_p8a6i_11uh7_119",
|
|
31
|
+
"selection-control": "awsui_selection-control_p8a6i_11uh7_123",
|
|
32
|
+
"loading": "awsui_loading_p8a6i_11uh7_133",
|
|
33
|
+
"empty": "awsui_empty_p8a6i_11uh7_134",
|
|
34
|
+
"has-header": "awsui_has-header_p8a6i_11uh7_141",
|
|
35
|
+
"refresh": "awsui_refresh_p8a6i_11uh7_144",
|
|
36
|
+
"card-header": "awsui_card-header_p8a6i_11uh7_160",
|
|
37
|
+
"card-header-inner": "awsui_card-header-inner_p8a6i_11uh7_169",
|
|
38
|
+
"card-header-inner-selectable": "awsui_card-header-inner-selectable_p8a6i_11uh7_172",
|
|
39
|
+
"card-selected": "awsui_card-selected_p8a6i_11uh7_175",
|
|
40
|
+
"section": "awsui_section_p8a6i_11uh7_179",
|
|
41
|
+
"section-header": "awsui_section-header_p8a6i_11uh7_186",
|
|
42
|
+
"section-content": "awsui_section-content_p8a6i_11uh7_192",
|
|
43
|
+
"footer-pagination": "awsui_footer-pagination_p8a6i_11uh7_204"
|
|
44
44
|
};
|
|
45
45
|
|
package/checkbox/styles.css.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"checkbox-control": "awsui_checkbox-
|
|
6
|
-
"outline": "
|
|
4
|
+
"root": "awsui_root_k2y2q_1p2c1_34",
|
|
5
|
+
"checkbox-control": "awsui_checkbox-control_k2y2q_1p2c1_67",
|
|
6
|
+
"outline": "awsui_outline_k2y2q_1p2c1_81"
|
|
7
7
|
};
|
|
8
8
|
|
|
@@ -31,7 +31,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
31
31
|
inherits: false;
|
|
32
32
|
}
|
|
33
33
|
/* awsui:style-api-slot name=control tokens=fill-color, border-color, indicator-color, focus-ring-color, focus-ring-width, focus-ring-radius properties= */
|
|
34
|
-
.
|
|
34
|
+
.awsui_root_k2y2q_1p2c1_34.awsui_root_k2y2q_1p2c1_34:not(#\9) {
|
|
35
35
|
border-collapse: separate;
|
|
36
36
|
border-spacing: 0;
|
|
37
37
|
box-sizing: border-box;
|
|
@@ -64,7 +64,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
64
64
|
display: flex;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
.awsui_checkbox-
|
|
67
|
+
.awsui_checkbox-control_k2y2q_1p2c1_67:not(#\9) {
|
|
68
68
|
--awsui-internal-style-fill-color: var(--awsui-style-fill-color);
|
|
69
69
|
--awsui-internal-style-border-color: var(--awsui-style-border-color);
|
|
70
70
|
--awsui-internal-style-indicator-color: var(--awsui-style-indicator-color);
|
|
@@ -78,14 +78,14 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
78
78
|
inline-size: var(--size-control-smkmln, 16px);
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
.
|
|
81
|
+
.awsui_outline_k2y2q_1p2c1_81:not(#\9) {
|
|
82
82
|
position: relative;
|
|
83
83
|
}
|
|
84
|
-
.
|
|
84
|
+
.awsui_outline_k2y2q_1p2c1_81:not(#\9) {
|
|
85
85
|
outline: 2px dotted transparent;
|
|
86
86
|
outline-offset: calc(2px - 1px);
|
|
87
87
|
}
|
|
88
|
-
.
|
|
88
|
+
.awsui_outline_k2y2q_1p2c1_81:not(#\9)::before {
|
|
89
89
|
content: " ";
|
|
90
90
|
display: block;
|
|
91
91
|
position: absolute;
|
|
@@ -93,9 +93,9 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
93
93
|
inset-block-start: calc(-1 * 2px);
|
|
94
94
|
inline-size: calc(100% + 2px + 2px);
|
|
95
95
|
block-size: calc(100% + 2px + 2px);
|
|
96
|
-
border-start-start-radius: var(--awsui-internal-style-focus-ring-radius, var(--awsui-style-focus-ring-border-radius-
|
|
97
|
-
border-start-end-radius: var(--awsui-internal-style-focus-ring-radius, var(--awsui-style-focus-ring-border-radius-
|
|
98
|
-
border-end-start-radius: var(--awsui-internal-style-focus-ring-radius, var(--awsui-style-focus-ring-border-radius-
|
|
99
|
-
border-end-end-radius: var(--awsui-internal-style-focus-ring-radius, var(--awsui-style-focus-ring-border-radius-
|
|
100
|
-
box-shadow: 0 0 0 var(--awsui-internal-style-focus-ring-width, var(--awsui-style-focus-ring-border-width-
|
|
96
|
+
border-start-start-radius: var(--awsui-internal-style-focus-ring-radius, var(--awsui-style-focus-ring-border-radius-8i8exb, var(--border-radius-control-default-focus-ring-hkazgq, 4px)));
|
|
97
|
+
border-start-end-radius: var(--awsui-internal-style-focus-ring-radius, var(--awsui-style-focus-ring-border-radius-8i8exb, var(--border-radius-control-default-focus-ring-hkazgq, 4px)));
|
|
98
|
+
border-end-start-radius: var(--awsui-internal-style-focus-ring-radius, var(--awsui-style-focus-ring-border-radius-8i8exb, var(--border-radius-control-default-focus-ring-hkazgq, 4px)));
|
|
99
|
+
border-end-end-radius: var(--awsui-internal-style-focus-ring-radius, var(--awsui-style-focus-ring-border-radius-8i8exb, var(--border-radius-control-default-focus-ring-hkazgq, 4px)));
|
|
100
|
+
box-shadow: 0 0 0 var(--awsui-internal-style-focus-ring-width, var(--awsui-style-focus-ring-border-width-8i8exb, 2px)) var(--awsui-internal-style-focus-ring-color, var(--awsui-style-focus-ring-border-color-8i8exb, var(--color-border-item-focused-sb1fs0, #006ce0)));
|
|
101
101
|
}
|
|
@@ -2,8 +2,8 @@
|
|
|
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
|
-
"checkbox-control": "awsui_checkbox-
|
|
7
|
-
"outline": "
|
|
5
|
+
"root": "awsui_root_k2y2q_1p2c1_34",
|
|
6
|
+
"checkbox-control": "awsui_checkbox-control_k2y2q_1p2c1_67",
|
|
7
|
+
"outline": "awsui_outline_k2y2q_1p2c1_81"
|
|
8
8
|
};
|
|
9
9
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/column-layout/internal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/column-layout/internal.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAIlE,eAAO,MAAM,eAAe,mCAAoC,CAAC;AACjE,MAAM,MAAM,sBAAsB,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;AAQ7E;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,OAAW,EACX,OAAmB,EACnB,OAAgB,EAChB,cAAsB,EACtB,cAAc,EACd,QAAQ,EACR,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,GAAG,SAAS,EACb,EAAE,yBAAyB,eAwC3B"}
|
|
@@ -2,16 +2,28 @@
|
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
|
+
import { warnOnce } from '@cloudscape-design/component-toolkit/internal';
|
|
5
6
|
import { getBaseProps } from '../internal/base-component';
|
|
6
7
|
import FlexibleColumnLayout from './flexible-column-layout';
|
|
7
8
|
import GridColumnLayout from './grid-column-layout';
|
|
8
9
|
import styles from './styles.css.js';
|
|
9
10
|
export const COLUMN_TRIGGERS = ['default', 'xxs', 'xs'];
|
|
11
|
+
/**
|
|
12
|
+
* Highest `columns` value supported without `minColumnWidth`, as stated in the `columns` docs.
|
|
13
|
+
* The grid renderer's column definitions only cover 1 to 4.
|
|
14
|
+
*/
|
|
15
|
+
const MAX_SUPPORTED_COLUMNS = 4;
|
|
10
16
|
/**
|
|
11
17
|
* A responsive grid layout.
|
|
12
18
|
*/
|
|
13
19
|
export default function ColumnLayout({ columns = 1, variant = 'default', borders = 'none', disableGutters = false, minColumnWidth, children, __tagOverride, __breakpoint, __internalRootRef, ...restProps }) {
|
|
14
20
|
const baseProps = getBaseProps(restProps);
|
|
21
|
+
// this combination type-checks is outside the documented contract and renders
|
|
22
|
+
// unexpected behavior: the grid renderer has no column definition above
|
|
23
|
+
// MAX_SUPPORTED_COLUMNS
|
|
24
|
+
if (columns > MAX_SUPPORTED_COLUMNS && !minColumnWidth) {
|
|
25
|
+
warnOnce('ColumnLayout', `\`columns\` (${columns}) is not supported without \`minColumnWidth\`: only up to ${MAX_SUPPORTED_COLUMNS} columns are supported, so the value is ignored and the columns are sized by their content instead. Set \`minColumnWidth\`, or use ${MAX_SUPPORTED_COLUMNS} columns or fewer.`);
|
|
26
|
+
}
|
|
15
27
|
return (React.createElement("div", { ...baseProps, className: clsx(baseProps.className, styles['column-layout']), ref: __internalRootRef }, minColumnWidth ? (React.createElement(FlexibleColumnLayout, { columns: columns, borders: borders, variant: variant, minColumnWidth: minColumnWidth, disableGutters: disableGutters, __tagOverride: __tagOverride }, children)) : (React.createElement(GridColumnLayout, { columns: columns, variant: variant, borders: borders, disableGutters: disableGutters, __breakpoint: __breakpoint, __tagOverride: __tagOverride }, children))));
|
|
16
28
|
}
|
|
17
29
|
//# sourceMappingURL=internal.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/column-layout/internal.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,oBAAoB,MAAM,0BAA0B,CAAC;AAC5D,OAAO,gBAAgB,MAAM,sBAAsB,CAAC;AAGpD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,SAAS,EAAE,KAAK,EAAE,IAAI,CAAU,CAAC;AAGjE;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,OAAO,GAAG,CAAC,EACX,OAAO,GAAG,SAAS,EACnB,OAAO,GAAG,MAAM,EAChB,cAAc,GAAG,KAAK,EACtB,cAAc,EACd,QAAQ,EACR,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,GAAG,SAAS,EACc;IAC1B,MAAM,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC,CAAC;IAE1C,OAAO,CACL,gCAAS,SAAS,EAAE,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,MAAM,CAAC,eAAe,CAAC,CAAC,EAAE,GAAG,EAAE,iBAAiB,IACtG,cAAc,CAAC,CAAC,CAAC,CAChB,oBAAC,oBAAoB,IACnB,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EAChB,cAAc,EAAE,cAAc,EAC9B,cAAc,EAAE,cAAc,EAC9B,aAAa,EAAE,aAAa,IAE3B,QAAQ,CACY,CACxB,CAAC,CAAC,CAAC,CACF,oBAAC,gBAAgB,IACf,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EAChB,cAAc,EAAE,cAAc,EAC9B,YAAY,EAAE,YAAY,EAC1B,aAAa,EAAE,aAAa,IAE3B,QAAQ,CACQ,CACpB,CACG,CACP,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport clsx from 'clsx';\n\nimport { getBaseProps } from '../internal/base-component';\nimport FlexibleColumnLayout from './flexible-column-layout';\nimport GridColumnLayout from './grid-column-layout';\nimport { InternalColumnLayoutProps } from './internal-interfaces';\n\nimport styles from './styles.css.js';\n\nexport const COLUMN_TRIGGERS = ['default', 'xxs', 'xs'] as const;\nexport type ColumnLayoutBreakpoint = (typeof COLUMN_TRIGGERS)[number] | null;\n\n/**\n * A responsive grid layout.\n */\nexport default function ColumnLayout({\n columns = 1,\n variant = 'default',\n borders = 'none',\n disableGutters = false,\n minColumnWidth,\n children,\n __tagOverride,\n __breakpoint,\n __internalRootRef,\n ...restProps\n}: InternalColumnLayoutProps) {\n const baseProps = getBaseProps(restProps);\n\n return (\n <div {...baseProps} className={clsx(baseProps.className, styles['column-layout'])} ref={__internalRootRef}>\n {minColumnWidth ? (\n <FlexibleColumnLayout\n columns={columns}\n borders={borders}\n variant={variant}\n minColumnWidth={minColumnWidth}\n disableGutters={disableGutters}\n __tagOverride={__tagOverride}\n >\n {children}\n </FlexibleColumnLayout>\n ) : (\n <GridColumnLayout\n columns={columns}\n variant={variant}\n borders={borders}\n disableGutters={disableGutters}\n __breakpoint={__breakpoint}\n __tagOverride={__tagOverride}\n >\n {children}\n </GridColumnLayout>\n )}\n </div>\n );\n}\n"]}
|
|
1
|
+
{"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/column-layout/internal.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,QAAQ,EAAE,MAAM,+CAA+C,CAAC;AAEzE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,oBAAoB,MAAM,0BAA0B,CAAC;AAC5D,OAAO,gBAAgB,MAAM,sBAAsB,CAAC;AAGpD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,SAAS,EAAE,KAAK,EAAE,IAAI,CAAU,CAAC;AAGjE;;;GAGG;AACH,MAAM,qBAAqB,GAAG,CAAC,CAAC;AAEhC;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,OAAO,GAAG,CAAC,EACX,OAAO,GAAG,SAAS,EACnB,OAAO,GAAG,MAAM,EAChB,cAAc,GAAG,KAAK,EACtB,cAAc,EACd,QAAQ,EACR,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,GAAG,SAAS,EACc;IAC1B,MAAM,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC,CAAC;IAE1C,8EAA8E;IAC9E,wEAAwE;IACxE,wBAAwB;IACxB,IAAI,OAAO,GAAG,qBAAqB,IAAI,CAAC,cAAc,EAAE,CAAC;QACvD,QAAQ,CACN,cAAc,EACd,gBAAgB,OAAO,6DAA6D,qBAAqB,sIAAsI,qBAAqB,oBAAoB,CACzR,CAAC;IACJ,CAAC;IAED,OAAO,CACL,gCAAS,SAAS,EAAE,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,MAAM,CAAC,eAAe,CAAC,CAAC,EAAE,GAAG,EAAE,iBAAiB,IACtG,cAAc,CAAC,CAAC,CAAC,CAChB,oBAAC,oBAAoB,IACnB,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EAChB,cAAc,EAAE,cAAc,EAC9B,cAAc,EAAE,cAAc,EAC9B,aAAa,EAAE,aAAa,IAE3B,QAAQ,CACY,CACxB,CAAC,CAAC,CAAC,CACF,oBAAC,gBAAgB,IACf,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EAChB,cAAc,EAAE,cAAc,EAC9B,YAAY,EAAE,YAAY,EAC1B,aAAa,EAAE,aAAa,IAE3B,QAAQ,CACQ,CACpB,CACG,CACP,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport clsx from 'clsx';\n\nimport { warnOnce } from '@cloudscape-design/component-toolkit/internal';\n\nimport { getBaseProps } from '../internal/base-component';\nimport FlexibleColumnLayout from './flexible-column-layout';\nimport GridColumnLayout from './grid-column-layout';\nimport { InternalColumnLayoutProps } from './internal-interfaces';\n\nimport styles from './styles.css.js';\n\nexport const COLUMN_TRIGGERS = ['default', 'xxs', 'xs'] as const;\nexport type ColumnLayoutBreakpoint = (typeof COLUMN_TRIGGERS)[number] | null;\n\n/**\n * Highest `columns` value supported without `minColumnWidth`, as stated in the `columns` docs.\n * The grid renderer's column definitions only cover 1 to 4.\n */\nconst MAX_SUPPORTED_COLUMNS = 4;\n\n/**\n * A responsive grid layout.\n */\nexport default function ColumnLayout({\n columns = 1,\n variant = 'default',\n borders = 'none',\n disableGutters = false,\n minColumnWidth,\n children,\n __tagOverride,\n __breakpoint,\n __internalRootRef,\n ...restProps\n}: InternalColumnLayoutProps) {\n const baseProps = getBaseProps(restProps);\n\n // this combination type-checks is outside the documented contract and renders\n // unexpected behavior: the grid renderer has no column definition above\n // MAX_SUPPORTED_COLUMNS\n if (columns > MAX_SUPPORTED_COLUMNS && !minColumnWidth) {\n warnOnce(\n 'ColumnLayout',\n `\\`columns\\` (${columns}) is not supported without \\`minColumnWidth\\`: only up to ${MAX_SUPPORTED_COLUMNS} columns are supported, so the value is ignored and the columns are sized by their content instead. Set \\`minColumnWidth\\`, or use ${MAX_SUPPORTED_COLUMNS} columns or fewer.`\n );\n }\n\n return (\n <div {...baseProps} className={clsx(baseProps.className, styles['column-layout'])} ref={__internalRootRef}>\n {minColumnWidth ? (\n <FlexibleColumnLayout\n columns={columns}\n borders={borders}\n variant={variant}\n minColumnWidth={minColumnWidth}\n disableGutters={disableGutters}\n __tagOverride={__tagOverride}\n >\n {children}\n </FlexibleColumnLayout>\n ) : (\n <GridColumnLayout\n columns={columns}\n variant={variant}\n borders={borders}\n disableGutters={disableGutters}\n __breakpoint={__breakpoint}\n __tagOverride={__tagOverride}\n >\n {children}\n </GridColumnLayout>\n )}\n </div>\n );\n}\n"]}
|
package/container/internal.d.ts
CHANGED
|
@@ -26,6 +26,17 @@ export interface InternalContainerProps extends Omit<ContainerProps, 'variant'>,
|
|
|
26
26
|
* is necessary for components that use container as a root node internally so that their test-utils wrapper is not detached.
|
|
27
27
|
*/
|
|
28
28
|
__contentKey?: string;
|
|
29
|
+
styleClassNames?: StyleClassNames;
|
|
30
|
+
/**
|
|
31
|
+
* Native attributes spread onto the container root, for ARIA that `getBaseProps` does not forward
|
|
32
|
+
* (it forwards only id/className/data-*).
|
|
33
|
+
*/
|
|
34
|
+
__nativeAttributes?: React.HTMLAttributes<HTMLDivElement>;
|
|
35
|
+
}
|
|
36
|
+
export interface StyleClassNames {
|
|
37
|
+
root?: string;
|
|
38
|
+
header?: string;
|
|
39
|
+
footer?: string;
|
|
29
40
|
}
|
|
30
41
|
export declare const InternalContainerAsSubstep: React.ForwardRefExoticComponent<InternalContainerProps & React.RefAttributes<ContainerProps.Ref>>;
|
|
31
42
|
declare const InternalContainer: React.ForwardRefExoticComponent<InternalContainerProps & React.RefAttributes<ContainerProps.Ref>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/container/internal.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAgD,MAAM,OAAO,CAAC;AAQrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAI1E,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAIlF,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/container/internal.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAgD,MAAM,OAAO,CAAC;AAQrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAI1E,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAIlF,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAS9C,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAAC,cAAc,EAAE,SAAS,CAAC,EAAE,0BAA0B;IACzG,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IAC9C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;;;;OAKG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,GAAG,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC;IAEzE,oBAAoB,CAAC,EAAE,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC,oBAAoB,CAAC,CAAC;IACjF,YAAY,CAAC,EAAE,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC,YAAY,CAAC,CAAC;IAEjE;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,eAAe,CAAC,EAAE,eAAe,CAAC;IAElC;;;OAGG;IACH,kBAAkB,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;CAC3D;AAGD,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,0BAA0B,mGActC,CAAC;AAEF,QAAA,MAAM,iBAAiB,mGAwMrB,CAAC;AAEH,eAAe,iBAAiB,CAAC"}
|