@cloudscape-design/components 3.0.1365 → 3.0.1367
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/action-card/internal.d.ts.map +1 -1
- package/action-card/internal.js +5 -2
- package/action-card/internal.js.map +1 -1
- package/action-card/styles.css.js +17 -17
- package/action-card/styles.scoped.css +117 -117
- package/action-card/styles.selectors.js +17 -17
- package/alert/actions-wrapper/styles.css.js +1 -1
- package/alert/actions-wrapper/styles.scoped.css +3 -3
- package/alert/actions-wrapper/styles.selectors.js +1 -1
- package/alert/styles.css.js +27 -27
- package/alert/styles.scoped.css +67 -67
- package/alert/styles.selectors.js +27 -27
- package/anchor-navigation/styles.css.js +8 -8
- package/anchor-navigation/styles.scoped.css +22 -22
- package/anchor-navigation/styles.selectors.js +8 -8
- package/annotation-context/annotation/styles.css.js +13 -13
- package/annotation-context/annotation/styles.scoped.css +23 -23
- package/annotation-context/annotation/styles.selectors.js +13 -13
- package/app-layout/content-wrapper/styles.css.js +3 -3
- package/app-layout/content-wrapper/styles.scoped.css +10 -10
- package/app-layout/content-wrapper/styles.selectors.js +3 -3
- package/app-layout/drawer/styles.css.js +14 -14
- package/app-layout/drawer/styles.scoped.css +25 -25
- package/app-layout/drawer/styles.selectors.js +14 -14
- package/app-layout/mobile-toolbar/styles.css.js +8 -8
- package/app-layout/mobile-toolbar/styles.scoped.css +13 -13
- package/app-layout/mobile-toolbar/styles.selectors.js +8 -8
- 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/resize/styles.css.js +5 -5
- package/app-layout/resize/styles.scoped.css +14 -14
- package/app-layout/resize/styles.selectors.js +5 -5
- package/app-layout/styles.css.js +12 -12
- package/app-layout/styles.scoped.css +18 -18
- package/app-layout/styles.selectors.js +12 -12
- package/app-layout/toggles/index.d.ts.map +1 -1
- package/app-layout/toggles/index.js +1 -1
- package/app-layout/toggles/index.js.map +1 -1
- package/app-layout/toggles/styles.css.js +2 -2
- package/app-layout/toggles/styles.scoped.css +15 -15
- package/app-layout/toggles/styles.selectors.js +2 -2
- package/app-layout/visual-refresh/styles.css.js +86 -86
- package/app-layout/visual-refresh/styles.scoped.css +288 -288
- package/app-layout/visual-refresh/styles.selectors.js +86 -86
- package/app-layout/visual-refresh/trigger-button.d.ts.map +1 -1
- package/app-layout/visual-refresh/trigger-button.js +1 -1
- package/app-layout/visual-refresh/trigger-button.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/drawer/styles.css.js +32 -32
- package/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +112 -112
- 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 +15 -15
- package/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +6 -6
- package/app-layout/visual-refresh-toolbar/notifications/styles.css.js +3 -3
- package/app-layout/visual-refresh-toolbar/notifications/styles.scoped.css +4 -4
- package/app-layout/visual-refresh-toolbar/notifications/styles.selectors.js +3 -3
- package/app-layout/visual-refresh-toolbar/skeleton/styles.css.js +30 -30
- package/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +74 -74
- package/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +30 -30
- package/app-layout/visual-refresh-toolbar/toolbar/styles.css.js +14 -14
- package/app-layout/visual-refresh-toolbar/toolbar/styles.scoped.css +44 -44
- package/app-layout/visual-refresh-toolbar/toolbar/styles.selectors.js +14 -14
- package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/index.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/index.js +1 -1
- package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/index.js.map +1 -1
- package/area-chart/styles.css.js +6 -6
- package/area-chart/styles.scoped.css +11 -11
- package/area-chart/styles.selectors.js +6 -6
- package/attribute-editor/styles.css.js +15 -15
- package/attribute-editor/styles.scoped.css +32 -32
- package/attribute-editor/styles.selectors.js +15 -15
- package/badge/styles.css.js +10 -10
- package/badge/styles.scoped.css +11 -11
- package/badge/styles.selectors.js +10 -10
- package/box/styles.css.js +220 -220
- package/box/styles.scoped.css +433 -433
- package/box/styles.selectors.js +220 -220
- package/breadcrumb-group/all-items-dropdown.js +2 -2
- package/breadcrumb-group/all-items-dropdown.js.map +1 -1
- package/breadcrumb-group/item/styles.css.js +7 -7
- package/breadcrumb-group/item/styles.scoped.css +30 -30
- package/breadcrumb-group/item/styles.selectors.js +7 -7
- package/breadcrumb-group/styles.css.js +14 -14
- package/breadcrumb-group/styles.scoped.css +32 -32
- package/breadcrumb-group/styles.selectors.js +14 -14
- package/button/internal.d.ts.map +1 -1
- package/button/internal.js +2 -0
- package/button/internal.js.map +1 -1
- package/button/styles.css.js +23 -23
- package/button/styles.scoped.css +295 -295
- package/button/styles.selectors.js +23 -23
- package/button-dropdown/category-elements/expandable-category-element.d.ts.map +1 -1
- package/button-dropdown/category-elements/expandable-category-element.js +2 -2
- package/button-dropdown/category-elements/expandable-category-element.js.map +1 -1
- package/button-dropdown/category-elements/styles.css.js +18 -18
- package/button-dropdown/category-elements/styles.scoped.css +37 -37
- package/button-dropdown/category-elements/styles.selectors.js +18 -18
- package/button-dropdown/filter.d.ts +1 -1
- package/button-dropdown/filter.d.ts.map +1 -1
- package/button-dropdown/internal.d.ts.map +1 -1
- package/button-dropdown/internal.js +9 -3
- package/button-dropdown/internal.js.map +1 -1
- package/button-dropdown/item-element/index.d.ts.map +1 -1
- package/button-dropdown/item-element/index.js +2 -2
- package/button-dropdown/item-element/index.js.map +1 -1
- package/button-dropdown/item-element/styles.css.js +21 -21
- package/button-dropdown/item-element/styles.scoped.css +45 -45
- package/button-dropdown/item-element/styles.selectors.js +21 -21
- package/button-dropdown/styles.css.js +23 -23
- package/button-dropdown/styles.scoped.css +40 -40
- package/button-dropdown/styles.selectors.js +23 -23
- package/button-dropdown/utils/use-button-dropdown.d.ts +5 -2
- package/button-dropdown/utils/use-button-dropdown.d.ts.map +1 -1
- package/button-dropdown/utils/use-button-dropdown.js +14 -2
- package/button-dropdown/utils/use-button-dropdown.js.map +1 -1
- package/button-group/styles.css.js +4 -4
- package/button-group/styles.scoped.css +6 -6
- package/button-group/styles.selectors.js +4 -4
- package/calendar/styles.css.js +21 -21
- package/calendar/styles.scoped.css +62 -62
- package/calendar/styles.selectors.js +21 -21
- package/cards/styles.css.js +39 -38
- package/cards/styles.scoped.css +54 -51
- package/cards/styles.selectors.js +39 -38
- package/checkbox/styles.css.js +3 -3
- package/checkbox/styles.scoped.css +16 -16
- package/checkbox/styles.selectors.js +3 -3
- package/code-editor/resizable-box/styles.css.js +4 -4
- package/code-editor/resizable-box/styles.scoped.css +9 -9
- package/code-editor/resizable-box/styles.selectors.js +4 -4
- package/code-editor/styles.css.js +33 -33
- package/code-editor/styles.scoped.css +159 -159
- package/code-editor/styles.selectors.js +33 -33
- package/code-editor/tab-button.d.ts.map +1 -1
- package/code-editor/tab-button.js +1 -1
- package/code-editor/tab-button.js.map +1 -1
- package/collection-preferences/styles.css.js +38 -38
- package/collection-preferences/styles.scoped.css +52 -52
- package/collection-preferences/styles.selectors.js +38 -38
- package/column-layout/flexible-column-layout/styles.css.js +5 -5
- package/column-layout/flexible-column-layout/styles.scoped.css +12 -12
- package/column-layout/flexible-column-layout/styles.selectors.js +5 -5
- package/column-layout/styles.css.js +13 -13
- package/column-layout/styles.scoped.css +51 -51
- package/column-layout/styles.selectors.js +13 -13
- package/container/styles.css.js +33 -33
- package/container/styles.scoped.css +73 -72
- package/container/styles.selectors.js +33 -33
- package/content-layout/styles.css.js +14 -14
- package/content-layout/styles.scoped.css +30 -30
- package/content-layout/styles.selectors.js +14 -14
- package/copy-to-clipboard/styles.css.js +5 -5
- package/copy-to-clipboard/styles.scoped.css +7 -7
- package/copy-to-clipboard/styles.selectors.js +5 -5
- package/date-picker/styles.css.js +7 -7
- package/date-picker/styles.scoped.css +10 -10
- package/date-picker/styles.selectors.js +7 -7
- package/date-range-picker/calendar/grids/styles.css.js +30 -30
- package/date-range-picker/calendar/grids/styles.scoped.css +69 -69
- package/date-range-picker/calendar/grids/styles.selectors.js +30 -30
- package/date-range-picker/relative-range/styles.css.js +6 -6
- package/date-range-picker/relative-range/styles.scoped.css +13 -13
- package/date-range-picker/relative-range/styles.selectors.js +6 -6
- package/date-range-picker/styles.css.js +23 -23
- package/date-range-picker/styles.scoped.css +46 -46
- package/date-range-picker/styles.selectors.js +23 -23
- package/divider/styles.css.js +6 -6
- package/divider/styles.scoped.css +8 -8
- package/divider/styles.selectors.js +6 -6
- package/drawer/styles.css.js +29 -29
- package/drawer/styles.scoped.css +47 -47
- package/drawer/styles.selectors.js +29 -29
- package/dropdown/styles.css.js +20 -20
- package/dropdown/styles.scoped.css +54 -54
- package/dropdown/styles.selectors.js +20 -20
- package/expandable-section/expandable-section-header.d.ts.map +1 -1
- package/expandable-section/expandable-section-header.js +13 -7
- package/expandable-section/expandable-section-header.js.map +1 -1
- package/expandable-section/styles.css.js +43 -43
- package/expandable-section/styles.scoped.css +129 -129
- package/expandable-section/styles.selectors.js +43 -43
- package/file-dropzone/styles.css.js +3 -3
- package/file-dropzone/styles.scoped.css +6 -6
- package/file-dropzone/styles.selectors.js +3 -3
- package/file-input/styles.css.js +5 -5
- package/file-input/styles.scoped.css +18 -18
- package/file-input/styles.selectors.js +5 -5
- package/file-token-group/styles.css.js +23 -23
- package/file-token-group/styles.scoped.css +52 -52
- package/file-token-group/styles.selectors.js +23 -23
- package/file-upload/styles.css.js +2 -2
- package/file-upload/styles.scoped.css +4 -4
- package/file-upload/styles.selectors.js +2 -2
- package/flashbar/collapsible-flashbar.d.ts.map +1 -1
- package/flashbar/collapsible-flashbar.js +3 -3
- package/flashbar/collapsible-flashbar.js.map +1 -1
- package/flashbar/styles.css.js +50 -50
- package/flashbar/styles.scoped.css +249 -249
- package/flashbar/styles.selectors.js +50 -50
- package/form/styles.css.js +8 -8
- package/form/styles.scoped.css +16 -16
- package/form/styles.selectors.js +8 -8
- package/form-field/styles.css.js +24 -24
- package/form-field/styles.scoped.css +44 -44
- package/form-field/styles.selectors.js +24 -24
- package/grid/styles.css.js +53 -53
- package/grid/styles.scoped.css +58 -58
- package/grid/styles.selectors.js +53 -53
- package/header/styles.css.js +35 -35
- package/header/styles.scoped.css +83 -83
- package/header/styles.selectors.js +35 -35
- package/help-panel/styles.css.js +6 -6
- package/help-panel/styles.scoped.css +100 -100
- package/help-panel/styles.selectors.js +6 -6
- package/hotspot/styles.css.js +7 -7
- package/hotspot/styles.scoped.css +10 -10
- package/hotspot/styles.selectors.js +7 -7
- package/icon/styles.css.js +42 -42
- package/icon/styles.scoped.css +118 -118
- package/icon/styles.selectors.js +42 -42
- package/input/index.d.ts.map +1 -1
- package/input/index.js +3 -2
- package/input/index.js.map +1 -1
- package/input/interfaces.d.ts +6 -0
- package/input/interfaces.d.ts.map +1 -1
- package/input/interfaces.js.map +1 -1
- package/input/internal.d.ts +0 -1
- package/input/internal.d.ts.map +1 -1
- package/input/internal.js +26 -12
- package/input/internal.js.map +1 -1
- package/input/styles.css.js +29 -28
- package/input/styles.scoped.css +159 -156
- package/input/styles.selectors.js +29 -28
- package/internal/base-component/styles.scoped.css +2 -2
- package/internal/base-theme/styles.scoped.css +319 -319
- package/internal/components/abstract-switch/styles.css.js +13 -13
- package/internal/components/abstract-switch/styles.scoped.css +22 -22
- package/internal/components/abstract-switch/styles.selectors.js +13 -13
- package/internal/components/button-trigger/index.d.ts.map +1 -1
- package/internal/components/button-trigger/index.js +2 -2
- package/internal/components/button-trigger/index.js.map +1 -1
- package/internal/components/button-trigger/styles.css.js +14 -14
- package/internal/components/button-trigger/styles.scoped.css +43 -43
- package/internal/components/button-trigger/styles.selectors.js +14 -14
- package/internal/components/chart-legend/styles.css.js +6 -6
- package/internal/components/chart-legend/styles.scoped.css +16 -16
- package/internal/components/chart-legend/styles.selectors.js +6 -6
- package/internal/components/chart-popover/styles.css.js +3 -3
- package/internal/components/chart-popover/styles.scoped.css +6 -6
- package/internal/components/chart-popover/styles.selectors.js +3 -3
- package/internal/components/chart-series-details/styles.css.js +19 -19
- package/internal/components/chart-series-details/styles.scoped.css +39 -39
- package/internal/components/chart-series-details/styles.selectors.js +19 -19
- package/internal/components/chart-series-marker/styles.css.js +5 -5
- package/internal/components/chart-series-marker/styles.scoped.css +9 -9
- package/internal/components/chart-series-marker/styles.selectors.js +5 -5
- package/internal/components/checkbox-icon/styles.css.js +9 -9
- package/internal/components/checkbox-icon/styles.scoped.css +10 -10
- package/internal/components/checkbox-icon/styles.selectors.js +9 -9
- package/internal/components/drag-handle/button.d.ts.map +1 -1
- package/internal/components/drag-handle/button.js +3 -1
- package/internal/components/drag-handle/button.js.map +1 -1
- package/internal/components/drag-handle/styles.css.js +14 -14
- package/internal/components/drag-handle/styles.scoped.css +21 -21
- package/internal/components/drag-handle/styles.selectors.js +14 -14
- package/internal/components/drag-handle-wrapper/index.d.ts.map +1 -1
- package/internal/components/drag-handle-wrapper/index.js +2 -1
- package/internal/components/drag-handle-wrapper/index.js.map +1 -1
- package/internal/components/drag-handle-wrapper/styles.css.js +30 -30
- package/internal/components/drag-handle-wrapper/styles.scoped.css +84 -84
- package/internal/components/drag-handle-wrapper/styles.selectors.js +30 -30
- package/internal/components/dropdown-status/styles.css.js +2 -2
- package/internal/components/dropdown-status/styles.scoped.css +5 -5
- package/internal/components/dropdown-status/styles.selectors.js +2 -2
- package/internal/components/expand-toggle-button/index.d.ts.map +1 -1
- package/internal/components/expand-toggle-button/index.js +1 -1
- package/internal/components/expand-toggle-button/index.js.map +1 -1
- package/internal/components/expand-toggle-button/styles.css.js +4 -4
- package/internal/components/expand-toggle-button/styles.scoped.css +21 -21
- package/internal/components/expand-toggle-button/styles.selectors.js +4 -4
- package/internal/components/menu-dropdown/index.d.ts.map +1 -1
- package/internal/components/menu-dropdown/index.js +1 -1
- package/internal/components/menu-dropdown/index.js.map +1 -1
- package/internal/components/menu-dropdown/styles.css.js +7 -7
- package/internal/components/menu-dropdown/styles.scoped.css +18 -18
- package/internal/components/menu-dropdown/styles.selectors.js +7 -7
- package/internal/components/option/styles.css.js +17 -17
- package/internal/components/option/styles.scoped.css +34 -34
- package/internal/components/option/styles.selectors.js +17 -17
- package/internal/components/radio-button/styles.css.js +7 -7
- package/internal/components/radio-button/styles.scoped.css +24 -24
- 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 +66 -66
- package/internal/components/selectable-item/styles.selectors.js +22 -22
- package/internal/components/sortable-area/styles.css.js +8 -8
- package/internal/components/sortable-area/styles.scoped.css +17 -17
- package/internal/components/sortable-area/styles.selectors.js +8 -8
- package/internal/components/structured-item/styles.css.js +7 -7
- package/internal/components/structured-item/styles.scoped.css +11 -11
- package/internal/components/structured-item/styles.selectors.js +7 -7
- package/internal/components/token-list/styles.css.js +10 -10
- package/internal/components/token-list/styles.scoped.css +33 -33
- package/internal/components/token-list/styles.selectors.js +10 -10
- package/internal/components/token-list/token-limit-toggle.d.ts.map +1 -1
- package/internal/components/token-list/token-limit-toggle.js +2 -2
- package/internal/components/token-list/token-limit-toggle.js.map +1 -1
- package/internal/environment.js +2 -2
- package/internal/environment.json +2 -2
- package/internal/generated/custom-css-properties/index.d.ts +1 -0
- package/internal/generated/custom-css-properties/index.d.ts.map +1 -1
- package/internal/generated/custom-css-properties/index.js +174 -173
- package/internal/generated/custom-css-properties/index.js.map +1 -1
- package/internal/generated/styles/tokens.js +200 -200
- package/internal/generated/theming/index.cjs +200 -200
- package/internal/generated/theming/index.js +200 -200
- package/internal/manifest.json +1 -1
- package/internal/utils/focus-visible.d.ts +14 -0
- package/internal/utils/focus-visible.d.ts.map +1 -0
- package/internal/utils/focus-visible.js +21 -0
- package/internal/utils/focus-visible.js.map +1 -0
- package/item-card/styles.css.js +14 -14
- package/item-card/styles.scoped.css +94 -94
- package/item-card/styles.selectors.js +14 -14
- package/key-value-pairs/styles.css.js +8 -8
- package/key-value-pairs/styles.scoped.css +14 -14
- package/key-value-pairs/styles.selectors.js +8 -8
- package/link/internal.d.ts.map +1 -1
- package/link/internal.js +2 -0
- package/link/internal.js.map +1 -1
- package/link/styles.css.js +21 -21
- package/link/styles.scoped.css +112 -112
- package/link/styles.selectors.js +21 -21
- package/list/styles.css.js +5 -5
- package/list/styles.scoped.css +9 -9
- package/list/styles.selectors.js +5 -5
- package/manifest.json +2 -2
- package/mixed-line-bar-chart/styles.css.js +11 -11
- package/mixed-line-bar-chart/styles.scoped.css +18 -18
- package/mixed-line-bar-chart/styles.selectors.js +11 -11
- package/modal/styles.css.js +31 -31
- package/modal/styles.scoped.css +65 -65
- package/modal/styles.selectors.js +31 -31
- package/multiselect/styles.css.js +5 -5
- package/multiselect/styles.scoped.css +6 -6
- package/multiselect/styles.selectors.js +5 -5
- package/package.json +1 -1
- package/pagination/internal.d.ts.map +1 -1
- package/pagination/internal.js +4 -4
- package/pagination/internal.js.map +1 -1
- package/pagination/styles.css.js +12 -12
- package/pagination/styles.scoped.css +36 -36
- package/pagination/styles.selectors.js +12 -12
- package/pie-chart/styles.css.js +27 -27
- package/pie-chart/styles.scoped.css +58 -58
- package/pie-chart/styles.selectors.js +27 -27
- package/popover/styles.css.js +58 -58
- package/popover/styles.scoped.css +102 -102
- package/popover/styles.selectors.js +58 -58
- package/progress-bar/styles.css.js +19 -19
- package/progress-bar/styles.scoped.css +64 -64
- package/progress-bar/styles.selectors.js +19 -19
- package/prompt-input/styles.css.js +26 -26
- package/prompt-input/styles.scoped.css +127 -127
- package/prompt-input/styles.selectors.js +26 -26
- package/property-filter/filtering-token/index.js +4 -4
- package/property-filter/filtering-token/index.js.map +1 -1
- package/property-filter/filtering-token/styles.css.js +18 -18
- package/property-filter/filtering-token/styles.scoped.css +54 -54
- package/property-filter/filtering-token/styles.selectors.js +18 -18
- package/property-filter/styles.css.js +39 -39
- package/property-filter/styles.scoped.css +75 -75
- package/property-filter/styles.selectors.js +39 -39
- package/radio-group/styles.css.js +5 -5
- package/radio-group/styles.scoped.css +10 -10
- package/radio-group/styles.selectors.js +5 -5
- package/s3-resource-selector/s3-in-context/styles.css.js +7 -7
- package/s3-resource-selector/s3-in-context/styles.scoped.css +13 -13
- package/s3-resource-selector/s3-in-context/styles.selectors.js +7 -7
- package/segmented-control/segment.d.ts.map +1 -1
- package/segmented-control/segment.js +1 -1
- package/segmented-control/segment.js.map +1 -1
- package/segmented-control/styles.css.js +16 -16
- package/segmented-control/styles.scoped.css +67 -67
- package/segmented-control/styles.selectors.js +16 -16
- 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 +38 -38
- package/select/parts/styles.selectors.js +21 -21
- package/side-navigation/parts.js +3 -3
- package/side-navigation/parts.js.map +1 -1
- package/side-navigation/styles.css.js +64 -64
- package/side-navigation/styles.scoped.css +162 -162
- package/side-navigation/styles.selectors.js +64 -64
- package/slider/styles.css.js +26 -26
- package/slider/styles.scoped.css +205 -205
- package/slider/styles.selectors.js +26 -26
- package/space-between/styles.css.js +23 -23
- package/space-between/styles.scoped.css +40 -40
- package/space-between/styles.selectors.js +23 -23
- package/spinner/styles.css.js +14 -14
- package/spinner/styles.scoped.css +55 -55
- package/spinner/styles.selectors.js +14 -14
- package/split-panel/styles.css.js +38 -38
- package/split-panel/styles.scoped.css +84 -84
- package/split-panel/styles.selectors.js +38 -38
- package/status-indicator/styles.css.js +25 -25
- package/status-indicator/styles.scoped.css +50 -50
- package/status-indicator/styles.selectors.js +25 -25
- package/steps/styles.css.js +17 -17
- package/steps/styles.scoped.css +51 -51
- package/steps/styles.selectors.js +17 -17
- package/table/body-cell/styles.css.js +48 -48
- package/table/body-cell/styles.scoped.css +816 -816
- package/table/body-cell/styles.selectors.js +48 -48
- package/table/header-cell/index.d.ts.map +1 -1
- package/table/header-cell/index.js +2 -1
- package/table/header-cell/index.js.map +1 -1
- package/table/header-cell/styles.css.js +38 -38
- package/table/header-cell/styles.scoped.css +156 -156
- package/table/header-cell/styles.selectors.js +38 -38
- package/table/resizer/styles.css.js +17 -17
- package/table/resizer/styles.scoped.css +39 -39
- package/table/resizer/styles.selectors.js +17 -17
- package/table/selection/styles.css.js +4 -4
- package/table/selection/styles.scoped.css +6 -6
- package/table/selection/styles.selectors.js +4 -4
- package/table/styles.css.js +37 -37
- package/table/styles.scoped.css +73 -70
- package/table/styles.selectors.js +37 -37
- package/tabs/styles.css.js +30 -30
- package/tabs/styles.scoped.css +105 -105
- package/tabs/styles.selectors.js +30 -30
- package/tabs/tab-header-bar.d.ts.map +1 -1
- package/tabs/tab-header-bar.js +1 -1
- package/tabs/tab-header-bar.js.map +1 -1
- package/tag-editor/styles.css.js +3 -3
- package/tag-editor/styles.scoped.css +14 -14
- package/tag-editor/styles.selectors.js +3 -3
- package/test-utils/dom/input/index.d.ts +1 -0
- package/test-utils/dom/input/index.js +3 -0
- package/test-utils/dom/input/index.js.map +1 -1
- package/test-utils/selectors/input/index.d.ts +1 -0
- package/test-utils/selectors/input/index.js +3 -0
- package/test-utils/selectors/input/index.js.map +1 -1
- package/text-content/styles.css.js +1 -1
- package/text-content/styles.scoped.css +73 -73
- package/text-content/styles.selectors.js +1 -1
- package/text-filter/styles.css.js +3 -3
- package/text-filter/styles.scoped.css +5 -5
- package/text-filter/styles.selectors.js +3 -3
- package/textarea/styles.css.js +9 -9
- package/textarea/styles.scoped.css +55 -55
- package/textarea/styles.selectors.js +9 -9
- package/tiles/styles.css.js +30 -30
- package/tiles/styles.scoped.css +123 -123
- package/tiles/styles.selectors.js +30 -30
- package/toggle/styles.css.js +10 -10
- package/toggle/styles.scoped.css +24 -24
- package/toggle/styles.selectors.js +10 -10
- package/token/dismiss-button.js +2 -2
- package/token/dismiss-button.js.map +1 -1
- package/token/styles.css.js +14 -14
- package/token/styles.scoped.css +58 -58
- package/token/styles.selectors.js +14 -14
- package/token-group/styles.css.js +5 -5
- package/token-group/styles.scoped.css +5 -5
- package/token-group/styles.selectors.js +5 -5
- package/tooltip/styles.css.js +2 -2
- package/tooltip/styles.scoped.css +5 -5
- package/tooltip/styles.selectors.js +2 -2
- package/top-navigation/parts/overflow-menu/menu-item.d.ts.map +1 -1
- package/top-navigation/parts/overflow-menu/menu-item.js +5 -5
- package/top-navigation/parts/overflow-menu/menu-item.js.map +1 -1
- package/top-navigation/styles.css.js +47 -47
- package/top-navigation/styles.scoped.css +97 -97
- package/top-navigation/styles.selectors.js +47 -47
- package/tree-view/styles.css.js +2 -2
- package/tree-view/styles.scoped.css +4 -4
- package/tree-view/styles.selectors.js +2 -2
- package/tree-view/tree-item/styles.css.js +10 -10
- package/tree-view/tree-item/styles.scoped.css +15 -15
- package/tree-view/tree-item/styles.selectors.js +10 -10
- package/tree-view/vertical-connector/styles.css.js +3 -3
- package/tree-view/vertical-connector/styles.scoped.css +4 -4
- package/tree-view/vertical-connector/styles.selectors.js +3 -3
- package/tutorial-panel/components/tutorial-detail-view/styles.css.js +20 -20
- package/tutorial-panel/components/tutorial-detail-view/styles.scoped.css +26 -26
- package/tutorial-panel/components/tutorial-detail-view/styles.selectors.js +20 -20
- package/tutorial-panel/components/tutorial-list/styles.css.js +18 -18
- package/tutorial-panel/components/tutorial-list/styles.scoped.css +33 -33
- package/tutorial-panel/components/tutorial-list/styles.selectors.js +18 -18
- package/tutorial-panel/styles.css.js +1 -1
- package/tutorial-panel/styles.scoped.css +7 -7
- package/tutorial-panel/styles.selectors.js +1 -1
- package/wizard/styles.css.js +30 -30
- package/wizard/styles.scoped.css +79 -79
- package/wizard/styles.selectors.js +30 -30
|
@@ -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_1id8u_1 {
|
|
14
14
|
from {
|
|
15
|
-
transform: translate(var(--awsui-drag-handle-animation-inline-offset-
|
|
15
|
+
transform: translate(var(--awsui-drag-handle-animation-inline-offset-66120l), var(--awsui-drag-handle-animation-block-offset-66120l));
|
|
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_1id8u_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-66120l), var(--awsui-drag-handle-animation-block-offset-66120l));
|
|
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_1id8u_29:not(#\9) {
|
|
30
|
+
--awsui-drag-handle-animation-inline-offset-66120l: 0;
|
|
31
|
+
--awsui-drag-handle-animation-block-offset-66120l: 0;
|
|
32
32
|
}
|
|
33
|
-
@keyframes awsui_awsui-motion-fade-
|
|
33
|
+
@keyframes awsui_awsui-motion-fade-in_155yk_1id8u_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_1id8u_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_1id8u_49:not(#\9), .awsui_direction-button-wrapper-motion-entering_155yk_1id8u_49:not(#\9), .awsui_direction-button-wrapper-motion-exit_155yk_1id8u_49:not(#\9), .awsui_direction-button-wrapper-motion-exiting_155yk_1id8u_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_1id8u_49:not(#\9) {
|
|
53
|
+
animation: awsui_drag-handle-entry_155yk_1id8u_1 var(--motion-duration-complex-n5wfwh, 250ms) var(--motion-easing-responsive-k7246o, cubic-bezier(0, 0, 0, 1)), awsui_awsui-motion-fade-in_155yk_1id8u_1 var(--motion-duration-complex-n5wfwh, 250ms) var(--motion-easing-responsive-k7246o, cubic-bezier(0, 0, 0, 1));
|
|
54
54
|
}
|
|
55
55
|
@media (prefers-reduced-motion: reduce) {
|
|
56
|
-
.awsui_direction-button-wrapper-motion-
|
|
56
|
+
.awsui_direction-button-wrapper-motion-entering_155yk_1id8u_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_1id8u_49:not(#\9), .awsui-mode-entering .awsui_direction-button-wrapper-motion-entering_155yk_1id8u_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_1id8u_49:not(#\9) {
|
|
66
|
+
animation: awsui_drag-handle-exit_155yk_1id8u_1 var(--motion-duration-complex-n5wfwh, 250ms) var(--motion-easing-responsive-k7246o, cubic-bezier(0, 0, 0, 1)) forwards, awsui_awsui-motion-fade-out-0_155yk_1id8u_1 var(--motion-duration-complex-n5wfwh, 250ms) var(--motion-easing-responsive-k7246o, cubic-bezier(0, 0, 0, 1)) forwards;
|
|
67
67
|
}
|
|
68
68
|
@media (prefers-reduced-motion: reduce) {
|
|
69
|
-
.awsui_direction-button-wrapper-motion-
|
|
69
|
+
.awsui_direction-button-wrapper-motion-exiting_155yk_1id8u_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_1id8u_49:not(#\9), .awsui-mode-entering .awsui_direction-button-wrapper-motion-exiting_155yk_1id8u_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_1id8u_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_1id8u_29:not(#\9), .awsui-mode-entering .awsui_direction-button-wrapper_155yk_1id8u_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_1id8u_89:not(#\9) {
|
|
90
|
+
--awsui-drag-handle-animation-block-offset-66120l: 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_1id8u_93:not(#\9) {
|
|
94
|
+
--awsui-drag-handle-animation-block-offset-66120l: -20px;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
.awsui_direction-button-wrapper-inline-
|
|
97
|
+
.awsui_direction-button-wrapper-inline-start_155yk_1id8u_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_1id8u_97:not(#\9):dir(ltr) {
|
|
102
|
+
--awsui-drag-handle-animation-inline-offset-66120l: 20px;
|
|
103
103
|
}
|
|
104
|
-
.awsui_direction-button-wrapper-inline-
|
|
105
|
-
--awsui-drag-handle-animation-inline-offset-
|
|
104
|
+
.awsui_direction-button-wrapper-inline-start_155yk_1id8u_97:not(#\9):dir(rtl) {
|
|
105
|
+
--awsui-drag-handle-animation-inline-offset-66120l: -20px;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
.awsui_direction-button-wrapper-inline-
|
|
108
|
+
.awsui_direction-button-wrapper-inline-end_155yk_1id8u_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_1id8u_108:not(#\9):dir(ltr) {
|
|
113
|
+
--awsui-drag-handle-animation-inline-offset-66120l: -20px;
|
|
114
114
|
}
|
|
115
|
-
.awsui_direction-button-wrapper-inline-
|
|
116
|
-
--awsui-drag-handle-animation-inline-offset-
|
|
115
|
+
.awsui_direction-button-wrapper-inline-end_155yk_1id8u_108:not(#\9):dir(rtl) {
|
|
116
|
+
--awsui-drag-handle-animation-inline-offset-66120l: 20px;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
.
|
|
119
|
+
.awsui_contents_155yk_1id8u_119:not(#\9) {
|
|
120
120
|
display: contents;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
.awsui_portal-
|
|
123
|
+
.awsui_portal-overlay_155yk_1id8u_123:not(#\9) {
|
|
124
124
|
position: absolute;
|
|
125
125
|
inset-block-start: 0;
|
|
126
126
|
inset-inline-start: 0;
|
|
@@ -128,114 +128,114 @@ 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_1id8u_131:not(#\9) {
|
|
132
132
|
display: none;
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
.awsui_portal-overlay-
|
|
135
|
+
.awsui_portal-overlay-contents_155yk_1id8u_135:not(#\9) {
|
|
136
136
|
pointer-events: auto;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
.awsui_drag-
|
|
139
|
+
.awsui_drag-handle_155yk_1id8u_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_1id8u_29:not(#\9) {
|
|
145
145
|
position: absolute;
|
|
146
|
-
block-size: var(--space-static-xl-
|
|
147
|
-
inline-size: var(--space-static-xl-
|
|
148
|
-
padding-block: var(--space-static-xxs-
|
|
149
|
-
padding-inline: var(--space-static-xxs-
|
|
146
|
+
block-size: var(--space-static-xl-frcfkv, 24px);
|
|
147
|
+
inline-size: var(--space-static-xl-frcfkv, 24px);
|
|
148
|
+
padding-block: var(--space-static-xxs-vzto3j, 4px);
|
|
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_1id8u_152:not(#\9) {
|
|
153
153
|
display: none;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
.awsui_direction-button-wrapper-block-
|
|
157
|
-
inset-block-start: calc(-1 * (var(--space-static-xl-
|
|
158
|
-
inset-inline-start: calc(50% - (var(--space-static-xl-
|
|
156
|
+
.awsui_direction-button-wrapper-block-start_155yk_1id8u_89:not(#\9) {
|
|
157
|
+
inset-block-start: calc(-1 * (var(--space-static-xl-frcfkv, 24px) + 2 * var(--space-static-xxs-vzto3j, 4px)));
|
|
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-
|
|
162
|
-
inset-block-end: calc(-1 * (var(--space-static-xl-
|
|
163
|
-
inset-inline-start: calc(50% - (var(--space-static-xl-
|
|
161
|
+
.awsui_direction-button-wrapper-block-end_155yk_1id8u_93:not(#\9) {
|
|
162
|
+
inset-block-end: calc(-1 * (var(--space-static-xl-frcfkv, 24px) + 2 * var(--space-static-xxs-vzto3j, 4px)));
|
|
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-
|
|
167
|
-
inset-inline-start: calc(-1 * (var(--space-static-xl-
|
|
168
|
-
inset-block-start: calc(50% - (var(--space-static-xl-
|
|
166
|
+
.awsui_direction-button-wrapper-inline-start_155yk_1id8u_97:not(#\9) {
|
|
167
|
+
inset-inline-start: calc(-1 * (var(--space-static-xl-frcfkv, 24px) + 2 * var(--space-static-xxs-vzto3j, 4px)));
|
|
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-
|
|
172
|
-
inset-inline-end: calc(-1 * (var(--space-static-xl-
|
|
173
|
-
inset-block-start: calc(50% - (var(--space-static-xl-
|
|
171
|
+
.awsui_direction-button-wrapper-inline-end_155yk_1id8u_108:not(#\9) {
|
|
172
|
+
inset-inline-end: calc(-1 * (var(--space-static-xl-frcfkv, 24px) + 2 * var(--space-static-xxs-vzto3j, 4px)));
|
|
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-
|
|
177
|
-
inset-inline-start: calc(50% - (var(--space-static-xl-
|
|
176
|
+
.awsui_direction-button-wrapper-forced_155yk_1id8u_176:not(#\9) {
|
|
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-
|
|
181
|
-
inset-block-start: calc(-1 * (var(--space-static-xl-
|
|
180
|
+
.awsui_direction-button-wrapper-forced-top-0_155yk_1id8u_180:not(#\9) {
|
|
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-
|
|
185
|
-
inset-block-start: calc(-2 * (var(--space-static-xl-
|
|
184
|
+
.awsui_direction-button-wrapper-forced-top-1_155yk_1id8u_184:not(#\9) {
|
|
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-
|
|
189
|
-
inset-block-start: calc(-3 * (var(--space-static-xl-
|
|
188
|
+
.awsui_direction-button-wrapper-forced-top-2_155yk_1id8u_188:not(#\9) {
|
|
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-
|
|
193
|
-
inset-block-start: calc(-4 * (var(--space-static-xl-
|
|
192
|
+
.awsui_direction-button-wrapper-forced-top-3_155yk_1id8u_192:not(#\9) {
|
|
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-
|
|
197
|
-
inset-block-start: calc(1 * (var(--space-static-xl-
|
|
196
|
+
.awsui_direction-button-wrapper-forced-bottom-0_155yk_1id8u_196:not(#\9) {
|
|
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-
|
|
201
|
-
inset-block-start: calc(2 * (var(--space-static-xl-
|
|
200
|
+
.awsui_direction-button-wrapper-forced-bottom-1_155yk_1id8u_200:not(#\9) {
|
|
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-
|
|
205
|
-
inset-block-start: calc(3 * (var(--space-static-xl-
|
|
204
|
+
.awsui_direction-button-wrapper-forced-bottom-2_155yk_1id8u_204:not(#\9) {
|
|
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-
|
|
209
|
-
inset-block-start: calc(4 * (var(--space-static-xl-
|
|
208
|
+
.awsui_direction-button-wrapper-forced-bottom-3_155yk_1id8u_208:not(#\9) {
|
|
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_1id8u_29:not(#\9) {
|
|
213
213
|
position: absolute;
|
|
214
214
|
border-width: 0;
|
|
215
215
|
cursor: pointer;
|
|
216
216
|
display: inline-block;
|
|
217
217
|
box-sizing: border-box;
|
|
218
218
|
touch-action: manipulation;
|
|
219
|
-
inline-size: var(--space-static-xl-
|
|
220
|
-
block-size: var(--space-static-xl-
|
|
221
|
-
padding-block: var(--space-xxs-
|
|
222
|
-
padding-inline: var(--space-xxs-
|
|
219
|
+
inline-size: var(--space-static-xl-frcfkv, 24px);
|
|
220
|
+
block-size: var(--space-static-xl-frcfkv, 24px);
|
|
221
|
+
padding-block: var(--space-xxs-3o1yoq, 4px);
|
|
222
|
+
padding-inline: var(--space-xxs-3o1yoq, 4px);
|
|
223
223
|
border-start-start-radius: 50%;
|
|
224
224
|
border-start-end-radius: 50%;
|
|
225
225
|
border-end-start-radius: 50%;
|
|
226
226
|
border-end-end-radius: 50%;
|
|
227
227
|
background-color: var(--color-background-direction-button-default-bvhbsn, #424650);
|
|
228
228
|
color: var(--color-text-direction-button-default-p88lvb, #ffffff);
|
|
229
|
-
box-shadow: var(--shadow-dropdown-
|
|
229
|
+
box-shadow: var(--shadow-dropdown-ogwesf, 0px 4px 20px 1px rgba(0, 7, 22, 0.1));
|
|
230
230
|
}
|
|
231
|
-
.awsui_direction-
|
|
231
|
+
.awsui_direction-button_155yk_1id8u_29:not(#\9):not(.awsui_direction-button-disabled_155yk_1id8u_231):hover {
|
|
232
232
|
background-color: var(--color-background-direction-button-hover-74n5o1, #333843);
|
|
233
233
|
}
|
|
234
|
-
.awsui_direction-
|
|
234
|
+
.awsui_direction-button_155yk_1id8u_29:not(#\9):not(.awsui_direction-button-disabled_155yk_1id8u_231):active {
|
|
235
235
|
background-color: var(--color-background-direction-button-active-lvo0dy, #232b37);
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
-
.awsui_direction-button-
|
|
238
|
+
.awsui_direction-button-disabled_155yk_1id8u_231:not(#\9) {
|
|
239
239
|
cursor: default;
|
|
240
240
|
background-color: var(--color-background-direction-button-disabled-uad4xk, #ebebf0);
|
|
241
241
|
color: var(--color-text-direction-button-disabled-t86kvg, #b4b4bb);
|
|
@@ -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_1id8u_29",
|
|
6
|
+
"direction-button-wrapper-motion-enter": "awsui_direction-button-wrapper-motion-enter_155yk_1id8u_49",
|
|
7
|
+
"direction-button-wrapper-motion-entering": "awsui_direction-button-wrapper-motion-entering_155yk_1id8u_49",
|
|
8
|
+
"direction-button-wrapper-motion-exit": "awsui_direction-button-wrapper-motion-exit_155yk_1id8u_49",
|
|
9
|
+
"direction-button-wrapper-motion-exiting": "awsui_direction-button-wrapper-motion-exiting_155yk_1id8u_49",
|
|
10
|
+
"drag-handle-entry": "awsui_drag-handle-entry_155yk_1id8u_1",
|
|
11
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_155yk_1id8u_1",
|
|
12
|
+
"drag-handle-exit": "awsui_drag-handle-exit_155yk_1id8u_1",
|
|
13
|
+
"awsui-motion-fade-out-0": "awsui_awsui-motion-fade-out-0_155yk_1id8u_1",
|
|
14
|
+
"direction-button-wrapper-block-start": "awsui_direction-button-wrapper-block-start_155yk_1id8u_89",
|
|
15
|
+
"direction-button-wrapper-block-end": "awsui_direction-button-wrapper-block-end_155yk_1id8u_93",
|
|
16
|
+
"direction-button-wrapper-inline-start": "awsui_direction-button-wrapper-inline-start_155yk_1id8u_97",
|
|
17
|
+
"direction-button-wrapper-inline-end": "awsui_direction-button-wrapper-inline-end_155yk_1id8u_108",
|
|
18
|
+
"contents": "awsui_contents_155yk_1id8u_119",
|
|
19
|
+
"portal-overlay": "awsui_portal-overlay_155yk_1id8u_123",
|
|
20
|
+
"portal-overlay-disabled": "awsui_portal-overlay-disabled_155yk_1id8u_131",
|
|
21
|
+
"portal-overlay-contents": "awsui_portal-overlay-contents_155yk_1id8u_135",
|
|
22
|
+
"drag-handle": "awsui_drag-handle_155yk_1id8u_139",
|
|
23
|
+
"direction-button-wrapper-hidden": "awsui_direction-button-wrapper-hidden_155yk_1id8u_152",
|
|
24
|
+
"direction-button-wrapper-forced": "awsui_direction-button-wrapper-forced_155yk_1id8u_176",
|
|
25
|
+
"direction-button-wrapper-forced-top-0": "awsui_direction-button-wrapper-forced-top-0_155yk_1id8u_180",
|
|
26
|
+
"direction-button-wrapper-forced-top-1": "awsui_direction-button-wrapper-forced-top-1_155yk_1id8u_184",
|
|
27
|
+
"direction-button-wrapper-forced-top-2": "awsui_direction-button-wrapper-forced-top-2_155yk_1id8u_188",
|
|
28
|
+
"direction-button-wrapper-forced-top-3": "awsui_direction-button-wrapper-forced-top-3_155yk_1id8u_192",
|
|
29
|
+
"direction-button-wrapper-forced-bottom-0": "awsui_direction-button-wrapper-forced-bottom-0_155yk_1id8u_196",
|
|
30
|
+
"direction-button-wrapper-forced-bottom-1": "awsui_direction-button-wrapper-forced-bottom-1_155yk_1id8u_200",
|
|
31
|
+
"direction-button-wrapper-forced-bottom-2": "awsui_direction-button-wrapper-forced-bottom-2_155yk_1id8u_204",
|
|
32
|
+
"direction-button-wrapper-forced-bottom-3": "awsui_direction-button-wrapper-forced-bottom-3_155yk_1id8u_208",
|
|
33
|
+
"direction-button": "awsui_direction-button_155yk_1id8u_29",
|
|
34
|
+
"direction-button-disabled": "awsui_direction-button-disabled_155yk_1id8u_231"
|
|
35
35
|
};
|
|
36
36
|
|
|
@@ -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_vrgzu_fj1is_9:not(#\9) {
|
|
10
10
|
border-collapse: separate;
|
|
11
11
|
border-spacing: 0;
|
|
12
12
|
box-sizing: border-box;
|
|
@@ -36,11 +36,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
36
36
|
font-family: var(--font-family-base-c9u5cr, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
37
37
|
-webkit-font-smoothing: auto;
|
|
38
38
|
-moz-osx-font-smoothing: auto;
|
|
39
|
-
padding-block-start: var(--space-option-padding-vertical-
|
|
40
|
-
padding-block-end: calc(var(--space-option-padding-vertical-
|
|
41
|
-
padding-inline: var(--space-field-horizontal-
|
|
39
|
+
padding-block-start: var(--space-option-padding-vertical-hggcse, 4px);
|
|
40
|
+
padding-block-end: calc(var(--space-option-padding-vertical-hggcse, 4px) + var(--space-xxxs-3ulqs3, 2px));
|
|
41
|
+
padding-inline: var(--space-field-horizontal-anki5k, 12px);
|
|
42
42
|
color: var(--color-text-dropdown-footer-ks7c04, #656871);
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
.awsui_root_vrgzu_fj1is_9 > .awsui_recovery_vrgzu_fj1is_44:not(#\9) {
|
|
45
45
|
/* used in test-utils */
|
|
46
46
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
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
|
-
"recovery": "
|
|
5
|
+
"root": "awsui_root_vrgzu_fj1is_9",
|
|
6
|
+
"recovery": "awsui_recovery_vrgzu_fj1is_44"
|
|
7
7
|
};
|
|
8
8
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/expand-toggle-button/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAStC,wBAAgB,kBAAkB,CAAC,EACjC,UAAU,EACV,sBAAsB,EACtB,iBAAiB,EACjB,mBAAmB,EACnB,UAAU,EACV,SAAS,EACT,qBAAqB,GACtB,EAAE;IACD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,sBAAsB,CAAC,EAAE,MAAM,IAAI,CAAC;IACpC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/expand-toggle-button/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAStC,wBAAgB,kBAAkB,CAAC,EACjC,UAAU,EACV,sBAAsB,EACtB,iBAAiB,EACjB,mBAAmB,EACnB,UAAU,EACV,SAAS,EACT,qBAAqB,GACtB,EAAE;IACD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,sBAAsB,CAAC,EAAE,MAAM,IAAI,CAAC;IACpC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC,eAyBA"}
|
|
@@ -8,6 +8,6 @@ import styles from './styles.css.js';
|
|
|
8
8
|
export function ExpandToggleButton({ isExpanded, onExpandableItemToggle, expandButtonLabel, collapseButtonLabel, customIcon, className, disableFocusHighlight, }) {
|
|
9
9
|
const buttonRef = useRef(null);
|
|
10
10
|
const { tabIndex } = useSingleTabStopNavigation(buttonRef);
|
|
11
|
-
return (React.createElement("button", { type: "button", ref: buttonRef, tabIndex: tabIndex, "aria-label": isExpanded ? collapseButtonLabel : expandButtonLabel, "aria-expanded": isExpanded, className: clsx(styles['expand-toggle'], disableFocusHighlight && styles['disable-focus-highlight'], className), onClick: onExpandableItemToggle }, customIcon !== null && customIcon !== void 0 ? customIcon : (React.createElement(InternalIcon, { size: isThemeActive(Theme.OneTheme) ? 'x-small' : 'small', name: isThemeActive(Theme.OneTheme) ? 'angle-down' : 'caret-down-filled', className: clsx(styles['expand-toggle-icon'], isExpanded && styles['expand-toggle-icon-expanded']) }))));
|
|
11
|
+
return (React.createElement("button", { type: "button", ref: buttonRef, tabIndex: tabIndex, "aria-label": isExpanded ? collapseButtonLabel : expandButtonLabel, "aria-expanded": isExpanded, className: clsx(styles['expand-toggle'], disableFocusHighlight && styles['disable-focus-highlight'], className), onClick: onExpandableItemToggle, "data-awsui-motion-trigger": "hover", "data-awsui-motion-target": "" }, customIcon !== null && customIcon !== void 0 ? customIcon : (React.createElement(InternalIcon, { size: isThemeActive(Theme.OneTheme) ? 'x-small' : 'small', name: isThemeActive(Theme.OneTheme) ? 'angle-down' : 'caret-down-filled', className: clsx(styles['expand-toggle-icon'], isExpanded && styles['expand-toggle-icon-expanded']) }))));
|
|
12
12
|
}
|
|
13
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/components/expand-toggle-button/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAEtC,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,0BAA0B,EAAE,MAAM,+CAA+C,CAAC;AAEjH,OAAO,YAAY,MAAM,wBAAwB,CAAC;AAElD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,MAAM,UAAU,kBAAkB,CAAC,EACjC,UAAU,EACV,sBAAsB,EACtB,iBAAiB,EACjB,mBAAmB,EACnB,UAAU,EACV,SAAS,EACT,qBAAqB,GAStB;IACC,MAAM,SAAS,GAAG,MAAM,CAAoB,IAAI,CAAC,CAAC;IAClD,MAAM,EAAE,QAAQ,EAAE,GAAG,0BAA0B,CAAC,SAAS,CAAC,CAAC;IAE3D,OAAO,CACL,gCACE,IAAI,EAAC,QAAQ,EACb,GAAG,EAAE,SAAS,EACd,QAAQ,EAAE,QAAQ,gBACN,UAAU,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,iBAAiB,mBACjD,UAAU,EACzB,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,EAAE,qBAAqB,IAAI,MAAM,CAAC,yBAAyB,CAAC,EAAE,SAAS,CAAC,EAC/G,OAAO,EAAE,sBAAsB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/components/expand-toggle-button/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAEtC,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,0BAA0B,EAAE,MAAM,+CAA+C,CAAC;AAEjH,OAAO,YAAY,MAAM,wBAAwB,CAAC;AAElD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,MAAM,UAAU,kBAAkB,CAAC,EACjC,UAAU,EACV,sBAAsB,EACtB,iBAAiB,EACjB,mBAAmB,EACnB,UAAU,EACV,SAAS,EACT,qBAAqB,GAStB;IACC,MAAM,SAAS,GAAG,MAAM,CAAoB,IAAI,CAAC,CAAC;IAClD,MAAM,EAAE,QAAQ,EAAE,GAAG,0BAA0B,CAAC,SAAS,CAAC,CAAC;IAE3D,OAAO,CACL,gCACE,IAAI,EAAC,QAAQ,EACb,GAAG,EAAE,SAAS,EACd,QAAQ,EAAE,QAAQ,gBACN,UAAU,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,iBAAiB,mBACjD,UAAU,EACzB,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,EAAE,qBAAqB,IAAI,MAAM,CAAC,yBAAyB,CAAC,EAAE,SAAS,CAAC,EAC/G,OAAO,EAAE,sBAAsB,+BACL,OAAO,8BACR,EAAE,IAE1B,UAAU,aAAV,UAAU,cAAV,UAAU,GAAI,CACb,oBAAC,YAAY,IACX,IAAI,EAAE,aAAa,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,EACzD,IAAI,EAAE,aAAa,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,mBAAmB,EACxE,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,UAAU,IAAI,MAAM,CAAC,6BAA6B,CAAC,CAAC,GAClG,CACH,CACM,CACV,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport React, { useRef } from 'react';\nimport clsx from 'clsx';\n\nimport { isThemeActive, Theme, useSingleTabStopNavigation } from '@cloudscape-design/component-toolkit/internal';\n\nimport InternalIcon from '../../../icon/internal';\n\nimport styles from './styles.css.js';\n\nexport function ExpandToggleButton({\n isExpanded,\n onExpandableItemToggle,\n expandButtonLabel,\n collapseButtonLabel,\n customIcon,\n className,\n disableFocusHighlight,\n}: {\n isExpanded?: boolean;\n onExpandableItemToggle?: () => void;\n expandButtonLabel?: string;\n collapseButtonLabel?: string;\n customIcon?: React.ReactNode;\n className?: string;\n disableFocusHighlight?: boolean;\n}) {\n const buttonRef = useRef<HTMLButtonElement>(null);\n const { tabIndex } = useSingleTabStopNavigation(buttonRef);\n\n return (\n <button\n type=\"button\"\n ref={buttonRef}\n tabIndex={tabIndex}\n aria-label={isExpanded ? collapseButtonLabel : expandButtonLabel}\n aria-expanded={isExpanded}\n className={clsx(styles['expand-toggle'], disableFocusHighlight && styles['disable-focus-highlight'], className)}\n onClick={onExpandableItemToggle}\n data-awsui-motion-trigger=\"hover\"\n data-awsui-motion-target=\"\"\n >\n {customIcon ?? (\n <InternalIcon\n size={isThemeActive(Theme.OneTheme) ? 'x-small' : 'small'}\n name={isThemeActive(Theme.OneTheme) ? 'angle-down' : 'caret-down-filled'}\n className={clsx(styles['expand-toggle-icon'], isExpanded && styles['expand-toggle-icon-expanded'])}\n />\n )}\n </button>\n );\n}\n"]}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"expand-toggle-icon": "awsui_expand-toggle-
|
|
5
|
-
"expand-toggle-icon-expanded": "awsui_expand-toggle-icon-
|
|
6
|
-
"expand-toggle": "awsui_expand-
|
|
7
|
-
"disable-focus-highlight": "awsui_disable-focus-
|
|
4
|
+
"expand-toggle-icon": "awsui_expand-toggle-icon_1xe88_151v8_13",
|
|
5
|
+
"expand-toggle-icon-expanded": "awsui_expand-toggle-icon-expanded_1xe88_151v8_34",
|
|
6
|
+
"expand-toggle": "awsui_expand-toggle_1xe88_151v8_13",
|
|
7
|
+
"disable-focus-highlight": "awsui_disable-focus-highlight_1xe88_151v8_85"
|
|
8
8
|
};
|
|
9
9
|
|
|
@@ -10,36 +10,36 @@ 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
|
-
.awsui_expand-toggle-
|
|
14
|
-
transition: transform var(--motion-duration-rotate-90-
|
|
13
|
+
.awsui_expand-toggle-icon_1xe88_151v8_13:not(#\9) {
|
|
14
|
+
transition: transform var(--motion-duration-rotate-90-de2qw0, 135ms) var(--motion-easing-rotate-90-mfea51, cubic-bezier(0.165, 0.84, 0.44, 1));
|
|
15
15
|
}
|
|
16
16
|
@media (prefers-reduced-motion: reduce) {
|
|
17
|
-
.awsui_expand-toggle-
|
|
17
|
+
.awsui_expand-toggle-icon_1xe88_151v8_13:not(#\9) {
|
|
18
18
|
animation: none;
|
|
19
19
|
transition: none;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
.awsui-motion-disabled .awsui_expand-toggle-
|
|
22
|
+
.awsui-motion-disabled .awsui_expand-toggle-icon_1xe88_151v8_13:not(#\9), .awsui-mode-entering .awsui_expand-toggle-icon_1xe88_151v8_13:not(#\9) {
|
|
23
23
|
animation: none;
|
|
24
24
|
transition: none;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.awsui_expand-toggle-
|
|
27
|
+
.awsui_expand-toggle-icon_1xe88_151v8_13:not(#\9) {
|
|
28
28
|
transform: rotate(-90deg);
|
|
29
29
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
30
30
|
}
|
|
31
|
-
.awsui_expand-toggle-
|
|
31
|
+
.awsui_expand-toggle-icon_1xe88_151v8_13:not(#\9):dir(rtl) {
|
|
32
32
|
transform: rotate(90deg);
|
|
33
33
|
}
|
|
34
|
-
.awsui_expand-toggle-icon-
|
|
34
|
+
.awsui_expand-toggle-icon-expanded_1xe88_151v8_34:not(#\9) {
|
|
35
35
|
transform: rotate(0deg);
|
|
36
36
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
37
37
|
}
|
|
38
|
-
.awsui_expand-toggle-icon-
|
|
38
|
+
.awsui_expand-toggle-icon-expanded_1xe88_151v8_34:not(#\9):dir(rtl) {
|
|
39
39
|
transform: rotate(0deg);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
.awsui_expand-
|
|
42
|
+
.awsui_expand-toggle_1xe88_151v8_13:not(#\9) {
|
|
43
43
|
border-collapse: separate;
|
|
44
44
|
border-spacing: 0;
|
|
45
45
|
box-sizing: border-box;
|
|
@@ -70,8 +70,8 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
70
70
|
-webkit-font-smoothing: auto;
|
|
71
71
|
-moz-osx-font-smoothing: auto;
|
|
72
72
|
cursor: pointer;
|
|
73
|
-
inline-size: var(--space-m-
|
|
74
|
-
block-size: var(--space-m-
|
|
73
|
+
inline-size: var(--space-m-n8iq8o, 16px);
|
|
74
|
+
block-size: var(--space-m-n8iq8o, 16px);
|
|
75
75
|
border-block: 0;
|
|
76
76
|
border-inline: 0;
|
|
77
77
|
margin-block: 0;
|
|
@@ -82,30 +82,30 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
82
82
|
outline: 0;
|
|
83
83
|
color: var(--color-text-interactive-default-1o1pl2, #424650);
|
|
84
84
|
}
|
|
85
|
-
body[data-awsui-focus-visible=true] .awsui_expand-
|
|
85
|
+
body[data-awsui-focus-visible=true] .awsui_expand-toggle_1xe88_151v8_13:not(#\9):not(.awsui_disable-focus-highlight_1xe88_151v8_85):focus {
|
|
86
86
|
position: relative;
|
|
87
87
|
}
|
|
88
|
-
body[data-awsui-focus-visible=true] .awsui_expand-
|
|
88
|
+
body[data-awsui-focus-visible=true] .awsui_expand-toggle_1xe88_151v8_13:not(#\9):not(.awsui_disable-focus-highlight_1xe88_151v8_85):focus {
|
|
89
89
|
outline: 2px dotted transparent;
|
|
90
|
-
outline-offset: calc(var(--space-button-focus-outline-gutter-
|
|
90
|
+
outline-offset: calc(var(--space-button-focus-outline-gutter-dzjnny, 4px) - 1px);
|
|
91
91
|
}
|
|
92
|
-
body[data-awsui-focus-visible=true] .awsui_expand-
|
|
92
|
+
body[data-awsui-focus-visible=true] .awsui_expand-toggle_1xe88_151v8_13:not(#\9):not(.awsui_disable-focus-highlight_1xe88_151v8_85):focus::before {
|
|
93
93
|
content: " ";
|
|
94
94
|
display: block;
|
|
95
95
|
position: absolute;
|
|
96
|
-
inset-inline-start: calc(-1 * var(--space-button-focus-outline-gutter-
|
|
97
|
-
inset-block-start: calc(-1 * var(--space-button-focus-outline-gutter-
|
|
98
|
-
inline-size: calc(100% + var(--space-button-focus-outline-gutter-
|
|
99
|
-
block-size: calc(100% + var(--space-button-focus-outline-gutter-
|
|
96
|
+
inset-inline-start: calc(-1 * var(--space-button-focus-outline-gutter-dzjnny, 4px));
|
|
97
|
+
inset-block-start: calc(-1 * var(--space-button-focus-outline-gutter-dzjnny, 4px));
|
|
98
|
+
inline-size: calc(100% + var(--space-button-focus-outline-gutter-dzjnny, 4px) + var(--space-button-focus-outline-gutter-dzjnny, 4px));
|
|
99
|
+
block-size: calc(100% + var(--space-button-focus-outline-gutter-dzjnny, 4px) + var(--space-button-focus-outline-gutter-dzjnny, 4px));
|
|
100
100
|
border-start-start-radius: var(--border-radius-control-default-focus-ring-akwhsf, 4px);
|
|
101
101
|
border-start-end-radius: var(--border-radius-control-default-focus-ring-akwhsf, 4px);
|
|
102
102
|
border-end-start-radius: var(--border-radius-control-default-focus-ring-akwhsf, 4px);
|
|
103
103
|
border-end-end-radius: var(--border-radius-control-default-focus-ring-akwhsf, 4px);
|
|
104
104
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-ditkrb, #006ce0);
|
|
105
105
|
}
|
|
106
|
-
.awsui_expand-
|
|
106
|
+
.awsui_expand-toggle_1xe88_151v8_13:not(#\9):hover {
|
|
107
107
|
color: var(--color-text-interactive-hover-j5y3wx, #0f141a);
|
|
108
108
|
}
|
|
109
|
-
.awsui_expand-
|
|
109
|
+
.awsui_expand-toggle_1xe88_151v8_13:not(#\9):active {
|
|
110
110
|
color: var(--color-text-interactive-active-fedaa8, #0f141a);
|
|
111
111
|
}
|
|
@@ -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
|
-
"expand-toggle-icon": "awsui_expand-toggle-
|
|
6
|
-
"expand-toggle-icon-expanded": "awsui_expand-toggle-icon-
|
|
7
|
-
"expand-toggle": "awsui_expand-
|
|
8
|
-
"disable-focus-highlight": "awsui_disable-focus-
|
|
5
|
+
"expand-toggle-icon": "awsui_expand-toggle-icon_1xe88_151v8_13",
|
|
6
|
+
"expand-toggle-icon-expanded": "awsui_expand-toggle-icon-expanded_1xe88_151v8_34",
|
|
7
|
+
"expand-toggle": "awsui_expand-toggle_1xe88_151v8_13",
|
|
8
|
+
"disable-focus-highlight": "awsui_disable-focus-highlight_1xe88_151v8_85"
|
|
9
9
|
};
|
|
10
10
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/menu-dropdown/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAKrE,OAAO,EAAE,iBAAiB,EAAE,CAAC;AAE7B,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/menu-dropdown/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAKrE,OAAO,EAAE,iBAAiB,EAAE,CAAC;AAE7B,eAAO,MAAM,aAAa,gFAuDzB,CAAC;AAEF,QAAA,MAAM,YAAY,GAAI,iFASnB,iBAAiB,gBAwCnB,CAAC;AAGF,eAAe,YAAY,CAAC"}
|
|
@@ -16,7 +16,7 @@ export const ButtonTrigger = React.forwardRef(({ testUtilsClass, iconName, iconU
|
|
|
16
16
|
}), "aria-label": ariaLabel, "aria-expanded": !!expanded, "aria-haspopup": true, disabled: disabled, onClick: event => {
|
|
17
17
|
event.preventDefault();
|
|
18
18
|
onClick === null || onClick === void 0 ? void 0 : onClick();
|
|
19
|
-
} },
|
|
19
|
+
}, "data-awsui-motion-trigger": "hover", "data-awsui-motion-target": "" },
|
|
20
20
|
hasIcon && (React.createElement(InternalIcon, { className: styles.icon, name: iconName, url: iconUrl, alt: iconAlt, svg: iconSvg, badge: badge })),
|
|
21
21
|
children && React.createElement("span", { className: styles.text }, children),
|
|
22
22
|
children && (React.createElement(InternalIcon, { name: "caret-down-filled", className: spinWhenOpen(buttonDropdownStyles, 'rotate', !!expanded) }))));
|