@cloudscape-design/components 3.0.175 → 3.0.177
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 +35 -31
- package/alert/styles.selectors.js +19 -19
- package/annotation-context/annotation/styles.css.js +24 -24
- package/annotation-context/annotation/styles.scoped.css +31 -29
- package/annotation-context/annotation/styles.selectors.js +24 -24
- package/area-chart/styles.css.js +13 -13
- package/area-chart/styles.scoped.css +18 -16
- package/area-chart/styles.selectors.js +13 -13
- package/attribute-editor/styles.css.js +14 -14
- package/attribute-editor/styles.scoped.css +26 -24
- package/attribute-editor/styles.selectors.js +14 -14
- package/autosuggest/internal.d.ts.map +1 -1
- package/autosuggest/internal.js +2 -2
- package/autosuggest/internal.js.map +1 -1
- package/badge/styles.css.js +5 -5
- package/badge/styles.scoped.css +7 -5
- package/badge/styles.selectors.js +5 -5
- package/box/styles.css.js +189 -189
- package/box/styles.scoped.css +236 -234
- package/box/styles.selectors.js +189 -189
- package/breadcrumb-group/styles.css.js +6 -6
- package/breadcrumb-group/styles.scoped.css +15 -11
- package/breadcrumb-group/styles.selectors.js +6 -6
- package/button/styles.css.js +18 -18
- package/button/styles.scoped.css +138 -136
- package/button/styles.selectors.js +18 -18
- package/button-dropdown/mobile-expandable-group/styles.css.js +5 -5
- package/button-dropdown/mobile-expandable-group/styles.scoped.css +7 -5
- package/button-dropdown/mobile-expandable-group/styles.selectors.js +5 -5
- package/calendar/styles.css.js +18 -18
- package/calendar/styles.scoped.css +40 -38
- package/calendar/styles.selectors.js +18 -18
- package/cards/styles.css.js +37 -37
- package/cards/styles.scoped.css +48 -44
- package/cards/styles.selectors.js +37 -37
- package/checkbox/styles.css.js +3 -3
- package/checkbox/styles.scoped.css +7 -5
- package/checkbox/styles.selectors.js +3 -3
- package/code-editor/styles.css.js +32 -32
- package/code-editor/styles.scoped.css +111 -109
- package/code-editor/styles.selectors.js +32 -32
- package/column-layout/styles.css.js +13 -13
- package/column-layout/styles.scoped.css +45 -43
- package/column-layout/styles.selectors.js +13 -13
- package/container/index.d.ts.map +1 -1
- package/container/index.js +1 -1
- package/container/index.js.map +1 -1
- package/container/styles.css.js +17 -17
- package/container/styles.scoped.css +29 -27
- package/container/styles.selectors.js +17 -17
- package/date-picker/styles.css.js +7 -7
- package/date-picker/styles.scoped.css +11 -9
- package/date-picker/styles.selectors.js +7 -7
- package/date-range-picker/styles.css.js +38 -38
- package/date-range-picker/styles.scoped.css +47 -45
- package/date-range-picker/styles.selectors.js +38 -38
- package/expandable-section/styles.css.js +21 -21
- package/expandable-section/styles.scoped.css +44 -42
- package/expandable-section/styles.selectors.js +21 -21
- package/flashbar/styles.css.js +33 -33
- package/flashbar/styles.scoped.css +117 -115
- package/flashbar/styles.selectors.js +33 -33
- package/form/styles.css.js +8 -8
- package/form/styles.scoped.css +10 -8
- package/form/styles.selectors.js +8 -8
- package/form-field/styles.css.js +19 -19
- package/form-field/styles.scoped.css +31 -29
- package/form-field/styles.selectors.js +19 -19
- package/grid/styles.css.js +53 -53
- package/grid/styles.scoped.css +56 -54
- package/grid/styles.selectors.js +53 -53
- package/header/styles.css.js +44 -44
- package/header/styles.scoped.css +49 -47
- package/header/styles.selectors.js +44 -44
- package/help-panel/styles.css.js +4 -4
- package/help-panel/styles.scoped.css +60 -58
- package/help-panel/styles.selectors.js +4 -4
- package/icon/icons.js +1 -1
- package/input/index.d.ts.map +1 -1
- package/input/index.js +2 -2
- package/input/index.js.map +1 -1
- package/input/interfaces.d.ts +4 -0
- package/input/interfaces.d.ts.map +1 -1
- package/input/interfaces.js.map +1 -1
- package/input/internal.d.ts +0 -1
- package/input/internal.d.ts.map +1 -1
- package/input/internal.js +16 -14
- package/input/internal.js.map +1 -1
- package/input/styles.css.js +12 -13
- package/input/styles.scoped.css +35 -41
- package/input/styles.selectors.js +12 -13
- package/internal/components/autosuggest-input/index.d.ts +1 -0
- package/internal/components/autosuggest-input/index.d.ts.map +1 -1
- package/internal/components/autosuggest-input/index.js +2 -2
- package/internal/components/autosuggest-input/index.js.map +1 -1
- package/internal/components/button-trigger/styles.css.js +9 -9
- package/internal/components/button-trigger/styles.scoped.css +25 -23
- 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 -3
- 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 -15
- package/internal/components/chart-legend/styles.selectors.js +6 -6
- package/internal/components/chart-popover/styles.css.js +3 -3
- package/internal/components/chart-popover/styles.scoped.css +5 -3
- 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 +12 -8
- 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 -7
- package/internal/components/chart-series-marker/styles.selectors.js +5 -5
- package/internal/components/dropdown/styles.css.js +20 -20
- package/internal/components/dropdown/styles.scoped.css +37 -35
- 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 -3
- 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 -2
- package/internal/components/dropdown-status/styles.selectors.js +2 -2
- package/internal/components/focus-lock/index.d.ts +2 -1
- package/internal/components/focus-lock/index.d.ts.map +1 -1
- package/internal/components/focus-lock/index.js +28 -5
- package/internal/components/focus-lock/index.js.map +1 -1
- package/internal/components/menu-dropdown/styles.css.js +7 -7
- package/internal/components/menu-dropdown/styles.scoped.css +15 -13
- package/internal/components/menu-dropdown/styles.selectors.js +7 -7
- package/internal/components/option/styles.css.js +15 -15
- package/internal/components/option/styles.scoped.css +27 -25
- package/internal/components/option/styles.selectors.js +15 -15
- package/internal/components/options-list/styles.css.js +2 -2
- package/internal/components/options-list/styles.scoped.css +4 -2
- package/internal/components/options-list/styles.selectors.js +2 -2
- package/internal/components/selectable-item/styles.css.js +16 -16
- package/internal/components/selectable-item/styles.scoped.css +29 -27
- package/internal/components/selectable-item/styles.selectors.js +16 -16
- package/internal/components/tab-trap/index.d.ts +7 -4
- package/internal/components/tab-trap/index.d.ts.map +1 -1
- package/internal/components/tab-trap/index.js +5 -3
- package/internal/components/tab-trap/index.js.map +1 -1
- package/internal/environment.js +1 -1
- package/internal/hooks/use-merge-refs/index.d.ts +1 -1
- package/internal/hooks/use-merge-refs/index.d.ts.map +1 -1
- package/internal/hooks/use-merge-refs/index.js.map +1 -1
- package/internal/manifest.json +1 -1
- package/link/styles.css.js +20 -20
- package/link/styles.scoped.css +73 -71
- 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 -26
- package/mixed-line-bar-chart/styles.selectors.js +19 -19
- package/modal/internal.d.ts.map +1 -1
- package/modal/internal.js +2 -9
- package/modal/internal.js.map +1 -1
- package/modal/styles.css.js +22 -22
- package/modal/styles.scoped.css +42 -38
- package/modal/styles.selectors.js +22 -22
- package/multiselect/internal.d.ts.map +1 -1
- package/multiselect/internal.js +2 -2
- package/multiselect/internal.js.map +1 -1
- package/multiselect/styles.css.js +1 -1
- package/multiselect/styles.scoped.css +3 -1
- 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 -23
- package/pagination/styles.selectors.js +9 -9
- package/pie-chart/styles.css.js +27 -27
- package/pie-chart/styles.scoped.css +45 -43
- package/pie-chart/styles.selectors.js +27 -27
- package/popover/styles.css.js +50 -50
- package/popover/styles.scoped.css +69 -63
- package/popover/styles.selectors.js +50 -50
- package/progress-bar/styles.css.js +18 -18
- package/progress-bar/styles.scoped.css +34 -32
- package/progress-bar/styles.selectors.js +18 -18
- package/property-filter/interfaces.d.ts +1 -0
- package/property-filter/interfaces.d.ts.map +1 -1
- package/property-filter/interfaces.js.map +1 -1
- package/property-filter/styles.css.js +33 -33
- package/property-filter/styles.scoped.css +37 -35
- package/property-filter/styles.selectors.js +33 -33
- package/property-filter/token-editor.d.ts.map +1 -1
- package/property-filter/token-editor.js +1 -1
- package/property-filter/token-editor.js.map +1 -1
- package/radio-group/styles.css.js +9 -9
- package/radio-group/styles.scoped.css +17 -15
- package/radio-group/styles.selectors.js +9 -9
- package/s3-resource-selector/interfaces.d.ts +1 -0
- package/s3-resource-selector/interfaces.d.ts.map +1 -1
- package/s3-resource-selector/interfaces.js.map +1 -1
- package/s3-resource-selector/s3-in-context/index.d.ts.map +1 -1
- package/s3-resource-selector/s3-in-context/index.js +1 -1
- package/s3-resource-selector/s3-in-context/index.js.map +1 -1
- package/segmented-control/styles.css.js +14 -14
- package/segmented-control/styles.scoped.css +35 -33
- package/segmented-control/styles.selectors.js +14 -14
- package/select/interfaces.d.ts +4 -0
- package/select/interfaces.d.ts.map +1 -1
- package/select/interfaces.js.map +1 -1
- package/select/internal.d.ts.map +1 -1
- package/select/internal.js +2 -2
- package/select/internal.js.map +1 -1
- package/select/parts/filter.d.ts +1 -1
- package/select/parts/filter.d.ts.map +1 -1
- package/select/styles.css.js +1 -1
- package/select/styles.scoped.css +3 -1
- package/select/styles.selectors.js +1 -1
- package/side-navigation/internal.js +1 -1
- package/side-navigation/internal.js.map +1 -1
- package/side-navigation/styles.css.js +22 -22
- package/side-navigation/styles.scoped.css +37 -32
- package/side-navigation/styles.selectors.js +22 -22
- package/split-panel/styles.css.js +59 -59
- package/split-panel/styles.scoped.css +83 -81
- package/split-panel/styles.selectors.js +59 -59
- package/status-indicator/styles.css.js +20 -20
- package/status-indicator/styles.scoped.css +28 -26
- package/status-indicator/styles.selectors.js +20 -20
- package/table/styles.css.js +33 -33
- package/table/styles.scoped.css +41 -39
- package/table/styles.selectors.js +33 -33
- package/tabs/styles.css.js +21 -21
- package/tabs/styles.scoped.css +40 -38
- package/tabs/styles.selectors.js +21 -21
- package/tag-editor/index.d.ts.map +1 -1
- package/tag-editor/index.js +2 -2
- package/tag-editor/index.js.map +1 -1
- 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/internal.d.ts +1 -0
- package/tag-editor/internal.d.ts.map +1 -1
- package/tag-editor/internal.js +2 -2
- package/tag-editor/internal.js.map +1 -1
- package/test-utils/dom/input/index.js +1 -1
- package/test-utils/dom/input/index.js.map +1 -1
- package/test-utils/selectors/input/index.js +1 -1
- package/test-utils/selectors/input/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 -60
- package/text-content/styles.selectors.js +1 -1
- package/text-filter/interfaces.d.ts +4 -0
- package/text-filter/interfaces.d.ts.map +1 -1
- package/text-filter/interfaces.js.map +1 -1
- package/text-filter/internal.d.ts.map +1 -1
- package/text-filter/internal.js +3 -3
- package/text-filter/internal.js.map +1 -1
- package/text-filter/styles.css.js +4 -4
- package/text-filter/styles.scoped.css +6 -4
- package/text-filter/styles.selectors.js +4 -4
- package/textarea/styles.css.js +4 -4
- package/textarea/styles.scoped.css +14 -12
- package/textarea/styles.selectors.js +4 -4
- package/tiles/styles.css.js +28 -28
- package/tiles/styles.scoped.css +72 -68
- package/tiles/styles.selectors.js +28 -28
- package/toggle/styles.css.js +8 -8
- package/toggle/styles.scoped.css +15 -13
- package/toggle/styles.selectors.js +8 -8
- package/token-group/styles.css.js +7 -7
- package/token-group/styles.scoped.css +26 -22
- 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 -42
- 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 +72 -66
- 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 -21
- package/tutorial-panel/components/tutorial-detail-view/styles.selectors.js +20 -20
- package/tutorial-panel/components/tutorial-list/styles.css.js +18 -18
- package/tutorial-panel/components/tutorial-list/styles.scoped.css +33 -27
- 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 -1
- package/tutorial-panel/styles.selectors.js +1 -1
- package/wizard/styles.css.js +32 -32
- package/wizard/styles.scoped.css +62 -60
- package/wizard/styles.selectors.js +32 -32
|
@@ -90,26 +90,26 @@ 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
|
-
.
|
|
94
|
-
.awsui_series--
|
|
93
|
+
.awsui_series_1yz9c_15iny_93:not(#\9),
|
|
94
|
+
.awsui_series--bar_1yz9c_15iny_94 > .awsui_series__rect_1yz9c_15iny_94:not(#\9) {
|
|
95
95
|
transition: opacity var(--motion-duration-transition-quick-x85tae, 90ms) var(--motion-easing-transition-quick-lukbd8, linear);
|
|
96
96
|
}
|
|
97
97
|
@media (prefers-reduced-motion: reduce) {
|
|
98
|
-
.
|
|
99
|
-
.awsui_series--
|
|
98
|
+
.awsui_series_1yz9c_15iny_93:not(#\9),
|
|
99
|
+
.awsui_series--bar_1yz9c_15iny_94 > .awsui_series__rect_1yz9c_15iny_94:not(#\9) {
|
|
100
100
|
animation: none;
|
|
101
101
|
transition: none;
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
.awsui-motion-disabled .
|
|
104
|
+
.awsui-motion-disabled .awsui_series_1yz9c_15iny_93:not(#\9), .awsui-mode-entering .awsui_series_1yz9c_15iny_93:not(#\9), .awsui-motion-disabled .awsui_series--bar_1yz9c_15iny_94 > .awsui_series__rect_1yz9c_15iny_94:not(#\9), .awsui-mode-entering .awsui_series--bar_1yz9c_15iny_94 > .awsui_series__rect_1yz9c_15iny_94:not(#\9) {
|
|
105
105
|
animation: none;
|
|
106
106
|
transition: none;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
.
|
|
110
|
-
animation: awsui_awsui-motion-fade-out-
|
|
109
|
+
.awsui_exiting_1yz9c_15iny_111:not(#\9) {
|
|
110
|
+
animation: awsui_awsui-motion-fade-out-0_1yz9c_15iny_1 var(--motion-duration-refresh-only-fast-addxjd, 115ms) var(--motion-easing-refresh-only-b-nspng9, cubic-bezier(1, 0, 0.83, 1));
|
|
111
111
|
}
|
|
112
|
-
@keyframes awsui_awsui-motion-fade-out-
|
|
112
|
+
@keyframes awsui_awsui-motion-fade-out-0_1yz9c_15iny_1 {
|
|
113
113
|
from {
|
|
114
114
|
opacity: 1;
|
|
115
115
|
}
|
|
@@ -118,12 +118,12 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
@media (prefers-reduced-motion: reduce) {
|
|
121
|
-
.
|
|
121
|
+
.awsui_exiting_1yz9c_15iny_111:not(#\9) {
|
|
122
122
|
animation: none;
|
|
123
123
|
transition: none;
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
.awsui-motion-disabled .
|
|
126
|
+
.awsui-motion-disabled .awsui_exiting_1yz9c_15iny_111:not(#\9), .awsui-mode-entering .awsui_exiting_1yz9c_15iny_111:not(#\9) {
|
|
127
127
|
animation: none;
|
|
128
128
|
transition: none;
|
|
129
129
|
}
|
|
@@ -132,7 +132,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
132
132
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
133
133
|
SPDX-License-Identifier: Apache-2.0
|
|
134
134
|
*/
|
|
135
|
-
.
|
|
135
|
+
.awsui_root_1yz9c_15iny_137:not(#\9) {
|
|
136
136
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
137
137
|
border-collapse: separate;
|
|
138
138
|
border-spacing: 0;
|
|
@@ -167,50 +167,52 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
167
167
|
color: var(--color-text-body-default-ajf1h5, #000716);
|
|
168
168
|
font-weight: 400;
|
|
169
169
|
font-family: var(--font-family-base-qnistn, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
170
|
+
-webkit-font-smoothing: auto;
|
|
171
|
+
-moz-osx-font-smoothing: auto;
|
|
170
172
|
position: relative;
|
|
171
173
|
display: block;
|
|
172
174
|
}
|
|
173
175
|
|
|
174
|
-
.awsui_filter-
|
|
176
|
+
.awsui_filter-container_1yz9c_15iny_152:not(#\9) {
|
|
175
177
|
/* used in test-utils */
|
|
176
178
|
}
|
|
177
179
|
|
|
178
|
-
.awsui_has-default-
|
|
180
|
+
.awsui_has-default-filter_1yz9c_15iny_156 > :not(#\9):first-child {
|
|
179
181
|
flex: 280px 0 1;
|
|
180
182
|
}
|
|
181
183
|
|
|
182
|
-
.awsui_chart-
|
|
184
|
+
.awsui_chart-container_1yz9c_15iny_160:not(#\9) {
|
|
183
185
|
display: flex;
|
|
184
186
|
width: 100%;
|
|
185
187
|
flex-direction: column;
|
|
186
188
|
}
|
|
187
189
|
|
|
188
|
-
.awsui_chart-
|
|
190
|
+
.awsui_chart-container__vertical_1yz9c_15iny_166:not(#\9) {
|
|
189
191
|
display: flex;
|
|
190
192
|
flex-direction: column;
|
|
191
193
|
width: 100%;
|
|
192
194
|
}
|
|
193
195
|
|
|
194
|
-
.awsui_chart-
|
|
196
|
+
.awsui_chart-container__horizontal_1yz9c_15iny_172:not(#\9) {
|
|
195
197
|
display: flex;
|
|
196
198
|
}
|
|
197
199
|
|
|
198
|
-
.
|
|
200
|
+
.awsui_content_1yz9c_15iny_176:not(#\9) {
|
|
199
201
|
display: flex;
|
|
200
202
|
position: relative;
|
|
201
203
|
justify-content: center;
|
|
202
204
|
align-items: center;
|
|
203
205
|
}
|
|
204
206
|
|
|
205
|
-
.awsui_content--reserve-
|
|
207
|
+
.awsui_content--reserve-filter_1yz9c_15iny_183:not(#\9) {
|
|
206
208
|
margin-top: calc(2 * var(--font-body-m-line-height-i7xxvv, 22px));
|
|
207
209
|
}
|
|
208
210
|
|
|
209
|
-
.awsui_content--reserve-
|
|
211
|
+
.awsui_content--reserve-legend_1yz9c_15iny_187:not(#\9) {
|
|
210
212
|
margin-bottom: calc(2 * var(--font-body-m-line-height-i7xxvv, 22px));
|
|
211
213
|
}
|
|
212
214
|
|
|
213
|
-
.
|
|
215
|
+
.awsui_series_1yz9c_15iny_93:not(#\9) {
|
|
214
216
|
display: block;
|
|
215
217
|
stroke-width: var(--border-line-chart-width-nj0hc5, 2px);
|
|
216
218
|
fill: none;
|
|
@@ -219,25 +221,25 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
219
221
|
pointer-events: none;
|
|
220
222
|
}
|
|
221
223
|
|
|
222
|
-
.awsui_series--
|
|
223
|
-
.awsui_series__bar--
|
|
224
|
+
.awsui_series--highlighted_1yz9c_15iny_200:not(#\9),
|
|
225
|
+
.awsui_series__bar--highlighted_1yz9c_15iny_201:not(#\9) {
|
|
224
226
|
/* used in dom query */
|
|
225
227
|
}
|
|
226
228
|
|
|
227
|
-
.awsui_series--
|
|
229
|
+
.awsui_series--dimmed_1yz9c_15iny_205:not(#\9) {
|
|
228
230
|
opacity: 0.3;
|
|
229
231
|
}
|
|
230
232
|
|
|
231
|
-
.awsui_series--
|
|
233
|
+
.awsui_series--bar_1yz9c_15iny_94 > .awsui_series__rect_1yz9c_15iny_94:not(#\9) {
|
|
232
234
|
stroke: var(--color-background-container-content-i8i4a0, #ffffff);
|
|
233
235
|
stroke-width: 2px;
|
|
234
236
|
}
|
|
235
237
|
|
|
236
|
-
.awsui_series--
|
|
238
|
+
.awsui_series--threshold_1yz9c_15iny_214:not(#\9) {
|
|
237
239
|
stroke-dasharray: var(--border-line-chart-dash-array-4wa4ab, 3 5);
|
|
238
240
|
stroke-width: var(--border-line-chart-width-nj0hc5, 2px);
|
|
239
241
|
}
|
|
240
242
|
|
|
241
|
-
.awsui_bar-
|
|
243
|
+
.awsui_bar-group_1yz9c_15iny_219:not(#\9) {
|
|
242
244
|
/* used in dom query */
|
|
243
245
|
}
|
|
@@ -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
|
-
"series": "
|
|
6
|
-
"series--bar": "awsui_series--
|
|
7
|
-
"series__rect": "
|
|
8
|
-
"exiting": "
|
|
9
|
-
"awsui-motion-fade-out-0": "awsui_awsui-motion-fade-out-
|
|
10
|
-
"root": "
|
|
11
|
-
"filter-container": "awsui_filter-
|
|
12
|
-
"has-default-filter": "awsui_has-default-
|
|
13
|
-
"chart-container": "awsui_chart-
|
|
14
|
-
"chart-container__vertical": "awsui_chart-
|
|
15
|
-
"chart-container__horizontal": "awsui_chart-
|
|
16
|
-
"content": "
|
|
17
|
-
"content--reserve-filter": "awsui_content--reserve-
|
|
18
|
-
"content--reserve-legend": "awsui_content--reserve-
|
|
19
|
-
"series--highlighted": "awsui_series--
|
|
20
|
-
"series__bar--highlighted": "awsui_series__bar--
|
|
21
|
-
"series--dimmed": "awsui_series--
|
|
22
|
-
"series--threshold": "awsui_series--
|
|
23
|
-
"bar-group": "awsui_bar-
|
|
5
|
+
"series": "awsui_series_1yz9c_15iny_93",
|
|
6
|
+
"series--bar": "awsui_series--bar_1yz9c_15iny_94",
|
|
7
|
+
"series__rect": "awsui_series__rect_1yz9c_15iny_94",
|
|
8
|
+
"exiting": "awsui_exiting_1yz9c_15iny_111",
|
|
9
|
+
"awsui-motion-fade-out-0": "awsui_awsui-motion-fade-out-0_1yz9c_15iny_1",
|
|
10
|
+
"root": "awsui_root_1yz9c_15iny_137",
|
|
11
|
+
"filter-container": "awsui_filter-container_1yz9c_15iny_152",
|
|
12
|
+
"has-default-filter": "awsui_has-default-filter_1yz9c_15iny_156",
|
|
13
|
+
"chart-container": "awsui_chart-container_1yz9c_15iny_160",
|
|
14
|
+
"chart-container__vertical": "awsui_chart-container__vertical_1yz9c_15iny_166",
|
|
15
|
+
"chart-container__horizontal": "awsui_chart-container__horizontal_1yz9c_15iny_172",
|
|
16
|
+
"content": "awsui_content_1yz9c_15iny_176",
|
|
17
|
+
"content--reserve-filter": "awsui_content--reserve-filter_1yz9c_15iny_183",
|
|
18
|
+
"content--reserve-legend": "awsui_content--reserve-legend_1yz9c_15iny_187",
|
|
19
|
+
"series--highlighted": "awsui_series--highlighted_1yz9c_15iny_200",
|
|
20
|
+
"series__bar--highlighted": "awsui_series__bar--highlighted_1yz9c_15iny_201",
|
|
21
|
+
"series--dimmed": "awsui_series--dimmed_1yz9c_15iny_205",
|
|
22
|
+
"series--threshold": "awsui_series--threshold_1yz9c_15iny_214",
|
|
23
|
+
"bar-group": "awsui_bar-group_1yz9c_15iny_219"
|
|
24
24
|
};
|
|
25
25
|
|
package/modal/internal.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/modal/internal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/modal/internal.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAWlF,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGjD,KAAK,kBAAkB,GAAG,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,gBAAgB,CAAC,GAAG,0BAA0B,CAAC;AAE3G,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACpC,IAAI,EACJ,OAAO,EACP,cAAc,EACd,MAAM,EACN,QAAQ,EACR,MAAM,EACN,sBAAsB,EACtB,SAAS,EACT,SAAS,EACT,iBAAwB,EACxB,GAAG,IAAI,EACR,EAAE,kBAAkB,eA8GpB"}
|
package/modal/internal.js
CHANGED
|
@@ -2,7 +2,6 @@ import { __assign, __rest } from "tslib";
|
|
|
2
2
|
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
3
|
// SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
import React, { useEffect, useRef } from 'react';
|
|
5
|
-
import FocusLock from 'react-focus-lock';
|
|
6
5
|
import { useMergeRefs } from '../internal/hooks/use-merge-refs';
|
|
7
6
|
import clsx from 'clsx';
|
|
8
7
|
import { getBaseProps } from '../internal/base-component';
|
|
@@ -16,13 +15,12 @@ import { useContainerBreakpoints } from '../internal/hooks/container-queries';
|
|
|
16
15
|
import { useVisualRefresh } from '../internal/hooks/use-visual-mode';
|
|
17
16
|
import { disableBodyScrolling, enableBodyScrolling } from './body-scroll';
|
|
18
17
|
import styles from './styles.css.js';
|
|
19
|
-
import
|
|
18
|
+
import FocusLock from '../internal/components/focus-lock';
|
|
20
19
|
export default function InternalModal(_a) {
|
|
21
20
|
var _b, _c;
|
|
22
21
|
var size = _a.size, visible = _a.visible, closeAriaLabel = _a.closeAriaLabel, header = _a.header, children = _a.children, footer = _a.footer, disableContentPaddings = _a.disableContentPaddings, onDismiss = _a.onDismiss, modalRoot = _a.modalRoot, _d = _a.__internalRootRef, __internalRootRef = _d === void 0 ? null : _d, rest = __rest(_a, ["size", "visible", "closeAriaLabel", "header", "children", "footer", "disableContentPaddings", "onDismiss", "modalRoot", "__internalRootRef"]);
|
|
23
22
|
var instanceUniqueId = useUniqueId();
|
|
24
23
|
var headerId = "".concat(rest.id || instanceUniqueId, "-header");
|
|
25
|
-
var focusLockRef = useRef(null);
|
|
26
24
|
var lastMouseDownElementRef = useRef(null);
|
|
27
25
|
var _e = useContainerBreakpoints(['xs']), breakpoint = _e[0], breakpointsRef = _e[1];
|
|
28
26
|
var refObject = useRef(null);
|
|
@@ -50,11 +48,6 @@ export default function InternalModal(_a) {
|
|
|
50
48
|
refObject.current.scrollTop = 0;
|
|
51
49
|
}
|
|
52
50
|
}, [visible]);
|
|
53
|
-
// Imitate autoFocus=true when the modal opens but not when a focused element inside modal gets removed.
|
|
54
|
-
var onFocusActivation = function () {
|
|
55
|
-
var _a;
|
|
56
|
-
focusLockRef.current && ((_a = getFirstFocusable(focusLockRef.current)) === null || _a === void 0 ? void 0 : _a.focus());
|
|
57
|
-
};
|
|
58
51
|
var dismiss = function (reason) { return fireNonCancelableEvent(onDismiss, { reason: reason }); };
|
|
59
52
|
var onOverlayMouseDown = function (event) {
|
|
60
53
|
lastMouseDownElementRef.current = event.target;
|
|
@@ -74,7 +67,7 @@ export default function InternalModal(_a) {
|
|
|
74
67
|
};
|
|
75
68
|
return (React.createElement(Portal, { container: modalRoot },
|
|
76
69
|
React.createElement("div", __assign({}, baseProps, { className: clsx(styles.root, (_b = {}, _b[styles.hidden] = !visible, _b), baseProps.className, isRefresh && styles.refresh), role: "dialog", "aria-modal": true, "aria-labelledby": headerId, onMouseDown: onOverlayMouseDown, onClick: onOverlayClick, ref: mergedRef }),
|
|
77
|
-
React.createElement(FocusLock, { disabled: !visible, autoFocus:
|
|
70
|
+
React.createElement(FocusLock, { disabled: !visible, autoFocus: true, restoreFocus: true, className: styles['focus-lock'] },
|
|
78
71
|
React.createElement("div", { className: clsx(styles.dialog, styles[size], styles["breakpoint-".concat(breakpoint)], isRefresh && styles.refresh), onKeyDown: escKeyHandler, tabIndex: -1 },
|
|
79
72
|
React.createElement("div", { className: styles.container },
|
|
80
73
|
React.createElement("div", { className: styles.header },
|
package/modal/internal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/modal/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,
|
|
1
|
+
{"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/modal/internal.tsx"],"names":[],"mappings":"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","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useEffect, useRef } from 'react';\nimport { useMergeRefs } from '../internal/hooks/use-merge-refs';\nimport clsx from 'clsx';\n\nimport { getBaseProps } from '../internal/base-component';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { fireNonCancelableEvent } from '../internal/events';\nimport { KeyCode } from '../internal/keycode';\nimport { useUniqueId } from '../internal/hooks/use-unique-id';\nimport { InternalButton } from '../button/internal';\nimport InternalHeader from '../header/internal';\nimport Portal from '../internal/components/portal';\nimport { useContainerBreakpoints } from '../internal/hooks/container-queries';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\n\nimport { disableBodyScrolling, enableBodyScrolling } from './body-scroll';\nimport { ModalProps } from './interfaces';\nimport styles from './styles.css.js';\nimport { SomeRequired } from '../internal/types';\nimport FocusLock from '../internal/components/focus-lock';\n\ntype InternalModalProps = SomeRequired<ModalProps, 'size' | 'closeAriaLabel'> & InternalBaseComponentProps;\n\nexport default function InternalModal({\n size,\n visible,\n closeAriaLabel,\n header,\n children,\n footer,\n disableContentPaddings,\n onDismiss,\n modalRoot,\n __internalRootRef = null,\n ...rest\n}: InternalModalProps) {\n const instanceUniqueId = useUniqueId();\n const headerId = `${rest.id || instanceUniqueId}-header`;\n const lastMouseDownElementRef = useRef<HTMLElement | null>(null);\n const [breakpoint, breakpointsRef] = useContainerBreakpoints(['xs']);\n\n const refObject = useRef<HTMLDivElement>(null);\n const mergedRef = useMergeRefs(breakpointsRef, refObject, __internalRootRef);\n\n const isRefresh = useVisualRefresh();\n\n const baseProps = getBaseProps(rest);\n\n // enable body scroll and restore focus if unmounting while visible\n useEffect(() => {\n return () => {\n enableBodyScrolling();\n };\n }, []);\n\n // enable / disable body scroll\n useEffect(() => {\n if (visible) {\n disableBodyScrolling();\n } else {\n enableBodyScrolling();\n }\n }, [visible]);\n\n // Because we hide the element with styles (and not actually detach it from DOM), we need to scroll to top\n useEffect(() => {\n if (visible && refObject.current) {\n refObject.current.scrollTop = 0;\n }\n }, [visible]);\n\n const dismiss = (reason: string) => fireNonCancelableEvent(onDismiss, { reason });\n\n const onOverlayMouseDown = (event: React.MouseEvent) => {\n lastMouseDownElementRef.current = event.target as HTMLElement;\n };\n const onOverlayClick = (event: React.MouseEvent) => {\n const overlay = refObject.current;\n const lastClicked = lastMouseDownElementRef.current;\n\n if (event.target === overlay && lastClicked === overlay) {\n dismiss('overlay');\n }\n };\n const onCloseButtonClick = () => dismiss('closeButton');\n const escKeyHandler = (event: React.KeyboardEvent) => {\n if (event.keyCode === KeyCode.escape) {\n dismiss('keyboard');\n }\n };\n\n return (\n <Portal container={modalRoot}>\n <div\n {...baseProps}\n className={clsx(styles.root, { [styles.hidden]: !visible }, baseProps.className, isRefresh && styles.refresh)}\n role=\"dialog\"\n aria-modal={true}\n aria-labelledby={headerId}\n onMouseDown={onOverlayMouseDown}\n onClick={onOverlayClick}\n ref={mergedRef}\n >\n <FocusLock disabled={!visible} autoFocus={true} restoreFocus={true} className={styles['focus-lock']}>\n <div\n className={clsx(\n styles.dialog,\n styles[size],\n styles[`breakpoint-${breakpoint}`],\n isRefresh && styles.refresh\n )}\n onKeyDown={escKeyHandler}\n tabIndex={-1}\n >\n <div className={styles.container}>\n <div className={styles.header}>\n <InternalHeader\n variant=\"h2\"\n __disableActionsWrapping={true}\n actions={\n <InternalButton\n ariaLabel={closeAriaLabel}\n className={styles['dismiss-control']}\n variant=\"modal-dismiss\"\n iconName=\"close\"\n formAction=\"none\"\n onClick={onCloseButtonClick}\n />\n }\n >\n <span id={headerId} className={styles['header--text']}>\n {header}\n </span>\n </InternalHeader>\n </div>\n <div className={clsx(styles.content, { [styles['no-paddings']]: disableContentPaddings })}>\n {children}\n </div>\n {footer && <div className={styles.footer}>{footer}</div>}\n </div>\n </div>\n </FocusLock>\n </div>\n </Portal>\n );\n}\n"]}
|
package/modal/styles.css.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"dialog": "
|
|
5
|
-
"modal-slide-up": "awsui_modal-slide-
|
|
6
|
-
"awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-
|
|
7
|
-
"refresh": "
|
|
8
|
-
"awsui-motion-scale-popup": "awsui_awsui-motion-scale-
|
|
9
|
-
"root": "
|
|
10
|
-
"awsui-motion-fade-in": "awsui_awsui-motion-fade-
|
|
11
|
-
"hidden": "
|
|
12
|
-
"focus-lock": "awsui_focus-
|
|
13
|
-
"small": "
|
|
14
|
-
"medium": "
|
|
15
|
-
"large": "
|
|
16
|
-
"max": "
|
|
17
|
-
"breakpoint-xs": "awsui_breakpoint-
|
|
18
|
-
"container": "
|
|
19
|
-
"content": "
|
|
20
|
-
"no-paddings": "awsui_no-
|
|
21
|
-
"header": "
|
|
22
|
-
"header--text": "awsui_header--
|
|
23
|
-
"footer": "
|
|
24
|
-
"dismiss-control": "awsui_dismiss-
|
|
25
|
-
"modal-open": "awsui_modal-
|
|
4
|
+
"dialog": "awsui_dialog_1d2i7_1fymu_105",
|
|
5
|
+
"modal-slide-up": "awsui_modal-slide-up_1d2i7_1fymu_1",
|
|
6
|
+
"awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_1d2i7_1fymu_1",
|
|
7
|
+
"refresh": "awsui_refresh_1d2i7_1fymu_128",
|
|
8
|
+
"awsui-motion-scale-popup": "awsui_awsui-motion-scale-popup_1d2i7_1fymu_1",
|
|
9
|
+
"root": "awsui_root_1d2i7_1fymu_161",
|
|
10
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_1d2i7_1fymu_1",
|
|
11
|
+
"hidden": "awsui_hidden_1d2i7_1fymu_226",
|
|
12
|
+
"focus-lock": "awsui_focus-lock_1d2i7_1fymu_230",
|
|
13
|
+
"small": "awsui_small_1d2i7_1fymu_248",
|
|
14
|
+
"medium": "awsui_medium_1d2i7_1fymu_251",
|
|
15
|
+
"large": "awsui_large_1d2i7_1fymu_254",
|
|
16
|
+
"max": "awsui_max_1d2i7_1fymu_257",
|
|
17
|
+
"breakpoint-xs": "awsui_breakpoint-xs_1d2i7_1fymu_257",
|
|
18
|
+
"container": "awsui_container_1d2i7_1fymu_262",
|
|
19
|
+
"content": "awsui_content_1d2i7_1fymu_288",
|
|
20
|
+
"no-paddings": "awsui_no-paddings_1d2i7_1fymu_291",
|
|
21
|
+
"header": "awsui_header_1d2i7_1fymu_295",
|
|
22
|
+
"header--text": "awsui_header--text_1d2i7_1fymu_302",
|
|
23
|
+
"footer": "awsui_footer_1d2i7_1fymu_306",
|
|
24
|
+
"dismiss-control": "awsui_dismiss-control_1d2i7_1fymu_316",
|
|
25
|
+
"modal-open": "awsui_modal-open_1d2i7_1fymu_320"
|
|
26
26
|
};
|
|
27
27
|
|
package/modal/styles.scoped.css
CHANGED
|
@@ -94,7 +94,7 @@ 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
|
-
@keyframes awsui_modal-slide-
|
|
97
|
+
@keyframes awsui_modal-slide-up_1d2i7_1fymu_1 {
|
|
98
98
|
0% {
|
|
99
99
|
transform: translate(0, 10px);
|
|
100
100
|
}
|
|
@@ -102,12 +102,12 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
102
102
|
transform: translate(0, 0);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
.
|
|
106
|
-
animation: awsui_modal-slide-
|
|
105
|
+
.awsui_dialog_1d2i7_1fymu_105:not(#\9) {
|
|
106
|
+
animation: awsui_modal-slide-up_1d2i7_1fymu_1 var(--motion-duration-slow-0273ow, 180ms) ease-out, awsui_awsui-motion-fade-in-0_1d2i7_1fymu_1 var(--motion-duration-slow-0273ow, 180ms) ease-out;
|
|
107
107
|
animation-delay: var(--motion-duration-fast-nk2ap0, 90ms);
|
|
108
108
|
animation-fill-mode: both;
|
|
109
109
|
}
|
|
110
|
-
@keyframes awsui_awsui-motion-fade-in-
|
|
110
|
+
@keyframes awsui_awsui-motion-fade-in-0_1d2i7_1fymu_1 {
|
|
111
111
|
from {
|
|
112
112
|
opacity: 0;
|
|
113
113
|
}
|
|
@@ -116,22 +116,22 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
@media (prefers-reduced-motion: reduce) {
|
|
119
|
-
.
|
|
119
|
+
.awsui_dialog_1d2i7_1fymu_105:not(#\9) {
|
|
120
120
|
animation: none;
|
|
121
121
|
transition: none;
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
|
-
.awsui-motion-disabled .
|
|
124
|
+
.awsui-motion-disabled .awsui_dialog_1d2i7_1fymu_105:not(#\9), .awsui-mode-entering .awsui_dialog_1d2i7_1fymu_105:not(#\9) {
|
|
125
125
|
animation: none;
|
|
126
126
|
transition: none;
|
|
127
127
|
}
|
|
128
|
-
.
|
|
129
|
-
animation: awsui_awsui-motion-scale-
|
|
128
|
+
.awsui_dialog_1d2i7_1fymu_105.awsui_refresh_1d2i7_1fymu_128:not(#\9) {
|
|
129
|
+
animation: awsui_awsui-motion-scale-popup_1d2i7_1fymu_1, awsui_awsui-motion-fade-in-0_1d2i7_1fymu_1;
|
|
130
130
|
animation-duration: var(--motion-duration-refresh-only-fast-addxjd, 115ms);
|
|
131
131
|
animation-timing-function: var(--motion-easing-refresh-only-a-sy0g8m, cubic-bezier(0, 0, 0, 1));
|
|
132
132
|
animation-fill-mode: both;
|
|
133
133
|
}
|
|
134
|
-
@keyframes awsui_awsui-motion-fade-in-
|
|
134
|
+
@keyframes awsui_awsui-motion-fade-in-0_1d2i7_1fymu_1 {
|
|
135
135
|
from {
|
|
136
136
|
opacity: 0;
|
|
137
137
|
}
|
|
@@ -139,7 +139,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
139
139
|
opacity: 1;
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
|
-
@keyframes awsui_awsui-motion-scale-
|
|
142
|
+
@keyframes awsui_awsui-motion-scale-popup_1d2i7_1fymu_1 {
|
|
143
143
|
0% {
|
|
144
144
|
transform: scale(0.95);
|
|
145
145
|
}
|
|
@@ -148,21 +148,21 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
@media (prefers-reduced-motion: reduce) {
|
|
151
|
-
.
|
|
151
|
+
.awsui_dialog_1d2i7_1fymu_105.awsui_refresh_1d2i7_1fymu_128:not(#\9) {
|
|
152
152
|
animation: none;
|
|
153
153
|
transition: none;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
.awsui-motion-disabled .
|
|
156
|
+
.awsui-motion-disabled .awsui_dialog_1d2i7_1fymu_105.awsui_refresh_1d2i7_1fymu_128:not(#\9), .awsui-mode-entering .awsui_dialog_1d2i7_1fymu_105.awsui_refresh_1d2i7_1fymu_128:not(#\9) {
|
|
157
157
|
animation: none;
|
|
158
158
|
transition: none;
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
.
|
|
162
|
-
animation: awsui_awsui-motion-fade-
|
|
161
|
+
.awsui_root_1d2i7_1fymu_161:not(#\9) {
|
|
162
|
+
animation: awsui_awsui-motion-fade-in_1d2i7_1fymu_1 var(--motion-duration-extra-slow-8ks5rs, 270ms) ease-out;
|
|
163
163
|
animation-fill-mode: both;
|
|
164
164
|
}
|
|
165
|
-
@keyframes awsui_awsui-motion-fade-
|
|
165
|
+
@keyframes awsui_awsui-motion-fade-in_1d2i7_1fymu_1 {
|
|
166
166
|
from {
|
|
167
167
|
opacity: 0.2;
|
|
168
168
|
}
|
|
@@ -171,25 +171,25 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
173
|
@media (prefers-reduced-motion: reduce) {
|
|
174
|
-
.
|
|
174
|
+
.awsui_root_1d2i7_1fymu_161:not(#\9) {
|
|
175
175
|
animation: none;
|
|
176
176
|
transition: none;
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
|
-
.awsui-motion-disabled .
|
|
179
|
+
.awsui-motion-disabled .awsui_root_1d2i7_1fymu_161:not(#\9), .awsui-mode-entering .awsui_root_1d2i7_1fymu_161:not(#\9) {
|
|
180
180
|
animation: none;
|
|
181
181
|
transition: none;
|
|
182
182
|
}
|
|
183
|
-
.
|
|
183
|
+
.awsui_root_1d2i7_1fymu_161.awsui_refresh_1d2i7_1fymu_128:not(#\9) {
|
|
184
184
|
animation-duration: var(--motion-duration-refresh-only-fast-addxjd, 115ms);
|
|
185
185
|
}
|
|
186
186
|
@media (prefers-reduced-motion: reduce) {
|
|
187
|
-
.
|
|
187
|
+
.awsui_root_1d2i7_1fymu_161.awsui_refresh_1d2i7_1fymu_128:not(#\9) {
|
|
188
188
|
animation: none;
|
|
189
189
|
transition: none;
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
|
-
.awsui-motion-disabled .
|
|
192
|
+
.awsui-motion-disabled .awsui_root_1d2i7_1fymu_161.awsui_refresh_1d2i7_1fymu_128:not(#\9), .awsui-mode-entering .awsui_root_1d2i7_1fymu_161.awsui_refresh_1d2i7_1fymu_128:not(#\9) {
|
|
193
193
|
animation: none;
|
|
194
194
|
transition: none;
|
|
195
195
|
}
|
|
@@ -198,7 +198,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
198
198
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
199
199
|
SPDX-License-Identifier: Apache-2.0
|
|
200
200
|
*/
|
|
201
|
-
.
|
|
201
|
+
.awsui_root_1d2i7_1fymu_161:not(#\9) {
|
|
202
202
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
203
203
|
border-collapse: separate;
|
|
204
204
|
border-spacing: 0;
|
|
@@ -233,6 +233,8 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
233
233
|
color: var(--color-text-body-default-ajf1h5, #000716);
|
|
234
234
|
font-weight: 400;
|
|
235
235
|
font-family: var(--font-family-base-qnistn, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
236
|
+
-webkit-font-smoothing: auto;
|
|
237
|
+
-moz-osx-font-smoothing: auto;
|
|
236
238
|
background-color: var(--color-background-modal-overlay-17dapf, rgba(35, 47, 62, 0.7));
|
|
237
239
|
display: flex;
|
|
238
240
|
align-items: center;
|
|
@@ -247,11 +249,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
247
249
|
overflow: auto;
|
|
248
250
|
cursor: pointer;
|
|
249
251
|
}
|
|
250
|
-
.
|
|
252
|
+
.awsui_root_1d2i7_1fymu_161.awsui_hidden_1d2i7_1fymu_226:not(#\9) {
|
|
251
253
|
display: none;
|
|
252
254
|
}
|
|
253
255
|
|
|
254
|
-
.awsui_focus-
|
|
256
|
+
.awsui_focus-lock_1d2i7_1fymu_230:not(#\9) {
|
|
255
257
|
align-self: flex-start;
|
|
256
258
|
margin: auto;
|
|
257
259
|
padding: var(--space-s-hv8c1d, 12px) 0;
|
|
@@ -259,7 +261,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
259
261
|
pointer-events: none;
|
|
260
262
|
}
|
|
261
263
|
|
|
262
|
-
.
|
|
264
|
+
.awsui_dialog_1d2i7_1fymu_105:not(#\9) {
|
|
263
265
|
position: static;
|
|
264
266
|
top: 0;
|
|
265
267
|
transform: translate(0, 0);
|
|
@@ -269,21 +271,21 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
269
271
|
z-index: 5000;
|
|
270
272
|
pointer-events: all;
|
|
271
273
|
}
|
|
272
|
-
.
|
|
274
|
+
.awsui_dialog_1d2i7_1fymu_105.awsui_small_1d2i7_1fymu_248:not(#\9) {
|
|
273
275
|
max-width: 320px;
|
|
274
276
|
}
|
|
275
|
-
.
|
|
277
|
+
.awsui_dialog_1d2i7_1fymu_105.awsui_medium_1d2i7_1fymu_251:not(#\9) {
|
|
276
278
|
max-width: 600px;
|
|
277
279
|
}
|
|
278
|
-
.
|
|
280
|
+
.awsui_dialog_1d2i7_1fymu_105.awsui_large_1d2i7_1fymu_254:not(#\9) {
|
|
279
281
|
max-width: 820px;
|
|
280
282
|
}
|
|
281
|
-
.
|
|
283
|
+
.awsui_dialog_1d2i7_1fymu_105.awsui_max_1d2i7_1fymu_257.awsui_breakpoint-xs_1d2i7_1fymu_257:not(#\9) {
|
|
282
284
|
max-width: calc(100vw - (2 * 4 * 10px + var(--space-xxxl-bo9z7f, 40px)));
|
|
283
285
|
margin: auto;
|
|
284
286
|
}
|
|
285
287
|
|
|
286
|
-
.
|
|
288
|
+
.awsui_container_1d2i7_1fymu_262:not(#\9) {
|
|
287
289
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
288
290
|
border-collapse: separate;
|
|
289
291
|
border-spacing: 0;
|
|
@@ -318,6 +320,8 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
318
320
|
color: var(--color-text-body-default-ajf1h5, #000716);
|
|
319
321
|
font-weight: 400;
|
|
320
322
|
font-family: var(--font-family-base-qnistn, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
323
|
+
-webkit-font-smoothing: auto;
|
|
324
|
+
-moz-osx-font-smoothing: auto;
|
|
321
325
|
display: block;
|
|
322
326
|
background-color: var(--color-background-container-content-i8i4a0, #ffffff);
|
|
323
327
|
box-shadow: var(--shadow-container-7nblnj, 0px 0px 1px 1px #e9ebed, 0px 1px 8px 2px rgba(0, 7, 22, 0.12));
|
|
@@ -328,44 +332,44 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
328
332
|
word-wrap: break-word;
|
|
329
333
|
}
|
|
330
334
|
@media screen and (-ms-high-contrast: active) {
|
|
331
|
-
.
|
|
335
|
+
.awsui_container_1d2i7_1fymu_262:not(#\9) {
|
|
332
336
|
border: var(--border-field-width-idlekx, 2px) solid var(--color-border-container-top-srcvx4, transparent);
|
|
333
337
|
}
|
|
334
338
|
}
|
|
335
339
|
|
|
336
|
-
.
|
|
340
|
+
.awsui_content_1d2i7_1fymu_288:not(#\9) {
|
|
337
341
|
padding: var(--space-container-content-top-fsd8nr, 0px) var(--space-modal-horizontal-ah0xld, 20px) var(--space-modal-content-bottom-cecclv, 16px);
|
|
338
342
|
}
|
|
339
|
-
.
|
|
343
|
+
.awsui_content_1d2i7_1fymu_288.awsui_no-paddings_1d2i7_1fymu_291:not(#\9) {
|
|
340
344
|
padding: 0;
|
|
341
345
|
}
|
|
342
346
|
|
|
343
|
-
.
|
|
347
|
+
.awsui_header_1d2i7_1fymu_295:not(#\9) {
|
|
344
348
|
padding: var(--space-s-hv8c1d, 12px) var(--space-modal-horizontal-ah0xld, 20px);
|
|
345
349
|
background-color: var(--color-background-container-header-4flbq5, #ffffff);
|
|
346
350
|
border-bottom: 1px solid var(--color-border-container-divider-4ade7z, transparent);
|
|
347
351
|
border-radius: var(--border-radius-container-gh9ysk, 16px) var(--border-radius-container-gh9ysk, 16px) 0 0;
|
|
348
352
|
}
|
|
349
353
|
|
|
350
|
-
.awsui_header--
|
|
354
|
+
.awsui_header--text_1d2i7_1fymu_302:not(#\9) {
|
|
351
355
|
/* used in test-utils */
|
|
352
356
|
}
|
|
353
357
|
|
|
354
|
-
.
|
|
358
|
+
.awsui_footer_1d2i7_1fymu_306:not(#\9) {
|
|
355
359
|
border-top: var(--border-divider-section-width-4wm2it, 2px) solid var(--color-border-divider-default-7s2wjw, #e9ebed);
|
|
356
360
|
padding: var(--space-scaled-s-cu1hzn, 12px) var(--space-container-horizontal-tlw03i, 20px);
|
|
357
361
|
}
|
|
358
|
-
.
|
|
362
|
+
.awsui_footer_1d2i7_1fymu_306:not(#\9):after {
|
|
359
363
|
content: "";
|
|
360
364
|
display: table;
|
|
361
365
|
clear: both;
|
|
362
366
|
}
|
|
363
367
|
|
|
364
|
-
.awsui_dismiss-
|
|
368
|
+
.awsui_dismiss-control_1d2i7_1fymu_316:not(#\9) {
|
|
365
369
|
/* used in test-utils */
|
|
366
370
|
}
|
|
367
371
|
|
|
368
|
-
.awsui_modal-
|
|
372
|
+
.awsui_modal-open_1d2i7_1fymu_320:not(#\9) {
|
|
369
373
|
overflow: hidden;
|
|
370
374
|
/*
|
|
371
375
|
* When padding-right is added to account for scrollbar being turned
|