@cloudscape-design/components 3.0.901 → 3.0.903

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 (42) hide show
  1. package/flashbar/flash.d.ts.map +1 -1
  2. package/flashbar/flash.js +6 -3
  3. package/flashbar/flash.js.map +1 -1
  4. package/i18n/provider.d.ts.map +1 -1
  5. package/i18n/provider.js +31 -16
  6. package/i18n/provider.js.map +1 -1
  7. package/internal/components/dropdown/dropdown-fit-handler.js +1 -1
  8. package/internal/components/dropdown/dropdown-fit-handler.js.map +1 -1
  9. package/internal/environment.js +1 -1
  10. package/internal/environment.json +1 -1
  11. package/internal/manifest.json +1 -1
  12. package/package.json +1 -1
  13. package/prompt-input/internal.d.ts.map +1 -1
  14. package/prompt-input/internal.js +1 -0
  15. package/prompt-input/internal.js.map +1 -1
  16. package/prompt-input/styles.css.js +15 -14
  17. package/prompt-input/styles.scoped.css +45 -39
  18. package/prompt-input/styles.selectors.js +15 -14
  19. package/select/parts/plain-list.d.ts.map +1 -1
  20. package/select/parts/plain-list.js +6 -2
  21. package/select/parts/plain-list.js.map +1 -1
  22. package/tabs/index.d.ts +1 -1
  23. package/tabs/index.d.ts.map +1 -1
  24. package/tabs/index.js +25 -7
  25. package/tabs/index.js.map +1 -1
  26. package/tabs/interfaces.d.ts +28 -0
  27. package/tabs/interfaces.d.ts.map +1 -1
  28. package/tabs/interfaces.js.map +1 -1
  29. package/tabs/styles.css.js +30 -28
  30. package/tabs/styles.scoped.css +64 -49
  31. package/tabs/styles.selectors.js +30 -28
  32. package/tabs/tab-header-bar.d.ts +3 -1
  33. package/tabs/tab-header-bar.d.ts.map +1 -1
  34. package/tabs/tab-header-bar.js +26 -12
  35. package/tabs/tab-header-bar.js.map +1 -1
  36. package/test-utils/dom/tabs/index.d.ts +1 -0
  37. package/test-utils/dom/tabs/index.js +3 -0
  38. package/test-utils/dom/tabs/index.js.map +1 -1
  39. package/test-utils/selectors/tabs/index.d.ts +1 -0
  40. package/test-utils/selectors/tabs/index.js +3 -0
  41. package/test-utils/selectors/tabs/index.js.map +1 -1
  42. package/test-utils/tsconfig.tsbuildinfo +1 -1
@@ -1,33 +1,35 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "tabs-header": "awsui_tabs-header_14rmt_1ebqu_290",
5
- "tabs-header-list": "awsui_tabs-header-list_14rmt_1ebqu_298",
6
- "pagination-button": "awsui_pagination-button_14rmt_1ebqu_316",
7
- "pagination-button-left": "awsui_pagination-button-left_14rmt_1ebqu_323",
8
- "pagination-button-left-scrollable": "awsui_pagination-button-left-scrollable_14rmt_1ebqu_326",
9
- "pagination-button-right": "awsui_pagination-button-right_14rmt_1ebqu_330",
10
- "pagination-button-right-scrollable": "awsui_pagination-button-right-scrollable_14rmt_1ebqu_333",
11
- "tabs-tab": "awsui_tabs-tab_14rmt_1ebqu_338",
12
- "tabs-tab-label": "awsui_tabs-tab-label_14rmt_1ebqu_348",
13
- "tabs-tab-header-container": "awsui_tabs-tab-header-container_14rmt_1ebqu_359",
14
- "tabs-tab-dismiss": "awsui_tabs-tab-dismiss_14rmt_1ebqu_370",
15
- "tabs-tab-action": "awsui_tabs-tab-action_14rmt_1ebqu_370",
16
- "refresh": "awsui_refresh_14rmt_1ebqu_375",
17
- "tabs-tab-disabled": "awsui_tabs-tab-disabled_14rmt_1ebqu_379",
18
- "tabs-tab-link": "awsui_tabs-tab-link_14rmt_1ebqu_421",
19
- "tabs-tab-active": "awsui_tabs-tab-active_14rmt_1ebqu_499",
20
- "tabs-header-with-divider": "awsui_tabs-header-with-divider_14rmt_1ebqu_506",
21
- "tabs-tab-focusable": "awsui_tabs-tab-focusable_14rmt_1ebqu_510",
22
- "root": "awsui_root_14rmt_1ebqu_514",
23
- "tabs": "awsui_tabs_14rmt_1ebqu_290",
24
- "tabs-content": "awsui_tabs-content_14rmt_1ebqu_552",
25
- "fit-height": "awsui_fit-height_14rmt_1ebqu_556",
26
- "tabs-content-active": "awsui_tabs-content-active_14rmt_1ebqu_562",
27
- "tabs-content-wrapper": "awsui_tabs-content-wrapper_14rmt_1ebqu_576",
28
- "with-paddings": "awsui_with-paddings_14rmt_1ebqu_576",
29
- "tabs-container-content-wrapper": "awsui_tabs-container-content-wrapper_14rmt_1ebqu_587",
30
- "disabled-reason-tooltip": "awsui_disabled-reason-tooltip_14rmt_1ebqu_598",
31
- "tabs-tab-focused": "awsui_tabs-tab-focused_14rmt_1ebqu_602"
4
+ "tabs-header": "awsui_tabs-header_14rmt_11l2w_290",
5
+ "tab-header-scroll-container": "awsui_tab-header-scroll-container_14rmt_11l2w_299",
6
+ "tabs-header-list": "awsui_tabs-header-list_14rmt_11l2w_305",
7
+ "pagination-button": "awsui_pagination-button_14rmt_11l2w_323",
8
+ "pagination-button-left": "awsui_pagination-button-left_14rmt_11l2w_330",
9
+ "pagination-button-left-scrollable": "awsui_pagination-button-left-scrollable_14rmt_11l2w_333",
10
+ "pagination-button-right": "awsui_pagination-button-right_14rmt_11l2w_337",
11
+ "pagination-button-right-scrollable": "awsui_pagination-button-right-scrollable_14rmt_11l2w_340",
12
+ "actions-container": "awsui_actions-container_14rmt_11l2w_345",
13
+ "tabs-tab": "awsui_tabs-tab_14rmt_11l2w_353",
14
+ "tabs-tab-label": "awsui_tabs-tab-label_14rmt_11l2w_363",
15
+ "tabs-tab-header-container": "awsui_tabs-tab-header-container_14rmt_11l2w_374",
16
+ "tabs-tab-dismiss": "awsui_tabs-tab-dismiss_14rmt_11l2w_385",
17
+ "tabs-tab-action": "awsui_tabs-tab-action_14rmt_11l2w_385",
18
+ "refresh": "awsui_refresh_14rmt_11l2w_390",
19
+ "tabs-tab-disabled": "awsui_tabs-tab-disabled_14rmt_11l2w_394",
20
+ "tabs-tab-link": "awsui_tabs-tab-link_14rmt_11l2w_436",
21
+ "tabs-tab-active": "awsui_tabs-tab-active_14rmt_11l2w_514",
22
+ "tabs-header-with-divider": "awsui_tabs-header-with-divider_14rmt_11l2w_521",
23
+ "tabs-tab-focusable": "awsui_tabs-tab-focusable_14rmt_11l2w_525",
24
+ "root": "awsui_root_14rmt_11l2w_529",
25
+ "tabs": "awsui_tabs_14rmt_11l2w_290",
26
+ "tabs-content": "awsui_tabs-content_14rmt_11l2w_567",
27
+ "fit-height": "awsui_fit-height_14rmt_11l2w_571",
28
+ "tabs-content-active": "awsui_tabs-content-active_14rmt_11l2w_577",
29
+ "tabs-content-wrapper": "awsui_tabs-content-wrapper_14rmt_11l2w_591",
30
+ "with-paddings": "awsui_with-paddings_14rmt_11l2w_591",
31
+ "tabs-container-content-wrapper": "awsui_tabs-container-content-wrapper_14rmt_11l2w_602",
32
+ "disabled-reason-tooltip": "awsui_disabled-reason-tooltip_14rmt_11l2w_613",
33
+ "tabs-tab-focused": "awsui_tabs-tab-focused_14rmt_11l2w_617"
32
34
  };
33
35
 
@@ -287,15 +287,22 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
287
287
  SPDX-License-Identifier: Apache-2.0
288
288
  */
289
289
  /* stylelint-disable selector-max-type */
290
- .awsui_tabs-header_14rmt_1ebqu_290:not(#\9) {
290
+ .awsui_tabs-header_14rmt_11l2w_290:not(#\9) {
291
291
  margin-block: 0;
292
292
  margin-inline: 0;
293
293
  padding-block: 0;
294
294
  padding-inline: 0;
295
295
  display: flex;
296
+ flex-wrap: wrap;
296
297
  }
297
298
 
298
- .awsui_tabs-header-list_14rmt_1ebqu_298:not(#\9) {
299
+ .awsui_tab-header-scroll-container_14rmt_11l2w_299:not(#\9) {
300
+ display: flex;
301
+ flex-grow: 1;
302
+ max-inline-size: 100%;
303
+ }
304
+
305
+ .awsui_tabs-header-list_14rmt_11l2w_305:not(#\9) {
299
306
  margin-block: 0;
300
307
  margin-inline: 0;
301
308
  padding-block: 0;
@@ -309,33 +316,41 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
309
316
  -ms-overflow-style: none; /* Internet Explorer 10+ */
310
317
  scrollbar-width: none; /* Firefox */
311
318
  }
312
- .awsui_tabs-header-list_14rmt_1ebqu_298:not(#\9)::-webkit-scrollbar {
319
+ .awsui_tabs-header-list_14rmt_11l2w_305:not(#\9)::-webkit-scrollbar {
313
320
  display: none; /* Safari and Chrome */
314
321
  }
315
322
 
316
- .awsui_pagination-button_14rmt_1ebqu_316:not(#\9) {
323
+ .awsui_pagination-button_14rmt_11l2w_323:not(#\9) {
317
324
  margin-block: var(--space-scaled-s-aqzyko, 12px);
318
325
  margin-inline: 0;
319
326
  padding-block: 0;
320
327
  padding-inline: var(--space-xxs-p8yyaw, 4px);
321
328
  display: flex;
322
329
  }
323
- .awsui_pagination-button-left_14rmt_1ebqu_323:not(#\9) {
330
+ .awsui_pagination-button-left_14rmt_11l2w_330:not(#\9) {
324
331
  border-inline-end: var(--border-divider-section-width-1061zr, 1px) solid var(--color-border-control-disabled-qc5csz, #dedee3);
325
332
  }
326
- .awsui_pagination-button-left-scrollable_14rmt_1ebqu_326:not(#\9) {
333
+ .awsui_pagination-button-left-scrollable_14rmt_11l2w_333:not(#\9) {
327
334
  z-index: 1;
328
335
  box-shadow: 5px 0px 4px -3px var(--color-border-tabs-shadow-enjrr2, rgba(15, 20, 26, 0.12)), 1px 0px 0px 0px var(--color-border-tabs-shadow-enjrr2, rgba(15, 20, 26, 0.12));
329
336
  }
330
- .awsui_pagination-button-right_14rmt_1ebqu_330:not(#\9) {
337
+ .awsui_pagination-button-right_14rmt_11l2w_337:not(#\9) {
331
338
  border-inline-start: var(--border-divider-section-width-1061zr, 1px) solid var(--color-border-control-disabled-qc5csz, #dedee3);
332
339
  }
333
- .awsui_pagination-button-right-scrollable_14rmt_1ebqu_333:not(#\9) {
340
+ .awsui_pagination-button-right-scrollable_14rmt_11l2w_340:not(#\9) {
334
341
  z-index: 1;
335
342
  box-shadow: -5px 0px 4px -3px var(--color-border-tabs-shadow-enjrr2, rgba(15, 20, 26, 0.12)), -1px 0px 0px 0 var(--color-border-tabs-shadow-enjrr2, rgba(15, 20, 26, 0.12));
336
343
  }
337
344
 
338
- .awsui_tabs-tab_14rmt_1ebqu_338:not(#\9) {
345
+ .awsui_actions-container_14rmt_11l2w_345:not(#\9) {
346
+ flex-shrink: 0;
347
+ align-self: center;
348
+ padding-block: var(--space-xs-zb16t3, 8px);
349
+ padding-inline: var(--space-xs-zb16t3, 8px);
350
+ margin-inline-start: auto;
351
+ }
352
+
353
+ .awsui_tabs-tab_14rmt_11l2w_353:not(#\9) {
339
354
  list-style: none;
340
355
  padding-block: 0;
341
356
  padding-inline: 0;
@@ -345,7 +360,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
345
360
  scroll-snap-align: start;
346
361
  }
347
362
 
348
- .awsui_tabs-tab-label_14rmt_1ebqu_348:not(#\9) {
363
+ .awsui_tabs-tab-label_14rmt_11l2w_363:not(#\9) {
349
364
  display: flex;
350
365
  align-items: center;
351
366
  padding-inline: var(--space-xs-zb16t3, 8px);
@@ -356,7 +371,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
356
371
  word-break: break-word;
357
372
  }
358
373
 
359
- .awsui_tabs-tab-header-container_14rmt_1ebqu_359:not(#\9) {
374
+ .awsui_tabs-tab-header-container_14rmt_11l2w_374:not(#\9) {
360
375
  position: relative;
361
376
  border-block: var(--border-divider-section-width-1061zr, 1px) solid transparent;
362
377
  border-inline: var(--border-divider-section-width-1061zr, 1px) solid transparent;
@@ -364,19 +379,19 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
364
379
  display: flex;
365
380
  align-items: stretch;
366
381
  }
367
- .awsui_tabs-tab-header-container_14rmt_1ebqu_359:not(#\9), .awsui_tabs-tab-header-container_14rmt_1ebqu_359 > button:not(#\9) {
382
+ .awsui_tabs-tab-header-container_14rmt_11l2w_374:not(#\9), .awsui_tabs-tab-header-container_14rmt_11l2w_374 > button:not(#\9) {
368
383
  background-color: transparent;
369
384
  }
370
- .awsui_tabs-tab-header-container_14rmt_1ebqu_359 > .awsui_tabs-tab-dismiss_14rmt_1ebqu_370:not(#\9), .awsui_tabs-tab-header-container_14rmt_1ebqu_359 > .awsui_tabs-tab-action_14rmt_1ebqu_370:not(#\9) {
385
+ .awsui_tabs-tab-header-container_14rmt_11l2w_374 > .awsui_tabs-tab-dismiss_14rmt_11l2w_385:not(#\9), .awsui_tabs-tab-header-container_14rmt_11l2w_374 > .awsui_tabs-tab-action_14rmt_11l2w_385:not(#\9) {
371
386
  position: relative;
372
387
  display: flex;
373
388
  align-items: center;
374
389
  }
375
- .awsui_tabs-tab-header-container_14rmt_1ebqu_359.awsui_refresh_14rmt_1ebqu_375 > span:not(#\9):first-of-type {
390
+ .awsui_tabs-tab-header-container_14rmt_11l2w_374.awsui_refresh_14rmt_11l2w_390 > span:not(#\9):first-of-type {
376
391
  margin-inline-start: calc(-1 * var(--space-scaled-xs-26e2du, 8px));
377
392
  }
378
393
 
379
- .awsui_tabs-tab-header-container_14rmt_1ebqu_359:not(#\9):not(.awsui_tabs-tab-disabled_14rmt_1ebqu_379):after {
394
+ .awsui_tabs-tab-header-container_14rmt_11l2w_374:not(#\9):not(.awsui_tabs-tab-disabled_14rmt_11l2w_394):after {
380
395
  content: "";
381
396
  position: absolute;
382
397
  inset-inline-start: 0;
@@ -390,35 +405,35 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
390
405
  background: var(--color-border-tabs-underline-a5fmhd, #006ce0);
391
406
  opacity: 0;
392
407
  }
393
- .awsui_tabs-tab-header-container_14rmt_1ebqu_359:not(#\9):not(.awsui_tabs-tab-disabled_14rmt_1ebqu_379).awsui_refresh_14rmt_1ebqu_375:after {
408
+ .awsui_tabs-tab-header-container_14rmt_11l2w_374:not(#\9):not(.awsui_tabs-tab-disabled_14rmt_11l2w_394).awsui_refresh_14rmt_11l2w_390:after {
394
409
  transition: opacity var(--motion-duration-refresh-only-medium-nf6485, 165ms) var(--motion-easing-refresh-only-c-vg1m9h, cubic-bezier(0.84, 0, 0.16, 1));
395
410
  }
396
411
  @media (prefers-reduced-motion: reduce) {
397
- .awsui_tabs-tab-header-container_14rmt_1ebqu_359:not(#\9):not(.awsui_tabs-tab-disabled_14rmt_1ebqu_379).awsui_refresh_14rmt_1ebqu_375:after {
412
+ .awsui_tabs-tab-header-container_14rmt_11l2w_374:not(#\9):not(.awsui_tabs-tab-disabled_14rmt_11l2w_394).awsui_refresh_14rmt_11l2w_390:after {
398
413
  animation: none;
399
414
  transition: none;
400
415
  }
401
416
  }
402
- .awsui-motion-disabled .awsui_tabs-tab-header-container_14rmt_1ebqu_359:not(#\9):not(.awsui_tabs-tab-disabled_14rmt_1ebqu_379).awsui_refresh_14rmt_1ebqu_375:after, .awsui-mode-entering .awsui_tabs-tab-header-container_14rmt_1ebqu_359:not(#\9):not(.awsui_tabs-tab-disabled_14rmt_1ebqu_379).awsui_refresh_14rmt_1ebqu_375:after {
417
+ .awsui-motion-disabled .awsui_tabs-tab-header-container_14rmt_11l2w_374:not(#\9):not(.awsui_tabs-tab-disabled_14rmt_11l2w_394).awsui_refresh_14rmt_11l2w_390:after, .awsui-mode-entering .awsui_tabs-tab-header-container_14rmt_11l2w_374:not(#\9):not(.awsui_tabs-tab-disabled_14rmt_11l2w_394).awsui_refresh_14rmt_11l2w_390:after {
403
418
  animation: none;
404
419
  transition: none;
405
420
  }
406
421
 
407
- .awsui_tabs-tab_14rmt_1ebqu_338:not(#\9):not(:last-child) > .awsui_tabs-tab-header-container_14rmt_1ebqu_359 {
422
+ .awsui_tabs-tab_14rmt_11l2w_353:not(#\9):not(:last-child) > .awsui_tabs-tab-header-container_14rmt_11l2w_374 {
408
423
  margin-inline-end: calc(-1 * var(--border-divider-section-width-1061zr, 1px));
409
424
  }
410
- .awsui_tabs-tab_14rmt_1ebqu_338:not(#\9):not(:last-child) > .awsui_tabs-tab-header-container_14rmt_1ebqu_359:before {
425
+ .awsui_tabs-tab_14rmt_11l2w_353:not(#\9):not(:last-child) > .awsui_tabs-tab-header-container_14rmt_11l2w_374:before {
411
426
  content: "";
412
427
  position: absolute;
413
428
  border-inline-end: var(--border-divider-section-width-1061zr, 1px) solid var(--color-border-tabs-divider-djfdfj, #c6c6cd);
414
429
  inset: var(--space-scaled-s-aqzyko, 12px) 0;
415
430
  opacity: 1;
416
431
  }
417
- .awsui_tabs-tab_14rmt_1ebqu_338:not(#\9):not(:last-child) > .awsui_tabs-tab-header-container_14rmt_1ebqu_359.awsui_refresh_14rmt_1ebqu_375:before {
432
+ .awsui_tabs-tab_14rmt_11l2w_353:not(#\9):not(:last-child) > .awsui_tabs-tab-header-container_14rmt_11l2w_374.awsui_refresh_14rmt_11l2w_390:before {
418
433
  inset: calc(var(--space-static-s-n2eb28, 12px) - var(--border-active-width-9dmqf4, 4px)) 0;
419
434
  }
420
435
 
421
- .awsui_tabs-tab-link_14rmt_1ebqu_421:not(#\9) {
436
+ .awsui_tabs-tab-link_14rmt_11l2w_436:not(#\9) {
422
437
  position: relative;
423
438
  display: flex;
424
439
  align-items: stretch;
@@ -439,27 +454,27 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
439
454
  -webkit-font-smoothing: var(--font-smoothing-webkit-m8nc84, antialiased);
440
455
  -moz-osx-font-smoothing: var(--font-smoothing-moz-osx-foywby, grayscale);
441
456
  }
442
- .awsui_tabs-tab-link_14rmt_1ebqu_421.awsui_refresh_14rmt_1ebqu_375:not(#\9) {
457
+ .awsui_tabs-tab-link_14rmt_11l2w_436.awsui_refresh_14rmt_11l2w_390:not(#\9) {
443
458
  padding-block-start: calc(var(--space-static-xs-7sfb63, 8px) - 1px);
444
459
  padding-block-end: calc(var(--space-static-xs-7sfb63, 8px) - 1px);
445
460
  margin-block-start: 0;
446
461
  }
447
- .awsui_tabs-tab-link_14rmt_1ebqu_421:not(#\9):hover {
462
+ .awsui_tabs-tab-link_14rmt_11l2w_436:not(#\9):hover {
448
463
  color: var(--color-text-accent-fptgkc, #006ce0);
449
464
  }
450
- .awsui_tabs-tab-link_14rmt_1ebqu_421:not(#\9):focus {
465
+ .awsui_tabs-tab-link_14rmt_11l2w_436:not(#\9):focus {
451
466
  outline: none;
452
467
  }
453
- body[data-awsui-focus-visible=true] .awsui_tabs-tab-link_14rmt_1ebqu_421:not(#\9):focus {
468
+ body[data-awsui-focus-visible=true] .awsui_tabs-tab-link_14rmt_11l2w_436:not(#\9):focus {
454
469
  z-index: 1;
455
470
  border-inline-end-color: transparent;
456
471
  position: relative;
457
472
  }
458
- body[data-awsui-focus-visible=true] .awsui_tabs-tab-link_14rmt_1ebqu_421:not(#\9):focus {
473
+ body[data-awsui-focus-visible=true] .awsui_tabs-tab-link_14rmt_11l2w_436:not(#\9):focus {
459
474
  outline: 2px dotted transparent;
460
475
  outline-offset: calc(var(--space-tabs-focus-outline-gutter-xm37ly, -8px) - 1px);
461
476
  }
462
- body[data-awsui-focus-visible=true] .awsui_tabs-tab-link_14rmt_1ebqu_421:not(#\9):focus::before {
477
+ body[data-awsui-focus-visible=true] .awsui_tabs-tab-link_14rmt_11l2w_436:not(#\9):focus::before {
463
478
  content: " ";
464
479
  display: block;
465
480
  position: absolute;
@@ -474,48 +489,48 @@ body[data-awsui-focus-visible=true] .awsui_tabs-tab-link_14rmt_1ebqu_421:not(#\9
474
489
  box-shadow: 0 0 0 2px var(--color-border-item-focused-nv6mhz, #006ce0);
475
490
  }
476
491
 
477
- .awsui_tabs-tab_14rmt_1ebqu_338:not(#\9):first-child {
492
+ .awsui_tabs-tab_14rmt_11l2w_353:not(#\9):first-child {
478
493
  margin-inline-start: 1px;
479
494
  scroll-margin-inline-start: 1px;
480
495
  }
481
- .awsui_tabs-tab_14rmt_1ebqu_338:not(#\9):first-child > .awsui_tabs-tab-header-container_14rmt_1ebqu_359 {
496
+ .awsui_tabs-tab_14rmt_11l2w_353:not(#\9):first-child > .awsui_tabs-tab-header-container_14rmt_11l2w_374 {
482
497
  padding-inline-start: calc(var(--space-xs-zb16t3, 8px) - 1px);
483
498
  }
484
499
 
485
- .awsui_tabs-tab_14rmt_1ebqu_338:not(#\9):last-child {
500
+ .awsui_tabs-tab_14rmt_11l2w_353:not(#\9):last-child {
486
501
  margin-inline-end: 1px;
487
502
  scroll-margin-inline-end: 1px;
488
503
  }
489
- .awsui_tabs-tab_14rmt_1ebqu_338:not(#\9):last-child > .awsui_tabs-tab-header-container_14rmt_1ebqu_359 {
504
+ .awsui_tabs-tab_14rmt_11l2w_353:not(#\9):last-child > .awsui_tabs-tab-header-container_14rmt_11l2w_374 {
490
505
  padding-inline-end: calc(var(--space-xs-zb16t3, 8px) - 1px);
491
506
  }
492
507
 
493
- .awsui_tabs-tab-disabled_14rmt_1ebqu_379:not(#\9), .awsui_tabs-tab-disabled_14rmt_1ebqu_379:not(#\9):hover {
508
+ .awsui_tabs-tab-disabled_14rmt_11l2w_394:not(#\9), .awsui_tabs-tab-disabled_14rmt_11l2w_394:not(#\9):hover {
494
509
  cursor: default;
495
510
  color: var(--color-text-interactive-disabled-f5b4z5, #b4b4bb);
496
511
  font-weight: var(--font-tabs-disabled-weight-1xcs5l, 700);
497
512
  }
498
513
 
499
- .awsui_tabs-tab-active_14rmt_1ebqu_499:not(#\9):not(.awsui_tabs-tab-disabled_14rmt_1ebqu_379) {
514
+ .awsui_tabs-tab-active_14rmt_11l2w_514:not(#\9):not(.awsui_tabs-tab-disabled_14rmt_11l2w_394) {
500
515
  color: var(--color-text-accent-fptgkc, #006ce0);
501
516
  }
502
- .awsui_tabs-tab-active_14rmt_1ebqu_499:not(#\9):not(.awsui_tabs-tab-disabled_14rmt_1ebqu_379):after {
517
+ .awsui_tabs-tab-active_14rmt_11l2w_514:not(#\9):not(.awsui_tabs-tab-disabled_14rmt_11l2w_394):after {
503
518
  opacity: 1;
504
519
  }
505
520
 
506
- .awsui_tabs-header-with-divider_14rmt_1ebqu_506:not(#\9) {
521
+ .awsui_tabs-header-with-divider_14rmt_11l2w_521:not(#\9) {
507
522
  border-block-end: var(--border-divider-section-width-1061zr, 1px) solid var(--color-border-tabs-divider-djfdfj, #c6c6cd);
508
523
  }
509
524
 
510
- .awsui_tabs-tab-focusable_14rmt_1ebqu_510:not(#\9) {
525
+ .awsui_tabs-tab-focusable_14rmt_11l2w_525:not(#\9) {
511
526
  /* used to manage focusable logic */
512
527
  }
513
528
 
514
- .awsui_root_14rmt_1ebqu_514:not(#\9) {
529
+ .awsui_root_14rmt_11l2w_529:not(#\9) {
515
530
  /* used in test-utils or tests */
516
531
  }
517
532
 
518
- .awsui_tabs_14rmt_1ebqu_290:not(#\9) {
533
+ .awsui_tabs_14rmt_11l2w_290:not(#\9) {
519
534
  border-collapse: separate;
520
535
  border-spacing: 0;
521
536
  box-sizing: border-box;
@@ -550,21 +565,21 @@ body[data-awsui-focus-visible=true] .awsui_tabs-tab-link_14rmt_1ebqu_421:not(#\9
550
565
  inline-size: 100%;
551
566
  }
552
567
 
553
- .awsui_tabs-content_14rmt_1ebqu_552:not(#\9) {
568
+ .awsui_tabs-content_14rmt_11l2w_567:not(#\9) {
554
569
  display: none;
555
570
  }
556
571
 
557
- .awsui_fit-height_14rmt_1ebqu_556:not(#\9) {
572
+ .awsui_fit-height_14rmt_11l2w_571:not(#\9) {
558
573
  display: flex;
559
574
  flex-direction: column;
560
575
  block-size: 100%;
561
576
  }
562
577
 
563
- .awsui_tabs-content-active_14rmt_1ebqu_562:not(#\9) {
578
+ .awsui_tabs-content-active_14rmt_11l2w_577:not(#\9) {
564
579
  display: block;
565
580
  flex: 1;
566
581
  }
567
- body[data-awsui-focus-visible=true] .awsui_tabs-content-active_14rmt_1ebqu_562:not(#\9):focus {
582
+ body[data-awsui-focus-visible=true] .awsui_tabs-content-active_14rmt_11l2w_577:not(#\9):focus {
568
583
  outline: 2px dotted transparent;
569
584
  outline-offset: 2px;
570
585
  border-start-start-radius: var(--border-radius-container-wqv1zi, 16px);
@@ -574,32 +589,32 @@ body[data-awsui-focus-visible=true] .awsui_tabs-content-active_14rmt_1ebqu_562:n
574
589
  box-shadow: 0 0 0 2px var(--color-border-item-focused-nv6mhz, #006ce0);
575
590
  }
576
591
 
577
- .awsui_tabs-content-wrapper_14rmt_1ebqu_576.awsui_with-paddings_14rmt_1ebqu_576 > .awsui_tabs-content_14rmt_1ebqu_552:not(#\9) {
592
+ .awsui_tabs-content-wrapper_14rmt_11l2w_591.awsui_with-paddings_14rmt_11l2w_591 > .awsui_tabs-content_14rmt_11l2w_567:not(#\9) {
578
593
  padding-block: var(--space-scaled-m-mo5yse, 16px);
579
594
  padding-inline: 0;
580
595
  }
581
- .awsui_fit-height_14rmt_1ebqu_556 > .awsui_tabs-content-wrapper_14rmt_1ebqu_576:not(#\9) {
596
+ .awsui_fit-height_14rmt_11l2w_571 > .awsui_tabs-content-wrapper_14rmt_11l2w_591:not(#\9) {
582
597
  flex: 1;
583
598
  display: flex;
584
599
  flex-direction: column;
585
600
  overflow: auto;
586
601
  }
587
602
 
588
- .awsui_fit-height_14rmt_1ebqu_556 > .awsui_tabs-content-wrapper_14rmt_1ebqu_576 > .awsui_tabs-container-content-wrapper_14rmt_1ebqu_587:not(#\9) {
603
+ .awsui_fit-height_14rmt_11l2w_571 > .awsui_tabs-content-wrapper_14rmt_11l2w_591 > .awsui_tabs-container-content-wrapper_14rmt_11l2w_602:not(#\9) {
589
604
  block-size: 100%;
590
605
  display: flex;
591
606
  flex-direction: column;
592
607
  }
593
- .awsui_tabs-container-content-wrapper_14rmt_1ebqu_587.awsui_with-paddings_14rmt_1ebqu_576 > .awsui_tabs-content_14rmt_1ebqu_552:not(#\9) {
608
+ .awsui_tabs-container-content-wrapper_14rmt_11l2w_602.awsui_with-paddings_14rmt_11l2w_591 > .awsui_tabs-content_14rmt_11l2w_567:not(#\9) {
594
609
  padding-block-start: var(--space-tabs-content-top-dedu0k, 12px);
595
610
  padding-block-end: var(--space-scaled-l-0hpmd7, 20px);
596
611
  padding-inline: var(--space-container-horizontal-wfukh3, 20px);
597
612
  }
598
613
 
599
- .awsui_disabled-reason-tooltip_14rmt_1ebqu_598:not(#\9) {
614
+ .awsui_disabled-reason-tooltip_14rmt_11l2w_613:not(#\9) {
600
615
  /* used in test-utils or tests */
601
616
  }
602
617
 
603
- .awsui_tabs-tab-focused_14rmt_1ebqu_602:not(#\9) {
618
+ .awsui_tabs-tab-focused_14rmt_11l2w_617:not(#\9) {
604
619
  /* used to manage focusable state for disabled with reason tabs */
605
620
  }
@@ -2,33 +2,35 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "tabs-header": "awsui_tabs-header_14rmt_1ebqu_290",
6
- "tabs-header-list": "awsui_tabs-header-list_14rmt_1ebqu_298",
7
- "pagination-button": "awsui_pagination-button_14rmt_1ebqu_316",
8
- "pagination-button-left": "awsui_pagination-button-left_14rmt_1ebqu_323",
9
- "pagination-button-left-scrollable": "awsui_pagination-button-left-scrollable_14rmt_1ebqu_326",
10
- "pagination-button-right": "awsui_pagination-button-right_14rmt_1ebqu_330",
11
- "pagination-button-right-scrollable": "awsui_pagination-button-right-scrollable_14rmt_1ebqu_333",
12
- "tabs-tab": "awsui_tabs-tab_14rmt_1ebqu_338",
13
- "tabs-tab-label": "awsui_tabs-tab-label_14rmt_1ebqu_348",
14
- "tabs-tab-header-container": "awsui_tabs-tab-header-container_14rmt_1ebqu_359",
15
- "tabs-tab-dismiss": "awsui_tabs-tab-dismiss_14rmt_1ebqu_370",
16
- "tabs-tab-action": "awsui_tabs-tab-action_14rmt_1ebqu_370",
17
- "refresh": "awsui_refresh_14rmt_1ebqu_375",
18
- "tabs-tab-disabled": "awsui_tabs-tab-disabled_14rmt_1ebqu_379",
19
- "tabs-tab-link": "awsui_tabs-tab-link_14rmt_1ebqu_421",
20
- "tabs-tab-active": "awsui_tabs-tab-active_14rmt_1ebqu_499",
21
- "tabs-header-with-divider": "awsui_tabs-header-with-divider_14rmt_1ebqu_506",
22
- "tabs-tab-focusable": "awsui_tabs-tab-focusable_14rmt_1ebqu_510",
23
- "root": "awsui_root_14rmt_1ebqu_514",
24
- "tabs": "awsui_tabs_14rmt_1ebqu_290",
25
- "tabs-content": "awsui_tabs-content_14rmt_1ebqu_552",
26
- "fit-height": "awsui_fit-height_14rmt_1ebqu_556",
27
- "tabs-content-active": "awsui_tabs-content-active_14rmt_1ebqu_562",
28
- "tabs-content-wrapper": "awsui_tabs-content-wrapper_14rmt_1ebqu_576",
29
- "with-paddings": "awsui_with-paddings_14rmt_1ebqu_576",
30
- "tabs-container-content-wrapper": "awsui_tabs-container-content-wrapper_14rmt_1ebqu_587",
31
- "disabled-reason-tooltip": "awsui_disabled-reason-tooltip_14rmt_1ebqu_598",
32
- "tabs-tab-focused": "awsui_tabs-tab-focused_14rmt_1ebqu_602"
5
+ "tabs-header": "awsui_tabs-header_14rmt_11l2w_290",
6
+ "tab-header-scroll-container": "awsui_tab-header-scroll-container_14rmt_11l2w_299",
7
+ "tabs-header-list": "awsui_tabs-header-list_14rmt_11l2w_305",
8
+ "pagination-button": "awsui_pagination-button_14rmt_11l2w_323",
9
+ "pagination-button-left": "awsui_pagination-button-left_14rmt_11l2w_330",
10
+ "pagination-button-left-scrollable": "awsui_pagination-button-left-scrollable_14rmt_11l2w_333",
11
+ "pagination-button-right": "awsui_pagination-button-right_14rmt_11l2w_337",
12
+ "pagination-button-right-scrollable": "awsui_pagination-button-right-scrollable_14rmt_11l2w_340",
13
+ "actions-container": "awsui_actions-container_14rmt_11l2w_345",
14
+ "tabs-tab": "awsui_tabs-tab_14rmt_11l2w_353",
15
+ "tabs-tab-label": "awsui_tabs-tab-label_14rmt_11l2w_363",
16
+ "tabs-tab-header-container": "awsui_tabs-tab-header-container_14rmt_11l2w_374",
17
+ "tabs-tab-dismiss": "awsui_tabs-tab-dismiss_14rmt_11l2w_385",
18
+ "tabs-tab-action": "awsui_tabs-tab-action_14rmt_11l2w_385",
19
+ "refresh": "awsui_refresh_14rmt_11l2w_390",
20
+ "tabs-tab-disabled": "awsui_tabs-tab-disabled_14rmt_11l2w_394",
21
+ "tabs-tab-link": "awsui_tabs-tab-link_14rmt_11l2w_436",
22
+ "tabs-tab-active": "awsui_tabs-tab-active_14rmt_11l2w_514",
23
+ "tabs-header-with-divider": "awsui_tabs-header-with-divider_14rmt_11l2w_521",
24
+ "tabs-tab-focusable": "awsui_tabs-tab-focusable_14rmt_11l2w_525",
25
+ "root": "awsui_root_14rmt_11l2w_529",
26
+ "tabs": "awsui_tabs_14rmt_11l2w_290",
27
+ "tabs-content": "awsui_tabs-content_14rmt_11l2w_567",
28
+ "fit-height": "awsui_fit-height_14rmt_11l2w_571",
29
+ "tabs-content-active": "awsui_tabs-content-active_14rmt_11l2w_577",
30
+ "tabs-content-wrapper": "awsui_tabs-content-wrapper_14rmt_11l2w_591",
31
+ "with-paddings": "awsui_with-paddings_14rmt_11l2w_591",
32
+ "tabs-container-content-wrapper": "awsui_tabs-container-content-wrapper_14rmt_11l2w_602",
33
+ "disabled-reason-tooltip": "awsui_disabled-reason-tooltip_14rmt_11l2w_613",
34
+ "tabs-tab-focused": "awsui_tabs-tab-focused_14rmt_11l2w_617"
33
35
  };
34
36
 
@@ -9,8 +9,10 @@ interface TabHeaderBarProps {
9
9
  ariaLabel?: string;
10
10
  ariaLabelledby?: string;
11
11
  i18nStrings?: TabsProps.I18nStrings;
12
+ keyboardActivationMode: Required<TabsProps['keyboardActivationMode']>;
13
+ actions?: TabsProps['actions'];
12
14
  }
13
- export declare function TabHeaderBar({ onChange, activeTabId, tabs, variant, idNamespace, ariaLabel, ariaLabelledby, i18nStrings, }: TabHeaderBarProps): JSX.Element;
15
+ export declare function TabHeaderBar({ onChange, activeTabId, tabs, variant, idNamespace, ariaLabel, ariaLabelledby, i18nStrings, keyboardActivationMode, actions, }: TabHeaderBarProps): JSX.Element;
14
16
  export declare function getTabElementId({ namespace, tabId }: {
15
17
  namespace: string;
16
18
  tabId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"tab-header-bar.d.ts","sourceRoot":"","sources":["../../../src/tabs/tab-header-bar.tsx"],"names":[],"mappings":";AA8BA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AA0CzC,UAAU,iBAAiB;IACzB,QAAQ,EAAE,CAAC,YAAY,EAAE,SAAS,CAAC,YAAY,KAAK,IAAI,CAAC;IACzD,WAAW,EAAE,SAAS,CAAC,aAAa,CAAC,CAAC;IACtC,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IACxB,OAAO,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC;CACrC;AAED,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,WAAW,EACX,IAAI,EACJ,OAAO,EACP,WAAW,EACX,SAAS,EACT,cAAc,EACd,WAAW,GACZ,EAAE,iBAAiB,eAuZnB;AA6ED,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,UAEzF"}
1
+ {"version":3,"file":"tab-header-bar.d.ts","sourceRoot":"","sources":["../../../src/tabs/tab-header-bar.tsx"],"names":[],"mappings":";AA8BA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AA0CzC,UAAU,iBAAiB;IACzB,QAAQ,EAAE,CAAC,YAAY,EAAE,SAAS,CAAC,YAAY,KAAK,IAAI,CAAC;IACzD,WAAW,EAAE,SAAS,CAAC,aAAa,CAAC,CAAC;IACtC,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IACxB,OAAO,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC;IACpC,sBAAsB,EAAE,QAAQ,CAAC,SAAS,CAAC,wBAAwB,CAAC,CAAC,CAAC;IACtE,OAAO,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAChC;AAED,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,WAAW,EACX,IAAI,EACJ,OAAO,EACP,WAAW,EACX,SAAS,EACT,cAAc,EACd,WAAW,EACX,sBAAsB,EACtB,OAAO,GACR,EAAE,iBAAiB,eAqanB;AA6ED,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,UAEzF"}
@@ -26,7 +26,7 @@ const focusableTabSelector = `.${styles['tabs-tab-focusable']}`;
26
26
  function dismissButton({ dismissLabel, dismissDisabled, onDismiss, tabId, }) {
27
27
  return (React.createElement(InternalButton, { onClick: onDismiss, variant: "icon", iconName: "close", formAction: "none", ariaLabel: dismissLabel, disabled: dismissDisabled, className: clsx(testUtilStyles['tab-dismiss-button'], analyticsSelectors['tab-dismiss-button']), "data-testid": `awsui-tab-dismiss-button-${tabId}` }));
28
28
  }
29
- export function TabHeaderBar({ onChange, activeTabId, tabs, variant, idNamespace, ariaLabel, ariaLabelledby, i18nStrings, }) {
29
+ export function TabHeaderBar({ onChange, activeTabId, tabs, variant, idNamespace, ariaLabel, ariaLabelledby, i18nStrings, keyboardActivationMode, actions, }) {
30
30
  const headerBarRef = useRef(null);
31
31
  const activeTabHeaderRef = useRef(null);
32
32
  const inlineStartOverflowButton = useRef(null);
@@ -145,7 +145,15 @@ export function TabHeaderBar({ onChange, activeTabId, tabs, variant, idNamespace
145
145
  }
146
146
  function onKeyDown(event) {
147
147
  const focusTarget = document.activeElement;
148
- const specialKeys = [KeyCode.right, KeyCode.left, KeyCode.end, KeyCode.home, KeyCode.pageUp, KeyCode.pageDown];
148
+ const specialKeys = [
149
+ KeyCode.right,
150
+ KeyCode.left,
151
+ KeyCode.end,
152
+ KeyCode.home,
153
+ KeyCode.pageUp,
154
+ KeyCode.pageDown,
155
+ KeyCode.space,
156
+ ];
149
157
  const isActionOpen = document.querySelector(`.${styles['tabs-tab-action']} [aria-expanded="true"]`);
150
158
  const isDismissOrActionFocused = !(focusTarget === null || focusTarget === void 0 ? void 0 : focusTarget.classList.contains(styles['tabs-tab-link']));
151
159
  if (isActionOpen) {
@@ -173,6 +181,12 @@ export function TabHeaderBar({ onChange, activeTabId, tabs, variant, idNamespace
173
181
  onInlineEnd: () => focusElement(focusables[circleIndex(activeIndex + 1, [0, focusables.length - 1])]),
174
182
  onPageDown: () => inlineEndOverflow && onPaginationClick(headerBarRef, 'forward'),
175
183
  onPageUp: () => inlineStartOverflow && onPaginationClick(headerBarRef, 'backward'),
184
+ onActivate: () => {
185
+ var _a;
186
+ return focusedTabId &&
187
+ focusedTabId !== activeTabId &&
188
+ onChange({ activeTabId: focusedTabId, activeTabHref: (_a = tabs.find(tab => tab.id === focusedTabId)) === null || _a === void 0 ? void 0 : _a.href });
189
+ },
176
190
  });
177
191
  }
178
192
  function focusElement(element) {
@@ -185,7 +199,7 @@ export function TabHeaderBar({ onChange, activeTabId, tabs, variant, idNamespace
185
199
  if (tabId !== activeTabId && focusTargetTabLabelElement === element) {
186
200
  setPreviousActiveTabId(tabId);
187
201
  setFocusedTabId(tabId);
188
- if (!((_a = tabsById.get(tabId)) === null || _a === void 0 ? void 0 : _a.disabled)) {
202
+ if (!((_a = tabsById.get(tabId)) === null || _a === void 0 ? void 0 : _a.disabled) && keyboardActivationMode === 'automatic') {
189
203
  onChange({ activeTabId: tabId, activeTabHref: (_b = tabsById.get(tabId)) === null || _b === void 0 ? void 0 : _b.href });
190
204
  }
191
205
  break;
@@ -207,15 +221,15 @@ export function TabHeaderBar({ onChange, activeTabId, tabs, variant, idNamespace
207
221
  return getAllFocusables(target).filter(el => isElementRegistered(el) && isElementFocusable(el));
208
222
  }
209
223
  const TabList = hasActionOrDismissible ? 'div' : 'ul';
210
- return (
211
- //converted span to div as list should not be a child of span for HTML validation
212
- React.createElement("div", { className: classes, ref: containerRef },
213
- horizontalOverflow && (React.createElement("span", { ref: inlineStartOverflowButton, className: leftButtonClasses },
214
- React.createElement(InternalButton, { formAction: "none", variant: "icon", iconName: "angle-left", disabled: !inlineStartOverflow, __focusable: true, onClick: () => onPaginationClick(headerBarRef, 'backward'), ariaLabel: i18n('i18nStrings.scrollLeftAriaLabel', i18nStrings === null || i18nStrings === void 0 ? void 0 : i18nStrings.scrollLeftAriaLabel) }))),
215
- React.createElement(SingleTabStopNavigationProvider, { ref: navigationAPI, navigationActive: true, getNextFocusTarget: getNextFocusTarget, onUnregisterActive: onUnregisterActive },
216
- React.createElement(TabList, Object.assign({}, tabActionAttributes, { className: clsx(styles['tabs-header-list'], analyticsSelectors['tabs-header-list']), "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, ref: headerBarRef, onScroll: onScroll, onKeyDown: onKeyDown, onFocus: onFocus, onBlur: onBlur }), tabs.map(renderTabHeader))),
217
- horizontalOverflow && (React.createElement("span", { className: rightButtonClasses },
218
- React.createElement(InternalButton, { formAction: "none", variant: "icon", iconName: "angle-right", disabled: !inlineEndOverflow, __focusable: true, onClick: () => onPaginationClick(headerBarRef, 'forward'), ariaLabel: i18n('i18nStrings.scrollRightAriaLabel', i18nStrings === null || i18nStrings === void 0 ? void 0 : i18nStrings.scrollRightAriaLabel) })))));
224
+ return (React.createElement("div", { className: classes },
225
+ React.createElement("div", { className: styles['tab-header-scroll-container'], ref: containerRef },
226
+ horizontalOverflow && (React.createElement("span", { ref: inlineStartOverflowButton, className: leftButtonClasses },
227
+ React.createElement(InternalButton, { formAction: "none", variant: "icon", iconName: "angle-left", disabled: !inlineStartOverflow, __focusable: true, onClick: () => onPaginationClick(headerBarRef, 'backward'), ariaLabel: i18n('i18nStrings.scrollLeftAriaLabel', i18nStrings === null || i18nStrings === void 0 ? void 0 : i18nStrings.scrollLeftAriaLabel) }))),
228
+ React.createElement(SingleTabStopNavigationProvider, { ref: navigationAPI, navigationActive: true, getNextFocusTarget: getNextFocusTarget, onUnregisterActive: onUnregisterActive },
229
+ React.createElement(TabList, Object.assign({}, tabActionAttributes, { className: clsx(styles['tabs-header-list'], analyticsSelectors['tabs-header-list']), "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, ref: headerBarRef, onScroll: onScroll, onKeyDown: onKeyDown, onFocus: onFocus, onBlur: onBlur }), tabs.map(renderTabHeader))),
230
+ horizontalOverflow && (React.createElement("span", { className: rightButtonClasses },
231
+ React.createElement(InternalButton, { formAction: "none", variant: "icon", iconName: "angle-right", disabled: !inlineEndOverflow, __focusable: true, onClick: () => onPaginationClick(headerBarRef, 'forward'), ariaLabel: i18n('i18nStrings.scrollRightAriaLabel', i18nStrings === null || i18nStrings === void 0 ? void 0 : i18nStrings.scrollRightAriaLabel) })))),
232
+ actions && React.createElement("div", { className: styles['actions-container'] }, actions)));
219
233
  function renderTabHeader(tab, index) {
220
234
  const { dismissible, dismissLabel, dismissDisabled, action, onDismiss } = tab;
221
235
  const isActive = activeTabId === tab.id && !tab.disabled;