@cloudscape-design/components 3.0.193 → 3.0.195
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 +19 -19
- package/alert/styles.scoped.css +33 -33
- package/alert/styles.selectors.js +19 -19
- package/annotation-context/annotation/styles.css.js +24 -24
- package/annotation-context/annotation/styles.scoped.css +32 -32
- package/annotation-context/annotation/styles.selectors.js +24 -24
- package/app-layout/content-wrapper/styles.css.js +3 -3
- package/app-layout/content-wrapper/styles.scoped.css +8 -8
- package/app-layout/content-wrapper/styles.selectors.js +3 -3
- package/app-layout/mobile-toolbar/styles.css.js +4 -4
- package/app-layout/mobile-toolbar/styles.scoped.css +9 -9
- package/app-layout/mobile-toolbar/styles.selectors.js +4 -4
- package/app-layout/notifications/styles.css.js +1 -1
- package/app-layout/notifications/styles.scoped.css +2 -1
- package/app-layout/notifications/styles.selectors.js +1 -1
- package/app-layout/styles.css.js +26 -26
- package/app-layout/styles.scoped.css +35 -35
- package/app-layout/styles.selectors.js +26 -26
- package/app-layout/toggles/styles.css.js +1 -1
- package/app-layout/toggles/styles.scoped.css +3 -3
- package/app-layout/toggles/styles.selectors.js +1 -1
- package/app-layout/visual-refresh/styles.css.js +60 -60
- package/app-layout/visual-refresh/styles.scoped.css +225 -224
- package/app-layout/visual-refresh/styles.selectors.js +60 -60
- package/area-chart/styles.css.js +13 -13
- package/area-chart/styles.scoped.css +18 -18
- package/area-chart/styles.selectors.js +13 -13
- package/attribute-editor/interfaces.d.ts +1 -0
- package/attribute-editor/interfaces.d.ts.map +1 -1
- package/attribute-editor/interfaces.js.map +1 -1
- package/attribute-editor/internal.d.ts.map +1 -1
- package/attribute-editor/internal.js +17 -2
- package/attribute-editor/internal.js.map +1 -1
- package/attribute-editor/styles.css.js +14 -14
- package/attribute-editor/styles.scoped.css +26 -26
- package/attribute-editor/styles.selectors.js +14 -14
- package/badge/styles.css.js +5 -5
- package/badge/styles.scoped.css +7 -7
- package/badge/styles.selectors.js +5 -5
- package/box/styles.css.js +189 -189
- package/box/styles.scoped.css +240 -240
- package/box/styles.selectors.js +189 -189
- package/breadcrumb-group/item/styles.css.js +9 -9
- package/breadcrumb-group/item/styles.scoped.css +19 -19
- package/breadcrumb-group/item/styles.selectors.js +9 -9
- package/breadcrumb-group/styles.css.js +6 -6
- package/breadcrumb-group/styles.scoped.css +13 -13
- package/breadcrumb-group/styles.selectors.js +6 -6
- package/button/styles.css.js +18 -18
- package/button/styles.scoped.css +138 -138
- package/button/styles.selectors.js +18 -18
- package/button-dropdown/category-elements/styles.css.js +13 -13
- package/button-dropdown/category-elements/styles.scoped.css +25 -25
- package/button-dropdown/category-elements/styles.selectors.js +13 -13
- package/button-dropdown/item-element/styles.css.js +14 -14
- package/button-dropdown/item-element/styles.scoped.css +20 -20
- package/button-dropdown/item-element/styles.selectors.js +14 -14
- 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 +8 -8
- package/button-dropdown/styles.scoped.css +16 -16
- package/button-dropdown/styles.selectors.js +8 -8
- package/calendar/styles.css.js +18 -18
- package/calendar/styles.scoped.css +40 -40
- package/calendar/styles.selectors.js +18 -18
- package/cards/styles.css.js +37 -37
- package/cards/styles.scoped.css +122 -57
- package/cards/styles.selectors.js +37 -37
- 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 +32 -32
- package/code-editor/styles.scoped.css +111 -111
- package/code-editor/styles.selectors.js +32 -32
- package/collection-preferences/styles.css.js +20 -20
- package/collection-preferences/styles.scoped.css +25 -25
- package/collection-preferences/styles.selectors.js +20 -20
- package/column-layout/styles.css.js +13 -13
- package/column-layout/styles.scoped.css +45 -45
- package/column-layout/styles.selectors.js +13 -13
- package/container/internal.d.ts.map +1 -1
- package/container/internal.js +1 -1
- package/container/internal.js.map +1 -1
- package/container/styles.css.js +18 -17
- package/container/styles.scoped.css +107 -44
- package/container/styles.selectors.js +18 -17
- package/container/use-sticky-header.d.ts.map +1 -1
- package/container/use-sticky-header.js +4 -15
- package/container/use-sticky-header.js.map +1 -1
- package/content-layout/styles.css.js +7 -7
- package/content-layout/styles.scoped.css +13 -13
- package/content-layout/styles.selectors.js +7 -7
- 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 +25 -25
- package/date-range-picker/calendar/grids/styles.scoped.css +44 -44
- package/date-range-picker/calendar/grids/styles.selectors.js +25 -25
- package/date-range-picker/relative-range/styles.css.js +9 -9
- package/date-range-picker/relative-range/styles.scoped.css +15 -15
- package/date-range-picker/relative-range/styles.selectors.js +9 -9
- package/date-range-picker/styles.css.js +38 -38
- package/date-range-picker/styles.scoped.css +47 -47
- package/date-range-picker/styles.selectors.js +38 -38
- package/expandable-section/styles.css.js +21 -21
- package/expandable-section/styles.scoped.css +44 -44
- package/expandable-section/styles.selectors.js +21 -21
- package/flashbar/collapsible-flashbar.d.ts +2 -2
- package/flashbar/collapsible-flashbar.d.ts.map +1 -1
- package/flashbar/collapsible-flashbar.js +19 -9
- package/flashbar/collapsible-flashbar.js.map +1 -1
- package/flashbar/common.d.ts +2 -2
- package/flashbar/common.d.ts.map +1 -1
- package/flashbar/common.js.map +1 -1
- package/flashbar/index.d.ts +2 -2
- package/flashbar/index.d.ts.map +1 -1
- package/flashbar/index.js +1 -4
- package/flashbar/index.js.map +1 -1
- package/flashbar/interfaces.d.ts +30 -17
- package/flashbar/interfaces.d.ts.map +1 -1
- package/flashbar/interfaces.js.map +1 -1
- package/flashbar/non-collapsible-flashbar.d.ts +2 -2
- package/flashbar/non-collapsible-flashbar.d.ts.map +1 -1
- package/flashbar/non-collapsible-flashbar.js.map +1 -1
- package/flashbar/styles.css.js +43 -43
- package/flashbar/styles.scoped.css +152 -163
- package/flashbar/styles.selectors.js +43 -43
- package/flashbar/utils.d.ts +1 -0
- package/flashbar/utils.d.ts.map +1 -1
- package/flashbar/utils.js +3 -0
- package/flashbar/utils.js.map +1 -1
- package/form/styles.css.js +8 -8
- package/form/styles.scoped.css +10 -10
- package/form/styles.selectors.js +8 -8
- package/form-field/styles.css.js +19 -19
- package/form-field/styles.scoped.css +31 -31
- package/form-field/styles.selectors.js +19 -19
- package/grid/styles.css.js +53 -53
- package/grid/styles.scoped.css +56 -56
- package/grid/styles.selectors.js +53 -53
- package/header/styles.css.js +44 -44
- package/header/styles.scoped.css +49 -49
- package/header/styles.selectors.js +44 -44
- package/help-panel/styles.css.js +4 -4
- package/help-panel/styles.scoped.css +60 -60
- package/help-panel/styles.selectors.js +4 -4
- package/hotspot/styles.css.js +7 -7
- package/hotspot/styles.scoped.css +9 -9
- package/hotspot/styles.selectors.js +7 -7
- package/icon/styles.css.js +21 -21
- package/icon/styles.scoped.css +50 -50
- package/icon/styles.selectors.js +21 -21
- package/input/styles.css.js +12 -12
- package/input/styles.scoped.css +32 -32
- package/input/styles.selectors.js +12 -12
- package/internal/base-component/styles.scoped.css +6 -6
- package/internal/components/abstract-switch/styles.css.js +12 -12
- package/internal/components/abstract-switch/styles.scoped.css +21 -21
- package/internal/components/abstract-switch/styles.selectors.js +12 -12
- package/internal/components/button-trigger/styles.css.js +9 -9
- package/internal/components/button-trigger/styles.scoped.css +25 -25
- package/internal/components/button-trigger/styles.selectors.js +9 -9
- package/internal/components/chart-filter/styles.css.js +3 -3
- package/internal/components/chart-filter/styles.scoped.css +5 -5
- 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 +17 -17
- 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 +7 -7
- 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 +5 -5
- package/internal/components/chart-popover/styles.selectors.js +3 -3
- package/internal/components/chart-series-details/styles.css.js +5 -5
- package/internal/components/chart-series-details/styles.scoped.css +10 -10
- package/internal/components/chart-series-details/styles.selectors.js +5 -5
- package/internal/components/chart-series-marker/styles.css.js +5 -5
- package/internal/components/chart-series-marker/styles.scoped.css +9 -9
- package/internal/components/chart-series-marker/styles.selectors.js +5 -5
- package/internal/components/checkbox-icon/styles.css.js +7 -7
- package/internal/components/checkbox-icon/styles.scoped.css +10 -10
- package/internal/components/checkbox-icon/styles.selectors.js +7 -7
- package/internal/components/dropdown/styles.css.js +20 -20
- package/internal/components/dropdown/styles.scoped.css +37 -37
- 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/filtering-token/styles.css.js +7 -7
- package/internal/components/filtering-token/styles.scoped.css +15 -15
- package/internal/components/filtering-token/styles.selectors.js +7 -7
- package/internal/components/menu-dropdown/styles.css.js +7 -7
- package/internal/components/menu-dropdown/styles.scoped.css +15 -15
- 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 +31 -31
- package/internal/components/option/styles.selectors.js +17 -17
- package/internal/components/options-list/styles.css.js +2 -2
- package/internal/components/options-list/styles.scoped.css +4 -4
- package/internal/components/options-list/styles.selectors.js +2 -2
- package/internal/components/screenreader-only/styles.css.js +1 -1
- package/internal/components/screenreader-only/styles.scoped.css +3 -3
- package/internal/components/screenreader-only/styles.selectors.js +1 -1
- package/internal/components/selectable-item/styles.css.js +16 -16
- package/internal/components/selectable-item/styles.scoped.css +29 -29
- package/internal/components/selectable-item/styles.selectors.js +16 -16
- package/internal/environment.js +1 -1
- package/internal/generated/custom-css-properties/index.d.ts.map +1 -1
- package/internal/generated/custom-css-properties/index.js +28 -27
- package/internal/generated/custom-css-properties/index.js.map +1 -1
- package/internal/generated/theming/index.cjs +6 -6
- package/internal/generated/theming/index.js +6 -6
- package/internal/manifest.json +1 -1
- package/link/styles.css.js +20 -20
- package/link/styles.scoped.css +73 -73
- package/link/styles.selectors.js +20 -20
- package/mixed-line-bar-chart/styles.css.js +19 -19
- package/mixed-line-bar-chart/styles.scoped.css +28 -28
- package/mixed-line-bar-chart/styles.selectors.js +19 -19
- package/modal/styles.css.js +22 -22
- package/modal/styles.scoped.css +40 -47
- package/modal/styles.selectors.js +22 -22
- package/multiselect/styles.css.js +1 -1
- package/multiselect/styles.scoped.css +3 -3
- package/multiselect/styles.selectors.js +1 -1
- package/package.json +1 -1
- package/pagination/styles.css.js +9 -9
- package/pagination/styles.scoped.css +25 -25
- package/pagination/styles.selectors.js +9 -9
- package/pie-chart/styles.css.js +27 -27
- package/pie-chart/styles.scoped.css +45 -45
- package/pie-chart/styles.selectors.js +27 -27
- package/popover/styles.css.js +50 -50
- package/popover/styles.scoped.css +73 -73
- package/popover/styles.selectors.js +50 -50
- package/progress-bar/styles.css.js +18 -18
- package/progress-bar/styles.scoped.css +36 -36
- package/progress-bar/styles.selectors.js +18 -18
- package/property-filter/styles.css.js +33 -33
- package/property-filter/styles.scoped.css +37 -37
- package/property-filter/styles.selectors.js +33 -33
- package/radio-group/styles.css.js +9 -9
- package/radio-group/styles.scoped.css +17 -17
- package/radio-group/styles.selectors.js +9 -9
- package/segmented-control/styles.css.js +14 -14
- package/segmented-control/styles.scoped.css +35 -35
- package/segmented-control/styles.selectors.js +14 -14
- package/select/parts/styles.css.js +9 -9
- package/select/parts/styles.scoped.css +14 -14
- package/select/parts/styles.selectors.js +9 -9
- package/select/styles.css.js +1 -1
- package/select/styles.scoped.css +3 -3
- package/select/styles.selectors.js +1 -1
- package/side-navigation/styles.css.js +26 -26
- package/side-navigation/styles.scoped.css +38 -38
- package/side-navigation/styles.selectors.js +26 -26
- package/space-between/styles.css.js +28 -28
- package/space-between/styles.scoped.css +31 -31
- package/space-between/styles.selectors.js +28 -28
- package/spinner/styles.css.js +13 -13
- package/spinner/styles.scoped.css +20 -20
- package/spinner/styles.selectors.js +13 -13
- package/split-panel/styles.css.js +59 -59
- package/split-panel/styles.scoped.css +85 -85
- package/split-panel/styles.selectors.js +59 -59
- package/status-indicator/styles.css.js +20 -20
- package/status-indicator/styles.scoped.css +28 -28
- package/status-indicator/styles.selectors.js +20 -20
- package/table/body-cell/styles.css.js +18 -18
- package/table/body-cell/styles.scoped.css +52 -52
- package/table/body-cell/styles.selectors.js +18 -18
- package/table/header-cell/styles.css.js +19 -19
- package/table/header-cell/styles.scoped.css +33 -33
- package/table/header-cell/styles.selectors.js +19 -19
- package/table/resizer/styles.css.js +6 -6
- package/table/resizer/styles.scoped.css +13 -13
- package/table/resizer/styles.selectors.js +6 -6
- package/table/selection-control/styles.css.js +3 -3
- package/table/selection-control/styles.scoped.css +5 -5
- package/table/selection-control/styles.selectors.js +3 -3
- package/table/styles.css.js +33 -33
- package/table/styles.scoped.css +41 -41
- package/table/styles.selectors.js +33 -33
- package/tabs/styles.css.js +21 -21
- package/tabs/styles.scoped.css +42 -42
- package/tabs/styles.selectors.js +21 -21
- package/tag-editor/interfaces.d.ts +1 -0
- package/tag-editor/interfaces.d.ts.map +1 -1
- package/tag-editor/interfaces.js.map +1 -1
- package/tag-editor/styles.css.js +3 -3
- package/tag-editor/styles.scoped.css +12 -12
- package/tag-editor/styles.selectors.js +3 -3
- package/test-utils/dom/flashbar/index.d.ts +2 -0
- package/test-utils/dom/flashbar/index.js +2 -0
- package/test-utils/dom/flashbar/index.js.map +1 -1
- package/test-utils/selectors/flashbar/index.d.ts +2 -0
- package/test-utils/selectors/flashbar/index.js +2 -0
- package/test-utils/selectors/flashbar/index.js.map +1 -1
- package/test-utils/tsconfig.tsbuildinfo +1 -1
- package/text-content/styles.css.js +1 -1
- package/text-content/styles.scoped.css +62 -62
- package/text-content/styles.selectors.js +1 -1
- package/text-filter/styles.css.js +4 -4
- package/text-filter/styles.scoped.css +6 -6
- package/text-filter/styles.selectors.js +4 -4
- package/textarea/styles.css.js +4 -4
- package/textarea/styles.scoped.css +14 -14
- package/textarea/styles.selectors.js +4 -4
- package/tiles/styles.css.js +28 -28
- package/tiles/styles.scoped.css +70 -70
- package/tiles/styles.selectors.js +28 -28
- package/toggle/styles.css.js +8 -8
- package/toggle/styles.scoped.css +15 -15
- package/toggle/styles.selectors.js +8 -8
- package/token-group/styles.css.js +7 -7
- package/token-group/styles.scoped.css +24 -24
- package/token-group/styles.selectors.js +7 -7
- package/top-navigation/1.0-beta/styles.css.js +25 -25
- package/top-navigation/1.0-beta/styles.scoped.css +44 -44
- package/top-navigation/1.0-beta/styles.selectors.js +25 -25
- package/top-navigation/styles.css.js +47 -47
- package/top-navigation/styles.scoped.css +68 -68
- 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 +23 -23
- 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 +29 -29
- 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 +3 -3
- package/tutorial-panel/styles.selectors.js +1 -1
- package/wizard/index.d.ts.map +1 -1
- package/wizard/index.js +5 -4
- package/wizard/index.js.map +1 -1
- package/wizard/internal/analytics.d.ts +3 -3
- package/wizard/internal/analytics.d.ts.map +1 -1
- package/wizard/internal/analytics.js +6 -11
- package/wizard/internal/analytics.js.map +1 -1
- package/wizard/styles.css.js +32 -32
- package/wizard/styles.scoped.css +98 -64
- package/wizard/styles.selectors.js +32 -32
|
@@ -2,48 +2,48 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"flash-with-motion": "awsui_flash-with-
|
|
6
|
-
"enter": "
|
|
7
|
-
"flash-body": "awsui_flash-
|
|
8
|
-
"flash-message": "awsui_flash-
|
|
9
|
-
"flash-header": "awsui_flash-
|
|
10
|
-
"flash-content": "awsui_flash-
|
|
11
|
-
"action-button-wrapper": "awsui_action-button-
|
|
12
|
-
"dismiss-button-wrapper": "awsui_dismiss-button-
|
|
13
|
-
"flash-icon": "awsui_flash-
|
|
14
|
-
"entering": "
|
|
15
|
-
"entered": "
|
|
16
|
-
"exiting": "
|
|
17
|
-
"stack": "
|
|
18
|
-
"animation-running": "awsui_animation-
|
|
19
|
-
"item": "
|
|
20
|
-
"flash-list-item": "awsui_flash-list-
|
|
21
|
-
"
|
|
22
|
-
"collapsed": "
|
|
23
|
-
"animation-ready": "awsui_animation-
|
|
24
|
-
"expanded-only": "awsui_expanded-
|
|
25
|
-
"expanded": "
|
|
26
|
-
"flash": "
|
|
27
|
-
"status": "
|
|
28
|
-
"header": "
|
|
29
|
-
"item-count": "awsui_item-
|
|
30
|
-
"button": "
|
|
31
|
-
"type-count": "awsui_type-
|
|
32
|
-
"count-number": "awsui_count-
|
|
33
|
-
"visual-refresh": "awsui_visual-
|
|
34
|
-
"icon": "
|
|
35
|
-
"
|
|
36
|
-
"flashbar": "
|
|
37
|
-
"flash-refresh": "awsui_flash-
|
|
38
|
-
"flash-list": "awsui_flash-
|
|
39
|
-
"flash-focus-container": "awsui_flash-focus-
|
|
40
|
-
"flash-text": "awsui_flash-
|
|
41
|
-
"dismiss-button": "awsui_dismiss-
|
|
42
|
-
"breakpoint-default": "awsui_breakpoint-
|
|
43
|
-
"action-button": "awsui_action-
|
|
44
|
-
"flash-type-success": "awsui_flash-type-
|
|
45
|
-
"flash-type-error": "awsui_flash-type-
|
|
46
|
-
"flash-type-warning": "awsui_flash-type-
|
|
47
|
-
"flash-type-info": "awsui_flash-type-
|
|
5
|
+
"flash-with-motion": "awsui_flash-with-motion_1q84n_1pai3_93",
|
|
6
|
+
"enter": "awsui_enter_1q84n_1pai3_93",
|
|
7
|
+
"flash-body": "awsui_flash-body_1q84n_1pai3_107",
|
|
8
|
+
"flash-message": "awsui_flash-message_1q84n_1pai3_107",
|
|
9
|
+
"flash-header": "awsui_flash-header_1q84n_1pai3_107",
|
|
10
|
+
"flash-content": "awsui_flash-content_1q84n_1pai3_108",
|
|
11
|
+
"action-button-wrapper": "awsui_action-button-wrapper_1q84n_1pai3_109",
|
|
12
|
+
"dismiss-button-wrapper": "awsui_dismiss-button-wrapper_1q84n_1pai3_110",
|
|
13
|
+
"flash-icon": "awsui_flash-icon_1q84n_1pai3_133",
|
|
14
|
+
"entering": "awsui_entering_1q84n_1pai3_146",
|
|
15
|
+
"entered": "awsui_entered_1q84n_1pai3_167",
|
|
16
|
+
"exiting": "awsui_exiting_1q84n_1pai3_272",
|
|
17
|
+
"stack": "awsui_stack_1q84n_1pai3_294",
|
|
18
|
+
"animation-running": "awsui_animation-running_1q84n_1pai3_294",
|
|
19
|
+
"item": "awsui_item_1q84n_1pai3_294",
|
|
20
|
+
"flash-list-item": "awsui_flash-list-item_1q84n_1pai3_295",
|
|
21
|
+
"notification-bar": "awsui_notification-bar_1q84n_1pai3_296",
|
|
22
|
+
"collapsed": "awsui_collapsed_1q84n_1pai3_316",
|
|
23
|
+
"animation-ready": "awsui_animation-ready_1q84n_1pai3_316",
|
|
24
|
+
"expanded-only": "awsui_expanded-only_1q84n_1pai3_316",
|
|
25
|
+
"expanded": "awsui_expanded_1q84n_1pai3_316",
|
|
26
|
+
"flash": "awsui_flash_1q84n_1pai3_93",
|
|
27
|
+
"status": "awsui_status_1q84n_1pai3_403",
|
|
28
|
+
"header": "awsui_header_1q84n_1pai3_403",
|
|
29
|
+
"item-count": "awsui_item-count_1q84n_1pai3_404",
|
|
30
|
+
"button": "awsui_button_1q84n_1pai3_405",
|
|
31
|
+
"type-count": "awsui_type-count_1q84n_1pai3_430",
|
|
32
|
+
"count-number": "awsui_count-number_1q84n_1pai3_430",
|
|
33
|
+
"visual-refresh": "awsui_visual-refresh_1q84n_1pai3_443",
|
|
34
|
+
"icon": "awsui_icon_1q84n_1pai3_493",
|
|
35
|
+
"floating": "awsui_floating_1q84n_1pai3_531",
|
|
36
|
+
"flashbar": "awsui_flashbar_1q84n_1pai3_539",
|
|
37
|
+
"flash-refresh": "awsui_flash-refresh_1q84n_1pai3_581",
|
|
38
|
+
"flash-list": "awsui_flash-list_1q84n_1pai3_295",
|
|
39
|
+
"flash-focus-container": "awsui_flash-focus-container_1q84n_1pai3_600",
|
|
40
|
+
"flash-text": "awsui_flash-text_1q84n_1pai3_627",
|
|
41
|
+
"dismiss-button": "awsui_dismiss-button_1q84n_1pai3_110",
|
|
42
|
+
"breakpoint-default": "awsui_breakpoint-default_1q84n_1pai3_668",
|
|
43
|
+
"action-button": "awsui_action-button_1q84n_1pai3_109",
|
|
44
|
+
"flash-type-success": "awsui_flash-type-success_1q84n_1pai3_681",
|
|
45
|
+
"flash-type-error": "awsui_flash-type-error_1q84n_1pai3_685",
|
|
46
|
+
"flash-type-warning": "awsui_flash-type-warning_1q84n_1pai3_689",
|
|
47
|
+
"flash-type-info": "awsui_flash-type-info_1q84n_1pai3_693"
|
|
48
48
|
};
|
|
49
49
|
|
package/flashbar/utils.d.ts
CHANGED
package/flashbar/utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/flashbar/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB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,CAAC,aAAa,CAAC,iBAAiB,CAAC,EACrD,aAAa,EAAE,MAAM,GACpB,aAAa,CAAC,aAAa,CAAC,CAgD9B;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,SAAS,aAAa,CAAC,iBAAiB,EAAE,GAAG,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,CAO9G;AAED,MAAM,MAAM,SAAS,GACjB,oBAAoB,GACpB,sBAAsB,GACtB,sBAAsB,GACtB,mBAAmB,GACnB,yBAAyB,CAAC;AAE9B,eAAO,MAAM,YAAY,EAAE;IACzB,IAAI,EAAE,SAAS,CAAC;IAChB,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,EAAE,SAAS,CAAC,IAAI,CAAC;CAC1B,EAMA,CAAC;AAEF,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,WAAW,WAE9D"}
|
package/flashbar/utils.js
CHANGED
|
@@ -92,4 +92,7 @@ export var counterTypes = [
|
|
|
92
92
|
{ type: 'info', labelName: 'infoIconAriaLabel', iconName: 'status-info' },
|
|
93
93
|
{ type: 'progress', labelName: 'inProgressIconAriaLabel', iconName: 'status-in-progress' },
|
|
94
94
|
];
|
|
95
|
+
export function isElementTopBeyondViewport(element) {
|
|
96
|
+
return element.getBoundingClientRect().top < 0;
|
|
97
|
+
}
|
|
95
98
|
//# sourceMappingURL=utils.js.map
|
package/flashbar/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/flashbar/utils.ts"],"names":[],"mappings":";AAKA,MAAM,CAAC,IAAM,oBAAoB,GAAG,IAAI,CAAC;AAUzC,IAAM,aAAa,GAA8B;IAC/C,KAAK,EAAE,KAAK;IACZ,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,MAAM;IAChB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,MAAM;CAChB,CAAC;AAEF,SAAS,gBAAgB,CAAC,IAAgB;IACxC,IAAM,YAAY,G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AE,CAAC,EAAE,CAAC;IACzE,KAAmB,UAAK,EAAL,eAAK,EAAL,mBAAK,EAAL,IAAK,EAAE;QAArB,IAAM,IAAI,cAAA;QACb,IAAM,IAAI,GAAG,WAAW,CAAC,IAAI,CAAC,CAAC;QAC/B,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KAClB;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AASD,MAAM,CAAC,IAAM,YAAY,GAInB;IACJ,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,oBAAoB,EAAE,QAAQ,EAAE,iBAAiB,EAAE;IAC/E,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,sBAAsB,EAAE,QAAQ,EAAE,gBAAgB,EAAE;IAClF,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,sBAAsB,EAAE,QAAQ,EAAE,iBAAiB,EAAE;IACnF,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,mBAAmB,EAAE,QAAQ,EAAE,aAAa,EAAE;IACzE,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,yBAAyB,EAAE,QAAQ,EAAE,oBAAoB,EAAE;CAC3F,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { FlashbarProps, FlashType } from './interfaces';\nimport { IconProps } from '../icon/interfaces';\n\nexport const FOCUS_THROTTLE_DELAY = 2000;\n\n// Since the position of a notification changes when the Flashbar is collapsed,\n// it is useful on some situations (e.g, for animating) to know the original position of the item\n// in the non-collapsed state.\nexport interface StackableItem extends FlashbarProps.MessageDefinition {\n expandedIndex: number;\n collapsedIndex?: number;\n}\n\nconst typesToColors: Record<FlashType, string> = {\n error: 'red',\n info: 'blue',\n progress: 'blue',\n success: 'green',\n warning: 'blue',\n};\n\nfunction getColorFromType(type?: FlashType): string {\n const defaultColor = 'blue';\n return type ? typesToColors[type] || defaultColor : defaultColor;\n}\n\nexport function getItemType(item: FlashbarProps.MessageDefinition) {\n if (item.loading) {\n return 'progress';\n } else {\n return item.type || 'info';\n }\n}\n\nfunction getItemColor(item: FlashbarProps.MessageDefinition) {\n return getColorFromType(getItemType(item));\n}\n\n/*\n Returns a selection of notifications, preserving the order when possible but making sure that all different colors in\n the stack are represented in the returned array.\n The order corresponds to how they are represented when using the collapsible feature (newest first, oldest last).\n */\nexport function getVisibleCollapsedItems(\n items: ReadonlyArray<FlashbarProps.MessageDefinition>,\n desiredLength: number\n): ReadonlyArray<StackableItem> {\n // First `desiredLength` items in the original array,\n // together with `isColorRepeated` to tell if they can be subject to be replaced later on if necessary\n const itemsOnTop: { item: StackableItem; isColorRepeated: boolean }[] = [];\n\n // Items that fall outside `desiredIndexLength` but need to be \"promoted\" if possible\n // because they are of a different color which otherwise wouldn't be represented\n const itemsToPromote: StackableItem[] = [];\n\n const addedColors: Set<string> = new Set();\n const allPossibleColors = Object.keys(typesToColors).length;\n const finalLength = Math.min(items.length, desiredLength);\n\n for (let i = 0; i < items.length; i++) {\n const item = items[i];\n const color = getItemColor(item);\n const isColorRepeated = addedColors.has(color);\n if (i < finalLength) {\n itemsOnTop.push({ item: { ...item, expandedIndex: i }, isColorRepeated });\n } else {\n if (addedColors.size === allPossibleColors) {\n // No need to keep looking for unrepresented colors, we can stop looping\n break;\n } else if (!isColorRepeated) {\n itemsToPromote.push({ ...item, expandedIndex: i });\n }\n }\n addedColors.add(color);\n }\n // Generate the new array with the selected items, by picking from both arrays.\n // First, from the non-repeated items within the desired length...\n // We loop `itemsOnTop` starting from the end because we prefer to preserve the first ones rather than the old ones\n const reversedInitialSelection = [];\n let slotsReservedForPromotions = 0;\n for (let j = itemsOnTop.length - 1; j >= 0; j--) {\n const item = itemsOnTop[j];\n if (item.isColorRepeated && slotsReservedForPromotions < itemsToPromote.length) {\n slotsReservedForPromotions += 1;\n } else {\n reversedInitialSelection.push(item.item);\n }\n }\n const selectedItems = reversedInitialSelection.reverse();\n // ...and then complete the selection with as many promotable items as we can fit in the rest of the array\n for (let k = 0; selectedItems.length < desiredLength; k++) {\n selectedItems.push(itemsToPromote[k]);\n }\n return selectedItems;\n}\n\nexport function getFlashTypeCount(items: readonly FlashbarProps.MessageDefinition[]): Record<FlashType, number> {\n const count = { error: 0, info: 0, progress: 0, success: 0, warning: 0 };\n for (const item of items) {\n const type = getItemType(item);\n count[type] += 1;\n }\n return count;\n}\n\nexport type LabelName =\n | 'errorIconAriaLabel'\n | 'warningIconAriaLabel'\n | 'successIconAriaLabel'\n | 'infoIconAriaLabel'\n | 'inProgressIconAriaLabel';\n\nexport const counterTypes: {\n type: FlashType;\n labelName: LabelName;\n iconName: IconProps.Name;\n}[] = [\n { type: 'error', labelName: 'errorIconAriaLabel', iconName: 'status-negative' },\n { type: 'warning', labelName: 'warningIconAriaLabel', iconName: 'status-warning' },\n { type: 'success', labelName: 'successIconAriaLabel', iconName: 'status-positive' },\n { type: 'info', labelName: 'infoIconAriaLabel', iconName: 'status-info' },\n { type: 'progress', labelName: 'inProgressIconAriaLabel', iconName: 'status-in-progress' },\n];\n"]}
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/flashbar/utils.ts"],"names":[],"mappings":";AAKA,MAAM,CAAC,IAAM,oBAAoB,GAAG,IAAI,CAAC;AAUzC,IAAM,aAAa,GAA8B;IAC/C,KAAK,EAAE,KAAK;IACZ,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,MAAM;IAChB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,MAAM;CAChB,CAAC;AAEF,SAAS,gBAAgB,CAAC,IAAgB;IACxC,IAAM,YAAY,GAAG,MAAM,CAAC;IAC5B,OAAO,IAAI,CAAC,CAAC,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,YAAY,CAAC,CAAC,CAAC,YAAY,CAAC;AACnE,CAAC;AAED,MAAM,UAAU,WAAW,CAAC,IAAqC;IAC/D,IAAI,IAAI,CAAC,OAAO,EAA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,CAAC;KAClB;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AASD,MAAM,CAAC,IAAM,YAAY,GAInB;IACJ,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,oBAAoB,EAAE,QAAQ,EAAE,iBAAiB,EAAE;IAC/E,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,sBAAsB,EAAE,QAAQ,EAAE,gBAAgB,EAAE;IAClF,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,sBAAsB,EAAE,QAAQ,EAAE,iBAAiB,EAAE;IACnF,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,mBAAmB,EAAE,QAAQ,EAAE,aAAa,EAAE;IACzE,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,yBAAyB,EAAE,QAAQ,EAAE,oBAAoB,EAAE;CAC3F,CAAC;AAEF,MAAM,UAAU,0BAA0B,CAAC,OAAoB;IAC7D,OAAO,OAAO,CAAC,qBAAqB,EAAE,CAAC,GAAG,GAAG,CAAC,CAAC;AACjD,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { FlashbarProps, FlashType } from './interfaces';\nimport { IconProps } from '../icon/interfaces';\n\nexport const FOCUS_THROTTLE_DELAY = 2000;\n\n// Since the position of a notification changes when the Flashbar is collapsed,\n// it is useful on some situations (e.g, for animating) to know the original position of the item\n// in the non-collapsed state.\nexport interface StackableItem extends FlashbarProps.MessageDefinition {\n expandedIndex: number;\n collapsedIndex?: number;\n}\n\nconst typesToColors: Record<FlashType, string> = {\n error: 'red',\n info: 'blue',\n progress: 'blue',\n success: 'green',\n warning: 'blue',\n};\n\nfunction getColorFromType(type?: FlashType): string {\n const defaultColor = 'blue';\n return type ? typesToColors[type] || defaultColor : defaultColor;\n}\n\nexport function getItemType(item: FlashbarProps.MessageDefinition) {\n if (item.loading) {\n return 'progress';\n } else {\n return item.type || 'info';\n }\n}\n\nfunction getItemColor(item: FlashbarProps.MessageDefinition) {\n return getColorFromType(getItemType(item));\n}\n\n/*\n Returns a selection of notifications, preserving the order when possible but making sure that all different colors in\n the stack are represented in the returned array.\n The order corresponds to how they are represented when using the collapsible feature (newest first, oldest last).\n */\nexport function getVisibleCollapsedItems(\n items: ReadonlyArray<FlashbarProps.MessageDefinition>,\n desiredLength: number\n): ReadonlyArray<StackableItem> {\n // First `desiredLength` items in the original array,\n // together with `isColorRepeated` to tell if they can be subject to be replaced later on if necessary\n const itemsOnTop: { item: StackableItem; isColorRepeated: boolean }[] = [];\n\n // Items that fall outside `desiredIndexLength` but need to be \"promoted\" if possible\n // because they are of a different color which otherwise wouldn't be represented\n const itemsToPromote: StackableItem[] = [];\n\n const addedColors: Set<string> = new Set();\n const allPossibleColors = Object.keys(typesToColors).length;\n const finalLength = Math.min(items.length, desiredLength);\n\n for (let i = 0; i < items.length; i++) {\n const item = items[i];\n const color = getItemColor(item);\n const isColorRepeated = addedColors.has(color);\n if (i < finalLength) {\n itemsOnTop.push({ item: { ...item, expandedIndex: i }, isColorRepeated });\n } else {\n if (addedColors.size === allPossibleColors) {\n // No need to keep looking for unrepresented colors, we can stop looping\n break;\n } else if (!isColorRepeated) {\n itemsToPromote.push({ ...item, expandedIndex: i });\n }\n }\n addedColors.add(color);\n }\n // Generate the new array with the selected items, by picking from both arrays.\n // First, from the non-repeated items within the desired length...\n // We loop `itemsOnTop` starting from the end because we prefer to preserve the first ones rather than the old ones\n const reversedInitialSelection = [];\n let slotsReservedForPromotions = 0;\n for (let j = itemsOnTop.length - 1; j >= 0; j--) {\n const item = itemsOnTop[j];\n if (item.isColorRepeated && slotsReservedForPromotions < itemsToPromote.length) {\n slotsReservedForPromotions += 1;\n } else {\n reversedInitialSelection.push(item.item);\n }\n }\n const selectedItems = reversedInitialSelection.reverse();\n // ...and then complete the selection with as many promotable items as we can fit in the rest of the array\n for (let k = 0; selectedItems.length < desiredLength; k++) {\n selectedItems.push(itemsToPromote[k]);\n }\n return selectedItems;\n}\n\nexport function getFlashTypeCount(items: readonly FlashbarProps.MessageDefinition[]): Record<FlashType, number> {\n const count = { error: 0, info: 0, progress: 0, success: 0, warning: 0 };\n for (const item of items) {\n const type = getItemType(item);\n count[type] += 1;\n }\n return count;\n}\n\nexport type LabelName =\n | 'errorIconAriaLabel'\n | 'warningIconAriaLabel'\n | 'successIconAriaLabel'\n | 'infoIconAriaLabel'\n | 'inProgressIconAriaLabel';\n\nexport const counterTypes: {\n type: FlashType;\n labelName: LabelName;\n iconName: IconProps.Name;\n}[] = [\n { type: 'error', labelName: 'errorIconAriaLabel', iconName: 'status-negative' },\n { type: 'warning', labelName: 'warningIconAriaLabel', iconName: 'status-warning' },\n { type: 'success', labelName: 'successIconAriaLabel', iconName: 'status-positive' },\n { type: 'info', labelName: 'infoIconAriaLabel', iconName: 'status-info' },\n { type: 'progress', labelName: 'inProgressIconAriaLabel', iconName: 'status-in-progress' },\n];\n\nexport function isElementTopBeyondViewport(element: HTMLElement) {\n return element.getBoundingClientRect().top < 0;\n}\n"]}
|
package/form/styles.css.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"header": "
|
|
6
|
-
"content": "
|
|
7
|
-
"error": "
|
|
8
|
-
"footer": "
|
|
9
|
-
"actions-section": "awsui_actions-
|
|
10
|
-
"secondary-actions": "awsui_secondary-
|
|
11
|
-
"actions": "
|
|
4
|
+
"root": "awsui_root_1i0s3_ndty3_93",
|
|
5
|
+
"header": "awsui_header_1i0s3_ndty3_106",
|
|
6
|
+
"content": "awsui_content_1i0s3_ndty3_110",
|
|
7
|
+
"error": "awsui_error_1i0s3_ndty3_114",
|
|
8
|
+
"footer": "awsui_footer_1i0s3_ndty3_118",
|
|
9
|
+
"actions-section": "awsui_actions-section_1i0s3_ndty3_122",
|
|
10
|
+
"secondary-actions": "awsui_secondary-actions_1i0s3_ndty3_131",
|
|
11
|
+
"actions": "awsui_actions_1i0s3_ndty3_122"
|
|
12
12
|
};
|
|
13
13
|
|
package/form/styles.scoped.css
CHANGED
|
@@ -50,8 +50,6 @@
|
|
|
50
50
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
51
51
|
SPDX-License-Identifier: Apache-2.0
|
|
52
52
|
*/
|
|
53
|
-
/* stylelint-disable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
54
|
-
/* stylelint-enable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
55
53
|
/*
|
|
56
54
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
57
55
|
SPDX-License-Identifier: Apache-2.0
|
|
@@ -64,6 +62,8 @@
|
|
|
64
62
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
65
63
|
SPDX-License-Identifier: Apache-2.0
|
|
66
64
|
*/
|
|
65
|
+
/* stylelint-disable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
66
|
+
/* stylelint-enable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
67
67
|
/*
|
|
68
68
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
69
69
|
SPDX-License-Identifier: Apache-2.0
|
|
@@ -90,7 +90,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
90
90
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
91
91
|
SPDX-License-Identifier: Apache-2.0
|
|
92
92
|
*/
|
|
93
|
-
.
|
|
93
|
+
.awsui_root_1i0s3_ndty3_93:not(#\9) {
|
|
94
94
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
95
95
|
border-collapse: separate;
|
|
96
96
|
border-spacing: 0;
|
|
@@ -129,23 +129,23 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
129
129
|
-moz-osx-font-smoothing: auto;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
.
|
|
132
|
+
.awsui_header_1i0s3_ndty3_106:not(#\9) {
|
|
133
133
|
margin-bottom: var(--space-scaled-m-pv0fmt, 16px);
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
.
|
|
136
|
+
.awsui_content_1i0s3_ndty3_110:not(#\9) {
|
|
137
137
|
/* used in test-utils */
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
.
|
|
140
|
+
.awsui_error_1i0s3_ndty3_114:not(#\9) {
|
|
141
141
|
/* used in test-utils */
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
.
|
|
144
|
+
.awsui_footer_1i0s3_ndty3_118:not(#\9) {
|
|
145
145
|
margin-top: var(--space-scaled-l-t03y3z, 20px);
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
.awsui_actions-
|
|
148
|
+
.awsui_actions-section_1i0s3_ndty3_122:not(#\9) {
|
|
149
149
|
display: flex;
|
|
150
150
|
flex-direction: row-reverse;
|
|
151
151
|
justify-content: space-between;
|
|
@@ -154,13 +154,13 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
154
154
|
margin-bottom: calc(-1 * var(--space-scaled-m-pv0fmt, 16px));
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
.awsui_secondary-
|
|
157
|
+
.awsui_secondary-actions_1i0s3_ndty3_131:not(#\9) {
|
|
158
158
|
min-width: 1px;
|
|
159
159
|
margin-left: var(--space-scaled-m-pv0fmt, 16px);
|
|
160
160
|
margin-bottom: var(--space-scaled-m-pv0fmt, 16px);
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
.
|
|
163
|
+
.awsui_actions_1i0s3_ndty3_122:not(#\9) {
|
|
164
164
|
min-width: 1px;
|
|
165
165
|
margin-left: var(--space-scaled-m-pv0fmt, 16px);
|
|
166
166
|
margin-bottom: var(--space-scaled-m-pv0fmt, 16px);
|
package/form/styles.selectors.js
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"root": "
|
|
6
|
-
"header": "
|
|
7
|
-
"content": "
|
|
8
|
-
"error": "
|
|
9
|
-
"footer": "
|
|
10
|
-
"actions-section": "awsui_actions-
|
|
11
|
-
"secondary-actions": "awsui_secondary-
|
|
12
|
-
"actions": "
|
|
5
|
+
"root": "awsui_root_1i0s3_ndty3_93",
|
|
6
|
+
"header": "awsui_header_1i0s3_ndty3_106",
|
|
7
|
+
"content": "awsui_content_1i0s3_ndty3_110",
|
|
8
|
+
"error": "awsui_error_1i0s3_ndty3_114",
|
|
9
|
+
"footer": "awsui_footer_1i0s3_ndty3_118",
|
|
10
|
+
"actions-section": "awsui_actions-section_1i0s3_ndty3_122",
|
|
11
|
+
"secondary-actions": "awsui_secondary-actions_1i0s3_ndty3_131",
|
|
12
|
+
"actions": "awsui_actions_1i0s3_ndty3_122"
|
|
13
13
|
};
|
|
14
14
|
|
package/form-field/styles.css.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"error-icon-shake-wrapper": "awsui_error-icon-shake-
|
|
5
|
-
"awsui-motion-shake-horizontally": "awsui_awsui-motion-shake-
|
|
6
|
-
"error-icon-scale-wrapper": "awsui_error-icon-scale-
|
|
7
|
-
"awsui-motion-scale-popup": "awsui_awsui-motion-scale-
|
|
8
|
-
"error": "
|
|
9
|
-
"awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-
|
|
10
|
-
"root": "
|
|
11
|
-
"label": "
|
|
12
|
-
"info": "
|
|
13
|
-
"description": "
|
|
14
|
-
"constraint": "
|
|
15
|
-
"hints": "
|
|
16
|
-
"constraint-has-error": "awsui_constraint-has-
|
|
17
|
-
"secondary-control": "awsui_secondary-
|
|
18
|
-
"controls": "
|
|
19
|
-
"label-hidden": "awsui_label-
|
|
20
|
-
"control": "
|
|
21
|
-
"error__message": "
|
|
22
|
-
"visually-hidden": "awsui_visually-
|
|
4
|
+
"error-icon-shake-wrapper": "awsui_error-icon-shake-wrapper_14mhv_veozk_97",
|
|
5
|
+
"awsui-motion-shake-horizontally": "awsui_awsui-motion-shake-horizontally_14mhv_veozk_1",
|
|
6
|
+
"error-icon-scale-wrapper": "awsui_error-icon-scale-wrapper_14mhv_veozk_124",
|
|
7
|
+
"awsui-motion-scale-popup": "awsui_awsui-motion-scale-popup_14mhv_veozk_1",
|
|
8
|
+
"error": "awsui_error_14mhv_veozk_97",
|
|
9
|
+
"awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_14mhv_veozk_1",
|
|
10
|
+
"root": "awsui_root_14mhv_veozk_168",
|
|
11
|
+
"label": "awsui_label_14mhv_veozk_182",
|
|
12
|
+
"info": "awsui_info_14mhv_veozk_195",
|
|
13
|
+
"description": "awsui_description_14mhv_veozk_200",
|
|
14
|
+
"constraint": "awsui_constraint_14mhv_veozk_201",
|
|
15
|
+
"hints": "awsui_hints_14mhv_veozk_208",
|
|
16
|
+
"constraint-has-error": "awsui_constraint-has-error_14mhv_veozk_209",
|
|
17
|
+
"secondary-control": "awsui_secondary-control_14mhv_veozk_213",
|
|
18
|
+
"controls": "awsui_controls_14mhv_veozk_217",
|
|
19
|
+
"label-hidden": "awsui_label-hidden_14mhv_veozk_217",
|
|
20
|
+
"control": "awsui_control_14mhv_veozk_217",
|
|
21
|
+
"error__message": "awsui_error__message_14mhv_veozk_236",
|
|
22
|
+
"visually-hidden": "awsui_visually-hidden_14mhv_veozk_240"
|
|
23
23
|
};
|
|
24
24
|
|
|
@@ -50,8 +50,6 @@
|
|
|
50
50
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
51
51
|
SPDX-License-Identifier: Apache-2.0
|
|
52
52
|
*/
|
|
53
|
-
/* stylelint-disable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
54
|
-
/* stylelint-enable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
55
53
|
/*
|
|
56
54
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
57
55
|
SPDX-License-Identifier: Apache-2.0
|
|
@@ -64,6 +62,8 @@
|
|
|
64
62
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
65
63
|
SPDX-License-Identifier: Apache-2.0
|
|
66
64
|
*/
|
|
65
|
+
/* stylelint-disable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
66
|
+
/* stylelint-enable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
67
67
|
/*
|
|
68
68
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
69
69
|
SPDX-License-Identifier: Apache-2.0
|
|
@@ -94,10 +94,10 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
94
94
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
95
95
|
SPDX-License-Identifier: Apache-2.0
|
|
96
96
|
*/
|
|
97
|
-
.awsui_error-icon-shake-
|
|
98
|
-
animation: awsui_awsui-motion-shake-
|
|
97
|
+
.awsui_error-icon-shake-wrapper_14mhv_veozk_97:not(#\9) {
|
|
98
|
+
animation: awsui_awsui-motion-shake-horizontally_14mhv_veozk_1 var(--motion-duration-refresh-only-medium-5flen2, 165ms);
|
|
99
99
|
}
|
|
100
|
-
@keyframes awsui_awsui-motion-shake-
|
|
100
|
+
@keyframes awsui_awsui-motion-shake-horizontally_14mhv_veozk_1 {
|
|
101
101
|
0% {
|
|
102
102
|
transform: translateX(-5px);
|
|
103
103
|
animation-timing-function: linear;
|
|
@@ -111,20 +111,20 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
@media (prefers-reduced-motion: reduce) {
|
|
114
|
-
.awsui_error-icon-shake-
|
|
114
|
+
.awsui_error-icon-shake-wrapper_14mhv_veozk_97:not(#\9) {
|
|
115
115
|
animation: none;
|
|
116
116
|
transition: none;
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
|
-
.awsui-motion-disabled .awsui_error-icon-shake-
|
|
119
|
+
.awsui-motion-disabled .awsui_error-icon-shake-wrapper_14mhv_veozk_97:not(#\9), .awsui-mode-entering .awsui_error-icon-shake-wrapper_14mhv_veozk_97:not(#\9) {
|
|
120
120
|
animation: none;
|
|
121
121
|
transition: none;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
.awsui_error-icon-scale-
|
|
125
|
-
animation: awsui_awsui-motion-scale-
|
|
124
|
+
.awsui_error-icon-scale-wrapper_14mhv_veozk_124:not(#\9) {
|
|
125
|
+
animation: awsui_awsui-motion-scale-popup_14mhv_veozk_1 var(--motion-duration-refresh-only-medium-5flen2, 165ms) var(--motion-easing-refresh-only-a-sy0g8m, cubic-bezier(0, 0, 0, 1));
|
|
126
126
|
}
|
|
127
|
-
@keyframes awsui_awsui-motion-scale-
|
|
127
|
+
@keyframes awsui_awsui-motion-scale-popup_14mhv_veozk_1 {
|
|
128
128
|
0% {
|
|
129
129
|
transform: scale(0.95);
|
|
130
130
|
}
|
|
@@ -133,20 +133,20 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
@media (prefers-reduced-motion: reduce) {
|
|
136
|
-
.awsui_error-icon-scale-
|
|
136
|
+
.awsui_error-icon-scale-wrapper_14mhv_veozk_124:not(#\9) {
|
|
137
137
|
animation: none;
|
|
138
138
|
transition: none;
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
|
-
.awsui-motion-disabled .awsui_error-icon-scale-
|
|
141
|
+
.awsui-motion-disabled .awsui_error-icon-scale-wrapper_14mhv_veozk_124:not(#\9), .awsui-mode-entering .awsui_error-icon-scale-wrapper_14mhv_veozk_124:not(#\9) {
|
|
142
142
|
animation: none;
|
|
143
143
|
transition: none;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
.
|
|
147
|
-
animation: awsui_awsui-motion-fade-in-
|
|
146
|
+
.awsui_error_14mhv_veozk_97:not(#\9) {
|
|
147
|
+
animation: awsui_awsui-motion-fade-in-0_14mhv_veozk_1 var(--motion-duration-refresh-only-medium-5flen2, 165ms) var(--motion-easing-refresh-only-a-sy0g8m, cubic-bezier(0, 0, 0, 1));
|
|
148
148
|
}
|
|
149
|
-
@keyframes awsui_awsui-motion-fade-in-
|
|
149
|
+
@keyframes awsui_awsui-motion-fade-in-0_14mhv_veozk_1 {
|
|
150
150
|
from {
|
|
151
151
|
opacity: 0;
|
|
152
152
|
}
|
|
@@ -155,17 +155,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
157
|
@media (prefers-reduced-motion: reduce) {
|
|
158
|
-
.
|
|
158
|
+
.awsui_error_14mhv_veozk_97:not(#\9) {
|
|
159
159
|
animation: none;
|
|
160
160
|
transition: none;
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
|
-
.awsui-motion-disabled .
|
|
163
|
+
.awsui-motion-disabled .awsui_error_14mhv_veozk_97:not(#\9), .awsui-mode-entering .awsui_error_14mhv_veozk_97:not(#\9) {
|
|
164
164
|
animation: none;
|
|
165
165
|
transition: none;
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
-
.
|
|
168
|
+
.awsui_root_14mhv_veozk_168:not(#\9) {
|
|
169
169
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
170
170
|
border-collapse: separate;
|
|
171
171
|
border-spacing: 0;
|
|
@@ -205,7 +205,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
205
205
|
box-sizing: border-box;
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
.
|
|
208
|
+
.awsui_label_14mhv_veozk_182:not(#\9) {
|
|
209
209
|
box-sizing: border-box;
|
|
210
210
|
color: var(--color-text-form-label-k3j0b4, #000716);
|
|
211
211
|
display: inline;
|
|
@@ -214,43 +214,43 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
214
214
|
font-weight: var(--font-display-label-weight-m18hjh, 700);
|
|
215
215
|
margin-right: var(--space-xs-rsr2qu, 8px);
|
|
216
216
|
}
|
|
217
|
-
.
|
|
217
|
+
.awsui_label_14mhv_veozk_182:not(#\9):only-child {
|
|
218
218
|
margin: 0;
|
|
219
219
|
}
|
|
220
220
|
|
|
221
|
-
.
|
|
221
|
+
.awsui_info_14mhv_veozk_195:not(#\9) {
|
|
222
222
|
padding-left: var(--space-xs-rsr2qu, 8px);
|
|
223
223
|
border-left: var(--border-divider-section-width-4wm2it, 2px) solid var(--color-border-divider-default-7s2wjw, #e9ebed);
|
|
224
224
|
}
|
|
225
225
|
|
|
226
|
-
.
|
|
227
|
-
.
|
|
226
|
+
.awsui_description_14mhv_veozk_200:not(#\9),
|
|
227
|
+
.awsui_constraint_14mhv_veozk_201:not(#\9) {
|
|
228
228
|
color: var(--color-text-form-secondary-ih9x7l, #5f6b7a);
|
|
229
229
|
font-size: var(--font-body-s-size-ukw2p9, 12px);
|
|
230
230
|
line-height: var(--font-body-s-line-height-kdsbrl, 16px);
|
|
231
231
|
letter-spacing: var(--font-body-s-letter-spacing-cy0oxj, 0.005em);
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
-
.
|
|
235
|
-
.awsui_constraint-has-
|
|
234
|
+
.awsui_hints_14mhv_veozk_208:not(#\9),
|
|
235
|
+
.awsui_constraint-has-error_14mhv_veozk_209:not(#\9) {
|
|
236
236
|
padding-top: var(--space-xxs-ynfts5, 4px);
|
|
237
237
|
}
|
|
238
238
|
|
|
239
|
-
.awsui_secondary-
|
|
239
|
+
.awsui_secondary-control_14mhv_veozk_213:not(#\9) {
|
|
240
240
|
/* used in test-utils */
|
|
241
241
|
}
|
|
242
242
|
|
|
243
|
-
.
|
|
243
|
+
.awsui_controls_14mhv_veozk_217:not(#\9):not(.awsui_label-hidden_14mhv_veozk_217) {
|
|
244
244
|
padding-top: var(--space-xxs-ynfts5, 4px);
|
|
245
245
|
}
|
|
246
246
|
|
|
247
|
-
.
|
|
247
|
+
.awsui_control_14mhv_veozk_217:not(#\9) {
|
|
248
248
|
min-width: 0;
|
|
249
249
|
-ms-word-break: break-all;
|
|
250
250
|
word-break: break-word;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
.
|
|
253
|
+
.awsui_error_14mhv_veozk_97:not(#\9) {
|
|
254
254
|
color: var(--color-text-status-error-5sesl6, #d91515);
|
|
255
255
|
font-size: var(--font-body-s-size-ukw2p9, 12px);
|
|
256
256
|
line-height: var(--font-body-s-line-height-kdsbrl, 16px);
|
|
@@ -259,11 +259,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
259
259
|
align-items: flex-start;
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
.
|
|
262
|
+
.awsui_error__message_14mhv_veozk_236:not(#\9) {
|
|
263
263
|
margin-left: var(--space-xxs-ynfts5, 4px);
|
|
264
264
|
}
|
|
265
265
|
|
|
266
|
-
.awsui_visually-
|
|
266
|
+
.awsui_visually-hidden_14mhv_veozk_240:not(#\9) {
|
|
267
267
|
position: absolute !important;
|
|
268
268
|
top: -9999px !important;
|
|
269
269
|
left: -9999px !important;
|
|
@@ -2,24 +2,24 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"error-icon-shake-wrapper": "awsui_error-icon-shake-
|
|
6
|
-
"awsui-motion-shake-horizontally": "awsui_awsui-motion-shake-
|
|
7
|
-
"error-icon-scale-wrapper": "awsui_error-icon-scale-
|
|
8
|
-
"awsui-motion-scale-popup": "awsui_awsui-motion-scale-
|
|
9
|
-
"error": "
|
|
10
|
-
"awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-
|
|
11
|
-
"root": "
|
|
12
|
-
"label": "
|
|
13
|
-
"info": "
|
|
14
|
-
"description": "
|
|
15
|
-
"constraint": "
|
|
16
|
-
"hints": "
|
|
17
|
-
"constraint-has-error": "awsui_constraint-has-
|
|
18
|
-
"secondary-control": "awsui_secondary-
|
|
19
|
-
"controls": "
|
|
20
|
-
"label-hidden": "awsui_label-
|
|
21
|
-
"control": "
|
|
22
|
-
"error__message": "
|
|
23
|
-
"visually-hidden": "awsui_visually-
|
|
5
|
+
"error-icon-shake-wrapper": "awsui_error-icon-shake-wrapper_14mhv_veozk_97",
|
|
6
|
+
"awsui-motion-shake-horizontally": "awsui_awsui-motion-shake-horizontally_14mhv_veozk_1",
|
|
7
|
+
"error-icon-scale-wrapper": "awsui_error-icon-scale-wrapper_14mhv_veozk_124",
|
|
8
|
+
"awsui-motion-scale-popup": "awsui_awsui-motion-scale-popup_14mhv_veozk_1",
|
|
9
|
+
"error": "awsui_error_14mhv_veozk_97",
|
|
10
|
+
"awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_14mhv_veozk_1",
|
|
11
|
+
"root": "awsui_root_14mhv_veozk_168",
|
|
12
|
+
"label": "awsui_label_14mhv_veozk_182",
|
|
13
|
+
"info": "awsui_info_14mhv_veozk_195",
|
|
14
|
+
"description": "awsui_description_14mhv_veozk_200",
|
|
15
|
+
"constraint": "awsui_constraint_14mhv_veozk_201",
|
|
16
|
+
"hints": "awsui_hints_14mhv_veozk_208",
|
|
17
|
+
"constraint-has-error": "awsui_constraint-has-error_14mhv_veozk_209",
|
|
18
|
+
"secondary-control": "awsui_secondary-control_14mhv_veozk_213",
|
|
19
|
+
"controls": "awsui_controls_14mhv_veozk_217",
|
|
20
|
+
"label-hidden": "awsui_label-hidden_14mhv_veozk_217",
|
|
21
|
+
"control": "awsui_control_14mhv_veozk_217",
|
|
22
|
+
"error__message": "awsui_error__message_14mhv_veozk_236",
|
|
23
|
+
"visually-hidden": "awsui_visually-hidden_14mhv_veozk_240"
|
|
24
24
|
};
|
|
25
25
|
|