@cloudscape-design/components 3.0.1349 → 3.0.1351
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/styles.css.js +17 -17
- package/action-card/styles.scoped.css +95 -102
- package/action-card/styles.selectors.js +17 -17
- package/alert/styles.css.js +27 -27
- package/alert/styles.scoped.css +40 -44
- package/alert/styles.selectors.js +27 -27
- package/anchor-navigation/styles.css.js +8 -8
- package/anchor-navigation/styles.scoped.css +18 -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 +20 -24
- 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 +6 -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 +22 -26
- 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 +8 -12
- package/app-layout/mobile-toolbar/styles.selectors.js +8 -8
- package/app-layout/resize/styles.css.js +5 -5
- package/app-layout/resize/styles.scoped.css +12 -16
- package/app-layout/resize/styles.selectors.js +5 -5
- package/app-layout/split-panel/styles.css.js +2 -2
- package/app-layout/split-panel/styles.scoped.css +2 -6
- package/app-layout/split-panel/styles.selectors.js +2 -2
- package/app-layout/styles.css.js +12 -12
- package/app-layout/styles.scoped.css +12 -16
- package/app-layout/styles.selectors.js +12 -12
- package/app-layout/toggles/styles.css.js +2 -2
- package/app-layout/toggles/styles.scoped.css +6 -10
- 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 +163 -179
- 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 +83 -102
- 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 +9 -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 +59 -63
- package/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +30 -30
- package/app-layout/visual-refresh-toolbar/split-panel/styles.css.js +1 -1
- package/app-layout/visual-refresh-toolbar/split-panel/styles.scoped.css +1 -5
- package/app-layout/visual-refresh-toolbar/split-panel/styles.selectors.js +1 -1
- package/app-layout/visual-refresh-toolbar/toolbar/styles.css.js +14 -14
- package/app-layout/visual-refresh-toolbar/toolbar/styles.scoped.css +31 -48
- package/app-layout/visual-refresh-toolbar/toolbar/styles.selectors.js +14 -14
- package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/styles.css.js +6 -6
- package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/styles.scoped.css +14 -18
- package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/styles.selectors.js +6 -6
- package/area-chart/styles.css.js +6 -6
- package/area-chart/styles.scoped.css +9 -13
- package/area-chart/styles.selectors.js +6 -6
- package/attribute-editor/styles.css.js +15 -15
- package/attribute-editor/styles.scoped.css +25 -32
- package/attribute-editor/styles.selectors.js +15 -15
- package/badge/styles.css.js +10 -10
- package/badge/styles.scoped.css +10 -14
- package/badge/styles.selectors.js +10 -10
- package/box/styles.css.js +220 -220
- package/box/styles.scoped.css +265 -269
- package/box/styles.selectors.js +220 -220
- package/breadcrumb-group/item/styles.css.js +7 -7
- package/breadcrumb-group/item/styles.scoped.css +25 -33
- package/breadcrumb-group/item/styles.selectors.js +7 -7
- package/breadcrumb-group/styles.css.js +14 -14
- package/breadcrumb-group/styles.scoped.css +24 -31
- package/breadcrumb-group/styles.selectors.js +14 -14
- package/button/icon-helper.js +1 -1
- package/button/icon-helper.js.map +1 -1
- package/button/styles.css.js +23 -23
- package/button/styles.scoped.css +70 -74
- package/button/styles.selectors.js +23 -23
- package/button-dropdown/category-elements/styles.css.js +18 -18
- package/button-dropdown/category-elements/styles.scoped.css +28 -36
- package/button-dropdown/category-elements/styles.selectors.js +18 -18
- package/button-dropdown/item-element/styles.css.js +21 -21
- package/button-dropdown/item-element/styles.scoped.css +34 -38
- package/button-dropdown/item-element/styles.selectors.js +21 -21
- package/button-dropdown/mobile-expandable-group/styles.css.js +5 -5
- package/button-dropdown/mobile-expandable-group/styles.scoped.css +5 -9
- package/button-dropdown/mobile-expandable-group/styles.selectors.js +5 -5
- package/button-dropdown/styles.css.js +23 -23
- package/button-dropdown/styles.scoped.css +32 -43
- package/button-dropdown/styles.selectors.js +23 -23
- package/button-group/styles.css.js +4 -4
- package/button-group/styles.scoped.css +4 -8
- package/button-group/styles.selectors.js +4 -4
- package/calendar/styles.css.js +21 -21
- package/calendar/styles.scoped.css +43 -47
- package/calendar/styles.selectors.js +21 -21
- package/cards/styles.css.js +38 -38
- package/cards/styles.scoped.css +39 -43
- package/cards/styles.selectors.js +38 -38
- package/checkbox/styles.css.js +3 -3
- package/checkbox/styles.scoped.css +5 -9
- 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 +6 -10
- package/code-editor/resizable-box/styles.selectors.js +4 -4
- package/code-editor/styles.css.js +33 -33
- package/code-editor/styles.scoped.css +138 -142
- package/code-editor/styles.selectors.js +33 -33
- package/collection-preferences/styles.css.js +38 -38
- package/collection-preferences/styles.scoped.css +39 -43
- 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 +8 -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 +43 -47
- package/column-layout/styles.selectors.js +13 -13
- package/container/styles.css.js +33 -33
- package/container/styles.scoped.css +56 -60
- package/container/styles.selectors.js +33 -33
- package/content-layout/styles.css.js +14 -14
- package/content-layout/styles.scoped.css +16 -20
- package/content-layout/styles.selectors.js +14 -14
- package/date-picker/styles.css.js +7 -7
- package/date-picker/styles.scoped.css +9 -13
- 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 +55 -59
- 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 +10 -14
- 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 +32 -36
- package/date-range-picker/styles.selectors.js +23 -23
- package/divider/styles.css.js +6 -6
- package/divider/styles.scoped.css +6 -10
- package/divider/styles.selectors.js +6 -6
- package/drawer/styles.css.js +29 -29
- package/drawer/styles.scoped.css +35 -39
- package/drawer/styles.selectors.js +29 -29
- package/dropdown/styles.css.js +20 -20
- package/dropdown/styles.scoped.css +37 -41
- package/dropdown/styles.selectors.js +20 -20
- package/expandable-section/styles.css.js +43 -43
- package/expandable-section/styles.scoped.css +99 -168
- package/expandable-section/styles.selectors.js +43 -43
- package/file-dropzone/styles.css.js +3 -3
- package/file-dropzone/styles.scoped.css +3 -7
- package/file-dropzone/styles.selectors.js +3 -3
- package/file-input/styles.css.js +5 -5
- package/file-input/styles.scoped.css +8 -12
- package/file-input/styles.selectors.js +5 -5
- package/file-token-group/styles.css.js +23 -23
- package/file-token-group/styles.scoped.css +33 -37
- package/file-token-group/styles.selectors.js +23 -23
- package/flashbar/styles.css.js +50 -50
- package/flashbar/styles.scoped.css +188 -152
- package/flashbar/styles.selectors.js +50 -50
- package/form/styles.css.js +8 -8
- package/form/styles.scoped.css +8 -12
- package/form/styles.selectors.js +8 -8
- package/form-field/styles.css.js +24 -24
- package/form-field/styles.scoped.css +38 -42
- package/form-field/styles.selectors.js +24 -24
- package/grid/styles.css.js +53 -53
- package/grid/styles.scoped.css +54 -58
- package/grid/styles.selectors.js +53 -53
- package/header/styles.css.js +35 -35
- package/header/styles.scoped.css +54 -58
- package/header/styles.selectors.js +35 -35
- package/help-panel/styles.css.js +6 -6
- package/help-panel/styles.scoped.css +66 -70
- package/help-panel/styles.selectors.js +6 -6
- package/hotspot/styles.css.js +7 -7
- package/hotspot/styles.scoped.css +7 -11
- package/hotspot/styles.selectors.js +7 -7
- package/icon/generated/icons.js +202 -176
- package/icon/generated/icons.js.map +1 -1
- package/icon/styles.css.js +41 -41
- package/icon/styles.scoped.css +91 -95
- package/icon/styles.selectors.js +41 -41
- package/input/internal.js +1 -1
- package/input/internal.js.map +1 -1
- package/input/styles.css.js +28 -28
- package/input/styles.scoped.css +68 -72
- package/input/styles.selectors.js +28 -28
- package/internal/base-component/styles.scoped.css +1 -1
- package/internal/components/abstract-switch/styles.css.js +13 -13
- package/internal/components/abstract-switch/styles.scoped.css +20 -24
- package/internal/components/abstract-switch/styles.selectors.js +13 -13
- package/internal/components/button-trigger/styles.css.js +14 -14
- package/internal/components/button-trigger/styles.scoped.css +29 -39
- package/internal/components/button-trigger/styles.selectors.js +14 -14
- package/internal/components/cartesian-chart/styles.css.js +28 -28
- package/internal/components/cartesian-chart/styles.scoped.css +32 -36
- package/internal/components/cartesian-chart/styles.selectors.js +28 -28
- package/internal/components/chart-filter/styles.css.js +3 -3
- package/internal/components/chart-filter/styles.scoped.css +3 -7
- package/internal/components/chart-filter/styles.selectors.js +3 -3
- package/internal/components/chart-legend/styles.css.js +6 -6
- package/internal/components/chart-legend/styles.scoped.css +14 -18
- package/internal/components/chart-legend/styles.selectors.js +6 -6
- package/internal/components/chart-plot/styles.css.js +5 -5
- package/internal/components/chart-plot/styles.scoped.css +5 -9
- package/internal/components/chart-plot/styles.selectors.js +5 -5
- package/internal/components/chart-popover/styles.css.js +3 -3
- package/internal/components/chart-popover/styles.scoped.css +4 -8
- 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 +32 -36
- 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 +7 -11
- package/internal/components/chart-series-marker/styles.selectors.js +5 -5
- package/internal/components/chart-wrapper/styles.css.js +9 -9
- package/internal/components/chart-wrapper/styles.scoped.css +9 -13
- package/internal/components/chart-wrapper/styles.selectors.js +9 -9
- package/internal/components/checkbox-icon/styles.css.js +9 -9
- package/internal/components/checkbox-icon/styles.scoped.css +9 -13
- package/internal/components/checkbox-icon/styles.selectors.js +9 -9
- package/internal/components/drag-handle/styles.css.js +14 -14
- package/internal/components/drag-handle/styles.scoped.css +20 -24
- package/internal/components/drag-handle/styles.selectors.js +14 -14
- package/internal/components/drag-handle-wrapper/styles.css.js +30 -30
- package/internal/components/drag-handle-wrapper/styles.scoped.css +48 -52
- package/internal/components/drag-handle-wrapper/styles.selectors.js +30 -30
- package/internal/components/dropdown-footer/styles.css.js +3 -3
- package/internal/components/dropdown-footer/styles.scoped.css +3 -7
- package/internal/components/dropdown-footer/styles.selectors.js +3 -3
- package/internal/components/dropdown-status/styles.css.js +2 -2
- package/internal/components/dropdown-status/styles.scoped.css +2 -6
- package/internal/components/dropdown-status/styles.selectors.js +2 -2
- package/internal/components/expand-toggle-button/styles.css.js +4 -4
- package/internal/components/expand-toggle-button/styles.scoped.css +13 -17
- package/internal/components/expand-toggle-button/styles.selectors.js +4 -4
- package/internal/components/menu-dropdown/styles.css.js +7 -7
- package/internal/components/menu-dropdown/styles.scoped.css +13 -17
- 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 +29 -33
- package/internal/components/option/styles.selectors.js +17 -17
- package/internal/components/options-list/styles.css.js +3 -3
- package/internal/components/options-list/styles.scoped.css +3 -7
- package/internal/components/options-list/styles.selectors.js +3 -3
- package/internal/components/panel-resize-handle/styles.css.js +3 -3
- package/internal/components/panel-resize-handle/styles.scoped.css +7 -11
- package/internal/components/panel-resize-handle/styles.selectors.js +3 -3
- package/internal/components/radio-button/styles.css.js +7 -7
- package/internal/components/radio-button/styles.scoped.css +12 -16
- package/internal/components/radio-button/styles.selectors.js +7 -7
- package/internal/components/screenreader-only/styles.css.js +1 -1
- package/internal/components/screenreader-only/styles.scoped.css +1 -5
- package/internal/components/screenreader-only/styles.selectors.js +1 -1
- package/internal/components/selectable-item/styles.css.js +22 -22
- package/internal/components/selectable-item/styles.scoped.css +49 -53
- 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 +15 -19
- 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 +9 -13
- 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 +22 -26
- package/internal/components/token-list/styles.selectors.js +10 -10
- package/internal/environment.js +2 -2
- package/internal/environment.json +2 -2
- package/internal/manifest.json +1 -1
- package/item-card/styles.css.js +14 -14
- package/item-card/styles.scoped.css +50 -54
- package/item-card/styles.selectors.js +14 -14
- package/key-value-pairs/styles.css.js +8 -8
- package/key-value-pairs/styles.scoped.css +9 -13
- package/key-value-pairs/styles.selectors.js +8 -8
- package/link/styles.css.js +21 -21
- package/link/styles.scoped.css +72 -125
- package/link/styles.selectors.js +21 -21
- package/list/styles.css.js +5 -5
- package/list/styles.scoped.css +7 -11
- package/list/styles.selectors.js +5 -5
- package/live-region/styles.css.js +2 -2
- package/live-region/styles.scoped.css +3 -7
- package/live-region/styles.selectors.js +2 -2
- package/manifest.json +2 -2
- package/mixed-line-bar-chart/styles.css.js +11 -11
- package/mixed-line-bar-chart/styles.scoped.css +17 -21
- package/mixed-line-bar-chart/styles.selectors.js +11 -11
- package/modal/styles.css.js +31 -31
- package/modal/styles.scoped.css +46 -50
- package/modal/styles.selectors.js +31 -31
- package/multiselect/styles.css.js +5 -5
- package/multiselect/styles.scoped.css +5 -9
- package/multiselect/styles.selectors.js +5 -5
- package/package.json +1 -1
- package/pagination/styles.css.js +12 -12
- package/pagination/styles.scoped.css +30 -34
- package/pagination/styles.selectors.js +12 -12
- package/panel-layout/styles.css.js +7 -7
- package/panel-layout/styles.scoped.css +10 -14
- package/panel-layout/styles.selectors.js +7 -7
- package/pie-chart/styles.css.js +27 -27
- package/pie-chart/styles.scoped.css +48 -52
- package/pie-chart/styles.selectors.js +27 -27
- package/popover/styles.css.js +58 -58
- package/popover/styles.scoped.css +90 -94
- package/popover/styles.selectors.js +58 -58
- package/progress-bar/styles.css.js +19 -19
- package/progress-bar/styles.scoped.css +30 -34
- package/progress-bar/styles.selectors.js +19 -19
- package/prompt-input/styles.css.js +26 -26
- package/prompt-input/styles.scoped.css +53 -57
- package/prompt-input/styles.selectors.js +26 -26
- package/property-filter/filtering-token/styles.css.js +18 -18
- package/property-filter/filtering-token/styles.scoped.css +43 -47
- package/property-filter/filtering-token/styles.selectors.js +18 -18
- package/property-filter/styles.css.js +39 -39
- package/property-filter/styles.scoped.css +41 -45
- package/property-filter/styles.selectors.js +39 -39
- package/radio-button/styles.css.js +1 -1
- package/radio-button/styles.scoped.css +1 -5
- package/radio-button/styles.selectors.js +1 -1
- package/radio-group/styles.css.js +5 -5
- package/radio-group/styles.scoped.css +6 -10
- package/radio-group/styles.selectors.js +5 -5
- package/s3-resource-selector/s3-modal/styles.css.js +3 -3
- package/s3-resource-selector/s3-modal/styles.scoped.css +3 -7
- package/s3-resource-selector/s3-modal/styles.selectors.js +3 -3
- package/segmented-control/styles.css.js +16 -16
- package/segmented-control/styles.scoped.css +32 -36
- package/segmented-control/styles.selectors.js +16 -16
- package/select/parts/styles.css.js +21 -21
- package/select/parts/styles.scoped.css +22 -26
- package/select/parts/styles.selectors.js +21 -21
- package/select/styles.css.js +3 -3
- package/select/styles.scoped.css +3 -7
- package/select/styles.selectors.js +3 -3
- package/side-navigation/styles.css.js +64 -64
- package/side-navigation/styles.scoped.css +110 -404
- package/side-navigation/styles.selectors.js +64 -64
- package/skeleton/styles.css.js +15 -15
- package/skeleton/styles.scoped.css +25 -29
- package/skeleton/styles.selectors.js +15 -15
- package/slider/styles.css.js +26 -26
- package/slider/styles.scoped.css +76 -80
- package/slider/styles.selectors.js +26 -26
- package/space-between/styles.css.js +23 -23
- package/space-between/styles.scoped.css +24 -28
- package/space-between/styles.selectors.js +23 -23
- package/spinner/styles.css.js +13 -13
- package/spinner/styles.scoped.css +20 -24
- package/spinner/styles.selectors.js +13 -13
- package/split-panel/icons/styles.css.js +22 -22
- package/split-panel/icons/styles.scoped.css +24 -28
- package/split-panel/icons/styles.selectors.js +22 -22
- package/split-panel/styles.css.js +38 -38
- package/split-panel/styles.scoped.css +56 -60
- package/split-panel/styles.selectors.js +38 -38
- package/status-indicator/styles.css.js +25 -25
- package/status-indicator/styles.scoped.css +47 -76
- package/status-indicator/styles.selectors.js +25 -25
- package/steps/styles.css.js +17 -17
- package/steps/styles.scoped.css +34 -38
- package/steps/styles.selectors.js +17 -17
- package/table/body-cell/styles.css.js +48 -48
- package/table/body-cell/styles.scoped.css +375 -379
- package/table/body-cell/styles.selectors.js +48 -48
- package/table/header-cell/styles.css.js +38 -38
- package/table/header-cell/styles.scoped.css +108 -80
- package/table/header-cell/styles.selectors.js +38 -38
- package/table/resizer/styles.css.js +17 -17
- package/table/resizer/styles.scoped.css +27 -31
- package/table/resizer/styles.selectors.js +17 -17
- package/table/selection/styles.css.js +4 -4
- package/table/selection/styles.scoped.css +4 -8
- package/table/selection/styles.selectors.js +4 -4
- package/table/sticky-scrollbar/styles.css.js +6 -6
- package/table/sticky-scrollbar/styles.scoped.css +8 -12
- package/table/sticky-scrollbar/styles.selectors.js +6 -6
- package/table/styles.css.js +37 -37
- package/table/styles.scoped.css +44 -48
- package/table/styles.selectors.js +37 -37
- package/tabs/styles.css.js +30 -30
- package/tabs/styles.scoped.css +50 -54
- package/tabs/styles.selectors.js +30 -30
- package/tag-editor/styles.css.js +3 -3
- package/tag-editor/styles.scoped.css +10 -14
- package/tag-editor/styles.selectors.js +3 -3
- package/text-content/styles.css.js +1 -1
- package/text-content/styles.scoped.css +60 -64
- package/text-content/styles.selectors.js +1 -1
- package/text-filter/styles.css.js +3 -3
- package/text-filter/styles.scoped.css +3 -7
- package/text-filter/styles.selectors.js +3 -3
- package/textarea/styles.css.js +9 -9
- package/textarea/styles.scoped.css +17 -21
- package/textarea/styles.selectors.js +9 -9
- package/tiles/styles.css.js +30 -30
- package/tiles/styles.scoped.css +72 -76
- package/tiles/styles.selectors.js +30 -30
- package/toggle/styles.css.js +10 -10
- package/toggle/styles.scoped.css +17 -21
- package/toggle/styles.selectors.js +10 -10
- package/token/styles.css.js +14 -14
- package/token/styles.scoped.css +26 -34
- package/token/styles.selectors.js +14 -14
- package/token-group/styles.css.js +5 -5
- package/token-group/styles.scoped.css +4 -8
- package/token-group/styles.selectors.js +5 -5
- package/tooltip/styles.css.js +2 -2
- package/tooltip/styles.scoped.css +5 -9
- package/tooltip/styles.selectors.js +2 -2
- package/top-navigation/styles.css.js +47 -47
- package/top-navigation/styles.scoped.css +65 -69
- package/top-navigation/styles.selectors.js +47 -47
- package/tree-view/styles.css.js +2 -2
- package/tree-view/styles.scoped.css +2 -6
- 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 +14 -28
- package/tree-view/tree-item/styles.selectors.js +10 -10
- package/truncated-text/styles.css.js +1 -1
- package/truncated-text/styles.scoped.css +5 -9
- package/truncated-text/styles.selectors.js +1 -1
- package/tutorial-panel/components/tutorial-detail-view/styles.css.js +20 -20
- package/tutorial-panel/components/tutorial-detail-view/styles.scoped.css +21 -25
- 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 +27 -31
- 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 +5 -9
- package/tutorial-panel/styles.selectors.js +1 -1
- package/wizard/styles.css.js +30 -30
- package/wizard/styles.scoped.css +60 -64
- package/wizard/styles.selectors.js +30 -30
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"link": "
|
|
6
|
-
"breadcrumb": "
|
|
7
|
-
"ghost-breadcrumb": "awsui_ghost-
|
|
8
|
-
"icon": "
|
|
9
|
-
"anchor": "
|
|
10
|
-
"text": "
|
|
11
|
-
"last": "
|
|
5
|
+
"link": "awsui_link_1kosq_hdk3s_141",
|
|
6
|
+
"breadcrumb": "awsui_breadcrumb_1kosq_hdk3s_145",
|
|
7
|
+
"ghost-breadcrumb": "awsui_ghost-breadcrumb_1kosq_hdk3s_146",
|
|
8
|
+
"icon": "awsui_icon_1kosq_hdk3s_149",
|
|
9
|
+
"anchor": "awsui_anchor_1kosq_hdk3s_155",
|
|
10
|
+
"text": "awsui_text_1kosq_hdk3s_203",
|
|
11
|
+
"last": "awsui_last_1kosq_hdk3s_222"
|
|
12
12
|
};
|
|
13
13
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"breadcrumb-group": "awsui_breadcrumb-
|
|
5
|
-
"breadcrumb-group-list": "awsui_breadcrumb-group-
|
|
6
|
-
"ghost": "
|
|
7
|
-
"item": "
|
|
8
|
-
"ghost-item": "awsui_ghost-
|
|
9
|
-
"ellipsis": "
|
|
10
|
-
"hide": "
|
|
11
|
-
"visible": "
|
|
12
|
-
"icon": "
|
|
13
|
-
"breadcrumbs-skeleton": "awsui_breadcrumbs-
|
|
14
|
-
"collapsed-button": "awsui_collapsed-
|
|
15
|
-
"button-icon": "awsui_button-
|
|
16
|
-
"button-icon-open": "awsui_button-icon-
|
|
17
|
-
"hidden": "
|
|
4
|
+
"breadcrumb-group": "awsui_breadcrumb-group_d19fg_oihv1_141",
|
|
5
|
+
"breadcrumb-group-list": "awsui_breadcrumb-group-list_d19fg_oihv1_176",
|
|
6
|
+
"ghost": "awsui_ghost_d19fg_oihv1_187",
|
|
7
|
+
"item": "awsui_item_d19fg_oihv1_192",
|
|
8
|
+
"ghost-item": "awsui_ghost-item_d19fg_oihv1_193",
|
|
9
|
+
"ellipsis": "awsui_ellipsis_d19fg_oihv1_194",
|
|
10
|
+
"hide": "awsui_hide_d19fg_oihv1_205",
|
|
11
|
+
"visible": "awsui_visible_d19fg_oihv1_211",
|
|
12
|
+
"icon": "awsui_icon_d19fg_oihv1_215",
|
|
13
|
+
"breadcrumbs-skeleton": "awsui_breadcrumbs-skeleton_d19fg_oihv1_221",
|
|
14
|
+
"collapsed-button": "awsui_collapsed-button_d19fg_oihv1_225",
|
|
15
|
+
"button-icon": "awsui_button-icon_d19fg_oihv1_307",
|
|
16
|
+
"button-icon-open": "awsui_button-icon-open_d19fg_oihv1_321",
|
|
17
|
+
"hidden": "awsui_hidden_d19fg_oihv1_325"
|
|
18
18
|
};
|
|
19
19
|
|
|
@@ -136,13 +136,9 @@
|
|
|
136
136
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
137
137
|
SPDX-License-Identifier: Apache-2.0
|
|
138
138
|
*/
|
|
139
|
-
/*
|
|
140
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
141
|
-
SPDX-License-Identifier: Apache-2.0
|
|
142
|
-
*/
|
|
143
139
|
/* Style used for links in slots/components that are text heavy, to help links stand out among
|
|
144
140
|
surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
|
|
145
|
-
.awsui_breadcrumb-
|
|
141
|
+
.awsui_breadcrumb-group_d19fg_oihv1_141:not(#\9) {
|
|
146
142
|
border-collapse: separate;
|
|
147
143
|
border-spacing: 0;
|
|
148
144
|
box-sizing: border-box;
|
|
@@ -177,7 +173,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
177
173
|
padding-block: var(--space-xxs-hwfkai, 4px);
|
|
178
174
|
padding-inline: 0;
|
|
179
175
|
}
|
|
180
|
-
.awsui_breadcrumb-
|
|
176
|
+
.awsui_breadcrumb-group_d19fg_oihv1_141 > .awsui_breadcrumb-group-list_d19fg_oihv1_176:not(#\9) {
|
|
181
177
|
display: flex;
|
|
182
178
|
align-items: center;
|
|
183
179
|
padding-block: 0;
|
|
@@ -188,48 +184,45 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
188
184
|
inline-size: 100%;
|
|
189
185
|
flex-wrap: nowrap;
|
|
190
186
|
}
|
|
191
|
-
.awsui_breadcrumb-
|
|
187
|
+
.awsui_breadcrumb-group_d19fg_oihv1_141 > .awsui_breadcrumb-group-list_d19fg_oihv1_176.awsui_ghost_d19fg_oihv1_187:not(#\9) {
|
|
192
188
|
flex-wrap: wrap;
|
|
193
189
|
position: absolute;
|
|
194
190
|
inset-inline-start: -9000px;
|
|
195
191
|
}
|
|
196
|
-
.awsui_breadcrumb-
|
|
197
|
-
.awsui_breadcrumb-
|
|
198
|
-
.awsui_breadcrumb-
|
|
192
|
+
.awsui_breadcrumb-group_d19fg_oihv1_141 > .awsui_breadcrumb-group-list_d19fg_oihv1_176 > .awsui_item_d19fg_oihv1_192:not(#\9),
|
|
193
|
+
.awsui_breadcrumb-group_d19fg_oihv1_141 > .awsui_breadcrumb-group-list_d19fg_oihv1_176 > .awsui_ghost-item_d19fg_oihv1_193:not(#\9),
|
|
194
|
+
.awsui_breadcrumb-group_d19fg_oihv1_141 > .awsui_breadcrumb-group-list_d19fg_oihv1_176 > .awsui_ellipsis_d19fg_oihv1_194:not(#\9) {
|
|
199
195
|
display: inline-block;
|
|
200
196
|
padding-block: 0;
|
|
201
197
|
padding-inline: 0;
|
|
202
198
|
margin-block: 0;
|
|
203
199
|
margin-inline: 0;
|
|
204
200
|
}
|
|
205
|
-
.awsui_breadcrumb-
|
|
201
|
+
.awsui_breadcrumb-group_d19fg_oihv1_141 > .awsui_breadcrumb-group-list_d19fg_oihv1_176 > .awsui_item_d19fg_oihv1_192:not(#\9):last-child {
|
|
206
202
|
flex-shrink: 1;
|
|
207
203
|
min-inline-size: 0;
|
|
208
204
|
}
|
|
209
|
-
.awsui_breadcrumb-
|
|
205
|
+
.awsui_breadcrumb-group_d19fg_oihv1_141 > .awsui_breadcrumb-group-list_d19fg_oihv1_176 > .awsui_item_d19fg_oihv1_192.awsui_hide_d19fg_oihv1_205:not(#\9) {
|
|
210
206
|
display: none;
|
|
211
207
|
}
|
|
212
|
-
.awsui_breadcrumb-
|
|
208
|
+
.awsui_breadcrumb-group_d19fg_oihv1_141 > .awsui_breadcrumb-group-list_d19fg_oihv1_176 > .awsui_ellipsis_d19fg_oihv1_194:not(#\9) {
|
|
213
209
|
display: none;
|
|
214
210
|
}
|
|
215
|
-
.awsui_breadcrumb-
|
|
211
|
+
.awsui_breadcrumb-group_d19fg_oihv1_141 > .awsui_breadcrumb-group-list_d19fg_oihv1_176 > .awsui_ellipsis_d19fg_oihv1_194.awsui_visible_d19fg_oihv1_211:not(#\9) {
|
|
216
212
|
display: flex;
|
|
217
213
|
flex-shrink: 0;
|
|
218
214
|
}
|
|
219
|
-
.awsui_breadcrumb-
|
|
215
|
+
.awsui_breadcrumb-group_d19fg_oihv1_141 > .awsui_breadcrumb-group-list_d19fg_oihv1_176 > .awsui_ellipsis_d19fg_oihv1_194 > .awsui_icon_d19fg_oihv1_215:not(#\9) {
|
|
220
216
|
margin-block: 0;
|
|
221
217
|
margin-inline: 10px;
|
|
222
218
|
color: var(--color-text-breadcrumb-icon-mh2txm, #8c8c94);
|
|
223
219
|
}
|
|
224
|
-
.awsui-one-theme .awsui_breadcrumb-group_d19fg_orur6_145 > .awsui_breadcrumb-group-list_d19fg_orur6_180 > .awsui_ellipsis_d19fg_orur6_198 > .awsui_icon_d19fg_orur6_219:not(#\9) {
|
|
225
|
-
margin-inline: var(--space-xxs-hwfkai, 4px);
|
|
226
|
-
}
|
|
227
220
|
|
|
228
|
-
.awsui_breadcrumbs-
|
|
221
|
+
.awsui_breadcrumbs-skeleton_d19fg_oihv1_221:not(#\9) {
|
|
229
222
|
display: none;
|
|
230
223
|
}
|
|
231
224
|
|
|
232
|
-
.awsui_collapsed-
|
|
225
|
+
.awsui_collapsed-button_d19fg_oihv1_225:not(#\9) {
|
|
233
226
|
border-collapse: separate;
|
|
234
227
|
border-spacing: 0;
|
|
235
228
|
box-sizing: border-box;
|
|
@@ -276,14 +269,14 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
276
269
|
gap: var(--space-xxs-hwfkai, 4px);
|
|
277
270
|
max-inline-size: 100%;
|
|
278
271
|
}
|
|
279
|
-
body[data-awsui-focus-visible=true] .awsui_collapsed-
|
|
272
|
+
body[data-awsui-focus-visible=true] .awsui_collapsed-button_d19fg_oihv1_225:not(#\9):focus {
|
|
280
273
|
position: relative;
|
|
281
274
|
}
|
|
282
|
-
body[data-awsui-focus-visible=true] .awsui_collapsed-
|
|
275
|
+
body[data-awsui-focus-visible=true] .awsui_collapsed-button_d19fg_oihv1_225:not(#\9):focus {
|
|
283
276
|
outline: 2px dotted transparent;
|
|
284
277
|
outline-offset: calc(var(--space-button-focus-outline-gutter-jj138g, 4px) - 1px);
|
|
285
278
|
}
|
|
286
|
-
body[data-awsui-focus-visible=true] .awsui_collapsed-
|
|
279
|
+
body[data-awsui-focus-visible=true] .awsui_collapsed-button_d19fg_oihv1_225:not(#\9):focus::before {
|
|
287
280
|
content: " ";
|
|
288
281
|
display: block;
|
|
289
282
|
position: absolute;
|
|
@@ -297,38 +290,38 @@ body[data-awsui-focus-visible=true] .awsui_collapsed-button_d19fg_orur6_232:not(
|
|
|
297
290
|
border-end-end-radius: var(--border-radius-control-default-focus-ring-1uabki, 4px);
|
|
298
291
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-ditkrb, #006ce0);
|
|
299
292
|
}
|
|
300
|
-
.awsui_collapsed-
|
|
293
|
+
.awsui_collapsed-button_d19fg_oihv1_225:not(#\9):hover {
|
|
301
294
|
color: var(--color-text-interactive-hover-j5y3wx, #0f141a);
|
|
302
295
|
}
|
|
303
|
-
.awsui_collapsed-
|
|
296
|
+
.awsui_collapsed-button_d19fg_oihv1_225 > :not(#\9):last-child {
|
|
304
297
|
color: var(--color-text-breadcrumb-current-mmrid5, #656871);
|
|
305
298
|
font-weight: var(--font-weight-breadcrumb-current-v39mbh, 700);
|
|
306
299
|
white-space: nowrap;
|
|
307
300
|
overflow: hidden;
|
|
308
301
|
text-overflow: ellipsis;
|
|
309
302
|
}
|
|
310
|
-
.awsui_collapsed-
|
|
303
|
+
.awsui_collapsed-button_d19fg_oihv1_225 > :not(#\9):last-child:hover {
|
|
311
304
|
color: var(--color-text-interactive-hover-j5y3wx, #0f141a);
|
|
312
305
|
}
|
|
313
306
|
|
|
314
|
-
.awsui_button-
|
|
307
|
+
.awsui_button-icon_d19fg_oihv1_307:not(#\9) {
|
|
315
308
|
transform: rotate(0deg);
|
|
316
309
|
transition: transform var(--motion-duration-rotate-180-cxi9g7, 135ms) var(--motion-easing-rotate-180-7a58rc, cubic-bezier(0.165, 0.84, 0.44, 1));
|
|
317
310
|
}
|
|
318
311
|
@media (prefers-reduced-motion: reduce) {
|
|
319
|
-
.awsui_button-
|
|
312
|
+
.awsui_button-icon_d19fg_oihv1_307:not(#\9) {
|
|
320
313
|
animation: none;
|
|
321
314
|
transition: none;
|
|
322
315
|
}
|
|
323
316
|
}
|
|
324
|
-
.awsui-motion-disabled .awsui_button-
|
|
317
|
+
.awsui-motion-disabled .awsui_button-icon_d19fg_oihv1_307:not(#\9), .awsui-mode-entering .awsui_button-icon_d19fg_oihv1_307:not(#\9) {
|
|
325
318
|
animation: none;
|
|
326
319
|
transition: none;
|
|
327
320
|
}
|
|
328
|
-
.awsui_button-icon-
|
|
321
|
+
.awsui_button-icon-open_d19fg_oihv1_321:not(#\9) {
|
|
329
322
|
transform: rotate(-180deg);
|
|
330
323
|
}
|
|
331
324
|
|
|
332
|
-
.
|
|
325
|
+
.awsui_hidden_d19fg_oihv1_325:not(#\9) {
|
|
333
326
|
display: none;
|
|
334
327
|
}
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"breadcrumb-group": "awsui_breadcrumb-
|
|
6
|
-
"breadcrumb-group-list": "awsui_breadcrumb-group-
|
|
7
|
-
"ghost": "
|
|
8
|
-
"item": "
|
|
9
|
-
"ghost-item": "awsui_ghost-
|
|
10
|
-
"ellipsis": "
|
|
11
|
-
"hide": "
|
|
12
|
-
"visible": "
|
|
13
|
-
"icon": "
|
|
14
|
-
"breadcrumbs-skeleton": "awsui_breadcrumbs-
|
|
15
|
-
"collapsed-button": "awsui_collapsed-
|
|
16
|
-
"button-icon": "awsui_button-
|
|
17
|
-
"button-icon-open": "awsui_button-icon-
|
|
18
|
-
"hidden": "
|
|
5
|
+
"breadcrumb-group": "awsui_breadcrumb-group_d19fg_oihv1_141",
|
|
6
|
+
"breadcrumb-group-list": "awsui_breadcrumb-group-list_d19fg_oihv1_176",
|
|
7
|
+
"ghost": "awsui_ghost_d19fg_oihv1_187",
|
|
8
|
+
"item": "awsui_item_d19fg_oihv1_192",
|
|
9
|
+
"ghost-item": "awsui_ghost-item_d19fg_oihv1_193",
|
|
10
|
+
"ellipsis": "awsui_ellipsis_d19fg_oihv1_194",
|
|
11
|
+
"hide": "awsui_hide_d19fg_oihv1_205",
|
|
12
|
+
"visible": "awsui_visible_d19fg_oihv1_211",
|
|
13
|
+
"icon": "awsui_icon_d19fg_oihv1_215",
|
|
14
|
+
"breadcrumbs-skeleton": "awsui_breadcrumbs-skeleton_d19fg_oihv1_221",
|
|
15
|
+
"collapsed-button": "awsui_collapsed-button_d19fg_oihv1_225",
|
|
16
|
+
"button-icon": "awsui_button-icon_d19fg_oihv1_307",
|
|
17
|
+
"button-icon-open": "awsui_button-icon-open_d19fg_oihv1_321",
|
|
18
|
+
"hidden": "awsui_hidden_d19fg_oihv1_325"
|
|
19
19
|
};
|
|
20
20
|
|
package/button/icon-helper.js
CHANGED
|
@@ -17,7 +17,7 @@ function IconWrapper({ iconName, iconUrl, iconAlt, iconSvg, iconSize, badge, ...
|
|
|
17
17
|
}
|
|
18
18
|
export function LeftIcon(props) {
|
|
19
19
|
if (props.loading) {
|
|
20
|
-
return React.createElement(InternalSpinner, { className: clsx(styles.icon, styles['icon-left']) });
|
|
20
|
+
return React.createElement(InternalSpinner, { variant: "disabled", className: clsx(styles.icon, styles['icon-left']) });
|
|
21
21
|
}
|
|
22
22
|
else if (getIconAlign(props) === 'left') {
|
|
23
23
|
return React.createElement(IconWrapper, { ...props });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-helper.js","sourceRoot":"","sources":["../../../src/button/icon-helper.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,IAAI,MAAM,MAAM,CAAC;AAGxB,OAAO,YAAY,MAAM,kBAAkB,CAAC;AAC5C,OAAO,eAAe,MAAM,qBAAqB,CAAC;AAGlD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAerC,SAAS,YAAY,CAAC,KAAsB;IAC1C,MAAM,UAAU,GAAG,KAAK,CAAC,OAAO,KAAK,MAAM,IAAI,KAAK,CAAC,OAAO,KAAK,aAAa,CAAC;IAE/E,OAAO,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC;AAC/C,CAAC;AAED,SAAS,WAAW,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,KAAK,EAAmB;IACtG,IAAI,CAAC,QAAQ,IAAI,CAAC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAC;QACtC,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,CACL,oBAAC,YAAY,IACX,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,QAAQ,YAAY,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,EACpF,IAAI,EAAE,QAAQ,EACd,GAAG,EAAE,OAAO,EACZ,GAAG,EAAE,OAAO,EACZ,GAAG,EAAE,OAAO,EACZ,IAAI,EAAE,QAAQ,EACd,KAAK,EAAE,KAAK,GACZ,CACH,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,QAAQ,CAAC,KAAsB;IAC7C,IAAI,KAAK,CAAC,OAAO,EAAE,CAAC;QAClB,OAAO,oBAAC,eAAe,IAAC,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC,GAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"icon-helper.js","sourceRoot":"","sources":["../../../src/button/icon-helper.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,IAAI,MAAM,MAAM,CAAC;AAGxB,OAAO,YAAY,MAAM,kBAAkB,CAAC;AAC5C,OAAO,eAAe,MAAM,qBAAqB,CAAC;AAGlD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAerC,SAAS,YAAY,CAAC,KAAsB;IAC1C,MAAM,UAAU,GAAG,KAAK,CAAC,OAAO,KAAK,MAAM,IAAI,KAAK,CAAC,OAAO,KAAK,aAAa,CAAC;IAE/E,OAAO,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC;AAC/C,CAAC;AAED,SAAS,WAAW,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,KAAK,EAAmB;IACtG,IAAI,CAAC,QAAQ,IAAI,CAAC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAC;QACtC,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,CACL,oBAAC,YAAY,IACX,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,QAAQ,YAAY,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,EACpF,IAAI,EAAE,QAAQ,EACd,GAAG,EAAE,OAAO,EACZ,GAAG,EAAE,OAAO,EACZ,GAAG,EAAE,OAAO,EACZ,IAAI,EAAE,QAAQ,EACd,KAAK,EAAE,KAAK,GACZ,CACH,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,QAAQ,CAAC,KAAsB;IAC7C,IAAI,KAAK,CAAC,OAAO,EAAE,CAAC;QAClB,OAAO,oBAAC,eAAe,IAAC,OAAO,EAAC,UAAU,EAAC,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC,GAAI,CAAC;IACnG,CAAC;SAAM,IAAI,YAAY,CAAC,KAAK,CAAC,KAAK,MAAM,EAAE,CAAC;QAC1C,OAAO,oBAAC,WAAW,OAAK,KAAK,GAAI,CAAC;IACpC,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,MAAM,UAAU,SAAS,CAAC,KAAsB;IAC9C,IAAI,YAAY,CAAC,KAAK,CAAC,KAAK,OAAO,EAAE,CAAC;QACpC,OAAO,oBAAC,WAAW,OAAK,KAAK,GAAI,CAAC;IACpC,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport * as React from 'react';\nimport clsx from 'clsx';\n\nimport { IconProps } from '../icon/interfaces';\nimport InternalIcon from '../icon/internal';\nimport InternalSpinner from '../spinner/internal';\nimport { ButtonProps } from './interfaces';\n\nimport styles from './styles.css.js';\n\nexport interface ButtonIconProps {\n loading?: boolean;\n iconName?: ButtonProps['iconName'];\n iconAlign?: ButtonProps['iconAlign'];\n iconUrl?: string;\n iconSvg?: React.ReactNode;\n iconAlt?: string;\n iconSize?: IconProps.Size;\n variant?: string;\n iconClass?: string;\n badge?: boolean;\n}\n\nfunction getIconAlign(props: ButtonIconProps) {\n const standalone = props.variant === 'icon' || props.variant === 'inline-icon';\n\n return standalone ? 'left' : props.iconAlign;\n}\n\nfunction IconWrapper({ iconName, iconUrl, iconAlt, iconSvg, iconSize, badge, ...props }: ButtonIconProps) {\n if (!iconName && !iconUrl && !iconSvg) {\n return null;\n }\n\n return (\n <InternalIcon\n className={clsx(styles.icon, styles[`icon-${getIconAlign(props)}`], props.iconClass)}\n name={iconName}\n url={iconUrl}\n svg={iconSvg}\n alt={iconAlt}\n size={iconSize}\n badge={badge}\n />\n );\n}\n\nexport function LeftIcon(props: ButtonIconProps) {\n if (props.loading) {\n return <InternalSpinner variant=\"disabled\" className={clsx(styles.icon, styles['icon-left'])} />;\n } else if (getIconAlign(props) === 'left') {\n return <IconWrapper {...props} />;\n }\n return null;\n}\n\nexport function RightIcon(props: ButtonIconProps) {\n if (getIconAlign(props) === 'right') {\n return <IconWrapper {...props} />;\n }\n return null;\n}\n"]}
|
package/button/styles.css.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"content": "
|
|
5
|
-
"button": "
|
|
6
|
-
"variant-normal": "awsui_variant-
|
|
7
|
-
"disabled": "
|
|
8
|
-
"variant-primary": "awsui_variant-
|
|
9
|
-
"variant-link": "awsui_variant-
|
|
10
|
-
"variant-icon": "awsui_variant-
|
|
11
|
-
"variant-inline-icon": "awsui_variant-inline-
|
|
12
|
-
"variant-inline-icon-pointer-target": "awsui_variant-inline-icon-pointer-
|
|
13
|
-
"variant-inline-link": "awsui_variant-inline-
|
|
14
|
-
"variant-modal-dismiss": "awsui_variant-modal-
|
|
15
|
-
"variant-flashbar-icon": "awsui_variant-flashbar-
|
|
16
|
-
"variant-breadcrumb-group": "awsui_variant-breadcrumb-
|
|
17
|
-
"variant-menu-trigger": "awsui_variant-menu-
|
|
18
|
-
"button-no-text": "awsui_button-no-
|
|
19
|
-
"button-no-wrap": "awsui_button-no-
|
|
20
|
-
"full-width": "awsui_full-
|
|
21
|
-
"button-compact": "awsui_button-
|
|
22
|
-
"icon-left": "awsui_icon-
|
|
23
|
-
"icon-right": "awsui_icon-
|
|
24
|
-
"icon": "
|
|
25
|
-
"link": "
|
|
26
|
-
"disabled-with-reason": "awsui_disabled-with-
|
|
4
|
+
"content": "awsui_content_vjswe_1823z_149",
|
|
5
|
+
"button": "awsui_button_vjswe_1823z_153",
|
|
6
|
+
"variant-normal": "awsui_variant-normal_vjswe_1823z_202",
|
|
7
|
+
"disabled": "awsui_disabled_vjswe_1823z_223",
|
|
8
|
+
"variant-primary": "awsui_variant-primary_vjswe_1823z_231",
|
|
9
|
+
"variant-link": "awsui_variant-link_vjswe_1823z_260",
|
|
10
|
+
"variant-icon": "awsui_variant-icon_vjswe_1823z_289",
|
|
11
|
+
"variant-inline-icon": "awsui_variant-inline-icon_vjswe_1823z_318",
|
|
12
|
+
"variant-inline-icon-pointer-target": "awsui_variant-inline-icon-pointer-target_vjswe_1823z_347",
|
|
13
|
+
"variant-inline-link": "awsui_variant-inline-link_vjswe_1823z_376",
|
|
14
|
+
"variant-modal-dismiss": "awsui_variant-modal-dismiss_vjswe_1823z_409",
|
|
15
|
+
"variant-flashbar-icon": "awsui_variant-flashbar-icon_vjswe_1823z_438",
|
|
16
|
+
"variant-breadcrumb-group": "awsui_variant-breadcrumb-group_vjswe_1823z_467",
|
|
17
|
+
"variant-menu-trigger": "awsui_variant-menu-trigger_vjswe_1823z_501",
|
|
18
|
+
"button-no-text": "awsui_button-no-text_vjswe_1823z_597",
|
|
19
|
+
"button-no-wrap": "awsui_button-no-wrap_vjswe_1823z_601",
|
|
20
|
+
"full-width": "awsui_full-width_vjswe_1823z_604",
|
|
21
|
+
"button-compact": "awsui_button-compact_vjswe_1823z_621",
|
|
22
|
+
"icon-left": "awsui_icon-left_vjswe_1823z_631",
|
|
23
|
+
"icon-right": "awsui_icon-right_vjswe_1823z_636",
|
|
24
|
+
"icon": "awsui_icon_vjswe_1823z_631",
|
|
25
|
+
"link": "awsui_link_vjswe_1823z_655",
|
|
26
|
+
"disabled-with-reason": "awsui_disabled-with-reason_vjswe_1823z_655"
|
|
27
27
|
};
|
|
28
28
|
|