@common-origin/design-system 2.22.0 → 3.0.0

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 (117) hide show
  1. package/README.md +2 -2
  2. package/dist/client.js +218 -476
  3. package/dist/client.js.map +1 -1
  4. package/dist/components/atoms/Badge/Badge.d.mts +5 -12
  5. package/dist/components/atoms/Badge/Badge.d.ts +5 -12
  6. package/dist/components/atoms/Badge/Badge.mjs +0 -7
  7. package/dist/components/atoms/Badge/index.d.mts +1 -1
  8. package/dist/components/atoms/Badge/index.d.ts +1 -1
  9. package/dist/components/atoms/Box/Box.d.mts +29 -17
  10. package/dist/components/atoms/Box/Box.d.ts +29 -17
  11. package/dist/components/atoms/Box/Box.mjs +8 -8
  12. package/dist/components/atoms/Button/Button.d.mts +1 -4
  13. package/dist/components/atoms/Button/Button.d.ts +1 -4
  14. package/dist/components/atoms/Button/Button.mjs +3 -10
  15. package/dist/components/atoms/CategoryLabel/CategoryLabel.d.mts +4 -12
  16. package/dist/components/atoms/CategoryLabel/CategoryLabel.d.ts +4 -12
  17. package/dist/components/atoms/CategoryLabel/CategoryLabel.mjs +5 -16
  18. package/dist/components/atoms/Chip/Chip.d.mts +8 -20
  19. package/dist/components/atoms/Chip/Chip.d.ts +8 -20
  20. package/dist/components/atoms/Chip/Chip.mjs +20 -46
  21. package/dist/components/atoms/Chip/Chip.mjs.map +1 -1
  22. package/dist/components/atoms/Chip/FilterChip.d.mts +22 -10
  23. package/dist/components/atoms/Chip/FilterChip.d.ts +22 -10
  24. package/dist/components/atoms/Chip/FilterChip.mjs +66 -6
  25. package/dist/components/atoms/Chip/FilterChip.mjs.map +1 -1
  26. package/dist/components/atoms/Chip/InputChip.mjs +4 -6
  27. package/dist/components/atoms/Chip/InputChip.mjs.map +1 -1
  28. package/dist/components/atoms/Chip/index.d.mts +0 -1
  29. package/dist/components/atoms/Chip/index.d.ts +0 -1
  30. package/dist/components/atoms/Chip/shared/types.d.mts +9 -19
  31. package/dist/components/atoms/Chip/shared/types.d.ts +9 -19
  32. package/dist/components/atoms/Chip/shared/utils.d.mts +3 -3
  33. package/dist/components/atoms/Chip/shared/utils.d.ts +3 -3
  34. package/dist/components/atoms/Chip/shared/utils.mjs +4 -8
  35. package/dist/components/atoms/Chip/shared/utils.mjs.map +1 -1
  36. package/dist/components/atoms/DateFormatter/DateFormatter.d.mts +2 -5
  37. package/dist/components/atoms/DateFormatter/DateFormatter.d.ts +2 -5
  38. package/dist/components/atoms/DateFormatter/DateFormatter.mjs +0 -1
  39. package/dist/components/atoms/StatusLabel/StatusLabel.mjs +1 -4
  40. package/dist/components/atoms/StatusLabel/StatusLabel.mjs.map +1 -1
  41. package/dist/components/atoms/StatusLabel/StatusLabelBase.d.mts +5 -7
  42. package/dist/components/atoms/StatusLabel/StatusLabelBase.d.ts +5 -7
  43. package/dist/components/atoms/StatusLabel/StatusLabelBase.mjs +10 -12
  44. package/dist/components/atoms/Tag/Tag.d.mts +2 -4
  45. package/dist/components/atoms/Tag/Tag.d.ts +2 -4
  46. package/dist/components/atoms/Tag/Tag.mjs +0 -24
  47. package/dist/components/atoms/index.d.mts +0 -2
  48. package/dist/components/atoms/index.d.ts +0 -2
  49. package/dist/components/layout/GridSystem/GridSystem.d.mts +23 -18
  50. package/dist/components/layout/GridSystem/GridSystem.d.ts +23 -18
  51. package/dist/components/layout/GridSystem/GridSystem.mjs +7 -5
  52. package/dist/components/molecules/AccountCard/AccountCard.mjs +1 -1
  53. package/dist/components/molecules/AgentInput/AgentInput.d.mts +5 -0
  54. package/dist/components/molecules/AgentInput/AgentInput.d.ts +5 -0
  55. package/dist/components/molecules/AgentInput/AgentInput.mjs +1 -1
  56. package/dist/components/molecules/Alert/Alert.d.mts +1 -9
  57. package/dist/components/molecules/Alert/Alert.d.ts +1 -9
  58. package/dist/components/molecules/Alert/Alert.mjs +13 -26
  59. package/dist/components/molecules/ChipGroup/ChipGroup.d.mts +0 -1
  60. package/dist/components/molecules/ChipGroup/ChipGroup.d.ts +0 -1
  61. package/dist/components/molecules/ChipGroup/ChipGroup.mjs +1 -6
  62. package/dist/components/molecules/DateGroup/DateGroup.d.mts +1 -2
  63. package/dist/components/molecules/DateGroup/DateGroup.d.ts +1 -2
  64. package/dist/components/molecules/Modal/Modal.d.mts +0 -1
  65. package/dist/components/molecules/Modal/Modal.d.ts +0 -1
  66. package/dist/components/molecules/TabBar/TabBar.d.mts +0 -13
  67. package/dist/components/molecules/TabBar/TabBar.d.ts +0 -13
  68. package/dist/components/molecules/TabBar/TabBar.mjs +2 -4
  69. package/dist/components/molecules/TabBar/index.d.mts +1 -1
  70. package/dist/components/molecules/TabBar/index.d.ts +1 -1
  71. package/dist/components/molecules/index.d.mts +0 -1
  72. package/dist/components/molecules/index.d.ts +0 -1
  73. package/dist/data.js +29 -571
  74. package/dist/data.js.map +1 -1
  75. package/dist/index.js +0 -5
  76. package/dist/index.js.map +1 -1
  77. package/dist/index.mjs +1 -5
  78. package/dist/index.mjs.map +1 -1
  79. package/dist/lib/tokenAliases.d.mts +17 -8
  80. package/dist/lib/tokenAliases.d.ts +17 -8
  81. package/dist/lib/tokenAliases.mjs +46 -87
  82. package/dist/lib/tokenAliases.mjs.map +1 -1
  83. package/dist/styles/tokens.d.mts +7 -2043
  84. package/dist/styles/tokens.d.ts +7 -2043
  85. package/dist/styles/tokens.json +29 -571
  86. package/dist/styles/tokens.json.mjs +29 -571
  87. package/dist/styles/tokens.json.mjs.map +1 -1
  88. package/dist/tokens/index.js +29 -571
  89. package/dist/tokens/index.js.map +1 -1
  90. package/dist/tokens/index.mjs +29 -571
  91. package/dist/tokens/index.mjs.map +1 -1
  92. package/dist/tokens/styles/tokens.d.mts +7 -2043
  93. package/dist/tokens/styles/tokens.d.ts +7 -2043
  94. package/dist/tokens.css +10 -481
  95. package/package.json +2 -2
  96. package/dist/components/atoms/CategoryBadge/CategoryBadge.d.mts +0 -29
  97. package/dist/components/atoms/CategoryBadge/CategoryBadge.d.ts +0 -29
  98. package/dist/components/atoms/CategoryBadge/CategoryBadge.mjs +0 -29
  99. package/dist/components/atoms/CategoryBadge/CategoryBadge.mjs.map +0 -1
  100. package/dist/components/atoms/CategoryBadge/index.d.mts +0 -2
  101. package/dist/components/atoms/CategoryBadge/index.d.ts +0 -2
  102. package/dist/components/atoms/Chip/BooleanChip.d.mts +0 -28
  103. package/dist/components/atoms/Chip/BooleanChip.d.ts +0 -28
  104. package/dist/components/atoms/Chip/BooleanChip.mjs +0 -76
  105. package/dist/components/atoms/Chip/BooleanChip.mjs.map +0 -1
  106. package/dist/components/atoms/StatusBadge/StatusBadge.d.mts +0 -24
  107. package/dist/components/atoms/StatusBadge/StatusBadge.d.ts +0 -24
  108. package/dist/components/atoms/StatusBadge/StatusBadge.mjs +0 -18
  109. package/dist/components/atoms/StatusBadge/StatusBadge.mjs.map +0 -1
  110. package/dist/components/atoms/StatusBadge/index.d.mts +0 -2
  111. package/dist/components/atoms/StatusBadge/index.d.ts +0 -2
  112. package/dist/components/molecules/PageTitle/PageTitle.d.mts +0 -21
  113. package/dist/components/molecules/PageTitle/PageTitle.d.ts +0 -21
  114. package/dist/components/molecules/PageTitle/PageTitle.mjs +0 -77
  115. package/dist/components/molecules/PageTitle/PageTitle.mjs.map +0 -1
  116. package/dist/components/molecules/PageTitle/index.d.mts +0 -1
  117. package/dist/components/molecules/PageTitle/index.d.ts +0 -1
package/dist/client.js CHANGED
@@ -167,7 +167,7 @@ var AvatarContainer = /*#__PURE__*/styled__default.default.div.withConfig({
167
167
  },
168
168
  displayName: "Avatar__AvatarContainer",
169
169
  componentId: "sc-ezn4ax-0"
170
- })(templateObject_1$P || (templateObject_1$P = __makeTemplateObject(["\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n height: ", ";\n border-radius: ", ";\n background-color: ", ";\n overflow: hidden;\n flex-shrink: 0;\n"], ["\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n height: ", ";\n border-radius: ", ";\n background-color: ", ";\n overflow: hidden;\n flex-shrink: 0;\n"])), function (_a) {
170
+ })(templateObject_1$O || (templateObject_1$O = __makeTemplateObject(["\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n height: ", ";\n border-radius: ", ";\n background-color: ", ";\n overflow: hidden;\n flex-shrink: 0;\n"], ["\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n height: ", ";\n border-radius: ", ";\n background-color: ", ";\n overflow: hidden;\n flex-shrink: 0;\n"])), function (_a) {
171
171
  var $size = _a.$size;
172
172
  return size$4.avatar[$size];
173
173
  }, function (_a) {
@@ -246,7 +246,7 @@ var Avatar = function Avatar(_a) {
246
246
  })
247
247
  }));
248
248
  };
249
- var templateObject_1$P, templateObject_2$z, templateObject_3$w;
249
+ var templateObject_1$O, templateObject_2$z, templateObject_3$w;
250
250
 
251
251
  // Breakpoints from the semantic tokens (decision 0014)
252
252
  var breakpoints$1 = {
@@ -281,7 +281,7 @@ var forcedColorsEdge = "".concat(forcedColors, " {\n border: ").concat(tokens.s
281
281
  var reducedMotion = '@media (prefers-reduced-motion: reduce)';
282
282
  // No `from` keyframe: the fade starts from the element's current opacity, including a
283
283
  // still-running entrance, so closing mid-entrance doesn't jump back to fully visible.
284
- var fadeOut$1 = styled.keyframes(templateObject_1$O || (templateObject_1$O = __makeTemplateObject(["\n to { opacity: 0; }\n"], ["\n to { opacity: 0; }\n"
284
+ var fadeOut$1 = styled.keyframes(templateObject_1$N || (templateObject_1$N = __makeTemplateObject(["\n to { opacity: 0; }\n"], ["\n to { opacity: 0; }\n"
285
285
  // Exit for overlays that unmount (use with usePresence). Append `exitAnimation` to each of
286
286
  // the element's `animation` declarations while it exits: the entrance stays in the list,
287
287
  // so it isn't restarted, and the fade runs on top of it. A fade is already the
@@ -399,7 +399,7 @@ var rowForcedColors = function rowForcedColors(_a) {
399
399
  // the descendants' own rules.
400
400
  return "".concat(forcedColors, " {\n ").concat(selected ? "background-color: Highlight;\n ".concat(text('HighlightText'), "\n && * {\n color: inherit;\n background-color: transparent;\n }") : '', "\n ").concat(!disabled && focused ? hover : '', "\n ").concat(disabled ? '' : "&:hover {\n ".concat(hover, "\n }"), "\n }");
401
401
  };
402
- var templateObject_1$O, templateObject_2$y, templateObject_3$v;
402
+ var templateObject_1$N, templateObject_2$y, templateObject_3$v;
403
403
 
404
404
  var _a$a = tokens.semantic,
405
405
  typography$3 = _a$a.typography,
@@ -467,7 +467,7 @@ var StyledTypography = /*#__PURE__*/styled__default.default.span.withConfig({
467
467
  },
468
468
  displayName: "Typography__StyledTypography",
469
469
  componentId: "sc-17mqo4k-0"
470
- })(templateObject_1$N || (templateObject_1$N = __makeTemplateObject(["\n ", "\n color: ", ";\n margin: 0;\n"], ["\n ", "\n color: ", ";\n margin: 0;\n"
470
+ })(templateObject_1$M || (templateObject_1$M = __makeTemplateObject(["\n ", "\n color: ", ";\n margin: 0;\n"], ["\n ", "\n color: ", ";\n margin: 0;\n"
471
471
  /**
472
472
  * Typography is an atomic component for rendering text with semantic meaning and consistent styling.
473
473
  *
@@ -529,7 +529,7 @@ var Typography = function Typography(_a) {
529
529
  children: children
530
530
  });
531
531
  };
532
- var templateObject_1$N;
532
+ var templateObject_1$M;
533
533
 
534
534
  var semantic$m = tokens.semantic;
535
535
  var color$b = semantic$m.color;
@@ -538,7 +538,7 @@ var _a$9 = tokens.component.badge,
538
538
  dot = _a$9.dot,
539
539
  count = _a$9.count,
540
540
  ring = _a$9.ring;
541
- var scaleIn$2 = styled.keyframes(templateObject_1$M || (templateObject_1$M = __makeTemplateObject(["\n from {\n transform: scale(0.8);\n opacity: 0;\n }\n to {\n transform: scale(1);\n opacity: 1;\n }\n"], ["\n from {\n transform: scale(0.8);\n opacity: 0;\n }\n to {\n transform: scale(1);\n opacity: 1;\n }\n"])));
541
+ var scaleIn$2 = styled.keyframes(templateObject_1$L || (templateObject_1$L = __makeTemplateObject(["\n from {\n transform: scale(0.8);\n opacity: 0;\n }\n to {\n transform: scale(1);\n opacity: 1;\n }\n"], ["\n from {\n transform: scale(0.8);\n opacity: 0;\n }\n to {\n transform: scale(1);\n opacity: 1;\n }\n"])));
542
542
  var BadgeWrapper = /*#__PURE__*/styled__default.default.span.withConfig({
543
543
  displayName: "Badge__BadgeWrapper",
544
544
  componentId: "sc-tjz4pp-0"
@@ -561,14 +561,7 @@ var BadgeIndicator = /*#__PURE__*/styled__default.default.span.withConfig({
561
561
  return props.$isDot ? "".concat(forcedColors, " { forced-color-adjust: none; background-color: CanvasText; }") : "".concat(forcedColors, " { border: ").concat(semantic$m.border.width.thin, " solid currentColor; }");
562
562
  }, function (props) {
563
563
  switch (props.$variant) {
564
- // 'primary', 'error', 'warning' and 'success' are deprecated aliases for 'accent', removed in
565
- // 3.0: 'primary' (#169), and the status colours, because a badge's colour alone can't carry a
566
- // status (decision 0045, #263)
567
564
  case 'accent':
568
- case 'primary':
569
- case 'error':
570
- case 'warning':
571
- case 'success':
572
565
  return "\n background-color: ".concat(color$b.fill.accent, ";\n color: ").concat(color$b.text.inverse, ";\n ");
573
566
  default:
574
567
  return "\n background-color: ".concat(color$b.fill.emphasis, ";\n color: ").concat(color$b.text.inverse, ";\n ");
@@ -615,18 +608,18 @@ var Badge = function Badge(_a) {
615
608
  })]
616
609
  });
617
610
  };
618
- var templateObject_1$M, templateObject_2$x, templateObject_3$u, templateObject_4$n;
611
+ var templateObject_1$L, templateObject_2$x, templateObject_3$u, templateObject_4$n;
619
612
 
620
- // Props whose values are token keys keep their published vocabulary in 2.x (P7), but read the
621
- // semantic grammar's names (decision 0031, #189). Each map covers every key the prop type allows,
622
- // so TypeScript fails here if a key is added without a mapping.
613
+ // Box's spacing and radius props keep their own names, which 3.0 decoupled from the removed
614
+ // spacing.layout and border.radius tokens (P7, #99), and read the semantic grammar's tokens
615
+ // (decision 0031). Each map covers every key the prop type allows, so TypeScript fails here if a
616
+ // key is added without a mapping.
623
617
  var semantic$l = tokens.semantic;
624
618
  var color$a = semantic$l.color,
625
619
  space$e = semantic$l.space,
626
620
  radius$4 = semantic$l.radius,
627
- surface = semantic$l.surface,
628
- opacity = semantic$l.opacity;
629
- /** Box's spacing props (`p`, `m`, `gap`…): the old layout scale's keys, read from `space`. */
621
+ surface = semantic$l.surface;
622
+ /** Box's spacing props: each name maps to the space step that replaced its spacing.layout token. */
630
623
  var spaceByLayoutKey = {
631
624
  none: space$e[0],
632
625
  xs: space$e[100],
@@ -644,10 +637,10 @@ var spaceByLayoutKey = {
644
637
  '9xl': space$e[1600],
645
638
  '10xl': space$e[2000],
646
639
  '11xl': space$e[2400],
647
- // A keyword, not a step: it stays until the keyword question is settled (0031)
640
+ // A keyword, not a step (0031)
648
641
  auto: semantic$l.spacing.layout.auto
649
642
  };
650
- /** Box's `borderRadius` prop: the old radius keys, read from `radius`. */
643
+ /** Box's `borderRadius` prop, read from `radius`. */
651
644
  var radiusByKey = {
652
645
  none: radius$4.none,
653
646
  xs: radius$4.xs,
@@ -659,85 +652,44 @@ var radiusByKey = {
659
652
  '3xl': radius$4['3xl'],
660
653
  circle: radius$4.full
661
654
  };
662
- /** Box's `bg` prop: the old background keys, read from `surface` and `color.fill`. */
663
- var backgroundByKey = {
664
- "default": surface.base,
665
- page: surface.base,
666
- subtle: surface.raised,
667
- overlay: surface.scrim,
668
- emphasis: color$a.fill.emphasis,
669
- // A strong fill's states mix its content colour in at the state-layer opacity (decision 0048)
670
- 'emphasis-hover': "color-mix(in srgb, ".concat(color$a.fill.emphasis, ", ").concat(color$a.text.inverse, " calc(").concat(opacity.state.hover, " * 100%))"),
671
- 'emphasis-active': "color-mix(in srgb, ".concat(color$a.fill.emphasis, ", ").concat(color$a.text.inverse, " calc(").concat(opacity.state.pressed, " * 100%))"),
672
- surface: color$a.fill.muted,
673
- inverse: color$a.fill.inverse,
674
- interactive: color$a.fill.accent,
675
- 'interactive-hover': color$a.fill['accent-hover'],
676
- 'interactive-active': color$a.fill['accent-pressed'],
677
- 'interactive-subtle': color$a.fill['accent-muted'],
678
- 'interactive-subtle-hover': color$a.fill['accent-muted-hover'],
679
- 'interactive-subtle-active': color$a.fill['accent-muted-pressed'],
680
- error: color$a.fill.danger,
681
- 'error-hover': color$a.fill['danger-hover'],
682
- 'error-active': color$a.fill['danger-pressed'],
683
- 'error-subtle': color$a.fill['danger-muted'],
684
- success: color$a.fill.success,
685
- 'success-subtle': color$a.fill['success-muted'],
686
- warning: color$a.fill.warning,
687
- 'warning-subtle': color$a.fill['warning-muted'],
688
- disabled: color$a.fill.disabled,
689
- neutral: color$a.fill["default"],
690
- 'neutral-hover': color$a.fill['default-hover'],
691
- 'neutral-active': color$a.fill['default-pressed'],
692
- transparent: color$a.fill.none,
693
- 'hover-overlay': color$a.fill['none-hover'],
694
- 'active-overlay': color$a.fill['none-pressed'],
695
- 'inverse-overlay': color$a.fill['inverse-none-hover'],
696
- // Moved to the component tier (decision 0031 §6)
697
- progressTrack: tokens.component.track.background
698
- };
699
- /** Box's `color` prop: text colours, old and new keys. */
700
- var textColorByKey = {
701
- "default": color$a.text["default"],
702
- emphasis: color$a.text["default"],
703
- inverse: color$a.text.inverse,
704
- disabled: color$a.text.disabled,
705
- success: color$a.text.success,
706
- warning: color$a.text.warning,
707
- muted: color$a.text.muted,
708
- accent: color$a.text.accent,
709
- 'accent-hover': color$a.text.accent,
710
- 'accent-pressed': color$a.text.accent,
711
- danger: color$a.text.danger,
712
- serious: color$a.text.serious,
713
- ai: color$a.text.ai,
714
- subdued: color$a.text.muted,
715
- interactive: color$a.text.accent,
716
- 'interactive-hover': color$a.text.accent,
717
- 'interactive-active': color$a.text.accent,
718
- error: color$a.text.danger
719
- };
720
- /** Box's border props: border colours, old and new keys. */
721
- var borderColorByKey = {
722
- "default": color$a.border["default"],
723
- success: color$a.border.success,
724
- warning: color$a.border.warning,
725
- none: color$a.border.none,
726
- emphasis: color$a.border["default"],
727
- input: color$a.border.input,
728
- 'input-hover': color$a.border['input-hover'],
729
- focus: color$a.border.focus,
730
- accent: color$a.border.accent,
731
- danger: color$a.border.danger,
732
- serious: color$a.border.serious,
733
- ai: color$a.border.ai,
734
- subtle: color$a.border["default"],
735
- control: color$a.border.input,
736
- // `strong` split by use (0031); as a generic firm outline it is the hovered-input border
737
- strong: color$a.border['input-hover'],
738
- interactive: color$a.border.accent,
739
- error: color$a.border.danger
655
+ /** Box's `bg` prop: the grammar's token paths, read from the token at that path. */
656
+ var backgroundByPath = {
657
+ 'surface.base': surface.base,
658
+ 'surface.raised': surface.raised,
659
+ 'surface.scrim': surface.scrim,
660
+ 'color.fill.emphasis': color$a.fill.emphasis,
661
+ 'color.fill.muted': color$a.fill.muted,
662
+ 'color.fill.inverse': color$a.fill.inverse,
663
+ 'color.fill.accent': color$a.fill.accent,
664
+ 'color.fill.accent-hover': color$a.fill['accent-hover'],
665
+ 'color.fill.accent-pressed': color$a.fill['accent-pressed'],
666
+ 'color.fill.accent-muted': color$a.fill['accent-muted'],
667
+ 'color.fill.accent-muted-hover': color$a.fill['accent-muted-hover'],
668
+ 'color.fill.accent-muted-pressed': color$a.fill['accent-muted-pressed'],
669
+ 'color.fill.danger': color$a.fill.danger,
670
+ 'color.fill.danger-hover': color$a.fill['danger-hover'],
671
+ 'color.fill.danger-pressed': color$a.fill['danger-pressed'],
672
+ 'color.fill.danger-muted': color$a.fill['danger-muted'],
673
+ 'color.fill.success': color$a.fill.success,
674
+ 'color.fill.success-muted': color$a.fill['success-muted'],
675
+ 'color.fill.warning': color$a.fill.warning,
676
+ 'color.fill.warning-muted': color$a.fill['warning-muted'],
677
+ 'color.fill.serious': color$a.fill.serious,
678
+ 'color.fill.serious-muted': color$a.fill['serious-muted'],
679
+ 'color.fill.ai-muted': color$a.fill['ai-muted'],
680
+ 'color.fill.disabled': color$a.fill.disabled,
681
+ 'color.fill.default': color$a.fill["default"],
682
+ 'color.fill.default-hover': color$a.fill['default-hover'],
683
+ 'color.fill.default-pressed': color$a.fill['default-pressed'],
684
+ 'color.fill.none': color$a.fill.none,
685
+ 'color.fill.none-hover': color$a.fill['none-hover'],
686
+ 'color.fill.none-pressed': color$a.fill['none-pressed'],
687
+ 'color.fill.inverse-none-hover': color$a.fill['inverse-none-hover']
740
688
  };
689
+ /** Box's `color` prop: the text colours. */
690
+ var textColorByKey = color$a.text;
691
+ /** Box's border props: the border colours. */
692
+ var borderColorByKey = color$a.border;
741
693
 
742
694
  var StyledBox = /*#__PURE__*/styled__default.default.div.withConfig({
743
695
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -748,7 +700,7 @@ var StyledBox = /*#__PURE__*/styled__default.default.div.withConfig({
748
700
  })(templateObject_51 || (templateObject_51 = __makeTemplateObject(["\n ", "\n \n // Flexbox\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Margin\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Padding\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Size\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Position\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Borders\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Background & Color\n ", "\n ", "\n \n // Elevation (shadow)\n ", "\n \n // Cursor\n ", "\n \n // Transition\n ", "\n \n // Hover states\n ", "\n \n // Overflow\n ", "\n ", "\n ", "\n"], ["\n ", "\n \n // Flexbox\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Margin\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Padding\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Size\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Position\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Borders\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n \n // Background & Color\n ", "\n ", "\n \n // Elevation (shadow)\n ", "\n \n // Cursor\n ", "\n \n // Transition\n ", "\n \n // Hover states\n ", "\n \n // Overflow\n ", "\n ", "\n ", "\n"
749
701
  // Transform component that maps clean props to $-prefixed props for styled-components
750
702
  ])), function (props) {
751
- return props.$display && styled.css(templateObject_1$L || (templateObject_1$L = __makeTemplateObject(["display: ", ";"], ["display: ", ";"])), props.$display);
703
+ return props.$display && styled.css(templateObject_1$K || (templateObject_1$K = __makeTemplateObject(["display: ", ";"], ["display: ", ";"])), props.$display);
752
704
  }, function (props) {
753
705
  return props.$flexDirection && styled.css(templateObject_2$w || (templateObject_2$w = __makeTemplateObject(["flex-direction: ", ";"], ["flex-direction: ", ";"])), props.$flexDirection);
754
706
  }, function (props) {
@@ -812,19 +764,19 @@ var StyledBox = /*#__PURE__*/styled__default.default.div.withConfig({
812
764
  }, function (props) {
813
765
  return props.$borderRadius && styled.css(templateObject_32$2 || (templateObject_32$2 = __makeTemplateObject(["border-radius: ", ";"], ["border-radius: ", ";"])), radiusByKey[props.$borderRadius]);
814
766
  }, function (props) {
815
- return props.$border && styled.css(templateObject_33$2 || (templateObject_33$2 = __makeTemplateObject(["border: ", " solid ", ";"], ["border: ", " solid ", ";"])), tokens.semantic.border.width.thin, borderColorByKey[props.$border]);
767
+ return props.$border && borderColorByKey[props.$border] && styled.css(templateObject_33$2 || (templateObject_33$2 = __makeTemplateObject(["border: ", " solid ", ";"], ["border: ", " solid ", ";"])), tokens.semantic.border.width.thin, borderColorByKey[props.$border]);
816
768
  }, function (props) {
817
- return props.$borderTop && styled.css(templateObject_34$1 || (templateObject_34$1 = __makeTemplateObject(["border-top: ", " solid ", ";"], ["border-top: ", " solid ", ";"])), tokens.semantic.border.width.thin, borderColorByKey[props.$borderTop]);
769
+ return props.$borderTop && borderColorByKey[props.$borderTop] && styled.css(templateObject_34$1 || (templateObject_34$1 = __makeTemplateObject(["border-top: ", " solid ", ";"], ["border-top: ", " solid ", ";"])), tokens.semantic.border.width.thin, borderColorByKey[props.$borderTop]);
818
770
  }, function (props) {
819
- return props.$borderRight && styled.css(templateObject_35$1 || (templateObject_35$1 = __makeTemplateObject(["border-right: ", " solid ", ";"], ["border-right: ", " solid ", ";"])), tokens.semantic.border.width.thin, borderColorByKey[props.$borderRight]);
771
+ return props.$borderRight && borderColorByKey[props.$borderRight] && styled.css(templateObject_35$1 || (templateObject_35$1 = __makeTemplateObject(["border-right: ", " solid ", ";"], ["border-right: ", " solid ", ";"])), tokens.semantic.border.width.thin, borderColorByKey[props.$borderRight]);
820
772
  }, function (props) {
821
- return props.$borderBottom && styled.css(templateObject_36 || (templateObject_36 = __makeTemplateObject(["border-bottom: ", " solid ", ";"], ["border-bottom: ", " solid ", ";"])), tokens.semantic.border.width.thin, borderColorByKey[props.$borderBottom]);
773
+ return props.$borderBottom && borderColorByKey[props.$borderBottom] && styled.css(templateObject_36 || (templateObject_36 = __makeTemplateObject(["border-bottom: ", " solid ", ";"], ["border-bottom: ", " solid ", ";"])), tokens.semantic.border.width.thin, borderColorByKey[props.$borderBottom]);
822
774
  }, function (props) {
823
- return props.$borderLeft && styled.css(templateObject_37 || (templateObject_37 = __makeTemplateObject(["border-left: ", " solid ", ";"], ["border-left: ", " solid ", ";"])), tokens.semantic.border.width.thin, borderColorByKey[props.$borderLeft]);
775
+ return props.$borderLeft && borderColorByKey[props.$borderLeft] && styled.css(templateObject_37 || (templateObject_37 = __makeTemplateObject(["border-left: ", " solid ", ";"], ["border-left: ", " solid ", ";"])), tokens.semantic.border.width.thin, borderColorByKey[props.$borderLeft]);
824
776
  }, function (props) {
825
- return props.$bg && styled.css(templateObject_38 || (templateObject_38 = __makeTemplateObject(["background-color: ", ";"], ["background-color: ", ";"])), backgroundByKey[props.$bg]);
777
+ return props.$bg && backgroundByPath[props.$bg] && styled.css(templateObject_38 || (templateObject_38 = __makeTemplateObject(["background-color: ", ";"], ["background-color: ", ";"])), backgroundByPath[props.$bg]);
826
778
  }, function (props) {
827
- return props.$color && styled.css(templateObject_39 || (templateObject_39 = __makeTemplateObject(["color: ", ";"], ["color: ", ";"])), textColorByKey[props.$color]);
779
+ return props.$color && textColorByKey[props.$color] && styled.css(templateObject_39 || (templateObject_39 = __makeTemplateObject(["color: ", ";"], ["color: ", ";"])), textColorByKey[props.$color]);
828
780
  }, function (props) {
829
781
  return props.$shadow && styled.css(templateObject_40 || (templateObject_40 = __makeTemplateObject(["box-shadow: ", ";"], ["box-shadow: ", ";"])), tokens.semantic.elevation[props.$shadow]);
830
782
  }, function (props) {
@@ -972,7 +924,7 @@ var BoxTransform = function BoxTransform(props) {
972
924
  }));
973
925
  };
974
926
  var Box = BoxTransform;
975
- var templateObject_1$L, templateObject_2$w, templateObject_3$t, templateObject_4$m, templateObject_5$i, templateObject_6$d, templateObject_7$b, templateObject_8$8, templateObject_9$6, templateObject_10$4, templateObject_11$4, templateObject_12$4, templateObject_13$4, templateObject_14$2, templateObject_15$2, templateObject_16$2, templateObject_17$2, templateObject_18$2, templateObject_19$2, templateObject_20$2, templateObject_21$2, templateObject_22$2, templateObject_23$2, templateObject_24$2, templateObject_25$2, templateObject_26$2, templateObject_27$2, templateObject_28$2, templateObject_29$2, templateObject_30$2, templateObject_31$2, templateObject_32$2, templateObject_33$2, templateObject_34$1, templateObject_35$1, templateObject_36, templateObject_37, templateObject_38, templateObject_39, templateObject_40, templateObject_41, templateObject_42, templateObject_43, templateObject_44, templateObject_45, templateObject_46, templateObject_47, templateObject_48, templateObject_49, templateObject_50, templateObject_51;
927
+ var templateObject_1$K, templateObject_2$w, templateObject_3$t, templateObject_4$m, templateObject_5$i, templateObject_6$d, templateObject_7$b, templateObject_8$8, templateObject_9$6, templateObject_10$4, templateObject_11$4, templateObject_12$4, templateObject_13$4, templateObject_14$2, templateObject_15$2, templateObject_16$2, templateObject_17$2, templateObject_18$2, templateObject_19$2, templateObject_20$2, templateObject_21$2, templateObject_22$2, templateObject_23$2, templateObject_24$2, templateObject_25$2, templateObject_26$2, templateObject_27$2, templateObject_28$2, templateObject_29$2, templateObject_30$2, templateObject_31$2, templateObject_32$2, templateObject_33$2, templateObject_34$1, templateObject_35$1, templateObject_36, templateObject_37, templateObject_38, templateObject_39, templateObject_40, templateObject_41, templateObject_42, templateObject_43, templateObject_44, templateObject_45, templateObject_46, templateObject_47, templateObject_48, templateObject_49, templateObject_50, templateObject_51;
976
928
 
977
929
  var IconStyled = /*#__PURE__*/styled__default.default.span.withConfig({
978
930
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -980,7 +932,7 @@ var IconStyled = /*#__PURE__*/styled__default.default.span.withConfig({
980
932
  },
981
933
  displayName: "Icon__IconStyled",
982
934
  componentId: "sc-1105czq-0"
983
- })(templateObject_1$K || (templateObject_1$K = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n height: ", ";\n \n svg {\n width: 100%;\n height: 100%;\n display: block;\n }\n \n /* Use semantic icon colors */\n color: ", ";\n"], ["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n height: ", ";\n \n svg {\n width: 100%;\n height: 100%;\n display: block;\n }\n \n /* Use semantic icon colors */\n color: ", ";\n"])), function (_a) {
935
+ })(templateObject_1$J || (templateObject_1$J = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n height: ", ";\n \n svg {\n width: 100%;\n height: 100%;\n display: block;\n }\n \n /* Use semantic icon colors */\n color: ", ";\n"], ["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n height: ", ";\n \n svg {\n width: 100%;\n height: 100%;\n display: block;\n }\n \n /* Use semantic icon colors */\n color: ", ";\n"])), function (_a) {
984
936
  var $size = _a.$size;
985
937
  return tokens.semantic.size.icon[$size];
986
938
  }, function (_a) {
@@ -1057,7 +1009,7 @@ var Icon = function Icon(_a) {
1057
1009
  }))
1058
1010
  });
1059
1011
  };
1060
- var templateObject_1$K;
1012
+ var templateObject_1$J;
1061
1013
 
1062
1014
  var button$1 = tokens.component.button,
1063
1015
  semantic$k = tokens.semantic;
@@ -1070,6 +1022,7 @@ var control$1 = semantic$k.size.control;
1070
1022
  var baseButtonStyles = "\n box-sizing: border-box;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: ".concat(tokens.semantic.space[100], ";\n height: max-content;\n cursor: pointer;\n border: none;\n text-decoration: none;\n transition: ").concat(semantic$k.motion.transition.feedback, ";\n white-space: nowrap;\n user-select: none;\n \n &:focus {\n outline: ").concat(button$1.focus.outline, ";\n outline-offset: ").concat(semantic$k.border.focusOffset, ";\n }\n\n &:disabled {\n cursor: not-allowed;\n }\n\n ").concat(forcedColorsEdge, "\n");
1071
1023
  // Dynamic variant styles using component tokens
1072
1024
  var getVariantStyles$1 = function getVariantStyles(_a) {
1025
+ var _b;
1073
1026
  var $variant = _a.$variant;
1074
1027
  var variantConfig = {
1075
1028
  primary: {
@@ -1104,15 +1057,6 @@ var getVariantStyles$1 = function getVariantStyles(_a) {
1104
1057
  disabledBg: button$1.variants.accent.disabled.backgroundColor,
1105
1058
  disabledText: button$1.variants.accent.disabled.textColor
1106
1059
  },
1107
- // Deprecated alias for accent; removed in 3.0
1108
- emphasis: {
1109
- bg: button$1.variants.emphasis.backgroundColor,
1110
- text: button$1.variants.emphasis.textColor,
1111
- hoverBg: button$1.variants.emphasis.hover.backgroundColor,
1112
- activeBg: button$1.variants.emphasis.active.backgroundColor,
1113
- disabledBg: button$1.variants.emphasis.disabled.backgroundColor,
1114
- disabledText: button$1.variants.emphasis.disabled.textColor
1115
- },
1116
1060
  danger: {
1117
1061
  bg: button$1.variants.danger.backgroundColor,
1118
1062
  text: button$1.variants.danger.textColor,
@@ -1122,7 +1066,8 @@ var getVariantStyles$1 = function getVariantStyles(_a) {
1122
1066
  disabledText: button$1.variants.danger.disabled.textColor
1123
1067
  }
1124
1068
  };
1125
- var config = variantConfig[$variant];
1069
+ // A removed variant (such as `emphasis`) passed from plain JavaScript renders as primary
1070
+ var config = (_b = variantConfig[$variant]) !== null && _b !== void 0 ? _b : variantConfig.primary;
1126
1071
  return "\n background-color: ".concat(config.bg, ";\n color: ").concat(config.text, ";\n \n &:hover:not(:disabled) {\n background-color: ").concat(config.hoverBg, ";\n }\n\n &:active:not(:disabled) {\n background-color: ").concat(config.activeBg, ";\n }\n\n &:disabled {\n background-color: ").concat(config.disabledBg, ";\n color: ").concat(config.disabledText, ";\n }\n ");
1127
1072
  };
1128
1073
  // Dynamic size styles: font from component tokens, height from size.control (decision 0034)
@@ -1144,7 +1089,7 @@ var StyledButton = /*#__PURE__*/styled__default.default.button.withConfig({
1144
1089
  },
1145
1090
  displayName: "Button__StyledButton",
1146
1091
  componentId: "sc-1eiuum9-0"
1147
- })(templateObject_1$J || (templateObject_1$J = __makeTemplateObject(["\n ", "\n border-radius: ", ";\n \n ", "\n ", "\n"], ["\n ", "\n border-radius: ", ";\n \n ", "\n ", "\n"])), baseButtonStyles, button$1.primary.borderRadius, getVariantStyles$1, getSizeStyles);
1092
+ })(templateObject_1$I || (templateObject_1$I = __makeTemplateObject(["\n ", "\n border-radius: ", ";\n \n ", "\n ", "\n"], ["\n ", "\n border-radius: ", ";\n \n ", "\n ", "\n"])), baseButtonStyles, button$1.primary.borderRadius, getVariantStyles$1, getSizeStyles);
1148
1093
  var StyledLink = /*#__PURE__*/styled__default.default.a.withConfig({
1149
1094
  shouldForwardProp: function shouldForwardProp(prop) {
1150
1095
  return !prop.startsWith('$');
@@ -1254,7 +1199,7 @@ var Button = function Button(_a) {
1254
1199
  children: renderButtonContent(children, iconName, size)
1255
1200
  }));
1256
1201
  };
1257
- var templateObject_1$J, templateObject_2$v;
1202
+ var templateObject_1$I, templateObject_2$v;
1258
1203
 
1259
1204
  var semantic$j = tokens.semantic;
1260
1205
  var color$9 = semantic$j.color;
@@ -1263,20 +1208,7 @@ var category = color$9.category;
1263
1208
  var radius$3 = semantic$j.radius;
1264
1209
  var space$d = semantic$j.space;
1265
1210
  var labelHeight$1 = semantic$j.size.label;
1266
- var displayColor = {
1267
- olive: 'olive',
1268
- periwinkle: 'periwinkle',
1269
- rose: 'rose',
1270
- magenta: 'magenta',
1271
- gray: 'gray',
1272
- blue: 'periwinkle',
1273
- purple: 'magenta',
1274
- pink: 'rose',
1275
- yellow: 'olive',
1276
- green: 'olive',
1277
- red: 'rose',
1278
- orange: 'rose'
1279
- };
1211
+ var displayColors = ['olive', 'periwinkle', 'rose', 'magenta', 'gray'];
1280
1212
  // Text on white or the -muted fill (outlined and minimal), at least 4.5:1 (#115)
1281
1213
  var categoryText = {
1282
1214
  olive: category['olive-text'],
@@ -1291,7 +1223,7 @@ var StyledCategoryLabel = /*#__PURE__*/styled__default.default.span.withConfig({
1291
1223
  },
1292
1224
  displayName: "CategoryLabel__StyledCategoryLabel",
1293
1225
  componentId: "sc-1jx7bjo-0"
1294
- })(templateObject_1$I || (templateObject_1$I = __makeTemplateObject(["\n box-sizing: border-box; /* the height includes padding and border, without relying on a global reset */\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: ", ";\n white-space: nowrap;\n user-select: none;\n border-style: solid;\n border-width: ", ";\n \n /* Size styles */\n height: ", ";\n padding: ", ";\n font: ", ";\n /* After the font shorthand, which would otherwise reset it */\n font-weight: ", ";\n gap: ", ";\n \n /* Variant + Color styles */\n background-color: ", ";\n \n /* Outlined and minimal text uses the AA text token, not the base colour (issue 115) */\n color: ", ";\n \n border-color: ", ";\n"], ["\n box-sizing: border-box; /* the height includes padding and border, without relying on a global reset */\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: ", ";\n white-space: nowrap;\n user-select: none;\n border-style: solid;\n border-width: ", ";\n \n /* Size styles */\n height: ", ";\n padding: ", ";\n font: ", ";\n /* After the font shorthand, which would otherwise reset it */\n font-weight: ", ";\n gap: ", ";\n \n /* Variant + Color styles */\n background-color: ", ";\n \n /* Outlined and minimal text uses the AA text token, not the base colour (issue 115) */\n color: ", ";\n \n border-color: ", ";\n"
1226
+ })(templateObject_1$H || (templateObject_1$H = __makeTemplateObject(["\n box-sizing: border-box; /* the height includes padding and border, without relying on a global reset */\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: ", ";\n white-space: nowrap;\n user-select: none;\n border-style: solid;\n border-width: ", ";\n \n /* Size styles */\n height: ", ";\n padding: ", ";\n font: ", ";\n /* After the font shorthand, which would otherwise reset it */\n font-weight: ", ";\n gap: ", ";\n \n /* Variant + Color styles */\n background-color: ", ";\n \n /* Outlined and minimal text uses the AA text token, not the base colour (issue 115) */\n color: ", ";\n \n border-color: ", ";\n"], ["\n box-sizing: border-box; /* the height includes padding and border, without relying on a global reset */\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: ", ";\n white-space: nowrap;\n user-select: none;\n border-style: solid;\n border-width: ", ";\n \n /* Size styles */\n height: ", ";\n padding: ", ";\n font: ", ";\n /* After the font shorthand, which would otherwise reset it */\n font-weight: ", ";\n gap: ", ";\n \n /* Variant + Color styles */\n background-color: ", ";\n \n /* Outlined and minimal text uses the AA text token, not the base colour (issue 115) */\n color: ", ";\n \n border-color: ", ";\n"
1295
1227
  // The visible content, hidden from assistive technology when an aria-label replaces it.
1296
1228
  // display: contents keeps the root's flex layout and gap.
1297
1229
  ])), radius$3.full, semantic$j.border.width.thin, function (_a) {
@@ -1389,8 +1321,10 @@ var CategoryLabel = function CategoryLabel(_a) {
1389
1321
  var iconSize = size === 'medium' ? 'xs' : 'sm';
1390
1322
  // A blank aria-label is no label at all, so it falls back like a missing one
1391
1323
  var accessibleLabel = (ariaLabel === null || ariaLabel === void 0 ? void 0 : ariaLabel.trim()) ? ariaLabel : undefined;
1392
- return jsxRuntime.jsxs(StyledCategoryLabel, {
1393
- "$color": displayColor[color],
1324
+ return jsxRuntime.jsxs(StyledCategoryLabel
1325
+ // A removed hue name passed from plain JavaScript renders as the default, periwinkle
1326
+ , {
1327
+ "$color": displayColors.includes(color) ? color : 'periwinkle',
1394
1328
  "$variant": variant,
1395
1329
  "$size": size,
1396
1330
  "data-testid": dataTestId,
@@ -1407,35 +1341,13 @@ var CategoryLabel = function CategoryLabel(_a) {
1407
1341
  });
1408
1342
  };
1409
1343
  CategoryLabel.displayName = 'CategoryLabel';
1410
- var templateObject_1$I, templateObject_2$u, templateObject_3$s;
1411
-
1412
- // CategoryBadge sizes on the decision 0018 scale
1413
- var toLabelSize = {
1414
- small: 'medium',
1415
- medium: 'large'
1416
- };
1417
- /**
1418
- * CategoryBadge displays a category label.
1419
- *
1420
- * @deprecated Renamed to `CategoryLabel` (same `color` and `variant`). Map `size="small"` to
1421
- * `"medium"`, and `size="medium"` (or no size) to `"large"`, CategoryLabel's default.
1422
- * CategoryBadge is removed in 3.0 (decision 0018).
1423
- */
1424
- var CategoryBadge = function CategoryBadge(_a) {
1425
- var _b = _a.size,
1426
- size = _b === void 0 ? 'medium' : _b,
1427
- props = __rest(_a, ["size"]);
1428
- return jsxRuntime.jsx(CategoryLabel, __assign({}, props, {
1429
- size: toLabelSize[size]
1430
- }));
1431
- };
1432
- CategoryBadge.displayName = 'CategoryBadge';
1344
+ var templateObject_1$H, templateObject_2$u, templateObject_3$s;
1433
1345
 
1434
1346
  var chip$2 = tokens.component.chip,
1435
1347
  semantic$i = tokens.semantic;
1436
- // Helper function to get variant styles matching Button's approach
1348
+ // The chip's fill and text for its surface and state, matching Button's approach
1437
1349
  var getVariantStyles = function getVariantStyles(_a) {
1438
- var $variant = _a.$variant,
1350
+ var $surface = _a.$surface,
1439
1351
  $selected = _a.$selected,
1440
1352
  $clickable = _a.$clickable,
1441
1353
  $disabled = _a.$disabled;
@@ -1454,16 +1366,12 @@ var getVariantStyles = function getVariantStyles(_a) {
1454
1366
  var interactiveStates = $clickable;
1455
1367
  return "\n background-color: ".concat(fill['accent-muted'], ";\n color: ").concat(text.accent, ";\n \n &:hover {\n background-color: ").concat(interactiveStates ? fill['accent-muted-hover'] : fill['accent-muted'], ";\n color: ").concat(interactiveStates ? text.accent : text.accent, ";\n }\n \n &:active {\n background-color: ").concat(interactiveStates ? fill['accent-muted-pressed'] : fill['accent-muted'], ";\n color: ").concat(interactiveStates ? text.accent : text.accent, ";\n }\n\n /* Forced colours drop the fill, so a selected chip takes the system selection colours\n (decision 0038); its checkmark follows the text colour */\n ").concat(forcedColors, " {\n forced-color-adjust: none;\n background-color: Highlight;\n border-color: Highlight;\n color: HighlightText;\n }\n ");
1456
1368
  }
1457
- switch ($variant) {
1458
- case 'emphasis':
1459
- return "\n background-color: ".concat(chip$2.variants.emphasis.backgroundColor, ";\n color: ").concat(chip$2.variants.emphasis.textColor, ";\n \n &:hover {\n background-color: ").concat($disabled ? chip$2.variants.emphasis.disabled.backgroundColor : $clickable ? chip$2.variants.emphasis.hover.backgroundColor : chip$2.variants.emphasis.backgroundColor, ";\n }\n \n &:active {\n background-color: ").concat($disabled ? chip$2.variants.emphasis.disabled.backgroundColor : $clickable ? chip$2.variants.emphasis.active.backgroundColor : chip$2.variants.emphasis.backgroundColor, ";\n }\n \n ").concat($disabled ? "\n background-color: ".concat(chip$2.variants.emphasis.disabled.backgroundColor, ";\n color: ").concat(chip$2.variants.emphasis.disabled.textColor, ";\n ") : '', "\n ");
1369
+ switch ($surface) {
1460
1370
  case 'subtle':
1461
1371
  return "\n background-color: ".concat(chip$2.variants.subtle.backgroundColor, ";\n color: ").concat(chip$2.variants.subtle.textColor, ";\n \n &:hover {\n background-color: ").concat($disabled ? chip$2.variants.subtle.disabled.backgroundColor : $clickable ? chip$2.variants.subtle.hover.backgroundColor : chip$2.variants.subtle.backgroundColor, ";\n }\n \n &:active {\n background-color: ").concat($disabled ? chip$2.variants.subtle.disabled.backgroundColor : $clickable ? chip$2.variants.subtle.active.backgroundColor : chip$2.variants.subtle.backgroundColor, ";\n }\n \n ").concat($disabled ? "\n background-color: ".concat(chip$2.variants.subtle.disabled.backgroundColor, ";\n color: ").concat(chip$2.variants.subtle.disabled.textColor, ";\n ") : '', "\n ");
1462
- case 'interactive':
1463
- return "\n background-color: ".concat(chip$2.variants.interactive.backgroundColor, ";\n color: ").concat(chip$2.variants.interactive.textColor, ";\n \n &:hover {\n background-color: ").concat($disabled ? chip$2.variants.interactive.disabled.backgroundColor : $clickable ? chip$2.variants.interactive.hover.backgroundColor : chip$2.variants.interactive.backgroundColor, ";\n }\n \n &:active {\n background-color: ").concat($disabled ? chip$2.variants.interactive.disabled.backgroundColor : $clickable ? chip$2.variants.interactive.active.backgroundColor : chip$2.variants.interactive.backgroundColor, ";\n }\n \n ").concat($disabled ? "\n background-color: ".concat(chip$2.variants.interactive.disabled.backgroundColor, ";\n color: ").concat(chip$2.variants.interactive.disabled.textColor, ";\n ") : '', "\n ");
1464
1372
  case 'default':
1465
1373
  default:
1466
- return "\n background-color: ".concat(chip$2["default"].backgroundColor, ";\n color: ").concat(chip$2["default"].textColor, ";\n \n &:hover {\n background-color: ").concat($disabled ? chip$2.disabled.backgroundColor : $clickable ? chip$2.hover.backgroundColor : chip$2["default"].backgroundColor, ";\n }\n \n &:active {\n background-color: ").concat($disabled ? chip$2.disabled.backgroundColor : $clickable ? chip$2.active.backgroundColor : chip$2["default"].backgroundColor, ";\n }\n \n ").concat($disabled ? "\n background-color: ".concat(chip$2.disabled.backgroundColor, ";\n color: ").concat(chip$2.disabled.textColor, ";\n ") : '', "\n ");
1374
+ return "\n background-color: ".concat(chip$2["default"].backgroundColor, ";\n color: ").concat(chip$2["default"].textColor, ";\n \n ").concat($disabled ? "\n background-color: ".concat(chip$2.disabled.backgroundColor, ";\n color: ").concat(chip$2.disabled.textColor, ";\n ") : '', "\n ");
1467
1375
  }
1468
1376
  };
1469
1377
  // Chips have one size: 24px from the label scale as a minimum, with the content centred
@@ -1480,7 +1388,7 @@ var StyledChip = /*#__PURE__*/styled__default.default.span.withConfig({
1480
1388
  },
1481
1389
  displayName: "ChipBase__StyledChip",
1482
1390
  componentId: "sc-moa6zc-0"
1483
- })(templateObject_1$H || (templateObject_1$H = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: fit-content;\n height: max-content;\n border-radius: ", ";\n box-sizing: border-box;\n user-select: none;\n white-space: nowrap;\n transition: ", ";\n cursor: ", ";\n \n /* Forced colours: an edge, and GrayText when disabled, since a span gets no system disabled\n colour (decision 0038). Before the variant styles, so a selected chip's Highlight border wins. */\n ", "\n ", "\n\n ", "\n ", "\n \n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n }\n\n"], ["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: fit-content;\n height: max-content;\n border-radius: ", ";\n box-sizing: border-box;\n user-select: none;\n white-space: nowrap;\n transition: ", ";\n cursor: ", ";\n \n /* Forced colours: an edge, and GrayText when disabled, since a span gets no system disabled\n colour (decision 0038). Before the variant styles, so a selected chip's Highlight border wins. */\n ", "\n ", "\n\n ", "\n ", "\n \n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n }\n\n"
1391
+ })(templateObject_1$G || (templateObject_1$G = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: fit-content;\n height: max-content;\n border-radius: ", ";\n box-sizing: border-box;\n user-select: none;\n white-space: nowrap;\n transition: ", ";\n cursor: ", ";\n \n /* Forced colours: an edge, and GrayText when disabled, since a span gets no system disabled\n colour (decision 0038). Before the variant styles, so a selected chip's Highlight border wins. */\n ", "\n ", "\n\n ", "\n ", "\n \n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n }\n\n"], ["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: fit-content;\n height: max-content;\n border-radius: ", ";\n box-sizing: border-box;\n user-select: none;\n white-space: nowrap;\n transition: ", ";\n cursor: ", ";\n \n /* Forced colours: an edge, and GrayText when disabled, since a span gets no system disabled\n colour (decision 0038). Before the variant styles, so a selected chip's Highlight border wins. */\n ", "\n ", "\n\n ", "\n ", "\n \n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n }\n\n"
1484
1392
  // Icon container for selected indicator or leading icons
1485
1393
  ])), chip$1["default"].borderRadius, semantic$h.motion.transition.feedback, function (props) {
1486
1394
  return props.$disabled ? 'not-allowed' : props.$clickable ? 'pointer' : 'default';
@@ -1504,76 +1412,50 @@ var CloseButton = /*#__PURE__*/styled__default.default.button.withConfig({
1504
1412
  })(templateObject_3$r || (templateObject_3$r = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n margin-left: ", ";\n background: transparent;\n border: none;\n position: relative;\n width: ", ";\n height: ", ";\n padding: ", ";\n\n /* The pointer target is at least 24 \xD7 24px (WCAG 2.5.8, decision 0039): an invisible hit area\n as tall as the chip, centred on the 20px button. It stays inside the chip and its padding, so\n it can't overlap another target. */\n &::before {\n content: '';\n position: absolute;\n top: 50%;\n left: 50%;\n width: ", ";\n height: ", ";\n transform: translate(-50%, -50%);\n }\n border-radius: ", ";\n cursor: ", ";\n color: inherit;\n transition: ", ";\n \n &:hover:not(:disabled) {\n background-color: ", ";\n }\n \n &:active:not(:disabled) {\n background-color: ", ";\n }\n \n &:disabled {\n color: ", ";\n }\n \n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n border-radius: ", ";\n }\n"], ["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n margin-left: ", ";\n background: transparent;\n border: none;\n position: relative;\n width: ", ";\n height: ", ";\n padding: ", ";\n\n /* The pointer target is at least 24 \xD7 24px (WCAG 2.5.8, decision 0039): an invisible hit area\n as tall as the chip, centred on the 20px button. It stays inside the chip and its padding, so\n it can't overlap another target. */\n &::before {\n content: '';\n position: absolute;\n top: 50%;\n left: 50%;\n width: ", ";\n height: ", ";\n transform: translate(-50%, -50%);\n }\n border-radius: ", ";\n cursor: ", ";\n color: inherit;\n transition: ", ";\n \n &:hover:not(:disabled) {\n background-color: ", ";\n }\n \n &:active:not(:disabled) {\n background-color: ", ";\n }\n \n &:disabled {\n color: ", ";\n }\n \n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n border-radius: ", ";\n }\n"])), tokens.semantic.space[200], chip$1.closeButton.size, chip$1.closeButton.size, tokens.semantic.space[0], semantic$h.size.label.medium, semantic$h.size.label.medium, tokens.semantic.radius.xs, function (props) {
1505
1413
  return props.$disabled ? 'not-allowed' : 'pointer';
1506
1414
  }, semantic$h.motion.transition.feedback, tokens.semantic.color.fill['none-hover'], tokens.semantic.color.fill['none-pressed'], tokens.semantic.color.text.disabled, chip$1.focus.outline, semantic$h.border.focusOffset, chip$1["default"].borderRadius);
1507
- var templateObject_1$H, templateObject_2$t, templateObject_3$r;
1415
+ var templateObject_1$G, templateObject_2$t, templateObject_3$r;
1508
1416
 
1509
1417
  /**
1510
1418
  * Chip - a static, non-interactive label for tags, categories and metadata.
1511
1419
  *
1512
1420
  * Chips are classified by job (decision 0016):
1513
- * - Chip: a static label (`default` variant only)
1514
- * - InputChip: a removable value, such as an applied filter (formerly `FilterChip`)
1515
- * - BooleanChip: toggles a filter on and off (becomes `FilterChip` in 3.0)
1421
+ * - Chip: a static label
1422
+ * - FilterChip: toggles a filter on and off
1423
+ * - InputChip: a removable value, such as an applied filter
1424
+ * - SuggestionChip: fills the agent input with a suggestion
1516
1425
  *
1517
- * The `emphasis`, `subtle`, `interactive`, `light` and `dark` variants and `onClick` are
1518
- * deprecated and will be removed in 3.0.
1426
+ * For a clickable action, use a Button.
1519
1427
  */
1520
1428
  var Chip = function Chip(_a) {
1521
- var children = _a.children,
1522
- _b = _a.variant,
1523
- variant = _b === void 0 ? 'default' : _b;
1524
- // Deprecated and ignored: chips have one size (decision 0035)
1525
- _a.size;
1526
- var onClick = _a.onClick,
1527
- _c = _a.disabled,
1528
- disabled = _c === void 0 ? false : _c,
1429
+ var children = _a.children;
1430
+ // One variant: a removed one passed from plain JavaScript renders as default
1431
+ _a.variant;
1432
+ var _b = _a.disabled,
1433
+ disabled = _b === void 0 ? false : _b,
1529
1434
  dataTestId = _a["data-testid"],
1530
1435
  ariaLabel = _a["aria-label"],
1531
1436
  ariaDescribedBy = _a["aria-describedby"],
1532
1437
  role = _a.role,
1533
1438
  title = _a.title,
1534
- props = __rest(_a, ["children", "variant", "size", "onClick", "disabled", 'data-testid', 'aria-label', 'aria-describedby', "role", "title"]);
1535
- var isClickable = Boolean(onClick && !disabled);
1536
- // Map legacy variants to new variants
1537
- var normalizedVariant = variant === 'light' ? 'default' : variant === 'dark' ? 'emphasis' : variant;
1439
+ props = __rest(_a, ["children", "variant", "disabled", 'data-testid', 'aria-label', 'aria-describedby', "role", "title"]);
1440
+ // Removed props passed from plain JavaScript stay off the DOM
1441
+ var _c = props;
1442
+ _c.onClick;
1443
+ _c.size;
1444
+ var domProps = __rest(_c, ["onClick", "size"]);
1538
1445
  // Support legacy title prop
1539
1446
  var content = children !== undefined ? children : title;
1540
- var handleClick = function handleClick() {
1541
- if (onClick && !disabled) {
1542
- onClick();
1543
- }
1544
- };
1545
- var handleKeyDown = function handleKeyDown(event) {
1546
- if (isClickable && (event.key === 'Enter' || event.key === ' ')) {
1547
- event.preventDefault();
1548
- handleClick();
1549
- }
1550
- };
1551
1447
  return jsxRuntime.jsx(StyledChip, __assign({
1552
- "$variant": normalizedVariant,
1448
+ "$surface": "default",
1553
1449
  "$disabled": disabled || undefined,
1554
- "$clickable": isClickable || undefined,
1555
- onClick: isClickable ? handleClick : undefined,
1556
- onKeyDown: handleKeyDown,
1557
- tabIndex: isClickable ? 0 : undefined,
1558
- role: role || (isClickable ? 'button' : undefined),
1450
+ role: role,
1559
1451
  "aria-label": ariaLabel,
1560
1452
  "aria-describedby": ariaDescribedBy,
1561
1453
  "aria-disabled": disabled ? 'true' : undefined,
1562
1454
  "data-testid": dataTestId
1563
- }, props, {
1455
+ }, domProps, {
1564
1456
  children: content
1565
1457
  }));
1566
1458
  };
1567
- var LegacyChip = function LegacyChip(_a) {
1568
- var title = _a.title,
1569
- _b = _a.variant,
1570
- variant = _b === void 0 ? 'light' : _b;
1571
- var newVariant = variant === 'dark' ? 'emphasis' : 'default';
1572
- return jsxRuntime.jsx(Chip, {
1573
- variant: newVariant,
1574
- children: title
1575
- });
1576
- };
1577
1459
 
1578
1460
  /**
1579
1461
  * InputChip - A removable value, such as an applied filter, with an optional selected state
@@ -1595,16 +1477,14 @@ var InputChip = function InputChip(_a) {
1595
1477
  var children = _a.children,
1596
1478
  _b = _a.selected,
1597
1479
  selected = _b === void 0 ? false : _b,
1598
- onDismiss = _a.onDismiss;
1599
- // Deprecated and ignored: chips have one size (decision 0035)
1600
- _a.size;
1601
- var _c = _a.disabled,
1480
+ onDismiss = _a.onDismiss,
1481
+ _c = _a.disabled,
1602
1482
  disabled = _c === void 0 ? false : _c,
1603
1483
  dataTestId = _a["data-testid"],
1604
1484
  ariaLabel = _a["aria-label"],
1605
1485
  ariaDescribedBy = _a["aria-describedby"],
1606
1486
  role = _a.role,
1607
- props = __rest(_a, ["children", "selected", "onDismiss", "size", "disabled", 'data-testid', 'aria-label', 'aria-describedby', "role"]);
1487
+ props = __rest(_a, ["children", "selected", "onDismiss", "disabled", 'data-testid', 'aria-label', 'aria-describedby', "role"]);
1608
1488
  var isDismissible = Boolean(onDismiss);
1609
1489
  var handleDismiss = function handleDismiss(event) {
1610
1490
  event.stopPropagation(); // Prevent event bubbling
@@ -1628,7 +1508,7 @@ var InputChip = function InputChip(_a) {
1628
1508
  // Generate accessible label for close button
1629
1509
  var closeButtonLabel = typeof children === 'string' ? "Remove ".concat(children) : 'Remove filter';
1630
1510
  return jsxRuntime.jsxs(StyledChip, __assign({
1631
- "$variant": "subtle",
1511
+ "$surface": "subtle",
1632
1512
  "$disabled": disabled || undefined,
1633
1513
  "$clickable": false,
1634
1514
  "$selected": selected,
@@ -1665,16 +1545,7 @@ var InputChip = function InputChip(_a) {
1665
1545
  };
1666
1546
 
1667
1547
  /**
1668
- * FilterChip - a removable chip with an optional selected state.
1669
- *
1670
- * @deprecated Renamed to `InputChip`; in 3.0 `FilterChip` becomes the toggle chip (today's
1671
- * `BooleanChip`). Replace `FilterChip` with `InputChip` first, then `BooleanChip` with
1672
- * `FilterChip` when you upgrade to 3.0 (decision 0016).
1673
- */
1674
- var FilterChip = InputChip;
1675
-
1676
- /**
1677
- * BooleanChip - Toggleable chip for quick filter controls
1548
+ * FilterChip - Toggleable chip for quick filter controls (decision 0016)
1678
1549
  *
1679
1550
  * Use this component for multi-select filter controls where users can
1680
1551
  * see which options are active. Common in table filtering patterns where
@@ -1687,25 +1558,23 @@ var FilterChip = InputChip;
1687
1558
  * - Uses checkbox role with aria-checked
1688
1559
  * - Light-blue fill and blue text when selected and enabled; disabled colours when disabled
1689
1560
  *
1690
- * @deprecated Becomes `FilterChip` in 3.0, with the same props. Keep using `BooleanChip`
1691
- * until you upgrade; in 3.0, replace `FilterChip` with `InputChip` first, then
1692
- * `BooleanChip` with `FilterChip` (decision 0016).
1561
+ * Called `BooleanChip` before 3.0. For a removable value, use InputChip.
1693
1562
  */
1694
- var BooleanChip = function BooleanChip(_a) {
1563
+ var FilterChip = function FilterChip(_a) {
1695
1564
  var children = _a.children,
1696
1565
  selected = _a.selected,
1697
- onClick = _a.onClick;
1698
- // Deprecated and ignored: chips have one size (decision 0035)
1699
- _a.size;
1700
- var _b = _a.disabled,
1566
+ onClick = _a.onClick,
1567
+ _b = _a.disabled,
1701
1568
  disabled = _b === void 0 ? false : _b,
1702
1569
  dataTestId = _a["data-testid"],
1703
1570
  ariaLabel = _a["aria-label"],
1704
1571
  ariaDescribedBy = _a["aria-describedby"],
1705
- props = __rest(_a, ["children", "selected", "onClick", "size", "disabled", 'data-testid', 'aria-label', 'aria-describedby']);
1572
+ props = __rest(_a, ["children", "selected", "onClick", "disabled", 'data-testid', 'aria-label', 'aria-describedby']);
1706
1573
  var handleClick = function handleClick() {
1574
+ // Optional call: a plain JavaScript app that kept the pre-3.0 FilterChip (now InputChip) passes
1575
+ // no onClick, and its chip should stay inert rather than throw
1707
1576
  if (!disabled) {
1708
- onClick();
1577
+ onClick === null || onClick === void 0 ? void 0 : onClick();
1709
1578
  }
1710
1579
  };
1711
1580
  var handleKeyDown = function handleKeyDown(event) {
@@ -1716,7 +1585,7 @@ var BooleanChip = function BooleanChip(_a) {
1716
1585
  }
1717
1586
  };
1718
1587
  return jsxRuntime.jsxs(StyledChip, __assign({
1719
- "$variant": "subtle",
1588
+ "$surface": "subtle",
1720
1589
  "$disabled": disabled || undefined,
1721
1590
  "$clickable": !disabled,
1722
1591
  "$selected": selected,
@@ -1749,7 +1618,7 @@ var color$8 = semantic$g.color;
1749
1618
  var StyledSuggestionChip = /*#__PURE__*/styled__default.default.button.withConfig({
1750
1619
  displayName: "SuggestionChip__StyledSuggestionChip",
1751
1620
  componentId: "sc-1k0njm-0"
1752
- })(templateObject_1$G || (templateObject_1$G = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n max-width: 100%;\n margin: 0;\n box-sizing: border-box;\n border: ", " solid ", ";\n border-radius: ", ";\n background-color: ", ";\n color: ", ";\n cursor: pointer;\n text-align: start;\n /* A long suggestion wraps inside the chip rather than being cut off (issue 279) */\n white-space: normal;\n overflow-wrap: anywhere;\n transition: ", ";\n ", "\n\n &:hover:not(:disabled) {\n background-color: ", ";\n }\n\n &:active:not(:disabled) {\n background-color: ", ";\n }\n\n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n }\n\n &:disabled {\n border-color: ", ";\n color: ", ";\n cursor: not-allowed;\n }\n\n /* Forced colours: a native button gets ButtonBorder and GrayText; keep the edge (decision 0038) */\n ", " {\n border-color: ButtonBorder;\n\n &:disabled {\n border-color: GrayText;\n }\n }\n"], ["\n display: inline-flex;\n align-items: center;\n max-width: 100%;\n margin: 0;\n box-sizing: border-box;\n border: ", " solid ", ";\n border-radius: ", ";\n background-color: ", ";\n color: ", ";\n cursor: pointer;\n text-align: start;\n /* A long suggestion wraps inside the chip rather than being cut off (issue 279) */\n white-space: normal;\n overflow-wrap: anywhere;\n transition: ", ";\n ", "\n\n &:hover:not(:disabled) {\n background-color: ", ";\n }\n\n &:active:not(:disabled) {\n background-color: ", ";\n }\n\n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n }\n\n &:disabled {\n border-color: ", ";\n color: ", ";\n cursor: not-allowed;\n }\n\n /* Forced colours: a native button gets ButtonBorder and GrayText; keep the edge (decision 0038) */\n ", " {\n border-color: ButtonBorder;\n\n &:disabled {\n border-color: GrayText;\n }\n }\n"
1621
+ })(templateObject_1$F || (templateObject_1$F = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n max-width: 100%;\n margin: 0;\n box-sizing: border-box;\n border: ", " solid ", ";\n border-radius: ", ";\n background-color: ", ";\n color: ", ";\n cursor: pointer;\n text-align: start;\n /* A long suggestion wraps inside the chip rather than being cut off (issue 279) */\n white-space: normal;\n overflow-wrap: anywhere;\n transition: ", ";\n ", "\n\n &:hover:not(:disabled) {\n background-color: ", ";\n }\n\n &:active:not(:disabled) {\n background-color: ", ";\n }\n\n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n }\n\n &:disabled {\n border-color: ", ";\n color: ", ";\n cursor: not-allowed;\n }\n\n /* Forced colours: a native button gets ButtonBorder and GrayText; keep the edge (decision 0038) */\n ", " {\n border-color: ButtonBorder;\n\n &:disabled {\n border-color: GrayText;\n }\n }\n"], ["\n display: inline-flex;\n align-items: center;\n max-width: 100%;\n margin: 0;\n box-sizing: border-box;\n border: ", " solid ", ";\n border-radius: ", ";\n background-color: ", ";\n color: ", ";\n cursor: pointer;\n text-align: start;\n /* A long suggestion wraps inside the chip rather than being cut off (issue 279) */\n white-space: normal;\n overflow-wrap: anywhere;\n transition: ", ";\n ", "\n\n &:hover:not(:disabled) {\n background-color: ", ";\n }\n\n &:active:not(:disabled) {\n background-color: ", ";\n }\n\n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n }\n\n &:disabled {\n border-color: ", ";\n color: ", ";\n cursor: not-allowed;\n }\n\n /* Forced colours: a native button gets ButtonBorder and GrayText; keep the edge (decision 0038) */\n ", " {\n border-color: ButtonBorder;\n\n &:disabled {\n border-color: GrayText;\n }\n }\n"
1753
1622
  /**
1754
1623
  * SuggestionChip - Offers text to put in the agent input
1755
1624
  *
@@ -1789,13 +1658,13 @@ var SuggestionChip = function SuggestionChip(_a) {
1789
1658
  });
1790
1659
  };
1791
1660
  SuggestionChip.displayName = 'SuggestionChip';
1792
- var templateObject_1$G;
1661
+ var templateObject_1$F;
1793
1662
 
1794
1663
  var space$c = tokens.semantic.space;
1795
1664
  var StyledContainer$2 = /*#__PURE__*/styled__default.default.div.withConfig({
1796
1665
  displayName: "Container__StyledContainer",
1797
1666
  componentId: "sc-17dbj6n-0"
1798
- })(templateObject_1$F || (templateObject_1$F = __makeTemplateObject(["\n width: 100%;\n margin-left: auto;\n margin-right: auto;\n padding-left: ", ";\n padding-right: ", ";\n \n ", " {\n max-width: ", ";\n }\n \n ", " {\n max-width: ", ";\n }\n \n ", " {\n max-width: ", ";\n }\n \n ", " {\n max-width: ", ";\n }\n \n ", " {\n max-width: ", ";\n }\n"], ["\n width: 100%;\n margin-left: auto;\n margin-right: auto;\n padding-left: ", ";\n padding-right: ", ";\n \n ", " {\n max-width: ", ";\n }\n \n ", " {\n max-width: ", ";\n }\n \n ", " {\n max-width: ", ";\n }\n \n ", " {\n max-width: ", ";\n }\n \n ", " {\n max-width: ", ";\n }\n"])), space$c[600], space$c[600], media$1.sm, breakpoints$1.sm, media$1.md, breakpoints$1.md, media$1.lg, breakpoints$1.lg, media$1.xl, breakpoints$1.xl, media$1['2xl'], breakpoints$1['2xl']);
1667
+ })(templateObject_1$E || (templateObject_1$E = __makeTemplateObject(["\n width: 100%;\n margin-left: auto;\n margin-right: auto;\n padding-left: ", ";\n padding-right: ", ";\n \n ", " {\n max-width: ", ";\n }\n \n ", " {\n max-width: ", ";\n }\n \n ", " {\n max-width: ", ";\n }\n \n ", " {\n max-width: ", ";\n }\n \n ", " {\n max-width: ", ";\n }\n"], ["\n width: 100%;\n margin-left: auto;\n margin-right: auto;\n padding-left: ", ";\n padding-right: ", ";\n \n ", " {\n max-width: ", ";\n }\n \n ", " {\n max-width: ", ";\n }\n \n ", " {\n max-width: ", ";\n }\n \n ", " {\n max-width: ", ";\n }\n \n ", " {\n max-width: ", ";\n }\n"])), space$c[600], space$c[600], media$1.sm, breakpoints$1.sm, media$1.md, breakpoints$1.md, media$1.lg, breakpoints$1.lg, media$1.xl, breakpoints$1.xl, media$1['2xl'], breakpoints$1['2xl']);
1799
1668
  var Container$1 = function Container(_a) {
1800
1669
  var children = _a.children,
1801
1670
  props = __rest(_a, ["children"]);
@@ -1803,12 +1672,12 @@ var Container$1 = function Container(_a) {
1803
1672
  children: children
1804
1673
  }));
1805
1674
  };
1806
- var templateObject_1$F;
1675
+ var templateObject_1$E;
1807
1676
 
1808
1677
  var PictureWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
1809
1678
  displayName: "Picture__PictureWrapper",
1810
1679
  componentId: "sc-11d9tei-0"
1811
- })(templateObject_1$E || (templateObject_1$E = __makeTemplateObject(["\n margin: 0 auto;\n \n ", " {\n margin-left: 0;\n margin-right: 0;\n }\n"], ["\n margin: 0 auto;\n \n ", " {\n margin-left: 0;\n margin-right: 0;\n }\n"
1680
+ })(templateObject_1$D || (templateObject_1$D = __makeTemplateObject(["\n margin: 0 auto;\n \n ", " {\n margin-left: 0;\n margin-right: 0;\n }\n"], ["\n margin: 0 auto;\n \n ", " {\n margin-left: 0;\n margin-right: 0;\n }\n"
1812
1681
  // A clickable image answers input on the image itself (decision 0029, #185): it fades on hover and
1813
1682
  // one step further while pressed, and draws the system focus ring around the image, following its
1814
1683
  // rounded corners. Fading isn't movement, so it stays under reduced motion.
@@ -1858,7 +1727,7 @@ var Picture = function Picture(_a) {
1858
1727
  }) : image
1859
1728
  });
1860
1729
  };
1861
- var templateObject_1$E, templateObject_2$s, templateObject_3$q, templateObject_4$l, templateObject_5$h;
1730
+ var templateObject_1$D, templateObject_2$s, templateObject_3$q, templateObject_4$l, templateObject_5$h;
1862
1731
 
1863
1732
  var _a$8 = tokens.semantic,
1864
1733
  typography$2 = _a$8.typography,
@@ -1866,7 +1735,7 @@ var _a$8 = tokens.semantic,
1866
1735
  var TimeStyled = /*#__PURE__*/styled__default.default.time.withConfig({
1867
1736
  displayName: "DateFormatter__TimeStyled",
1868
1737
  componentId: "sc-5464cc-0"
1869
- })(templateObject_1$D || (templateObject_1$D = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n"], ["\n font: ", ";\n color: ", ";\n"
1738
+ })(templateObject_1$C || (templateObject_1$C = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n"], ["\n font: ", ";\n color: ", ";\n"
1870
1739
  /**
1871
1740
  * Formats a date with smart relative/absolute logic
1872
1741
  */])), typography$2.label, color$7.text.muted);
@@ -1895,7 +1764,6 @@ var DateFormatter = function DateFormatter(_a) {
1895
1764
  var date = dateFns.parseISO(dateString);
1896
1765
  var displayText;
1897
1766
  switch (mode) {
1898
- case 'relative': // Deprecated alias for 'smart', removed in 3.0 (#82)
1899
1767
  case 'smart':
1900
1768
  // Today, Yesterday or the day name for recent dates; formatted for older ones
1901
1769
  displayText = formatDateSmart(date, formatString);
@@ -1912,7 +1780,7 @@ var DateFormatter = function DateFormatter(_a) {
1912
1780
  children: displayText
1913
1781
  });
1914
1782
  };
1915
- var templateObject_1$D;
1783
+ var templateObject_1$C;
1916
1784
 
1917
1785
  var _a$7 = tokens.semantic,
1918
1786
  motion$5 = _a$7.motion,
@@ -1973,7 +1841,7 @@ var IconButtonStyled = /*#__PURE__*/styled__default.default.button.withConfig({
1973
1841
  },
1974
1842
  displayName: "IconButton__IconButtonStyled",
1975
1843
  componentId: "sc-k8b14t-0"
1976
- })(templateObject_1$C || (templateObject_1$C = __makeTemplateObject(["\n background-color: ", ";\n color: ", ";\n border: none;\n border-radius: ", ";\n transition: ", ";\n box-sizing: border-box;\n display: flex;\n justify-content: center;\n align-items: center;\n height: max-content;\n cursor: pointer;\n position: relative;\n\n min-width: ", ";\n min-height: ", ";\n padding: ", ";\n\n &:hover:not(:disabled) {\n background-color: ", ";\n }\n\n &:active:not(:disabled) {\n background-color: ", ";\n }\n\n &:focus {\n outline: ", ";\n outline-offset: ", ";\n }\n\n &:disabled {\n background-color: ", ";\n color: ", ";\n cursor: not-allowed;\n }\n\n ", "\n"], ["\n background-color: ", ";\n color: ", ";\n border: none;\n border-radius: ", ";\n transition: ", ";\n box-sizing: border-box;\n display: flex;\n justify-content: center;\n align-items: center;\n height: max-content;\n cursor: pointer;\n position: relative;\n\n min-width: ", ";\n min-height: ", ";\n padding: ", ";\n\n &:hover:not(:disabled) {\n background-color: ", ";\n }\n\n &:active:not(:disabled) {\n background-color: ", ";\n }\n\n &:focus {\n outline: ", ";\n outline-offset: ", ";\n }\n\n &:disabled {\n background-color: ", ";\n color: ", ";\n cursor: not-allowed;\n }\n\n ", "\n"])), function (_a) {
1844
+ })(templateObject_1$B || (templateObject_1$B = __makeTemplateObject(["\n background-color: ", ";\n color: ", ";\n border: none;\n border-radius: ", ";\n transition: ", ";\n box-sizing: border-box;\n display: flex;\n justify-content: center;\n align-items: center;\n height: max-content;\n cursor: pointer;\n position: relative;\n\n min-width: ", ";\n min-height: ", ";\n padding: ", ";\n\n &:hover:not(:disabled) {\n background-color: ", ";\n }\n\n &:active:not(:disabled) {\n background-color: ", ";\n }\n\n &:focus {\n outline: ", ";\n outline-offset: ", ";\n }\n\n &:disabled {\n background-color: ", ";\n color: ", ";\n cursor: not-allowed;\n }\n\n ", "\n"], ["\n background-color: ", ";\n color: ", ";\n border: none;\n border-radius: ", ";\n transition: ", ";\n box-sizing: border-box;\n display: flex;\n justify-content: center;\n align-items: center;\n height: max-content;\n cursor: pointer;\n position: relative;\n\n min-width: ", ";\n min-height: ", ";\n padding: ", ";\n\n &:hover:not(:disabled) {\n background-color: ", ";\n }\n\n &:active:not(:disabled) {\n background-color: ", ";\n }\n\n &:focus {\n outline: ", ";\n outline-offset: ", ";\n }\n\n &:disabled {\n background-color: ", ";\n color: ", ";\n cursor: not-allowed;\n }\n\n ", "\n"])), function (_a) {
1977
1845
  var $variant = _a.$variant;
1978
1846
  return colours($variant).bg;
1979
1847
  }, function (_a) {
@@ -2051,7 +1919,7 @@ var IconButton = function IconButton(_a) {
2051
1919
  })
2052
1920
  }));
2053
1921
  };
2054
- var templateObject_1$C;
1922
+ var templateObject_1$B;
2055
1923
 
2056
1924
  var StyledWrapper = /*#__PURE__*/styled__default.default.span.withConfig({
2057
1925
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -2059,7 +1927,7 @@ var StyledWrapper = /*#__PURE__*/styled__default.default.span.withConfig({
2059
1927
  },
2060
1928
  displayName: "MoneyDisplay__StyledWrapper",
2061
1929
  componentId: "sc-1mddej3-0"
2062
- })(templateObject_1$B || (templateObject_1$B = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n text-align: ", ";\n font-weight: ", ";\n"], ["\n display: inline-flex;\n align-items: center;\n text-align: ", ";\n font-weight: ", ";\n"
1930
+ })(templateObject_1$A || (templateObject_1$A = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n text-align: ", ";\n font-weight: ", ";\n"], ["\n display: inline-flex;\n align-items: center;\n text-align: ", ";\n font-weight: ", ";\n"
2063
1931
  // Map size to Typography variant
2064
1932
  ])), function (_a) {
2065
1933
  var $align = _a.$align;
@@ -2121,7 +1989,7 @@ var MoneyDisplay = function MoneyDisplay(_a) {
2121
1989
  })
2122
1990
  });
2123
1991
  };
2124
- var templateObject_1$B;
1992
+ var templateObject_1$A;
2125
1993
 
2126
1994
  // Destructure tokens
2127
1995
  var semantic$f = tokens.semantic;
@@ -2139,7 +2007,7 @@ var ProgressBarContainer = /*#__PURE__*/styled__default.default.div.withConfig({
2139
2007
  displayName: "ProgressBar__ProgressBarContainer",
2140
2008
  componentId: "sc-1nco33q-0"
2141
2009
  })(templateObject_3$p || (templateObject_3$p = __makeTemplateObject(["\n background-color: ", ";\n border-radius: ", ";\n overflow: hidden;\n\n /* Forced colours drop the track's fill, so the track gets an edge (decision 0038) */\n ", "\n\n ", "\n\n ", "\n"], ["\n background-color: ", ";\n border-radius: ", ";\n overflow: hidden;\n\n /* Forced colours drop the track's fill, so the track gets an edge (decision 0038) */\n ", "\n\n ", "\n\n ", "\n"])), tokens.component.track.background, radius$2.xs, forcedColorsEdge, function (props) {
2142
- return props.$variant === 'horizontal' && styled.css(templateObject_1$A || (templateObject_1$A = __makeTemplateObject(["\n width: 100%;\n height: ", ";\n "], ["\n width: 100%;\n height: ", ";\n "])), props.$height ? component$2.progressBar.sizes[props.$height].height : component$2.progressBar.sizes.md.height);
2010
+ return props.$variant === 'horizontal' && styled.css(templateObject_1$z || (templateObject_1$z = __makeTemplateObject(["\n width: 100%;\n height: ", ";\n "], ["\n width: 100%;\n height: ", ";\n "])), props.$height ? component$2.progressBar.sizes[props.$height].height : component$2.progressBar.sizes.md.height);
2143
2011
  }, function (props) {
2144
2012
  return props.$variant === 'vertical' && styled.css(templateObject_2$r || (templateObject_2$r = __makeTemplateObject(["\n width: ", ";\n height: 100%;\n "], ["\n width: ", ";\n height: 100%;\n "])), props.$width ? component$2.progressBar.sizes[props.$width].height : component$2.progressBar.sizes.md.height);
2145
2013
  });
@@ -2202,7 +2070,7 @@ var ProgressBar = function ProgressBar(_a) {
2202
2070
  })
2203
2071
  });
2204
2072
  };
2205
- var templateObject_1$A, templateObject_2$r, templateObject_3$p, templateObject_4$k, templateObject_5$g, templateObject_6$c, templateObject_7$a;
2073
+ var templateObject_1$z, templateObject_2$r, templateObject_3$p, templateObject_4$k, templateObject_5$g, templateObject_6$c, templateObject_7$a;
2206
2074
 
2207
2075
  // Destructure tokens for cleaner access
2208
2076
  var separatorTokens = tokens.component.separator;
@@ -2214,7 +2082,7 @@ var StyledDivider = /*#__PURE__*/styled__default.default.div.withConfig({
2214
2082
  },
2215
2083
  displayName: "Divider__StyledDivider",
2216
2084
  componentId: "sc-1l0c8ja-0"
2217
- })(templateObject_1$z || (templateObject_1$z = __makeTemplateObject(["\n border: none;\n \n /* Apply orientation */\n ", "\n \n /* Apply variant styles */\n ", "\n \n /* Apply size styles (spacing) */\n ", "\n"], ["\n border: none;\n \n /* Apply orientation */\n ", "\n \n /* Apply variant styles */\n ", "\n \n /* Apply size styles (spacing) */\n ", "\n"
2085
+ })(templateObject_1$y || (templateObject_1$y = __makeTemplateObject(["\n border: none;\n \n /* Apply orientation */\n ", "\n \n /* Apply variant styles */\n ", "\n \n /* Apply size styles (spacing) */\n ", "\n"], ["\n border: none;\n \n /* Apply orientation */\n ", "\n \n /* Apply variant styles */\n ", "\n \n /* Apply size styles (spacing) */\n ", "\n"
2218
2086
  /**
2219
2087
  * Divider is an atomic component that provides visual separation between content sections.
2220
2088
  *
@@ -2327,7 +2195,7 @@ var Divider = function Divider(_a) {
2327
2195
  "aria-orientation": orientation
2328
2196
  });
2329
2197
  };
2330
- var templateObject_1$z;
2198
+ var templateObject_1$y;
2331
2199
 
2332
2200
  var StyledStack = /*#__PURE__*/styled__default.default.div.withConfig({
2333
2201
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -2335,7 +2203,7 @@ var StyledStack = /*#__PURE__*/styled__default.default.div.withConfig({
2335
2203
  },
2336
2204
  displayName: "Stack__StyledStack",
2337
2205
  componentId: "sc-1ehkxgy-0"
2338
- })(templateObject_1$y || (templateObject_1$y = __makeTemplateObject(["\n display: flex;\n flex-direction: var(--stack-direction);\n align-items: var(--stack-align-items);\n justify-content: var(--stack-justify-content);\n gap: var(--stack-gap);\n flex-wrap: var(--stack-wrap);\n"], ["\n display: flex;\n flex-direction: var(--stack-direction);\n align-items: var(--stack-align-items);\n justify-content: var(--stack-justify-content);\n gap: var(--stack-gap);\n flex-wrap: var(--stack-wrap);\n"
2206
+ })(templateObject_1$x || (templateObject_1$x = __makeTemplateObject(["\n display: flex;\n flex-direction: var(--stack-direction);\n align-items: var(--stack-align-items);\n justify-content: var(--stack-justify-content);\n gap: var(--stack-gap);\n flex-wrap: var(--stack-wrap);\n"], ["\n display: flex;\n flex-direction: var(--stack-direction);\n align-items: var(--stack-align-items);\n justify-content: var(--stack-justify-content);\n gap: var(--stack-gap);\n flex-wrap: var(--stack-wrap);\n"
2339
2207
  // Each gap name maps to the space step that replaced its old spacing.layout token (decision 0031),
2340
2208
  // so every gap keeps its value
2341
2209
  ])));
@@ -2389,7 +2257,7 @@ var Stack = function Stack(_a) {
2389
2257
  children: children
2390
2258
  });
2391
2259
  };
2392
- var templateObject_1$y;
2260
+ var templateObject_1$x;
2393
2261
 
2394
2262
  // Shape indicators for the six coloured statuses (decision 0045): filled silhouettes on the
2395
2263
  // 24px grid, each the same outline as its status icon. Internal: they aren't public icons, so a
@@ -2410,7 +2278,7 @@ var statusShapes = {
2410
2278
  var Mark = /*#__PURE__*/styled__default.default.svg.withConfig({
2411
2279
  displayName: "StatusShape__Mark",
2412
2280
  componentId: "sc-1yzi9jt-0"
2413
- })(templateObject_1$x || (templateObject_1$x = __makeTemplateObject(["\n flex: none;\n width: ", ";\n height: ", ";\n fill: currentColor;\n"], ["\n flex: none;\n width: ", ";\n height: ", ";\n fill: currentColor;\n"])), tokens.semantic.size.icon.xs, tokens.semantic.size.icon.xs);
2281
+ })(templateObject_1$w || (templateObject_1$w = __makeTemplateObject(["\n flex: none;\n width: ", ";\n height: ", ";\n fill: currentColor;\n"], ["\n flex: none;\n width: ", ";\n height: ", ";\n fill: currentColor;\n"])), tokens.semantic.size.icon.xs, tokens.semantic.size.icon.xs);
2414
2282
  var StatusShape = function StatusShape(_a) {
2415
2283
  var shape = _a.shape;
2416
2284
  return jsxRuntime.jsx(Mark, {
@@ -2423,7 +2291,7 @@ var StatusShape = function StatusShape(_a) {
2423
2291
  })
2424
2292
  });
2425
2293
  };
2426
- var templateObject_1$x;
2294
+ var templateObject_1$w;
2427
2295
 
2428
2296
  // Destructure tokens for cleaner access
2429
2297
  var statusColors = tokens.component.status;
@@ -2436,7 +2304,7 @@ var _b$1 = tokens.semantic.motion,
2436
2304
  easing$3 = _b$1.easing;
2437
2305
  var labelHeight = tokens.semantic.size.label;
2438
2306
  var label$1 = tokens.component.badge.label;
2439
- var scaleIn$1 = styled.keyframes(templateObject_1$w || (templateObject_1$w = __makeTemplateObject(["\n from {\n opacity: 0;\n transform: scale(0.8);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n"], ["\n from {\n opacity: 0;\n transform: scale(0.8);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n"])));
2307
+ var scaleIn$1 = styled.keyframes(templateObject_1$v || (templateObject_1$v = __makeTemplateObject(["\n from {\n opacity: 0;\n transform: scale(0.8);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n"], ["\n from {\n opacity: 0;\n transform: scale(0.8);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n"])));
2440
2308
  var getStatusConfig = function getStatusConfig(status) {
2441
2309
  // Each status's icon and, for the coloured statuses, its shape indicator (decision 0045). The
2442
2310
  // neutral statuses have no shape: at the small size they're plain text.
@@ -2529,24 +2397,22 @@ var VisibleContent = /*#__PURE__*/styled__default.default.span.withConfig({
2529
2397
  componentId: "sc-1ye9xz5-2"
2530
2398
  })(templateObject_4$j || (templateObject_4$j = __makeTemplateObject(["\n display: contents;\n"], ["\n display: contents;\n"
2531
2399
  /**
2532
- * Shared implementation of StatusLabel and the deprecated StatusBadge. Internal: not exported
2533
- * from the package. `showIcon` exists only for StatusBadge. StatusLabel always shows the status icon
2534
- * at the medium size, and at the small size the shape for coloured statuses (decisions 0018, 0045).
2400
+ * StatusLabel's implementation. Internal: not exported from the package. It always shows the status
2401
+ * icon at the medium size, and at the small size the shape for coloured statuses (decisions 0018,
2402
+ * 0045).
2535
2403
  */])));
2536
2404
  /**
2537
- * Shared implementation of StatusLabel and the deprecated StatusBadge. Internal: not exported
2538
- * from the package. `showIcon` exists only for StatusBadge. StatusLabel always shows the status icon
2539
- * at the medium size, and at the small size the shape for coloured statuses (decisions 0018, 0045).
2405
+ * StatusLabel's implementation. Internal: not exported from the package. It always shows the status
2406
+ * icon at the medium size, and at the small size the shape for coloured statuses (decisions 0018,
2407
+ * 0045).
2540
2408
  */
2541
2409
  var StatusLabelBase = function StatusLabelBase(_a) {
2542
2410
  var status = _a.status,
2543
2411
  label = _a.label,
2544
2412
  _b = _a.size,
2545
2413
  size = _b === void 0 ? 'medium' : _b,
2546
- _c = _a.showIcon,
2547
- showIcon = _c === void 0 ? true : _c,
2548
- _d = _a.liveRegion,
2549
- liveRegion = _d === void 0 ? true : _d,
2414
+ _c = _a.liveRegion,
2415
+ liveRegion = _c === void 0 ? true : _c,
2550
2416
  dataTestId = _a["data-testid"],
2551
2417
  ariaLabel = _a["aria-label"];
2552
2418
  var statusConfig = getStatusConfig(status);
@@ -2564,11 +2430,11 @@ var StatusLabelBase = function StatusLabelBase(_a) {
2564
2430
  "data-testid": dataTestId,
2565
2431
  children: [jsxRuntime.jsxs(VisibleContent, {
2566
2432
  "aria-hidden": accessibleLabel ? 'true' : undefined,
2567
- children: [showIcon && size === 'medium' && jsxRuntime.jsx(Icon, {
2433
+ children: [size === 'medium' && jsxRuntime.jsx(Icon, {
2568
2434
  name: statusConfig.icon,
2569
2435
  size: sizeStyles.iconSize,
2570
2436
  iconColor: "inherit"
2571
- }), showIcon && size === 'small' && statusConfig.shape && jsxRuntime.jsx(StatusShape, {
2437
+ }), size === 'small' && statusConfig.shape && jsxRuntime.jsx(StatusShape, {
2572
2438
  shape: statusConfig.shape
2573
2439
  }), displayLabel, jsxRuntime.jsxs(ScreenReaderOnly, {
2574
2440
  children: [status, " status"]
@@ -2578,18 +2444,7 @@ var StatusLabelBase = function StatusLabelBase(_a) {
2578
2444
  })]
2579
2445
  });
2580
2446
  };
2581
- var templateObject_1$w, templateObject_2$q, templateObject_3$o, templateObject_4$j;
2582
-
2583
- /**
2584
- * StatusBadge displays a transaction or task status.
2585
- *
2586
- * @deprecated Renamed to `StatusLabel` (same `status`, `size`, `label`, `liveRegion`), which always
2587
- * shows its status icon or shape. StatusBadge is removed in 3.0 (decision 0018).
2588
- */
2589
- var StatusBadge = function StatusBadge(props) {
2590
- return jsxRuntime.jsx(StatusLabelBase, __assign({}, props));
2591
- };
2592
- StatusBadge.displayName = 'StatusBadge';
2447
+ var templateObject_1$v, templateObject_2$q, templateObject_3$o, templateObject_4$j;
2593
2448
 
2594
2449
  /**
2595
2450
  * StatusLabel conveys the status of something, such as a transaction or task (decision 0018).
@@ -2607,11 +2462,8 @@ StatusBadge.displayName = 'StatusBadge';
2607
2462
  * <StatusLabel status="pending" label="Awaiting approval" size="small" />
2608
2463
  * ```
2609
2464
  */
2610
- // showIcon comes last so no caller (for example plain JavaScript) can hide the icon
2611
2465
  var StatusLabel = function StatusLabel(props) {
2612
- return jsxRuntime.jsx(StatusLabelBase, __assign({}, props, {
2613
- showIcon: true
2614
- }));
2466
+ return jsxRuntime.jsx(StatusLabelBase, __assign({}, props));
2615
2467
  };
2616
2468
  StatusLabel.displayName = 'StatusLabel';
2617
2469
 
@@ -2627,7 +2479,7 @@ var StyledTag = /*#__PURE__*/styled__default.default.span.withConfig({
2627
2479
  },
2628
2480
  displayName: "Tag__StyledTag",
2629
2481
  componentId: "sc-lzfmti-0"
2630
- })(templateObject_1$v || (templateObject_1$v = __makeTemplateObject(["\n box-sizing: border-box; /* the height includes padding and border, without relying on a global reset */\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: ", ";\n user-select: none;\n white-space: nowrap;\n\n /* Size (decision 0018): small has no vertical padding so the text line fits inside 20px */\n height: ", ";\n padding: ", ";\n font: ", ";\n font-weight: ", ";\n \n /* Variant styles */\n background-color: ", ";\n \n color: ", ";\n \n border: ", ";\n"], ["\n box-sizing: border-box; /* the height includes padding and border, without relying on a global reset */\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: ", ";\n user-select: none;\n white-space: nowrap;\n\n /* Size (decision 0018): small has no vertical padding so the text line fits inside 20px */\n height: ", ";\n padding: ", ";\n font: ", ";\n font-weight: ", ";\n \n /* Variant styles */\n background-color: ", ";\n \n color: ", ";\n \n border: ", ";\n"
2482
+ })(templateObject_1$u || (templateObject_1$u = __makeTemplateObject(["\n box-sizing: border-box; /* the height includes padding and border, without relying on a global reset */\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: ", ";\n user-select: none;\n white-space: nowrap;\n\n /* Size (decision 0018): small has no vertical padding so the text line fits inside 20px */\n height: ", ";\n padding: ", ";\n font: ", ";\n font-weight: ", ";\n \n /* Variant styles */\n background-color: ", ";\n \n color: ", ";\n \n border: ", ";\n"], ["\n box-sizing: border-box; /* the height includes padding and border, without relying on a global reset */\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: ", ";\n user-select: none;\n white-space: nowrap;\n\n /* Size (decision 0018): small has no vertical padding so the text line fits inside 20px */\n height: ", ";\n padding: ", ";\n font: ", ";\n font-weight: ", ";\n \n /* Variant styles */\n background-color: ", ";\n \n color: ", ";\n \n border: ", ";\n"
2631
2483
  /**
2632
2484
  * Tag component for categorizing and labeling content
2633
2485
  *
@@ -2642,14 +2494,6 @@ var StyledTag = /*#__PURE__*/styled__default.default.span.withConfig({
2642
2494
  }, label.typography.small, label.fontWeight, function (_a) {
2643
2495
  var $variant = _a.$variant;
2644
2496
  switch ($variant) {
2645
- case 'interactive':
2646
- return color$5.fill['accent-muted'];
2647
- case 'success':
2648
- return color$5.fill['success-muted'];
2649
- case 'warning':
2650
- return color$5.fill['warning-muted'];
2651
- case 'error':
2652
- return color$5.fill['danger-muted'];
2653
2497
  case 'emphasis':
2654
2498
  return color$5.fill.emphasis;
2655
2499
  default:
@@ -2658,14 +2502,6 @@ var StyledTag = /*#__PURE__*/styled__default.default.span.withConfig({
2658
2502
  }, function (_a) {
2659
2503
  var $variant = _a.$variant;
2660
2504
  switch ($variant) {
2661
- case 'interactive':
2662
- return color$5.text.accent;
2663
- case 'success':
2664
- return color$5.text.success;
2665
- case 'warning':
2666
- return color$5.text.warning;
2667
- case 'error':
2668
- return color$5.text.danger;
2669
2505
  case 'emphasis':
2670
2506
  return color$5.text.inverse;
2671
2507
  default:
@@ -2676,14 +2512,6 @@ var StyledTag = /*#__PURE__*/styled__default.default.span.withConfig({
2676
2512
  $border = _a.$border;
2677
2513
  if (!$border) return 'none';
2678
2514
  switch ($variant) {
2679
- case 'interactive':
2680
- return "".concat(semantic$e.border.width.thin, " solid ").concat(color$5.border.accent);
2681
- case 'success':
2682
- return "".concat(semantic$e.border.width.thin, " solid ").concat(color$5.border.success);
2683
- case 'warning':
2684
- return "".concat(semantic$e.border.width.thin, " solid ").concat(color$5.border.warning);
2685
- case 'error':
2686
- return "".concat(semantic$e.border.width.thin, " solid ").concat(color$5.border.danger);
2687
2515
  case 'emphasis':
2688
2516
  return "".concat(semantic$e.border.width.thin, " solid ").concat(color$5.fill.emphasis);
2689
2517
  default:
@@ -2719,7 +2547,7 @@ var Tag = function Tag(_a) {
2719
2547
  children: children
2720
2548
  }));
2721
2549
  };
2722
- var templateObject_1$v;
2550
+ var templateObject_1$u;
2723
2551
 
2724
2552
  var semantic$d = tokens.semantic;
2725
2553
  var color$4 = semantic$d.color,
@@ -2747,7 +2575,7 @@ var StyledAILabel = /*#__PURE__*/styled__default.default.span.withConfig({
2747
2575
  },
2748
2576
  displayName: "AILabel__StyledAILabel",
2749
2577
  componentId: "sc-qknkn-0"
2750
- })(templateObject_1$u || (templateObject_1$u = __makeTemplateObject(["\n box-sizing: border-box;\n display: inline-flex;\n align-items: center;\n min-height: ", ";\n gap: ", ";\n font: ", ";\n color: ", ";\n white-space: nowrap;\n"], ["\n box-sizing: border-box;\n display: inline-flex;\n align-items: center;\n min-height: ", ";\n gap: ", ";\n font: ", ";\n color: ", ";\n white-space: nowrap;\n"])), function (_a) {
2578
+ })(templateObject_1$t || (templateObject_1$t = __makeTemplateObject(["\n box-sizing: border-box;\n display: inline-flex;\n align-items: center;\n min-height: ", ";\n gap: ", ";\n font: ", ";\n color: ", ";\n white-space: nowrap;\n"], ["\n box-sizing: border-box;\n display: inline-flex;\n align-items: center;\n min-height: ", ";\n gap: ", ";\n font: ", ";\n color: ", ";\n white-space: nowrap;\n"])), function (_a) {
2751
2579
  var $size = _a.$size;
2752
2580
  return size$1.label[$size];
2753
2581
  }, function (_a) {
@@ -2803,7 +2631,7 @@ var AILabel = function AILabel(_a) {
2803
2631
  });
2804
2632
  };
2805
2633
  AILabel.displayName = 'AILabel';
2806
- var templateObject_1$u, templateObject_2$p;
2634
+ var templateObject_1$t, templateObject_2$p;
2807
2635
 
2808
2636
  // Destructure tokens for cleaner access
2809
2637
  var semantic$c = tokens.semantic;
@@ -2811,7 +2639,7 @@ var space$7 = semantic$c.space;
2811
2639
  var StyledBalanceSection = /*#__PURE__*/styled__default.default.div.withConfig({
2812
2640
  displayName: "AccountCard__StyledBalanceSection",
2813
2641
  componentId: "sc-1erp7zn-0"
2814
- })(templateObject_1$t || (templateObject_1$t = __makeTemplateObject(["\n margin-bottom: ", ";\n"], ["\n margin-bottom: ", ";\n"])), space$7[400]);
2642
+ })(templateObject_1$s || (templateObject_1$s = __makeTemplateObject(["\n margin-bottom: ", ";\n"], ["\n margin-bottom: ", ";\n"])), space$7[400]);
2815
2643
  var StyledTrendSection = /*#__PURE__*/styled__default.default.div.withConfig({
2816
2644
  displayName: "AccountCard__StyledTrendSection",
2817
2645
  componentId: "sc-1erp7zn-1"
@@ -2885,7 +2713,7 @@ var AccountCard = function AccountCard(_a) {
2885
2713
  return jsxRuntime.jsx(Box, {
2886
2714
  minWidth: tokens.component.accountCard.minWidth,
2887
2715
  p: "lg",
2888
- bg: "subtle",
2716
+ bg: "surface.raised",
2889
2717
  border: "default",
2890
2718
  borderRadius: "xl",
2891
2719
  transition: "box-shadow ".concat(semantic$c.motion.duration.moderate, " ").concat(semantic$c.motion.easing.decelerate),
@@ -2986,7 +2814,7 @@ var AccountCard = function AccountCard(_a) {
2986
2814
  })
2987
2815
  });
2988
2816
  };
2989
- var templateObject_1$t, templateObject_2$o, templateObject_3$n, templateObject_4$i, templateObject_5$f;
2817
+ var templateObject_1$s, templateObject_2$o, templateObject_3$n, templateObject_4$i, templateObject_5$f;
2990
2818
 
2991
2819
  /**
2992
2820
  * The spacing a List gives its items (#77). A ListItem without its own `spacing` uses it; outside
@@ -3004,7 +2832,7 @@ var StyledListItem = /*#__PURE__*/styled__default.default.li.withConfig({
3004
2832
  },
3005
2833
  displayName: "ListItem__StyledListItem",
3006
2834
  componentId: "sc-1wzzt21-0"
3007
- })(templateObject_1$s || (templateObject_1$s = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n min-height: ", ";\n position: relative;\n \n /* Disable user selection for interactive items */\n ", "\n \n /* Disabled state */\n ", "\n \n /* Destructive state - apply error color to text */\n ", "\n"], ["\n display: flex;\n flex-direction: column;\n min-height: ", ";\n position: relative;\n \n /* Disable user selection for interactive items */\n ", "\n \n /* Disabled state */\n ", "\n \n /* Destructive state - apply error color to text */\n ", "\n"])), semantic$b.size.touchTarget, function (_a) {
2835
+ })(templateObject_1$r || (templateObject_1$r = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n min-height: ", ";\n position: relative;\n \n /* Disable user selection for interactive items */\n ", "\n \n /* Disabled state */\n ", "\n \n /* Destructive state - apply error color to text */\n ", "\n"], ["\n display: flex;\n flex-direction: column;\n min-height: ", ";\n position: relative;\n \n /* Disable user selection for interactive items */\n ", "\n \n /* Disabled state */\n ", "\n \n /* Destructive state - apply error color to text */\n ", "\n"])), semantic$b.size.touchTarget, function (_a) {
3008
2836
  var $interactive = _a.$interactive;
3009
2837
  return $interactive && 'user-select: none;';
3010
2838
  }, function (_a) {
@@ -3202,7 +3030,7 @@ var ListItem = function ListItem(_a) {
3202
3030
  );
3203
3031
  };
3204
3032
  ListItem.displayName = 'ListItem';
3205
- var templateObject_1$s, templateObject_2$n, templateObject_3$m, templateObject_4$h, templateObject_5$e, templateObject_6$b, templateObject_7$9;
3033
+ var templateObject_1$r, templateObject_2$n, templateObject_3$m, templateObject_4$h, templateObject_5$e, templateObject_6$b, templateObject_7$9;
3206
3034
 
3207
3035
  // How long an exiting element stays mounted: the duration of `exitAnimation` in styleUtils. A timer
3208
3036
  // needs the resolved value, not the CSS variable (decision 0041).
@@ -3254,7 +3082,7 @@ var _a$3 = tokens.semantic,
3254
3082
  space$6 = _a$3.space,
3255
3083
  motion$3 = _a$3.motion,
3256
3084
  elevation$2 = _a$3.elevation;
3257
- var slideUp = styled.keyframes(templateObject_1$r || (templateObject_1$r = __makeTemplateObject(["\n from {\n transform: translateY(100%);\n }\n to {\n transform: translateY(0);\n }\n"], ["\n from {\n transform: translateY(100%);\n }\n to {\n transform: translateY(0);\n }\n"])));
3085
+ var slideUp = styled.keyframes(templateObject_1$q || (templateObject_1$q = __makeTemplateObject(["\n from {\n transform: translateY(100%);\n }\n to {\n transform: translateY(0);\n }\n"], ["\n from {\n transform: translateY(100%);\n }\n to {\n transform: translateY(0);\n }\n"])));
3258
3086
  var fadeIn$2 = styled.keyframes(templateObject_2$m || (templateObject_2$m = __makeTemplateObject(["\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n"], ["\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n"])));
3259
3087
  var StyledOverlay$2 = /*#__PURE__*/styled__default.default.div.withConfig({
3260
3088
  displayName: "ActionSheet__StyledOverlay",
@@ -3511,7 +3339,7 @@ var ActionSheet = function ActionSheet(_a) {
3511
3339
  })]
3512
3340
  }), document.body);
3513
3341
  };
3514
- var templateObject_1$r, templateObject_2$m, templateObject_3$l, templateObject_4$g, templateObject_5$d, templateObject_6$a, templateObject_7$8, templateObject_8$7;
3342
+ var templateObject_1$q, templateObject_2$m, templateObject_3$l, templateObject_4$g, templateObject_5$d, templateObject_6$a, templateObject_7$8, templateObject_8$7;
3515
3343
 
3516
3344
  function detectSpeechRecognitionConstructor(targetWindow) {
3517
3345
  if (!targetWindow) return null;
@@ -3623,7 +3451,7 @@ var DEFAULT_PROCESSING_MESSAGE = 'Finishing voice input…';
3623
3451
  var COUNTER_THRESHOLD = 0.8;
3624
3452
  // Layout effects warn during server rendering in React 18
3625
3453
  var useIsomorphicLayoutEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;
3626
- var rotateRing = styled.keyframes(templateObject_1$q || (templateObject_1$q = __makeTemplateObject(["\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n"], ["\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n"])));
3454
+ var rotateRing = styled.keyframes(templateObject_1$p || (templateObject_1$p = __makeTemplateObject(["\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n"], ["\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n"])));
3627
3455
  var Container = /*#__PURE__*/styled__default.default.div.withConfig({
3628
3456
  shouldForwardProp: function shouldForwardProp(prop) {
3629
3457
  return !prop.startsWith('$');
@@ -3835,7 +3663,7 @@ function AgentInputWithRef(_a, ref) {
3835
3663
  disabled = _e === void 0 ? false : _e,
3836
3664
  isSubmitting = _a.isSubmitting,
3837
3665
  _f = _a.enableVoice,
3838
- enableVoice = _f === void 0 ? true : _f,
3666
+ enableVoice = _f === void 0 ? false : _f,
3839
3667
  _g = _a.autoSubmitOnVoiceFinal,
3840
3668
  autoSubmitOnVoiceFinal = _g === void 0 ? true : _g,
3841
3669
  _h = _a.voiceLanguage,
@@ -4692,7 +4520,7 @@ function AgentInputWithRef(_a, ref) {
4692
4520
  }
4693
4521
  var AgentInput = /*#__PURE__*/React.forwardRef(AgentInputWithRef);
4694
4522
  AgentInput.displayName = 'AgentInput';
4695
- var templateObject_1$q, templateObject_2$l, templateObject_3$k, templateObject_4$f, templateObject_5$c, templateObject_6$9, templateObject_7$7, templateObject_8$6, templateObject_9$5, templateObject_10$3, templateObject_11$3, templateObject_12$3, templateObject_13$3, templateObject_14$1, templateObject_15$1, templateObject_16$1, templateObject_17$1, templateObject_18$1, templateObject_19$1, templateObject_20$1, templateObject_21$1, templateObject_22$1, templateObject_23$1, templateObject_24$1, templateObject_25$1, templateObject_26$1, templateObject_27$1, templateObject_28$1, templateObject_29$1, templateObject_30$1, templateObject_31$1, templateObject_32$1, templateObject_33$1;
4523
+ var templateObject_1$p, templateObject_2$l, templateObject_3$k, templateObject_4$f, templateObject_5$c, templateObject_6$9, templateObject_7$7, templateObject_8$6, templateObject_9$5, templateObject_10$3, templateObject_11$3, templateObject_12$3, templateObject_13$3, templateObject_14$1, templateObject_15$1, templateObject_16$1, templateObject_17$1, templateObject_18$1, templateObject_19$1, templateObject_20$1, templateObject_21$1, templateObject_22$1, templateObject_23$1, templateObject_24$1, templateObject_25$1, templateObject_26$1, templateObject_27$1, templateObject_28$1, templateObject_29$1, templateObject_30$1, templateObject_31$1, templateObject_32$1, templateObject_33$1;
4696
4524
 
4697
4525
  var semantic$9 = tokens.semantic;
4698
4526
  var alert = tokens.component.alert;
@@ -4706,7 +4534,7 @@ var FADE_MS = parseInt(data.tokensJson.semantic.motion.duration.fast, 10);
4706
4534
  var EXIT_MS = FADE_MS * 2;
4707
4535
  // The --alert-exit-* properties are the alert's height and vertical padding, measured
4708
4536
  // when it's dismissed, so nothing moves until the fade has finished
4709
- var fadeThenCollapse = styled.keyframes(templateObject_1$p || (templateObject_1$p = __makeTemplateObject(["\n 0%, 50% {\n max-height: var(--alert-exit-height);\n padding-top: var(--alert-exit-padding-top);\n padding-bottom: var(--alert-exit-padding-bottom);\n border-width: ", ";\n }\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: 0;\n }\n 100% {\n opacity: 0;\n max-height: 0;\n padding-top: 0;\n padding-bottom: 0;\n border-width: 0;\n }\n"], ["\n 0%, 50% {\n max-height: var(--alert-exit-height);\n padding-top: var(--alert-exit-padding-top);\n padding-bottom: var(--alert-exit-padding-bottom);\n border-width: ", ";\n }\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: 0;\n }\n 100% {\n opacity: 0;\n max-height: 0;\n padding-top: 0;\n padding-bottom: 0;\n border-width: 0;\n }\n"])), semantic$9.border.width.thin);
4537
+ var fadeThenCollapse = styled.keyframes(templateObject_1$o || (templateObject_1$o = __makeTemplateObject(["\n 0%, 50% {\n max-height: var(--alert-exit-height);\n padding-top: var(--alert-exit-padding-top);\n padding-bottom: var(--alert-exit-padding-bottom);\n border-width: ", ";\n }\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: 0;\n }\n 100% {\n opacity: 0;\n max-height: 0;\n padding-top: 0;\n padding-bottom: 0;\n border-width: 0;\n }\n"], ["\n 0%, 50% {\n max-height: var(--alert-exit-height);\n padding-top: var(--alert-exit-padding-top);\n padding-bottom: var(--alert-exit-padding-bottom);\n border-width: ", ";\n }\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: 0;\n }\n 100% {\n opacity: 0;\n max-height: 0;\n padding-top: 0;\n padding-bottom: 0;\n border-width: 0;\n }\n"])), semantic$9.border.width.thin);
4710
4538
  var fadeOut = styled.keyframes(templateObject_2$k || (templateObject_2$k = __makeTemplateObject(["\n from { opacity: 1; }\n to { opacity: 0; }\n"], ["\n from { opacity: 1; }\n to { opacity: 0; }\n"
4711
4539
  // The exit ends on the alert's own animationend: 300ms, or 150ms under reduced motion
4712
4540
  // (chosen when dismissed). A timer of the same length removes it if no animation event
@@ -4746,13 +4574,7 @@ var StyledAlert = /*#__PURE__*/styled__default.default.div.withConfig({
4746
4574
  },
4747
4575
  displayName: "Alert__StyledAlert",
4748
4576
  componentId: "sc-18tq5d-0"
4749
- })(templateObject_6$8 || (templateObject_6$8 = __makeTemplateObject(["\n display: flex;\n /* Items start at the top, so the icon and dismiss button line up with the first line */\n align-items: flex-start;\n gap: ", ";\n padding: ", ";\n border-radius: ", ";\n border: ", " solid;\n position: relative;\n width: 100%;\n \n /* Severity \xD7 appearance colours from Alert's component tokens (decision 0019). Borderless\n keeps a transparent border, so both appearances take the same space. */\n background-color: ", ";\n color: ", ";\n border-color: ", ";\n \n /* Responsive adjustments */\n @media (min-width: ", ") {\n padding: ", ";\n }\n\n /* The exit is chosen once, when dismissed (not by a media query), so a reduced-motion\n preference that changes mid-exit can't swap animations and flash the faded alert back.\n Reduced motion: fade only; the space closes instantly afterwards. */\n ", "\n"], ["\n display: flex;\n /* Items start at the top, so the icon and dismiss button line up with the first line */\n align-items: flex-start;\n gap: ", ";\n padding: ", ";\n border-radius: ", ";\n border: ", " solid;\n position: relative;\n width: 100%;\n \n /* Severity \xD7 appearance colours from Alert's component tokens (decision 0019). Borderless\n keeps a transparent border, so both appearances take the same space. */\n background-color: ", ";\n color: ", ";\n border-color: ", ";\n \n /* Responsive adjustments */\n @media (min-width: ", ") {\n padding: ", ";\n }\n\n /* The exit is chosen once, when dismissed (not by a media query), so a reduced-motion\n preference that changes mid-exit can't swap animations and flash the faded alert back.\n Reduced motion: fade only; the space closes instantly afterwards. */\n ", "\n"])), function (_a) {
4750
- var $inline = _a.$inline;
4751
- return $inline ? semantic$9.space[200] : semantic$9.space[300];
4752
- }, function (_a) {
4753
- var $inline = _a.$inline;
4754
- return $inline ? semantic$9.space[200] : semantic$9.space[300];
4755
- }, semantic$9.radius.sm, semantic$9.border.width.thin, function (_a) {
4577
+ })(templateObject_6$8 || (templateObject_6$8 = __makeTemplateObject(["\n display: flex;\n /* Items start at the top, so the icon and dismiss button line up with the first line */\n align-items: flex-start;\n gap: ", ";\n padding: ", ";\n border-radius: ", ";\n border: ", " solid;\n position: relative;\n width: 100%;\n \n /* Severity \xD7 appearance colours from Alert's component tokens (decision 0019). Borderless\n keeps a transparent border, so both appearances take the same space. */\n background-color: ", ";\n color: ", ";\n border-color: ", ";\n \n /* Responsive adjustments */\n @media (min-width: ", ") {\n padding: ", ";\n }\n\n /* The exit is chosen once, when dismissed (not by a media query), so a reduced-motion\n preference that changes mid-exit can't swap animations and flash the faded alert back.\n Reduced motion: fade only; the space closes instantly afterwards. */\n ", "\n"], ["\n display: flex;\n /* Items start at the top, so the icon and dismiss button line up with the first line */\n align-items: flex-start;\n gap: ", ";\n padding: ", ";\n border-radius: ", ";\n border: ", " solid;\n position: relative;\n width: 100%;\n \n /* Severity \xD7 appearance colours from Alert's component tokens (decision 0019). Borderless\n keeps a transparent border, so both appearances take the same space. */\n background-color: ", ";\n color: ", ";\n border-color: ", ";\n \n /* Responsive adjustments */\n @media (min-width: ", ") {\n padding: ", ";\n }\n\n /* The exit is chosen once, when dismissed (not by a media query), so a reduced-motion\n preference that changes mid-exit can't swap animations and flash the faded alert back.\n Reduced motion: fade only; the space closes instantly afterwards. */\n ", "\n"])), semantic$9.space[300], semantic$9.space[300], semantic$9.radius.sm, semantic$9.border.width.thin, function (_a) {
4756
4578
  var _b = _a.$variant,
4757
4579
  $variant = _b === void 0 ? 'info' : _b;
4758
4580
  return alert.severity[$variant].background;
@@ -4765,10 +4587,7 @@ var StyledAlert = /*#__PURE__*/styled__default.default.div.withConfig({
4765
4587
  $variant = _b === void 0 ? 'info' : _b,
4766
4588
  $appearance = _a.$appearance;
4767
4589
  return alert.appearance[$appearance].borderColor[$variant];
4768
- }, semantic$9.breakpoint.md, function (_a) {
4769
- var $inline = _a.$inline;
4770
- return $inline ? semantic$9.space[200] : semantic$9.space[400];
4771
- }, function (_a) {
4590
+ }, semantic$9.breakpoint.md, semantic$9.space[400], function (_a) {
4772
4591
  var $isExiting = _a.$isExiting,
4773
4592
  $reducedExit = _a.$reducedExit;
4774
4593
  return $isExiting && styled.css(templateObject_5$b || (templateObject_5$b = __makeTemplateObject(["\n overflow: hidden;\n pointer-events: none;\n animation: ", ";\n "], ["\n overflow: hidden;\n pointer-events: none;\n animation: ", ";\n "])), $reducedExit ? styled.css(templateObject_3$j || (templateObject_3$j = __makeTemplateObject(["", " ", " ", " forwards"], ["", " ", " ", " forwards"])), fadeOut, duration$1.fast, easing$1.accelerate) : styled.css(templateObject_4$e || (templateObject_4$e = __makeTemplateObject(["", " ", "ms ", " forwards"], ["", " ", "ms ", " forwards"])), fadeThenCollapse, EXIT_MS, easing$1.accelerate));
@@ -4814,21 +4633,16 @@ var StyledDismissSlot = /*#__PURE__*/styled__default.default.div.withConfig({
4814
4633
  displayName: "Alert__StyledDismissSlot",
4815
4634
  componentId: "sc-18tq5d-6"
4816
4635
  })(templateObject_12$2 || (templateObject_12$2 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n flex-shrink: 0;\n height: ", ";\n"], ["\n display: flex;\n align-items: center;\n flex-shrink: 0;\n height: ", ";\n"
4817
- // The glyph sits on the padding edge, mirroring the severity icon on the left. The inline
4818
- // alert's padding is too small for that, so its button stays inside the padding.
4636
+ // The glyph sits on the padding edge, mirroring the severity icon on the left
4819
4637
  ])), function (_a) {
4820
4638
  var $lineHeight = _a.$lineHeight;
4821
4639
  return $lineHeight;
4822
4640
  });
4823
- // The glyph sits on the padding edge, mirroring the severity icon on the left. The inline
4824
- // alert's padding is too small for that, so its button stays inside the padding.
4641
+ // The glyph sits on the padding edge, mirroring the severity icon on the left
4825
4642
  var StyledDismissButton = /*#__PURE__*/styled__default.default(IconButton).withConfig({
4826
4643
  displayName: "Alert__StyledDismissButton",
4827
4644
  componentId: "sc-18tq5d-7"
4828
- })(templateObject_13$2 || (templateObject_13$2 = __makeTemplateObject(["\n margin-right: ", ";\n"], ["\n margin-right: ", ";\n"])), function (_a) {
4829
- var $inline = _a.$inline;
4830
- return $inline ? 0 : "calc((".concat(semantic$9.size.control.sm, " - ").concat(semantic$9.size.icon.sm, ") / -2)");
4831
- });
4645
+ })(templateObject_13$2 || (templateObject_13$2 = __makeTemplateObject(["\n margin-right: calc((", " - ", ") / -2);\n"], ["\n margin-right: calc((", " - ", ") / -2);\n"])), semantic$9.size.control.sm, semantic$9.size.icon.sm);
4832
4646
  var Alert = function Alert(_a) {
4833
4647
  var _b = _a.variant,
4834
4648
  variant = _b === void 0 ? 'info' : _b,
@@ -4840,12 +4654,15 @@ var Alert = function Alert(_a) {
4840
4654
  dismissible = _d === void 0 ? false : _d,
4841
4655
  onDismiss = _a.onDismiss,
4842
4656
  action = _a.action,
4843
- _e = _a.inline,
4844
- inline = _e === void 0 ? false : _e,
4845
- _f = _a.ariaLive,
4846
- ariaLive = _f === void 0 ? 'polite' : _f,
4657
+ _e = _a.ariaLive,
4658
+ ariaLive = _e === void 0 ? 'polite' : _e,
4847
4659
  dataTestId = _a["data-testid"],
4848
- props = __rest(_a, ["variant", "appearance", "children", "title", "dismissible", "onDismiss", "action", "inline", "ariaLive", 'data-testid']);
4660
+ restProps = __rest(_a, ["variant", "appearance", "children", "title", "dismissible", "onDismiss", "action", "ariaLive", 'data-testid']);
4661
+ // `inline` was removed in 3.0 (use InlineAlert, decision 0019); plain JavaScript that still
4662
+ // passes it gets a block alert, with the prop kept off the DOM
4663
+ var _f = restProps;
4664
+ _f.inline;
4665
+ var props = __rest(_f, ["inline"]);
4849
4666
  var _g = React__default.default.useState('visible'),
4850
4667
  phase = _g[0],
4851
4668
  setPhase = _g[1];
@@ -4921,7 +4738,6 @@ var Alert = function Alert(_a) {
4921
4738
  "aria-live": ariaLive,
4922
4739
  "$variant": variant,
4923
4740
  "$appearance": appearance,
4924
- "$inline": inline,
4925
4741
  "$isExiting": isExiting,
4926
4742
  "$reducedExit": reducedExit,
4927
4743
  "data-testid": dataTestId
@@ -4954,7 +4770,6 @@ var Alert = function Alert(_a) {
4954
4770
  iconName: "close",
4955
4771
  size: "small",
4956
4772
  variant: "naked",
4957
- "$inline": inline,
4958
4773
  onClick: handleDismiss,
4959
4774
  "aria-label": "Dismiss alert",
4960
4775
  "data-testid": dataTestId ? "".concat(dataTestId, "-dismiss") : undefined
@@ -4963,7 +4778,7 @@ var Alert = function Alert(_a) {
4963
4778
  }));
4964
4779
  };
4965
4780
  Alert.displayName = 'Alert';
4966
- var templateObject_1$p, templateObject_2$k, templateObject_3$j, templateObject_4$e, templateObject_5$b, templateObject_6$8, templateObject_7$6, templateObject_8$5, templateObject_9$4, templateObject_10$2, templateObject_11$2, templateObject_12$2, templateObject_13$2;
4781
+ var templateObject_1$o, templateObject_2$k, templateObject_3$j, templateObject_4$e, templateObject_5$b, templateObject_6$8, templateObject_7$6, templateObject_8$5, templateObject_9$4, templateObject_10$2, templateObject_11$2, templateObject_12$2, templateObject_13$2;
4967
4782
 
4968
4783
  var semantic$8 = tokens.semantic;
4969
4784
  var color$2 = semantic$8.color,
@@ -5006,7 +4821,7 @@ var StyledInlineAlert = /*#__PURE__*/styled__default.default.div.withConfig({
5006
4821
  },
5007
4822
  displayName: "InlineAlert__StyledInlineAlert",
5008
4823
  componentId: "sc-eervmb-0"
5009
- })(templateObject_1$o || (templateObject_1$o = __makeTemplateObject(["\n box-sizing: border-box;\n display: flex;\n align-items: flex-start;\n min-height: ", ";\n gap: ", ";\n font: ", ";\n color: ", ";\n"], ["\n box-sizing: border-box;\n display: flex;\n align-items: flex-start;\n min-height: ", ";\n gap: ", ";\n font: ", ";\n color: ", ";\n"
4824
+ })(templateObject_1$n || (templateObject_1$n = __makeTemplateObject(["\n box-sizing: border-box;\n display: flex;\n align-items: flex-start;\n min-height: ", ";\n gap: ", ";\n font: ", ";\n color: ", ";\n"], ["\n box-sizing: border-box;\n display: flex;\n align-items: flex-start;\n min-height: ", ";\n gap: ", ";\n font: ", ";\n color: ", ";\n"
5010
4825
  // One line of the message's font tall, so the icon centres on the first line at any size:
5011
4826
  // the zero-width space gives the box the font's line height without a fixed value
5012
4827
  ])), function (_a) {
@@ -5102,12 +4917,12 @@ var InlineAlert = function InlineAlert(_a) {
5102
4917
  });
5103
4918
  };
5104
4919
  InlineAlert.displayName = 'InlineAlert';
5105
- var templateObject_1$o, templateObject_2$j, templateObject_3$i;
4920
+ var templateObject_1$n, templateObject_2$j, templateObject_3$i;
5106
4921
 
5107
4922
  var BreadcrumbNavStyled = /*#__PURE__*/styled__default.default.nav.withConfig({
5108
4923
  displayName: "Breadcrumbs__BreadcrumbNavStyled",
5109
4924
  componentId: "sc-7ouzg5-0"
5110
- })(templateObject_1$n || (templateObject_1$n = __makeTemplateObject(["\n border-bottom: ", ";\n\n ol {\n display: flex;\n align-items: center;\n list-style: none;\n margin: 0;\n padding: 0;\n }\n"], ["\n border-bottom: ", ";\n\n ol {\n display: flex;\n align-items: center;\n list-style: none;\n margin: 0;\n padding: 0;\n }\n"])), tokens.semantic.border["default"]);
4925
+ })(templateObject_1$m || (templateObject_1$m = __makeTemplateObject(["\n border-bottom: ", ";\n\n ol {\n display: flex;\n align-items: center;\n list-style: none;\n margin: 0;\n padding: 0;\n }\n"], ["\n border-bottom: ", ";\n\n ol {\n display: flex;\n align-items: center;\n list-style: none;\n margin: 0;\n padding: 0;\n }\n"])), tokens.semantic.border["default"]);
5111
4926
  var BreadcrumbStyled = /*#__PURE__*/styled__default.default.li.withConfig({
5112
4927
  displayName: "Breadcrumbs__BreadcrumbStyled",
5113
4928
  componentId: "sc-7ouzg5-1"
@@ -5163,14 +4978,14 @@ var Breadcrumbs = function Breadcrumbs(_a) {
5163
4978
  })
5164
4979
  });
5165
4980
  };
5166
- var templateObject_1$n, templateObject_2$i, templateObject_3$h;
4981
+ var templateObject_1$m, templateObject_2$i, templateObject_3$h;
5167
4982
 
5168
4983
  // The whole card is one link (#185): hovering anywhere fades its image, pressing fades it one step
5169
4984
  // further, and keyboard focus draws the system focus ring around the card (decision 0029)
5170
4985
  var CardSmallStyled = /*#__PURE__*/styled__default.default.div.withConfig({
5171
4986
  displayName: "CardSmall__CardSmallStyled",
5172
4987
  componentId: "sc-jpcqvd-0"
5173
- })(templateObject_1$m || (templateObject_1$m = __makeTemplateObject(["\n a {\n display: block;\n text-decoration: none;\n border-radius: ", ";\n }\n\n img {\n border-radius: ", ";\n transition: ", ";\n width: 100%;\n height: auto;\n display: block;\n }\n\n a:hover img {\n opacity: ", ";\n }\n\n a:active img {\n opacity: ", ";\n }\n\n a:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n }\n"], ["\n a {\n display: block;\n text-decoration: none;\n border-radius: ", ";\n }\n\n img {\n border-radius: ", ";\n transition: ", ";\n width: 100%;\n height: auto;\n display: block;\n }\n\n a:hover img {\n opacity: ", ";\n }\n\n a:active img {\n opacity: ", ";\n }\n\n a:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n }\n"])), tokens.semantic.radius.sm, tokens.semantic.radius.sm, tokens.semantic.motion.transition.press, tokens.semantic.opacity.hover, tokens.semantic.opacity.pressed, tokens.semantic.border.focus, tokens.semantic.border.focusOffset);
4988
+ })(templateObject_1$l || (templateObject_1$l = __makeTemplateObject(["\n a {\n display: block;\n text-decoration: none;\n border-radius: ", ";\n }\n\n img {\n border-radius: ", ";\n transition: ", ";\n width: 100%;\n height: auto;\n display: block;\n }\n\n a:hover img {\n opacity: ", ";\n }\n\n a:active img {\n opacity: ", ";\n }\n\n a:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n }\n"], ["\n a {\n display: block;\n text-decoration: none;\n border-radius: ", ";\n }\n\n img {\n border-radius: ", ";\n transition: ", ";\n width: 100%;\n height: auto;\n display: block;\n }\n\n a:hover img {\n opacity: ", ";\n }\n\n a:active img {\n opacity: ", ";\n }\n\n a:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n }\n"])), tokens.semantic.radius.sm, tokens.semantic.radius.sm, tokens.semantic.motion.transition.press, tokens.semantic.opacity.hover, tokens.semantic.opacity.pressed, tokens.semantic.border.focus, tokens.semantic.border.focusOffset);
5174
4989
  var CardSmall = function CardSmall(_a) {
5175
4990
  var title = _a.title,
5176
4991
  picture = _a.picture,
@@ -5224,12 +5039,12 @@ var CardSmall = function CardSmall(_a) {
5224
5039
  })
5225
5040
  });
5226
5041
  };
5227
- var templateObject_1$m;
5042
+ var templateObject_1$l;
5228
5043
 
5229
5044
  var CardLargeStyled = /*#__PURE__*/styled__default.default.div.withConfig({
5230
5045
  displayName: "CardLarge__CardLargeStyled",
5231
5046
  componentId: "sc-1rfgdzl-0"
5232
- })(templateObject_1$l || (templateObject_1$l = __makeTemplateObject(["\n max-width: ", ";\n\n a {\n text-decoration: none;\n }\n\n /* The image answers hover and press through Picture, and only when it's clickable (issue 185) */\n img {\n border-radius: ", ";\n width: 100%;\n }\n"], ["\n max-width: ", ";\n\n a {\n text-decoration: none;\n }\n\n /* The image answers hover and press through Picture, and only when it's clickable (issue 185) */\n img {\n border-radius: ", ";\n width: 100%;\n }\n"])), tokens.component.cardLarge.maxWidth, tokens.semantic.radius['2xl']);
5047
+ })(templateObject_1$k || (templateObject_1$k = __makeTemplateObject(["\n max-width: ", ";\n\n a {\n text-decoration: none;\n }\n\n /* The image answers hover and press through Picture, and only when it's clickable (issue 185) */\n img {\n border-radius: ", ";\n width: 100%;\n }\n"], ["\n max-width: ", ";\n\n a {\n text-decoration: none;\n }\n\n /* The image answers hover and press through Picture, and only when it's clickable (issue 185) */\n img {\n border-radius: ", ";\n width: 100%;\n }\n"])), tokens.component.cardLarge.maxWidth, tokens.semantic.radius['2xl']);
5233
5048
  var CardLarge = function CardLarge(_a) {
5234
5049
  var title = _a.title,
5235
5050
  excerpt = _a.excerpt,
@@ -5284,7 +5099,7 @@ var CardLarge = function CardLarge(_a) {
5284
5099
  })
5285
5100
  });
5286
5101
  };
5287
- var templateObject_1$l;
5102
+ var templateObject_1$k;
5288
5103
 
5289
5104
  /**
5290
5105
  * Hidden native checkbox input for accessibility
@@ -5296,7 +5111,7 @@ var HiddenCheckboxInput = /*#__PURE__*/styled__default.default.input.withConfig(
5296
5111
  },
5297
5112
  displayName: "SelectableInputBase__HiddenCheckboxInput",
5298
5113
  componentId: "sc-1ddpctx-0"
5299
- })(templateObject_1$k || (templateObject_1$k = __makeTemplateObject(["\n position: absolute;\n opacity: 0;\n width: 0;\n height: 0;\n pointer-events: none;\n"], ["\n position: absolute;\n opacity: 0;\n width: 0;\n height: 0;\n pointer-events: none;\n"
5114
+ })(templateObject_1$j || (templateObject_1$j = __makeTemplateObject(["\n position: absolute;\n opacity: 0;\n width: 0;\n height: 0;\n pointer-events: none;\n"], ["\n position: absolute;\n opacity: 0;\n width: 0;\n height: 0;\n pointer-events: none;\n"
5300
5115
  /**
5301
5116
  * Custom checkbox visual component
5302
5117
  * 24px × 24px for 8px grid alignment
@@ -5374,12 +5189,12 @@ var StyledCheckboxLabel = /*#__PURE__*/styled__default.default.span.withConfig({
5374
5189
  })(templateObject_4$d || (templateObject_4$d = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n"], ["\n font: ", ";\n color: ", ";\n"])), tokens.component.input["default"].font, function (props) {
5375
5190
  return props.$disabled ? tokens.component.input.disabled.textColor : tokens.component.input["default"].textColor;
5376
5191
  });
5377
- var templateObject_1$k, templateObject_2$h, templateObject_3$g, templateObject_4$d;
5192
+ var templateObject_1$j, templateObject_2$h, templateObject_3$g, templateObject_4$d;
5378
5193
 
5379
5194
  var StyledFieldContainer$3 = /*#__PURE__*/styled__default.default.div.withConfig({
5380
5195
  displayName: "Checkbox__StyledFieldContainer",
5381
5196
  componentId: "sc-vquz3v-0"
5382
- })(templateObject_1$j || (templateObject_1$j = __makeTemplateObject(["\n display: inline-flex;\n flex-direction: column;\n gap: ", ";\n"], ["\n display: inline-flex;\n flex-direction: column;\n gap: ", ";\n"])), tokens.semantic.space[100]);
5197
+ })(templateObject_1$i || (templateObject_1$i = __makeTemplateObject(["\n display: inline-flex;\n flex-direction: column;\n gap: ", ";\n"], ["\n display: inline-flex;\n flex-direction: column;\n gap: ", ";\n"])), tokens.semantic.space[100]);
5383
5198
  var StyledHelperText$4 = /*#__PURE__*/styled__default.default.span.withConfig({
5384
5199
  displayName: "Checkbox__StyledHelperText",
5385
5200
  componentId: "sc-vquz3v-1"
@@ -5502,16 +5317,14 @@ var Checkbox = /*#__PURE__*/React.forwardRef(function (_a, ref) {
5502
5317
  });
5503
5318
  });
5504
5319
  Checkbox.displayName = 'Checkbox';
5505
- var templateObject_1$j, templateObject_2$g;
5320
+ var templateObject_1$i, templateObject_2$g;
5506
5321
 
5507
5322
  var ChipGroupWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
5508
5323
  displayName: "ChipGroup__ChipGroupWrapper",
5509
5324
  componentId: "sc-ae049w-0"
5510
- })(templateObject_1$i || (templateObject_1$i = __makeTemplateObject(["\n > div {\n display: flex;\n flex-wrap: wrap;\n }\n"], ["\n > div {\n display: flex;\n flex-wrap: wrap;\n }\n"])));
5325
+ })(templateObject_1$h || (templateObject_1$h = __makeTemplateObject(["\n > div {\n display: flex;\n flex-wrap: wrap;\n }\n"], ["\n > div {\n display: flex;\n flex-wrap: wrap;\n }\n"])));
5511
5326
  var ChipGroup = function ChipGroup(_a) {
5512
5327
  var labels = _a.labels,
5513
- _b = _a.variant,
5514
- variant = _b === void 0 ? 'default' : _b,
5515
5328
  dataTestId = _a["data-testid"];
5516
5329
  return jsxRuntime.jsx(ChipGroupWrapper, {
5517
5330
  "data-testid": dataTestId,
@@ -5520,14 +5333,13 @@ var ChipGroup = function ChipGroup(_a) {
5520
5333
  gap: "sm",
5521
5334
  children: labels && labels.map(function (title, index) {
5522
5335
  return jsxRuntime.jsx(Chip, {
5523
- title: title,
5524
- variant: variant
5336
+ title: title
5525
5337
  }, index);
5526
5338
  })
5527
5339
  })
5528
5340
  });
5529
5341
  };
5530
- var templateObject_1$i;
5342
+ var templateObject_1$h;
5531
5343
 
5532
5344
  var _a$1 = tokens.semantic,
5533
5345
  color$1 = _a$1.color,
@@ -5536,7 +5348,7 @@ var _a$1 = tokens.semantic,
5536
5348
  var StyledCodeBlock = /*#__PURE__*/styled__default.default.pre.withConfig({
5537
5349
  displayName: "CodeBlock__StyledCodeBlock",
5538
5350
  componentId: "sc-1p1t0kp-0"
5539
- })(templateObject_1$h || (templateObject_1$h = __makeTemplateObject(["\n background-color: ", ";\n border: ", ";\n border-radius: ", ";\n padding: ", ";\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n overflow-x: auto;\n overflow-y: ", ";\n margin: ", " 0;\n position: relative;\n transition: max-height ", " ", ";\n\n ", " {\n transition: none;\n }\n \n ", "\n\n /* The block is focusable so keyboard users can scroll it; it shows the system focus ring\n (decision 0029) */\n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n }\n"], ["\n background-color: ", ";\n border: ", ";\n border-radius: ", ";\n padding: ", ";\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n overflow-x: auto;\n overflow-y: ", ";\n margin: ", " 0;\n position: relative;\n transition: max-height ", " ", ";\n\n ", " {\n transition: none;\n }\n \n ", "\n\n /* The block is focusable so keyboard users can scroll it; it shows the system focus ring\n (decision 0029) */\n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n }\n"])), tokens.semantic.surface.raised, border$1["default"], tokens.semantic.radius.sm, tokens.semantic.space[300], tokens.component.codeBlock.fontFamily, tokens.component.codeBlock.fontSize, tokens.component.codeBlock.lineHeight, color$1.text["default"], function (_a) {
5351
+ })(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["\n background-color: ", ";\n border: ", ";\n border-radius: ", ";\n padding: ", ";\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n overflow-x: auto;\n overflow-y: ", ";\n margin: ", " 0;\n position: relative;\n transition: max-height ", " ", ";\n\n ", " {\n transition: none;\n }\n \n ", "\n\n /* The block is focusable so keyboard users can scroll it; it shows the system focus ring\n (decision 0029) */\n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n }\n"], ["\n background-color: ", ";\n border: ", ";\n border-radius: ", ";\n padding: ", ";\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n overflow-x: auto;\n overflow-y: ", ";\n margin: ", " 0;\n position: relative;\n transition: max-height ", " ", ";\n\n ", " {\n transition: none;\n }\n \n ", "\n\n /* The block is focusable so keyboard users can scroll it; it shows the system focus ring\n (decision 0029) */\n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n }\n"])), tokens.semantic.surface.raised, border$1["default"], tokens.semantic.radius.sm, tokens.semantic.space[300], tokens.component.codeBlock.fontFamily, tokens.component.codeBlock.fontSize, tokens.component.codeBlock.lineHeight, color$1.text["default"], function (_a) {
5540
5352
  var $isExpanded = _a.$isExpanded,
5541
5353
  $needsExpansion = _a.$needsExpansion;
5542
5354
  return $needsExpansion && !$isExpanded ? 'hidden' : 'auto';
@@ -5746,12 +5558,12 @@ var CodeBlock = function CodeBlock(_a) {
5746
5558
  })]
5747
5559
  });
5748
5560
  };
5749
- var templateObject_1$h, templateObject_2$f, templateObject_3$f, templateObject_4$c, templateObject_5$a;
5561
+ var templateObject_1$g, templateObject_2$f, templateObject_3$f, templateObject_4$c, templateObject_5$a;
5750
5562
 
5751
5563
  var StyledHeader$1 = /*#__PURE__*/styled__default.default.div.withConfig({
5752
5564
  displayName: "DateGroup__StyledHeader",
5753
5565
  componentId: "sc-9nfm1f-0"
5754
- })(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: ", " ", ";\n background-color: ", ";\n border-bottom: ", " solid ", ";\n \n ", "\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: ", " ", ";\n background-color: ", ";\n border-bottom: ", " solid ", ";\n \n ", "\n"])), tokens.semantic.space[300], tokens.semantic.space[200], tokens.semantic.surface.base, tokens.semantic.border.width.thin, tokens.semantic.color.border["default"], function (_a) {
5566
+ })(templateObject_1$f || (templateObject_1$f = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: ", " ", ";\n background-color: ", ";\n border-bottom: ", " solid ", ";\n \n ", "\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: ", " ", ";\n background-color: ", ";\n border-bottom: ", " solid ", ";\n \n ", "\n"])), tokens.semantic.space[300], tokens.semantic.space[200], tokens.semantic.surface.base, tokens.semantic.border.width.thin, tokens.semantic.color.border["default"], function (_a) {
5755
5567
  var $sticky = _a.$sticky;
5756
5568
  return $sticky && "\n position: sticky;\n top: 0;\n z-index: ".concat(tokens.semantic.layer.sticky, ";\n box-shadow: ").concat(tokens.semantic.elevation.sticky, ";\n ");
5757
5569
  });
@@ -5838,7 +5650,7 @@ var DateGroup = function DateGroup(_a) {
5838
5650
  })]
5839
5651
  });
5840
5652
  };
5841
- var templateObject_1$g, templateObject_2$e, templateObject_3$e, templateObject_4$b;
5653
+ var templateObject_1$f, templateObject_2$e, templateObject_3$e, templateObject_4$b;
5842
5654
 
5843
5655
  var semantic$7 = tokens.semantic;
5844
5656
  var StyledContainer$1 = /*#__PURE__*/styled__default.default.div.withConfig({
@@ -5847,7 +5659,7 @@ var StyledContainer$1 = /*#__PURE__*/styled__default.default.div.withConfig({
5847
5659
  },
5848
5660
  displayName: "EmptyState__StyledContainer",
5849
5661
  componentId: "sc-1u5hxh-0"
5850
- })(templateObject_1$f || (templateObject_1$f = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n max-width: ", ";\n margin: 0 auto;\n padding: ", ";\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n max-width: ", ";\n margin: 0 auto;\n padding: ", ";\n"])), tokens.component.emptyState.maxWidth, function (_a) {
5662
+ })(templateObject_1$e || (templateObject_1$e = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n max-width: ", ";\n margin: 0 auto;\n padding: ", ";\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n max-width: ", ";\n margin: 0 auto;\n padding: ", ";\n"])), tokens.component.emptyState.maxWidth, function (_a) {
5851
5663
  var $size = _a.$size;
5852
5664
  return $size === 'small' ? semantic$7.space[800] : $size === 'large' ? semantic$7.space[1400] : semantic$7.space[1000];
5853
5665
  });
@@ -5957,13 +5769,13 @@ var EmptyState = function EmptyState(_a) {
5957
5769
  })]
5958
5770
  });
5959
5771
  };
5960
- var templateObject_1$f, templateObject_2$d, templateObject_3$d;
5772
+ var templateObject_1$e, templateObject_2$d, templateObject_3$d;
5961
5773
 
5962
5774
  var space$5 = tokens.semantic.space;
5963
5775
  var FeatureBlockStyled = /*#__PURE__*/styled__default.default.div.withConfig({
5964
5776
  displayName: "FeatureBlock__FeatureBlockStyled",
5965
5777
  componentId: "sc-1mi4lso-0"
5966
- })(templateObject_1$e || (templateObject_1$e = __makeTemplateObject(["\n @media (min-width: ", ") {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n }\n\n @media (min-width: ", ") {\n gap: ", ";\n }\n\n /* The image isn't clickable, so it doesn't answer hover (issue 185, P5) */\n img {\n border-radius: ", ";\n }\n\n a {\n text-decoration: none;\n }\n"], ["\n @media (min-width: ", ") {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n }\n\n @media (min-width: ", ") {\n gap: ", ";\n }\n\n /* The image isn't clickable, so it doesn't answer hover (issue 185, P5) */\n img {\n border-radius: ", ";\n }\n\n a {\n text-decoration: none;\n }\n"])), tokens.semantic.breakpoint.md, tokens.semantic.breakpoint.lg, space$5[1200], tokens.semantic.radius['2xl']);
5778
+ })(templateObject_1$d || (templateObject_1$d = __makeTemplateObject(["\n @media (min-width: ", ") {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n }\n\n @media (min-width: ", ") {\n gap: ", ";\n }\n\n /* The image isn't clickable, so it doesn't answer hover (issue 185, P5) */\n img {\n border-radius: ", ";\n }\n\n a {\n text-decoration: none;\n }\n"], ["\n @media (min-width: ", ") {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n }\n\n @media (min-width: ", ") {\n gap: ", ";\n }\n\n /* The image isn't clickable, so it doesn't answer hover (issue 185, P5) */\n img {\n border-radius: ", ";\n }\n\n a {\n text-decoration: none;\n }\n"])), tokens.semantic.breakpoint.md, tokens.semantic.breakpoint.lg, space$5[1200], tokens.semantic.radius['2xl']);
5967
5779
  var ImageWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
5968
5780
  displayName: "FeatureBlock__ImageWrapper",
5969
5781
  componentId: "sc-1mi4lso-1"
@@ -6038,7 +5850,7 @@ var FeatureBlock = function FeatureBlock(_a) {
6038
5850
  }), jsxRuntime.jsx(Divider, {})]
6039
5851
  });
6040
5852
  };
6041
- var templateObject_1$e, templateObject_2$c, templateObject_3$c, templateObject_4$a, templateObject_5$9;
5853
+ var templateObject_1$d, templateObject_2$c, templateObject_3$c, templateObject_4$a, templateObject_5$9;
6042
5854
 
6043
5855
  var _a = tokens.semantic,
6044
5856
  border = _a.border,
@@ -6060,7 +5872,7 @@ var duration = motion$1.duration,
6060
5872
  var DropdownContainer = /*#__PURE__*/styled__default.default.div.withConfig({
6061
5873
  displayName: "Dropdown__DropdownContainer",
6062
5874
  componentId: "sc-kz07c4-0"
6063
- })(templateObject_1$d || (templateObject_1$d = __makeTemplateObject(["\n position: relative;\n width: 100%;\n"], ["\n position: relative;\n width: 100%;\n"])));
5875
+ })(templateObject_1$c || (templateObject_1$c = __makeTemplateObject(["\n position: relative;\n width: 100%;\n"], ["\n position: relative;\n width: 100%;\n"])));
6064
5876
  var DropdownTrigger = /*#__PURE__*/styled__default.default.button.withConfig({
6065
5877
  shouldForwardProp: function shouldForwardProp(prop) {
6066
5878
  return !prop.startsWith('$');
@@ -6307,7 +6119,7 @@ var Dropdown = function Dropdown(_a) {
6307
6119
  })]
6308
6120
  });
6309
6121
  };
6310
- var templateObject_1$d, templateObject_2$b, templateObject_3$b, templateObject_4$9, templateObject_5$8, templateObject_6$7;
6122
+ var templateObject_1$c, templateObject_2$b, templateObject_3$b, templateObject_4$9, templateObject_5$8, templateObject_6$7;
6311
6123
 
6312
6124
  var semantic$6 = tokens.semantic;
6313
6125
  var StyledList = /*#__PURE__*/styled__default.default.ul.withConfig({
@@ -6316,7 +6128,7 @@ var StyledList = /*#__PURE__*/styled__default.default.ul.withConfig({
6316
6128
  },
6317
6129
  displayName: "List__StyledList",
6318
6130
  componentId: "sc-1irksg5-0"
6319
- })(templateObject_1$c || (templateObject_1$c = __makeTemplateObject(["\n list-style: none;\n margin: 0;\n padding: 0;\n width: 100%;\n \n /* Divider styles */\n ", "\n"], ["\n list-style: none;\n margin: 0;\n padding: 0;\n width: 100%;\n \n /* Divider styles */\n ", "\n"])), function (_a) {
6131
+ })(templateObject_1$b || (templateObject_1$b = __makeTemplateObject(["\n list-style: none;\n margin: 0;\n padding: 0;\n width: 100%;\n \n /* Divider styles */\n ", "\n"], ["\n list-style: none;\n margin: 0;\n padding: 0;\n width: 100%;\n \n /* Divider styles */\n ", "\n"])), function (_a) {
6320
6132
  var $dividers = _a.$dividers;
6321
6133
  return $dividers && "\n > li:not(:last-child) {\n border-bottom: ".concat(semantic$6.border.width.thin, " solid ").concat(semantic$6.color.border["default"], ";\n }\n ");
6322
6134
  });
@@ -6342,7 +6154,7 @@ var List = function List(_a) {
6342
6154
  });
6343
6155
  };
6344
6156
  List.displayName = 'List';
6345
- var templateObject_1$c;
6157
+ var templateObject_1$b;
6346
6158
 
6347
6159
  var semantic$5 = tokens.semantic;
6348
6160
  var space$3 = semantic$5.space,
@@ -6360,7 +6172,7 @@ var sizeToWidth = {
6360
6172
  // ---------------------------------------------------------------------------
6361
6173
  // Animations
6362
6174
  // ---------------------------------------------------------------------------
6363
- var fadeIn$1 = styled.keyframes(templateObject_1$b || (templateObject_1$b = __makeTemplateObject(["\n from { opacity: 0; }\n to { opacity: 1; }\n"], ["\n from { opacity: 0; }\n to { opacity: 1; }\n"])));
6175
+ var fadeIn$1 = styled.keyframes(templateObject_1$a || (templateObject_1$a = __makeTemplateObject(["\n from { opacity: 0; }\n to { opacity: 1; }\n"], ["\n from { opacity: 0; }\n to { opacity: 1; }\n"])));
6364
6176
  var scaleIn = styled.keyframes(templateObject_2$a || (templateObject_2$a = __makeTemplateObject(["\n from {\n opacity: 0;\n transform: translate(-50%, -50%) scale(0.95);\n }\n to {\n opacity: 1;\n transform: translate(-50%, -50%) scale(1);\n }\n"], ["\n from {\n opacity: 0;\n transform: translate(-50%, -50%) scale(0.95);\n }\n to {\n opacity: 1;\n transform: translate(-50%, -50%) scale(1);\n }\n"
6365
6177
  // ---------------------------------------------------------------------------
6366
6178
  // Styled components
@@ -6584,7 +6396,7 @@ var Modal = function Modal(_a) {
6584
6396
  return /*#__PURE__*/reactDom.createPortal(modal, document.body);
6585
6397
  };
6586
6398
  Modal.displayName = 'Modal';
6587
- var templateObject_1$b, templateObject_2$a, templateObject_3$a, templateObject_4$8, templateObject_5$7, templateObject_6$6, templateObject_7$5, templateObject_8$4, templateObject_9$3;
6399
+ var templateObject_1$a, templateObject_2$a, templateObject_3$a, templateObject_4$8, templateObject_5$7, templateObject_6$6, templateObject_7$5, templateObject_8$4, templateObject_9$3;
6588
6400
 
6589
6401
  var input = tokens.component.input,
6590
6402
  semantic$4 = tokens.semantic;
@@ -6593,7 +6405,7 @@ var input = tokens.component.input,
6593
6405
  * own min-height and padding. Interpolating a styled component into another's CSS
6594
6406
  * inserts its class selector, not its styles, so the sharing goes through `css`.
6595
6407
  */
6596
- var inputBaseStyles = styled.css(templateObject_1$a || (templateObject_1$a = __makeTemplateObject(["\n /* Typography */\n font: ", ";\n color: ", ";\n \n /* Layout */\n box-sizing: border-box; /* the min-height includes the border, without relying on a global reset */\n width: 100%;\n \n /* Visual styling */\n background-color: ", ";\n \n border: ", " solid ", ";\n \n border-radius: ", ";\n \n /* Remove default appearance */\n appearance: none;\n outline: none;\n \n /* Transitions */\n transition: border-color ", " ", ",\n outline ", " ", ";\n \n /* Placeholder */\n &::placeholder {\n color: ", ";\n opacity: 1;\n }\n \n /* Focus state */\n &:focus {\n border-color: ", ";\n outline: ", ";\n outline-offset: ", ";\n }\n \n /* Hover state (only when not disabled) */\n &:hover:not(:disabled) {\n border-color: ", ";\n }\n \n /* Disabled state */\n &:disabled {\n cursor: not-allowed;\n }\n \n /* Remove number input spinners */\n &[type='number']::-webkit-inner-spin-button,\n &[type='number']::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n \n &[type='number'] {\n -moz-appearance: textfield;\n }\n"], ["\n /* Typography */\n font: ", ";\n color: ", ";\n \n /* Layout */\n box-sizing: border-box; /* the min-height includes the border, without relying on a global reset */\n width: 100%;\n \n /* Visual styling */\n background-color: ", ";\n \n border: ", " solid ", ";\n \n border-radius: ", ";\n \n /* Remove default appearance */\n appearance: none;\n outline: none;\n \n /* Transitions */\n transition: border-color ", " ", ",\n outline ", " ", ";\n \n /* Placeholder */\n &::placeholder {\n color: ", ";\n opacity: 1;\n }\n \n /* Focus state */\n &:focus {\n border-color: ", ";\n outline: ", ";\n outline-offset: ", ";\n }\n \n /* Hover state (only when not disabled) */\n &:hover:not(:disabled) {\n border-color: ", ";\n }\n \n /* Disabled state */\n &:disabled {\n cursor: not-allowed;\n }\n \n /* Remove number input spinners */\n &[type='number']::-webkit-inner-spin-button,\n &[type='number']::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n \n &[type='number'] {\n -moz-appearance: textfield;\n }\n"])), input["default"].font, function (_a) {
6408
+ var inputBaseStyles = styled.css(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject(["\n /* Typography */\n font: ", ";\n color: ", ";\n \n /* Layout */\n box-sizing: border-box; /* the min-height includes the border, without relying on a global reset */\n width: 100%;\n \n /* Visual styling */\n background-color: ", ";\n \n border: ", " solid ", ";\n \n border-radius: ", ";\n \n /* Remove default appearance */\n appearance: none;\n outline: none;\n \n /* Transitions */\n transition: border-color ", " ", ",\n outline ", " ", ";\n \n /* Placeholder */\n &::placeholder {\n color: ", ";\n opacity: 1;\n }\n \n /* Focus state */\n &:focus {\n border-color: ", ";\n outline: ", ";\n outline-offset: ", ";\n }\n \n /* Hover state (only when not disabled) */\n &:hover:not(:disabled) {\n border-color: ", ";\n }\n \n /* Disabled state */\n &:disabled {\n cursor: not-allowed;\n }\n \n /* Remove number input spinners */\n &[type='number']::-webkit-inner-spin-button,\n &[type='number']::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n \n &[type='number'] {\n -moz-appearance: textfield;\n }\n"], ["\n /* Typography */\n font: ", ";\n color: ", ";\n \n /* Layout */\n box-sizing: border-box; /* the min-height includes the border, without relying on a global reset */\n width: 100%;\n \n /* Visual styling */\n background-color: ", ";\n \n border: ", " solid ", ";\n \n border-radius: ", ";\n \n /* Remove default appearance */\n appearance: none;\n outline: none;\n \n /* Transitions */\n transition: border-color ", " ", ",\n outline ", " ", ";\n \n /* Placeholder */\n &::placeholder {\n color: ", ";\n opacity: 1;\n }\n \n /* Focus state */\n &:focus {\n border-color: ", ";\n outline: ", ";\n outline-offset: ", ";\n }\n \n /* Hover state (only when not disabled) */\n &:hover:not(:disabled) {\n border-color: ", ";\n }\n \n /* Disabled state */\n &:disabled {\n cursor: not-allowed;\n }\n \n /* Remove number input spinners */\n &[type='number']::-webkit-inner-spin-button,\n &[type='number']::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n \n &[type='number'] {\n -moz-appearance: textfield;\n }\n"])), input["default"].font, function (_a) {
6597
6409
  var $disabled = _a.$disabled;
6598
6410
  return $disabled ? input.disabled.textColor : input["default"].textColor;
6599
6411
  }, function (_a) {
@@ -6632,7 +6444,7 @@ var StyledTextAreaBase = /*#__PURE__*/styled__default.default.textarea.withConfi
6632
6444
  displayName: "InputBase__StyledTextAreaBase",
6633
6445
  componentId: "sc-1bpf4e8-1"
6634
6446
  })(templateObject_3$9 || (templateObject_3$9 = __makeTemplateObject(["\n ", "\n \n /* TextArea specific: a taller minimum for multi-line entry (decision 0034) */\n min-height: ", ";\n padding: ", " ", ";\n resize: vertical;\n"], ["\n ", "\n \n /* TextArea specific: a taller minimum for multi-line entry (decision 0034) */\n min-height: ", ";\n padding: ", " ", ";\n resize: vertical;\n"])), inputBaseStyles, input.textarea.minHeight, semantic$4.space.inset.md, semantic$4.space.inset.lg);
6635
- var templateObject_1$a, templateObject_2$9, templateObject_3$9;
6447
+ var templateObject_1$9, templateObject_2$9, templateObject_3$9;
6636
6448
 
6637
6449
  var field$2 = tokens.component.field;
6638
6450
  // Gaps come from the semantic spacing scale: no component spacing tokens (decision 0022)
@@ -6640,7 +6452,7 @@ var space$2 = tokens.semantic.space;
6640
6452
  var StyledFieldContainer$2 = /*#__PURE__*/styled__default.default.div.withConfig({
6641
6453
  displayName: "NumberInput__StyledFieldContainer",
6642
6454
  componentId: "sc-qotc3w-0"
6643
- })(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n gap: ", ";\n width: 100%;\n"], ["\n display: flex;\n flex-direction: column;\n gap: ", ";\n width: 100%;\n"])), space$2[200]);
6455
+ })(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n gap: ", ";\n width: 100%;\n"], ["\n display: flex;\n flex-direction: column;\n gap: ", ";\n width: 100%;\n"])), space$2[200]);
6644
6456
  var StyledLabel$3 = /*#__PURE__*/styled__default.default.label.withConfig({
6645
6457
  displayName: "NumberInput__StyledLabel",
6646
6458
  componentId: "sc-qotc3w-1"
@@ -6888,72 +6700,7 @@ var NumberInput = /*#__PURE__*/React.forwardRef(function (_a, ref) {
6888
6700
  });
6889
6701
  });
6890
6702
  NumberInput.displayName = 'NumberInput';
6891
- var templateObject_1$9, templateObject_2$8, templateObject_3$8, templateObject_4$7, templateObject_5$6, templateObject_6$5, templateObject_7$4;
6892
-
6893
- var PageTitleStyled = /*#__PURE__*/styled__default.default.div.withConfig({
6894
- shouldForwardProp: function shouldForwardProp(prop) {
6895
- return !prop.startsWith('$');
6896
- },
6897
- displayName: "PageTitle__PageTitleStyled",
6898
- componentId: "sc-16h256f-0"
6899
- })(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject(["\n margin-bottom: ", ";\n margin-top: ", ";\n"], ["\n margin-bottom: ", ";\n margin-top: ", ";\n"
6900
- /**
6901
- * @deprecated PageTitle is a leftover from the personal site (its back button always links to `/music`)
6902
- * and will be removed in the next major version. Compose a page title from `Typography` in a `Stack`:
6903
- *
6904
- * ```tsx
6905
- * <Stack direction="column" gap="md">
6906
- * <Typography variant="h1">{title}</Typography>
6907
- * <Typography variant="caption" color="subdued">{subtitle}</Typography>
6908
- * </Stack>
6909
- * ```
6910
- *
6911
- * For a back link, add an `IconButton` with your own `url` and `aria-label`.
6912
- */])), tokens.semantic.space[600], function (_a) {
6913
- var $hasBackButton = _a.$hasBackButton;
6914
- return $hasBackButton ? tokens.semantic.space[0] : tokens.semantic.space[1200];
6915
- });
6916
- /**
6917
- * @deprecated PageTitle is a leftover from the personal site (its back button always links to `/music`)
6918
- * and will be removed in the next major version. Compose a page title from `Typography` in a `Stack`:
6919
- *
6920
- * ```tsx
6921
- * <Stack direction="column" gap="md">
6922
- * <Typography variant="h1">{title}</Typography>
6923
- * <Typography variant="caption" color="subdued">{subtitle}</Typography>
6924
- * </Stack>
6925
- * ```
6926
- *
6927
- * For a back link, add an `IconButton` with your own `url` and `aria-label`.
6928
- */
6929
- var PageTitle = function PageTitle(_a) {
6930
- var title = _a.title,
6931
- _b = _a.hasBackButton,
6932
- hasBackButton = _b === void 0 ? false : _b,
6933
- subtitle = _a.subtitle;
6934
- return jsxRuntime.jsxs(PageTitleStyled, {
6935
- "$hasBackButton": hasBackButton,
6936
- children: [hasBackButton && jsxRuntime.jsx(IconButton, {
6937
- iconName: 'back',
6938
- size: 'large',
6939
- variant: 'naked',
6940
- url: '/music',
6941
- "aria-label": 'Go back to music page'
6942
- }), jsxRuntime.jsxs(Stack, {
6943
- direction: 'column',
6944
- gap: "md",
6945
- children: [jsxRuntime.jsx(Typography, {
6946
- variant: "h1",
6947
- children: title
6948
- }), subtitle && jsxRuntime.jsx(Typography, {
6949
- variant: 'caption',
6950
- color: 'subdued',
6951
- children: subtitle
6952
- })]
6953
- })]
6954
- });
6955
- };
6956
- var templateObject_1$8;
6703
+ var templateObject_1$8, templateObject_2$8, templateObject_3$8, templateObject_4$7, templateObject_5$6, templateObject_6$5, templateObject_7$4;
6957
6704
 
6958
6705
  var field$1 = tokens.component.field;
6959
6706
  // Gaps come from the semantic spacing scale: no component spacing tokens (decision 0022)
@@ -8178,10 +7925,8 @@ var StyledBadge = /*#__PURE__*/styled__default.default.span.withConfig({
8178
7925
  var TabBar = function TabBar(_a) {
8179
7926
  var tabs = _a.tabs,
8180
7927
  activeTab = _a.activeTab,
8181
- onTabChange = _a.onTabChange;
8182
- // Deprecated: every variant renders as underline (decision 0020)
8183
- _a.variant;
8184
- var _b = _a["aria-label"],
7928
+ onTabChange = _a.onTabChange,
7929
+ _b = _a["aria-label"],
8185
7930
  ariaLabel = _b === void 0 ? 'Tab navigation' : _b,
8186
7931
  dataTestId = _a["data-testid"];
8187
7932
  var tabRefs = React.useRef([]);
@@ -8594,10 +8339,12 @@ var TransactionListItem = function TransactionListItem(_a) {
8594
8339
  };
8595
8340
  var templateObject_1$1, templateObject_2$1, templateObject_3$1, templateObject_4$1, templateObject_5$1, templateObject_6$1, templateObject_7$1, templateObject_8$1, templateObject_9$1;
8596
8341
 
8597
- // Exception to decision 0014: the gap props are typed as base spacing keys (public API),
8598
- // so they are looked up in base.spacing until they accept semantic keys.
8599
- // eslint-disable-next-line no-restricted-syntax
8600
- var gapSpacing = tokens.base.spacing;
8342
+ // Exception to decision 0014: the gap props are typed as base dimension keys (public API),
8343
+ // so they are looked up in the base tier until they accept semantic keys.
8344
+ var gapSpacing = __assign(__assign({}, tokens.base.dimension), {
8345
+ // eslint-disable-next-line no-restricted-syntax
8346
+ auto: tokens.base.spacing.auto
8347
+ });
8601
8348
  // Breakpoints using base tokens
8602
8349
  var breakpoints = {
8603
8350
  xs: tokens.semantic.breakpoint.xs,
@@ -8813,13 +8560,11 @@ exports.AgentInput = AgentInput;
8813
8560
  exports.Alert = Alert;
8814
8561
  exports.Avatar = Avatar;
8815
8562
  exports.Badge = Badge;
8816
- exports.BooleanChip = BooleanChip;
8817
8563
  exports.Box = Box;
8818
8564
  exports.Breadcrumbs = Breadcrumbs;
8819
8565
  exports.Button = Button;
8820
8566
  exports.CardLarge = CardLarge;
8821
8567
  exports.CardSmall = CardSmall;
8822
- exports.CategoryBadge = CategoryBadge;
8823
8568
  exports.CategoryLabel = CategoryLabel;
8824
8569
  exports.Checkbox = Checkbox;
8825
8570
  exports.Chip = Chip;
@@ -8839,13 +8584,11 @@ exports.Icon = Icon;
8839
8584
  exports.IconButton = IconButton;
8840
8585
  exports.InlineAlert = InlineAlert;
8841
8586
  exports.InputChip = InputChip;
8842
- exports.LegacyChip = LegacyChip;
8843
8587
  exports.List = List;
8844
8588
  exports.ListItem = ListItem;
8845
8589
  exports.Modal = Modal;
8846
8590
  exports.MoneyDisplay = MoneyDisplay;
8847
8591
  exports.NumberInput = NumberInput;
8848
- exports.PageTitle = PageTitle;
8849
8592
  exports.PasswordField = PasswordField;
8850
8593
  exports.Picture = Picture;
8851
8594
  exports.ProgressBar = ProgressBar;
@@ -8854,7 +8597,6 @@ exports.SearchField = SearchField;
8854
8597
  exports.Sheet = Sheet;
8855
8598
  exports.Slider = Slider;
8856
8599
  exports.Stack = Stack;
8857
- exports.StatusBadge = StatusBadge;
8858
8600
  exports.StatusLabel = StatusLabel;
8859
8601
  exports.StyledInputBase = StyledInputBase;
8860
8602
  exports.StyledTextAreaBase = StyledTextAreaBase;