@cloudscape-design/components 3.0.1298 → 3.0.1300
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/attribute-editor/styles.css.js +15 -15
- package/attribute-editor/styles.scoped.css +29 -28
- package/attribute-editor/styles.selectors.js +15 -15
- package/autosuggest/interfaces.d.ts +0 -2
- package/autosuggest/interfaces.d.ts.map +1 -1
- package/autosuggest/interfaces.js.map +1 -1
- package/breadcrumb-group/item/styles.css.js +7 -7
- package/breadcrumb-group/item/styles.scoped.css +30 -29
- package/breadcrumb-group/item/styles.selectors.js +7 -7
- package/breadcrumb-group/styles.css.js +14 -14
- package/breadcrumb-group/styles.scoped.css +25 -25
- package/breadcrumb-group/styles.selectors.js +14 -14
- package/button-dropdown/category-elements/category-element.js +1 -1
- package/button-dropdown/category-elements/category-element.js.map +1 -1
- package/button-dropdown/category-elements/expandable-category-element.js +1 -1
- package/button-dropdown/category-elements/expandable-category-element.js.map +1 -1
- package/button-dropdown/category-elements/mobile-expandable-category-element.js +1 -1
- package/button-dropdown/category-elements/mobile-expandable-category-element.js.map +1 -1
- package/button-dropdown/item-element/index.js +1 -1
- package/button-dropdown/item-element/index.js.map +1 -1
- package/button-dropdown/item-element/styles.css.js +21 -21
- package/button-dropdown/item-element/styles.scoped.css +38 -37
- package/button-dropdown/item-element/styles.selectors.js +21 -21
- package/copy-to-clipboard/index.d.ts +1 -0
- package/copy-to-clipboard/index.d.ts.map +1 -1
- package/copy-to-clipboard/index.js +2 -2
- package/copy-to-clipboard/index.js.map +1 -1
- package/copy-to-clipboard/interfaces.d.ts +5 -0
- package/copy-to-clipboard/interfaces.d.ts.map +1 -1
- package/copy-to-clipboard/interfaces.js.map +1 -1
- package/copy-to-clipboard/internal.d.ts +1 -0
- package/copy-to-clipboard/internal.d.ts.map +1 -1
- package/copy-to-clipboard/internal.js +3 -3
- package/copy-to-clipboard/internal.js.map +1 -1
- package/copy-to-clipboard/styles.css.js +5 -3
- package/copy-to-clipboard/styles.scoped.css +18 -3
- package/copy-to-clipboard/styles.selectors.js +5 -3
- package/drawer/implementation.d.ts +3 -3
- package/drawer/implementation.d.ts.map +1 -1
- package/drawer/implementation.js +3 -2
- package/drawer/implementation.js.map +1 -1
- package/drawer/index.d.ts +2 -10
- package/drawer/index.d.ts.map +1 -1
- package/drawer/index.js +21 -9
- package/drawer/index.js.map +1 -1
- package/drawer/interfaces.d.ts +45 -18
- package/drawer/interfaces.d.ts.map +1 -1
- package/drawer/interfaces.js.map +1 -1
- package/drawer/styles.css.js +29 -25
- package/drawer/styles.scoped.css +43 -34
- package/drawer/styles.selectors.js +29 -25
- package/drawer/utils.d.ts +2 -2
- package/drawer/utils.d.ts.map +1 -1
- package/drawer/utils.js +6 -5
- package/drawer/utils.js.map +1 -1
- package/form-field/styles.css.js +24 -24
- package/form-field/styles.scoped.css +41 -41
- package/form-field/styles.selectors.js +24 -24
- package/help-panel/styles.css.js +6 -6
- package/help-panel/styles.scoped.css +73 -71
- package/help-panel/styles.selectors.js +6 -6
- package/internal/base-component/styles.scoped.css +31 -13
- package/internal/components/token-list/styles.css.js +10 -10
- package/internal/components/token-list/styles.scoped.css +24 -23
- package/internal/components/token-list/styles.selectors.js +10 -10
- package/internal/environment.js +2 -2
- package/internal/environment.json +2 -2
- package/internal/generated/styles/tokens.d.ts +25 -12
- package/internal/generated/styles/tokens.js +25 -12
- package/internal/generated/theming/index.cjs +196 -58
- package/internal/generated/theming/index.cjs.d.ts +234 -99
- package/internal/generated/theming/index.d.ts +234 -99
- package/internal/generated/theming/index.js +196 -58
- package/internal/manifest.json +1 -1
- package/key-value-pairs/styles.css.js +8 -8
- package/key-value-pairs/styles.scoped.css +13 -12
- package/key-value-pairs/styles.selectors.js +8 -8
- package/link/internal.js +1 -1
- package/link/internal.js.map +1 -1
- package/link/styles.css.js +21 -21
- package/link/styles.scoped.css +94 -84
- package/link/styles.selectors.js +21 -21
- package/manifest.json +5 -0
- package/multiselect/interfaces.d.ts +0 -2
- package/multiselect/interfaces.d.ts.map +1 -1
- package/multiselect/interfaces.js.map +1 -1
- package/package.json +1 -1
- package/pagination/index.d.ts.map +1 -1
- package/pagination/index.js +4 -1
- package/pagination/index.js.map +1 -1
- package/prompt-input/interfaces.d.ts +0 -2
- package/prompt-input/interfaces.d.ts.map +1 -1
- package/prompt-input/interfaces.js.map +1 -1
- package/select/interfaces.d.ts +0 -2
- package/select/interfaces.d.ts.map +1 -1
- package/select/interfaces.js.map +1 -1
- package/status-indicator/internal.js +1 -1
- package/status-indicator/internal.js.map +1 -1
- package/table/body-cell/td-element.js +1 -1
- package/table/body-cell/td-element.js.map +1 -1
- package/tag-editor/styles.css.js +3 -3
- package/tag-editor/styles.scoped.css +12 -11
- package/tag-editor/styles.selectors.js +3 -3
- package/test-utils/dom/drawer/index.d.ts +2 -0
- package/test-utils/dom/drawer/index.js +6 -0
- package/test-utils/dom/drawer/index.js.map +1 -1
- package/test-utils/selectors/drawer/index.d.ts +2 -0
- package/test-utils/selectors/drawer/index.js +6 -0
- package/test-utils/selectors/drawer/index.js.map +1 -1
- package/text-content/styles.css.js +1 -1
- package/text-content/styles.scoped.css +68 -66
- package/text-content/styles.selectors.js +1 -1
- package/tooltip/index.d.ts +0 -3
- package/tooltip/index.d.ts.map +1 -1
- package/tooltip/index.js +0 -3
- package/tooltip/index.js.map +1 -1
- package/wizard/interfaces.d.ts +0 -2
- package/wizard/interfaces.d.ts.map +1 -1
- package/wizard/interfaces.js.map +1 -1
- package/drawer/next.d.ts +0 -5
- package/drawer/next.d.ts.map +0 -1
- package/drawer/next.js +0 -38
- package/drawer/next.js.map +0 -1
package/drawer/styles.scoped.css
CHANGED
|
@@ -190,11 +190,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
190
190
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
191
191
|
SPDX-License-Identifier: Apache-2.0
|
|
192
192
|
*/
|
|
193
|
-
.
|
|
193
|
+
.awsui_root_1sxt8_ygv0p_193:not(#\9) {
|
|
194
194
|
display: contents;
|
|
195
195
|
}
|
|
196
196
|
|
|
197
|
-
.
|
|
197
|
+
.awsui_drawer_1sxt8_ygv0p_197:not(#\9) {
|
|
198
198
|
border-collapse: separate;
|
|
199
199
|
border-spacing: 0;
|
|
200
200
|
box-sizing: border-box;
|
|
@@ -227,33 +227,42 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
227
227
|
word-wrap: break-word;
|
|
228
228
|
background-color: var(--color-background-drawer-5hs0eh, #ffffff);
|
|
229
229
|
}
|
|
230
|
-
.
|
|
230
|
+
.awsui_drawer_1sxt8_ygv0p_197.awsui_has-close-action_1sxt8_ygv0p_230:not(#\9) {
|
|
231
231
|
position: relative;
|
|
232
232
|
}
|
|
233
|
-
.
|
|
234
|
-
|
|
233
|
+
.awsui_drawer_1sxt8_ygv0p_197.awsui_position-absolute_1sxt8_ygv0p_233.awsui_placement-end_1sxt8_ygv0p_233:not(#\9), .awsui_drawer_1sxt8_ygv0p_197.awsui_position-sticky_1sxt8_ygv0p_233.awsui_placement-end_1sxt8_ygv0p_233:not(#\9), .awsui_drawer_1sxt8_ygv0p_197.awsui_position-fixed_1sxt8_ygv0p_233.awsui_placement-end_1sxt8_ygv0p_233:not(#\9) {
|
|
234
|
+
border-inline-start: var(--border-divider-section-width-uwo8my, 1px) solid var(--color-border-panel-header-ygztvl, #c6c6cd);
|
|
235
235
|
}
|
|
236
|
-
.
|
|
236
|
+
.awsui_drawer_1sxt8_ygv0p_197.awsui_position-absolute_1sxt8_ygv0p_233.awsui_placement-start_1sxt8_ygv0p_236:not(#\9), .awsui_drawer_1sxt8_ygv0p_197.awsui_position-sticky_1sxt8_ygv0p_233.awsui_placement-start_1sxt8_ygv0p_236:not(#\9), .awsui_drawer_1sxt8_ygv0p_197.awsui_position-fixed_1sxt8_ygv0p_233.awsui_placement-start_1sxt8_ygv0p_236:not(#\9) {
|
|
237
|
+
border-inline-end: var(--border-divider-section-width-uwo8my, 1px) solid var(--color-border-panel-header-ygztvl, #c6c6cd);
|
|
238
|
+
}
|
|
239
|
+
.awsui_drawer_1sxt8_ygv0p_197.awsui_position-absolute_1sxt8_ygv0p_233.awsui_placement-top_1sxt8_ygv0p_239:not(#\9), .awsui_drawer_1sxt8_ygv0p_197.awsui_position-sticky_1sxt8_ygv0p_233.awsui_placement-top_1sxt8_ygv0p_239:not(#\9), .awsui_drawer_1sxt8_ygv0p_197.awsui_position-fixed_1sxt8_ygv0p_233.awsui_placement-top_1sxt8_ygv0p_239:not(#\9) {
|
|
240
|
+
border-block-end: var(--border-divider-section-width-uwo8my, 1px) solid var(--color-border-panel-header-ygztvl, #c6c6cd);
|
|
241
|
+
}
|
|
242
|
+
.awsui_drawer_1sxt8_ygv0p_197.awsui_position-absolute_1sxt8_ygv0p_233.awsui_placement-bottom_1sxt8_ygv0p_242:not(#\9), .awsui_drawer_1sxt8_ygv0p_197.awsui_position-sticky_1sxt8_ygv0p_233.awsui_placement-bottom_1sxt8_ygv0p_242:not(#\9), .awsui_drawer_1sxt8_ygv0p_197.awsui_position-fixed_1sxt8_ygv0p_233.awsui_placement-bottom_1sxt8_ygv0p_242:not(#\9) {
|
|
243
|
+
border-block-start: var(--border-divider-section-width-uwo8my, 1px) solid var(--color-border-panel-header-ygztvl, #c6c6cd);
|
|
244
|
+
}
|
|
245
|
+
.awsui_drawer_1sxt8_ygv0p_197.awsui_with-footer_1sxt8_ygv0p_245:not(#\9) {
|
|
237
246
|
display: flex;
|
|
238
247
|
flex-direction: column;
|
|
239
248
|
}
|
|
240
|
-
.
|
|
249
|
+
.awsui_drawer_1sxt8_ygv0p_197.awsui_with-footer_1sxt8_ygv0p_245.awsui_position-static_1sxt8_ygv0p_249:not(#\9) {
|
|
241
250
|
min-block-size: 100%;
|
|
242
251
|
}
|
|
243
|
-
.
|
|
252
|
+
.awsui_drawer_1sxt8_ygv0p_197.awsui_with-footer_1sxt8_ygv0p_245 > .awsui_content_1sxt8_ygv0p_252:not(#\9) {
|
|
244
253
|
flex: 1;
|
|
245
254
|
}
|
|
246
|
-
.
|
|
255
|
+
.awsui_drawer_1sxt8_ygv0p_197:not(#\9):focus {
|
|
247
256
|
outline: none;
|
|
248
257
|
}
|
|
249
|
-
body[data-awsui-focus-visible=true] .
|
|
258
|
+
body[data-awsui-focus-visible=true] .awsui_drawer_1sxt8_ygv0p_197:not(#\9):focus {
|
|
250
259
|
position: relative;
|
|
251
260
|
}
|
|
252
|
-
body[data-awsui-focus-visible=true] .
|
|
261
|
+
body[data-awsui-focus-visible=true] .awsui_drawer_1sxt8_ygv0p_197:not(#\9):focus {
|
|
253
262
|
outline: 2px dotted transparent;
|
|
254
263
|
outline-offset: calc(-2px - 1px);
|
|
255
264
|
}
|
|
256
|
-
body[data-awsui-focus-visible=true] .
|
|
265
|
+
body[data-awsui-focus-visible=true] .awsui_drawer_1sxt8_ygv0p_197:not(#\9):focus::before {
|
|
257
266
|
content: " ";
|
|
258
267
|
display: block;
|
|
259
268
|
position: absolute;
|
|
@@ -268,7 +277,7 @@ body[data-awsui-focus-visible=true] .awsui_drawer_1sxt8_1cneo_197:not(#\9):focus
|
|
|
268
277
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-uk47pl, #006ce0);
|
|
269
278
|
}
|
|
270
279
|
|
|
271
|
-
.
|
|
280
|
+
.awsui_header_1sxt8_ygv0p_280:not(#\9) {
|
|
272
281
|
font-size: var(--font-panel-header-size-33h9j8, 18px);
|
|
273
282
|
letter-spacing: var(--letter-spacing-heading-m-29ewnk, -0.01em);
|
|
274
283
|
line-height: var(--font-panel-header-line-height-8xb2qj, 22px);
|
|
@@ -284,11 +293,11 @@ body[data-awsui-focus-visible=true] .awsui_drawer_1sxt8_1cneo_197:not(#\9):focus
|
|
|
284
293
|
/* stylelint-disable @cloudscape-design/no-implicit-descendant, selector-max-type */
|
|
285
294
|
/* stylelint-enable @cloudscape-design/no-implicit-descendant, selector-max-type */
|
|
286
295
|
}
|
|
287
|
-
.
|
|
296
|
+
.awsui_header_1sxt8_ygv0p_280.awsui_hide-close-action_1sxt8_ygv0p_296:not(#\9) {
|
|
288
297
|
padding-inline: var(--space-panel-side-left-u1m3s9, 28px) var(--space-panel-side-right-8wwirc, 24px);
|
|
289
298
|
}
|
|
290
299
|
@media (min-width: 689px) {
|
|
291
|
-
.
|
|
300
|
+
.awsui_header_1sxt8_ygv0p_280.awsui_with-additional-action_1sxt8_ygv0p_300:not(#\9) {
|
|
292
301
|
/*
|
|
293
302
|
this padding is needed when the drawer renders inside a runtime drawer and the runtime drawer has an additional action
|
|
294
303
|
on the right (or left in rtl). in this case this padding ensures that the drawer's content does not overlap with runtime actions
|
|
@@ -296,18 +305,18 @@ body[data-awsui-focus-visible=true] .awsui_drawer_1sxt8_1cneo_197:not(#\9):focus
|
|
|
296
305
|
padding-inline: var(--space-panel-side-left-u1m3s9, 28px) calc(var(--space-xxxl-aut1u7, 40px) + var(--space-scaled-xxl-6wgq96, 32px));
|
|
297
306
|
}
|
|
298
307
|
}
|
|
299
|
-
.
|
|
308
|
+
.awsui_header_1sxt8_ygv0p_280.awsui_with-runtime-context_1sxt8_ygv0p_308:not(#\9) {
|
|
300
309
|
padding-block: 14px;
|
|
301
310
|
}
|
|
302
|
-
.awsui_with-
|
|
311
|
+
.awsui_with-toolbar_1sxt8_ygv0p_311 > .awsui_header_1sxt8_ygv0p_280:not(#\9) {
|
|
303
312
|
border-color: transparent;
|
|
304
313
|
margin-block-end: 0px;
|
|
305
314
|
}
|
|
306
|
-
.
|
|
307
|
-
.
|
|
308
|
-
.
|
|
309
|
-
.
|
|
310
|
-
.
|
|
315
|
+
.awsui_header_1sxt8_ygv0p_280 h2:not(#\9),
|
|
316
|
+
.awsui_header_1sxt8_ygv0p_280 h3:not(#\9),
|
|
317
|
+
.awsui_header_1sxt8_ygv0p_280 h4:not(#\9),
|
|
318
|
+
.awsui_header_1sxt8_ygv0p_280 h5:not(#\9),
|
|
319
|
+
.awsui_header_1sxt8_ygv0p_280 h6:not(#\9) {
|
|
311
320
|
font-size: var(--font-panel-header-size-33h9j8, 18px);
|
|
312
321
|
letter-spacing: var(--letter-spacing-heading-m-29ewnk, -0.01em);
|
|
313
322
|
line-height: var(--font-panel-header-line-height-8xb2qj, 22px);
|
|
@@ -318,32 +327,32 @@ body[data-awsui-focus-visible=true] .awsui_drawer_1sxt8_1cneo_197:not(#\9):focus
|
|
|
318
327
|
margin-block: 0;
|
|
319
328
|
}
|
|
320
329
|
|
|
321
|
-
.awsui_header-
|
|
330
|
+
.awsui_header-actions_1sxt8_ygv0p_330:not(#\9) {
|
|
322
331
|
display: inline-flex;
|
|
323
332
|
align-items: flex-start;
|
|
324
333
|
z-index: 1;
|
|
325
334
|
}
|
|
326
335
|
|
|
327
|
-
.awsui_close-
|
|
336
|
+
.awsui_close-action_1sxt8_ygv0p_336:not(#\9) {
|
|
328
337
|
position: absolute;
|
|
329
|
-
inset-block-start: var(--space-
|
|
338
|
+
inset-block-start: var(--space-static-m-m6qboo, 16px);
|
|
330
339
|
inset-inline-end: var(--space-scaled-l-sej05l, 20px);
|
|
331
340
|
}
|
|
332
341
|
|
|
333
|
-
.awsui_content-with-
|
|
342
|
+
.awsui_content-with-paddings_1sxt8_ygv0p_342:not(#\9):not(:empty) {
|
|
334
343
|
padding-block-start: var(--space-panel-content-top-qvd1dr, 20px);
|
|
335
344
|
padding-inline-start: var(--space-panel-side-left-u1m3s9, 28px);
|
|
336
345
|
padding-inline-end: var(--space-panel-side-right-8wwirc, 24px);
|
|
337
346
|
padding-block-end: var(--space-panel-content-bottom-24c6lu, 40px);
|
|
338
347
|
}
|
|
339
348
|
|
|
340
|
-
.
|
|
349
|
+
.awsui_footer_1sxt8_ygv0p_349:not(#\9) {
|
|
341
350
|
background-color: var(--color-background-container-content-6u8rvp, #ffffff);
|
|
342
351
|
border-block-start: var(--border-divider-section-width-uwo8my, 1px) solid var(--color-border-panel-header-ygztvl, #c6c6cd);
|
|
343
352
|
padding-block: var(--space-panel-content-top-qvd1dr, 20px);
|
|
344
353
|
padding-inline: var(--space-panel-side-left-u1m3s9, 28px) var(--space-panel-side-right-8wwirc, 24px);
|
|
345
354
|
}
|
|
346
|
-
.
|
|
355
|
+
.awsui_footer_1sxt8_ygv0p_349.awsui_is-sticky_1sxt8_ygv0p_355:not(#\9) {
|
|
347
356
|
position: sticky;
|
|
348
357
|
inset-block-end: 0;
|
|
349
358
|
inset-inline-start: 0;
|
|
@@ -351,25 +360,25 @@ body[data-awsui-focus-visible=true] .awsui_drawer_1sxt8_1cneo_197:not(#\9):focus
|
|
|
351
360
|
z-index: 810;
|
|
352
361
|
}
|
|
353
362
|
|
|
354
|
-
.awsui_test-utils-drawer-
|
|
363
|
+
.awsui_test-utils-drawer-content_1sxt8_ygv0p_363:not(#\9) {
|
|
355
364
|
/* used in test-utils */
|
|
356
365
|
}
|
|
357
366
|
|
|
358
|
-
.
|
|
367
|
+
.awsui_hidden_1sxt8_ygv0p_367:not(#\9) {
|
|
359
368
|
display: none;
|
|
360
369
|
}
|
|
361
370
|
|
|
362
|
-
.awsui_focus-
|
|
371
|
+
.awsui_focus-trap_1sxt8_ygv0p_371:not(#\9) {
|
|
363
372
|
display: contents;
|
|
364
373
|
}
|
|
365
374
|
|
|
366
|
-
.
|
|
375
|
+
.awsui_backdrop_1sxt8_ygv0p_375:not(#\9) {
|
|
367
376
|
inset: 0;
|
|
368
377
|
background-color: var(--color-background-drawer-backdrop-ducxi3, rgba(35, 43, 55, 0.7));
|
|
369
378
|
}
|
|
370
|
-
.
|
|
379
|
+
.awsui_backdrop_1sxt8_ygv0p_375.awsui_backdrop-fixed_1sxt8_ygv0p_379:not(#\9) {
|
|
371
380
|
position: fixed;
|
|
372
381
|
}
|
|
373
|
-
.
|
|
382
|
+
.awsui_backdrop_1sxt8_ygv0p_375.awsui_backdrop-absolute_1sxt8_ygv0p_382:not(#\9) {
|
|
374
383
|
position: absolute;
|
|
375
384
|
}
|
|
@@ -2,30 +2,34 @@
|
|
|
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
|
-
"drawer": "
|
|
7
|
-
"has-close-action": "awsui_has-close-
|
|
8
|
-
"position-absolute": "awsui_position-
|
|
9
|
-
"
|
|
10
|
-
"position-
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
5
|
+
"root": "awsui_root_1sxt8_ygv0p_193",
|
|
6
|
+
"drawer": "awsui_drawer_1sxt8_ygv0p_197",
|
|
7
|
+
"has-close-action": "awsui_has-close-action_1sxt8_ygv0p_230",
|
|
8
|
+
"position-absolute": "awsui_position-absolute_1sxt8_ygv0p_233",
|
|
9
|
+
"placement-end": "awsui_placement-end_1sxt8_ygv0p_233",
|
|
10
|
+
"position-sticky": "awsui_position-sticky_1sxt8_ygv0p_233",
|
|
11
|
+
"position-fixed": "awsui_position-fixed_1sxt8_ygv0p_233",
|
|
12
|
+
"placement-start": "awsui_placement-start_1sxt8_ygv0p_236",
|
|
13
|
+
"placement-top": "awsui_placement-top_1sxt8_ygv0p_239",
|
|
14
|
+
"placement-bottom": "awsui_placement-bottom_1sxt8_ygv0p_242",
|
|
15
|
+
"with-footer": "awsui_with-footer_1sxt8_ygv0p_245",
|
|
16
|
+
"position-static": "awsui_position-static_1sxt8_ygv0p_249",
|
|
17
|
+
"content": "awsui_content_1sxt8_ygv0p_252",
|
|
18
|
+
"header": "awsui_header_1sxt8_ygv0p_280",
|
|
19
|
+
"hide-close-action": "awsui_hide-close-action_1sxt8_ygv0p_296",
|
|
20
|
+
"with-additional-action": "awsui_with-additional-action_1sxt8_ygv0p_300",
|
|
21
|
+
"with-runtime-context": "awsui_with-runtime-context_1sxt8_ygv0p_308",
|
|
22
|
+
"with-toolbar": "awsui_with-toolbar_1sxt8_ygv0p_311",
|
|
23
|
+
"header-actions": "awsui_header-actions_1sxt8_ygv0p_330",
|
|
24
|
+
"close-action": "awsui_close-action_1sxt8_ygv0p_336",
|
|
25
|
+
"content-with-paddings": "awsui_content-with-paddings_1sxt8_ygv0p_342",
|
|
26
|
+
"footer": "awsui_footer_1sxt8_ygv0p_349",
|
|
27
|
+
"is-sticky": "awsui_is-sticky_1sxt8_ygv0p_355",
|
|
28
|
+
"test-utils-drawer-content": "awsui_test-utils-drawer-content_1sxt8_ygv0p_363",
|
|
29
|
+
"hidden": "awsui_hidden_1sxt8_ygv0p_367",
|
|
30
|
+
"focus-trap": "awsui_focus-trap_1sxt8_ygv0p_371",
|
|
31
|
+
"backdrop": "awsui_backdrop_1sxt8_ygv0p_375",
|
|
32
|
+
"backdrop-fixed": "awsui_backdrop-fixed_1sxt8_ygv0p_379",
|
|
33
|
+
"backdrop-absolute": "awsui_backdrop-absolute_1sxt8_ygv0p_382"
|
|
30
34
|
};
|
|
31
35
|
|
package/drawer/utils.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
type PositionProps = Pick<
|
|
2
|
+
import { DrawerProps } from './interfaces';
|
|
3
|
+
type PositionProps = Pick<DrawerProps, 'position' | 'placement' | 'offset' | 'stickyOffset' | 'zIndex'>;
|
|
4
4
|
export declare function getPositionStyles({
|
|
5
5
|
position,
|
|
6
6
|
zIndex,
|
package/drawer/utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/drawer/utils.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/drawer/utils.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAI3C,KAAK,aAAa,GAAG,IAAI,CAAC,WAAW,EAAE,UAAU,GAAG,WAAW,GAAG,QAAQ,GAAG,cAAc,GAAG,QAAQ,CAAC,CAAC;AAExG,wBAAgB,iBAAiB,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,GAAG;IAChF,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC;CAC5B,CAmBA"}
|
package/drawer/utils.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
import clsx from 'clsx';
|
|
3
4
|
import { warnOnce } from '@cloudscape-design/component-toolkit/internal';
|
|
4
5
|
import styles from './styles.css.js';
|
|
5
6
|
export function getPositionStyles({ position, zIndex, ...props }) {
|
|
@@ -9,18 +10,18 @@ export function getPositionStyles({ position, zIndex, ...props }) {
|
|
|
9
10
|
}
|
|
10
11
|
switch (position) {
|
|
11
12
|
case 'absolute':
|
|
12
|
-
return getStyles(position, { position: 'absolute', zIndex, ...computeAbsoluteOffsets(props) });
|
|
13
|
+
return getStyles(position, { position: 'absolute', zIndex, ...computeAbsoluteOffsets(props) }, props.placement);
|
|
13
14
|
case 'sticky':
|
|
14
|
-
return getStyles(position, { position: 'sticky', zIndex, ...computeStickyOffsets(props) });
|
|
15
|
+
return getStyles(position, { position: 'sticky', zIndex, ...computeStickyOffsets(props) }, props.placement);
|
|
15
16
|
case 'fixed':
|
|
16
|
-
return getStyles(position, { position: 'fixed', zIndex, ...computeAbsoluteOffsets(props) });
|
|
17
|
+
return getStyles(position, { position: 'fixed', zIndex, ...computeAbsoluteOffsets(props) }, props.placement);
|
|
17
18
|
case 'static':
|
|
18
19
|
default:
|
|
19
20
|
return getStyles(position);
|
|
20
21
|
}
|
|
21
22
|
}
|
|
22
|
-
function getStyles(position = 'static', style = {}) {
|
|
23
|
-
return { className: styles[`position-${position}`], style };
|
|
23
|
+
function getStyles(position = 'static', style = {}, placement) {
|
|
24
|
+
return { className: clsx(styles[`position-${position}`], placement && styles[`placement-${placement}`]), style };
|
|
24
25
|
}
|
|
25
26
|
function computeAbsoluteOffsets({ placement, offset: { top, bottom, start, end } = {}, }) {
|
|
26
27
|
const style = {};
|
package/drawer/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/drawer/utils.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/drawer/utils.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAGtC,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,QAAQ,EAAE,MAAM,+CAA+C,CAAC;AAIzE,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAIrC,MAAM,UAAU,iBAAiB,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,KAAK,EAAiB;IAI7E,IAAI,QAAQ,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,KAAK,OAAO,IAAI,KAAK,CAAC,SAAS,KAAK,KAAK,CAAC,EAAE,CAAC;QACxF,QAAQ,CACN,QAAQ,EACR,sDAAsD,KAAK,CAAC,SAAS,wCAAwC,CAC9G,CAAC;QACF,QAAQ,GAAG,QAAQ,CAAC;IACtB,CAAC;IACD,QAAQ,QAAQ,EAAE,CAAC;QACjB,KAAK,UAAU;YACb,OAAO,SAAS,CAAC,QAAQ,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,sBAAsB,CAAC,KAAK,CAAC,EAAE,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;QAClH,KAAK,QAAQ;YACX,OAAO,SAAS,CAAC,QAAQ,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,oBAAoB,CAAC,KAAK,CAAC,EAAE,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;QAC9G,KAAK,OAAO;YACV,OAAO,SAAS,CAAC,QAAQ,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,sBAAsB,CAAC,KAAK,CAAC,EAAE,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;QAC/G,KAAK,QAAQ,CAAC;QACd;YACE,OAAO,SAAS,CAAC,QAAQ,CAAC,CAAC;IAC/B,CAAC;AACH,CAAC;AAED,SAAS,SAAS,CAChB,WAAiC,QAAQ,EACzC,QAA6B,EAAE,EAC/B,SAAiC;IAEjC,OAAO,EAAE,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,YAAY,QAAQ,EAAE,CAAC,EAAE,SAAS,IAAI,MAAM,CAAC,aAAa,SAAS,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC;AACnH,CAAC;AAED,SAAS,sBAAsB,CAAC,EAC9B,SAAS,EACT,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,GACE;IAC1C,MAAM,KAAK,GAAwB,EAAE,CAAC;IACtC,MAAM,MAAM,GAAG,EAAE,GAAG,EAAE,GAAG,aAAH,GAAG,cAAH,GAAG,GAAI,CAAC,EAAE,MAAM,EAAE,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,CAAC,EAAE,KAAK,EAAE,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,CAAC,EAAE,GAAG,EAAE,GAAG,aAAH,GAAG,cAAH,GAAG,GAAI,CAAC,EAAE,CAAC;IACxF,QAAQ,SAAS,EAAE,CAAC;QAClB,KAAK,KAAK;YACR,KAAK,CAAC,eAAe,GAAG,MAAM,CAAC,GAAG,CAAC;YACnC,KAAK,CAAC,gBAAgB,GAAG,MAAM,CAAC,KAAK,CAAC;YACtC,KAAK,CAAC,cAAc,GAAG,MAAM,CAAC,GAAG,CAAC;YAClC,MAAM;QACR,KAAK,QAAQ;YACX,KAAK,CAAC,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC;YACpC,KAAK,CAAC,gBAAgB,GAAG,MAAM,CAAC,KAAK,CAAC;YACtC,KAAK,CAAC,cAAc,GAAG,MAAM,CAAC,GAAG,CAAC;YAClC,MAAM;QACR,KAAK,OAAO;YACV,KAAK,CAAC,gBAAgB,GAAG,MAAM,CAAC,KAAK,CAAC;YACtC,KAAK,CAAC,eAAe,GAAG,MAAM,CAAC,GAAG,CAAC;YACnC,KAAK,CAAC,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC;YACpC,MAAM;QACR,KAAK,KAAK;YACR,KAAK,CAAC,cAAc,GAAG,MAAM,CAAC,GAAG,CAAC;YAClC,KAAK,CAAC,eAAe,GAAG,MAAM,CAAC,GAAG,CAAC;YACnC,KAAK,CAAC,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC;YACpC,MAAM;IACV,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,SAAS,oBAAoB,CAAC,EAC5B,SAAS,EACT,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,EACxC,YAAY,EAAE,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,EAAE,YAAY,EAAE,GAAG,EAAE,GACA;IAC3D,MAAM,KAAK,GAAwB,EAAE,CAAC;IACtC,MAAM,MAAM,GAAG,EAAE,GAAG,EAAE,GAAG,aAAH,GAAG,cAAH,GAAG,GAAI,CAAC,EAAE,MAAM,EAAE,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,CAAC,EAAE,KAAK,EAAE,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,CAAC,EAAE,GAAG,EAAE,GAAG,aAAH,GAAG,cAAH,GAAG,GAAI,CAAC,EAAE,CAAC;IACxF,MAAM,YAAY,GAAG,EAAE,GAAG,EAAE,SAAS,aAAT,SAAS,cAAT,SAAS,GAAI,CAAC,EAAE,MAAM,EAAE,YAAY,aAAZ,YAAY,cAAZ,YAAY,GAAI,CAAC,EAAE,CAAC;IACxE,QAAQ,SAAS,EAAE,CAAC;QAClB,KAAK,KAAK;YACR,KAAK,CAAC,eAAe,GAAG,YAAY,CAAC,GAAG,CAAC;YACzC,KAAK,CAAC,gBAAgB,GAAG,MAAM,CAAC,GAAG,CAAC;YACpC,KAAK,CAAC,iBAAiB,GAAG,MAAM,CAAC,KAAK,CAAC;YACvC,KAAK,CAAC,eAAe,GAAG,MAAM,CAAC,GAAG,CAAC;YACnC,KAAK,CAAC,UAAU,GAAG,eAAe,MAAM,CAAC,KAAK,GAAG,MAAM,CAAC,GAAG,KAAK,CAAC;YACjE,MAAM;QACR,KAAK,QAAQ;YACX,KAAK,CAAC,aAAa,GAAG,YAAY,CAAC,MAAM,CAAC;YAC1C,KAAK,CAAC,cAAc,GAAG,MAAM,CAAC,MAAM,CAAC;YACrC,KAAK,CAAC,iBAAiB,GAAG,MAAM,CAAC,KAAK,CAAC;YACvC,KAAK,CAAC,eAAe,GAAG,MAAM,CAAC,GAAG,CAAC;YACnC,KAAK,CAAC,UAAU,GAAG,eAAe,MAAM,CAAC,KAAK,GAAG,MAAM,CAAC,GAAG,KAAK,CAAC;YACjE,MAAM;IACV,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport React from 'react';\nimport clsx from 'clsx';\n\nimport { warnOnce } from '@cloudscape-design/component-toolkit/internal';\n\nimport { DrawerProps } from './interfaces';\n\nimport styles from './styles.css.js';\n\ntype PositionProps = Pick<DrawerProps, 'position' | 'placement' | 'offset' | 'stickyOffset' | 'zIndex'>;\n\nexport function getPositionStyles({ position, zIndex, ...props }: PositionProps): {\n className: string;\n style: React.CSSProperties;\n} {\n if (position === 'sticky' && (props.placement === 'start' || props.placement === 'end')) {\n warnOnce(\n 'Drawer',\n `position=\"sticky\" is not supported with placement=\"${props.placement}\" and falls back to position=\"static\".`\n );\n position = 'static';\n }\n switch (position) {\n case 'absolute':\n return getStyles(position, { position: 'absolute', zIndex, ...computeAbsoluteOffsets(props) }, props.placement);\n case 'sticky':\n return getStyles(position, { position: 'sticky', zIndex, ...computeStickyOffsets(props) }, props.placement);\n case 'fixed':\n return getStyles(position, { position: 'fixed', zIndex, ...computeAbsoluteOffsets(props) }, props.placement);\n case 'static':\n default:\n return getStyles(position);\n }\n}\n\nfunction getStyles(\n position: DrawerProps.Position = 'static',\n style: React.CSSProperties = {},\n placement?: DrawerProps.Placement\n) {\n return { className: clsx(styles[`position-${position}`], placement && styles[`placement-${placement}`]), style };\n}\n\nfunction computeAbsoluteOffsets({\n placement,\n offset: { top, bottom, start, end } = {},\n}: Pick<DrawerProps, 'placement' | 'offset'>) {\n const style: React.CSSProperties = {};\n const offset = { top: top ?? 0, bottom: bottom ?? 0, start: start ?? 0, end: end ?? 0 };\n switch (placement) {\n case 'top':\n style.insetBlockStart = offset.top;\n style.insetInlineStart = offset.start;\n style.insetInlineEnd = offset.end;\n break;\n case 'bottom':\n style.insetBlockEnd = offset.bottom;\n style.insetInlineStart = offset.start;\n style.insetInlineEnd = offset.end;\n break;\n case 'start':\n style.insetInlineStart = offset.start;\n style.insetBlockStart = offset.top;\n style.insetBlockEnd = offset.bottom;\n break;\n case 'end':\n style.insetInlineEnd = offset.end;\n style.insetBlockStart = offset.top;\n style.insetBlockEnd = offset.bottom;\n break;\n }\n return style;\n}\n\nfunction computeStickyOffsets({\n placement,\n offset: { top, bottom, start, end } = {},\n stickyOffset: { top: stickyTop, bottom: stickyBottom } = {},\n}: Pick<DrawerProps, 'placement' | 'offset' | 'stickyOffset'>) {\n const style: React.CSSProperties = {};\n const offset = { top: top ?? 0, bottom: bottom ?? 0, start: start ?? 0, end: end ?? 0 };\n const stickyOffset = { top: stickyTop ?? 0, bottom: stickyBottom ?? 0 };\n switch (placement) {\n case 'top':\n style.insetBlockStart = stickyOffset.top;\n style.marginBlockStart = offset.top;\n style.marginInlineStart = offset.start;\n style.marginInlineEnd = offset.end;\n style.inlineSize = `calc(100% - ${offset.start + offset.end}px)`;\n break;\n case 'bottom':\n style.insetBlockEnd = stickyOffset.bottom;\n style.marginBlockEnd = offset.bottom;\n style.marginInlineStart = offset.start;\n style.marginInlineEnd = offset.end;\n style.inlineSize = `calc(100% - ${offset.start + offset.end}px)`;\n break;\n }\n return style;\n}\n"]}
|
package/form-field/styles.css.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"error-icon-shake-wrapper": "awsui_error-icon-shake-
|
|
5
|
-
"warning-icon-shake-wrapper": "awsui_warning-icon-shake-
|
|
6
|
-
"awsui-motion-shake-horizontally": "awsui_awsui-motion-shake-
|
|
7
|
-
"error-icon-scale-wrapper": "awsui_error-icon-scale-
|
|
8
|
-
"warning-icon-scale-wrapper": "awsui_warning-icon-scale-
|
|
9
|
-
"awsui-motion-scale-popup": "awsui_awsui-motion-scale-
|
|
10
|
-
"warning": "
|
|
11
|
-
"error": "
|
|
12
|
-
"awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-
|
|
13
|
-
"root": "
|
|
14
|
-
"label": "
|
|
15
|
-
"info": "
|
|
16
|
-
"description": "
|
|
17
|
-
"constraint": "
|
|
18
|
-
"hints": "
|
|
19
|
-
"constraint-has-validation-text": "awsui_constraint-has-validation-
|
|
20
|
-
"secondary-control": "awsui_secondary-
|
|
21
|
-
"controls": "
|
|
22
|
-
"label-hidden": "awsui_label-
|
|
23
|
-
"label-wrapper": "awsui_label-
|
|
24
|
-
"control": "
|
|
25
|
-
"error__message": "
|
|
26
|
-
"warning__message": "
|
|
27
|
-
"visually-hidden": "awsui_visually-
|
|
4
|
+
"error-icon-shake-wrapper": "awsui_error-icon-shake-wrapper_14mhv_ilwf6_153",
|
|
5
|
+
"warning-icon-shake-wrapper": "awsui_warning-icon-shake-wrapper_14mhv_ilwf6_154",
|
|
6
|
+
"awsui-motion-shake-horizontally": "awsui_awsui-motion-shake-horizontally_14mhv_ilwf6_1",
|
|
7
|
+
"error-icon-scale-wrapper": "awsui_error-icon-scale-wrapper_14mhv_ilwf6_184",
|
|
8
|
+
"warning-icon-scale-wrapper": "awsui_warning-icon-scale-wrapper_14mhv_ilwf6_185",
|
|
9
|
+
"awsui-motion-scale-popup": "awsui_awsui-motion-scale-popup_14mhv_ilwf6_1",
|
|
10
|
+
"warning": "awsui_warning_14mhv_ilwf6_154",
|
|
11
|
+
"error": "awsui_error_14mhv_ilwf6_153",
|
|
12
|
+
"awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_14mhv_ilwf6_1",
|
|
13
|
+
"root": "awsui_root_14mhv_ilwf6_236",
|
|
14
|
+
"label": "awsui_label_14mhv_ilwf6_269",
|
|
15
|
+
"info": "awsui_info_14mhv_ilwf6_285",
|
|
16
|
+
"description": "awsui_description_14mhv_ilwf6_291",
|
|
17
|
+
"constraint": "awsui_constraint_14mhv_ilwf6_292",
|
|
18
|
+
"hints": "awsui_hints_14mhv_ilwf6_299",
|
|
19
|
+
"constraint-has-validation-text": "awsui_constraint-has-validation-text_14mhv_ilwf6_300",
|
|
20
|
+
"secondary-control": "awsui_secondary-control_14mhv_ilwf6_304",
|
|
21
|
+
"controls": "awsui_controls_14mhv_ilwf6_308",
|
|
22
|
+
"label-hidden": "awsui_label-hidden_14mhv_ilwf6_308",
|
|
23
|
+
"label-wrapper": "awsui_label-wrapper_14mhv_ilwf6_311",
|
|
24
|
+
"control": "awsui_control_14mhv_ilwf6_308",
|
|
25
|
+
"error__message": "awsui_error__message_14mhv_ilwf6_338",
|
|
26
|
+
"warning__message": "awsui_warning__message_14mhv_ilwf6_339",
|
|
27
|
+
"visually-hidden": "awsui_visually-hidden_14mhv_ilwf6_343"
|
|
28
28
|
};
|
|
29
29
|
|
|
@@ -150,11 +150,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
150
150
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
151
151
|
SPDX-License-Identifier: Apache-2.0
|
|
152
152
|
*/
|
|
153
|
-
.awsui_error-icon-shake-
|
|
154
|
-
.awsui_warning-icon-shake-
|
|
155
|
-
animation: awsui_awsui-motion-shake-
|
|
153
|
+
.awsui_error-icon-shake-wrapper_14mhv_ilwf6_153:not(#\9),
|
|
154
|
+
.awsui_warning-icon-shake-wrapper_14mhv_ilwf6_154:not(#\9) {
|
|
155
|
+
animation: awsui_awsui-motion-shake-horizontally_14mhv_ilwf6_1 var(--motion-duration-refresh-only-medium-5rbn3k, 165ms);
|
|
156
156
|
}
|
|
157
|
-
@keyframes awsui_awsui-motion-shake-
|
|
157
|
+
@keyframes awsui_awsui-motion-shake-horizontally_14mhv_ilwf6_1 {
|
|
158
158
|
0% {
|
|
159
159
|
transform: translateX(-5px);
|
|
160
160
|
animation-timing-function: linear;
|
|
@@ -168,22 +168,22 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
@media (prefers-reduced-motion: reduce) {
|
|
171
|
-
.awsui_error-icon-shake-
|
|
172
|
-
.awsui_warning-icon-shake-
|
|
171
|
+
.awsui_error-icon-shake-wrapper_14mhv_ilwf6_153:not(#\9),
|
|
172
|
+
.awsui_warning-icon-shake-wrapper_14mhv_ilwf6_154:not(#\9) {
|
|
173
173
|
animation: none;
|
|
174
174
|
transition: none;
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
|
-
.awsui-motion-disabled .awsui_error-icon-shake-
|
|
177
|
+
.awsui-motion-disabled .awsui_error-icon-shake-wrapper_14mhv_ilwf6_153:not(#\9), .awsui-mode-entering .awsui_error-icon-shake-wrapper_14mhv_ilwf6_153:not(#\9), .awsui-motion-disabled .awsui_warning-icon-shake-wrapper_14mhv_ilwf6_154:not(#\9), .awsui-mode-entering .awsui_warning-icon-shake-wrapper_14mhv_ilwf6_154:not(#\9) {
|
|
178
178
|
animation: none;
|
|
179
179
|
transition: none;
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
.awsui_error-icon-scale-
|
|
183
|
-
.awsui_warning-icon-scale-
|
|
184
|
-
animation: awsui_awsui-motion-scale-
|
|
182
|
+
.awsui_error-icon-scale-wrapper_14mhv_ilwf6_184:not(#\9),
|
|
183
|
+
.awsui_warning-icon-scale-wrapper_14mhv_ilwf6_185:not(#\9) {
|
|
184
|
+
animation: awsui_awsui-motion-scale-popup_14mhv_ilwf6_1 var(--motion-duration-refresh-only-medium-5rbn3k, 165ms) var(--motion-easing-refresh-only-a-ccyqaz, cubic-bezier(0, 0, 0, 1));
|
|
185
185
|
}
|
|
186
|
-
@keyframes awsui_awsui-motion-scale-
|
|
186
|
+
@keyframes awsui_awsui-motion-scale-popup_14mhv_ilwf6_1 {
|
|
187
187
|
0% {
|
|
188
188
|
transform: scale(0.95);
|
|
189
189
|
}
|
|
@@ -192,22 +192,22 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
@media (prefers-reduced-motion: reduce) {
|
|
195
|
-
.awsui_error-icon-scale-
|
|
196
|
-
.awsui_warning-icon-scale-
|
|
195
|
+
.awsui_error-icon-scale-wrapper_14mhv_ilwf6_184:not(#\9),
|
|
196
|
+
.awsui_warning-icon-scale-wrapper_14mhv_ilwf6_185:not(#\9) {
|
|
197
197
|
animation: none;
|
|
198
198
|
transition: none;
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
|
-
.awsui-motion-disabled .awsui_error-icon-scale-
|
|
201
|
+
.awsui-motion-disabled .awsui_error-icon-scale-wrapper_14mhv_ilwf6_184:not(#\9), .awsui-mode-entering .awsui_error-icon-scale-wrapper_14mhv_ilwf6_184:not(#\9), .awsui-motion-disabled .awsui_warning-icon-scale-wrapper_14mhv_ilwf6_185:not(#\9), .awsui-mode-entering .awsui_warning-icon-scale-wrapper_14mhv_ilwf6_185:not(#\9) {
|
|
202
202
|
animation: none;
|
|
203
203
|
transition: none;
|
|
204
204
|
}
|
|
205
205
|
|
|
206
|
-
.
|
|
207
|
-
.
|
|
208
|
-
animation: awsui_awsui-motion-fade-in-
|
|
206
|
+
.awsui_warning_14mhv_ilwf6_154:not(#\9),
|
|
207
|
+
.awsui_error_14mhv_ilwf6_153:not(#\9) {
|
|
208
|
+
animation: awsui_awsui-motion-fade-in-0_14mhv_ilwf6_1 var(--motion-duration-refresh-only-medium-5rbn3k, 165ms) var(--motion-easing-refresh-only-a-ccyqaz, cubic-bezier(0, 0, 0, 1));
|
|
209
209
|
}
|
|
210
|
-
@keyframes awsui_awsui-motion-fade-in-
|
|
210
|
+
@keyframes awsui_awsui-motion-fade-in-0_14mhv_ilwf6_1 {
|
|
211
211
|
from {
|
|
212
212
|
opacity: 0;
|
|
213
213
|
}
|
|
@@ -216,18 +216,18 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
218
|
@media (prefers-reduced-motion: reduce) {
|
|
219
|
-
.
|
|
220
|
-
.
|
|
219
|
+
.awsui_warning_14mhv_ilwf6_154:not(#\9),
|
|
220
|
+
.awsui_error_14mhv_ilwf6_153:not(#\9) {
|
|
221
221
|
animation: none;
|
|
222
222
|
transition: none;
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
|
-
.awsui-motion-disabled .
|
|
225
|
+
.awsui-motion-disabled .awsui_warning_14mhv_ilwf6_154:not(#\9), .awsui-mode-entering .awsui_warning_14mhv_ilwf6_154:not(#\9), .awsui-motion-disabled .awsui_error_14mhv_ilwf6_153:not(#\9), .awsui-mode-entering .awsui_error_14mhv_ilwf6_153:not(#\9) {
|
|
226
226
|
animation: none;
|
|
227
227
|
transition: none;
|
|
228
228
|
}
|
|
229
229
|
|
|
230
|
-
.
|
|
230
|
+
.awsui_root_14mhv_ilwf6_236:not(#\9) {
|
|
231
231
|
border-collapse: separate;
|
|
232
232
|
border-spacing: 0;
|
|
233
233
|
box-sizing: border-box;
|
|
@@ -260,58 +260,58 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
260
260
|
box-sizing: border-box;
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
.
|
|
263
|
+
.awsui_label_14mhv_ilwf6_269:not(#\9) {
|
|
264
264
|
box-sizing: border-box;
|
|
265
265
|
color: var(--color-text-form-label-6sbm75, #0f141a);
|
|
266
266
|
display: inline;
|
|
267
267
|
-webkit-font-smoothing: var(--font-smoothing-webkit-oemolo, antialiased);
|
|
268
268
|
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-hbm0aq, grayscale);
|
|
269
|
-
font-size: var(--font-size-
|
|
270
|
-
line-height: var(--line-height-
|
|
271
|
-
font-weight: var(--font-
|
|
269
|
+
font-size: var(--font-size-form-label-mxiqd7, 14px);
|
|
270
|
+
line-height: var(--line-height-form-label-asu26u, 20px);
|
|
271
|
+
font-weight: var(--font-weight-form-label-mrg9ef, 700);
|
|
272
272
|
margin-inline-end: var(--space-xs-ymlm0b, 8px);
|
|
273
273
|
}
|
|
274
|
-
.
|
|
274
|
+
.awsui_label_14mhv_ilwf6_269:not(#\9):only-child {
|
|
275
275
|
margin-block: 0;
|
|
276
276
|
margin-inline: 0;
|
|
277
277
|
}
|
|
278
278
|
|
|
279
|
-
.
|
|
279
|
+
.awsui_info_14mhv_ilwf6_285:not(#\9) {
|
|
280
280
|
display: inline-flex;
|
|
281
281
|
padding-inline-start: var(--space-xs-ymlm0b, 8px);
|
|
282
282
|
border-inline-start: var(--border-divider-section-width-uwo8my, 1px) solid var(--color-border-divider-default-nr68jt, #c6c6cd);
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
.
|
|
286
|
-
.
|
|
285
|
+
.awsui_description_14mhv_ilwf6_291:not(#\9),
|
|
286
|
+
.awsui_constraint_14mhv_ilwf6_292:not(#\9) {
|
|
287
287
|
color: var(--color-text-form-secondary-1nm780, #656871);
|
|
288
288
|
font-size: var(--font-size-body-s-smc8cv, 12px);
|
|
289
289
|
line-height: var(--line-height-body-s-nu5hx1, 16px);
|
|
290
290
|
letter-spacing: var(--letter-spacing-body-s-gq78ok, 0.005em);
|
|
291
291
|
}
|
|
292
292
|
|
|
293
|
-
.
|
|
294
|
-
.awsui_constraint-has-validation-
|
|
293
|
+
.awsui_hints_14mhv_ilwf6_299:not(#\9),
|
|
294
|
+
.awsui_constraint-has-validation-text_14mhv_ilwf6_300:not(#\9) {
|
|
295
295
|
padding-block-start: var(--space-xxs-hwfkai, 4px);
|
|
296
296
|
}
|
|
297
297
|
|
|
298
|
-
.awsui_secondary-
|
|
298
|
+
.awsui_secondary-control_14mhv_ilwf6_304:not(#\9) {
|
|
299
299
|
/* used in test-utils */
|
|
300
300
|
}
|
|
301
301
|
|
|
302
|
-
.
|
|
302
|
+
.awsui_controls_14mhv_ilwf6_308:not(#\9):not(.awsui_label-hidden_14mhv_ilwf6_308) {
|
|
303
303
|
padding-block-start: var(--space-xxs-hwfkai, 4px);
|
|
304
304
|
}
|
|
305
|
-
.awsui_label-
|
|
305
|
+
.awsui_label-wrapper_14mhv_ilwf6_311:not(#\9):empty + .awsui_controls_14mhv_ilwf6_308 {
|
|
306
306
|
padding-block-start: 0;
|
|
307
307
|
}
|
|
308
308
|
|
|
309
|
-
.
|
|
309
|
+
.awsui_control_14mhv_ilwf6_308:not(#\9) {
|
|
310
310
|
min-inline-size: 0;
|
|
311
311
|
word-break: break-word;
|
|
312
312
|
}
|
|
313
313
|
|
|
314
|
-
.
|
|
314
|
+
.awsui_error_14mhv_ilwf6_153:not(#\9) {
|
|
315
315
|
color: var(--color-text-status-error-ksqavh, #db0000);
|
|
316
316
|
font-size: var(--font-size-body-s-smc8cv, 12px);
|
|
317
317
|
line-height: var(--line-height-body-s-nu5hx1, 16px);
|
|
@@ -320,7 +320,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
320
320
|
align-items: flex-start;
|
|
321
321
|
}
|
|
322
322
|
|
|
323
|
-
.
|
|
323
|
+
.awsui_warning_14mhv_ilwf6_154:not(#\9) {
|
|
324
324
|
color: var(--color-text-status-warning-6meo06, #855900);
|
|
325
325
|
font-size: var(--font-size-body-s-smc8cv, 12px);
|
|
326
326
|
line-height: var(--line-height-body-s-nu5hx1, 16px);
|
|
@@ -329,12 +329,12 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
329
329
|
align-items: flex-start;
|
|
330
330
|
}
|
|
331
331
|
|
|
332
|
-
.
|
|
333
|
-
.
|
|
332
|
+
.awsui_error__message_14mhv_ilwf6_338:not(#\9),
|
|
333
|
+
.awsui_warning__message_14mhv_ilwf6_339:not(#\9) {
|
|
334
334
|
margin-inline-start: var(--space-xxs-hwfkai, 4px);
|
|
335
335
|
}
|
|
336
336
|
|
|
337
|
-
.awsui_visually-
|
|
337
|
+
.awsui_visually-hidden_14mhv_ilwf6_343:not(#\9) {
|
|
338
338
|
position: absolute !important;
|
|
339
339
|
inset-block-start: -9999px !important;
|
|
340
340
|
inset-inline-start: -9999px !important;
|