@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.
Files changed (123) hide show
  1. package/attribute-editor/styles.css.js +15 -15
  2. package/attribute-editor/styles.scoped.css +29 -28
  3. package/attribute-editor/styles.selectors.js +15 -15
  4. package/autosuggest/interfaces.d.ts +0 -2
  5. package/autosuggest/interfaces.d.ts.map +1 -1
  6. package/autosuggest/interfaces.js.map +1 -1
  7. package/breadcrumb-group/item/styles.css.js +7 -7
  8. package/breadcrumb-group/item/styles.scoped.css +30 -29
  9. package/breadcrumb-group/item/styles.selectors.js +7 -7
  10. package/breadcrumb-group/styles.css.js +14 -14
  11. package/breadcrumb-group/styles.scoped.css +25 -25
  12. package/breadcrumb-group/styles.selectors.js +14 -14
  13. package/button-dropdown/category-elements/category-element.js +1 -1
  14. package/button-dropdown/category-elements/category-element.js.map +1 -1
  15. package/button-dropdown/category-elements/expandable-category-element.js +1 -1
  16. package/button-dropdown/category-elements/expandable-category-element.js.map +1 -1
  17. package/button-dropdown/category-elements/mobile-expandable-category-element.js +1 -1
  18. package/button-dropdown/category-elements/mobile-expandable-category-element.js.map +1 -1
  19. package/button-dropdown/item-element/index.js +1 -1
  20. package/button-dropdown/item-element/index.js.map +1 -1
  21. package/button-dropdown/item-element/styles.css.js +21 -21
  22. package/button-dropdown/item-element/styles.scoped.css +38 -37
  23. package/button-dropdown/item-element/styles.selectors.js +21 -21
  24. package/copy-to-clipboard/index.d.ts +1 -0
  25. package/copy-to-clipboard/index.d.ts.map +1 -1
  26. package/copy-to-clipboard/index.js +2 -2
  27. package/copy-to-clipboard/index.js.map +1 -1
  28. package/copy-to-clipboard/interfaces.d.ts +5 -0
  29. package/copy-to-clipboard/interfaces.d.ts.map +1 -1
  30. package/copy-to-clipboard/interfaces.js.map +1 -1
  31. package/copy-to-clipboard/internal.d.ts +1 -0
  32. package/copy-to-clipboard/internal.d.ts.map +1 -1
  33. package/copy-to-clipboard/internal.js +3 -3
  34. package/copy-to-clipboard/internal.js.map +1 -1
  35. package/copy-to-clipboard/styles.css.js +5 -3
  36. package/copy-to-clipboard/styles.scoped.css +18 -3
  37. package/copy-to-clipboard/styles.selectors.js +5 -3
  38. package/drawer/implementation.d.ts +3 -3
  39. package/drawer/implementation.d.ts.map +1 -1
  40. package/drawer/implementation.js +3 -2
  41. package/drawer/implementation.js.map +1 -1
  42. package/drawer/index.d.ts +2 -10
  43. package/drawer/index.d.ts.map +1 -1
  44. package/drawer/index.js +21 -9
  45. package/drawer/index.js.map +1 -1
  46. package/drawer/interfaces.d.ts +45 -18
  47. package/drawer/interfaces.d.ts.map +1 -1
  48. package/drawer/interfaces.js.map +1 -1
  49. package/drawer/styles.css.js +29 -25
  50. package/drawer/styles.scoped.css +43 -34
  51. package/drawer/styles.selectors.js +29 -25
  52. package/drawer/utils.d.ts +2 -2
  53. package/drawer/utils.d.ts.map +1 -1
  54. package/drawer/utils.js +6 -5
  55. package/drawer/utils.js.map +1 -1
  56. package/form-field/styles.css.js +24 -24
  57. package/form-field/styles.scoped.css +41 -41
  58. package/form-field/styles.selectors.js +24 -24
  59. package/help-panel/styles.css.js +6 -6
  60. package/help-panel/styles.scoped.css +73 -71
  61. package/help-panel/styles.selectors.js +6 -6
  62. package/internal/base-component/styles.scoped.css +31 -13
  63. package/internal/components/token-list/styles.css.js +10 -10
  64. package/internal/components/token-list/styles.scoped.css +24 -23
  65. package/internal/components/token-list/styles.selectors.js +10 -10
  66. package/internal/environment.js +2 -2
  67. package/internal/environment.json +2 -2
  68. package/internal/generated/styles/tokens.d.ts +25 -12
  69. package/internal/generated/styles/tokens.js +25 -12
  70. package/internal/generated/theming/index.cjs +196 -58
  71. package/internal/generated/theming/index.cjs.d.ts +234 -99
  72. package/internal/generated/theming/index.d.ts +234 -99
  73. package/internal/generated/theming/index.js +196 -58
  74. package/internal/manifest.json +1 -1
  75. package/key-value-pairs/styles.css.js +8 -8
  76. package/key-value-pairs/styles.scoped.css +13 -12
  77. package/key-value-pairs/styles.selectors.js +8 -8
  78. package/link/internal.js +1 -1
  79. package/link/internal.js.map +1 -1
  80. package/link/styles.css.js +21 -21
  81. package/link/styles.scoped.css +94 -84
  82. package/link/styles.selectors.js +21 -21
  83. package/manifest.json +5 -0
  84. package/multiselect/interfaces.d.ts +0 -2
  85. package/multiselect/interfaces.d.ts.map +1 -1
  86. package/multiselect/interfaces.js.map +1 -1
  87. package/package.json +1 -1
  88. package/pagination/index.d.ts.map +1 -1
  89. package/pagination/index.js +4 -1
  90. package/pagination/index.js.map +1 -1
  91. package/prompt-input/interfaces.d.ts +0 -2
  92. package/prompt-input/interfaces.d.ts.map +1 -1
  93. package/prompt-input/interfaces.js.map +1 -1
  94. package/select/interfaces.d.ts +0 -2
  95. package/select/interfaces.d.ts.map +1 -1
  96. package/select/interfaces.js.map +1 -1
  97. package/status-indicator/internal.js +1 -1
  98. package/status-indicator/internal.js.map +1 -1
  99. package/table/body-cell/td-element.js +1 -1
  100. package/table/body-cell/td-element.js.map +1 -1
  101. package/tag-editor/styles.css.js +3 -3
  102. package/tag-editor/styles.scoped.css +12 -11
  103. package/tag-editor/styles.selectors.js +3 -3
  104. package/test-utils/dom/drawer/index.d.ts +2 -0
  105. package/test-utils/dom/drawer/index.js +6 -0
  106. package/test-utils/dom/drawer/index.js.map +1 -1
  107. package/test-utils/selectors/drawer/index.d.ts +2 -0
  108. package/test-utils/selectors/drawer/index.js +6 -0
  109. package/test-utils/selectors/drawer/index.js.map +1 -1
  110. package/text-content/styles.css.js +1 -1
  111. package/text-content/styles.scoped.css +68 -66
  112. package/text-content/styles.selectors.js +1 -1
  113. package/tooltip/index.d.ts +0 -3
  114. package/tooltip/index.d.ts.map +1 -1
  115. package/tooltip/index.js +0 -3
  116. package/tooltip/index.js.map +1 -1
  117. package/wizard/interfaces.d.ts +0 -2
  118. package/wizard/interfaces.d.ts.map +1 -1
  119. package/wizard/interfaces.js.map +1 -1
  120. package/drawer/next.d.ts +0 -5
  121. package/drawer/next.d.ts.map +0 -1
  122. package/drawer/next.js +0 -38
  123. package/drawer/next.js.map +0 -1
@@ -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
- .awsui_root_1sxt8_1cneo_193:not(#\9) {
193
+ .awsui_root_1sxt8_ygv0p_193:not(#\9) {
194
194
  display: contents;
195
195
  }
196
196
 
197
- .awsui_drawer_1sxt8_1cneo_197:not(#\9) {
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
- .awsui_drawer_1sxt8_1cneo_197.awsui_has-close-action_1sxt8_1cneo_230:not(#\9) {
230
+ .awsui_drawer_1sxt8_ygv0p_197.awsui_has-close-action_1sxt8_ygv0p_230:not(#\9) {
231
231
  position: relative;
232
232
  }
233
- .awsui_drawer_1sxt8_1cneo_197.awsui_position-absolute_1sxt8_1cneo_233:not(#\9), .awsui_drawer_1sxt8_1cneo_197.awsui_position-sticky_1sxt8_1cneo_233:not(#\9), .awsui_drawer_1sxt8_1cneo_197.awsui_position-fixed_1sxt8_1cneo_233:not(#\9) {
234
- box-shadow: var(--shadow-panel-vk7iea, 0px 0px 0px 1px #b6bec9);
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
- .awsui_drawer_1sxt8_1cneo_197.awsui_with-footer_1sxt8_1cneo_236:not(#\9) {
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
- .awsui_drawer_1sxt8_1cneo_197.awsui_with-footer_1sxt8_1cneo_236.awsui_position-static_1sxt8_1cneo_240:not(#\9) {
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
- .awsui_drawer_1sxt8_1cneo_197.awsui_with-footer_1sxt8_1cneo_236 > .awsui_content_1sxt8_1cneo_243:not(#\9) {
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
- .awsui_drawer_1sxt8_1cneo_197:not(#\9):focus {
255
+ .awsui_drawer_1sxt8_ygv0p_197:not(#\9):focus {
247
256
  outline: none;
248
257
  }
249
- body[data-awsui-focus-visible=true] .awsui_drawer_1sxt8_1cneo_197:not(#\9):focus {
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] .awsui_drawer_1sxt8_1cneo_197:not(#\9):focus {
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] .awsui_drawer_1sxt8_1cneo_197:not(#\9):focus::before {
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
- .awsui_header_1sxt8_1cneo_271:not(#\9) {
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
- .awsui_header_1sxt8_1cneo_271.awsui_hide-close-action_1sxt8_1cneo_287:not(#\9) {
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
- .awsui_header_1sxt8_1cneo_271.awsui_with-additional-action_1sxt8_1cneo_291:not(#\9) {
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
- .awsui_header_1sxt8_1cneo_271.awsui_with-runtime-context_1sxt8_1cneo_299:not(#\9) {
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-toolbar_1sxt8_1cneo_302 > .awsui_header_1sxt8_1cneo_271:not(#\9) {
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
- .awsui_header_1sxt8_1cneo_271 h2:not(#\9),
307
- .awsui_header_1sxt8_1cneo_271 h3:not(#\9),
308
- .awsui_header_1sxt8_1cneo_271 h4:not(#\9),
309
- .awsui_header_1sxt8_1cneo_271 h5:not(#\9),
310
- .awsui_header_1sxt8_1cneo_271 h6:not(#\9) {
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-actions_1sxt8_1cneo_321:not(#\9) {
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-action_1sxt8_1cneo_327:not(#\9) {
336
+ .awsui_close-action_1sxt8_ygv0p_336:not(#\9) {
328
337
  position: absolute;
329
- inset-block-start: var(--space-panel-header-vertical-ckfgmy, 20px);
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-paddings_1sxt8_1cneo_333:not(#\9):not(:empty) {
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
- .awsui_footer_1sxt8_1cneo_340:not(#\9) {
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
- .awsui_footer_1sxt8_1cneo_340.awsui_is-sticky_1sxt8_1cneo_346:not(#\9) {
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-content_1sxt8_1cneo_354:not(#\9) {
363
+ .awsui_test-utils-drawer-content_1sxt8_ygv0p_363:not(#\9) {
355
364
  /* used in test-utils */
356
365
  }
357
366
 
358
- .awsui_hidden_1sxt8_1cneo_358:not(#\9) {
367
+ .awsui_hidden_1sxt8_ygv0p_367:not(#\9) {
359
368
  display: none;
360
369
  }
361
370
 
362
- .awsui_focus-trap_1sxt8_1cneo_362:not(#\9) {
371
+ .awsui_focus-trap_1sxt8_ygv0p_371:not(#\9) {
363
372
  display: contents;
364
373
  }
365
374
 
366
- .awsui_backdrop_1sxt8_1cneo_366:not(#\9) {
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
- .awsui_backdrop_1sxt8_1cneo_366.awsui_backdrop-fixed_1sxt8_1cneo_370:not(#\9) {
379
+ .awsui_backdrop_1sxt8_ygv0p_375.awsui_backdrop-fixed_1sxt8_ygv0p_379:not(#\9) {
371
380
  position: fixed;
372
381
  }
373
- .awsui_backdrop_1sxt8_1cneo_366.awsui_backdrop-absolute_1sxt8_1cneo_373:not(#\9) {
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": "awsui_root_1sxt8_1cneo_193",
6
- "drawer": "awsui_drawer_1sxt8_1cneo_197",
7
- "has-close-action": "awsui_has-close-action_1sxt8_1cneo_230",
8
- "position-absolute": "awsui_position-absolute_1sxt8_1cneo_233",
9
- "position-sticky": "awsui_position-sticky_1sxt8_1cneo_233",
10
- "position-fixed": "awsui_position-fixed_1sxt8_1cneo_233",
11
- "with-footer": "awsui_with-footer_1sxt8_1cneo_236",
12
- "position-static": "awsui_position-static_1sxt8_1cneo_240",
13
- "content": "awsui_content_1sxt8_1cneo_243",
14
- "header": "awsui_header_1sxt8_1cneo_271",
15
- "hide-close-action": "awsui_hide-close-action_1sxt8_1cneo_287",
16
- "with-additional-action": "awsui_with-additional-action_1sxt8_1cneo_291",
17
- "with-runtime-context": "awsui_with-runtime-context_1sxt8_1cneo_299",
18
- "with-toolbar": "awsui_with-toolbar_1sxt8_1cneo_302",
19
- "header-actions": "awsui_header-actions_1sxt8_1cneo_321",
20
- "close-action": "awsui_close-action_1sxt8_1cneo_327",
21
- "content-with-paddings": "awsui_content-with-paddings_1sxt8_1cneo_333",
22
- "footer": "awsui_footer_1sxt8_1cneo_340",
23
- "is-sticky": "awsui_is-sticky_1sxt8_1cneo_346",
24
- "test-utils-drawer-content": "awsui_test-utils-drawer-content_1sxt8_1cneo_354",
25
- "hidden": "awsui_hidden_1sxt8_1cneo_358",
26
- "focus-trap": "awsui_focus-trap_1sxt8_1cneo_362",
27
- "backdrop": "awsui_backdrop_1sxt8_1cneo_366",
28
- "backdrop-fixed": "awsui_backdrop-fixed_1sxt8_1cneo_370",
29
- "backdrop-absolute": "awsui_backdrop-absolute_1sxt8_1cneo_373"
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 { NextDrawerProps } from './interfaces';
3
- type PositionProps = Pick<NextDrawerProps, 'position' | 'placement' | 'offset' | 'stickyOffset' | 'zIndex'>;
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,
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/drawer/utils.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAI/C,KAAK,aAAa,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,GAAG,WAAW,GAAG,QAAQ,GAAG,cAAc,GAAG,QAAQ,CAAC,CAAC;AAE5G,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"}
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 = {};
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/drawer/utils.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAItC,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,CAAC,CAAC;QACjG,KAAK,QAAQ;YACX,OAAO,SAAS,CAAC,QAAQ,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,oBAAoB,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;QAC7F,KAA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G,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';\n\nimport { warnOnce } from '@cloudscape-design/component-toolkit/internal';\n\nimport { NextDrawerProps } from './interfaces';\n\nimport styles from './styles.css.js';\n\ntype PositionProps = Pick<NextDrawerProps, '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) });\n case 'sticky':\n return getStyles(position, { position: 'sticky', zIndex, ...computeStickyOffsets(props) });\n case 'fixed':\n return getStyles(position, { position: 'fixed', zIndex, ...computeAbsoluteOffsets(props) });\n case 'static':\n default:\n return getStyles(position);\n }\n}\n\nfunction getStyles(position: NextDrawerProps.Position = 'static', style: React.CSSProperties = {}) {\n return { className: styles[`position-${position}`], style };\n}\n\nfunction computeAbsoluteOffsets({\n placement,\n offset: { top, bottom, start, end } = {},\n}: Pick<NextDrawerProps, '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<NextDrawerProps, '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%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vC,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"]}
@@ -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-wrapper_14mhv_1a5zf_153",
5
- "warning-icon-shake-wrapper": "awsui_warning-icon-shake-wrapper_14mhv_1a5zf_154",
6
- "awsui-motion-shake-horizontally": "awsui_awsui-motion-shake-horizontally_14mhv_1a5zf_1",
7
- "error-icon-scale-wrapper": "awsui_error-icon-scale-wrapper_14mhv_1a5zf_184",
8
- "warning-icon-scale-wrapper": "awsui_warning-icon-scale-wrapper_14mhv_1a5zf_185",
9
- "awsui-motion-scale-popup": "awsui_awsui-motion-scale-popup_14mhv_1a5zf_1",
10
- "warning": "awsui_warning_14mhv_1a5zf_154",
11
- "error": "awsui_error_14mhv_1a5zf_153",
12
- "awsui-motion-fade-in-0": "awsui_awsui-motion-fade-in-0_14mhv_1a5zf_1",
13
- "root": "awsui_root_14mhv_1a5zf_236",
14
- "label": "awsui_label_14mhv_1a5zf_269",
15
- "info": "awsui_info_14mhv_1a5zf_285",
16
- "description": "awsui_description_14mhv_1a5zf_291",
17
- "constraint": "awsui_constraint_14mhv_1a5zf_292",
18
- "hints": "awsui_hints_14mhv_1a5zf_299",
19
- "constraint-has-validation-text": "awsui_constraint-has-validation-text_14mhv_1a5zf_300",
20
- "secondary-control": "awsui_secondary-control_14mhv_1a5zf_304",
21
- "controls": "awsui_controls_14mhv_1a5zf_308",
22
- "label-hidden": "awsui_label-hidden_14mhv_1a5zf_308",
23
- "label-wrapper": "awsui_label-wrapper_14mhv_1a5zf_311",
24
- "control": "awsui_control_14mhv_1a5zf_308",
25
- "error__message": "awsui_error__message_14mhv_1a5zf_338",
26
- "warning__message": "awsui_warning__message_14mhv_1a5zf_339",
27
- "visually-hidden": "awsui_visually-hidden_14mhv_1a5zf_343"
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-wrapper_14mhv_1a5zf_153:not(#\9),
154
- .awsui_warning-icon-shake-wrapper_14mhv_1a5zf_154:not(#\9) {
155
- animation: awsui_awsui-motion-shake-horizontally_14mhv_1a5zf_1 var(--motion-duration-refresh-only-medium-5rbn3k, 165ms);
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-horizontally_14mhv_1a5zf_1 {
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-wrapper_14mhv_1a5zf_153:not(#\9),
172
- .awsui_warning-icon-shake-wrapper_14mhv_1a5zf_154:not(#\9) {
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-wrapper_14mhv_1a5zf_153:not(#\9), .awsui-mode-entering .awsui_error-icon-shake-wrapper_14mhv_1a5zf_153:not(#\9), .awsui-motion-disabled .awsui_warning-icon-shake-wrapper_14mhv_1a5zf_154:not(#\9), .awsui-mode-entering .awsui_warning-icon-shake-wrapper_14mhv_1a5zf_154:not(#\9) {
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-wrapper_14mhv_1a5zf_184:not(#\9),
183
- .awsui_warning-icon-scale-wrapper_14mhv_1a5zf_185:not(#\9) {
184
- animation: awsui_awsui-motion-scale-popup_14mhv_1a5zf_1 var(--motion-duration-refresh-only-medium-5rbn3k, 165ms) var(--motion-easing-refresh-only-a-ccyqaz, cubic-bezier(0, 0, 0, 1));
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-popup_14mhv_1a5zf_1 {
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-wrapper_14mhv_1a5zf_184:not(#\9),
196
- .awsui_warning-icon-scale-wrapper_14mhv_1a5zf_185:not(#\9) {
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-wrapper_14mhv_1a5zf_184:not(#\9), .awsui-mode-entering .awsui_error-icon-scale-wrapper_14mhv_1a5zf_184:not(#\9), .awsui-motion-disabled .awsui_warning-icon-scale-wrapper_14mhv_1a5zf_185:not(#\9), .awsui-mode-entering .awsui_warning-icon-scale-wrapper_14mhv_1a5zf_185:not(#\9) {
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
- .awsui_warning_14mhv_1a5zf_154:not(#\9),
207
- .awsui_error_14mhv_1a5zf_153:not(#\9) {
208
- animation: awsui_awsui-motion-fade-in-0_14mhv_1a5zf_1 var(--motion-duration-refresh-only-medium-5rbn3k, 165ms) var(--motion-easing-refresh-only-a-ccyqaz, cubic-bezier(0, 0, 0, 1));
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-0_14mhv_1a5zf_1 {
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
- .awsui_warning_14mhv_1a5zf_154:not(#\9),
220
- .awsui_error_14mhv_1a5zf_153:not(#\9) {
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 .awsui_warning_14mhv_1a5zf_154:not(#\9), .awsui-mode-entering .awsui_warning_14mhv_1a5zf_154:not(#\9), .awsui-motion-disabled .awsui_error_14mhv_1a5zf_153:not(#\9), .awsui-mode-entering .awsui_error_14mhv_1a5zf_153:not(#\9) {
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
- .awsui_root_14mhv_1a5zf_236:not(#\9) {
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
- .awsui_label_14mhv_1a5zf_269:not(#\9) {
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-body-m-a7nh2n, 14px);
270
- line-height: var(--line-height-body-m-2mh3ke, 20px);
271
- font-weight: var(--font-display-label-weight-zavpeo, 700);
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
- .awsui_label_14mhv_1a5zf_269:not(#\9):only-child {
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
- .awsui_info_14mhv_1a5zf_285:not(#\9) {
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
- .awsui_description_14mhv_1a5zf_291:not(#\9),
286
- .awsui_constraint_14mhv_1a5zf_292:not(#\9) {
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
- .awsui_hints_14mhv_1a5zf_299:not(#\9),
294
- .awsui_constraint-has-validation-text_14mhv_1a5zf_300:not(#\9) {
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-control_14mhv_1a5zf_304:not(#\9) {
298
+ .awsui_secondary-control_14mhv_ilwf6_304:not(#\9) {
299
299
  /* used in test-utils */
300
300
  }
301
301
 
302
- .awsui_controls_14mhv_1a5zf_308:not(#\9):not(.awsui_label-hidden_14mhv_1a5zf_308) {
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-wrapper_14mhv_1a5zf_311:not(#\9):empty + .awsui_controls_14mhv_1a5zf_308 {
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
- .awsui_control_14mhv_1a5zf_308:not(#\9) {
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
- .awsui_error_14mhv_1a5zf_153:not(#\9) {
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
- .awsui_warning_14mhv_1a5zf_154:not(#\9) {
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
- .awsui_error__message_14mhv_1a5zf_338:not(#\9),
333
- .awsui_warning__message_14mhv_1a5zf_339:not(#\9) {
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-hidden_14mhv_1a5zf_343:not(#\9) {
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;