@cloudscape-design/components 3.0.990 → 3.0.992
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/alert/styles.css.js +27 -27
- package/alert/styles.scoped.css +56 -56
- package/alert/styles.selectors.js +27 -27
- package/anchor-navigation/styles.css.js +8 -8
- package/anchor-navigation/styles.scoped.css +28 -28
- package/anchor-navigation/styles.selectors.js +8 -8
- package/annotation-context/annotation/styles.css.js +24 -24
- package/annotation-context/annotation/styles.scoped.css +43 -43
- package/annotation-context/annotation/styles.selectors.js +24 -24
- package/app-layout/drawer/styles.css.js +14 -14
- package/app-layout/drawer/styles.scoped.css +31 -31
- package/app-layout/drawer/styles.selectors.js +14 -14
- package/app-layout/mobile-toolbar/styles.css.js +8 -8
- package/app-layout/mobile-toolbar/styles.scoped.css +12 -12
- package/app-layout/mobile-toolbar/styles.selectors.js +8 -8
- package/app-layout/styles.css.js +12 -12
- package/app-layout/styles.scoped.css +15 -15
- package/app-layout/styles.selectors.js +12 -12
- package/app-layout/toggles/styles.css.js +2 -2
- package/app-layout/toggles/styles.scoped.css +7 -7
- 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 +199 -199
- package/app-layout/visual-refresh/styles.selectors.js +86 -86
- package/app-layout/visual-refresh-toolbar/drawer/styles.css.js +17 -17
- package/app-layout/visual-refresh-toolbar/drawer/styles.scoped.css +43 -43
- package/app-layout/visual-refresh-toolbar/drawer/styles.selectors.js +17 -17
- package/app-layout/visual-refresh-toolbar/navigation/styles.css.js +4 -4
- package/app-layout/visual-refresh-toolbar/navigation/styles.scoped.css +6 -6
- package/app-layout/visual-refresh-toolbar/navigation/styles.selectors.js +4 -4
- 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 +21 -21
- package/app-layout/visual-refresh-toolbar/skeleton/styles.scoped.css +46 -46
- package/app-layout/visual-refresh-toolbar/skeleton/styles.selectors.js +21 -21
- package/app-layout/visual-refresh-toolbar/toolbar/styles.css.js +13 -13
- package/app-layout/visual-refresh-toolbar/toolbar/styles.scoped.css +18 -18
- package/app-layout/visual-refresh-toolbar/toolbar/styles.selectors.js +13 -13
- package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/styles.css.js +5 -5
- package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/styles.scoped.css +25 -25
- package/app-layout/visual-refresh-toolbar/toolbar/trigger-button/styles.selectors.js +5 -5
- package/area-chart/styles.css.js +6 -6
- package/area-chart/styles.scoped.css +10 -10
- 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 +12 -12
- package/badge/styles.selectors.js +10 -10
- package/box/styles.css.js +191 -191
- package/box/styles.scoped.css +250 -250
- package/box/styles.selectors.js +191 -191
- package/breadcrumb-group/item/styles.css.js +7 -7
- package/breadcrumb-group/item/styles.scoped.css +32 -32
- 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/styles.css.js +22 -22
- package/button/styles.scoped.css +131 -131
- package/button/styles.selectors.js +22 -22
- package/button-dropdown/category-elements/styles.css.js +15 -15
- package/button-dropdown/category-elements/styles.scoped.css +35 -35
- package/button-dropdown/category-elements/styles.selectors.js +15 -15
- package/button-dropdown/item-element/styles.css.js +16 -16
- package/button-dropdown/item-element/styles.scoped.css +40 -40
- package/button-dropdown/item-element/styles.selectors.js +16 -16
- package/button-dropdown/mobile-expandable-group/styles.css.js +5 -5
- package/button-dropdown/mobile-expandable-group/styles.scoped.css +7 -7
- package/button-dropdown/mobile-expandable-group/styles.selectors.js +5 -5
- package/button-dropdown/styles.css.js +21 -21
- package/button-dropdown/styles.scoped.css +31 -31
- package/button-dropdown/styles.selectors.js +21 -21
- 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 +60 -60
- package/calendar/styles.selectors.js +21 -21
- package/cards/styles.css.js +39 -39
- package/cards/styles.scoped.css +60 -60
- package/cards/styles.selectors.js +39 -39
- package/checkbox/styles.css.js +3 -3
- package/checkbox/styles.scoped.css +7 -7
- package/checkbox/styles.selectors.js +3 -3
- package/code-editor/styles.css.js +33 -33
- package/code-editor/styles.scoped.css +176 -176
- package/code-editor/styles.selectors.js +33 -33
- package/collection-preferences/content-display/styles.css.js +11 -11
- package/collection-preferences/content-display/styles.scoped.css +16 -16
- package/collection-preferences/content-display/styles.selectors.js +11 -11
- package/collection-preferences/styles.css.js +38 -38
- package/collection-preferences/styles.scoped.css +48 -48
- 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 +9 -9
- 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 +47 -47
- package/column-layout/styles.selectors.js +13 -13
- package/container/styles.css.js +33 -33
- package/container/styles.scoped.css +68 -68
- package/container/styles.selectors.js +33 -33
- package/content-layout/styles.css.js +14 -14
- package/content-layout/styles.scoped.css +19 -19
- package/content-layout/styles.selectors.js +14 -14
- package/date-picker/styles.css.js +7 -7
- package/date-picker/styles.scoped.css +11 -11
- 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 +74 -74
- package/date-range-picker/calendar/grids/styles.selectors.js +30 -30
- package/date-range-picker/styles.css.js +23 -23
- package/date-range-picker/styles.scoped.css +40 -40
- package/date-range-picker/styles.selectors.js +23 -23
- package/drawer/styles.css.js +8 -8
- package/drawer/styles.scoped.css +16 -16
- package/drawer/styles.selectors.js +8 -8
- package/expandable-section/styles.css.js +34 -34
- package/expandable-section/styles.scoped.css +76 -76
- package/expandable-section/styles.selectors.js +34 -34
- package/file-dropzone/styles.css.js +3 -3
- package/file-dropzone/styles.scoped.css +12 -12
- package/file-dropzone/styles.selectors.js +3 -3
- package/file-input/styles.css.js +6 -6
- package/file-input/styles.scoped.css +11 -11
- package/file-input/styles.selectors.js +6 -6
- package/file-token-group/styles.css.js +22 -22
- package/file-token-group/styles.scoped.css +46 -46
- package/file-token-group/styles.selectors.js +22 -22
- package/flashbar/interfaces.d.ts +1 -1
- package/flashbar/interfaces.js.map +1 -1
- package/flashbar/styles.css.js +50 -50
- package/flashbar/styles.scoped.css +151 -151
- package/flashbar/styles.selectors.js +50 -50
- package/form/styles.css.js +8 -8
- package/form/styles.scoped.css +9 -9
- 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 +55 -55
- package/grid/styles.selectors.js +53 -53
- package/header/styles.css.js +34 -34
- package/header/styles.scoped.css +54 -54
- package/header/styles.selectors.js +34 -34
- package/help-panel/styles.css.js +6 -6
- package/help-panel/styles.scoped.css +84 -84
- package/help-panel/styles.selectors.js +6 -6
- package/icon/styles.css.js +39 -39
- package/icon/styles.scoped.css +100 -100
- package/icon/styles.selectors.js +39 -39
- package/input/styles.css.js +13 -13
- package/input/styles.scoped.css +63 -63
- package/input/styles.selectors.js +13 -13
- package/internal/base-component/styles.scoped.css +1193 -1193
- package/internal/components/abstract-switch/styles.css.js +13 -13
- package/internal/components/abstract-switch/styles.scoped.css +23 -23
- package/internal/components/abstract-switch/styles.selectors.js +13 -13
- package/internal/components/button-trigger/styles.css.js +13 -13
- package/internal/components/button-trigger/styles.scoped.css +55 -55
- package/internal/components/button-trigger/styles.selectors.js +13 -13
- package/internal/components/cartesian-chart/styles.css.js +28 -28
- package/internal/components/cartesian-chart/styles.scoped.css +36 -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 +4 -4
- 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 +16 -16
- 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 +6 -6
- 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 +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 +37 -37
- 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/chart-status-container/styles.css.js +2 -2
- package/internal/components/chart-status-container/styles.scoped.css +3 -3
- package/internal/components/chart-status-container/styles.selectors.js +2 -2
- package/internal/components/chart-wrapper/styles.css.js +9 -9
- package/internal/components/chart-wrapper/styles.scoped.css +10 -10
- 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 +17 -17
- package/internal/components/checkbox-icon/styles.selectors.js +9 -9
- package/internal/components/drag-handle/styles.css.js +12 -12
- package/internal/components/drag-handle/styles.scoped.css +24 -24
- package/internal/components/drag-handle/styles.selectors.js +12 -12
- package/internal/components/drag-handle-wrapper/styles.css.js +21 -21
- package/internal/components/drag-handle-wrapper/styles.scoped.css +38 -38
- package/internal/components/drag-handle-wrapper/styles.selectors.js +21 -21
- package/internal/components/dropdown/styles.css.js +20 -20
- package/internal/components/dropdown/styles.scoped.css +42 -42
- package/internal/components/dropdown/styles.selectors.js +20 -20
- package/internal/components/dropdown-footer/styles.css.js +3 -3
- package/internal/components/dropdown-footer/styles.scoped.css +5 -5
- 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 +4 -4
- package/internal/components/dropdown-status/styles.selectors.js +2 -2
- package/internal/components/menu-dropdown/styles.css.js +7 -7
- package/internal/components/menu-dropdown/styles.scoped.css +19 -19
- 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 +37 -37
- 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 +4 -4
- package/internal/components/options-list/styles.selectors.js +3 -3
- package/internal/components/panel-resize-handle/styles.css.js +2 -2
- package/internal/components/panel-resize-handle/styles.scoped.css +7 -7
- package/internal/components/panel-resize-handle/styles.selectors.js +2 -2
- package/internal/components/selectable-item/styles.css.js +21 -21
- package/internal/components/selectable-item/styles.scoped.css +69 -69
- package/internal/components/selectable-item/styles.selectors.js +21 -21
- package/internal/components/sortable-area/styles.css.js +8 -8
- package/internal/components/sortable-area/styles.scoped.css +21 -21
- package/internal/components/sortable-area/styles.selectors.js +8 -8
- package/internal/components/token-list/styles.css.js +10 -10
- package/internal/components/token-list/styles.scoped.css +30 -30
- package/internal/components/token-list/styles.selectors.js +10 -10
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/generated/styles/tokens.js +222 -222
- package/internal/generated/theming/index.cjs +232 -232
- package/internal/generated/theming/index.cjs.d.ts +2 -2
- package/internal/generated/theming/index.d.ts +2 -2
- package/internal/generated/theming/index.js +232 -232
- package/internal/manifest.json +1 -1
- package/key-value-pairs/styles.css.js +8 -8
- package/key-value-pairs/styles.scoped.css +13 -13
- package/key-value-pairs/styles.selectors.js +8 -8
- package/link/styles.css.js +20 -20
- package/link/styles.scoped.css +98 -98
- package/link/styles.selectors.js +20 -20
- package/modal/styles.css.js +23 -23
- package/modal/styles.scoped.css +45 -45
- package/modal/styles.selectors.js +23 -23
- package/multiselect/styles.css.js +3 -3
- package/multiselect/styles.scoped.css +5 -5
- package/multiselect/styles.selectors.js +3 -3
- package/package.json +1 -1
- package/pagination/styles.css.js +9 -9
- package/pagination/styles.scoped.css +38 -38
- package/pagination/styles.selectors.js +9 -9
- package/pie-chart/styles.css.js +27 -27
- package/pie-chart/styles.scoped.css +53 -53
- package/pie-chart/styles.selectors.js +27 -27
- package/popover/styles.css.js +56 -56
- package/popover/styles.scoped.css +101 -101
- package/popover/styles.selectors.js +56 -56
- package/progress-bar/styles.css.js +19 -19
- package/progress-bar/styles.scoped.css +36 -36
- package/progress-bar/styles.selectors.js +19 -19
- package/prompt-input/styles.css.js +15 -15
- package/prompt-input/styles.scoped.css +83 -83
- package/prompt-input/styles.selectors.js +15 -15
- package/property-filter/filtering-token/styles.css.js +18 -18
- package/property-filter/filtering-token/styles.scoped.css +55 -55
- package/property-filter/filtering-token/styles.selectors.js +18 -18
- package/property-filter/styles.css.js +39 -39
- package/property-filter/styles.scoped.css +52 -52
- package/property-filter/styles.selectors.js +39 -39
- package/radio-group/styles.css.js +10 -10
- package/radio-group/styles.scoped.css +27 -27
- package/radio-group/styles.selectors.js +10 -10
- package/s3-resource-selector/s3-in-context/styles.css.js +7 -7
- package/s3-resource-selector/s3-in-context/styles.scoped.css +9 -9
- package/s3-resource-selector/s3-in-context/styles.selectors.js +7 -7
- package/s3-resource-selector/s3-modal/styles.css.js +3 -3
- package/s3-resource-selector/s3-modal/styles.scoped.css +4 -4
- 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 +56 -56
- package/segmented-control/styles.selectors.js +16 -16
- package/select/parts/styles.css.js +20 -20
- package/select/parts/styles.scoped.css +32 -32
- package/select/parts/styles.selectors.js +20 -20
- package/select/styles.css.js +1 -1
- package/select/styles.scoped.css +2 -2
- package/select/styles.selectors.js +1 -1
- package/side-navigation/styles.css.js +30 -30
- package/side-navigation/styles.scoped.css +55 -55
- package/side-navigation/styles.selectors.js +30 -30
- package/slider/styles.css.js +26 -26
- package/slider/styles.scoped.css +152 -152
- package/slider/styles.selectors.js +26 -26
- package/spinner/styles.css.js +13 -13
- package/spinner/styles.scoped.css +21 -21
- package/spinner/styles.selectors.js +13 -13
- package/split-panel/icons/styles.css.js +22 -22
- package/split-panel/icons/styles.scoped.css +44 -44
- package/split-panel/icons/styles.selectors.js +22 -22
- package/split-panel/styles.css.js +27 -27
- package/split-panel/styles.scoped.css +55 -55
- package/split-panel/styles.selectors.js +27 -27
- package/status-indicator/styles.css.js +23 -23
- package/status-indicator/styles.scoped.css +43 -43
- package/status-indicator/styles.selectors.js +23 -23
- package/steps/styles.css.js +6 -6
- package/steps/styles.scoped.css +9 -9
- package/steps/styles.selectors.js +6 -6
- package/table/body-cell/styles.css.js +46 -46
- package/table/body-cell/styles.scoped.css +401 -401
- package/table/body-cell/styles.selectors.js +46 -46
- package/table/expandable-rows/styles.css.js +3 -3
- package/table/expandable-rows/styles.scoped.css +18 -18
- package/table/expandable-rows/styles.selectors.js +3 -3
- package/table/header-cell/styles.css.js +28 -28
- package/table/header-cell/styles.scoped.css +84 -84
- package/table/header-cell/styles.selectors.js +28 -28
- package/table/resizer/styles.css.js +8 -8
- package/table/resizer/styles.scoped.css +22 -22
- package/table/resizer/styles.selectors.js +8 -8
- package/table/sticky-scrollbar/styles.css.js +6 -6
- package/table/sticky-scrollbar/styles.scoped.css +10 -10
- package/table/sticky-scrollbar/styles.selectors.js +6 -6
- package/table/styles.css.js +34 -34
- package/table/styles.scoped.css +48 -48
- package/table/styles.selectors.js +34 -34
- package/tabs/styles.css.js +30 -30
- package/tabs/styles.scoped.css +65 -65
- package/tabs/styles.selectors.js +30 -30
- package/tag-editor/styles.css.js +3 -3
- package/tag-editor/styles.scoped.css +15 -15
- package/tag-editor/styles.selectors.js +3 -3
- package/text-content/styles.css.js +1 -1
- package/text-content/styles.scoped.css +71 -71
- 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 +5 -5
- package/textarea/styles.scoped.css +39 -39
- package/textarea/styles.selectors.js +5 -5
- package/tiles/styles.css.js +30 -30
- package/tiles/styles.scoped.css +90 -90
- package/tiles/styles.selectors.js +30 -30
- package/toggle/styles.css.js +10 -10
- package/toggle/styles.scoped.css +27 -27
- package/toggle/styles.selectors.js +10 -10
- package/toggle-button/styles.css.js +3 -3
- package/toggle-button/styles.scoped.css +6 -6
- package/toggle-button/styles.selectors.js +3 -3
- package/token-group/styles.css.js +8 -8
- package/token-group/styles.scoped.css +33 -33
- package/token-group/styles.selectors.js +8 -8
- package/top-navigation/1.0-beta/styles.css.js +23 -23
- package/top-navigation/1.0-beta/styles.scoped.css +44 -44
- package/top-navigation/1.0-beta/styles.selectors.js +23 -23
- package/top-navigation/styles.css.js +47 -47
- package/top-navigation/styles.scoped.css +86 -86
- package/top-navigation/styles.selectors.js +47 -47
- package/tutorial-panel/components/tutorial-detail-view/styles.css.js +20 -20
- package/tutorial-panel/components/tutorial-detail-view/styles.scoped.css +25 -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 +35 -35
- 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 +2 -2
- package/tutorial-panel/styles.selectors.js +1 -1
- package/wizard/styles.css.js +30 -30
- package/wizard/styles.scoped.css +83 -83
- package/wizard/styles.selectors.js +30 -30
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"file-loading-overlay": "awsui_file-loading-
|
|
6
|
-
"file-loading-overlay-single-row": "awsui_file-loading-overlay-single-
|
|
7
|
-
"file-option-name": "awsui_file-option-
|
|
8
|
-
"file-option-size": "awsui_file-option-
|
|
9
|
-
"file-option-last-modified": "awsui_file-option-last-
|
|
10
|
-
"file-option": "awsui_file-
|
|
11
|
-
"file-option-thumbnail": "awsui_file-option-
|
|
12
|
-
"file-option-thumbnail-image": "awsui_file-option-thumbnail-
|
|
13
|
-
"file-option-metadata": "awsui_file-option-
|
|
14
|
-
"with-image": "awsui_with-
|
|
15
|
-
"single-row-loading": "awsui_single-row-
|
|
16
|
-
"token": "
|
|
17
|
-
"token-grid": "awsui_token-
|
|
18
|
-
"token-contains-image": "awsui_token-contains-
|
|
19
|
-
"token-box": "awsui_token-
|
|
20
|
-
"horizontal": "
|
|
21
|
-
"error": "
|
|
22
|
-
"dismiss-button": "awsui_dismiss-
|
|
23
|
-
"warning": "
|
|
24
|
-
"read-only": "awsui_read-
|
|
25
|
-
"loading": "
|
|
4
|
+
"root": "awsui_root_39ths_1hg4x_209",
|
|
5
|
+
"file-loading-overlay": "awsui_file-loading-overlay_39ths_1hg4x_241",
|
|
6
|
+
"file-loading-overlay-single-row": "awsui_file-loading-overlay-single-row_39ths_1hg4x_246",
|
|
7
|
+
"file-option-name": "awsui_file-option-name_39ths_1hg4x_250",
|
|
8
|
+
"file-option-size": "awsui_file-option-size_39ths_1hg4x_251",
|
|
9
|
+
"file-option-last-modified": "awsui_file-option-last-modified_39ths_1hg4x_252",
|
|
10
|
+
"file-option": "awsui_file-option_39ths_1hg4x_250",
|
|
11
|
+
"file-option-thumbnail": "awsui_file-option-thumbnail_39ths_1hg4x_265",
|
|
12
|
+
"file-option-thumbnail-image": "awsui_file-option-thumbnail-image_39ths_1hg4x_269",
|
|
13
|
+
"file-option-metadata": "awsui_file-option-metadata_39ths_1hg4x_282",
|
|
14
|
+
"with-image": "awsui_with-image_39ths_1hg4x_285",
|
|
15
|
+
"single-row-loading": "awsui_single-row-loading_39ths_1hg4x_288",
|
|
16
|
+
"token": "awsui_token_39ths_1hg4x_292",
|
|
17
|
+
"token-grid": "awsui_token-grid_39ths_1hg4x_299",
|
|
18
|
+
"token-contains-image": "awsui_token-contains-image_39ths_1hg4x_308",
|
|
19
|
+
"token-box": "awsui_token-box_39ths_1hg4x_312",
|
|
20
|
+
"horizontal": "awsui_horizontal_39ths_1hg4x_331",
|
|
21
|
+
"error": "awsui_error_39ths_1hg4x_339",
|
|
22
|
+
"dismiss-button": "awsui_dismiss-button_39ths_1hg4x_343",
|
|
23
|
+
"warning": "awsui_warning_39ths_1hg4x_349",
|
|
24
|
+
"read-only": "awsui_read-only_39ths_1hg4x_359",
|
|
25
|
+
"loading": "awsui_loading_39ths_1hg4x_372"
|
|
26
26
|
};
|
|
27
27
|
|
|
@@ -206,7 +206,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
206
206
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
207
207
|
SPDX-License-Identifier: Apache-2.0
|
|
208
208
|
*/
|
|
209
|
-
.
|
|
209
|
+
.awsui_root_39ths_1hg4x_209:not(#\9) {
|
|
210
210
|
border-collapse: separate;
|
|
211
211
|
border-spacing: 0;
|
|
212
212
|
box-sizing: border-box;
|
|
@@ -232,42 +232,42 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
232
232
|
word-spacing: normal;
|
|
233
233
|
font-size: var(--font-size-body-m-a7nh2n, 14px);
|
|
234
234
|
line-height: var(--line-height-body-m-2mh3ke, 20px);
|
|
235
|
-
color: var(--color-text-body-default-
|
|
235
|
+
color: var(--color-text-body-default-vvtq8u, #0f141a);
|
|
236
236
|
font-weight: 400;
|
|
237
237
|
font-family: var(--font-family-base-gmnpzl, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
238
238
|
-webkit-font-smoothing: auto;
|
|
239
239
|
-moz-osx-font-smoothing: auto;
|
|
240
240
|
}
|
|
241
241
|
|
|
242
|
-
.awsui_file-loading-
|
|
242
|
+
.awsui_file-loading-overlay_39ths_1hg4x_241:not(#\9) {
|
|
243
243
|
position: absolute;
|
|
244
244
|
inset-inline-end: var(--space-static-xs-gnm0mz, 8px);
|
|
245
245
|
inset-block-end: var(--space-static-xxs-ns94dp, 4px);
|
|
246
246
|
}
|
|
247
|
-
.awsui_file-loading-overlay-single-
|
|
247
|
+
.awsui_file-loading-overlay-single-row_39ths_1hg4x_246:not(#\9) {
|
|
248
248
|
inset-inline-end: var(--space-static-xxl-ifa9j8, 32px);
|
|
249
249
|
}
|
|
250
250
|
|
|
251
|
-
.awsui_file-option-
|
|
252
|
-
.awsui_file-option-
|
|
253
|
-
.awsui_file-option-last-
|
|
251
|
+
.awsui_file-option-name_39ths_1hg4x_250:not(#\9),
|
|
252
|
+
.awsui_file-option-size_39ths_1hg4x_251:not(#\9),
|
|
253
|
+
.awsui_file-option-last-modified_39ths_1hg4x_252:not(#\9) {
|
|
254
254
|
text-overflow: ellipsis;
|
|
255
255
|
overflow: hidden;
|
|
256
256
|
white-space: nowrap;
|
|
257
257
|
}
|
|
258
258
|
|
|
259
|
-
.awsui_file-
|
|
259
|
+
.awsui_file-option_39ths_1hg4x_250:not(#\9) {
|
|
260
260
|
inline-size: 100%;
|
|
261
261
|
min-inline-size: 0;
|
|
262
262
|
display: flex;
|
|
263
263
|
gap: var(--space-scaled-xs-xwoogq, 8px);
|
|
264
264
|
}
|
|
265
265
|
|
|
266
|
-
.awsui_file-option-
|
|
266
|
+
.awsui_file-option-thumbnail_39ths_1hg4x_265:not(#\9) {
|
|
267
267
|
margin-block-start: var(--space-static-xxs-ns94dp, 4px);
|
|
268
268
|
}
|
|
269
269
|
|
|
270
|
-
.awsui_file-option-thumbnail-
|
|
270
|
+
.awsui_file-option-thumbnail-image_39ths_1hg4x_269:not(#\9) {
|
|
271
271
|
font-size: var(--font-size-body-s-smc8cv, 12px);
|
|
272
272
|
line-height: var(--line-height-body-s-nu5hx1, 16px);
|
|
273
273
|
letter-spacing: var(--letter-spacing-body-s-gq78ok, 0.005em);
|
|
@@ -280,97 +280,97 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
280
280
|
overflow: hidden;
|
|
281
281
|
}
|
|
282
282
|
|
|
283
|
-
.awsui_file-option-
|
|
283
|
+
.awsui_file-option-metadata_39ths_1hg4x_282:not(#\9) {
|
|
284
284
|
inline-size: 100%;
|
|
285
285
|
}
|
|
286
|
-
.awsui_file-option-
|
|
286
|
+
.awsui_file-option-metadata_39ths_1hg4x_282.awsui_with-image_39ths_1hg4x_285:not(#\9) {
|
|
287
287
|
inline-size: calc(100% - 48px);
|
|
288
288
|
}
|
|
289
|
-
.awsui_file-option-
|
|
289
|
+
.awsui_file-option-metadata_39ths_1hg4x_282.awsui_single-row-loading_39ths_1hg4x_288:not(#\9) {
|
|
290
290
|
inline-size: calc(100% - var(--size-icon-normal-levt08, 16px));
|
|
291
291
|
}
|
|
292
292
|
|
|
293
|
-
.
|
|
293
|
+
.awsui_token_39ths_1hg4x_292:not(#\9) {
|
|
294
294
|
position: relative;
|
|
295
295
|
block-size: 100%;
|
|
296
296
|
display: flex;
|
|
297
297
|
flex-direction: column;
|
|
298
298
|
gap: var(--space-xxs-hwfkai, 4px);
|
|
299
299
|
}
|
|
300
|
-
.awsui_token-
|
|
300
|
+
.awsui_token-grid_39ths_1hg4x_299:not(#\9) {
|
|
301
301
|
display: grid;
|
|
302
302
|
grid-template-rows: max-content auto;
|
|
303
303
|
}
|
|
304
304
|
@media (max-width: 688px) {
|
|
305
|
-
.awsui_token-
|
|
305
|
+
.awsui_token-grid_39ths_1hg4x_299:not(#\9) {
|
|
306
306
|
display: flex;
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
|
-
.awsui_token-contains-
|
|
309
|
+
.awsui_token-contains-image_39ths_1hg4x_308:not(#\9) {
|
|
310
310
|
grid-template-rows: 68px auto;
|
|
311
311
|
}
|
|
312
312
|
|
|
313
|
-
.awsui_token-
|
|
313
|
+
.awsui_token-box_39ths_1hg4x_312:not(#\9) {
|
|
314
314
|
position: relative;
|
|
315
315
|
block-size: 100%;
|
|
316
|
-
border-block: var(--border-width-token-2ukdpu, 2px) solid var(--color-border-item-selected-
|
|
317
|
-
border-inline: var(--border-width-token-2ukdpu, 2px) solid var(--color-border-item-selected-
|
|
316
|
+
border-block: var(--border-width-token-2ukdpu, 2px) solid var(--color-border-item-selected-wl5ttm, #006ce0);
|
|
317
|
+
border-inline: var(--border-width-token-2ukdpu, 2px) solid var(--color-border-item-selected-wl5ttm, #006ce0);
|
|
318
318
|
padding-block-start: var(--space-scaled-xxs-pfm1nx, 4px);
|
|
319
319
|
padding-block-end: var(--space-scaled-xxs-pfm1nx, 4px);
|
|
320
320
|
padding-inline-start: var(--space-field-horizontal-0aq2ch, 12px);
|
|
321
321
|
padding-inline-end: var(--space-xxs-hwfkai, 4px);
|
|
322
322
|
display: flex;
|
|
323
323
|
align-items: flex-start;
|
|
324
|
-
background: var(--color-background-item-selected-
|
|
324
|
+
background: var(--color-background-item-selected-9gppru, #f0fbff);
|
|
325
325
|
border-start-start-radius: var(--border-radius-token-ycnemh, 8px);
|
|
326
326
|
border-start-end-radius: var(--border-radius-token-ycnemh, 8px);
|
|
327
327
|
border-end-start-radius: var(--border-radius-token-ycnemh, 8px);
|
|
328
328
|
border-end-end-radius: var(--border-radius-token-ycnemh, 8px);
|
|
329
|
-
color: var(--color-text-body-default-
|
|
329
|
+
color: var(--color-text-body-default-vvtq8u, #0f141a);
|
|
330
330
|
box-sizing: border-box;
|
|
331
331
|
}
|
|
332
|
-
.awsui_token-
|
|
332
|
+
.awsui_token-box_39ths_1hg4x_312.awsui_horizontal_39ths_1hg4x_331:not(#\9) {
|
|
333
333
|
max-inline-size: 230px;
|
|
334
334
|
}
|
|
335
335
|
@media (max-width: 688px) {
|
|
336
|
-
.awsui_token-
|
|
336
|
+
.awsui_token-box_39ths_1hg4x_312.awsui_horizontal_39ths_1hg4x_331:not(#\9) {
|
|
337
337
|
max-inline-size: 100%;
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
|
-
.awsui_token-
|
|
341
|
-
border-color: var(--color-border-status-error-
|
|
340
|
+
.awsui_token-box_39ths_1hg4x_312.awsui_error_39ths_1hg4x_339:not(#\9) {
|
|
341
|
+
border-color: var(--color-border-status-error-j8acpp, #db0000);
|
|
342
342
|
border-inline-start-width: var(--border-invalid-width-3xd6e1, 8px);
|
|
343
343
|
}
|
|
344
|
-
.awsui_token-
|
|
345
|
-
color: var(--color-text-interactive-default-
|
|
344
|
+
.awsui_token-box_39ths_1hg4x_312.awsui_error_39ths_1hg4x_339 > .awsui_dismiss-button_39ths_1hg4x_343:not(#\9) {
|
|
345
|
+
color: var(--color-text-interactive-default-ugh9wp, #424650);
|
|
346
346
|
}
|
|
347
|
-
.awsui_token-
|
|
348
|
-
color: var(--color-text-interactive-hover-
|
|
347
|
+
.awsui_token-box_39ths_1hg4x_312.awsui_error_39ths_1hg4x_339 > .awsui_dismiss-button_39ths_1hg4x_343:not(#\9):hover {
|
|
348
|
+
color: var(--color-text-interactive-hover-6naf7i, #0f141a);
|
|
349
349
|
}
|
|
350
|
-
.awsui_token-
|
|
351
|
-
border-color: var(--color-border-status-warning-
|
|
350
|
+
.awsui_token-box_39ths_1hg4x_312.awsui_warning_39ths_1hg4x_349:not(#\9) {
|
|
351
|
+
border-color: var(--color-border-status-warning-j40pg7, #855900);
|
|
352
352
|
border-inline-start-width: var(--border-invalid-width-3xd6e1, 8px);
|
|
353
353
|
}
|
|
354
|
-
.awsui_token-
|
|
355
|
-
color: var(--color-text-interactive-default-
|
|
354
|
+
.awsui_token-box_39ths_1hg4x_312.awsui_warning_39ths_1hg4x_349 > .awsui_dismiss-button_39ths_1hg4x_343:not(#\9) {
|
|
355
|
+
color: var(--color-text-interactive-default-ugh9wp, #424650);
|
|
356
356
|
}
|
|
357
|
-
.awsui_token-
|
|
358
|
-
color: var(--color-text-interactive-hover-
|
|
357
|
+
.awsui_token-box_39ths_1hg4x_312.awsui_warning_39ths_1hg4x_349 > .awsui_dismiss-button_39ths_1hg4x_343:not(#\9):hover {
|
|
358
|
+
color: var(--color-text-interactive-hover-6naf7i, #0f141a);
|
|
359
359
|
}
|
|
360
|
-
.awsui_token-
|
|
361
|
-
border-color: var(--color-border-input-disabled-
|
|
362
|
-
background-color: var(--color-background-container-content-
|
|
360
|
+
.awsui_token-box_39ths_1hg4x_312.awsui_read-only_39ths_1hg4x_359:not(#\9) {
|
|
361
|
+
border-color: var(--color-border-input-disabled-zgnzvk, #ebebf0);
|
|
362
|
+
background-color: var(--color-background-container-content-6u8rvp, #ffffff);
|
|
363
363
|
pointer-events: none;
|
|
364
364
|
}
|
|
365
|
-
.awsui_token-
|
|
366
|
-
color: var(--color-text-button-inline-icon-disabled-
|
|
365
|
+
.awsui_token-box_39ths_1hg4x_312.awsui_read-only_39ths_1hg4x_359 > .awsui_dismiss-button_39ths_1hg4x_343:not(#\9) {
|
|
366
|
+
color: var(--color-text-button-inline-icon-disabled-82hho0, #b4b4bb);
|
|
367
367
|
}
|
|
368
|
-
.awsui_token-
|
|
368
|
+
.awsui_token-box_39ths_1hg4x_312.awsui_read-only_39ths_1hg4x_359 > .awsui_dismiss-button_39ths_1hg4x_343:not(#\9):hover {
|
|
369
369
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
370
370
|
cursor: initial;
|
|
371
|
-
color: var(--color-text-button-inline-icon-disabled-
|
|
371
|
+
color: var(--color-text-button-inline-icon-disabled-82hho0, #b4b4bb);
|
|
372
372
|
}
|
|
373
|
-
.awsui_token-
|
|
374
|
-
border-color: var(--color-border-control-disabled-
|
|
375
|
-
background-color: var(--color-background-container-content-
|
|
373
|
+
.awsui_token-box_39ths_1hg4x_312.awsui_loading_39ths_1hg4x_372:not(#\9) {
|
|
374
|
+
border-color: var(--color-border-control-disabled-uj7t08, #dedee3);
|
|
375
|
+
background-color: var(--color-background-container-content-6u8rvp, #ffffff);
|
|
376
376
|
}
|
|
@@ -2,27 +2,27 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"root": "
|
|
6
|
-
"file-loading-overlay": "awsui_file-loading-
|
|
7
|
-
"file-loading-overlay-single-row": "awsui_file-loading-overlay-single-
|
|
8
|
-
"file-option-name": "awsui_file-option-
|
|
9
|
-
"file-option-size": "awsui_file-option-
|
|
10
|
-
"file-option-last-modified": "awsui_file-option-last-
|
|
11
|
-
"file-option": "awsui_file-
|
|
12
|
-
"file-option-thumbnail": "awsui_file-option-
|
|
13
|
-
"file-option-thumbnail-image": "awsui_file-option-thumbnail-
|
|
14
|
-
"file-option-metadata": "awsui_file-option-
|
|
15
|
-
"with-image": "awsui_with-
|
|
16
|
-
"single-row-loading": "awsui_single-row-
|
|
17
|
-
"token": "
|
|
18
|
-
"token-grid": "awsui_token-
|
|
19
|
-
"token-contains-image": "awsui_token-contains-
|
|
20
|
-
"token-box": "awsui_token-
|
|
21
|
-
"horizontal": "
|
|
22
|
-
"error": "
|
|
23
|
-
"dismiss-button": "awsui_dismiss-
|
|
24
|
-
"warning": "
|
|
25
|
-
"read-only": "awsui_read-
|
|
26
|
-
"loading": "
|
|
5
|
+
"root": "awsui_root_39ths_1hg4x_209",
|
|
6
|
+
"file-loading-overlay": "awsui_file-loading-overlay_39ths_1hg4x_241",
|
|
7
|
+
"file-loading-overlay-single-row": "awsui_file-loading-overlay-single-row_39ths_1hg4x_246",
|
|
8
|
+
"file-option-name": "awsui_file-option-name_39ths_1hg4x_250",
|
|
9
|
+
"file-option-size": "awsui_file-option-size_39ths_1hg4x_251",
|
|
10
|
+
"file-option-last-modified": "awsui_file-option-last-modified_39ths_1hg4x_252",
|
|
11
|
+
"file-option": "awsui_file-option_39ths_1hg4x_250",
|
|
12
|
+
"file-option-thumbnail": "awsui_file-option-thumbnail_39ths_1hg4x_265",
|
|
13
|
+
"file-option-thumbnail-image": "awsui_file-option-thumbnail-image_39ths_1hg4x_269",
|
|
14
|
+
"file-option-metadata": "awsui_file-option-metadata_39ths_1hg4x_282",
|
|
15
|
+
"with-image": "awsui_with-image_39ths_1hg4x_285",
|
|
16
|
+
"single-row-loading": "awsui_single-row-loading_39ths_1hg4x_288",
|
|
17
|
+
"token": "awsui_token_39ths_1hg4x_292",
|
|
18
|
+
"token-grid": "awsui_token-grid_39ths_1hg4x_299",
|
|
19
|
+
"token-contains-image": "awsui_token-contains-image_39ths_1hg4x_308",
|
|
20
|
+
"token-box": "awsui_token-box_39ths_1hg4x_312",
|
|
21
|
+
"horizontal": "awsui_horizontal_39ths_1hg4x_331",
|
|
22
|
+
"error": "awsui_error_39ths_1hg4x_339",
|
|
23
|
+
"dismiss-button": "awsui_dismiss-button_39ths_1hg4x_343",
|
|
24
|
+
"warning": "awsui_warning_39ths_1hg4x_349",
|
|
25
|
+
"read-only": "awsui_read-only_39ths_1hg4x_359",
|
|
26
|
+
"loading": "awsui_loading_39ths_1hg4x_372"
|
|
27
27
|
};
|
|
28
28
|
|
package/flashbar/interfaces.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export interface FlashbarProps extends BaseComponentProps {
|
|
|
44
44
|
* A flash message object contains the following properties:
|
|
45
45
|
* * `header` (ReactNode) - Specifies the heading text.
|
|
46
46
|
* * `content` (ReactNode) - Specifies the primary text displayed in the flash element.
|
|
47
|
-
* * `type` (string) - Indicates the type of the message to be displayed. Allowed values are as follows: `success, error, warning, info`. The default is `info`.
|
|
47
|
+
* * `type` (string) - Indicates the type of the message to be displayed. Allowed values are as follows: `success, error, warning, info, in-progress`. The default is `info`.
|
|
48
48
|
* * `loading` (boolean) - Replaces the status icon with a spinner and forces the type to `info`.
|
|
49
49
|
* * `dismissible` (boolean) - Determines whether the component includes a close button icon. By default, the close button is not included.
|
|
50
50
|
* When a user clicks on this button the `onDismiss` handler is called.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/flashbar/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\n\nimport { ButtonProps } from '../button/interfaces';\nimport { ErrorContext } from '../internal/analytics/interfaces';\nimport { BaseComponentProps } from '../internal/base-component';\n\nexport namespace FlashbarProps {\n export interface MessageDefinition {\n header?: React.ReactNode;\n content?: React.ReactNode;\n dismissible?: boolean;\n dismissLabel?: string;\n statusIconAriaLabel?: string;\n loading?: boolean;\n type?: FlashbarProps.Type;\n ariaRole?: FlashbarProps.AriaRole;\n action?: React.ReactNode;\n id?: string;\n buttonText?: ButtonProps['children'];\n onButtonClick?: ButtonProps['onClick'];\n onDismiss?: ButtonProps['onClick'];\n analyticsMetadata?: FlashbarProps.ItemAnalyticsMetadata;\n }\n\n export interface ItemAnalyticsMetadata {\n suppressFlowMetricEvents?: boolean;\n errorContext?: ErrorContext;\n }\n\n export interface I18nStrings {\n ariaLabel?: string;\n errorIconAriaLabel?: string;\n infoIconAriaLabel?: string;\n inProgressIconAriaLabel?: string;\n notificationBarAriaLabel?: string;\n notificationBarText?: string;\n successIconAriaLabel?: string;\n warningIconAriaLabel?: string;\n }\n\n export type Type = 'success' | 'warning' | 'info' | 'error' | 'in-progress';\n export type AriaRole = 'alert' | 'status';\n}\n\nexport interface FlashbarProps extends BaseComponentProps {\n /**\n * Specifies flash messages that appear in the same order that they are listed.\n * The value is an array of flash message definition objects.\n *\n * A flash message object contains the following properties:\n * * `header` (ReactNode) - Specifies the heading text.\n * * `content` (ReactNode) - Specifies the primary text displayed in the flash element.\n * * `type` (string) - Indicates the type of the message to be displayed. Allowed values are as follows: `success, error, warning, info`. The default is `info`.\n * * `loading` (boolean) - Replaces the status icon with a spinner and forces the type to `info`.\n * * `dismissible` (boolean) - Determines whether the component includes a close button icon. By default, the close button is not included.\n * When a user clicks on this button the `onDismiss` handler is called.\n * * `dismissLabel` (string) - Specifies an `aria-label` for to the dismiss icon button for improved accessibility.\n * * `statusIconAriaLabel` (string) - Specifies an `aria-label` for to the status icon for improved accessibility.\n * If not provided, `i18nStrings.{type}IconAriaLabel` will be used as a fallback.\n * * `ariaRole` (string) - For flash messages added after page load, specifies how this message is communicated to assistive\n * technology. Use \"status\" for status updates or informational content. Use \"alert\" for important messages that need the\n * user's attention.\n * * `action` (ReactNode) - Specifies an action for the flash message. Although it is technically possible to insert any content,\n * our UX guidelines only allow you to add a button.\n * * `buttonText` (string) - Specifies that an action button should be displayed, with the specified text.\n * When a user clicks on this button the `onButtonClick` handler is called.\n * If the `action` property is set, this property is ignored. **Deprecated**, replaced by `action`.\n * * `onButtonClick` (event => void) - Called when a user clicks on the action button. This is not called if you create a custom button\n * using the `action` property. **Deprecated**, replaced by `action`.\n * * `id` (string) - Specifies a unique flash message identifier. This property is used in two ways:\n * 1. As a [keys](https://reactjs.org/docs/lists-and-keys.html#keys) source for React rendering.\n * 2. To identify which flash message will be removed from the DOM when it is dismissed, to animate it out.\n * * `analyticsMetadata` (FlashbarProps.ItemAnalyticsMetadata) - (Optional) Specifies additional analytics-related metadata.\n * * `suppressFlowMetricEvents` - Prevent this item from generating events related to flow metrics.\n * @analytics\n */\n items: ReadonlyArray<FlashbarProps.MessageDefinition>;\n\n /**\n * Specifies whether flash messages should be stacked.\n */\n stackItems?: boolean;\n\n /**\n * An object containing all the necessary localized strings required by the component. The object should contain:\n *\n * * `ariaLabel` - Specifies the ARIA label for the list of notifications.\n *\n * If `stackItems` is set to `true`, it should also contain:\n *\n * * `notificationBarAriaLabel` - (optional) Specifies the ARIA label for the notification bar\n * * `notificationBarText` - (optional) Specifies the text shown in the notification bar\n * * `errorIconAriaLabel` - (optional) Specifies the ARIA label for the icon displayed next to the number of items of type `error`.\n * * `warningIconAriaLabel` - (optional) Specifies the ARIA label for the icon displayed next to the number of items of type `warning`.\n * * `infoIconAriaLabel` - (optional) Specifies the ARIA label for the icon displayed next to the number of items of type `info`.\n * * `successIconAriaLabel` - (optional) Specifies the ARIA label for the icon displayed next to the number of items of type `success`.\n * * `inProgressIconAriaLabel` - (optional) Specifies the ARIA label for the icon displayed next to the number of items of type `in-progress` or with `loading` set to `true`.\n * @i18n\n */\n i18nStrings?: FlashbarProps.I18nStrings;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/flashbar/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\n\nimport { ButtonProps } from '../button/interfaces';\nimport { ErrorContext } from '../internal/analytics/interfaces';\nimport { BaseComponentProps } from '../internal/base-component';\n\nexport namespace FlashbarProps {\n export interface MessageDefinition {\n header?: React.ReactNode;\n content?: React.ReactNode;\n dismissible?: boolean;\n dismissLabel?: string;\n statusIconAriaLabel?: string;\n loading?: boolean;\n type?: FlashbarProps.Type;\n ariaRole?: FlashbarProps.AriaRole;\n action?: React.ReactNode;\n id?: string;\n buttonText?: ButtonProps['children'];\n onButtonClick?: ButtonProps['onClick'];\n onDismiss?: ButtonProps['onClick'];\n analyticsMetadata?: FlashbarProps.ItemAnalyticsMetadata;\n }\n\n export interface ItemAnalyticsMetadata {\n suppressFlowMetricEvents?: boolean;\n errorContext?: ErrorContext;\n }\n\n export interface I18nStrings {\n ariaLabel?: string;\n errorIconAriaLabel?: string;\n infoIconAriaLabel?: string;\n inProgressIconAriaLabel?: string;\n notificationBarAriaLabel?: string;\n notificationBarText?: string;\n successIconAriaLabel?: string;\n warningIconAriaLabel?: string;\n }\n\n export type Type = 'success' | 'warning' | 'info' | 'error' | 'in-progress';\n export type AriaRole = 'alert' | 'status';\n}\n\nexport interface FlashbarProps extends BaseComponentProps {\n /**\n * Specifies flash messages that appear in the same order that they are listed.\n * The value is an array of flash message definition objects.\n *\n * A flash message object contains the following properties:\n * * `header` (ReactNode) - Specifies the heading text.\n * * `content` (ReactNode) - Specifies the primary text displayed in the flash element.\n * * `type` (string) - Indicates the type of the message to be displayed. Allowed values are as follows: `success, error, warning, info, in-progress`. The default is `info`.\n * * `loading` (boolean) - Replaces the status icon with a spinner and forces the type to `info`.\n * * `dismissible` (boolean) - Determines whether the component includes a close button icon. By default, the close button is not included.\n * When a user clicks on this button the `onDismiss` handler is called.\n * * `dismissLabel` (string) - Specifies an `aria-label` for to the dismiss icon button for improved accessibility.\n * * `statusIconAriaLabel` (string) - Specifies an `aria-label` for to the status icon for improved accessibility.\n * If not provided, `i18nStrings.{type}IconAriaLabel` will be used as a fallback.\n * * `ariaRole` (string) - For flash messages added after page load, specifies how this message is communicated to assistive\n * technology. Use \"status\" for status updates or informational content. Use \"alert\" for important messages that need the\n * user's attention.\n * * `action` (ReactNode) - Specifies an action for the flash message. Although it is technically possible to insert any content,\n * our UX guidelines only allow you to add a button.\n * * `buttonText` (string) - Specifies that an action button should be displayed, with the specified text.\n * When a user clicks on this button the `onButtonClick` handler is called.\n * If the `action` property is set, this property is ignored. **Deprecated**, replaced by `action`.\n * * `onButtonClick` (event => void) - Called when a user clicks on the action button. This is not called if you create a custom button\n * using the `action` property. **Deprecated**, replaced by `action`.\n * * `id` (string) - Specifies a unique flash message identifier. This property is used in two ways:\n * 1. As a [keys](https://reactjs.org/docs/lists-and-keys.html#keys) source for React rendering.\n * 2. To identify which flash message will be removed from the DOM when it is dismissed, to animate it out.\n * * `analyticsMetadata` (FlashbarProps.ItemAnalyticsMetadata) - (Optional) Specifies additional analytics-related metadata.\n * * `suppressFlowMetricEvents` - Prevent this item from generating events related to flow metrics.\n * @analytics\n */\n items: ReadonlyArray<FlashbarProps.MessageDefinition>;\n\n /**\n * Specifies whether flash messages should be stacked.\n */\n stackItems?: boolean;\n\n /**\n * An object containing all the necessary localized strings required by the component. The object should contain:\n *\n * * `ariaLabel` - Specifies the ARIA label for the list of notifications.\n *\n * If `stackItems` is set to `true`, it should also contain:\n *\n * * `notificationBarAriaLabel` - (optional) Specifies the ARIA label for the notification bar\n * * `notificationBarText` - (optional) Specifies the text shown in the notification bar\n * * `errorIconAriaLabel` - (optional) Specifies the ARIA label for the icon displayed next to the number of items of type `error`.\n * * `warningIconAriaLabel` - (optional) Specifies the ARIA label for the icon displayed next to the number of items of type `warning`.\n * * `infoIconAriaLabel` - (optional) Specifies the ARIA label for the icon displayed next to the number of items of type `info`.\n * * `successIconAriaLabel` - (optional) Specifies the ARIA label for the icon displayed next to the number of items of type `success`.\n * * `inProgressIconAriaLabel` - (optional) Specifies the ARIA label for the icon displayed next to the number of items of type `in-progress` or with `loading` set to `true`.\n * @i18n\n */\n i18nStrings?: FlashbarProps.I18nStrings;\n}\n"]}
|
package/flashbar/styles.css.js
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"flash-with-motion": "awsui_flash-with-
|
|
5
|
-
"enter": "
|
|
6
|
-
"flash-body": "awsui_flash-
|
|
7
|
-
"flash-message": "awsui_flash-
|
|
8
|
-
"flash-header": "awsui_flash-
|
|
9
|
-
"flash-content": "awsui_flash-
|
|
10
|
-
"action-button-wrapper": "awsui_action-button-
|
|
11
|
-
"dismiss-button-wrapper": "awsui_dismiss-button-
|
|
12
|
-
"flash-icon": "awsui_flash-
|
|
13
|
-
"entering": "
|
|
14
|
-
"entered": "
|
|
15
|
-
"exiting": "
|
|
16
|
-
"stack": "
|
|
17
|
-
"animation-running": "awsui_animation-
|
|
18
|
-
"item": "
|
|
19
|
-
"flash-list-item": "awsui_flash-list-
|
|
20
|
-
"notification-bar": "awsui_notification-
|
|
21
|
-
"collapsed": "
|
|
22
|
-
"animation-ready": "awsui_animation-
|
|
23
|
-
"expanded-only": "awsui_expanded-
|
|
24
|
-
"expanded": "
|
|
25
|
-
"flash": "
|
|
26
|
-
"collapsible": "
|
|
27
|
-
"short-list": "awsui_short-
|
|
28
|
-
"visual-refresh": "awsui_visual-
|
|
29
|
-
"status": "
|
|
30
|
-
"header": "
|
|
31
|
-
"item-count": "awsui_item-
|
|
32
|
-
"button": "
|
|
33
|
-
"type-count": "awsui_type-
|
|
34
|
-
"count-number": "awsui_count-
|
|
35
|
-
"icon": "
|
|
36
|
-
"floating": "
|
|
37
|
-
"flashbar": "
|
|
38
|
-
"initial-hidden": "awsui_initial-
|
|
39
|
-
"flash-list": "awsui_flash-
|
|
40
|
-
"flash-focus-container": "awsui_flash-focus-
|
|
41
|
-
"flash-text": "awsui_flash-
|
|
42
|
-
"hidden": "
|
|
43
|
-
"header-replacement": "awsui_header-
|
|
44
|
-
"content-replacement": "awsui_content-
|
|
45
|
-
"dismiss-button": "awsui_dismiss-
|
|
46
|
-
"action-wrapped": "awsui_action-
|
|
47
|
-
"action-button": "awsui_action-
|
|
48
|
-
"action-slot": "awsui_action-
|
|
49
|
-
"flash-type-success": "awsui_flash-type-
|
|
50
|
-
"flash-type-error": "awsui_flash-type-
|
|
51
|
-
"flash-type-info": "awsui_flash-type-
|
|
52
|
-
"flash-type-in-progress": "awsui_flash-type-in-
|
|
53
|
-
"flash-type-warning": "awsui_flash-type-
|
|
4
|
+
"flash-with-motion": "awsui_flash-with-motion_1q84n_s69o2_157",
|
|
5
|
+
"enter": "awsui_enter_1q84n_s69o2_157",
|
|
6
|
+
"flash-body": "awsui_flash-body_1q84n_s69o2_171",
|
|
7
|
+
"flash-message": "awsui_flash-message_1q84n_s69o2_171",
|
|
8
|
+
"flash-header": "awsui_flash-header_1q84n_s69o2_171",
|
|
9
|
+
"flash-content": "awsui_flash-content_1q84n_s69o2_172",
|
|
10
|
+
"action-button-wrapper": "awsui_action-button-wrapper_1q84n_s69o2_173",
|
|
11
|
+
"dismiss-button-wrapper": "awsui_dismiss-button-wrapper_1q84n_s69o2_174",
|
|
12
|
+
"flash-icon": "awsui_flash-icon_1q84n_s69o2_197",
|
|
13
|
+
"entering": "awsui_entering_1q84n_s69o2_210",
|
|
14
|
+
"entered": "awsui_entered_1q84n_s69o2_231",
|
|
15
|
+
"exiting": "awsui_exiting_1q84n_s69o2_336",
|
|
16
|
+
"stack": "awsui_stack_1q84n_s69o2_370",
|
|
17
|
+
"animation-running": "awsui_animation-running_1q84n_s69o2_370",
|
|
18
|
+
"item": "awsui_item_1q84n_s69o2_370",
|
|
19
|
+
"flash-list-item": "awsui_flash-list-item_1q84n_s69o2_371",
|
|
20
|
+
"notification-bar": "awsui_notification-bar_1q84n_s69o2_372",
|
|
21
|
+
"collapsed": "awsui_collapsed_1q84n_s69o2_392",
|
|
22
|
+
"animation-ready": "awsui_animation-ready_1q84n_s69o2_392",
|
|
23
|
+
"expanded-only": "awsui_expanded-only_1q84n_s69o2_392",
|
|
24
|
+
"expanded": "awsui_expanded_1q84n_s69o2_392",
|
|
25
|
+
"flash": "awsui_flash_1q84n_s69o2_157",
|
|
26
|
+
"collapsible": "awsui_collapsible_1q84n_s69o2_448",
|
|
27
|
+
"short-list": "awsui_short-list_1q84n_s69o2_454",
|
|
28
|
+
"visual-refresh": "awsui_visual-refresh_1q84n_s69o2_454",
|
|
29
|
+
"status": "awsui_status_1q84n_s69o2_601",
|
|
30
|
+
"header": "awsui_header_1q84n_s69o2_601",
|
|
31
|
+
"item-count": "awsui_item-count_1q84n_s69o2_602",
|
|
32
|
+
"button": "awsui_button_1q84n_s69o2_603",
|
|
33
|
+
"type-count": "awsui_type-count_1q84n_s69o2_636",
|
|
34
|
+
"count-number": "awsui_count-number_1q84n_s69o2_636",
|
|
35
|
+
"icon": "awsui_icon_1q84n_s69o2_670",
|
|
36
|
+
"floating": "awsui_floating_1q84n_s69o2_711",
|
|
37
|
+
"flashbar": "awsui_flashbar_1q84n_s69o2_715",
|
|
38
|
+
"initial-hidden": "awsui_initial-hidden_1q84n_s69o2_773",
|
|
39
|
+
"flash-list": "awsui_flash-list_1q84n_s69o2_371",
|
|
40
|
+
"flash-focus-container": "awsui_flash-focus-container_1q84n_s69o2_797",
|
|
41
|
+
"flash-text": "awsui_flash-text_1q84n_s69o2_827",
|
|
42
|
+
"hidden": "awsui_hidden_1q84n_s69o2_846",
|
|
43
|
+
"header-replacement": "awsui_header-replacement_1q84n_s69o2_851",
|
|
44
|
+
"content-replacement": "awsui_content-replacement_1q84n_s69o2_856",
|
|
45
|
+
"dismiss-button": "awsui_dismiss-button_1q84n_s69o2_174",
|
|
46
|
+
"action-wrapped": "awsui_action-wrapped_1q84n_s69o2_874",
|
|
47
|
+
"action-button": "awsui_action-button_1q84n_s69o2_173",
|
|
48
|
+
"action-slot": "awsui_action-slot_1q84n_s69o2_881",
|
|
49
|
+
"flash-type-success": "awsui_flash-type-success_1q84n_s69o2_885",
|
|
50
|
+
"flash-type-error": "awsui_flash-type-error_1q84n_s69o2_889",
|
|
51
|
+
"flash-type-info": "awsui_flash-type-info_1q84n_s69o2_893",
|
|
52
|
+
"flash-type-in-progress": "awsui_flash-type-in-progress_1q84n_s69o2_894",
|
|
53
|
+
"flash-type-warning": "awsui_flash-type-warning_1q84n_s69o2_898"
|
|
54
54
|
};
|
|
55
55
|
|