@cloudscape-design/components 3.0.1035 → 3.0.1037

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 (57) hide show
  1. package/app-layout/visual-refresh/mobile-toolbar.js +2 -2
  2. package/app-layout/visual-refresh/mobile-toolbar.js.map +1 -1
  3. package/app-layout/visual-refresh/trigger-button.js +1 -1
  4. package/app-layout/visual-refresh/trigger-button.js.map +1 -1
  5. package/attribute-editor/internal.d.ts.map +1 -1
  6. package/attribute-editor/internal.js +1 -1
  7. package/attribute-editor/internal.js.map +1 -1
  8. package/button/index.d.ts.map +1 -1
  9. package/button/index.js +1 -1
  10. package/button/interfaces.d.ts +25 -0
  11. package/button/interfaces.d.ts.map +1 -1
  12. package/button/interfaces.js.map +1 -1
  13. package/button/internal-do-not-use-core.js +2 -2
  14. package/button/internal-do-not-use-core.js.map +1 -1
  15. package/button/internal.d.ts +2 -2
  16. package/button/internal.d.ts.map +1 -1
  17. package/button/internal.js +27 -26
  18. package/button/internal.js.map +1 -1
  19. package/button-dropdown/internal.js +1 -1
  20. package/button-dropdown/internal.js.map +1 -1
  21. package/code-editor/status-bar.d.ts.map +1 -1
  22. package/code-editor/status-bar.js +2 -2
  23. package/code-editor/status-bar.js.map +1 -1
  24. package/drawer/styles.css.js +8 -8
  25. package/drawer/styles.scoped.css +15 -13
  26. package/drawer/styles.selectors.js +8 -8
  27. package/file-input/internal.d.ts.map +1 -1
  28. package/file-input/internal.js +1 -1
  29. package/file-input/internal.js.map +1 -1
  30. package/help-panel/styles.css.js +6 -6
  31. package/help-panel/styles.scoped.css +69 -67
  32. package/help-panel/styles.selectors.js +6 -6
  33. package/internal/base-component/styles.scoped.css +1 -1
  34. package/internal/environment.js +2 -2
  35. package/internal/environment.json +2 -2
  36. package/internal/manifest.json +1 -1
  37. package/internal/utils/with-native-attributes.d.ts +15 -0
  38. package/internal/utils/with-native-attributes.d.ts.map +1 -0
  39. package/internal/utils/with-native-attributes.js +39 -0
  40. package/internal/utils/with-native-attributes.js.map +1 -0
  41. package/multiselect/use-multiselect.d.ts +1 -1
  42. package/package.json +1 -1
  43. package/select/parts/filter.d.ts +1 -1
  44. package/side-navigation/styles.css.js +30 -30
  45. package/side-navigation/styles.scoped.css +48 -46
  46. package/side-navigation/styles.selectors.js +30 -30
  47. package/split-panel/styles.css.js +27 -27
  48. package/split-panel/styles.scoped.css +45 -44
  49. package/split-panel/styles.selectors.js +27 -27
  50. package/toggle-button/index.js +11 -16
  51. package/toggle-button/internal-do-not-use-core.js +23 -0
  52. package/top-navigation/styles.css.js +47 -47
  53. package/top-navigation/styles.scoped.css +75 -73
  54. package/top-navigation/styles.selectors.js +47 -47
  55. package/tutorial-panel/components/tutorial-list/index.js +1 -1
  56. package/tutorial-panel/components/tutorial-list/index.js.map +1 -1
  57. /package/toggle-button/{index.js.map → internal-do-not-use-core.js.map} +0 -0
@@ -178,7 +178,7 @@
178
178
  */
179
179
  /* Style used for links in slots/components that are text heavy, to help links stand out among
180
180
  surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
181
- .awsui_help-panel_1d237_1m7i7_181:not(#\9) {
181
+ .awsui_help-panel_1d237_wbmoj_181:not(#\9) {
182
182
  border-collapse: separate;
183
183
  border-spacing: 0;
184
184
  box-sizing: border-box;
@@ -214,36 +214,36 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
214
214
  /* stylelint-disable @cloudscape-design/no-implicit-descendant, selector-max-type */
215
215
  /* stylelint-enable @cloudscape-design/no-implicit-descendant, selector-max-type */
216
216
  }
217
- .awsui_help-panel_1d237_1m7i7_181 hr:not(#\9) {
217
+ .awsui_help-panel_1d237_wbmoj_181 hr:not(#\9) {
218
218
  border-block: none;
219
219
  border-inline: none;
220
220
  border-block-start: var(--border-divider-section-width-uwo8my, 1px) solid var(--color-border-divider-default-nr68jt, #c6c6cd);
221
221
  margin-block: var(--space-scaled-xl-dunxp5, 24px);
222
222
  margin-inline: calc(-1 * var(--space-panel-divider-margin-horizontal-yw31p0, 8px));
223
223
  }
224
- .awsui_help-panel_1d237_1m7i7_181 ol:not(#\9),
225
- .awsui_help-panel_1d237_1m7i7_181 ul:not(#\9) {
224
+ .awsui_help-panel_1d237_wbmoj_181 ol:not(#\9),
225
+ .awsui_help-panel_1d237_wbmoj_181 ul:not(#\9) {
226
226
  padding-inline-start: var(--space-l-2ud1p3, 20px);
227
227
  list-style-position: outside;
228
228
  margin-block: var(--space-s-tvghoh, 12px);
229
229
  margin-inline: 0;
230
230
  }
231
- .awsui_help-panel_1d237_1m7i7_181 li:not(#\9) {
231
+ .awsui_help-panel_1d237_wbmoj_181 li:not(#\9) {
232
232
  margin-block: var(--space-scaled-xxs-pfm1nx, 4px);
233
233
  margin-inline: 0;
234
234
  }
235
- .awsui_help-panel_1d237_1m7i7_181 a:not(#\9),
236
- .awsui_help-panel_1d237_1m7i7_181 h2:not(#\9),
237
- .awsui_help-panel_1d237_1m7i7_181 h3:not(#\9),
238
- .awsui_help-panel_1d237_1m7i7_181 h4:not(#\9),
239
- .awsui_help-panel_1d237_1m7i7_181 h5:not(#\9),
240
- .awsui_help-panel_1d237_1m7i7_181 pre:not(#\9),
241
- .awsui_help-panel_1d237_1m7i7_181 code:not(#\9) {
235
+ .awsui_help-panel_1d237_wbmoj_181 a:not(#\9),
236
+ .awsui_help-panel_1d237_wbmoj_181 h2:not(#\9),
237
+ .awsui_help-panel_1d237_wbmoj_181 h3:not(#\9),
238
+ .awsui_help-panel_1d237_wbmoj_181 h4:not(#\9),
239
+ .awsui_help-panel_1d237_wbmoj_181 h5:not(#\9),
240
+ .awsui_help-panel_1d237_wbmoj_181 pre:not(#\9),
241
+ .awsui_help-panel_1d237_wbmoj_181 code:not(#\9) {
242
242
  margin-block: var(--space-xs-ymlm0b, 8px);
243
243
  margin-inline: 0;
244
244
  padding-block: 0;
245
245
  }
246
- .awsui_help-panel_1d237_1m7i7_181 code:not(#\9) {
246
+ .awsui_help-panel_1d237_wbmoj_181 code:not(#\9) {
247
247
  font-size: var(--font-size-body-s-smc8cv, 12px);
248
248
  line-height: var(--line-height-body-s-nu5hx1, 16px);
249
249
  letter-spacing: var(--letter-spacing-body-s-gq78ok, 0.005em);
@@ -254,7 +254,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
254
254
  word-wrap: break-word;
255
255
  white-space: pre-wrap;
256
256
  }
257
- .awsui_help-panel_1d237_1m7i7_181 pre:not(#\9) {
257
+ .awsui_help-panel_1d237_wbmoj_181 pre:not(#\9) {
258
258
  font-size: var(--font-size-body-s-smc8cv, 12px);
259
259
  line-height: var(--line-height-body-s-nu5hx1, 16px);
260
260
  letter-spacing: var(--letter-spacing-body-s-gq78ok, 0.005em);
@@ -267,41 +267,41 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
267
267
  padding-block: var(--space-xxs-hwfkai, 4px);
268
268
  padding-inline: var(--space-xxs-hwfkai, 4px);
269
269
  }
270
- .awsui_help-panel_1d237_1m7i7_181 dl:not(#\9) {
270
+ .awsui_help-panel_1d237_wbmoj_181 dl:not(#\9) {
271
271
  margin-block: var(--space-s-tvghoh, 12px);
272
272
  margin-inline: 0;
273
273
  /* stylelint-disable-next-line selector-max-universal */
274
274
  }
275
- .awsui_help-panel_1d237_1m7i7_181 dl *:not(#\9) {
275
+ .awsui_help-panel_1d237_wbmoj_181 dl *:not(#\9) {
276
276
  margin-block: 0;
277
277
  }
278
- .awsui_help-panel_1d237_1m7i7_181 dt:not(#\9) {
278
+ .awsui_help-panel_1d237_wbmoj_181 dt:not(#\9) {
279
279
  margin-block-start: var(--space-xs-ymlm0b, 8px);
280
280
  font-weight: 700;
281
281
  }
282
- .awsui_help-panel_1d237_1m7i7_181 dd:not(#\9) {
282
+ .awsui_help-panel_1d237_wbmoj_181 dd:not(#\9) {
283
283
  margin-block-start: 0;
284
284
  margin-block-end: var(--space-xs-ymlm0b, 8px);
285
285
  margin-inline: 0;
286
286
  }
287
- .awsui_help-panel_1d237_1m7i7_181 h2:not(#\9),
288
- .awsui_help-panel_1d237_1m7i7_181 h3:not(#\9),
289
- .awsui_help-panel_1d237_1m7i7_181 h4:not(#\9),
290
- .awsui_help-panel_1d237_1m7i7_181 h5:not(#\9),
291
- .awsui_help-panel_1d237_1m7i7_181 h6:not(#\9) {
287
+ .awsui_help-panel_1d237_wbmoj_181 h2:not(#\9),
288
+ .awsui_help-panel_1d237_wbmoj_181 h3:not(#\9),
289
+ .awsui_help-panel_1d237_wbmoj_181 h4:not(#\9),
290
+ .awsui_help-panel_1d237_wbmoj_181 h5:not(#\9),
291
+ .awsui_help-panel_1d237_wbmoj_181 h6:not(#\9) {
292
292
  margin-block-start: var(--space-xl-jfy3x4, 24px);
293
293
  color: var(--color-text-heading-default-izpp46, #0f141a);
294
294
  }
295
- .awsui_help-panel_1d237_1m7i7_181 > :not(#\9):last-child {
295
+ .awsui_help-panel_1d237_wbmoj_181 > :not(#\9):last-child {
296
296
  margin-block-end: var(--space-panel-content-bottom-24c6lu, 40px);
297
297
  }
298
- .awsui_help-panel_1d237_1m7i7_181 p:not(#\9) {
298
+ .awsui_help-panel_1d237_wbmoj_181 p:not(#\9) {
299
299
  color: inherit;
300
300
  text-decoration: none;
301
301
  margin-block: var(--space-s-tvghoh, 12px);
302
302
  margin-inline: 0;
303
303
  }
304
- .awsui_help-panel_1d237_1m7i7_181 h1:not(#\9) {
304
+ .awsui_help-panel_1d237_wbmoj_181 h1:not(#\9) {
305
305
  font-size: var(--font-size-heading-xl-wvkbur, 24px);
306
306
  line-height: var(--line-height-heading-xl-hko6p0, 30px);
307
307
  letter-spacing: var(--letter-spacing-heading-xl-ckkb6u, -0.02em);
@@ -309,7 +309,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
309
309
  -webkit-font-smoothing: var(--font-smoothing-webkit-oemolo, antialiased);
310
310
  -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-hbm0aq, grayscale);
311
311
  }
312
- .awsui_help-panel_1d237_1m7i7_181 h2:not(#\9) {
312
+ .awsui_help-panel_1d237_wbmoj_181 h2:not(#\9) {
313
313
  font-size: var(--font-size-heading-l-vnacx6, 20px);
314
314
  line-height: var(--line-height-heading-l-mg5bx6, 24px);
315
315
  letter-spacing: var(--letter-spacing-heading-l-5v6ibv, -0.015em);
@@ -317,7 +317,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
317
317
  -webkit-font-smoothing: var(--font-smoothing-webkit-oemolo, antialiased);
318
318
  -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-hbm0aq, grayscale);
319
319
  }
320
- .awsui_help-panel_1d237_1m7i7_181 h3:not(#\9) {
320
+ .awsui_help-panel_1d237_wbmoj_181 h3:not(#\9) {
321
321
  font-size: var(--font-size-heading-m-170yiy, 18px);
322
322
  line-height: var(--line-height-heading-m-uoaqdh, 22px);
323
323
  letter-spacing: var(--letter-spacing-heading-m-29ewnk, -0.01em);
@@ -325,7 +325,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
325
325
  -webkit-font-smoothing: var(--font-smoothing-webkit-oemolo, antialiased);
326
326
  -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-hbm0aq, grayscale);
327
327
  }
328
- .awsui_help-panel_1d237_1m7i7_181 h4:not(#\9) {
328
+ .awsui_help-panel_1d237_wbmoj_181 h4:not(#\9) {
329
329
  font-size: var(--font-size-heading-s-zp08en, 16px);
330
330
  line-height: var(--line-height-heading-s-hmi4vc, 20px);
331
331
  letter-spacing: var(--letter-spacing-heading-s-4st9ep, -0.005em);
@@ -333,25 +333,26 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
333
333
  -webkit-font-smoothing: var(--font-smoothing-webkit-oemolo, antialiased);
334
334
  -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-hbm0aq, grayscale);
335
335
  }
336
- .awsui_help-panel_1d237_1m7i7_181 h5:not(#\9) {
336
+ .awsui_help-panel_1d237_wbmoj_181 h5:not(#\9) {
337
337
  font-size: var(--font-size-heading-xs-j8yzxv, 14px);
338
338
  line-height: var(--line-height-heading-xs-q9j004, 18px);
339
339
  font-weight: var(--font-weight-heading-xs-wqqpne, 700);
340
340
  -webkit-font-smoothing: var(--font-smoothing-webkit-oemolo, antialiased);
341
341
  -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-hbm0aq, grayscale);
342
342
  }
343
- .awsui_help-panel_1d237_1m7i7_181 b:not(#\9),
344
- .awsui_help-panel_1d237_1m7i7_181 strong:not(#\9) {
343
+ .awsui_help-panel_1d237_wbmoj_181 b:not(#\9),
344
+ .awsui_help-panel_1d237_wbmoj_181 strong:not(#\9) {
345
345
  font-weight: 700;
346
346
  }
347
347
 
348
- .awsui_loading_1d237_1m7i7_348:not(#\9) {
348
+ .awsui_loading_1d237_wbmoj_348:not(#\9) {
349
349
  padding-inline-start: var(--space-panel-side-left-u1m3s9, 28px);
350
350
  padding-inline-end: var(--space-panel-side-right-8wwirc, 24px);
351
351
  }
352
352
 
353
- .awsui_header_1d237_1m7i7_353:not(#\9) {
353
+ .awsui_header_1d237_wbmoj_353:not(#\9) {
354
354
  font-size: var(--font-panel-header-size-33h9j8, 18px);
355
+ letter-spacing: var(--letter-spacing-heading-m-29ewnk, -0.01em);
355
356
  line-height: var(--font-panel-header-line-height-8xb2qj, 22px);
356
357
  font-weight: var(--font-weight-heading-l-0t6dwc, 700);
357
358
  -webkit-font-smoothing: var(--font-smoothing-webkit-oemolo, antialiased);
@@ -367,16 +368,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
367
368
  /* stylelint-disable @cloudscape-design/no-implicit-descendant, selector-max-type */
368
369
  /* stylelint-enable @cloudscape-design/no-implicit-descendant, selector-max-type */
369
370
  }
370
- .awsui_with-toolbar_1d237_1m7i7_370 > .awsui_header_1d237_1m7i7_353:not(#\9) {
371
+ .awsui_with-toolbar_1d237_wbmoj_371 > .awsui_header_1d237_wbmoj_353:not(#\9) {
371
372
  border-color: transparent;
372
373
  margin-block-end: 0px;
373
374
  }
374
- .awsui_header_1d237_1m7i7_353 h2:not(#\9),
375
- .awsui_header_1d237_1m7i7_353 h3:not(#\9),
376
- .awsui_header_1d237_1m7i7_353 h4:not(#\9),
377
- .awsui_header_1d237_1m7i7_353 h5:not(#\9),
378
- .awsui_header_1d237_1m7i7_353 h6:not(#\9) {
375
+ .awsui_header_1d237_wbmoj_353 h2:not(#\9),
376
+ .awsui_header_1d237_wbmoj_353 h3:not(#\9),
377
+ .awsui_header_1d237_wbmoj_353 h4:not(#\9),
378
+ .awsui_header_1d237_wbmoj_353 h5:not(#\9),
379
+ .awsui_header_1d237_wbmoj_353 h6:not(#\9) {
379
380
  font-size: var(--font-panel-header-size-33h9j8, 18px);
381
+ letter-spacing: var(--letter-spacing-heading-m-29ewnk, -0.01em);
380
382
  line-height: var(--font-panel-header-line-height-8xb2qj, 22px);
381
383
  font-weight: var(--font-weight-heading-l-0t6dwc, 700);
382
384
  -webkit-font-smoothing: var(--font-smoothing-webkit-oemolo, antialiased);
@@ -385,22 +387,22 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
385
387
  margin-block: 0;
386
388
  }
387
389
 
388
- .awsui_content_1d237_1m7i7_388:not(#\9) {
390
+ .awsui_content_1d237_wbmoj_390:not(#\9) {
389
391
  color: var(--color-text-body-secondary-bcbgoi, #424650);
390
392
  padding-inline-start: var(--space-panel-side-left-u1m3s9, 28px);
391
393
  padding-inline-end: var(--space-panel-side-right-8wwirc, 24px);
392
394
  /* stylelint-disable @cloudscape-design/no-implicit-descendant, selector-max-type */
393
395
  /* stylelint-enable @cloudscape-design/no-implicit-descendant, selector-max-type */
394
396
  }
395
- .awsui_content_1d237_1m7i7_388 h2:not(#\9):first-child,
396
- .awsui_content_1d237_1m7i7_388 h3:not(#\9):first-child,
397
- .awsui_content_1d237_1m7i7_388 h4:not(#\9):first-child,
398
- .awsui_content_1d237_1m7i7_388 h5:not(#\9):first-child,
399
- .awsui_content_1d237_1m7i7_388 h6:not(#\9):first-child,
400
- .awsui_content_1d237_1m7i7_388 p:not(#\9):first-child {
397
+ .awsui_content_1d237_wbmoj_390 h2:not(#\9):first-child,
398
+ .awsui_content_1d237_wbmoj_390 h3:not(#\9):first-child,
399
+ .awsui_content_1d237_wbmoj_390 h4:not(#\9):first-child,
400
+ .awsui_content_1d237_wbmoj_390 h5:not(#\9):first-child,
401
+ .awsui_content_1d237_wbmoj_390 h6:not(#\9):first-child,
402
+ .awsui_content_1d237_wbmoj_390 p:not(#\9):first-child {
401
403
  margin-block-start: 0;
402
404
  }
403
- .awsui_content_1d237_1m7i7_388 a:not(#\9) {
405
+ .awsui_content_1d237_wbmoj_390 a:not(#\9) {
404
406
  text-underline-offset: 0.25em;
405
407
  text-decoration-thickness: 1px;
406
408
  color: var(--color-text-link-default-1dmm7z, #006ce0);
@@ -414,31 +416,31 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
414
416
  transition-duration: var(--motion-duration-refresh-only-medium-5rbn3k, 165ms);
415
417
  }
416
418
  @media (prefers-reduced-motion: reduce) {
417
- .awsui_content_1d237_1m7i7_388 a:not(#\9) {
419
+ .awsui_content_1d237_wbmoj_390 a:not(#\9) {
418
420
  animation: none;
419
421
  transition: none;
420
422
  }
421
423
  }
422
- .awsui-motion-disabled .awsui_content_1d237_1m7i7_388 a:not(#\9), .awsui-mode-entering .awsui_content_1d237_1m7i7_388 a:not(#\9) {
424
+ .awsui-motion-disabled .awsui_content_1d237_wbmoj_390 a:not(#\9), .awsui-mode-entering .awsui_content_1d237_wbmoj_390 a:not(#\9) {
423
425
  animation: none;
424
426
  transition: none;
425
427
  }
426
- .awsui_content_1d237_1m7i7_388 a:not(#\9):hover {
428
+ .awsui_content_1d237_wbmoj_390 a:not(#\9):hover {
427
429
  cursor: pointer;
428
430
  color: var(--color-text-link-hover-sq1gxg, #002b66);
429
431
  }
430
- .awsui_content_1d237_1m7i7_388 a:not(#\9):focus {
432
+ .awsui_content_1d237_wbmoj_390 a:not(#\9):focus {
431
433
  outline: none;
432
434
  }
433
- .awsui_content_1d237_1m7i7_388 a:not(#\9):active {
435
+ .awsui_content_1d237_wbmoj_390 a:not(#\9):active {
434
436
  color: var(--color-text-link-hover-sq1gxg, #002b66);
435
437
  }
436
- .awsui_content_1d237_1m7i7_388 a:not(#\9):active, .awsui_content_1d237_1m7i7_388 a:not(#\9):focus, .awsui_content_1d237_1m7i7_388 a:not(#\9):hover {
438
+ .awsui_content_1d237_wbmoj_390 a:not(#\9):active, .awsui_content_1d237_wbmoj_390 a:not(#\9):focus, .awsui_content_1d237_wbmoj_390 a:not(#\9):hover {
437
439
  text-decoration-line: underline;
438
440
  text-decoration-color: currentColor;
439
441
  }
440
442
 
441
- .awsui_footer_1d237_1m7i7_439:not(#\9) {
443
+ .awsui_footer_1d237_wbmoj_441:not(#\9) {
442
444
  color: var(--color-text-body-secondary-bcbgoi, #424650);
443
445
  padding-block: 0;
444
446
  padding-inline-start: var(--space-panel-side-left-u1m3s9, 28px);
@@ -446,11 +448,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
446
448
  /* stylelint-disable @cloudscape-design/no-implicit-descendant, selector-max-type */
447
449
  /* stylelint-enable @cloudscape-design/no-implicit-descendant, selector-max-type */
448
450
  }
449
- .awsui_footer_1d237_1m7i7_439 ul:not(#\9) {
451
+ .awsui_footer_1d237_wbmoj_441 ul:not(#\9) {
450
452
  list-style: none;
451
453
  padding-inline-start: 0;
452
454
  }
453
- .awsui_footer_1d237_1m7i7_439 a:not(#\9) {
455
+ .awsui_footer_1d237_wbmoj_441 a:not(#\9) {
454
456
  text-underline-offset: 0.25em;
455
457
  text-decoration-thickness: 1px;
456
458
  color: var(--color-text-link-default-1dmm7z, #006ce0);
@@ -464,37 +466,37 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
464
466
  transition-duration: var(--motion-duration-refresh-only-medium-5rbn3k, 165ms);
465
467
  }
466
468
  @media (prefers-reduced-motion: reduce) {
467
- .awsui_footer_1d237_1m7i7_439 a:not(#\9) {
469
+ .awsui_footer_1d237_wbmoj_441 a:not(#\9) {
468
470
  animation: none;
469
471
  transition: none;
470
472
  }
471
473
  }
472
- .awsui-motion-disabled .awsui_footer_1d237_1m7i7_439 a:not(#\9), .awsui-mode-entering .awsui_footer_1d237_1m7i7_439 a:not(#\9) {
474
+ .awsui-motion-disabled .awsui_footer_1d237_wbmoj_441 a:not(#\9), .awsui-mode-entering .awsui_footer_1d237_wbmoj_441 a:not(#\9) {
473
475
  animation: none;
474
476
  transition: none;
475
477
  }
476
- .awsui_footer_1d237_1m7i7_439 a:not(#\9):hover {
478
+ .awsui_footer_1d237_wbmoj_441 a:not(#\9):hover {
477
479
  cursor: pointer;
478
480
  color: var(--color-text-link-hover-sq1gxg, #002b66);
479
481
  }
480
- .awsui_footer_1d237_1m7i7_439 a:not(#\9):focus {
482
+ .awsui_footer_1d237_wbmoj_441 a:not(#\9):focus {
481
483
  outline: none;
482
484
  }
483
- .awsui_footer_1d237_1m7i7_439 a:not(#\9):active {
485
+ .awsui_footer_1d237_wbmoj_441 a:not(#\9):active {
484
486
  color: var(--color-text-link-hover-sq1gxg, #002b66);
485
487
  }
486
- .awsui_footer_1d237_1m7i7_439 a:not(#\9):active, .awsui_footer_1d237_1m7i7_439 a:not(#\9):focus, .awsui_footer_1d237_1m7i7_439 a:not(#\9):hover {
488
+ .awsui_footer_1d237_wbmoj_441 a:not(#\9):active, .awsui_footer_1d237_wbmoj_441 a:not(#\9):focus, .awsui_footer_1d237_wbmoj_441 a:not(#\9):hover {
487
489
  text-decoration-line: underline;
488
490
  text-decoration-color: currentColor;
489
491
  }
490
492
 
491
- .awsui_content_1d237_1m7i7_388:not(#\9),
492
- .awsui_footer_1d237_1m7i7_439:not(#\9) {
493
+ .awsui_content_1d237_wbmoj_390:not(#\9),
494
+ .awsui_footer_1d237_wbmoj_441:not(#\9) {
493
495
  /* stylelint-disable @cloudscape-design/no-implicit-descendant, selector-max-type */
494
496
  /* stylelint-enable @cloudscape-design/no-implicit-descendant, selector-max-type */
495
497
  }
496
- .awsui_content_1d237_1m7i7_388 a:not(#\9):focus,
497
- .awsui_footer_1d237_1m7i7_439 a:not(#\9):focus {
498
+ .awsui_content_1d237_wbmoj_390 a:not(#\9):focus,
499
+ .awsui_footer_1d237_wbmoj_441 a:not(#\9):focus {
498
500
  outline: thin dotted;
499
501
  outline: var(--border-link-focus-ring-outline-1p0hnu, 0);
500
502
  outline-offset: 2px;
@@ -2,11 +2,11 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "help-panel": "awsui_help-panel_1d237_1m7i7_181",
6
- "loading": "awsui_loading_1d237_1m7i7_348",
7
- "header": "awsui_header_1d237_1m7i7_353",
8
- "with-toolbar": "awsui_with-toolbar_1d237_1m7i7_370",
9
- "content": "awsui_content_1d237_1m7i7_388",
10
- "footer": "awsui_footer_1d237_1m7i7_439"
5
+ "help-panel": "awsui_help-panel_1d237_wbmoj_181",
6
+ "loading": "awsui_loading_1d237_wbmoj_348",
7
+ "header": "awsui_header_1d237_wbmoj_353",
8
+ "with-toolbar": "awsui_with-toolbar_1d237_wbmoj_371",
9
+ "content": "awsui_content_1d237_wbmoj_390",
10
+ "footer": "awsui_footer_1d237_wbmoj_441"
11
11
  };
12
12
 
@@ -2039,5 +2039,5 @@
2039
2039
  }
2040
2040
  }
2041
2041
  :root {
2042
- --awsui-version-info-ea7f70e0: true;
2042
+ --awsui-version-info-698d7f48: true;
2043
2043
  }
@@ -1,6 +1,6 @@
1
1
  export var PACKAGE_SOURCE = "components";
2
- export var PACKAGE_VERSION = "3.0.0 (ea7f70e0)";
3
- export var GIT_SHA = "ea7f70e0";
2
+ export var PACKAGE_VERSION = "3.0.0 (698d7f48)";
3
+ export var GIT_SHA = "698d7f48";
4
4
  export var THEME = "open-source-visual-refresh";
5
5
  export var SYSTEM = "console";
6
6
  export var ALWAYS_VISUAL_REFRESH = true;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "PACKAGE_SOURCE": "components",
3
- "PACKAGE_VERSION": "3.0.0 (ea7f70e0)",
4
- "GIT_SHA": "ea7f70e0",
3
+ "PACKAGE_VERSION": "3.0.0 (698d7f48)",
4
+ "GIT_SHA": "698d7f48",
5
5
  "THEME": "open-source-visual-refresh",
6
6
  "SYSTEM": "console",
7
7
  "ALWAYS_VISUAL_REFRESH": true
@@ -1,3 +1,3 @@
1
1
  {
2
- "commit": "ea7f70e08a65308da389f616650a778be13392a0"
2
+ "commit": "698d7f48bcb8453ac17efc78bce8d9f17a156416"
3
3
  }
@@ -0,0 +1,15 @@
1
+ import React, { ReactNode } from 'react';
2
+ export type NativeAttributes<T extends React.HTMLAttributes<HTMLElement>> = (Omit<T, 'children'> & Record<`data-${string}`, string>) | undefined;
3
+ type NativeAttributesProps<AT extends React.HTMLAttributes<HTMLElement>> = {
4
+ tag: string;
5
+ children?: ReactNode;
6
+ skipWarnings?: boolean;
7
+ nativeAttributes: NativeAttributes<AT>;
8
+ } & NativeAttributes<AT>;
9
+ interface ForwardRefType {
10
+ <ET extends HTMLElement, AT extends React.HTMLAttributes<ET>>(props: NativeAttributesProps<AT> & {
11
+ ref?: React.Ref<ET>;
12
+ }): JSX.Element;
13
+ }
14
+ declare const _default: ForwardRefType;
15
+ export default _default;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"with-native-attributes.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/with-native-attributes.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKzC,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,IACpE,CAAC,IAAI,CAAC,CAAC,EAAE,UAAU,CAAC,GAAG,MAAM,CAAC,QAAQ,MAAM,EAAE,EAAE,MAAM,CAAC,CAAC,GACxD,SAAS,CAAC;AAEd,KAAK,qBAAqB,CAAC,EAAE,SAAS,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,IAAI;IACzE,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,gBAAgB,EAAE,gBAAgB,CAAC,EAAE,CAAC,CAAC;CACxC,GAAG,gBAAgB,CAAC,EAAE,CAAC,CAAC;AACzB,UAAU,cAAc;IACtB,CAAC,EAAE,SAAS,WAAW,EAAE,EAAE,SAAS,KAAK,CAAC,cAAc,CAAC,EAAE,CAAC,EAC1D,KAAK,EAAE,qBAAqB,CAAC,EAAE,CAAC,GAAG;QAAE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,CAAA;KAAE,GACzD,GAAG,CAAC,OAAO,CAAC;CAChB;;AAED,wBAyCoB"}
@@ -0,0 +1,39 @@
1
+ import { __rest } from "tslib";
2
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ import React from 'react';
5
+ import clsx from 'clsx';
6
+ import { warnOnce } from '@cloudscape-design/component-toolkit/internal';
7
+ export default React.forwardRef((_a, ref) => {
8
+ var { tag, nativeAttributes, children, skipWarnings } = _a, rest = __rest(_a, ["tag", "nativeAttributes", "children", "skipWarnings"]);
9
+ const Tag = tag;
10
+ const processedAttributes = Object.entries(nativeAttributes || {}).reduce((acc, [key, value]) => {
11
+ // concatenate className
12
+ if (key === 'className') {
13
+ acc[key] = clsx(rest.className, value);
14
+ // merge style
15
+ }
16
+ else if (key === 'style') {
17
+ acc[key] = Object.assign(Object.assign({}, rest.style), value);
18
+ // chain event handlers
19
+ }
20
+ else if (key.match(/^on[A-Z]/) && typeof value === 'function' && key in rest) {
21
+ acc[key] = (event) => {
22
+ value(event);
23
+ if (!event.defaultPrevented) {
24
+ rest[key](event);
25
+ }
26
+ };
27
+ // override other attributes, warning if it already exists
28
+ }
29
+ else {
30
+ if (key in rest && !skipWarnings) {
31
+ warnOnce('Button', `Overriding native attribute [${key}] which has a Cloudscape-provided value`);
32
+ }
33
+ acc[key] = value;
34
+ }
35
+ return acc;
36
+ }, {});
37
+ return (React.createElement(Tag, Object.assign({}, rest, processedAttributes, { ref: ref }), children));
38
+ });
39
+ //# sourceMappingURL=with-native-attributes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"with-native-attributes.js","sourceRoot":"","sources":["../../../../src/internal/utils/with-native-attributes.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,QAAQ,EAAE,MAAM,+CAA+C,CAAC;AAkBzE,eAAe,KAAK,CAAC,UAAU,CAC7B,CACE,EAAqF,EACrF,GAAkB,EAClB,EAAE;QAFF,EAAE,GAAG,EAAE,gBAAgB,EAAE,QAAQ,EAAE,YAAY,OAAsC,EAAjC,IAAI,cAAxD,uDAA0D,CAAF;IAGxD,MAAM,GAAG,GAAG,GAAG,CAAC;IAEhB,MAAM,mBAAmB,GAAG,MAAM,CAAC,OAAO,CAAC,gBAAgB,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;QAC9F,wBAAwB;QACxB,IAAI,GAAG,KAAK,WAAW,EAAE;YACvB,GAAG,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;YAEvC,cAAc;SACf;aAAM,IAAI,GAAG,KAAK,OAAO,EAAE;YAC1B,GAAG,CAAC,GAAG,CAAC,mCAAQ,IAAI,CAAC,KAAK,GAAK,KAAK,CAAE,CAAC;YAEvC,uBAAuB;SACxB;aAAM,IAAI,GAAG,CAAC,KAAK,CAAC,UAAU,CAAC,IAAI,OAAO,KAAK,KAAK,UAAU,IAAI,GAAG,IAAI,IAAI,EAAE;YAC9E,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,KAAY,EAAE,EAAE;gBAC1B,KAAK,CAAC,KAAK,CAAC,CAAC;gBACb,IAAI,CAAC,KAAK,CAAC,gBAAgB,EAAE;oBAC1B,IAAY,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC;iBAC3B;YACH,CAAC,CAAC;YAEF,0DAA0D;SAC3D;aAAM;YACL,IAAI,GAAG,IAAI,IAAI,IAAI,CAAC,YAAY,EAAE;gBAChC,QAAQ,CAAC,QAAQ,EAAE,gCAAgC,GAAG,yCAAyC,CAAC,CAAC;aAClG;YACD,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAClB;QACD,OAAO,GAAG,CAAC;IACb,CAAC,EAAE,EAAS,CAAC,CAAC;IAEd,OAAO,CACL,oBAAC,GAAG,oBAAK,IAAI,EAAM,mBAAmB,IAAE,GAAG,EAAE,GAAG,KAC7C,QAAQ,CACL,CACP,CAAC;AACJ,CAAC,CACgB,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { ReactNode } from 'react';\nimport clsx from 'clsx';\n\nimport { warnOnce } from '@cloudscape-design/component-toolkit/internal';\n\nexport type NativeAttributes<T extends React.HTMLAttributes<HTMLElement>> =\n | (Omit<T, 'children'> & Record<`data-${string}`, string>)\n | undefined;\n\ntype NativeAttributesProps<AT extends React.HTMLAttributes<HTMLElement>> = {\n tag: string;\n children?: ReactNode;\n skipWarnings?: boolean;\n nativeAttributes: NativeAttributes<AT>;\n} & NativeAttributes<AT>;\ninterface ForwardRefType {\n <ET extends HTMLElement, AT extends React.HTMLAttributes<ET>>(\n props: NativeAttributesProps<AT> & { ref?: React.Ref<ET> }\n ): JSX.Element;\n}\n\nexport default React.forwardRef(\n <ET extends HTMLElement, AT extends React.HTMLAttributes<ET>>(\n { tag, nativeAttributes, children, skipWarnings, ...rest }: NativeAttributesProps<AT>,\n ref: React.Ref<ET>\n ) => {\n const Tag = tag;\n\n const processedAttributes = Object.entries(nativeAttributes || {}).reduce((acc, [key, value]) => {\n // concatenate className\n if (key === 'className') {\n acc[key] = clsx(rest.className, value);\n\n // merge style\n } else if (key === 'style') {\n acc[key] = { ...rest.style, ...value };\n\n // chain event handlers\n } else if (key.match(/^on[A-Z]/) && typeof value === 'function' && key in rest) {\n acc[key] = (event: Event) => {\n value(event);\n if (!event.defaultPrevented) {\n (rest as any)[key](event);\n }\n };\n\n // override other attributes, warning if it already exists\n } else {\n if (key in rest && !skipWarnings) {\n warnOnce('Button', `Overriding native attribute [${key}] which has a Cloudscape-provided value`);\n }\n acc[key] = value;\n }\n return acc;\n }, {} as any);\n\n return (\n <Tag {...rest} {...processedAttributes} ref={ref}>\n {children}\n </Tag>\n );\n }\n) as ForwardRefType;\n"]}
@@ -73,8 +73,8 @@ export declare function useMultiselect({
73
73
  onMouseMove?: ((itemIndex: number) => void) | undefined;
74
74
  onMouseUp?: ((itemIndex: number) => void) | undefined;
75
75
  ariaLabel?: string | undefined;
76
- statusType: DropdownStatusProps.StatusType;
77
76
  nativeAttributes?: Record<string, any> | undefined;
77
+ statusType: DropdownStatusProps.StatusType;
78
78
  decreaseBlockMargin?: boolean | undefined;
79
79
  stickyItemBlockSize?: number | null | undefined;
80
80
  ref: React.RefObject<HTMLUListElement>;
package/package.json CHANGED
@@ -151,7 +151,7 @@
151
151
  "./internal/base-component/index.js",
152
152
  "./internal/base-component/styles.css.js"
153
153
  ],
154
- "version": "3.0.1035",
154
+ "version": "3.0.1037",
155
155
  "repository": {
156
156
  "type": "git",
157
157
  "url": "https://github.com/cloudscape-design/components.git"
@@ -5,5 +5,5 @@ export interface FilterProps extends InternalInputProps {
5
5
  ref?: React.Ref<HTMLInputElement>;
6
6
  filteringType: SelectProps.FilteringType;
7
7
  }
8
- declare const Filter: React.ForwardRefExoticComponent<Pick<FilterProps, "disabled" | "autoComplete" | "autoFocus" | "name" | "className" | "id" | "placeholder" | "inputMode" | "type" | "readOnly" | "step" | "value" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "onKeyUp" | "warning" | "clearAriaLabel" | "ariaLabel" | "__internalRootRef" | "ariaLabelledby" | "ariaDescribedby" | "__nativeAttributes" | "__injectAnalyticsComponentMetadata" | "invalid" | "controlId" | "filteringType" | "ariaRequired" | "disableBrowserAutocorrect" | "spellcheck" | "__leftIcon" | "__leftIconVariant" | "__onLeftIconClick" | "__rightIcon" | "__onRightIconClick" | "__noBorderRadius" | "__onDelayedInput" | "__onBlurWithDetail" | "__inheritFormFieldProps"> & React.RefAttributes<HTMLInputElement>>;
8
+ declare const Filter: React.ForwardRefExoticComponent<Pick<FilterProps, "disabled" | "autoComplete" | "autoFocus" | "name" | "className" | "id" | "placeholder" | "inputMode" | "type" | "readOnly" | "step" | "value" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "onKeyUp" | "warning" | "clearAriaLabel" | "ariaLabel" | "__internalRootRef" | "ariaLabelledby" | "ariaDescribedby" | "__injectAnalyticsComponentMetadata" | "invalid" | "controlId" | "filteringType" | "ariaRequired" | "disableBrowserAutocorrect" | "spellcheck" | "__leftIcon" | "__leftIconVariant" | "__onLeftIconClick" | "__rightIcon" | "__onRightIconClick" | "__nativeAttributes" | "__noBorderRadius" | "__onDelayedInput" | "__onBlurWithDetail" | "__inheritFormFieldProps"> & React.RefAttributes<HTMLInputElement>>;
9
9
  export default Filter;
@@ -1,35 +1,35 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "root": "awsui_root_l0dv0_sejwa_145",
5
- "header": "awsui_header_l0dv0_sejwa_179",
6
- "header-link": "awsui_header-link_l0dv0_sejwa_192",
7
- "header-link--has-logo": "awsui_header-link--has-logo_l0dv0_sejwa_202",
8
- "header-link-text": "awsui_header-link-text_l0dv0_sejwa_202",
9
- "header-logo": "awsui_header-logo_l0dv0_sejwa_207",
10
- "header-logo--stretched": "awsui_header-logo--stretched_l0dv0_sejwa_213",
11
- "items-control": "awsui_items-control_l0dv0_sejwa_218",
12
- "list-container": "awsui_list-container_l0dv0_sejwa_222",
13
- "with-toolbar": "awsui_with-toolbar_l0dv0_sejwa_230",
14
- "divider-header": "awsui_divider-header_l0dv0_sejwa_230",
15
- "list": "awsui_list_l0dv0_sejwa_222",
16
- "list-variant-root": "awsui_list-variant-root_l0dv0_sejwa_243",
17
- "list-variant-root--first": "awsui_list-variant-root--first_l0dv0_sejwa_250",
18
- "list-variant-expandable-link-group": "awsui_list-variant-expandable-link-group_l0dv0_sejwa_254",
19
- "list-item": "awsui_list-item_l0dv0_sejwa_258",
20
- "section": "awsui_section_l0dv0_sejwa_269",
21
- "expandable-link-group": "awsui_expandable-link-group_l0dv0_sejwa_270",
22
- "section--no-ident": "awsui_section--no-ident_l0dv0_sejwa_273",
23
- "expandable-link-group--no-ident": "awsui_expandable-link-group--no-ident_l0dv0_sejwa_274",
24
- "refresh": "awsui_refresh_l0dv0_sejwa_282",
25
- "list-variant-section-group": "awsui_list-variant-section-group_l0dv0_sejwa_293",
26
- "section-group": "awsui_section-group_l0dv0_sejwa_300",
27
- "section-group-title": "awsui_section-group-title_l0dv0_sejwa_311",
28
- "link": "awsui_link_l0dv0_sejwa_315",
29
- "link-active": "awsui_link-active_l0dv0_sejwa_324",
30
- "info": "awsui_info_l0dv0_sejwa_361",
31
- "external-icon": "awsui_external-icon_l0dv0_sejwa_365",
32
- "divider": "awsui_divider_l0dv0_sejwa_230",
33
- "divider-default": "awsui_divider-default_l0dv0_sejwa_374"
4
+ "root": "awsui_root_l0dv0_1u5ju_145",
5
+ "header": "awsui_header_l0dv0_1u5ju_179",
6
+ "header-link": "awsui_header-link_l0dv0_1u5ju_193",
7
+ "header-link--has-logo": "awsui_header-link--has-logo_l0dv0_1u5ju_204",
8
+ "header-link-text": "awsui_header-link-text_l0dv0_1u5ju_204",
9
+ "header-logo": "awsui_header-logo_l0dv0_1u5ju_209",
10
+ "header-logo--stretched": "awsui_header-logo--stretched_l0dv0_1u5ju_215",
11
+ "items-control": "awsui_items-control_l0dv0_1u5ju_220",
12
+ "list-container": "awsui_list-container_l0dv0_1u5ju_224",
13
+ "with-toolbar": "awsui_with-toolbar_l0dv0_1u5ju_232",
14
+ "divider-header": "awsui_divider-header_l0dv0_1u5ju_232",
15
+ "list": "awsui_list_l0dv0_1u5ju_224",
16
+ "list-variant-root": "awsui_list-variant-root_l0dv0_1u5ju_245",
17
+ "list-variant-root--first": "awsui_list-variant-root--first_l0dv0_1u5ju_252",
18
+ "list-variant-expandable-link-group": "awsui_list-variant-expandable-link-group_l0dv0_1u5ju_256",
19
+ "list-item": "awsui_list-item_l0dv0_1u5ju_260",
20
+ "section": "awsui_section_l0dv0_1u5ju_271",
21
+ "expandable-link-group": "awsui_expandable-link-group_l0dv0_1u5ju_272",
22
+ "section--no-ident": "awsui_section--no-ident_l0dv0_1u5ju_275",
23
+ "expandable-link-group--no-ident": "awsui_expandable-link-group--no-ident_l0dv0_1u5ju_276",
24
+ "refresh": "awsui_refresh_l0dv0_1u5ju_284",
25
+ "list-variant-section-group": "awsui_list-variant-section-group_l0dv0_1u5ju_295",
26
+ "section-group": "awsui_section-group_l0dv0_1u5ju_302",
27
+ "section-group-title": "awsui_section-group-title_l0dv0_1u5ju_313",
28
+ "link": "awsui_link_l0dv0_1u5ju_317",
29
+ "link-active": "awsui_link-active_l0dv0_1u5ju_326",
30
+ "info": "awsui_info_l0dv0_1u5ju_363",
31
+ "external-icon": "awsui_external-icon_l0dv0_1u5ju_367",
32
+ "divider": "awsui_divider_l0dv0_1u5ju_232",
33
+ "divider-default": "awsui_divider-default_l0dv0_1u5ju_376"
34
34
  };
35
35