@common-origin/design-system 2.19.0 → 2.21.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 (302) hide show
  1. package/dist/client.js +1012 -512
  2. package/dist/client.js.map +1 -1
  3. package/dist/components/atoms/AILabel/AILabel.d.mts +30 -0
  4. package/dist/components/atoms/AILabel/AILabel.d.ts +30 -0
  5. package/dist/components/atoms/AILabel/AILabel.mjs +94 -0
  6. package/dist/components/atoms/AILabel/AILabel.mjs.map +1 -0
  7. package/dist/components/atoms/AILabel/index.d.mts +1 -0
  8. package/dist/components/atoms/AILabel/index.d.ts +1 -0
  9. package/dist/components/atoms/Avatar/Avatar.d.mts +8 -0
  10. package/dist/components/atoms/Avatar/Avatar.mjs +103 -0
  11. package/dist/components/atoms/Avatar/Avatar.mjs.map +1 -0
  12. package/dist/components/atoms/Avatar/index.d.mts +1 -0
  13. package/dist/components/atoms/Badge/Badge.d.mts +25 -0
  14. package/dist/components/atoms/Badge/Badge.mjs +98 -0
  15. package/dist/components/atoms/Badge/Badge.mjs.map +1 -0
  16. package/dist/components/atoms/Badge/index.d.mts +2 -0
  17. package/dist/components/atoms/Box/Box.d.mts +62 -0
  18. package/dist/components/atoms/Box/Box.mjs +246 -0
  19. package/dist/components/atoms/Box/Box.mjs.map +1 -0
  20. package/dist/components/atoms/Box/index.d.mts +1 -0
  21. package/dist/components/atoms/Button/Button.d.mts +40 -0
  22. package/dist/components/atoms/Button/Button.mjs +208 -0
  23. package/dist/components/atoms/Button/Button.mjs.map +1 -0
  24. package/dist/components/atoms/Button/index.d.mts +1 -0
  25. package/dist/components/atoms/CategoryBadge/CategoryBadge.d.mts +29 -0
  26. package/dist/components/atoms/CategoryBadge/CategoryBadge.mjs +29 -0
  27. package/dist/components/atoms/CategoryBadge/CategoryBadge.mjs.map +1 -0
  28. package/dist/components/atoms/CategoryBadge/index.d.mts +2 -0
  29. package/dist/components/atoms/CategoryLabel/CategoryLabel.d.mts +69 -0
  30. package/dist/components/atoms/CategoryLabel/CategoryLabel.mjs +151 -0
  31. package/dist/components/atoms/CategoryLabel/CategoryLabel.mjs.map +1 -0
  32. package/dist/components/atoms/CategoryLabel/index.d.mts +2 -0
  33. package/dist/components/atoms/Chip/BooleanChip.d.mts +28 -0
  34. package/dist/components/atoms/Chip/BooleanChip.mjs +76 -0
  35. package/dist/components/atoms/Chip/BooleanChip.mjs.map +1 -0
  36. package/dist/components/atoms/Chip/Chip.d.mts +37 -0
  37. package/dist/components/atoms/Chip/Chip.mjs +76 -0
  38. package/dist/components/atoms/Chip/Chip.mjs.map +1 -0
  39. package/dist/components/atoms/Chip/FilterChip.d.mts +13 -0
  40. package/dist/components/atoms/Chip/FilterChip.mjs +14 -0
  41. package/dist/components/atoms/Chip/FilterChip.mjs.map +1 -0
  42. package/dist/components/atoms/Chip/InputChip.d.mts +27 -0
  43. package/dist/components/atoms/Chip/InputChip.mjs +97 -0
  44. package/dist/components/atoms/Chip/InputChip.mjs.map +1 -0
  45. package/dist/components/atoms/Chip/SuggestionChip.d.mts +24 -0
  46. package/dist/components/atoms/Chip/SuggestionChip.d.ts +24 -0
  47. package/dist/components/atoms/Chip/SuggestionChip.mjs +61 -0
  48. package/dist/components/atoms/Chip/SuggestionChip.mjs.map +1 -0
  49. package/dist/components/atoms/Chip/index.d.mts +5 -0
  50. package/dist/components/atoms/Chip/index.d.ts +1 -0
  51. package/dist/components/atoms/Chip/shared/ChipBase.d.mts +12 -0
  52. package/dist/components/atoms/Chip/shared/ChipBase.mjs +45 -0
  53. package/dist/components/atoms/Chip/shared/ChipBase.mjs.map +1 -0
  54. package/dist/components/atoms/Chip/shared/types.d.mts +34 -0
  55. package/dist/components/atoms/Chip/shared/utils.d.mts +10 -0
  56. package/dist/components/atoms/Chip/shared/utils.mjs +46 -0
  57. package/dist/components/atoms/Chip/shared/utils.mjs.map +1 -0
  58. package/dist/components/atoms/Container/Container.d.mts +6 -0
  59. package/dist/components/atoms/Container/Container.mjs +24 -0
  60. package/dist/components/atoms/Container/Container.mjs.map +1 -0
  61. package/dist/components/atoms/Container/index.d.mts +1 -0
  62. package/dist/components/atoms/DateFormatter/DateFormatter.d.mts +23 -0
  63. package/dist/components/atoms/DateFormatter/DateFormatter.mjs +64 -0
  64. package/dist/components/atoms/DateFormatter/DateFormatter.mjs.map +1 -0
  65. package/dist/components/atoms/DateFormatter/index.d.mts +1 -0
  66. package/dist/components/atoms/Divider/Divider.d.mts +30 -0
  67. package/dist/components/atoms/Divider/Divider.mjs +134 -0
  68. package/dist/components/atoms/Divider/Divider.mjs.map +1 -0
  69. package/dist/components/atoms/Divider/index.d.mts +1 -0
  70. package/dist/components/atoms/Icon/Icon.d.mts +22 -0
  71. package/dist/components/atoms/Icon/Icon.mjs +95 -0
  72. package/dist/components/atoms/Icon/Icon.mjs.map +1 -0
  73. package/dist/components/atoms/Icon/index.d.mts +1 -0
  74. package/dist/components/atoms/IconButton/IconButton.d.mts +14 -0
  75. package/dist/components/atoms/IconButton/IconButton.mjs +150 -0
  76. package/dist/components/atoms/IconButton/IconButton.mjs.map +1 -0
  77. package/dist/components/atoms/IconButton/index.d.mts +1 -0
  78. package/dist/components/atoms/MoneyDisplay/MoneyDisplay.d.mts +26 -0
  79. package/dist/components/atoms/MoneyDisplay/MoneyDisplay.mjs +126 -0
  80. package/dist/components/atoms/MoneyDisplay/MoneyDisplay.mjs.map +1 -0
  81. package/dist/components/atoms/MoneyDisplay/index.d.mts +2 -0
  82. package/dist/components/atoms/Picture/Picture.d.mts +12 -0
  83. package/dist/components/atoms/Picture/Picture.mjs +65 -0
  84. package/dist/components/atoms/Picture/Picture.mjs.map +1 -0
  85. package/dist/components/atoms/Picture/index.d.mts +1 -0
  86. package/dist/components/atoms/ProgressBar/ProgressBar.d.mts +21 -0
  87. package/dist/components/atoms/ProgressBar/ProgressBar.mjs +91 -0
  88. package/dist/components/atoms/ProgressBar/ProgressBar.mjs.map +1 -0
  89. package/dist/components/atoms/ProgressBar/index.d.mts +2 -0
  90. package/dist/components/atoms/Stack/Stack.d.mts +16 -0
  91. package/dist/components/atoms/Stack/Stack.mjs +71 -0
  92. package/dist/components/atoms/Stack/Stack.mjs.map +1 -0
  93. package/dist/components/atoms/Stack/index.d.mts +1 -0
  94. package/dist/components/atoms/StatusBadge/StatusBadge.d.mts +23 -0
  95. package/dist/components/atoms/StatusBadge/StatusBadge.mjs +18 -0
  96. package/dist/components/atoms/StatusBadge/StatusBadge.mjs.map +1 -0
  97. package/dist/components/atoms/StatusBadge/index.d.mts +2 -0
  98. package/dist/components/atoms/StatusLabel/StatusLabel.d.mts +17 -0
  99. package/dist/components/atoms/StatusLabel/StatusLabel.mjs +28 -0
  100. package/dist/components/atoms/StatusLabel/StatusLabel.mjs.map +1 -0
  101. package/dist/components/atoms/StatusLabel/StatusLabelBase.d.mts +49 -0
  102. package/dist/components/atoms/StatusLabel/StatusLabelBase.mjs +161 -0
  103. package/dist/components/atoms/StatusLabel/StatusLabelBase.mjs.map +1 -0
  104. package/dist/components/atoms/StatusLabel/index.d.mts +2 -0
  105. package/dist/components/atoms/Tag/Tag.d.mts +36 -0
  106. package/dist/components/atoms/Tag/Tag.mjs +115 -0
  107. package/dist/components/atoms/Tag/Tag.mjs.map +1 -0
  108. package/dist/components/atoms/Tag/index.d.mts +2 -0
  109. package/dist/components/atoms/Typography/Typography.d.mts +34 -0
  110. package/dist/components/atoms/Typography/Typography.mjs +139 -0
  111. package/dist/components/atoms/Typography/Typography.mjs.map +1 -0
  112. package/dist/components/atoms/Typography/index.d.mts +1 -0
  113. package/dist/components/atoms/index.d.mts +21 -0
  114. package/dist/components/atoms/index.d.ts +1 -0
  115. package/dist/components/index.d.mts +4 -0
  116. package/dist/components/layout/GridSystem/GridSystem.d.mts +58 -0
  117. package/dist/components/layout/GridSystem/GridSystem.mjs +221 -0
  118. package/dist/components/layout/GridSystem/GridSystem.mjs.map +1 -0
  119. package/dist/components/layout/GridSystem/index.d.mts +1 -0
  120. package/dist/components/layout/index.d.mts +1 -0
  121. package/dist/components/molecules/AccountCard/AccountCard.d.mts +44 -0
  122. package/dist/components/molecules/AccountCard/AccountCard.mjs +191 -0
  123. package/dist/components/molecules/AccountCard/AccountCard.mjs.map +1 -0
  124. package/dist/components/molecules/AccountCard/index.d.mts +2 -0
  125. package/dist/components/molecules/ActionSheet/ActionSheet.d.mts +111 -0
  126. package/dist/components/molecules/ActionSheet/ActionSheet.mjs +283 -0
  127. package/dist/components/molecules/ActionSheet/ActionSheet.mjs.map +1 -0
  128. package/dist/components/molecules/ActionSheet/index.d.mts +2 -0
  129. package/dist/components/molecules/AgentInput/AgentInput.d.mts +92 -0
  130. package/dist/components/molecules/AgentInput/AgentInput.d.ts +63 -1
  131. package/dist/components/molecules/AgentInput/AgentInput.mjs +1099 -0
  132. package/dist/components/molecules/AgentInput/AgentInput.mjs.map +1 -0
  133. package/dist/components/molecules/AgentInput/agentInputSpeech.d.mts +45 -0
  134. package/dist/components/molecules/AgentInput/agentInputSpeech.d.ts +2 -0
  135. package/dist/components/molecules/AgentInput/agentInputSpeech.mjs +53 -0
  136. package/dist/components/molecules/AgentInput/agentInputSpeech.mjs.map +1 -0
  137. package/dist/components/molecules/AgentInput/agentInputStateMachine.d.mts +29 -0
  138. package/dist/components/molecules/AgentInput/agentInputStateMachine.mjs +55 -0
  139. package/dist/components/molecules/AgentInput/agentInputStateMachine.mjs.map +1 -0
  140. package/dist/components/molecules/AgentInput/index.d.mts +3 -0
  141. package/dist/components/molecules/AgentInput/index.d.ts +1 -1
  142. package/dist/components/molecules/Alert/Alert.d.mts +68 -0
  143. package/dist/components/molecules/Alert/Alert.mjs +284 -0
  144. package/dist/components/molecules/Alert/Alert.mjs.map +1 -0
  145. package/dist/components/molecules/Alert/index.d.mts +1 -0
  146. package/dist/components/molecules/Breadcrumbs/Breadcrumbs.d.mts +16 -0
  147. package/dist/components/molecules/Breadcrumbs/Breadcrumbs.mjs +74 -0
  148. package/dist/components/molecules/Breadcrumbs/Breadcrumbs.mjs.map +1 -0
  149. package/dist/components/molecules/Breadcrumbs/index.d.mts +1 -0
  150. package/dist/components/molecules/CardLarge/CardLarge.d.mts +12 -0
  151. package/dist/components/molecules/CardLarge/CardLarge.mjs +76 -0
  152. package/dist/components/molecules/CardLarge/CardLarge.mjs.map +1 -0
  153. package/dist/components/molecules/CardLarge/index.d.mts +1 -0
  154. package/dist/components/molecules/CardSmall/CardSmall.d.mts +16 -0
  155. package/dist/components/molecules/CardSmall/CardSmall.mjs +73 -0
  156. package/dist/components/molecules/CardSmall/CardSmall.mjs.map +1 -0
  157. package/dist/components/molecules/CardSmall/index.d.mts +1 -0
  158. package/dist/components/molecules/Checkbox/Checkbox.d.mts +64 -0
  159. package/dist/components/molecules/Checkbox/Checkbox.mjs +139 -0
  160. package/dist/components/molecules/Checkbox/Checkbox.mjs.map +1 -0
  161. package/dist/components/molecules/Checkbox/SelectableInputBase.d.mts +40 -0
  162. package/dist/components/molecules/Checkbox/SelectableInputBase.mjs +99 -0
  163. package/dist/components/molecules/Checkbox/SelectableInputBase.mjs.map +1 -0
  164. package/dist/components/molecules/Checkbox/index.d.mts +3 -0
  165. package/dist/components/molecules/ChipGroup/ChipGroup.d.mts +7 -0
  166. package/dist/components/molecules/ChipGroup/ChipGroup.mjs +56 -0
  167. package/dist/components/molecules/ChipGroup/ChipGroup.mjs.map +1 -0
  168. package/dist/components/molecules/ChipGroup/index.d.mts +1 -0
  169. package/dist/components/molecules/CodeBlock/CodeBlock.d.mts +46 -0
  170. package/dist/components/molecules/CodeBlock/CodeBlock.mjs +231 -0
  171. package/dist/components/molecules/CodeBlock/CodeBlock.mjs.map +1 -0
  172. package/dist/components/molecules/CodeBlock/index.d.mts +1 -0
  173. package/dist/components/molecules/DateGroup/DateGroup.d.mts +37 -0
  174. package/dist/components/molecules/DateGroup/DateGroup.mjs +104 -0
  175. package/dist/components/molecules/DateGroup/DateGroup.mjs.map +1 -0
  176. package/dist/components/molecules/DateGroup/index.d.mts +2 -0
  177. package/dist/components/molecules/Dropdown/Dropdown.d.mts +27 -0
  178. package/dist/components/molecules/Dropdown/Dropdown.mjs +282 -0
  179. package/dist/components/molecules/Dropdown/Dropdown.mjs.map +1 -0
  180. package/dist/components/molecules/Dropdown/index.d.mts +1 -0
  181. package/dist/components/molecules/EmptyState/EmptyState.d.mts +32 -0
  182. package/dist/components/molecules/EmptyState/EmptyState.mjs +133 -0
  183. package/dist/components/molecules/EmptyState/EmptyState.mjs.map +1 -0
  184. package/dist/components/molecules/EmptyState/index.d.mts +2 -0
  185. package/dist/components/molecules/FeatureBlock/FeatureBlock.d.mts +14 -0
  186. package/dist/components/molecules/FeatureBlock/FeatureBlock.mjs +100 -0
  187. package/dist/components/molecules/FeatureBlock/FeatureBlock.mjs.map +1 -0
  188. package/dist/components/molecules/FeatureBlock/index.d.mts +1 -0
  189. package/dist/components/molecules/InlineAlert/InlineAlert.d.mts +54 -0
  190. package/dist/components/molecules/InlineAlert/InlineAlert.mjs +140 -0
  191. package/dist/components/molecules/InlineAlert/InlineAlert.mjs.map +1 -0
  192. package/dist/components/molecules/InlineAlert/index.d.mts +2 -0
  193. package/dist/components/molecules/List/List.d.mts +30 -0
  194. package/dist/components/molecules/List/List.mjs +45 -0
  195. package/dist/components/molecules/List/List.mjs.map +1 -0
  196. package/dist/components/molecules/List/ListContext.d.mts +6 -0
  197. package/dist/components/molecules/List/ListContext.mjs +11 -0
  198. package/dist/components/molecules/List/ListContext.mjs.map +1 -0
  199. package/dist/components/molecules/List/ListItem.d.mts +101 -0
  200. package/dist/components/molecules/List/ListItem.mjs +224 -0
  201. package/dist/components/molecules/List/ListItem.mjs.map +1 -0
  202. package/dist/components/molecules/List/index.d.mts +4 -0
  203. package/dist/components/molecules/Modal/Modal.d.mts +69 -0
  204. package/dist/components/molecules/Modal/Modal.mjs +259 -0
  205. package/dist/components/molecules/Modal/Modal.mjs.map +1 -0
  206. package/dist/components/molecules/Modal/index.d.mts +2 -0
  207. package/dist/components/molecules/NumberInput/NumberInput.d.mts +86 -0
  208. package/dist/components/molecules/NumberInput/NumberInput.mjs +268 -0
  209. package/dist/components/molecules/NumberInput/NumberInput.mjs.map +1 -0
  210. package/dist/components/molecules/NumberInput/index.d.mts +2 -0
  211. package/dist/components/molecules/PageTitle/PageTitle.d.mts +21 -0
  212. package/dist/components/molecules/PageTitle/PageTitle.mjs +77 -0
  213. package/dist/components/molecules/PageTitle/PageTitle.mjs.map +1 -0
  214. package/dist/components/molecules/PageTitle/index.d.mts +1 -0
  215. package/dist/components/molecules/PasswordField/PasswordField.d.mts +55 -0
  216. package/dist/components/molecules/PasswordField/PasswordField.mjs +146 -0
  217. package/dist/components/molecules/PasswordField/PasswordField.mjs.map +1 -0
  218. package/dist/components/molecules/PasswordField/index.d.mts +2 -0
  219. package/dist/components/molecules/SearchField/SearchField.d.mts +108 -0
  220. package/dist/components/molecules/SearchField/SearchField.mjs +340 -0
  221. package/dist/components/molecules/SearchField/SearchField.mjs.map +1 -0
  222. package/dist/components/molecules/SearchField/index.d.mts +2 -0
  223. package/dist/components/molecules/Sheet/Sheet.d.mts +96 -0
  224. package/dist/components/molecules/Sheet/Sheet.mjs +243 -0
  225. package/dist/components/molecules/Sheet/Sheet.mjs.map +1 -0
  226. package/dist/components/molecules/Sheet/index.d.mts +2 -0
  227. package/dist/components/molecules/Slider/Slider.d.mts +102 -0
  228. package/dist/components/molecules/Slider/Slider.mjs +462 -0
  229. package/dist/components/molecules/Slider/Slider.mjs.map +1 -0
  230. package/dist/components/molecules/Slider/index.d.mts +2 -0
  231. package/dist/components/molecules/TabBar/TabBar.d.mts +82 -0
  232. package/dist/components/molecules/TabBar/TabBar.mjs +213 -0
  233. package/dist/components/molecules/TabBar/TabBar.mjs.map +1 -0
  234. package/dist/components/molecules/TabBar/index.d.mts +2 -0
  235. package/dist/components/molecules/TextField/InputBase.d.mts +22 -0
  236. package/dist/components/molecules/TextField/InputBase.mjs +56 -0
  237. package/dist/components/molecules/TextField/InputBase.mjs.map +1 -0
  238. package/dist/components/molecules/TextField/TextField.d.mts +56 -0
  239. package/dist/components/molecules/TextField/TextField.mjs +115 -0
  240. package/dist/components/molecules/TextField/TextField.mjs.map +1 -0
  241. package/dist/components/molecules/TextField/index.d.mts +4 -0
  242. package/dist/components/molecules/TransactionListItem/TransactionListItem.d.mts +39 -0
  243. package/dist/components/molecules/TransactionListItem/TransactionListItem.mjs +224 -0
  244. package/dist/components/molecules/TransactionListItem/TransactionListItem.mjs.map +1 -0
  245. package/dist/components/molecules/TransactionListItem/index.d.mts +2 -0
  246. package/dist/components/molecules/index.d.mts +26 -0
  247. package/dist/data.js +316 -3
  248. package/dist/data.js.map +1 -1
  249. package/dist/index.d.mts +3 -0
  250. package/dist/index.js +2 -0
  251. package/dist/index.js.map +1 -1
  252. package/dist/index.mjs +57 -0
  253. package/dist/index.mjs.map +1 -0
  254. package/dist/lib/cssTokens.d.mts +14 -0
  255. package/dist/lib/cssTokens.mjs +19 -0
  256. package/dist/lib/cssTokens.mjs.map +1 -0
  257. package/dist/lib/cssVariables.d.mts +15 -0
  258. package/dist/lib/cssVariables.mjs +37 -0
  259. package/dist/lib/cssVariables.mjs.map +1 -0
  260. package/dist/lib/styleUtils.d.mts +42 -0
  261. package/dist/lib/styleUtils.mjs +160 -0
  262. package/dist/lib/styleUtils.mjs.map +1 -0
  263. package/dist/lib/tokenAliases.d.mts +13 -0
  264. package/dist/lib/tokenAliases.mjs +122 -0
  265. package/dist/lib/tokenAliases.mjs.map +1 -0
  266. package/dist/lib/usePresence.d.mts +16 -0
  267. package/dist/lib/usePresence.mjs +50 -0
  268. package/dist/lib/usePresence.mjs.map +1 -0
  269. package/dist/styles/icons.json +30 -1
  270. package/dist/{data.esm.js → styles/icons.json.mjs} +33 -1466
  271. package/dist/styles/icons.json.mjs.map +1 -0
  272. package/dist/styles/tokens.d.mts +3718 -0
  273. package/dist/styles/tokens.d.ts +545 -1
  274. package/dist/styles/tokens.json +284 -2
  275. package/dist/styles/tokens.json.mjs +1736 -0
  276. package/dist/{tokens/index.esm.js.map → styles/tokens.json.mjs.map} +1 -1
  277. package/dist/tokens/index.js +284 -2
  278. package/dist/tokens/index.js.map +1 -1
  279. package/dist/tokens/{index.esm.js → index.mjs} +285 -3
  280. package/dist/tokens/index.mjs.map +1 -0
  281. package/dist/tokens/styles/tokens.d.mts +3718 -0
  282. package/dist/tokens/styles/tokens.d.ts +545 -1
  283. package/dist/tokens/tokens.d.mts +4 -0
  284. package/dist/tokens/types/tokens.d.mts +6 -0
  285. package/dist/tokens.css +242 -0
  286. package/dist/tokens.css.d.mts +4 -0
  287. package/dist/types/icons.d.mts +25 -0
  288. package/dist/types/icons.d.ts +1 -1
  289. package/dist/types/icons.mjs +10 -0
  290. package/dist/types/icons.mjs.map +1 -0
  291. package/dist/types/index.d.mts +1 -0
  292. package/dist/types/tokens.d.mts +6 -0
  293. package/dist/types/tokens.mjs +10 -0
  294. package/dist/types/tokens.mjs.map +1 -0
  295. package/dist/vendor/tslib/tslib.es6.mjs +99 -0
  296. package/dist/vendor/tslib/tslib.es6.mjs.map +1 -0
  297. package/package.json +26 -12
  298. package/dist/client.esm.js +0 -8289
  299. package/dist/client.esm.js.map +0 -1
  300. package/dist/data.esm.js.map +0 -1
  301. package/dist/index.esm.js +0 -8
  302. package/dist/index.esm.js.map +0 -1
package/dist/client.js CHANGED
@@ -156,32 +156,32 @@ function withCssVariables(tree, path) {
156
156
  var tokens = withCssVariables(data.tokensJson);
157
157
 
158
158
  // Destructure tokens
159
- var semantic$l = tokens.semantic;
159
+ var semantic$n = tokens.semantic;
160
160
  var initials = tokens.component.avatar.initials;
161
- var color$b = semantic$l.color,
162
- size$3 = semantic$l.size;
163
- var radius$6 = semantic$l.radius;
164
- var AvatarContainer = styled__default.default.div.withConfig({
161
+ var color$d = semantic$n.color,
162
+ size$4 = semantic$n.size;
163
+ var radius$6 = semantic$n.radius;
164
+ var AvatarContainer = /*#__PURE__*/styled__default.default.div.withConfig({
165
165
  shouldForwardProp: function shouldForwardProp(prop) {
166
166
  return !prop.startsWith('$');
167
167
  },
168
168
  displayName: "Avatar__AvatarContainer",
169
169
  componentId: "sc-ezn4ax-0"
170
- })(templateObject_1$M || (templateObject_1$M = __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
- return size$3.avatar[$size];
172
+ return size$4.avatar[$size];
173
173
  }, function (_a) {
174
174
  var $size = _a.$size;
175
- return size$3.avatar[$size];
176
- }, radius$6.full, color$b.fill.muted);
177
- var AvatarImage = styled__default.default.img.withConfig({
175
+ return size$4.avatar[$size];
176
+ }, radius$6.full, color$d.fill.muted);
177
+ var AvatarImage = /*#__PURE__*/styled__default.default.img.withConfig({
178
178
  shouldForwardProp: function shouldForwardProp(prop) {
179
179
  return !prop.startsWith('$');
180
180
  },
181
181
  displayName: "Avatar__AvatarImage",
182
182
  componentId: "sc-ezn4ax-1"
183
- })(templateObject_2$y || (templateObject_2$y = __makeTemplateObject(["\n width: 100%;\n height: 100%;\n object-fit: cover;\n border-radius: ", ";\n /* Remove the img role since the container already has role=\"img\" */\n"], ["\n width: 100%;\n height: 100%;\n object-fit: cover;\n border-radius: ", ";\n /* Remove the img role since the container already has role=\"img\" */\n"])), radius$6.full);
184
- var AvatarInitials = styled__default.default.span.withConfig({
183
+ })(templateObject_2$z || (templateObject_2$z = __makeTemplateObject(["\n width: 100%;\n height: 100%;\n object-fit: cover;\n border-radius: ", ";\n /* Remove the img role since the container already has role=\"img\" */\n"], ["\n width: 100%;\n height: 100%;\n object-fit: cover;\n border-radius: ", ";\n /* Remove the img role since the container already has role=\"img\" */\n"])), radius$6.full);
184
+ var AvatarInitials = /*#__PURE__*/styled__default.default.span.withConfig({
185
185
  shouldForwardProp: function shouldForwardProp(prop) {
186
186
  return !prop.startsWith('$');
187
187
  },
@@ -192,7 +192,7 @@ var AvatarInitials = styled__default.default.span.withConfig({
192
192
  ])), initials.fontFamily, initials.fontWeight, function (_a) {
193
193
  var $size = _a.$size;
194
194
  return initials.fontSize[$size];
195
- }, color$b.text["default"], initials.lineHeight);
195
+ }, color$d.text["default"], initials.lineHeight);
196
196
  // Helper function to get initials from name
197
197
  var getInitials = function getInitials(name) {
198
198
  return name.split(' ').map(function (word) {
@@ -246,7 +246,7 @@ var Avatar = function Avatar(_a) {
246
246
  })
247
247
  }));
248
248
  };
249
- var templateObject_1$M, templateObject_2$y, 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$L || (templateObject_1$L = __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
@@ -295,7 +295,7 @@ var fadeOut$1 = styled.keyframes(templateObject_1$L || (templateObject_1$L = __m
295
295
  // reduced-motion form, so it needs no fallback of its own. While it fades, the backdrop
296
296
  // still catches clicks (so they can't reach the page behind it) and the panel is inert.
297
297
  // Exits accelerate: things leaving speed up as they go (decision 0037).
298
- var exitAnimation = styled.css(templateObject_2$x || (templateObject_2$x = __makeTemplateObject([", ", " ", " ", " forwards"], [", ", " ", " ", " forwards"
298
+ var exitAnimation = styled.css(templateObject_2$y || (templateObject_2$y = __makeTemplateObject([", ", " ", " ", " forwards"], [", ", " ", " ", " forwards"
299
299
  // Content for screen readers only. The 1px size and -1px margin are part of the standard
300
300
  // visually-hidden technique, not design values, so they aren't tokens.
301
301
  ])), fadeOut$1, tokens.semantic.motion.duration.fast, tokens.semantic.motion.easing.accelerate);
@@ -399,44 +399,44 @@ 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$L, templateObject_2$x, templateObject_3$v;
402
+ var templateObject_1$N, templateObject_2$y, templateObject_3$v;
403
403
 
404
404
  var _a$a = tokens.semantic,
405
- typography$2 = _a$a.typography,
406
- color$a = _a$a.color,
405
+ typography$3 = _a$a.typography,
406
+ color$c = _a$a.color,
407
407
  letterSpacing = _a$a.letterSpacing;
408
408
  var getTypographyStyles = function getTypographyStyles(variant) {
409
409
  var styles = {
410
- display: "font: ".concat(typography$2.display, "; letter-spacing: ").concat(letterSpacing.tighter, ";"),
411
- h1: "font: ".concat(typography$2.h1, "; letter-spacing: ").concat(letterSpacing.tighter, ";"),
412
- h2: "font: ".concat(typography$2.h2, "; letter-spacing: ").concat(letterSpacing.tight, ";"),
413
- h3: "font: ".concat(typography$2.h3, "; letter-spacing: ").concat(letterSpacing.tight, ";"),
414
- h4: "font: ".concat(typography$2.h4, "; letter-spacing: ").concat(letterSpacing.tight, ";"),
415
- h5: "font: ".concat(typography$2.h5, "; letter-spacing: ").concat(letterSpacing.normal, ";"),
416
- h6: "font: ".concat(typography$2.h6, "; letter-spacing: ").concat(letterSpacing.normal, ";"),
417
- subtitle: "font: ".concat(typography$2.subtitle, ";"),
418
- body: "font: ".concat(typography$2.body, ";"),
419
- small: "font: ".concat(typography$2.small, ";"),
420
- overline: "font: ".concat(typography$2.overline, ";"),
421
- caption: "font: ".concat(typography$2.caption, "; text-transform: uppercase;"),
410
+ display: "font: ".concat(typography$3.display, "; letter-spacing: ").concat(letterSpacing.tighter, ";"),
411
+ h1: "font: ".concat(typography$3.h1, "; letter-spacing: ").concat(letterSpacing.tighter, ";"),
412
+ h2: "font: ".concat(typography$3.h2, "; letter-spacing: ").concat(letterSpacing.tight, ";"),
413
+ h3: "font: ".concat(typography$3.h3, "; letter-spacing: ").concat(letterSpacing.tight, ";"),
414
+ h4: "font: ".concat(typography$3.h4, "; letter-spacing: ").concat(letterSpacing.tight, ";"),
415
+ h5: "font: ".concat(typography$3.h5, "; letter-spacing: ").concat(letterSpacing.normal, ";"),
416
+ h6: "font: ".concat(typography$3.h6, "; letter-spacing: ").concat(letterSpacing.normal, ";"),
417
+ subtitle: "font: ".concat(typography$3.subtitle, ";"),
418
+ body: "font: ".concat(typography$3.body, ";"),
419
+ small: "font: ".concat(typography$3.small, ";"),
420
+ overline: "font: ".concat(typography$3.overline, ";"),
421
+ caption: "font: ".concat(typography$3.caption, "; text-transform: uppercase;"),
422
422
  button1: "font: ".concat(tokens.component.button.sizes.large.font, ";"),
423
423
  button2: "font: ".concat(tokens.component.button.sizes.medium.font, ";"),
424
424
  button3: "font: ".concat(tokens.component.button.sizes.small.font, ";"),
425
- label: "font: ".concat(typography$2.label, ";")
425
+ label: "font: ".concat(typography$3.label, ";")
426
426
  };
427
427
  return styles[variant] || styles.body;
428
428
  };
429
429
  var getTextColor = function getTextColor(colorVariant) {
430
430
  var colorMap = {
431
- "default": color$a.text["default"],
432
- emphasis: color$a.text.emphasis,
433
- subdued: color$a.text.muted,
434
- inverse: color$a.text.inverse,
435
- disabled: color$a.text.disabled,
436
- interactive: color$a.text.accent,
437
- error: color$a.text.danger,
438
- success: color$a.text.success,
439
- warning: color$a.text.warning
431
+ "default": color$c.text["default"],
432
+ emphasis: color$c.text.emphasis,
433
+ subdued: color$c.text.muted,
434
+ inverse: color$c.text.inverse,
435
+ disabled: color$c.text.disabled,
436
+ interactive: color$c.text.accent,
437
+ error: color$c.text.danger,
438
+ success: color$c.text.success,
439
+ warning: color$c.text.warning
440
440
  };
441
441
  return colorMap[colorVariant] || colorMap["default"];
442
442
  };
@@ -461,13 +461,13 @@ var getDefaultElement = function getDefaultElement(variant) {
461
461
  };
462
462
  return elementMap[variant] || 'span';
463
463
  };
464
- var StyledTypography = styled__default.default.span.withConfig({
464
+ var StyledTypography = /*#__PURE__*/styled__default.default.span.withConfig({
465
465
  shouldForwardProp: function shouldForwardProp(prop) {
466
466
  return !prop.startsWith('$');
467
467
  },
468
468
  displayName: "Typography__StyledTypography",
469
469
  componentId: "sc-17mqo4k-0"
470
- })(templateObject_1$K || (templateObject_1$K = __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,21 +529,21 @@ var Typography = function Typography(_a) {
529
529
  children: children
530
530
  });
531
531
  };
532
- var templateObject_1$K;
532
+ var templateObject_1$M;
533
533
 
534
- var semantic$k = tokens.semantic;
535
- var color$9 = semantic$k.color;
536
- var radius$5 = semantic$k.radius;
534
+ var semantic$m = tokens.semantic;
535
+ var color$b = semantic$m.color;
536
+ var radius$5 = semantic$m.radius;
537
537
  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$J || (templateObject_1$J = __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
- var BadgeWrapper = styled__default.default.span.withConfig({
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
+ var BadgeWrapper = /*#__PURE__*/styled__default.default.span.withConfig({
543
543
  displayName: "Badge__BadgeWrapper",
544
544
  componentId: "sc-tjz4pp-0"
545
- })(templateObject_2$w || (templateObject_2$w = __makeTemplateObject(["\n position: relative;\n display: inline-flex;\n vertical-align: middle;\n flex-shrink: 0;\n"], ["\n position: relative;\n display: inline-flex;\n vertical-align: middle;\n flex-shrink: 0;\n"])));
546
- var BadgeIndicator = styled__default.default.span.withConfig({
545
+ })(templateObject_2$x || (templateObject_2$x = __makeTemplateObject(["\n position: relative;\n display: inline-flex;\n vertical-align: middle;\n flex-shrink: 0;\n"], ["\n position: relative;\n display: inline-flex;\n vertical-align: middle;\n flex-shrink: 0;\n"])));
546
+ var BadgeIndicator = /*#__PURE__*/styled__default.default.span.withConfig({
547
547
  shouldForwardProp: function shouldForwardProp(prop) {
548
548
  return !prop.startsWith('$');
549
549
  },
@@ -556,26 +556,26 @@ var BadgeIndicator = styled__default.default.span.withConfig({
556
556
  }, function (props) {
557
557
  return props.$isDot ? dot.size : count.height;
558
558
  }, function (props) {
559
- return props.$isDot ? '0' : "0 ".concat(semantic$k.space.inset.xs);
560
- }, radius$5.full, count.lineHeight, ring.width, semantic$k.surface.base, scaleIn$2, semantic$k.motion.duration.moderate, semantic$k.motion.easing.decelerate, reducedMotion, function (props) {
561
- return props.$isDot ? "".concat(forcedColors, " { forced-color-adjust: none; background-color: CanvasText; }") : "".concat(forcedColors, " { border: ").concat(semantic$k.border.width.thin, " solid currentColor; }");
559
+ return props.$isDot ? '0' : "0 ".concat(semantic$m.space.inset.xs);
560
+ }, radius$5.full, count.lineHeight, ring.width, semantic$m.surface.base, scaleIn$2, semantic$m.motion.duration.moderate, semantic$m.motion.easing.decelerate, reducedMotion, function (props) {
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
564
  case 'accent':
565
565
  case 'primary':
566
566
  // Deprecated alias for 'accent', removed in 3.0 (#169)
567
- return "\n background-color: ".concat(color$9.fill.accent, ";\n color: ").concat(color$9.text.inverse, ";\n ");
567
+ return "\n background-color: ".concat(color$b.fill.accent, ";\n color: ").concat(color$b.text.inverse, ";\n ");
568
568
  case 'error':
569
- return "\n background-color: ".concat(color$9.fill.danger, ";\n color: ").concat(color$9.text.inverse, ";\n ");
569
+ return "\n background-color: ".concat(color$b.fill.danger, ";\n color: ").concat(color$b.text.inverse, ";\n ");
570
570
  case 'warning':
571
- return "\n background-color: ".concat(color$9.fill.warning, ";\n color: ").concat(color$9.text.inverse, ";\n ");
571
+ return "\n background-color: ".concat(color$b.fill.warning, ";\n color: ").concat(color$b.text.inverse, ";\n ");
572
572
  case 'success':
573
- return "\n background-color: ".concat(color$9.fill.success, ";\n color: ").concat(color$9.text.inverse, ";\n ");
573
+ return "\n background-color: ".concat(color$b.fill.success, ";\n color: ").concat(color$b.text.inverse, ";\n ");
574
574
  default:
575
- return "\n background-color: ".concat(color$9.fill.emphasis, ";\n color: ").concat(color$9.text.inverse, ";\n ");
575
+ return "\n background-color: ".concat(color$b.fill.emphasis, ";\n color: ").concat(color$b.text.inverse, ";\n ");
576
576
  }
577
577
  });
578
- var ScreenReaderOnly$1 = styled__default.default.span.withConfig({
578
+ var ScreenReaderOnly$1 = /*#__PURE__*/styled__default.default.span.withConfig({
579
579
  displayName: "Badge__ScreenReaderOnly",
580
580
  componentId: "sc-tjz4pp-2"
581
581
  })(templateObject_4$n || (templateObject_4$n = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), visuallyHidden);
@@ -616,16 +616,16 @@ var Badge = function Badge(_a) {
616
616
  })]
617
617
  });
618
618
  };
619
- var templateObject_1$J, templateObject_2$w, templateObject_3$u, templateObject_4$n;
619
+ var templateObject_1$L, templateObject_2$x, templateObject_3$u, templateObject_4$n;
620
620
 
621
621
  // Props whose values are token keys keep their published vocabulary in 2.x (P7), but read the
622
622
  // semantic grammar's names (decision 0031, #189). Each map covers every key the prop type allows,
623
623
  // so TypeScript fails here if a key is added without a mapping.
624
- var semantic$j = tokens.semantic;
625
- var color$8 = semantic$j.color,
626
- space$e = semantic$j.space,
627
- radius$4 = semantic$j.radius,
628
- surface = semantic$j.surface;
624
+ var semantic$l = tokens.semantic;
625
+ var color$a = semantic$l.color,
626
+ space$e = semantic$l.space,
627
+ radius$4 = semantic$l.radius,
628
+ surface = semantic$l.surface;
629
629
  /** Box's spacing props (`p`, `m`, `gap`…): the old layout scale's keys, read from `space`. */
630
630
  var spaceByLayoutKey = {
631
631
  none: space$e[0],
@@ -645,7 +645,7 @@ var spaceByLayoutKey = {
645
645
  '10xl': space$e[2000],
646
646
  '11xl': space$e[2400],
647
647
  // A keyword, not a step: it stays until the keyword question is settled (0031)
648
- auto: semantic$j.spacing.layout.auto
648
+ auto: semantic$l.spacing.layout.auto
649
649
  };
650
650
  /** Box's `borderRadius` prop: the old radius keys, read from `radius`. */
651
651
  var radiusByKey = {
@@ -665,76 +665,77 @@ var backgroundByKey = {
665
665
  page: surface.base,
666
666
  subtle: surface.raised,
667
667
  overlay: surface.scrim,
668
- emphasis: color$8.fill.emphasis,
669
- 'emphasis-hover': color$8.fill['emphasis-hover'],
670
- 'emphasis-active': color$8.fill['emphasis-pressed'],
671
- surface: color$8.fill.muted,
672
- inverse: color$8.fill.inverse,
673
- interactive: color$8.fill.accent,
674
- 'interactive-hover': color$8.fill['accent-hover'],
675
- 'interactive-active': color$8.fill['accent-pressed'],
676
- 'interactive-subtle': color$8.fill['accent-muted'],
677
- 'interactive-subtle-hover': color$8.fill['accent-muted-hover'],
678
- 'interactive-subtle-active': color$8.fill['accent-muted-pressed'],
679
- error: color$8.fill.danger,
680
- 'error-hover': color$8.fill['danger-hover'],
681
- 'error-active': color$8.fill['danger-pressed'],
682
- 'error-subtle': color$8.fill['danger-muted'],
683
- success: color$8.fill.success,
684
- 'success-subtle': color$8.fill['success-muted'],
685
- warning: color$8.fill.warning,
686
- 'warning-subtle': color$8.fill['warning-muted'],
687
- disabled: color$8.fill.disabled,
688
- neutral: color$8.fill["default"],
689
- 'neutral-hover': color$8.fill['default-hover'],
690
- 'neutral-active': color$8.fill['default-pressed'],
691
- transparent: color$8.fill.none,
692
- 'hover-overlay': color$8.fill['none-hover'],
693
- 'active-overlay': color$8.fill['none-pressed'],
694
- 'inverse-overlay': color$8.fill['inverse-none-hover'],
668
+ emphasis: color$a.fill.emphasis,
669
+ 'emphasis-hover': color$a.fill['emphasis-hover'],
670
+ 'emphasis-active': color$a.fill['emphasis-pressed'],
671
+ surface: color$a.fill.muted,
672
+ inverse: color$a.fill.inverse,
673
+ interactive: color$a.fill.accent,
674
+ 'interactive-hover': color$a.fill['accent-hover'],
675
+ 'interactive-active': color$a.fill['accent-pressed'],
676
+ 'interactive-subtle': color$a.fill['accent-muted'],
677
+ 'interactive-subtle-hover': color$a.fill['accent-muted-hover'],
678
+ 'interactive-subtle-active': color$a.fill['accent-muted-pressed'],
679
+ error: color$a.fill.danger,
680
+ 'error-hover': color$a.fill['danger-hover'],
681
+ 'error-active': color$a.fill['danger-pressed'],
682
+ 'error-subtle': color$a.fill['danger-muted'],
683
+ success: color$a.fill.success,
684
+ 'success-subtle': color$a.fill['success-muted'],
685
+ warning: color$a.fill.warning,
686
+ 'warning-subtle': color$a.fill['warning-muted'],
687
+ disabled: color$a.fill.disabled,
688
+ neutral: color$a.fill["default"],
689
+ 'neutral-hover': color$a.fill['default-hover'],
690
+ 'neutral-active': color$a.fill['default-pressed'],
691
+ transparent: color$a.fill.none,
692
+ 'hover-overlay': color$a.fill['none-hover'],
693
+ 'active-overlay': color$a.fill['none-pressed'],
694
+ 'inverse-overlay': color$a.fill['inverse-none-hover'],
695
695
  // Moved to the component tier (decision 0031 §6)
696
696
  progressTrack: tokens.component.track.background
697
697
  };
698
698
  /** Box's `color` prop: text colours, old and new keys. */
699
699
  var textColorByKey = {
700
- "default": color$8.text["default"],
701
- emphasis: color$8.text.emphasis,
702
- inverse: color$8.text.inverse,
703
- disabled: color$8.text.disabled,
704
- success: color$8.text.success,
705
- warning: color$8.text.warning,
706
- muted: color$8.text.muted,
707
- accent: color$8.text.accent,
708
- 'accent-hover': color$8.text['accent-hover'],
709
- 'accent-pressed': color$8.text['accent-pressed'],
710
- danger: color$8.text.danger,
711
- subdued: color$8.text.muted,
712
- interactive: color$8.text.accent,
713
- 'interactive-hover': color$8.text['accent-hover'],
714
- 'interactive-active': color$8.text['accent-pressed'],
715
- error: color$8.text.danger
700
+ "default": color$a.text["default"],
701
+ emphasis: color$a.text.emphasis,
702
+ inverse: color$a.text.inverse,
703
+ disabled: color$a.text.disabled,
704
+ success: color$a.text.success,
705
+ warning: color$a.text.warning,
706
+ muted: color$a.text.muted,
707
+ accent: color$a.text.accent,
708
+ 'accent-hover': color$a.text['accent-hover'],
709
+ 'accent-pressed': color$a.text['accent-pressed'],
710
+ danger: color$a.text.danger,
711
+ ai: color$a.text.ai,
712
+ subdued: color$a.text.muted,
713
+ interactive: color$a.text.accent,
714
+ 'interactive-hover': color$a.text['accent-hover'],
715
+ 'interactive-active': color$a.text['accent-pressed'],
716
+ error: color$a.text.danger
716
717
  };
717
718
  /** Box's border props: border colours, old and new keys. */
718
719
  var borderColorByKey = {
719
- "default": color$8.border["default"],
720
- success: color$8.border.success,
721
- warning: color$8.border.warning,
722
- none: color$8.border.none,
723
- emphasis: color$8.border.emphasis,
724
- input: color$8.border.input,
725
- 'input-hover': color$8.border['input-hover'],
726
- focus: color$8.border.focus,
727
- accent: color$8.border.accent,
728
- danger: color$8.border.danger,
729
- subtle: color$8.border.emphasis,
730
- control: color$8.border.input,
720
+ "default": color$a.border["default"],
721
+ success: color$a.border.success,
722
+ warning: color$a.border.warning,
723
+ none: color$a.border.none,
724
+ emphasis: color$a.border.emphasis,
725
+ input: color$a.border.input,
726
+ 'input-hover': color$a.border['input-hover'],
727
+ focus: color$a.border.focus,
728
+ accent: color$a.border.accent,
729
+ danger: color$a.border.danger,
730
+ subtle: color$a.border.emphasis,
731
+ control: color$a.border.input,
731
732
  // `strong` split by use (0031); as a generic firm outline it is the hovered-input border
732
- strong: color$8.border['input-hover'],
733
- interactive: color$8.border.accent,
734
- error: color$8.border.danger
733
+ strong: color$a.border['input-hover'],
734
+ interactive: color$a.border.accent,
735
+ error: color$a.border.danger
735
736
  };
736
737
 
737
- var StyledBox = styled__default.default.div.withConfig({
738
+ var StyledBox = /*#__PURE__*/styled__default.default.div.withConfig({
738
739
  shouldForwardProp: function shouldForwardProp(prop) {
739
740
  return !prop.startsWith('$');
740
741
  },
@@ -743,9 +744,9 @@ var StyledBox = styled__default.default.div.withConfig({
743
744
  })(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"
744
745
  // Transform component that maps clean props to $-prefixed props for styled-components
745
746
  ])), function (props) {
746
- return props.$display && styled.css(templateObject_1$I || (templateObject_1$I = __makeTemplateObject(["display: ", ";"], ["display: ", ";"])), props.$display);
747
+ return props.$display && styled.css(templateObject_1$K || (templateObject_1$K = __makeTemplateObject(["display: ", ";"], ["display: ", ";"])), props.$display);
747
748
  }, function (props) {
748
- return props.$flexDirection && styled.css(templateObject_2$v || (templateObject_2$v = __makeTemplateObject(["flex-direction: ", ";"], ["flex-direction: ", ";"])), props.$flexDirection);
749
+ return props.$flexDirection && styled.css(templateObject_2$w || (templateObject_2$w = __makeTemplateObject(["flex-direction: ", ";"], ["flex-direction: ", ";"])), props.$flexDirection);
749
750
  }, function (props) {
750
751
  return props.$justifyContent && styled.css(templateObject_3$t || (templateObject_3$t = __makeTemplateObject(["justify-content: ", ";"], ["justify-content: ", ";"])), props.$justifyContent);
751
752
  }, function (props) {
@@ -779,35 +780,35 @@ var StyledBox = styled__default.default.div.withConfig({
779
780
  }, function (props) {
780
781
  return props.$pl && styled.css(templateObject_18$2 || (templateObject_18$2 = __makeTemplateObject(["padding-left: ", ";"], ["padding-left: ", ";"])), spaceByLayoutKey[props.$pl]);
781
782
  }, function (props) {
782
- return props.$px && styled.css(templateObject_19$1 || (templateObject_19$1 = __makeTemplateObject(["\n padding-left: ", ";\n padding-right: ", ";\n "], ["\n padding-left: ", ";\n padding-right: ", ";\n "])), spaceByLayoutKey[props.$px], spaceByLayoutKey[props.$px]);
783
+ return props.$px && styled.css(templateObject_19$2 || (templateObject_19$2 = __makeTemplateObject(["\n padding-left: ", ";\n padding-right: ", ";\n "], ["\n padding-left: ", ";\n padding-right: ", ";\n "])), spaceByLayoutKey[props.$px], spaceByLayoutKey[props.$px]);
783
784
  }, function (props) {
784
- return props.$py && styled.css(templateObject_20$1 || (templateObject_20$1 = __makeTemplateObject(["\n padding-top: ", ";\n padding-bottom: ", ";\n "], ["\n padding-top: ", ";\n padding-bottom: ", ";\n "])), spaceByLayoutKey[props.$py], spaceByLayoutKey[props.$py]);
785
+ return props.$py && styled.css(templateObject_20$2 || (templateObject_20$2 = __makeTemplateObject(["\n padding-top: ", ";\n padding-bottom: ", ";\n "], ["\n padding-top: ", ";\n padding-bottom: ", ";\n "])), spaceByLayoutKey[props.$py], spaceByLayoutKey[props.$py]);
785
786
  }, function (props) {
786
- return props.$width && styled.css(templateObject_21$1 || (templateObject_21$1 = __makeTemplateObject(["width: ", ";"], ["width: ", ";"])), props.$width);
787
+ return props.$width && styled.css(templateObject_21$2 || (templateObject_21$2 = __makeTemplateObject(["width: ", ";"], ["width: ", ";"])), props.$width);
787
788
  }, function (props) {
788
- return props.$height && styled.css(templateObject_22$1 || (templateObject_22$1 = __makeTemplateObject(["height: ", ";"], ["height: ", ";"])), props.$height);
789
+ return props.$height && styled.css(templateObject_22$2 || (templateObject_22$2 = __makeTemplateObject(["height: ", ";"], ["height: ", ";"])), props.$height);
789
790
  }, function (props) {
790
- return props.$maxWidth && styled.css(templateObject_23$1 || (templateObject_23$1 = __makeTemplateObject(["max-width: ", ";"], ["max-width: ", ";"])), props.$maxWidth);
791
+ return props.$maxWidth && styled.css(templateObject_23$2 || (templateObject_23$2 = __makeTemplateObject(["max-width: ", ";"], ["max-width: ", ";"])), props.$maxWidth);
791
792
  }, function (props) {
792
- return props.$maxHeight && styled.css(templateObject_24$1 || (templateObject_24$1 = __makeTemplateObject(["max-height: ", ";"], ["max-height: ", ";"])), props.$maxHeight);
793
+ return props.$maxHeight && styled.css(templateObject_24$2 || (templateObject_24$2 = __makeTemplateObject(["max-height: ", ";"], ["max-height: ", ";"])), props.$maxHeight);
793
794
  }, function (props) {
794
- return props.$minWidth && styled.css(templateObject_25$1 || (templateObject_25$1 = __makeTemplateObject(["min-width: ", ";"], ["min-width: ", ";"])), props.$minWidth);
795
+ return props.$minWidth && styled.css(templateObject_25$2 || (templateObject_25$2 = __makeTemplateObject(["min-width: ", ";"], ["min-width: ", ";"])), props.$minWidth);
795
796
  }, function (props) {
796
- return props.$minHeight && styled.css(templateObject_26$1 || (templateObject_26$1 = __makeTemplateObject(["min-height: ", ";"], ["min-height: ", ";"])), props.$minHeight);
797
+ return props.$minHeight && styled.css(templateObject_26$2 || (templateObject_26$2 = __makeTemplateObject(["min-height: ", ";"], ["min-height: ", ";"])), props.$minHeight);
797
798
  }, function (props) {
798
- return props.$position && styled.css(templateObject_27$1 || (templateObject_27$1 = __makeTemplateObject(["position: ", ";"], ["position: ", ";"])), props.$position);
799
+ return props.$position && styled.css(templateObject_27$2 || (templateObject_27$2 = __makeTemplateObject(["position: ", ";"], ["position: ", ";"])), props.$position);
799
800
  }, function (props) {
800
- return props.$top && styled.css(templateObject_28$1 || (templateObject_28$1 = __makeTemplateObject(["top: ", ";"], ["top: ", ";"])), props.$top);
801
+ return props.$top && styled.css(templateObject_28$2 || (templateObject_28$2 = __makeTemplateObject(["top: ", ";"], ["top: ", ";"])), props.$top);
801
802
  }, function (props) {
802
- return props.$right && styled.css(templateObject_29$1 || (templateObject_29$1 = __makeTemplateObject(["right: ", ";"], ["right: ", ";"])), props.$right);
803
+ return props.$right && styled.css(templateObject_29$2 || (templateObject_29$2 = __makeTemplateObject(["right: ", ";"], ["right: ", ";"])), props.$right);
803
804
  }, function (props) {
804
- return props.$bottom && styled.css(templateObject_30$1 || (templateObject_30$1 = __makeTemplateObject(["bottom: ", ";"], ["bottom: ", ";"])), props.$bottom);
805
+ return props.$bottom && styled.css(templateObject_30$2 || (templateObject_30$2 = __makeTemplateObject(["bottom: ", ";"], ["bottom: ", ";"])), props.$bottom);
805
806
  }, function (props) {
806
- return props.$left && styled.css(templateObject_31$1 || (templateObject_31$1 = __makeTemplateObject(["left: ", ";"], ["left: ", ";"])), props.$left);
807
+ return props.$left && styled.css(templateObject_31$2 || (templateObject_31$2 = __makeTemplateObject(["left: ", ";"], ["left: ", ";"])), props.$left);
807
808
  }, function (props) {
808
- return props.$borderRadius && styled.css(templateObject_32$1 || (templateObject_32$1 = __makeTemplateObject(["border-radius: ", ";"], ["border-radius: ", ";"])), radiusByKey[props.$borderRadius]);
809
+ return props.$borderRadius && styled.css(templateObject_32$2 || (templateObject_32$2 = __makeTemplateObject(["border-radius: ", ";"], ["border-radius: ", ";"])), radiusByKey[props.$borderRadius]);
809
810
  }, function (props) {
810
- return props.$border && styled.css(templateObject_33$1 || (templateObject_33$1 = __makeTemplateObject(["border: ", " solid ", ";"], ["border: ", " solid ", ";"])), tokens.semantic.border.width.thin, borderColorByKey[props.$border]);
811
+ return props.$border && styled.css(templateObject_33$2 || (templateObject_33$2 = __makeTemplateObject(["border: ", " solid ", ";"], ["border: ", " solid ", ";"])), tokens.semantic.border.width.thin, borderColorByKey[props.$border]);
811
812
  }, function (props) {
812
813
  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]);
813
814
  }, function (props) {
@@ -967,15 +968,15 @@ var BoxTransform = function BoxTransform(props) {
967
968
  }));
968
969
  };
969
970
  var Box = BoxTransform;
970
- var templateObject_1$I, templateObject_2$v, 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$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, 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;
971
+ 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;
971
972
 
972
- var IconStyled = styled__default.default.span.withConfig({
973
+ var IconStyled = /*#__PURE__*/styled__default.default.span.withConfig({
973
974
  shouldForwardProp: function shouldForwardProp(prop) {
974
975
  return !prop.startsWith('$');
975
976
  },
976
977
  displayName: "Icon__IconStyled",
977
978
  componentId: "sc-1105czq-0"
978
- })(templateObject_1$H || (templateObject_1$H = __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) {
979
+ })(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) {
979
980
  var $size = _a.$size;
980
981
  return tokens.semantic.size.icon[$size];
981
982
  }, function (_a) {
@@ -1052,17 +1053,17 @@ var Icon = function Icon(_a) {
1052
1053
  }))
1053
1054
  });
1054
1055
  };
1055
- var templateObject_1$H;
1056
+ var templateObject_1$J;
1056
1057
 
1057
1058
  var button$1 = tokens.component.button,
1058
- semantic$i = tokens.semantic;
1059
+ semantic$k = tokens.semantic;
1059
1060
  // Height comes from size.control as a minimum and the content is centred, so there is no
1060
1061
  // vertical padding (decision 0034). Horizontal padding comes from the semantic spacing scale:
1061
1062
  // no component spacing tokens (decision 0022)
1062
- var inset = semantic$i.space.inset;
1063
- var control$1 = semantic$i.size.control;
1063
+ var inset = semantic$k.space.inset;
1064
+ var control$1 = semantic$k.size.control;
1064
1065
  // Base styles shared between button and link
1065
- 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$i.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$i.border.focusOffset, ";\n }\n\n &:disabled {\n cursor: not-allowed;\n }\n\n ").concat(forcedColorsEdge, "\n");
1066
+ 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");
1066
1067
  // Dynamic variant styles using component tokens
1067
1068
  var getVariantStyles$1 = function getVariantStyles(_a) {
1068
1069
  var $variant = _a.$variant;
@@ -1133,20 +1134,20 @@ var getSizeStyles = function getSizeStyles(_a) {
1133
1134
  return "\n font: ".concat(button$1.sizes.large.font, ";\n min-height: ").concat(control$1.lg, ";\n padding: 0 ").concat(inset.lg, ";\n ");
1134
1135
  }
1135
1136
  };
1136
- var StyledButton = styled__default.default.button.withConfig({
1137
+ var StyledButton = /*#__PURE__*/styled__default.default.button.withConfig({
1137
1138
  shouldForwardProp: function shouldForwardProp(prop) {
1138
1139
  return !prop.startsWith('$');
1139
1140
  },
1140
1141
  displayName: "Button__StyledButton",
1141
1142
  componentId: "sc-1eiuum9-0"
1142
- })(templateObject_1$G || (templateObject_1$G = __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);
1143
- var StyledLink = styled__default.default.a.withConfig({
1143
+ })(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);
1144
+ var StyledLink = /*#__PURE__*/styled__default.default.a.withConfig({
1144
1145
  shouldForwardProp: function shouldForwardProp(prop) {
1145
1146
  return !prop.startsWith('$');
1146
1147
  },
1147
1148
  displayName: "Button__StyledLink",
1148
1149
  componentId: "sc-1eiuum9-1"
1149
- })(templateObject_2$u || (templateObject_2$u = __makeTemplateObject(["\n ", "\n border-radius: ", ";\n \n ", "\n ", "\n"], ["\n ", "\n border-radius: ", ";\n \n ", "\n ", "\n"
1150
+ })(templateObject_2$v || (templateObject_2$v = __makeTemplateObject(["\n ", "\n border-radius: ", ";\n \n ", "\n ", "\n"], ["\n ", "\n border-radius: ", ";\n \n ", "\n ", "\n"
1150
1151
  // Helper function to get icon size based on button size
1151
1152
  ])), baseButtonStyles, button$1.primary.borderRadius, getVariantStyles$1, getSizeStyles);
1152
1153
  // Helper function to get icon size based on button size
@@ -1249,15 +1250,15 @@ var Button = function Button(_a) {
1249
1250
  children: renderButtonContent(children, iconName, size)
1250
1251
  }));
1251
1252
  };
1252
- var templateObject_1$G, templateObject_2$u;
1253
+ var templateObject_1$I, templateObject_2$v;
1253
1254
 
1254
- var semantic$h = tokens.semantic;
1255
- var color$7 = semantic$h.color;
1255
+ var semantic$j = tokens.semantic;
1256
+ var color$9 = semantic$j.color;
1256
1257
  var label$2 = tokens.component.badge.label;
1257
- var category = color$7.category;
1258
- var radius$3 = semantic$h.radius;
1259
- var space$d = semantic$h.space;
1260
- var labelHeight$1 = semantic$h.size.label;
1258
+ var category = color$9.category;
1259
+ var radius$3 = semantic$j.radius;
1260
+ var space$d = semantic$j.space;
1261
+ var labelHeight$1 = semantic$j.size.label;
1261
1262
  // Text on white or the -subtle fill (outlined and minimal), at least 4.5:1 (#115)
1262
1263
  var categoryText = {
1263
1264
  blue: category['blue-text'],
@@ -1269,16 +1270,16 @@ var categoryText = {
1269
1270
  orange: category['orange-text'],
1270
1271
  gray: category['gray-text']
1271
1272
  };
1272
- var StyledCategoryLabel = styled__default.default.span.withConfig({
1273
+ var StyledCategoryLabel = /*#__PURE__*/styled__default.default.span.withConfig({
1273
1274
  shouldForwardProp: function shouldForwardProp(prop) {
1274
1275
  return !prop.startsWith('$');
1275
1276
  },
1276
1277
  displayName: "CategoryLabel__StyledCategoryLabel",
1277
1278
  componentId: "sc-1jx7bjo-0"
1278
- })(templateObject_1$F || (templateObject_1$F = __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"
1279
+ })(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"
1279
1280
  // The visible content, hidden from assistive technology when an aria-label replaces it.
1280
1281
  // display: contents keeps the root's flex layout and gap.
1281
- ])), radius$3.full, semantic$h.border.width.thin, function (_a) {
1282
+ ])), radius$3.full, semantic$j.border.width.thin, function (_a) {
1282
1283
  var $size = _a.$size;
1283
1284
  return labelHeight$1[$size];
1284
1285
  }, function (_a) {
@@ -1302,7 +1303,7 @@ var StyledCategoryLabel = styled__default.default.span.withConfig({
1302
1303
  var $color = _a.$color,
1303
1304
  $variant = _a.$variant;
1304
1305
  if ($variant === 'filled') {
1305
- return color$7.text.inverse;
1306
+ return color$9.text.inverse;
1306
1307
  }
1307
1308
  return categoryText[$color];
1308
1309
  }, function (_a) {
@@ -1315,11 +1316,11 @@ var StyledCategoryLabel = styled__default.default.span.withConfig({
1315
1316
  });
1316
1317
  // The visible content, hidden from assistive technology when an aria-label replaces it.
1317
1318
  // display: contents keeps the root's flex layout and gap.
1318
- var VisibleContent$1 = styled__default.default.span.withConfig({
1319
+ var VisibleContent$1 = /*#__PURE__*/styled__default.default.span.withConfig({
1319
1320
  displayName: "CategoryLabel__VisibleContent",
1320
1321
  componentId: "sc-1jx7bjo-1"
1321
- })(templateObject_2$t || (templateObject_2$t = __makeTemplateObject(["\n display: contents;\n"], ["\n display: contents;\n"])));
1322
- var HiddenLabel = styled__default.default.span.withConfig({
1322
+ })(templateObject_2$u || (templateObject_2$u = __makeTemplateObject(["\n display: contents;\n"], ["\n display: contents;\n"])));
1323
+ var HiddenLabel = /*#__PURE__*/styled__default.default.span.withConfig({
1323
1324
  displayName: "CategoryLabel__HiddenLabel",
1324
1325
  componentId: "sc-1jx7bjo-2"
1325
1326
  })(templateObject_3$s || (templateObject_3$s = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"
@@ -1389,7 +1390,7 @@ var CategoryLabel = function CategoryLabel(_a) {
1389
1390
  });
1390
1391
  };
1391
1392
  CategoryLabel.displayName = 'CategoryLabel';
1392
- var templateObject_1$F, templateObject_2$t, templateObject_3$s;
1393
+ var templateObject_1$H, templateObject_2$u, templateObject_3$s;
1393
1394
 
1394
1395
  // CategoryBadge sizes on the decision 0018 scale
1395
1396
  var toLabelSize = {
@@ -1413,8 +1414,8 @@ var CategoryBadge = function CategoryBadge(_a) {
1413
1414
  };
1414
1415
  CategoryBadge.displayName = 'CategoryBadge';
1415
1416
 
1416
- var chip$1 = tokens.component.chip,
1417
- semantic$g = tokens.semantic;
1417
+ var chip$2 = tokens.component.chip,
1418
+ semantic$i = tokens.semantic;
1418
1419
  // Helper function to get variant styles matching Button's approach
1419
1420
  var getVariantStyles = function getVariantStyles(_a) {
1420
1421
  var $variant = _a.$variant,
@@ -1427,7 +1428,7 @@ var getVariantStyles = function getVariantStyles(_a) {
1427
1428
  // A selected disabled chip looks like any disabled chip; the checkmark keeps the
1428
1429
  // selected state visible (#110)
1429
1430
  if ($disabled) {
1430
- var disabled = chip$1.variants.subtle.disabled;
1431
+ var disabled = chip$2.variants.subtle.disabled;
1431
1432
  return "\n background-color: ".concat(disabled.backgroundColor, ";\n color: ").concat(disabled.textColor, ";\n ");
1432
1433
  }
1433
1434
  var _b = tokens.semantic.color,
@@ -1438,55 +1439,55 @@ var getVariantStyles = function getVariantStyles(_a) {
1438
1439
  }
1439
1440
  switch ($variant) {
1440
1441
  case 'emphasis':
1441
- return "\n background-color: ".concat(chip$1.variants.emphasis.backgroundColor, ";\n color: ").concat(chip$1.variants.emphasis.textColor, ";\n \n &:hover {\n background-color: ").concat($disabled ? chip$1.variants.emphasis.disabled.backgroundColor : $clickable ? chip$1.variants.emphasis.hover.backgroundColor : chip$1.variants.emphasis.backgroundColor, ";\n }\n \n &:active {\n background-color: ").concat($disabled ? chip$1.variants.emphasis.disabled.backgroundColor : $clickable ? chip$1.variants.emphasis.active.backgroundColor : chip$1.variants.emphasis.backgroundColor, ";\n }\n \n ").concat($disabled ? "\n background-color: ".concat(chip$1.variants.emphasis.disabled.backgroundColor, ";\n color: ").concat(chip$1.variants.emphasis.disabled.textColor, ";\n ") : '', "\n ");
1442
+ 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 ");
1442
1443
  case 'subtle':
1443
- return "\n background-color: ".concat(chip$1.variants.subtle.backgroundColor, ";\n color: ").concat(chip$1.variants.subtle.textColor, ";\n \n &:hover {\n background-color: ").concat($disabled ? chip$1.variants.subtle.disabled.backgroundColor : $clickable ? chip$1.variants.subtle.hover.backgroundColor : chip$1.variants.subtle.backgroundColor, ";\n }\n \n &:active {\n background-color: ").concat($disabled ? chip$1.variants.subtle.disabled.backgroundColor : $clickable ? chip$1.variants.subtle.active.backgroundColor : chip$1.variants.subtle.backgroundColor, ";\n }\n \n ").concat($disabled ? "\n background-color: ".concat(chip$1.variants.subtle.disabled.backgroundColor, ";\n color: ").concat(chip$1.variants.subtle.disabled.textColor, ";\n ") : '', "\n ");
1444
+ 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 ");
1444
1445
  case 'interactive':
1445
- return "\n background-color: ".concat(chip$1.variants.interactive.backgroundColor, ";\n color: ").concat(chip$1.variants.interactive.textColor, ";\n \n &:hover {\n background-color: ").concat($disabled ? chip$1.variants.interactive.disabled.backgroundColor : $clickable ? chip$1.variants.interactive.hover.backgroundColor : chip$1.variants.interactive.backgroundColor, ";\n }\n \n &:active {\n background-color: ").concat($disabled ? chip$1.variants.interactive.disabled.backgroundColor : $clickable ? chip$1.variants.interactive.active.backgroundColor : chip$1.variants.interactive.backgroundColor, ";\n }\n \n ").concat($disabled ? "\n background-color: ".concat(chip$1.variants.interactive.disabled.backgroundColor, ";\n color: ").concat(chip$1.variants.interactive.disabled.textColor, ";\n ") : '', "\n ");
1446
+ 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 ");
1446
1447
  case 'default':
1447
1448
  default:
1448
- return "\n background-color: ".concat(chip$1["default"].backgroundColor, ";\n color: ").concat(chip$1["default"].textColor, ";\n \n &:hover {\n background-color: ").concat($disabled ? chip$1.disabled.backgroundColor : $clickable ? chip$1.hover.backgroundColor : chip$1["default"].backgroundColor, ";\n }\n \n &:active {\n background-color: ").concat($disabled ? chip$1.disabled.backgroundColor : $clickable ? chip$1.active.backgroundColor : chip$1["default"].backgroundColor, ";\n }\n \n ").concat($disabled ? "\n background-color: ".concat(chip$1.disabled.backgroundColor, ";\n color: ").concat(chip$1.disabled.textColor, ";\n ") : '', "\n ");
1449
+ 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 ");
1449
1450
  }
1450
1451
  };
1451
1452
  // Chips have one size: 24px from the label scale as a minimum, with the content centred
1452
1453
  // and no vertical padding (decisions 0034 and 0035). Horizontal padding comes from the
1453
1454
  // semantic spacing scale (decision 0022).
1454
- var sizeStyles = "\n font: ".concat(chip$1.sizes.medium.font, ";\n min-height: ").concat(semantic$g.size.label.medium, ";\n padding: 0 ").concat(semantic$g.space.inset.sm, ";\n");
1455
+ var sizeStyles = "\n font: ".concat(chip$2.sizes.medium.font, ";\n min-height: ").concat(semantic$i.size.label.medium, ";\n padding: 0 ").concat(semantic$i.space.inset.sm, ";\n");
1455
1456
 
1456
- var chip = tokens.component.chip,
1457
- semantic$f = tokens.semantic;
1457
+ var chip$1 = tokens.component.chip,
1458
+ semantic$h = tokens.semantic;
1458
1459
  // Base styled component using direct prop interpolation like Button
1459
- var StyledChip = styled__default.default.span.withConfig({
1460
+ var StyledChip = /*#__PURE__*/styled__default.default.span.withConfig({
1460
1461
  shouldForwardProp: function shouldForwardProp(prop) {
1461
1462
  return !prop.startsWith('$');
1462
1463
  },
1463
1464
  displayName: "ChipBase__StyledChip",
1464
1465
  componentId: "sc-moa6zc-0"
1465
- })(templateObject_1$E || (templateObject_1$E = __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"
1466
+ })(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"
1466
1467
  // Icon container for selected indicator or leading icons
1467
- ])), chip["default"].borderRadius, semantic$f.motion.transition.feedback, function (props) {
1468
+ ])), chip$1["default"].borderRadius, semantic$h.motion.transition.feedback, function (props) {
1468
1469
  return props.$disabled ? 'not-allowed' : props.$clickable ? 'pointer' : 'default';
1469
1470
  }, forcedColorsEdge, function (props) {
1470
1471
  return props.$disabled ? "".concat(forcedColors, " { color: GrayText; }") : '';
1471
- }, getVariantStyles, sizeStyles, chip.focus.outline, semantic$f.border.focusOffset);
1472
+ }, getVariantStyles, sizeStyles, chip$1.focus.outline, semantic$h.border.focusOffset);
1472
1473
  // Icon container for selected indicator or leading icons
1473
- var IconContainer = styled__default.default.span.withConfig({
1474
+ var IconContainer = /*#__PURE__*/styled__default.default.span.withConfig({
1474
1475
  displayName: "ChipBase__IconContainer",
1475
1476
  componentId: "sc-moa6zc-1"
1476
- })(templateObject_2$s || (templateObject_2$s = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n margin-right: ", ";\n"], ["\n display: inline-flex;\n align-items: center;\n margin-right: ", ";\n"
1477
+ })(templateObject_2$t || (templateObject_2$t = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n margin-right: ", ";\n"], ["\n display: inline-flex;\n align-items: center;\n margin-right: ", ";\n"
1477
1478
  // Close button for dismissible chips
1478
1479
  ])), tokens.semantic.space[100]);
1479
1480
  // Close button for dismissible chips
1480
- var CloseButton = styled__default.default.button.withConfig({
1481
+ var CloseButton = /*#__PURE__*/styled__default.default.button.withConfig({
1481
1482
  shouldForwardProp: function shouldForwardProp(prop) {
1482
1483
  return !prop.startsWith('$');
1483
1484
  },
1484
1485
  displayName: "ChipBase__CloseButton",
1485
1486
  componentId: "sc-moa6zc-2"
1486
- })(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.closeButton.size, chip.closeButton.size, tokens.semantic.space[0], semantic$f.size.label.medium, semantic$f.size.label.medium, tokens.semantic.radius.xs, function (props) {
1487
+ })(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) {
1487
1488
  return props.$disabled ? 'not-allowed' : 'pointer';
1488
- }, semantic$f.motion.transition.feedback, tokens.semantic.color.fill['none-hover'], tokens.semantic.color.fill['none-pressed'], tokens.semantic.color.text.disabled, chip.focus.outline, semantic$f.border.focusOffset, chip["default"].borderRadius);
1489
- var templateObject_1$E, templateObject_2$s, templateObject_3$r;
1489
+ }, 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);
1490
+ var templateObject_1$G, templateObject_2$t, templateObject_3$r;
1490
1491
 
1491
1492
  /**
1492
1493
  * Chip - a static, non-interactive label for tags, categories and metadata.
@@ -1723,11 +1724,61 @@ var BooleanChip = function BooleanChip(_a) {
1723
1724
  }));
1724
1725
  };
1725
1726
 
1727
+ var chip = tokens.component.chip,
1728
+ semantic$g = tokens.semantic;
1729
+ var color$8 = semantic$g.color;
1730
+ // Outlined, with the naked fill ladder on hover and press (decisions 0030, 0046): the edge keeps it
1731
+ // visible on white, the page and AgentInput's docked band
1732
+ var StyledSuggestionChip = /*#__PURE__*/styled__default.default.button.withConfig({
1733
+ displayName: "SuggestionChip__StyledSuggestionChip",
1734
+ componentId: "sc-1k0njm-0"
1735
+ })(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"
1736
+ /**
1737
+ * SuggestionChip - Offers text to put in the agent input
1738
+ *
1739
+ * The Suggestion chip type from decision 0046 (amending 0016): the one chip that acts on click.
1740
+ * Picking it fills the input so the user can edit before sending; it never sends or runs a command,
1741
+ * which is why it's a chip and not a Button. AgentInput renders these from its `suggestions` prop.
1742
+ *
1743
+ * Features:
1744
+ * - A native button: Enter and Space pick it, and its text is its accessible name
1745
+ * - Outlined, with the naked hover and pressed fills; no selected state
1746
+ * - One chip height (24px minimum, decision 0035); long text wraps instead of being cut off
1747
+ */])), semantic$g.border.width.thin, color$8.border.input, chip["default"].borderRadius, color$8.fill.none, color$8.text["default"], semantic$g.motion.transition.feedback, sizeStyles, color$8.fill['none-hover'], color$8.fill['none-pressed'], chip.focus.outline, semantic$g.border.focusOffset, color$8.border.emphasis, color$8.text.disabled, forcedColors);
1748
+ /**
1749
+ * SuggestionChip - Offers text to put in the agent input
1750
+ *
1751
+ * The Suggestion chip type from decision 0046 (amending 0016): the one chip that acts on click.
1752
+ * Picking it fills the input so the user can edit before sending; it never sends or runs a command,
1753
+ * which is why it's a chip and not a Button. AgentInput renders these from its `suggestions` prop.
1754
+ *
1755
+ * Features:
1756
+ * - A native button: Enter and Space pick it, and its text is its accessible name
1757
+ * - Outlined, with the naked hover and pressed fills; no selected state
1758
+ * - One chip height (24px minimum, decision 0035); long text wraps instead of being cut off
1759
+ */
1760
+ var SuggestionChip = function SuggestionChip(_a) {
1761
+ var children = _a.children,
1762
+ onClick = _a.onClick,
1763
+ _b = _a.disabled,
1764
+ disabled = _b === void 0 ? false : _b,
1765
+ dataTestId = _a["data-testid"];
1766
+ return jsxRuntime.jsx(StyledSuggestionChip, {
1767
+ type: "button",
1768
+ onClick: onClick,
1769
+ disabled: disabled,
1770
+ "data-testid": dataTestId,
1771
+ children: children
1772
+ });
1773
+ };
1774
+ SuggestionChip.displayName = 'SuggestionChip';
1775
+ var templateObject_1$F;
1776
+
1726
1777
  var space$c = tokens.semantic.space;
1727
- var StyledContainer$2 = styled__default.default.div.withConfig({
1778
+ var StyledContainer$2 = /*#__PURE__*/styled__default.default.div.withConfig({
1728
1779
  displayName: "Container__StyledContainer",
1729
1780
  componentId: "sc-17dbj6n-0"
1730
- })(templateObject_1$D || (templateObject_1$D = __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']);
1781
+ })(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']);
1731
1782
  var Container$1 = function Container(_a) {
1732
1783
  var children = _a.children,
1733
1784
  props = __rest(_a, ["children"]);
@@ -1735,12 +1786,12 @@ var Container$1 = function Container(_a) {
1735
1786
  children: children
1736
1787
  }));
1737
1788
  };
1738
- var templateObject_1$D;
1789
+ var templateObject_1$E;
1739
1790
 
1740
- var PictureWrapper = styled__default.default.div.withConfig({
1791
+ var PictureWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
1741
1792
  displayName: "Picture__PictureWrapper",
1742
1793
  componentId: "sc-11d9tei-0"
1743
- })(templateObject_1$C || (templateObject_1$C = __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"
1794
+ })(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"
1744
1795
  // A clickable image answers input on the image itself (decision 0029, #185): it fades on hover and
1745
1796
  // one step further while pressed, and draws the system focus ring around the image, following its
1746
1797
  // rounded corners. Fading isn't movement, so it stays under reduced motion.
@@ -1748,16 +1799,16 @@ var PictureWrapper = styled__default.default.div.withConfig({
1748
1799
  // A clickable image answers input on the image itself (decision 0029, #185): it fades on hover and
1749
1800
  // one step further while pressed, and draws the system focus ring around the image, following its
1750
1801
  // rounded corners. Fading isn't movement, so it stays under reduced motion.
1751
- var clickableImage = styled.css(templateObject_2$r || (templateObject_2$r = __makeTemplateObject(["\n display: block;\n cursor: pointer;\n\n img {\n transition: ", ";\n }\n\n &:hover img {\n opacity: ", ";\n }\n\n &:active img {\n opacity: ", ";\n }\n\n &:focus-visible {\n outline: none;\n }\n\n &:focus-visible img {\n outline: ", ";\n outline-offset: ", ";\n }\n"], ["\n display: block;\n cursor: pointer;\n\n img {\n transition: ", ";\n }\n\n &:hover img {\n opacity: ", ";\n }\n\n &:active img {\n opacity: ", ";\n }\n\n &:focus-visible {\n outline: none;\n }\n\n &:focus-visible img {\n outline: ", ";\n outline-offset: ", ";\n }\n"])), tokens.semantic.motion.transition.press, tokens.semantic.opacity.hover, tokens.semantic.opacity.pressed, tokens.semantic.border.focus, tokens.semantic.border.focusOffset);
1752
- var ImageLink = styled__default.default.a.withConfig({
1802
+ var clickableImage = styled.css(templateObject_2$s || (templateObject_2$s = __makeTemplateObject(["\n display: block;\n cursor: pointer;\n\n img {\n transition: ", ";\n }\n\n &:hover img {\n opacity: ", ";\n }\n\n &:active img {\n opacity: ", ";\n }\n\n &:focus-visible {\n outline: none;\n }\n\n &:focus-visible img {\n outline: ", ";\n outline-offset: ", ";\n }\n"], ["\n display: block;\n cursor: pointer;\n\n img {\n transition: ", ";\n }\n\n &:hover img {\n opacity: ", ";\n }\n\n &:active img {\n opacity: ", ";\n }\n\n &:focus-visible {\n outline: none;\n }\n\n &:focus-visible img {\n outline: ", ";\n outline-offset: ", ";\n }\n"])), tokens.semantic.motion.transition.press, tokens.semantic.opacity.hover, tokens.semantic.opacity.pressed, tokens.semantic.border.focus, tokens.semantic.border.focusOffset);
1803
+ var ImageLink = /*#__PURE__*/styled__default.default.a.withConfig({
1753
1804
  displayName: "Picture__ImageLink",
1754
1805
  componentId: "sc-11d9tei-1"
1755
1806
  })(templateObject_3$q || (templateObject_3$q = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), clickableImage);
1756
- var ImageButton = styled__default.default.button.withConfig({
1807
+ var ImageButton = /*#__PURE__*/styled__default.default.button.withConfig({
1757
1808
  displayName: "Picture__ImageButton",
1758
1809
  componentId: "sc-11d9tei-2"
1759
1810
  })(templateObject_4$l || (templateObject_4$l = __makeTemplateObject(["\n border: none;\n background: none;\n padding: 0;\n width: 100%;\n ", "\n"], ["\n border: none;\n background: none;\n padding: 0;\n width: 100%;\n ", "\n"])), clickableImage);
1760
- var StyledImage = styled__default.default.img.withConfig({
1811
+ var StyledImage = /*#__PURE__*/styled__default.default.img.withConfig({
1761
1812
  displayName: "Picture__StyledImage",
1762
1813
  componentId: "sc-11d9tei-3"
1763
1814
  })(templateObject_5$h || (templateObject_5$h = __makeTemplateObject(["\n width: 100%;\n height: auto;\n border-radius: ", ";\n display: block;\n"], ["\n width: 100%;\n height: auto;\n border-radius: ", ";\n display: block;\n"])), tokens.semantic.radius.sm);
@@ -1790,18 +1841,18 @@ var Picture = function Picture(_a) {
1790
1841
  }) : image
1791
1842
  });
1792
1843
  };
1793
- var templateObject_1$C, templateObject_2$r, templateObject_3$q, templateObject_4$l, templateObject_5$h;
1844
+ var templateObject_1$D, templateObject_2$s, templateObject_3$q, templateObject_4$l, templateObject_5$h;
1794
1845
 
1795
1846
  var _a$8 = tokens.semantic,
1796
- typography$1 = _a$8.typography,
1797
- color$6 = _a$8.color;
1798
- var TimeStyled = styled__default.default.time.withConfig({
1847
+ typography$2 = _a$8.typography,
1848
+ color$7 = _a$8.color;
1849
+ var TimeStyled = /*#__PURE__*/styled__default.default.time.withConfig({
1799
1850
  displayName: "DateFormatter__TimeStyled",
1800
1851
  componentId: "sc-5464cc-0"
1801
- })(templateObject_1$B || (templateObject_1$B = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n"], ["\n font: ", ";\n color: ", ";\n"
1852
+ })(templateObject_1$C || (templateObject_1$C = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n"], ["\n font: ", ";\n color: ", ";\n"
1802
1853
  /**
1803
1854
  * Formats a date with smart relative/absolute logic
1804
- */])), typography$1.label, color$6.text.muted);
1855
+ */])), typography$2.label, color$7.text.muted);
1805
1856
  /**
1806
1857
  * Formats a date with smart relative/absolute logic
1807
1858
  */
@@ -1844,21 +1895,21 @@ var DateFormatter = function DateFormatter(_a) {
1844
1895
  children: displayText
1845
1896
  });
1846
1897
  };
1847
- var templateObject_1$B;
1898
+ var templateObject_1$C;
1848
1899
 
1849
1900
  var _a$7 = tokens.semantic,
1850
1901
  motion$5 = _a$7.motion,
1851
1902
  border$3 = _a$7.border,
1852
1903
  space$b = _a$7.space,
1853
- size$2 = _a$7.size,
1904
+ size$3 = _a$7.size,
1854
1905
  _b$2 = tokens.component,
1855
1906
  iconButton = _b$2.iconButton,
1856
1907
  button = _b$2.button;
1857
1908
  // Height and width come from size.control as a minimum (decision 0034)
1858
1909
  var control = {
1859
- small: size$2.control.sm,
1860
- medium: size$2.control.md,
1861
- large: size$2.control.lg
1910
+ small: size$3.control.sm,
1911
+ medium: size$3.control.md,
1912
+ large: size$3.control.lg
1862
1913
  };
1863
1914
  // Padding comes from the semantic spacing scale: no component spacing tokens (decision 0022)
1864
1915
  var padding = {
@@ -1899,13 +1950,13 @@ var colours = function colours(variant) {
1899
1950
  var _a;
1900
1951
  return (_a = variants[variant]) !== null && _a !== void 0 ? _a : variants.primary;
1901
1952
  };
1902
- var IconButtonStyled = styled__default.default.button.withConfig({
1953
+ var IconButtonStyled = /*#__PURE__*/styled__default.default.button.withConfig({
1903
1954
  shouldForwardProp: function shouldForwardProp(prop) {
1904
1955
  return !prop.startsWith('$');
1905
1956
  },
1906
1957
  displayName: "IconButton__IconButtonStyled",
1907
1958
  componentId: "sc-k8b14t-0"
1908
- })(templateObject_1$A || (templateObject_1$A = __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) {
1959
+ })(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) {
1909
1960
  var $variant = _a.$variant;
1910
1961
  return colours($variant).bg;
1911
1962
  }, function (_a) {
@@ -1983,15 +2034,15 @@ var IconButton = function IconButton(_a) {
1983
2034
  })
1984
2035
  }));
1985
2036
  };
1986
- var templateObject_1$A;
2037
+ var templateObject_1$B;
1987
2038
 
1988
- var StyledWrapper = styled__default.default.span.withConfig({
2039
+ var StyledWrapper = /*#__PURE__*/styled__default.default.span.withConfig({
1989
2040
  shouldForwardProp: function shouldForwardProp(prop) {
1990
2041
  return !prop.startsWith('$');
1991
2042
  },
1992
2043
  displayName: "MoneyDisplay__StyledWrapper",
1993
2044
  componentId: "sc-1mddej3-0"
1994
- })(templateObject_1$z || (templateObject_1$z = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n gap: 0.25rem;\n text-align: ", ";\n font-weight: ", ";\n"], ["\n display: inline-flex;\n align-items: center;\n gap: 0.25rem;\n text-align: ", ";\n font-weight: ", ";\n"
2045
+ })(templateObject_1$A || (templateObject_1$A = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n gap: 0.25rem;\n text-align: ", ";\n font-weight: ", ";\n"], ["\n display: inline-flex;\n align-items: center;\n gap: 0.25rem;\n text-align: ", ";\n font-weight: ", ";\n"
1995
2046
  // Map size to Typography variant
1996
2047
  ])), function (_a) {
1997
2048
  var $align = _a.$align;
@@ -2098,29 +2149,29 @@ var MoneyDisplay = function MoneyDisplay(_a) {
2098
2149
  })]
2099
2150
  });
2100
2151
  };
2101
- var templateObject_1$z;
2152
+ var templateObject_1$A;
2102
2153
 
2103
2154
  // Destructure tokens
2104
- var semantic$e = tokens.semantic;
2105
- var _a$6 = __assign(__assign({}, semantic$e), {
2155
+ var semantic$f = tokens.semantic;
2156
+ var _a$6 = __assign(__assign({}, semantic$f), {
2106
2157
  component: tokens.component
2107
2158
  }),
2108
- color$5 = _a$6.color,
2159
+ color$6 = _a$6.color,
2109
2160
  motion$4 = _a$6.motion,
2110
2161
  radius$2 = _a$6.radius,
2111
2162
  component$2 = _a$6.component;
2112
- var ProgressBarContainer = styled__default.default.div.withConfig({
2163
+ var ProgressBarContainer = /*#__PURE__*/styled__default.default.div.withConfig({
2113
2164
  shouldForwardProp: function shouldForwardProp(prop) {
2114
2165
  return !prop.startsWith('$');
2115
2166
  },
2116
2167
  displayName: "ProgressBar__ProgressBarContainer",
2117
2168
  componentId: "sc-1nco33q-0"
2118
2169
  })(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) {
2119
- return props.$variant === 'horizontal' && styled.css(templateObject_1$y || (templateObject_1$y = __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);
2170
+ 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);
2120
2171
  }, function (props) {
2121
- return props.$variant === 'vertical' && styled.css(templateObject_2$q || (templateObject_2$q = __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);
2172
+ 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);
2122
2173
  });
2123
- var ProgressBarFill = styled__default.default.div.withConfig({
2174
+ var ProgressBarFill = /*#__PURE__*/styled__default.default.div.withConfig({
2124
2175
  shouldForwardProp: function shouldForwardProp(prop) {
2125
2176
  return !prop.startsWith('$');
2126
2177
  },
@@ -2130,15 +2181,15 @@ var ProgressBarFill = styled__default.default.div.withConfig({
2130
2181
  var backgroundColor;
2131
2182
  switch (props.$color) {
2132
2183
  case 'success':
2133
- backgroundColor = color$5.fill.success;
2184
+ backgroundColor = color$6.fill.success;
2134
2185
  break;
2135
2186
  case 'error':
2136
- backgroundColor = color$5.fill.danger;
2187
+ backgroundColor = color$6.fill.danger;
2137
2188
  break;
2138
2189
  case 'default':
2139
2190
  default:
2140
2191
  // Near-black, like Slider's fill (decision 0029)
2141
- backgroundColor = color$5.fill.emphasis;
2192
+ backgroundColor = color$6.fill.emphasis;
2142
2193
  break;
2143
2194
  }
2144
2195
  return styled.css(templateObject_4$k || (templateObject_4$k = __makeTemplateObject(["background-color: ", ";"], ["background-color: ", ";"])), backgroundColor);
@@ -2179,19 +2230,19 @@ var ProgressBar = function ProgressBar(_a) {
2179
2230
  })
2180
2231
  });
2181
2232
  };
2182
- var templateObject_1$y, templateObject_2$q, templateObject_3$p, templateObject_4$k, templateObject_5$g, templateObject_6$c, templateObject_7$a;
2233
+ var templateObject_1$z, templateObject_2$r, templateObject_3$p, templateObject_4$k, templateObject_5$g, templateObject_6$c, templateObject_7$a;
2183
2234
 
2184
2235
  // Destructure tokens for cleaner access
2185
2236
  var separatorTokens = tokens.component.separator;
2186
2237
  // Margins come from the semantic separator spacing: no component spacing tokens (decision 0022)
2187
2238
  var space$a = tokens.semantic.space;
2188
- var StyledDivider = styled__default.default.div.withConfig({
2239
+ var StyledDivider = /*#__PURE__*/styled__default.default.div.withConfig({
2189
2240
  shouldForwardProp: function shouldForwardProp(prop) {
2190
2241
  return !prop.startsWith('$');
2191
2242
  },
2192
2243
  displayName: "Divider__StyledDivider",
2193
2244
  componentId: "sc-1l0c8ja-0"
2194
- })(templateObject_1$x || (templateObject_1$x = __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"
2245
+ })(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"
2195
2246
  /**
2196
2247
  * Divider is an atomic component that provides visual separation between content sections.
2197
2248
  *
@@ -2304,15 +2355,15 @@ var Divider = function Divider(_a) {
2304
2355
  "aria-orientation": orientation
2305
2356
  });
2306
2357
  };
2307
- var templateObject_1$x;
2358
+ var templateObject_1$y;
2308
2359
 
2309
- var StyledStack = styled__default.default.div.withConfig({
2360
+ var StyledStack = /*#__PURE__*/styled__default.default.div.withConfig({
2310
2361
  shouldForwardProp: function shouldForwardProp(prop) {
2311
2362
  return !prop.startsWith('$');
2312
2363
  },
2313
2364
  displayName: "Stack__StyledStack",
2314
2365
  componentId: "sc-1ehkxgy-0"
2315
- })(templateObject_1$w || (templateObject_1$w = __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"
2366
+ })(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"
2316
2367
  // Each gap name maps to the space step that replaced its old spacing.layout token (decision 0031),
2317
2368
  // so every gap keeps its value
2318
2369
  ])));
@@ -2366,7 +2417,7 @@ var Stack = function Stack(_a) {
2366
2417
  children: children
2367
2418
  });
2368
2419
  };
2369
- var templateObject_1$w;
2420
+ var templateObject_1$x;
2370
2421
 
2371
2422
  // Destructure tokens for cleaner access
2372
2423
  var statusColors = tokens.component.status;
@@ -2379,7 +2430,7 @@ var _b$1 = tokens.semantic.motion,
2379
2430
  easing$3 = _b$1.easing;
2380
2431
  var labelHeight = tokens.semantic.size.label;
2381
2432
  var label$1 = tokens.component.badge.label;
2382
- 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"])));
2433
+ 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"])));
2383
2434
  var getStatusConfig = function getStatusConfig(status) {
2384
2435
  var configs = {
2385
2436
  pending: {
@@ -2424,7 +2475,7 @@ var getStatusConfig = function getStatusConfig(status) {
2424
2475
  return configs[status];
2425
2476
  };
2426
2477
  // Size configuration
2427
- var sizeConfig$1 = {
2478
+ var sizeConfig$2 = {
2428
2479
  small: {
2429
2480
  height: labelHeight.small,
2430
2481
  padding: "".concat(space$9[100], " ").concat(space$9[200]),
@@ -2440,22 +2491,22 @@ var sizeConfig$1 = {
2440
2491
  iconSize: 'sm'
2441
2492
  }
2442
2493
  };
2443
- var StyledStatusLabel = styled__default.default.span.withConfig({
2494
+ var StyledStatusLabel = /*#__PURE__*/styled__default.default.span.withConfig({
2444
2495
  shouldForwardProp: function shouldForwardProp(prop) {
2445
2496
  return !prop.startsWith('$');
2446
2497
  },
2447
2498
  displayName: "StatusLabelBase__StyledStatusLabel",
2448
2499
  componentId: "sc-1ye9xz5-0"
2449
- })(templateObject_2$p || (templateObject_2$p = __makeTemplateObject(["\n box-sizing: border-box; /* the height includes padding, 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 animation: ", " ", " ", ";\n transition: ", ";\n\n /* Under reduced motion the label appears without scaling in, and colours change at once */\n ", " {\n animation: none;\n transition: none;\n }\n\n /* Forced colours drop the fill, so the label keeps its shape with an edge (decision 0038) */\n ", "\n \n /* Size styles */\n ", "\n \n /* Status color styles */\n ", "\n"], ["\n box-sizing: border-box; /* the height includes padding, 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 animation: ", " ", " ", ";\n transition: ", ";\n\n /* Under reduced motion the label appears without scaling in, and colours change at once */\n ", " {\n animation: none;\n transition: none;\n }\n\n /* Forced colours drop the fill, so the label keeps its shape with an edge (decision 0038) */\n ", "\n \n /* Size styles */\n ", "\n \n /* Status color styles */\n ", "\n"])), radius$1.full, scaleIn$1, duration$3.moderate, easing$3.decelerate, transition.feedback, reducedMotion, forcedColorsEdge, function (_a) {
2500
+ })(templateObject_2$q || (templateObject_2$q = __makeTemplateObject(["\n box-sizing: border-box; /* the height includes padding, 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 animation: ", " ", " ", ";\n transition: ", ";\n\n /* Under reduced motion the label appears without scaling in, and colours change at once */\n ", " {\n animation: none;\n transition: none;\n }\n\n /* Forced colours drop the fill, so the label keeps its shape with an edge (decision 0038) */\n ", "\n \n /* Size styles */\n ", "\n \n /* Status color styles */\n ", "\n"], ["\n box-sizing: border-box; /* the height includes padding, 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 animation: ", " ", " ", ";\n transition: ", ";\n\n /* Under reduced motion the label appears without scaling in, and colours change at once */\n ", " {\n animation: none;\n transition: none;\n }\n\n /* Forced colours drop the fill, so the label keeps its shape with an edge (decision 0038) */\n ", "\n \n /* Size styles */\n ", "\n \n /* Status color styles */\n ", "\n"])), radius$1.full, scaleIn$1, duration$3.moderate, easing$3.decelerate, transition.feedback, reducedMotion, forcedColorsEdge, function (_a) {
2450
2501
  var $size = _a.$size;
2451
- var size = sizeConfig$1[$size];
2502
+ var size = sizeConfig$2[$size];
2452
2503
  return "\n height: ".concat(size.height, ";\n padding: ").concat(size.padding, ";\n font: ").concat(size.font, ";\n font-weight: ").concat(label$1.fontWeight, ";\n gap: ").concat(size.gap, ";\n ");
2453
2504
  }, function (_a) {
2454
2505
  var $status = _a.$status;
2455
2506
  var config = getStatusConfig($status);
2456
2507
  return "\n background-color: ".concat(config.bgColor, ";\n color: ").concat(config.color, ";\n ");
2457
2508
  });
2458
- var ScreenReaderOnly = styled__default.default.span.withConfig({
2509
+ var ScreenReaderOnly = /*#__PURE__*/styled__default.default.span.withConfig({
2459
2510
  displayName: "StatusLabelBase__ScreenReaderOnly",
2460
2511
  componentId: "sc-1ye9xz5-1"
2461
2512
  })(templateObject_3$o || (templateObject_3$o = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"
@@ -2464,7 +2515,7 @@ var ScreenReaderOnly = styled__default.default.span.withConfig({
2464
2515
  ])), visuallyHidden);
2465
2516
  // The visible content, hidden from assistive technology when an aria-label replaces it.
2466
2517
  // display: contents keeps the root's flex layout and gap.
2467
- var VisibleContent = styled__default.default.span.withConfig({
2518
+ var VisibleContent = /*#__PURE__*/styled__default.default.span.withConfig({
2468
2519
  displayName: "StatusLabelBase__VisibleContent",
2469
2520
  componentId: "sc-1ye9xz5-2"
2470
2521
  })(templateObject_4$j || (templateObject_4$j = __makeTemplateObject(["\n display: contents;\n"], ["\n display: contents;\n"
@@ -2490,7 +2541,7 @@ var StatusLabelBase = function StatusLabelBase(_a) {
2490
2541
  dataTestId = _a["data-testid"],
2491
2542
  ariaLabel = _a["aria-label"];
2492
2543
  var statusConfig = getStatusConfig(status);
2493
- var sizeStyles = sizeConfig$1[size];
2544
+ var sizeStyles = sizeConfig$2[size];
2494
2545
  var displayLabel = label || statusConfig.label;
2495
2546
  // A blank aria-label is no label at all, so it falls back like a missing one
2496
2547
  var accessibleLabel = (ariaLabel === null || ariaLabel === void 0 ? void 0 : ariaLabel.trim()) ? ariaLabel : undefined;
@@ -2516,7 +2567,7 @@ var StatusLabelBase = function StatusLabelBase(_a) {
2516
2567
  })]
2517
2568
  });
2518
2569
  };
2519
- var templateObject_1$v, templateObject_2$p, templateObject_3$o, templateObject_4$j;
2570
+ var templateObject_1$w, templateObject_2$q, templateObject_3$o, templateObject_4$j;
2520
2571
 
2521
2572
  /**
2522
2573
  * StatusBadge displays a transaction or task status.
@@ -2550,19 +2601,19 @@ var StatusLabel = function StatusLabel(props) {
2550
2601
  };
2551
2602
  StatusLabel.displayName = 'StatusLabel';
2552
2603
 
2553
- var semantic$d = tokens.semantic;
2554
- var color$4 = semantic$d.color,
2555
- size$1 = semantic$d.size;
2604
+ var semantic$e = tokens.semantic;
2605
+ var color$5 = semantic$e.color,
2606
+ size$2 = semantic$e.size;
2556
2607
  var label = tokens.component.badge.label;
2557
- var space$8 = semantic$d.space;
2558
- var radius = semantic$d.radius;
2559
- var StyledTag = styled__default.default.span.withConfig({
2608
+ var space$8 = semantic$e.space;
2609
+ var radius = semantic$e.radius;
2610
+ var StyledTag = /*#__PURE__*/styled__default.default.span.withConfig({
2560
2611
  shouldForwardProp: function shouldForwardProp(prop) {
2561
2612
  return !prop.startsWith('$');
2562
2613
  },
2563
2614
  displayName: "Tag__StyledTag",
2564
2615
  componentId: "sc-lzfmti-0"
2565
- })(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"
2616
+ })(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"
2566
2617
  /**
2567
2618
  * Tag component for categorizing and labeling content
2568
2619
  *
@@ -2570,7 +2621,7 @@ var StyledTag = styled__default.default.span.withConfig({
2570
2621
  * Tags help users quickly identify and understand content classification.
2571
2622
  */])), radius.sm, function (_a) {
2572
2623
  var $size = _a.$size;
2573
- return size$1.label[$size];
2624
+ return size$2.label[$size];
2574
2625
  }, function (_a) {
2575
2626
  var $size = _a.$size;
2576
2627
  return $size === 'small' ? "0 ".concat(space$8[200]) : "".concat(space$8[100], " ").concat(space$8[200]);
@@ -2578,33 +2629,33 @@ var StyledTag = styled__default.default.span.withConfig({
2578
2629
  var $variant = _a.$variant;
2579
2630
  switch ($variant) {
2580
2631
  case 'interactive':
2581
- return color$4.fill['accent-muted'];
2632
+ return color$5.fill['accent-muted'];
2582
2633
  case 'success':
2583
- return color$4.fill['success-muted'];
2634
+ return color$5.fill['success-muted'];
2584
2635
  case 'warning':
2585
- return color$4.fill['warning-muted'];
2636
+ return color$5.fill['warning-muted'];
2586
2637
  case 'error':
2587
- return color$4.fill['danger-muted'];
2638
+ return color$5.fill['danger-muted'];
2588
2639
  case 'emphasis':
2589
- return color$4.fill.emphasis;
2640
+ return color$5.fill.emphasis;
2590
2641
  default:
2591
- return color$4.fill.muted;
2642
+ return color$5.fill.muted;
2592
2643
  }
2593
2644
  }, function (_a) {
2594
2645
  var $variant = _a.$variant;
2595
2646
  switch ($variant) {
2596
2647
  case 'interactive':
2597
- return color$4.text.accent;
2648
+ return color$5.text.accent;
2598
2649
  case 'success':
2599
- return color$4.text.success;
2650
+ return color$5.text.success;
2600
2651
  case 'warning':
2601
- return color$4.text.warning;
2652
+ return color$5.text.warning;
2602
2653
  case 'error':
2603
- return color$4.text.danger;
2654
+ return color$5.text.danger;
2604
2655
  case 'emphasis':
2605
- return color$4.text.inverse;
2656
+ return color$5.text.inverse;
2606
2657
  default:
2607
- return color$4.text["default"];
2658
+ return color$5.text["default"];
2608
2659
  }
2609
2660
  }, function (_a) {
2610
2661
  var $variant = _a.$variant,
@@ -2612,17 +2663,17 @@ var StyledTag = styled__default.default.span.withConfig({
2612
2663
  if (!$border) return 'none';
2613
2664
  switch ($variant) {
2614
2665
  case 'interactive':
2615
- return "".concat(semantic$d.border.width.thin, " solid ").concat(color$4.border.accent);
2666
+ return "".concat(semantic$e.border.width.thin, " solid ").concat(color$5.border.accent);
2616
2667
  case 'success':
2617
- return "".concat(semantic$d.border.width.thin, " solid ").concat(color$4.border.success);
2668
+ return "".concat(semantic$e.border.width.thin, " solid ").concat(color$5.border.success);
2618
2669
  case 'warning':
2619
- return "".concat(semantic$d.border.width.thin, " solid ").concat(color$4.border.warning);
2670
+ return "".concat(semantic$e.border.width.thin, " solid ").concat(color$5.border.warning);
2620
2671
  case 'error':
2621
- return "".concat(semantic$d.border.width.thin, " solid ").concat(color$4.border.danger);
2672
+ return "".concat(semantic$e.border.width.thin, " solid ").concat(color$5.border.danger);
2622
2673
  case 'emphasis':
2623
- return "".concat(semantic$d.border.width.thin, " solid ").concat(color$4.fill.emphasis);
2674
+ return "".concat(semantic$e.border.width.thin, " solid ").concat(color$5.fill.emphasis);
2624
2675
  default:
2625
- return "".concat(semantic$d.border.width.thin, " solid ").concat(color$4.border["default"]);
2676
+ return "".concat(semantic$e.border.width.thin, " solid ").concat(color$5.border["default"]);
2626
2677
  }
2627
2678
  });
2628
2679
  /**
@@ -2654,28 +2705,112 @@ var Tag = function Tag(_a) {
2654
2705
  children: children
2655
2706
  }));
2656
2707
  };
2657
- var templateObject_1$u;
2708
+ var templateObject_1$v;
2709
+
2710
+ var semantic$d = tokens.semantic;
2711
+ var color$4 = semantic$d.color,
2712
+ typography$1 = semantic$d.typography,
2713
+ size$1 = semantic$d.size;
2714
+ var labels = {
2715
+ suggested: 'Suggested',
2716
+ removal: 'Will be removed'
2717
+ };
2718
+ var sizeConfig$1 = {
2719
+ small: {
2720
+ font: typography$1.caption,
2721
+ gap: semantic$d.space[100],
2722
+ icon: 'xs'
2723
+ },
2724
+ medium: {
2725
+ font: typography$1.small,
2726
+ gap: semantic$d.space[200],
2727
+ icon: 'sm'
2728
+ }
2729
+ };
2730
+ var StyledAILabel = /*#__PURE__*/styled__default.default.span.withConfig({
2731
+ shouldForwardProp: function shouldForwardProp(prop) {
2732
+ return !prop.startsWith('$');
2733
+ },
2734
+ displayName: "AILabel__StyledAILabel",
2735
+ componentId: "sc-qknkn-0"
2736
+ })(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) {
2737
+ var $size = _a.$size;
2738
+ return size$1.label[$size];
2739
+ }, function (_a) {
2740
+ var $size = _a.$size;
2741
+ return sizeConfig$1[$size].gap;
2742
+ }, function (_a) {
2743
+ var $size = _a.$size;
2744
+ return sizeConfig$1[$size].font;
2745
+ }, color$4.text.ai);
2746
+ var StyledIcon = /*#__PURE__*/styled__default.default.span.withConfig({
2747
+ displayName: "AILabel__StyledIcon",
2748
+ componentId: "sc-qknkn-1"
2749
+ })(templateObject_2$p || (templateObject_2$p = __makeTemplateObject(["\n display: inline-flex;\n color: ", ";\n"], ["\n display: inline-flex;\n color: ", ";\n"
2750
+ /**
2751
+ * AILabel marks content an agent has proposed but the user hasn't accepted (decision 0046): the AI
2752
+ * icon and a fixed label in the AI colour, never colour alone (decision 0043). It isn't a status
2753
+ * (use StatusLabel) or a category (use CategoryLabel), and it doesn't label AI features in general.
2754
+ *
2755
+ * @example
2756
+ * ```tsx
2757
+ * <AILabel /> // "Suggested"
2758
+ * <AILabel kind="removal" /> // "Will be removed"
2759
+ * ```
2760
+ */])), color$4.icon.ai);
2761
+ /**
2762
+ * AILabel marks content an agent has proposed but the user hasn't accepted (decision 0046): the AI
2763
+ * icon and a fixed label in the AI colour, never colour alone (decision 0043). It isn't a status
2764
+ * (use StatusLabel) or a category (use CategoryLabel), and it doesn't label AI features in general.
2765
+ *
2766
+ * @example
2767
+ * ```tsx
2768
+ * <AILabel /> // "Suggested"
2769
+ * <AILabel kind="removal" /> // "Will be removed"
2770
+ * ```
2771
+ */
2772
+ var AILabel = function AILabel(_a) {
2773
+ var _b = _a.kind,
2774
+ kind = _b === void 0 ? 'suggested' : _b,
2775
+ _c = _a.size,
2776
+ labelSize = _c === void 0 ? 'medium' : _c,
2777
+ dataTestId = _a["data-testid"];
2778
+ return jsxRuntime.jsxs(StyledAILabel, {
2779
+ "$size": labelSize,
2780
+ "data-testid": dataTestId,
2781
+ children: [jsxRuntime.jsx(StyledIcon, {
2782
+ "aria-hidden": "true",
2783
+ children: jsxRuntime.jsx(Icon, {
2784
+ name: "ai",
2785
+ size: sizeConfig$1[labelSize].icon,
2786
+ iconColor: "inherit"
2787
+ })
2788
+ }), labels[kind]]
2789
+ });
2790
+ };
2791
+ AILabel.displayName = 'AILabel';
2792
+ var templateObject_1$u, templateObject_2$p;
2658
2793
 
2659
2794
  // Destructure tokens for cleaner access
2660
2795
  var semantic$c = tokens.semantic;
2661
2796
  var space$7 = semantic$c.space;
2662
- var StyledBalanceSection = styled__default.default.div.withConfig({
2797
+ var StyledBalanceSection = /*#__PURE__*/styled__default.default.div.withConfig({
2663
2798
  displayName: "AccountCard__StyledBalanceSection",
2664
2799
  componentId: "sc-1erp7zn-0"
2665
2800
  })(templateObject_1$t || (templateObject_1$t = __makeTemplateObject(["\n margin-bottom: ", ";\n"], ["\n margin-bottom: ", ";\n"])), space$7[400]);
2666
- var StyledTrendSection = styled__default.default.div.withConfig({
2801
+ var StyledTrendSection = /*#__PURE__*/styled__default.default.div.withConfig({
2667
2802
  displayName: "AccountCard__StyledTrendSection",
2668
2803
  componentId: "sc-1erp7zn-1"
2669
2804
  })(templateObject_2$o || (templateObject_2$o = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n"])), space$7[100]);
2670
- styled__default.default.div.withConfig({
2805
+ /*#__PURE__*/styled__default.default.div.withConfig({
2671
2806
  displayName: "AccountCard__StyledActions",
2672
2807
  componentId: "sc-1erp7zn-2"
2673
2808
  })(templateObject_3$n || (templateObject_3$n = __makeTemplateObject(["\n display: flex;\n gap: ", ";\n margin-top: auto;\n"], ["\n display: flex;\n gap: ", ";\n margin-top: auto;\n"])), space$7[200]);
2674
- var StyledStackWrapper = styled__default.default.div.withConfig({
2809
+ var StyledStackWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
2675
2810
  displayName: "AccountCard__StyledStackWrapper",
2676
2811
  componentId: "sc-1erp7zn-3"
2677
2812
  })(templateObject_4$i || (templateObject_4$i = __makeTemplateObject(["\n height: 100%;\n"], ["\n height: 100%;\n"])));
2678
- var StyledHeaderWrapper = styled__default.default.div.withConfig({
2813
+ var StyledHeaderWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
2679
2814
  displayName: "AccountCard__StyledHeaderWrapper",
2680
2815
  componentId: "sc-1erp7zn-4"
2681
2816
  })(templateObject_5$f || (templateObject_5$f = __makeTemplateObject(["\n min-height: ", ";\n display: flex;\n flex-direction: column;\n justify-content: center;\n gap: ", ";\n\n & > span {\n margin-top: calc(-1 * ", ");\n }\n"], ["\n min-height: ", ";\n display: flex;\n flex-direction: column;\n justify-content: center;\n gap: ", ";\n\n & > span {\n margin-top: calc(-1 * ", ");\n }\n"
@@ -2841,7 +2976,7 @@ var semantic$b = tokens.semantic;
2841
2976
  var _a$4 = semantic$b.motion,
2842
2977
  duration$2 = _a$4.duration,
2843
2978
  easing$2 = _a$4.easing;
2844
- var StyledListItem = styled__default.default.li.withConfig({
2979
+ var StyledListItem = /*#__PURE__*/styled__default.default.li.withConfig({
2845
2980
  shouldForwardProp: function shouldForwardProp(prop) {
2846
2981
  return !prop.startsWith('$');
2847
2982
  },
@@ -2858,7 +2993,7 @@ var StyledListItem = styled__default.default.li.withConfig({
2858
2993
  $disabled = _a.$disabled;
2859
2994
  return $destructive && !$disabled && "\n color: ".concat(semantic$b.color.text.danger, ";\n ");
2860
2995
  });
2861
- var StyledItemContent = styled__default.default.div.withConfig({
2996
+ var StyledItemContent = /*#__PURE__*/styled__default.default.div.withConfig({
2862
2997
  shouldForwardProp: function shouldForwardProp(prop) {
2863
2998
  return !prop.startsWith('$');
2864
2999
  },
@@ -2883,19 +3018,19 @@ var StyledItemContent = styled__default.default.div.withConfig({
2883
3018
  textSelector: "".concat(StyledTextContent, " > :first-child")
2884
3019
  });
2885
3020
  }, semantic$b.border.focus, semantic$b.border.focusOffset);
2886
- var StyledIconContainer$1 = styled__default.default.div.withConfig({
3021
+ var StyledIconContainer$1 = /*#__PURE__*/styled__default.default.div.withConfig({
2887
3022
  displayName: "ListItem__StyledIconContainer",
2888
3023
  componentId: "sc-1wzzt21-2"
2889
3024
  })(templateObject_3$m || (templateObject_3$m = __makeTemplateObject(["\n display: flex;\n align-items: center;\n flex-shrink: 0;\n width: ", ";\n height: ", ";\n"], ["\n display: flex;\n align-items: center;\n flex-shrink: 0;\n width: ", ";\n height: ", ";\n"])), semantic$b.size.icon.lg, semantic$b.size.icon.lg);
2890
- var StyledTextContent = styled__default.default.div.withConfig({
3025
+ var StyledTextContent = /*#__PURE__*/styled__default.default.div.withConfig({
2891
3026
  displayName: "ListItem__StyledTextContent",
2892
3027
  componentId: "sc-1wzzt21-3"
2893
3028
  })(templateObject_4$h || (templateObject_4$h = __makeTemplateObject(["\n flex: 1;\n display: flex;\n flex-direction: column;\n gap: ", ";\n min-width: 0; /* Allow text truncation */\n"], ["\n flex: 1;\n display: flex;\n flex-direction: column;\n gap: ", ";\n min-width: 0; /* Allow text truncation */\n"])), semantic$b.space[100]);
2894
- var StyledRightContent = styled__default.default.div.withConfig({
3029
+ var StyledRightContent = /*#__PURE__*/styled__default.default.div.withConfig({
2895
3030
  displayName: "ListItem__StyledRightContent",
2896
3031
  componentId: "sc-1wzzt21-4"
2897
3032
  })(templateObject_5$e || (templateObject_5$e = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n flex-shrink: 0;\n margin-left: auto;\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n flex-shrink: 0;\n margin-left: auto;\n"])), semantic$b.space[200]);
2898
- var StyledChevronIcon = styled__default.default.div.withConfig({
3033
+ var StyledChevronIcon = /*#__PURE__*/styled__default.default.div.withConfig({
2899
3034
  shouldForwardProp: function shouldForwardProp(prop) {
2900
3035
  return !prop.startsWith('$');
2901
3036
  },
@@ -2905,7 +3040,7 @@ var StyledChevronIcon = styled__default.default.div.withConfig({
2905
3040
  var $expanded = _a.$expanded;
2906
3041
  return $expanded ? '180deg' : '0deg';
2907
3042
  }, reducedMotion);
2908
- var StyledExpandedContent = styled__default.default.div.withConfig({
3043
+ var StyledExpandedContent = /*#__PURE__*/styled__default.default.div.withConfig({
2909
3044
  shouldForwardProp: function shouldForwardProp(prop) {
2910
3045
  return !prop.startsWith('$');
2911
3046
  },
@@ -3099,14 +3234,14 @@ var _a$3 = tokens.semantic,
3099
3234
  elevation$2 = _a$3.elevation;
3100
3235
  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"])));
3101
3236
  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"])));
3102
- var StyledOverlay$2 = styled__default.default.div.withConfig({
3237
+ var StyledOverlay$2 = /*#__PURE__*/styled__default.default.div.withConfig({
3103
3238
  displayName: "ActionSheet__StyledOverlay",
3104
3239
  componentId: "sc-regbol-0"
3105
3240
  })(templateObject_3$l || (templateObject_3$l = __makeTemplateObject(["\n position: fixed;\n inset: 0;\n background-color: ", ";\n z-index: ", ";\n animation: ", " ", " ", "", ";\n"], ["\n position: fixed;\n inset: 0;\n background-color: ", ";\n z-index: ", ";\n animation: ", " ", " ", "", ";\n"])), tokens.semantic.surface.scrim, tokens.semantic.layer.modal, fadeIn$2, motion$3.duration.moderate, motion$3.easing.decelerate, function (_a) {
3106
3241
  var $isExiting = _a.$isExiting;
3107
3242
  return $isExiting && exitAnimation;
3108
3243
  });
3109
- var StyledActionSheet = styled__default.default.div.withConfig({
3244
+ var StyledActionSheet = /*#__PURE__*/styled__default.default.div.withConfig({
3110
3245
  displayName: "ActionSheet__StyledActionSheet",
3111
3246
  componentId: "sc-regbol-1"
3112
3247
  })(templateObject_4$g || (templateObject_4$g = __makeTemplateObject(["\n position: fixed;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: ", ";\n border-top-left-radius: ", ";\n border-top-right-radius: ", ";\n box-shadow: ", ";\n max-height: 90vh;\n overflow-y: auto;\n z-index: ", ";\n animation: ", " ", " ", "", ";\n\n ", " {\n animation: ", " ", " ", "", ";\n }\n\n"], ["\n position: fixed;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: ", ";\n border-top-left-radius: ", ";\n border-top-right-radius: ", ";\n box-shadow: ", ";\n max-height: 90vh;\n overflow-y: auto;\n z-index: ", ";\n animation: ", " ", " ", "", ";\n\n ", " {\n animation: ", " ", " ", "", ";\n }\n\n"])), tokens.semantic.surface.raised, tokens.semantic.radius.lg, tokens.semantic.radius.lg, elevation$2.overlay, tokens.semantic.layer.modal, slideUp, motion$3.duration.slow, motion$3.easing.decelerate, function (_a) {
@@ -3116,19 +3251,19 @@ var StyledActionSheet = styled__default.default.div.withConfig({
3116
3251
  var $isExiting = _a.$isExiting;
3117
3252
  return $isExiting && exitAnimation;
3118
3253
  });
3119
- var StyledHeader$2 = styled__default.default.div.withConfig({
3254
+ var StyledHeader$2 = /*#__PURE__*/styled__default.default.div.withConfig({
3120
3255
  displayName: "ActionSheet__StyledHeader",
3121
3256
  componentId: "sc-regbol-2"
3122
3257
  })(templateObject_5$d || (templateObject_5$d = __makeTemplateObject(["\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n padding: ", " ", " ", ";\n border-bottom: ", ";\n"], ["\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n padding: ", " ", " ", ";\n border-bottom: ", ";\n"])), space$6[400], space$6[400], space$6[300], border$2["default"]);
3123
- var StyledHeaderContent = styled__default.default.div.withConfig({
3258
+ var StyledHeaderContent = /*#__PURE__*/styled__default.default.div.withConfig({
3124
3259
  displayName: "ActionSheet__StyledHeaderContent",
3125
3260
  componentId: "sc-regbol-3"
3126
3261
  })(templateObject_6$a || (templateObject_6$a = __makeTemplateObject(["\n flex: 1;\n"], ["\n flex: 1;\n"])));
3127
- var StyledCloseButton = styled__default.default.button.withConfig({
3262
+ var StyledCloseButton = /*#__PURE__*/styled__default.default.button.withConfig({
3128
3263
  displayName: "ActionSheet__StyledCloseButton",
3129
3264
  componentId: "sc-regbol-4"
3130
3265
  })(templateObject_7$8 || (templateObject_7$8 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n padding: ", ";\n border: none;\n background: transparent;\n color: ", ";\n cursor: pointer;\n border-radius: ", ";\n transition: ", ";\n margin-left: ", ";\n \n &:hover {\n color: ", ";\n background-color: ", ";\n }\n \n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n padding: ", ";\n border: none;\n background: transparent;\n color: ", ";\n cursor: pointer;\n border-radius: ", ";\n transition: ", ";\n margin-left: ", ";\n \n &:hover {\n color: ", ";\n background-color: ", ";\n }\n \n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n }\n"])), space$6[200], color$3.icon.muted, tokens.semantic.radius.sm, motion$3.transition.feedback, space$6[200], color$3.icon["default"], color$3.fill.muted, border$2.focus, border$2.focusOffset);
3131
- var StyledActionsList = styled__default.default.ul.withConfig({
3266
+ var StyledActionsList = /*#__PURE__*/styled__default.default.ul.withConfig({
3132
3267
  displayName: "ActionSheet__StyledActionsList",
3133
3268
  componentId: "sc-regbol-5"
3134
3269
  })(templateObject_8$7 || (templateObject_8$7 = __makeTemplateObject(["\n padding: ", " ", ";\n margin: 0;\n list-style: none;\n"], ["\n padding: ", " ", ";\n margin: 0;\n list-style: none;\n"
@@ -3370,6 +3505,10 @@ function detectSpeechRecognitionConstructor(targetWindow) {
3370
3505
  function normalizeTranscript(input) {
3371
3506
  return input.replace(/\s+/g, ' ').trim();
3372
3507
  }
3508
+ /** Typed text: like a transcript, but line breaks are kept (spaces around them are dropped). */
3509
+ function normalizeMessage(input) {
3510
+ return input.replace(/[^\S\n]+/g, ' ').replace(/ ?\n ?/g, '\n').trim();
3511
+ }
3373
3512
  function mapSpeechErrorCode(error) {
3374
3513
  switch (error) {
3375
3514
  case 'not-allowed':
@@ -3456,94 +3595,165 @@ function agentInputStateTransition(currentState, event) {
3456
3595
 
3457
3596
  var semantic$a = tokens.semantic,
3458
3597
  component$1 = tokens.component;
3459
- var DEFAULT_IDLE_HELPER = 'Ask about transactions, spending, or transfers';
3460
3598
  var DEFAULT_LISTENING_MESSAGE = 'Listening… speak now';
3461
3599
  var DEFAULT_PROCESSING_MESSAGE = 'Finishing voice input…';
3600
+ // The counter appears from this share of maxLength
3601
+ var COUNTER_THRESHOLD = 0.8;
3602
+ // Layout effects warn during server rendering in React 18
3603
+ var useIsomorphicLayoutEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;
3462
3604
  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"])));
3463
- var Container = styled__default.default.div.withConfig({
3605
+ var Container = /*#__PURE__*/styled__default.default.div.withConfig({
3606
+ shouldForwardProp: function shouldForwardProp(prop) {
3607
+ return !prop.startsWith('$');
3608
+ },
3464
3609
  displayName: "AgentInput__Container",
3465
3610
  componentId: "sc-fhl996-0"
3466
- })(templateObject_2$l || (templateObject_2$l = __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"])), semantic$a.space[200]);
3467
- var ControlsRow = styled__default.default.div.withConfig({
3611
+ })(templateObject_3$k || (templateObject_3$k = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n gap: ", ";\n width: 100%;\n\n ", "\n"], ["\n display: flex;\n flex-direction: column;\n gap: ", ";\n width: 100%;\n\n ", "\n"])), semantic$a.space[200], function (_a) {
3612
+ var $docked = _a.$docked;
3613
+ return $docked && styled.css(templateObject_2$l || (templateObject_2$l = __makeTemplateObject(["\n position: sticky;\n bottom: 0;\n z-index: ", ";\n /* The band hides content scrolling past the field and status line (decisions 0006, 0031) */\n background-color: ", ";\n padding-top: ", ";\n /* Clears the home indicator; zero unless the page sets viewport-fit=cover */\n padding-bottom: env(safe-area-inset-bottom, 0px);\n "], ["\n position: sticky;\n bottom: 0;\n z-index: ", ";\n /* The band hides content scrolling past the field and status line (decisions 0006, 0031) */\n background-color: ", ";\n padding-top: ", ";\n /* Clears the home indicator; zero unless the page sets viewport-fit=cover */\n padding-bottom: env(safe-area-inset-bottom, 0px);\n "])), semantic$a.layer.sticky, semantic$a.surface.base, semantic$a.space[300]);
3614
+ });
3615
+ var ControlsRow = /*#__PURE__*/styled__default.default.div.withConfig({
3468
3616
  displayName: "AgentInput__ControlsRow",
3469
3617
  componentId: "sc-fhl996-1"
3470
- })(templateObject_3$k || (templateObject_3$k = __makeTemplateObject(["\n width: 100%;\n"], ["\n width: 100%;\n"])));
3471
- var InputShell = styled__default.default.div.withConfig({
3618
+ })(templateObject_4$f || (templateObject_4$f = __makeTemplateObject(["\n width: 100%;\n"], ["\n width: 100%;\n"])));
3619
+ var InputShell = /*#__PURE__*/styled__default.default.div.withConfig({
3472
3620
  displayName: "AgentInput__InputShell",
3473
3621
  componentId: "sc-fhl996-2"
3474
- })(templateObject_4$f || (templateObject_4$f = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n width: 100%;\n padding: ", " ", " ", " ", ";\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n box-shadow: ", ";\n transition: border-color ", " ", ", outline ", " ", ";\n\n &:focus-within {\n border-color: ", ";\n outline: ", ";\n outline-offset: ", ";\n }\n\n &[data-disabled='true'] {\n background-color: ", ";\n border-color: ", ";\n }\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n width: 100%;\n padding: ", " ", " ", " ", ";\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n box-shadow: ", ";\n transition: border-color ", " ", ", outline ", " ", ";\n\n &:focus-within {\n border-color: ", ";\n outline: ", ";\n outline-offset: ", ";\n }\n\n &[data-disabled='true'] {\n background-color: ", ";\n border-color: ", ";\n }\n"])), semantic$a.space[200], semantic$a.space[100], semantic$a.space[200], semantic$a.space[100], semantic$a.space.inset.lg, component$1.input["default"].backgroundColor, component$1.input["default"].borderWidth, component$1.input["default"].borderColor, semantic$a.radius['3xl'], semantic$a.elevation.raised, semantic$a.motion.duration.moderate, semantic$a.motion.easing.standard, semantic$a.motion.duration.moderate, semantic$a.motion.easing.standard, component$1.input.focus.borderColor, component$1.input.focus.outline, semantic$a.border.focusOffset, component$1.input.disabled.backgroundColor, component$1.input.disabled.borderColor);
3475
- var Input = styled__default.default.input.withConfig({
3622
+ })(templateObject_5$c || (templateObject_5$c = __makeTemplateObject(["\n display: flex;\n /* Actions sit beside the last line as the field grows */\n align-items: flex-end;\n gap: ", ";\n width: 100%;\n padding: ", " ", " ", " ", ";\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n box-shadow: ", ";\n transition: border-color ", " ", ", outline ", " ", ";\n\n &:focus-within {\n border-color: ", ";\n outline: ", ";\n outline-offset: ", ";\n }\n\n &[data-disabled='true'] {\n background-color: ", ";\n border-color: ", ";\n }\n"], ["\n display: flex;\n /* Actions sit beside the last line as the field grows */\n align-items: flex-end;\n gap: ", ";\n width: 100%;\n padding: ", " ", " ", " ", ";\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n box-shadow: ", ";\n transition: border-color ", " ", ", outline ", " ", ";\n\n &:focus-within {\n border-color: ", ";\n outline: ", ";\n outline-offset: ", ";\n }\n\n &[data-disabled='true'] {\n background-color: ", ";\n border-color: ", ";\n }\n"
3623
+ // One row is a control-height field; it grows with its content to six rows, then scrolls.
3624
+ // The height is set from scrollHeight in resizeField; 1lh is the body line height.
3625
+ ])), semantic$a.space[200], semantic$a.space[100], semantic$a.space[200], semantic$a.space[100], semantic$a.space.inset.lg, component$1.input["default"].backgroundColor, component$1.input["default"].borderWidth, component$1.input["default"].borderColor, semantic$a.radius['3xl'], semantic$a.elevation.raised, semantic$a.motion.duration.moderate, semantic$a.motion.easing.standard, semantic$a.motion.duration.moderate, semantic$a.motion.easing.standard, component$1.input.focus.borderColor, component$1.input.focus.outline, semantic$a.border.focusOffset, component$1.input.disabled.backgroundColor, component$1.input.disabled.borderColor);
3626
+ // One row is a control-height field; it grows with its content to six rows, then scrolls.
3627
+ // The height is set from scrollHeight in resizeField; 1lh is the body line height.
3628
+ var Input = /*#__PURE__*/styled__default.default.textarea.withConfig({
3476
3629
  displayName: "AgentInput__Input",
3477
3630
  componentId: "sc-fhl996-3"
3478
- })(templateObject_5$c || (templateObject_5$c = __makeTemplateObject(["\n flex: 1;\n min-width: 0;\n min-height: ", ";\n border: none;\n background: transparent;\n font: ", ";\n color: ", ";\n outline: none;\n\n &::placeholder {\n color: ", ";\n /* Firefox fades placeholders to 0.54 by default, which would undo the 4.5:1 contrast */\n opacity: 1;\n }\n\n &:disabled {\n color: ", ";\n cursor: not-allowed;\n }\n"], ["\n flex: 1;\n min-width: 0;\n min-height: ", ";\n border: none;\n background: transparent;\n font: ", ";\n color: ", ";\n outline: none;\n\n &::placeholder {\n color: ", ";\n /* Firefox fades placeholders to 0.54 by default, which would undo the 4.5:1 contrast */\n opacity: 1;\n }\n\n &:disabled {\n color: ", ";\n cursor: not-allowed;\n }\n"])), semantic$a.size.control.lg, semantic$a.typography.body, semantic$a.color.text["default"], component$1.input.placeholder.textColor, semantic$a.color.text.disabled);
3479
- var InputActions = styled__default.default.div.withConfig({
3631
+ })(templateObject_6$9 || (templateObject_6$9 = __makeTemplateObject(["\n display: block;\n flex: 1;\n min-width: 0;\n box-sizing: border-box;\n height: ", ";\n min-height: ", ";\n max-height: calc(5lh + ", ");\n margin: 0;\n padding: calc((", " - 1lh) / 2) 0;\n resize: none;\n overflow-y: hidden;\n border: none;\n background: transparent;\n font: ", ";\n color: ", ";\n outline: none;\n\n &::placeholder {\n color: ", ";\n /* Firefox fades placeholders to 0.54 by default, which would undo the 4.5:1 contrast */\n opacity: 1;\n }\n\n &:disabled {\n color: ", ";\n cursor: not-allowed;\n }\n"], ["\n display: block;\n flex: 1;\n min-width: 0;\n box-sizing: border-box;\n height: ", ";\n min-height: ", ";\n max-height: calc(5lh + ", ");\n margin: 0;\n padding: calc((", " - 1lh) / 2) 0;\n resize: none;\n overflow-y: hidden;\n border: none;\n background: transparent;\n font: ", ";\n color: ", ";\n outline: none;\n\n &::placeholder {\n color: ", ";\n /* Firefox fades placeholders to 0.54 by default, which would undo the 4.5:1 contrast */\n opacity: 1;\n }\n\n &:disabled {\n color: ", ";\n cursor: not-allowed;\n }\n"])), semantic$a.size.control.lg, semantic$a.size.control.lg, semantic$a.size.control.lg, semantic$a.size.control.lg, semantic$a.typography.body, semantic$a.color.text["default"], component$1.input.placeholder.textColor, semantic$a.color.text.disabled);
3632
+ var InputActions = /*#__PURE__*/styled__default.default.div.withConfig({
3480
3633
  displayName: "AgentInput__InputActions",
3481
3634
  componentId: "sc-fhl996-4"
3482
- })(templateObject_6$9 || (templateObject_6$9 = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n gap: ", ";\n"], ["\n display: inline-flex;\n align-items: center;\n gap: ", ";\n"])), semantic$a.space[200]);
3483
- var CircularActionIconButton = styled__default.default(IconButton).withConfig({
3635
+ })(templateObject_7$7 || (templateObject_7$7 = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n gap: ", ";\n /* Centres the buttons on a one-row field, and keeps them level with the last line as it grows */\n padding-bottom: calc((", " - ", ") / 2);\n"], ["\n display: inline-flex;\n align-items: center;\n gap: ", ";\n /* Centres the buttons on a one-row field, and keeps them level with the last line as it grows */\n padding-bottom: calc((", " - ", ") / 2);\n"])), semantic$a.space[200], semantic$a.size.control.lg, semantic$a.size.control.md);
3636
+ var CircularActionIconButton = /*#__PURE__*/styled__default.default(IconButton).withConfig({
3484
3637
  displayName: "AgentInput__CircularActionIconButton",
3485
3638
  componentId: "sc-fhl996-5"
3486
- })(templateObject_7$7 || (templateObject_7$7 = __makeTemplateObject(["\n border-radius: ", ";\n"], ["\n border-radius: ", ";\n"])), semantic$a.radius.full);
3487
- var InputWrapper = styled__default.default.div.withConfig({
3639
+ })(templateObject_8$6 || (templateObject_8$6 = __makeTemplateObject(["\n border-radius: ", ";\n"], ["\n border-radius: ", ";\n"])), semantic$a.radius.full);
3640
+ var InputWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
3488
3641
  displayName: "AgentInput__InputWrapper",
3489
3642
  componentId: "sc-fhl996-6"
3490
- })(templateObject_8$6 || (templateObject_8$6 = __makeTemplateObject(["\n flex: 1;\n min-width: 0;\n"], ["\n flex: 1;\n min-width: 0;\n"])));
3491
- var MicButtonWrapper = styled__default.default.div.withConfig({
3643
+ })(templateObject_9$5 || (templateObject_9$5 = __makeTemplateObject(["\n flex: 1;\n min-width: 0;\n"], ["\n flex: 1;\n min-width: 0;\n"])));
3644
+ var MicButtonWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
3492
3645
  shouldForwardProp: function shouldForwardProp(prop) {
3493
3646
  return !prop.startsWith('$');
3494
3647
  },
3495
3648
  displayName: "AgentInput__MicButtonWrapper",
3496
3649
  componentId: "sc-fhl996-7"
3497
- })(templateObject_9$5 || (templateObject_9$5 = __makeTemplateObject(["\n position: relative;\n display: inline-flex;\n border-radius: ", ";\n\n & > button {\n position: relative;\n z-index: 1;\n }\n"], ["\n position: relative;\n display: inline-flex;\n border-radius: ", ";\n\n & > button {\n position: relative;\n z-index: 1;\n }\n"
3650
+ })(templateObject_10$3 || (templateObject_10$3 = __makeTemplateObject(["\n position: relative;\n display: inline-flex;\n border-radius: ", ";\n\n & > button {\n position: relative;\n z-index: 1;\n }\n"], ["\n position: relative;\n display: inline-flex;\n border-radius: ", ";\n\n & > button {\n position: relative;\n z-index: 1;\n }\n"
3498
3651
  // Masks read only alpha, so the opaque stop is a mask value, not a colour (decision 0010).
3499
3652
  // eslint-disable-next-line no-restricted-syntax
3500
3653
  ])), semantic$a.radius.full);
3501
3654
  // Masks read only alpha, so the opaque stop is a mask value, not a colour (decision 0010).
3502
3655
  // eslint-disable-next-line no-restricted-syntax
3503
- var ringMask = styled.css(templateObject_10$3 || (templateObject_10$3 = __makeTemplateObject(["radial-gradient(farthest-side, transparent calc(100% - var(--ring-thickness)), #000 calc(100% - var(--ring-thickness)))"], ["radial-gradient(farthest-side, transparent calc(100% - var(--ring-thickness)), #000 calc(100% - var(--ring-thickness)))"])));
3504
- var MicListeningRing = styled__default.default.span.withConfig({
3656
+ var ringMask = styled.css(templateObject_11$3 || (templateObject_11$3 = __makeTemplateObject(["radial-gradient(farthest-side, transparent calc(100% - var(--ring-thickness)), #000 calc(100% - var(--ring-thickness)))"], ["radial-gradient(farthest-side, transparent calc(100% - var(--ring-thickness)), #000 calc(100% - var(--ring-thickness)))"])));
3657
+ var MicListeningRing = /*#__PURE__*/styled__default.default.span.withConfig({
3505
3658
  shouldForwardProp: function shouldForwardProp(prop) {
3506
3659
  return !prop.startsWith('$');
3507
3660
  },
3508
3661
  displayName: "AgentInput__MicListeningRing",
3509
3662
  componentId: "sc-fhl996-8"
3510
- })(templateObject_12$3 || (templateObject_12$3 = __makeTemplateObject(["\n --ring-thickness: ", ";\n position: absolute;\n inset: calc(-1 * ", " - ", ");\n border-radius: ", ";\n pointer-events: none;\n z-index: 0;\n background: conic-gradient(\n from 0deg,\n ", " 0deg,\n ", " 110deg,\n ", " 210deg,\n ", " 300deg,\n ", " 360deg\n );\n mask: ", ";\n -webkit-mask: ", ";\n\n ", "\n\n @media (prefers-reduced-motion: reduce) {\n animation: none;\n }\n"], ["\n --ring-thickness: ", ";\n position: absolute;\n inset: calc(-1 * ", " - ", ");\n border-radius: ", ";\n pointer-events: none;\n z-index: 0;\n background: conic-gradient(\n from 0deg,\n ", " 0deg,\n ", " 110deg,\n ", " 210deg,\n ", " 300deg,\n ", " 360deg\n );\n mask: ", ";\n -webkit-mask: ", ";\n\n ", "\n\n @media (prefers-reduced-motion: reduce) {\n animation: none;\n }\n"])), semantic$a.border.width.thick, semantic$a.space[100], semantic$a.border.focusOffset, semantic$a.radius.full, semantic$a.color.fill['accent-muted'], semantic$a.color.fill.accent, semantic$a.color.fill['accent-hover'], semantic$a.color.fill.accent, semantic$a.color.fill['accent-muted'], ringMask, ringMask, function (_a) {
3663
+ })(templateObject_13$3 || (templateObject_13$3 = __makeTemplateObject(["\n --ring-thickness: ", ";\n position: absolute;\n inset: calc(-1 * ", " - ", ");\n border-radius: ", ";\n pointer-events: none;\n z-index: 0;\n background: conic-gradient(\n from 0deg,\n ", " 0deg,\n ", " 110deg,\n ", " 210deg,\n ", " 300deg,\n ", " 360deg\n );\n mask: ", ";\n -webkit-mask: ", ";\n\n ", "\n\n @media (prefers-reduced-motion: reduce) {\n animation: none;\n }\n"], ["\n --ring-thickness: ", ";\n position: absolute;\n inset: calc(-1 * ", " - ", ");\n border-radius: ", ";\n pointer-events: none;\n z-index: 0;\n background: conic-gradient(\n from 0deg,\n ", " 0deg,\n ", " 110deg,\n ", " 210deg,\n ", " 300deg,\n ", " 360deg\n );\n mask: ", ";\n -webkit-mask: ", ";\n\n ", "\n\n @media (prefers-reduced-motion: reduce) {\n animation: none;\n }\n"
3664
+ // Maximum suggestions shown (decision 0046, #280)
3665
+ ])), semantic$a.border.width.thick, semantic$a.space[100], semantic$a.border.focusOffset, semantic$a.radius.full, semantic$a.color.fill['accent-muted'], semantic$a.color.fill.accent, semantic$a.color.fill['accent-hover'], semantic$a.color.fill.accent, semantic$a.color.fill['accent-muted'], ringMask, ringMask, function (_a) {
3511
3666
  var $reducedMotion = _a.$reducedMotion;
3512
- return !$reducedMotion && styled.css(templateObject_11$3 || (templateObject_11$3 = __makeTemplateObject(["\n animation: ", " 1300ms linear infinite;\n "], ["\n animation: ", " 1300ms linear infinite;\n "])), rotateRing);
3667
+ return !$reducedMotion && styled.css(templateObject_12$3 || (templateObject_12$3 = __makeTemplateObject(["\n animation: ", " 1300ms linear infinite;\n "], ["\n animation: ", " 1300ms linear infinite;\n "])), rotateRing);
3513
3668
  });
3514
- var StatusRow = styled__default.default.div.withConfig({
3515
- displayName: "AgentInput__StatusRow",
3669
+ // Maximum suggestions shown (decision 0046, #280)
3670
+ var MAX_SUGGESTIONS = 3;
3671
+ var regionEnter = styled.keyframes(templateObject_14$1 || (templateObject_14$1 = __makeTemplateObject(["\n from {\n opacity: 0;\n transform: translateY(", ");\n }\n"], ["\n from {\n opacity: 0;\n transform: translateY(", ");\n }\n"])), semantic$a.motion.distance.sm);
3672
+ var regionFadeIn = styled.keyframes(templateObject_15$1 || (templateObject_15$1 = __makeTemplateObject(["\n from {\n opacity: 0;\n }\n"], ["\n from {\n opacity: 0;\n }\n"
3673
+ // Leaving content fades, then its space closes, as with Alert's dismiss (decision 0015). A grid
3674
+ // row from 1fr to 0fr collapses to the content's own height without measuring it.
3675
+ ])));
3676
+ // Leaving content fades, then its space closes, as with Alert's dismiss (decision 0015). A grid
3677
+ // row from 1fr to 0fr collapses to the content's own height without measuring it.
3678
+ var regionFadeThenCollapse = styled.keyframes(templateObject_16$1 || (templateObject_16$1 = __makeTemplateObject(["\n 0%, 50% {\n grid-template-rows: 1fr;\n }\n 0% {\n opacity: 1;\n }\n 50%, 100% {\n opacity: 0;\n }\n 100% {\n grid-template-rows: 0fr;\n }\n"], ["\n 0%, 50% {\n grid-template-rows: 1fr;\n }\n 0% {\n opacity: 1;\n }\n 50%, 100% {\n opacity: 0;\n }\n 100% {\n grid-template-rows: 0fr;\n }\n"])));
3679
+ var regionFadeOut = styled.keyframes(templateObject_17$1 || (templateObject_17$1 = __makeTemplateObject(["\n to {\n opacity: 0;\n }\n"], ["\n to {\n opacity: 0;\n }\n"
3680
+ // One part of the region above the field: the review bar or the suggestions
3681
+ ])));
3682
+ // One part of the region above the field: the review bar or the suggestions
3683
+ var RegionItem = /*#__PURE__*/styled__default.default.div.withConfig({
3684
+ shouldForwardProp: function shouldForwardProp(prop) {
3685
+ return !prop.startsWith('$');
3686
+ },
3687
+ displayName: "AgentInput__RegionItem",
3516
3688
  componentId: "sc-fhl996-9"
3517
- })(templateObject_13$3 || (templateObject_13$3 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: ", ";\n min-height: ", ";\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: ", ";\n min-height: ", ";\n"])), semantic$a.space[300], semantic$a.space[600]);
3518
- var StatusText = styled__default.default.div.withConfig({
3689
+ })(templateObject_21$1 || (templateObject_21$1 = __makeTemplateObject(["\n display: grid;\n grid-template-rows: 1fr;\n animation: ", " ", " ", ";\n\n ", " {\n animation-name: ", ";\n }\n\n ", "\n"], ["\n display: grid;\n grid-template-rows: 1fr;\n animation: ", " ", " ", ";\n\n ", " {\n animation-name: ", ";\n }\n\n ", "\n"
3690
+ // Clips while the row collapses. Its bottom padding is the space to the next part, so it closes too.
3691
+ ])), regionEnter, semantic$a.motion.duration.moderate, semantic$a.motion.easing.decelerate, reducedMotion, regionFadeIn, function (_a) {
3692
+ var $exiting = _a.$exiting,
3693
+ $reducedExit = _a.$reducedExit;
3694
+ return $exiting && styled.css(templateObject_20$1 || (templateObject_20$1 = __makeTemplateObject(["\n pointer-events: none;\n animation: ", ";\n "], ["\n pointer-events: none;\n animation: ", ";\n "])), $reducedExit ? styled.css(templateObject_18$1 || (templateObject_18$1 = __makeTemplateObject(["", " ", " ", " forwards"], ["", " ", " ", " forwards"])), regionFadeOut, semantic$a.motion.duration.fast, semantic$a.motion.easing.accelerate) : styled.css(templateObject_19$1 || (templateObject_19$1 = __makeTemplateObject(["", " calc(2 * ", ") ", " forwards"], ["", " calc(2 * ", ") ", " forwards"])), regionFadeThenCollapse, semantic$a.motion.duration.fast, semantic$a.motion.easing.accelerate));
3695
+ });
3696
+ // Clips while the row collapses. Its bottom padding is the space to the next part, so it closes too.
3697
+ var RegionItemContent = /*#__PURE__*/styled__default.default.div.withConfig({
3698
+ displayName: "AgentInput__RegionItemContent",
3699
+ componentId: "sc-fhl996-10"
3700
+ })(templateObject_22$1 || (templateObject_22$1 = __makeTemplateObject(["\n min-height: 0;\n overflow: hidden;\n padding-bottom: ", ";\n padding-left: ", ";\n"], ["\n min-height: 0;\n overflow: hidden;\n padding-bottom: ", ";\n padding-left: ", ";\n"
3701
+ // The summary first, then the actions, left-aligned after it; they wrap below on narrow screens (0021)
3702
+ ])), semantic$a.space[200], semantic$a.space[500]);
3703
+ // The summary first, then the actions, left-aligned after it; they wrap below on narrow screens (0021)
3704
+ var ReviewBar = /*#__PURE__*/styled__default.default.div.withConfig({
3705
+ displayName: "AgentInput__ReviewBar",
3706
+ componentId: "sc-fhl996-11"
3707
+ })(templateObject_23$1 || (templateObject_23$1 = __makeTemplateObject(["\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n column-gap: ", ";\n row-gap: ", ";\n"], ["\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n column-gap: ", ";\n row-gap: ", ";\n"])), semantic$a.space[300], semantic$a.space[200]);
3708
+ var ReviewActions = /*#__PURE__*/styled__default.default.div.withConfig({
3709
+ displayName: "AgentInput__ReviewActions",
3710
+ componentId: "sc-fhl996-12"
3711
+ })(templateObject_24$1 || (templateObject_24$1 = __makeTemplateObject(["\n display: flex;\n flex-wrap: wrap;\n gap: ", ";\n"], ["\n display: flex;\n flex-wrap: wrap;\n gap: ", ";\n"])), semantic$a.space[200]);
3712
+ var SuggestionList = /*#__PURE__*/styled__default.default.ul.withConfig({
3713
+ displayName: "AgentInput__SuggestionList",
3714
+ componentId: "sc-fhl996-13"
3715
+ })(templateObject_25$1 || (templateObject_25$1 = __makeTemplateObject(["\n display: flex;\n flex-wrap: wrap;\n gap: ", ";\n margin: 0;\n padding: 0;\n list-style: none;\n\n & > li {\n max-width: 100%;\n }\n"], ["\n display: flex;\n flex-wrap: wrap;\n gap: ", ";\n margin: 0;\n padding: 0;\n list-style: none;\n\n & > li {\n max-width: 100%;\n }\n"])), semantic$a.space[200]);
3716
+ var StatusRow = /*#__PURE__*/styled__default.default.div.withConfig({
3717
+ displayName: "AgentInput__StatusRow",
3718
+ componentId: "sc-fhl996-14"
3719
+ })(templateObject_26$1 || (templateObject_26$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: ", ";\n min-height: ", ";\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: ", ";\n min-height: ", ";\n"])), semantic$a.space[300], semantic$a.space[600]);
3720
+ var StatusText = /*#__PURE__*/styled__default.default.div.withConfig({
3519
3721
  shouldForwardProp: function shouldForwardProp(prop) {
3520
3722
  return !prop.startsWith('$');
3521
3723
  },
3522
3724
  displayName: "AgentInput__StatusText",
3523
- componentId: "sc-fhl996-10"
3524
- })(templateObject_14$1 || (templateObject_14$1 = __makeTemplateObject(["\n padding-left: ", ";\n"], ["\n padding-left: ", ";\n"])), semantic$a.space[500]);
3525
- var StatusAnnouncement = styled__default.default.div.withConfig({
3725
+ componentId: "sc-fhl996-15"
3726
+ })(templateObject_27$1 || (templateObject_27$1 = __makeTemplateObject(["\n padding-left: ", ";\n"], ["\n padding-left: ", ";\n"])), semantic$a.space[500]);
3727
+ var StatusAnnouncement = /*#__PURE__*/styled__default.default.div.withConfig({
3526
3728
  displayName: "AgentInput__StatusAnnouncement",
3527
- componentId: "sc-fhl996-11"
3528
- })(templateObject_15$1 || (templateObject_15$1 = __makeTemplateObject([""], [""])));
3529
- var MeterContainer = styled__default.default.div.withConfig({
3729
+ componentId: "sc-fhl996-16"
3730
+ })(templateObject_28$1 || (templateObject_28$1 = __makeTemplateObject([""], [""])));
3731
+ var StatusEnd = /*#__PURE__*/styled__default.default.div.withConfig({
3732
+ displayName: "AgentInput__StatusEnd",
3733
+ componentId: "sc-fhl996-17"
3734
+ })(templateObject_29$1 || (templateObject_29$1 = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n gap: ", ";\n"], ["\n display: inline-flex;\n align-items: center;\n gap: ", ";\n"])), semantic$a.space[300]);
3735
+ var VisuallyHidden = /*#__PURE__*/styled__default.default.span.withConfig({
3736
+ displayName: "AgentInput__VisuallyHidden",
3737
+ componentId: "sc-fhl996-18"
3738
+ })(templateObject_30$1 || (templateObject_30$1 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), visuallyHidden);
3739
+ var MeterContainer = /*#__PURE__*/styled__default.default.div.withConfig({
3530
3740
  displayName: "AgentInput__MeterContainer",
3531
- componentId: "sc-fhl996-12"
3532
- })(templateObject_16$1 || (templateObject_16$1 = __makeTemplateObject(["\n display: inline-flex;\n align-items: flex-end;\n gap: ", ";\n height: ", ";\n"], ["\n display: inline-flex;\n align-items: flex-end;\n gap: ", ";\n height: ", ";\n"])), semantic$a.space[100], semantic$a.space[400]);
3533
- var MeterBar = styled__default.default.div.withConfig({
3741
+ componentId: "sc-fhl996-19"
3742
+ })(templateObject_31$1 || (templateObject_31$1 = __makeTemplateObject(["\n display: inline-flex;\n align-items: flex-end;\n gap: ", ";\n height: ", ";\n"], ["\n display: inline-flex;\n align-items: flex-end;\n gap: ", ";\n height: ", ";\n"])), semantic$a.space[100], semantic$a.space[400]);
3743
+ var MeterBar = /*#__PURE__*/styled__default.default.div.withConfig({
3534
3744
  shouldForwardProp: function shouldForwardProp(prop) {
3535
3745
  return !prop.startsWith('$');
3536
3746
  },
3537
3747
  displayName: "AgentInput__MeterBar",
3538
- componentId: "sc-fhl996-13"
3539
- })(templateObject_17$1 || (templateObject_17$1 = __makeTemplateObject(["\n width: ", ";\n border-radius: ", ";\n background-color: ", ";\n height: ", ";\n transition: height ", " ", ";\n"], ["\n width: ", ";\n border-radius: ", ";\n background-color: ", ";\n height: ", ";\n transition: height ", " ", ";\n"])), semantic$a.space[100], semantic$a.radius.xs, semantic$a.color.fill.accent, function (_a) {
3748
+ componentId: "sc-fhl996-20"
3749
+ })(templateObject_32$1 || (templateObject_32$1 = __makeTemplateObject(["\n width: ", ";\n border-radius: ", ";\n background-color: ", ";\n height: ", ";\n transition: height ", " ", ";\n"], ["\n width: ", ";\n border-radius: ", ";\n background-color: ", ";\n height: ", ";\n transition: height ", " ", ";\n"])), semantic$a.space[100], semantic$a.radius.xs, semantic$a.color.fill.accent, function (_a) {
3540
3750
  var $height = _a.$height;
3541
3751
  return "".concat($height * 100, "%");
3542
3752
  }, semantic$a.motion.duration.fast, semantic$a.motion.easing.decelerate);
3543
- var VisuallyHiddenLabel = styled__default.default.label.withConfig({
3753
+ var VisuallyHiddenLabel = /*#__PURE__*/styled__default.default.label.withConfig({
3544
3754
  displayName: "AgentInput__VisuallyHiddenLabel",
3545
- componentId: "sc-fhl996-14"
3546
- })(templateObject_18$1 || (templateObject_18$1 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), visuallyHidden);
3755
+ componentId: "sc-fhl996-21"
3756
+ })(templateObject_33$1 || (templateObject_33$1 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), visuallyHidden);
3547
3757
  function getInitialState(hasText) {
3548
3758
  return hasText ? 'typing' : 'idle';
3549
3759
  }
@@ -3551,60 +3761,104 @@ function createMeterBars(level) {
3551
3761
  var clampedLevel = Math.max(0, Math.min(level, 1));
3552
3762
  return [0.25 + clampedLevel * 0.75, 0.2 + clampedLevel * 0.6, 0.3 + clampedLevel * 0.7, 0.2 + clampedLevel * 0.5];
3553
3763
  }
3554
- var AgentInput = function AgentInput(_a) {
3764
+ // Declared separately so the react-hooks lint rules analyse it (they skip functions inline in forwardRef)
3765
+ // Development builds warn about props that break the pattern. Bundlers replace process.env.NODE_ENV
3766
+ // with a literal; without a bundler, a browser has no process, so reading it throws.
3767
+ function readIsProduction() {
3768
+ try {
3769
+ return process.env.NODE_ENV === 'production';
3770
+ } catch (_a) {
3771
+ return false;
3772
+ }
3773
+ }
3774
+ var isProduction = readIsProduction();
3775
+ // A part of the region above the field. It stays mounted while it fades out and its space closes.
3776
+ function RegionPart(_a) {
3777
+ var show = _a.show,
3778
+ reducedExit = _a.reducedExit,
3779
+ children = _a.children;
3780
+ var _b = usePresence(show, reducedExit ? EXIT_DURATION_MS : EXIT_DURATION_MS * 2),
3781
+ isPresent = _b.isPresent,
3782
+ isExiting = _b.isExiting;
3783
+ var ref = React.useRef(null);
3784
+ // Leaving controls drop out of the tab order and can't be activated
3785
+ useInert(ref, isExiting);
3786
+ if (!isPresent) return null;
3787
+ return jsxRuntime.jsx(RegionItem, {
3788
+ ref: ref,
3789
+ "$exiting": isExiting,
3790
+ "$reducedExit": reducedExit,
3791
+ "aria-hidden": isExiting || undefined,
3792
+ children: jsxRuntime.jsx(RegionItemContent, {
3793
+ children: children
3794
+ })
3795
+ });
3796
+ }
3797
+ function AgentInputWithRef(_a, ref) {
3798
+ var _this = this;
3799
+ var _b;
3555
3800
  var value = _a.value,
3556
- _b = _a.defaultValue,
3557
- defaultValue = _b === void 0 ? '' : _b,
3801
+ _c = _a.defaultValue,
3802
+ defaultValue = _c === void 0 ? '' : _c,
3558
3803
  onChange = _a.onChange,
3559
3804
  onSubmit = _a.onSubmit,
3560
- _c = _a.placeholder,
3561
- placeholder = _c === void 0 ? 'Ask a question' : _c,
3562
- _d = _a.disabled,
3563
- disabled = _d === void 0 ? false : _d,
3805
+ onStop = _a.onStop,
3806
+ review = _a.review,
3807
+ suggestions = _a.suggestions,
3808
+ onSuggestionSelect = _a.onSuggestionSelect,
3809
+ _d = _a.placeholder,
3810
+ placeholder = _d === void 0 ? 'Ask a question' : _d,
3811
+ maxLength = _a.maxLength,
3812
+ _e = _a.disabled,
3813
+ disabled = _e === void 0 ? false : _e,
3564
3814
  isSubmitting = _a.isSubmitting,
3565
- _e = _a.enableVoice,
3566
- enableVoice = _e === void 0 ? true : _e,
3567
- _f = _a.autoSubmitOnVoiceFinal,
3568
- autoSubmitOnVoiceFinal = _f === void 0 ? true : _f,
3569
- _g = _a.voiceLanguage,
3570
- voiceLanguage = _g === void 0 ? 'en-AU' : _g,
3571
- _h = _a.noSpeechTimeoutMs,
3572
- noSpeechTimeoutMs = _h === void 0 ? 8000 : _h,
3815
+ _f = _a.enableVoice,
3816
+ enableVoice = _f === void 0 ? true : _f,
3817
+ _g = _a.autoSubmitOnVoiceFinal,
3818
+ autoSubmitOnVoiceFinal = _g === void 0 ? true : _g,
3819
+ _h = _a.voiceLanguage,
3820
+ voiceLanguage = _h === void 0 ? 'en-AU' : _h,
3821
+ _j = _a.noSpeechTimeoutMs,
3822
+ noSpeechTimeoutMs = _j === void 0 ? 8000 : _j,
3573
3823
  onVoiceStart = _a.onVoiceStart,
3574
3824
  onVoiceStop = _a.onVoiceStop,
3575
3825
  onVoiceInterim = _a.onVoiceInterim,
3576
3826
  onVoiceFinal = _a.onVoiceFinal,
3577
3827
  onVoiceError = _a.onVoiceError,
3828
+ _k = _a.helperText,
3829
+ helperText = _k === void 0 ? '' : _k,
3578
3830
  statusMessage = _a.statusMessage,
3579
3831
  errorMessage = _a.errorMessage,
3580
- _j = _a.label,
3581
- label = _j === void 0 ? 'Agent input' : _j,
3832
+ _l = _a.label,
3833
+ label = _l === void 0 ? 'Agent input' : _l,
3834
+ _m = _a.docked,
3835
+ docked = _m === void 0 ? false : _m,
3582
3836
  dataTestId = _a["data-testid"];
3583
3837
  var isControlled = value !== undefined;
3584
- var _k = React.useState(defaultValue),
3585
- internalValue = _k[0],
3586
- setInternalValue = _k[1];
3587
- var _l = React.useState(getInitialState(normalizeTranscript(value !== null && value !== void 0 ? value : defaultValue).length > 0)),
3588
- machineState = _l[0],
3589
- setMachineState = _l[1];
3590
- var _m = React.useState(''),
3591
- interimTranscript = _m[0],
3592
- setInterimTranscript = _m[1];
3593
- var _o = React.useState(false),
3594
- internalSubmitting = _o[0],
3595
- setInternalSubmitting = _o[1];
3596
- var _p = React.useState(undefined),
3597
- internalErrorMessage = _p[0],
3598
- setInternalErrorMessage = _p[1];
3599
- var _q = React.useState(false),
3600
- voiceSupported = _q[0],
3601
- setVoiceSupported = _q[1];
3838
+ var _o = React.useState(defaultValue),
3839
+ internalValue = _o[0],
3840
+ setInternalValue = _o[1];
3841
+ var _p = React.useState(getInitialState(normalizeTranscript(value !== null && value !== void 0 ? value : defaultValue).length > 0)),
3842
+ machineState = _p[0],
3843
+ setMachineState = _p[1];
3844
+ var _q = React.useState(''),
3845
+ interimTranscript = _q[0],
3846
+ setInterimTranscript = _q[1];
3602
3847
  var _r = React.useState(false),
3603
- prefersReducedMotion = _r[0],
3604
- setPrefersReducedMotion = _r[1];
3605
- var _s = React.useState(0),
3606
- meterLevel = _s[0],
3607
- setMeterLevel = _s[1];
3848
+ internalSubmitting = _r[0],
3849
+ setInternalSubmitting = _r[1];
3850
+ var _s = React.useState(undefined),
3851
+ internalErrorMessage = _s[0],
3852
+ setInternalErrorMessage = _s[1];
3853
+ var _t = React.useState(false),
3854
+ voiceSupported = _t[0],
3855
+ setVoiceSupported = _t[1];
3856
+ var _u = React.useState(false),
3857
+ prefersReducedMotion = _u[0],
3858
+ setPrefersReducedMotion = _u[1];
3859
+ var _v = React.useState(0),
3860
+ meterLevel = _v[0],
3861
+ setMeterLevel = _v[1];
3608
3862
  var recognitionRef = React.useRef(null);
3609
3863
  var noSpeechTimeoutRef = React.useRef(null);
3610
3864
  var isStoppingRef = React.useRef(false);
@@ -3612,10 +3866,19 @@ var AgentInput = function AgentInput(_a) {
3612
3866
  var audioStreamRef = React.useRef(null);
3613
3867
  var audioContextRef = React.useRef(null);
3614
3868
  var meterRafRef = React.useRef(null);
3869
+ var inputRef = React.useRef(null);
3615
3870
  var inputId = React.useId();
3616
3871
  var statusId = "".concat(inputId, "-status");
3872
+ var counterId = "".concat(inputId, "-counter");
3617
3873
  var currentValue = isControlled ? value !== null && value !== void 0 ? value : '' : internalValue;
3874
+ // Read after onSubmit settles, when the closure's value may be stale
3875
+ var currentValueRef = React.useRef(currentValue);
3876
+ React.useEffect(function () {
3877
+ currentValueRef.current = currentValue;
3878
+ }, [currentValue]);
3618
3879
  var hasText = normalizeTranscript(currentValue).length > 0;
3880
+ var messageLength = normalizeMessage(currentValue).length;
3881
+ var isOverLimit = maxLength !== undefined && messageLength > maxLength;
3619
3882
  var effectiveSubmitting = isSubmitting !== null && isSubmitting !== void 0 ? isSubmitting : internalSubmitting;
3620
3883
  var effectiveState = disabled ? 'disabled' : machineState;
3621
3884
  var isListening = effectiveState === 'listening';
@@ -3638,7 +3901,7 @@ var AgentInput = function AgentInput(_a) {
3638
3901
  }
3639
3902
  }, []);
3640
3903
  var stopMeter = React.useCallback(function () {
3641
- return __awaiter(void 0, void 0, void 0, function () {
3904
+ return __awaiter(_this, void 0, void 0, function () {
3642
3905
  return __generator(this, function (_a) {
3643
3906
  switch (_a.label) {
3644
3907
  case 0:
@@ -3666,7 +3929,7 @@ var AgentInput = function AgentInput(_a) {
3666
3929
  });
3667
3930
  }, []);
3668
3931
  var startMeter = React.useCallback(function () {
3669
- return __awaiter(void 0, void 0, void 0, function () {
3932
+ return __awaiter(_this, void 0, void 0, function () {
3670
3933
  var stream, audioContext, analyser_1, source, data_1, _loop_;
3671
3934
  var _b;
3672
3935
  return __generator(this, function (_c) {
@@ -3727,15 +3990,22 @@ var AgentInput = function AgentInput(_a) {
3727
3990
  });
3728
3991
  }, [onVoiceError, updateMachineState]);
3729
3992
  var submitPayload = React.useCallback(function (rawText, source) {
3730
- return __awaiter(void 0, void 0, void 0, function () {
3993
+ return __awaiter(_this, void 0, void 0, function () {
3731
3994
  var text;
3732
3995
  return __generator(this, function (_b) {
3733
3996
  switch (_b.label) {
3734
3997
  case 0:
3735
- text = normalizeTranscript(rawText);
3998
+ text = source === 'text' ? normalizeMessage(rawText) : normalizeTranscript(rawText);
3736
3999
  if (!text || disabled || effectiveSubmitting) {
3737
4000
  return [2 /*return*/];
3738
4001
  }
4002
+ if (maxLength !== undefined && text.length > maxLength) {
4003
+ // A long transcript goes into the field to be shortened, unless the user has typed since
4004
+ if (source === 'voice-final' && !normalizeMessage(currentValueRef.current)) {
4005
+ updateValue(text);
4006
+ }
4007
+ return [2 /*return*/];
4008
+ }
3739
4009
  updateMachineState({
3740
4010
  type: 'SUBMIT'
3741
4011
  });
@@ -3757,14 +4027,18 @@ var AgentInput = function AgentInput(_a) {
3757
4027
  type: 'SUBMIT_SUCCESS'
3758
4028
  });
3759
4029
  setInterimTranscript('');
3760
- updateValue('');
4030
+ // Keep a follow-up typed while submitting
4031
+ if (normalizeMessage(currentValueRef.current) === text) {
4032
+ updateValue('');
4033
+ }
3761
4034
  return [3 /*break*/, 5];
3762
4035
  case 3:
3763
4036
  _b.sent();
3764
4037
  updateMachineState({
3765
4038
  type: 'SUBMIT_ERROR'
3766
4039
  });
3767
- if (source === 'voice-final') {
4040
+ // Restore the transcript unless the user has typed something since
4041
+ if (source === 'voice-final' && !normalizeMessage(currentValueRef.current)) {
3768
4042
  updateValue(text);
3769
4043
  }
3770
4044
  setInternalErrorMessage('Submission failed. Please try again.');
@@ -3779,13 +4053,13 @@ var AgentInput = function AgentInput(_a) {
3779
4053
  }
3780
4054
  });
3781
4055
  });
3782
- }, [disabled, effectiveSubmitting, isSubmitting, onSubmit, updateMachineState, updateValue]);
4056
+ }, [disabled, effectiveSubmitting, isSubmitting, maxLength, onSubmit, updateMachineState, updateValue]);
3783
4057
  var stopListening = React.useCallback(function (emitStopEvent_1) {
3784
4058
  var args_1 = [];
3785
4059
  for (var _i = 1; _i < arguments.length; _i++) {
3786
4060
  args_1[_i - 1] = arguments[_i];
3787
4061
  }
3788
- return __awaiter(void 0, __spreadArray([emitStopEvent_1], args_1, true), void 0, function (emitStopEvent, preserveState) {
4062
+ return __awaiter(_this, __spreadArray([emitStopEvent_1], args_1, true), void 0, function (emitStopEvent, preserveState) {
3789
4063
  if (preserveState === void 0) {
3790
4064
  preserveState = false;
3791
4065
  }
@@ -3821,7 +4095,7 @@ var AgentInput = function AgentInput(_a) {
3821
4095
  });
3822
4096
  }, [clearNoSpeechTimeout, hasText, onVoiceStop, stopMeter, updateMachineState]);
3823
4097
  var onNoSpeechTimeout = React.useCallback(function () {
3824
- return __awaiter(void 0, void 0, void 0, function () {
4098
+ return __awaiter(_this, void 0, void 0, function () {
3825
4099
  var message;
3826
4100
  return __generator(this, function (_a) {
3827
4101
  switch (_a.label) {
@@ -3845,7 +4119,7 @@ var AgentInput = function AgentInput(_a) {
3845
4119
  });
3846
4120
  }, [clearNoSpeechTimeout, onVoiceError, stopListening, updateMachineState]);
3847
4121
  var beginListening = React.useCallback(function () {
3848
- return __awaiter(void 0, void 0, void 0, function () {
4122
+ return __awaiter(_this, void 0, void 0, function () {
3849
4123
  return __generator(this, function (_b) {
3850
4124
  switch (_b.label) {
3851
4125
  case 0:
@@ -3889,7 +4163,7 @@ var AgentInput = function AgentInput(_a) {
3889
4163
  recognition.interimResults = true;
3890
4164
  recognition.continuous = false;
3891
4165
  recognition.onresult = function (event) {
3892
- return __awaiter(void 0, void 0, void 0, function () {
4166
+ return __awaiter(_this, void 0, void 0, function () {
3893
4167
  var interim, finalText, index, result, normalizedInterim, normalizedFinal;
3894
4168
  return __generator(this, function (_a) {
3895
4169
  switch (_a.label) {
@@ -3947,7 +4221,7 @@ var AgentInput = function AgentInput(_a) {
3947
4221
  });
3948
4222
  };
3949
4223
  recognition.onerror = function (event) {
3950
- return __awaiter(void 0, void 0, void 0, function () {
4224
+ return __awaiter(_this, void 0, void 0, function () {
3951
4225
  var mappedCode;
3952
4226
  return __generator(this, function (_a) {
3953
4227
  switch (_a.label) {
@@ -3963,7 +4237,7 @@ var AgentInput = function AgentInput(_a) {
3963
4237
  });
3964
4238
  };
3965
4239
  recognition.onend = function () {
3966
- return __awaiter(void 0, void 0, void 0, function () {
4240
+ return __awaiter(_this, void 0, void 0, function () {
3967
4241
  return __generator(this, function (_a) {
3968
4242
  switch (_a.label) {
3969
4243
  case 0:
@@ -3992,6 +4266,95 @@ var AgentInput = function AgentInput(_a) {
3992
4266
  stopMeter();
3993
4267
  };
3994
4268
  }, [autoSubmitOnVoiceFinal, clearNoSpeechTimeout, emitVoiceError, enableVoice, hasText, noSpeechTimeoutMs, onNoSpeechTimeout, onVoiceFinal, onVoiceInterim, stopListening, stopMeter, submitPayload, updateMachineState, updateValue, voiceLanguage]);
4269
+ var focusField = React.useCallback(function (cursor) {
4270
+ var input = inputRef.current;
4271
+ if (!input) return;
4272
+ input.focus();
4273
+ if (!cursor) return;
4274
+ var placeCursor = function placeCursor() {
4275
+ if (cursor === 'all') {
4276
+ input.select();
4277
+ return;
4278
+ }
4279
+ var position = cursor === 'start' ? 0 : input.value.length;
4280
+ input.setSelectionRange(position, position);
4281
+ };
4282
+ placeCursor();
4283
+ // Again after the render a prefill in the same handler triggers, so 'end' lands after the new text
4284
+ window.setTimeout(placeCursor, 0);
4285
+ }, []);
4286
+ React.useImperativeHandle(ref, function () {
4287
+ return {
4288
+ focus: function focus(options) {
4289
+ return focusField(options === null || options === void 0 ? void 0 : options.cursor);
4290
+ },
4291
+ clear: function clear() {
4292
+ setInterimTranscript('');
4293
+ updateValue('');
4294
+ }
4295
+ };
4296
+ }, [focusField, updateValue]);
4297
+ // The region above the field (decision 0046). The last review and suggestions shown are kept, so
4298
+ // they can fade out after the product removes them.
4299
+ var _w = React.useState(review),
4300
+ shownReview = _w[0],
4301
+ setShownReview = _w[1];
4302
+ var _x = React.useState(null),
4303
+ lastReviewAction = _x[0],
4304
+ setLastReviewAction = _x[1];
4305
+ if (review && review !== shownReview) {
4306
+ setShownReview(review);
4307
+ // A new proposal or change replaces what the last Discard or Undo announced
4308
+ if (lastReviewAction) setLastReviewAction(null);
4309
+ }
4310
+ // A proposal replacing an open one is announced as an update (decision 0047). Consecutive
4311
+ // replacements alternate a trailing no-break space, so the live region's text changes each time
4312
+ // even when the summary doesn't; screen readers don't speak it.
4313
+ var openProposalId = (review === null || review === void 0 ? void 0 : review.state) === 'proposal' ? review.id : null;
4314
+ var _y = React.useState(openProposalId),
4315
+ announcedProposalId = _y[0],
4316
+ setAnnouncedProposalId = _y[1];
4317
+ var _z = React.useState(0),
4318
+ replacementCount = _z[0],
4319
+ setReplacementCount = _z[1];
4320
+ if (openProposalId !== announcedProposalId) {
4321
+ setAnnouncedProposalId(openProposalId);
4322
+ setReplacementCount(openProposalId !== null && announcedProposalId !== null ? replacementCount + 1 : 0);
4323
+ }
4324
+ var cappedSuggestions = React.useMemo(function () {
4325
+ return (suggestions !== null && suggestions !== void 0 ? suggestions : []).slice(0, MAX_SUGGESTIONS);
4326
+ }, [suggestions]);
4327
+ var showSuggestions = cappedSuggestions.length > 0 && !hasText && (review === null || review === void 0 ? void 0 : review.state) !== 'proposal';
4328
+ var _0 = React.useState(cappedSuggestions),
4329
+ shownSuggestions = _0[0],
4330
+ setShownSuggestions = _0[1];
4331
+ if (showSuggestions && cappedSuggestions !== shownSuggestions) {
4332
+ setShownSuggestions(cappedSuggestions);
4333
+ }
4334
+ var suggestionCount = (_b = suggestions === null || suggestions === void 0 ? void 0 : suggestions.length) !== null && _b !== void 0 ? _b : 0;
4335
+ React.useEffect(function () {
4336
+ if (!isProduction && suggestionCount > MAX_SUGGESTIONS) {
4337
+ console.warn("AgentInput shows at most ".concat(MAX_SUGGESTIONS, " suggestions (decision 0046); ").concat(suggestionCount, " were passed, so the rest are hidden."));
4338
+ }
4339
+ }, [suggestionCount]);
4340
+ var reviewAnnouncement = review ? review.state === 'proposal' ? "".concat(replacementCount > 0 ? 'Proposal updated. ' : '').concat(review.summary, ". Accept or discard.").concat(replacementCount > 0 && replacementCount % 2 === 0 ? "\xA0" : '') : 'Changes applied. Undo available.' : lastReviewAction === 'discarded' ? 'Suggestion discarded.' : lastReviewAction === 'undone' ? 'Changes undone.' : '';
4341
+ var onReviewDiscard = function onReviewDiscard(onDiscard) {
4342
+ setLastReviewAction('discarded');
4343
+ onDiscard();
4344
+ // The bar is leaving, so focus goes to the field rather than being lost
4345
+ focusField();
4346
+ };
4347
+ var onReviewUndo = function onReviewUndo(onUndo) {
4348
+ setLastReviewAction('undone');
4349
+ onUndo();
4350
+ focusField();
4351
+ };
4352
+ var onPickSuggestion = function onPickSuggestion(text) {
4353
+ updateValue(text);
4354
+ onSuggestionSelect === null || onSuggestionSelect === void 0 ? void 0 : onSuggestionSelect(text);
4355
+ // Fills, never sends: the user reviews the text in the field first
4356
+ focusField('end');
4357
+ };
3995
4358
  React.useEffect(function () {
3996
4359
  var mediaQuery = window.matchMedia('(prefers-reduced-motion: reduce)');
3997
4360
  var sync = function sync() {
@@ -4023,8 +4386,40 @@ var AgentInput = function AgentInput(_a) {
4023
4386
  if (!interimTranscript) {
4024
4387
  return currentValue;
4025
4388
  }
4026
- return normalizeTranscript([currentValue, interimTranscript].filter(Boolean).join(' '));
4389
+ return normalizeMessage([currentValue, interimTranscript].filter(Boolean).join(' '));
4027
4390
  }, [currentValue, interimTranscript]);
4391
+ var lastFieldWidthRef = React.useRef(0);
4392
+ var resizeField = React.useCallback(function () {
4393
+ var field = inputRef.current;
4394
+ // Hidden (for example in a closed sheet): measure when it's shown, via the observer below
4395
+ if (!field || field.clientWidth === 0) return;
4396
+ lastFieldWidthRef.current = field.clientWidth;
4397
+ // Collapsing the field to measure it shrinks the page for a moment; some engines clamp a page
4398
+ // scrolled to the bottom when that happens, so restore its scroll position
4399
+ var scrollX = window.scrollX,
4400
+ scrollY = window.scrollY;
4401
+ field.style.height = 'auto';
4402
+ field.style.height = "".concat(field.scrollHeight, "px");
4403
+ if (window.scrollY !== scrollY) window.scrollTo(scrollX, scrollY);
4404
+ // Scroll only once max-height (six rows) clips the content
4405
+ field.style.overflowY = field.scrollHeight > field.clientHeight ? 'auto' : 'hidden';
4406
+ }, []);
4407
+ useIsomorphicLayoutEffect(function () {
4408
+ resizeField();
4409
+ }, [displayedValue, resizeField]);
4410
+ // Text rewraps when the field's width changes (layout, or being shown), not only the window's
4411
+ React.useEffect(function () {
4412
+ var field = inputRef.current;
4413
+ if (!field || typeof ResizeObserver === 'undefined') return;
4414
+ var observer = new ResizeObserver(function () {
4415
+ // Its own height changes trigger this too; only a width change can rewrap the text
4416
+ if (field.clientWidth !== lastFieldWidthRef.current) resizeField();
4417
+ });
4418
+ observer.observe(field);
4419
+ return function () {
4420
+ return observer.disconnect();
4421
+ };
4422
+ }, [resizeField]);
4028
4423
  var onTextChange = function onTextChange(event) {
4029
4424
  updateValue(event.target.value);
4030
4425
  if (effectiveState === 'error') {
@@ -4036,10 +4431,18 @@ var AgentInput = function AgentInput(_a) {
4036
4431
  }
4037
4432
  };
4038
4433
  var onInputKeyDown = function onInputKeyDown(event) {
4039
- return __awaiter(void 0, void 0, void 0, function () {
4434
+ return __awaiter(_this, void 0, void 0, function () {
4435
+ var isComposing;
4040
4436
  return __generator(this, function (_a) {
4041
4437
  switch (_a.label) {
4042
4438
  case 0:
4439
+ isComposing = event.nativeEvent.isComposing || event.keyCode === 229;
4440
+ // Escape during an IME composition cancels the composition, not the request
4441
+ if (event.key === 'Escape' && onStop && effectiveSubmitting && !isComposing) {
4442
+ event.preventDefault();
4443
+ onStop();
4444
+ return [2 /*return*/];
4445
+ }
4043
4446
  if (!(event.key === 'Escape' && isListening)) return [3 /*break*/, 2];
4044
4447
  event.preventDefault();
4045
4448
  return [4 /*yield*/, stopListening(true)];
@@ -4047,7 +4450,7 @@ var AgentInput = function AgentInput(_a) {
4047
4450
  _a.sent();
4048
4451
  return [2 /*return*/];
4049
4452
  case 2:
4050
- if (!(event.key === 'Enter')) return [3 /*break*/, 4];
4453
+ if (!(event.key === 'Enter' && !event.shiftKey && !isComposing)) return [3 /*break*/, 4];
4051
4454
  event.preventDefault();
4052
4455
  return [4 /*yield*/, submitPayload(currentValue, 'text')];
4053
4456
  case 3:
@@ -4060,7 +4463,7 @@ var AgentInput = function AgentInput(_a) {
4060
4463
  });
4061
4464
  };
4062
4465
  var onMicToggle = function onMicToggle() {
4063
- return __awaiter(void 0, void 0, void 0, function () {
4466
+ return __awaiter(_this, void 0, void 0, function () {
4064
4467
  return __generator(this, function (_a) {
4065
4468
  switch (_a.label) {
4066
4469
  case 0:
@@ -4080,40 +4483,105 @@ var AgentInput = function AgentInput(_a) {
4080
4483
  });
4081
4484
  };
4082
4485
  var statusByState = {
4083
- idle: statusMessage || DEFAULT_IDLE_HELPER,
4084
- typing: statusMessage || DEFAULT_IDLE_HELPER,
4486
+ idle: statusMessage || helperText,
4487
+ typing: statusMessage || helperText,
4085
4488
  listening: statusMessage || DEFAULT_LISTENING_MESSAGE,
4086
4489
  processingFinalTranscript: statusMessage || DEFAULT_PROCESSING_MESSAGE,
4087
4490
  submitting: statusMessage || 'Submitting…',
4088
4491
  error: errorMessage || internalErrorMessage || 'Voice input failed. Try again.',
4089
- disabled: statusMessage || DEFAULT_IDLE_HELPER
4492
+ disabled: statusMessage || helperText
4090
4493
  };
4091
- var unsupportedMessage = defaultVoiceErrorMessage('not-supported');
4092
- var shouldShowUnsupported = enableVoice && !hasVoice;
4093
- var resolvedStatus = shouldShowUnsupported ? unsupportedMessage : statusByState[effectiveState];
4094
- var isStatusError = effectiveState === 'error' || shouldShowUnsupported;
4494
+ var overLimitMessage = isOverLimit && maxLength !== undefined ? "Over the ".concat(maxLength, "-character limit. Shorten your message to send.") : undefined;
4495
+ // A product-set error shows in any state. Unsupported voice hides the mic without a message.
4496
+ var resolvedStatus = errorMessage || overLimitMessage || statusByState[effectiveState];
4497
+ var isStatusError = Boolean(errorMessage) || isOverLimit || effectiveState === 'error';
4095
4498
  var meterBars = createMeterBars(meterLevel);
4096
- var sendDisabled = disabled || effectiveSubmitting || normalizeTranscript(currentValue).length === 0;
4499
+ var showStop = Boolean(onStop) && effectiveSubmitting;
4500
+ var sendDisabled = disabled || effectiveSubmitting || isOverLimit || messageLength === 0;
4501
+ var showCounter = maxLength !== undefined && messageLength >= maxLength * COUNTER_THRESHOLD;
4502
+ // Announced once when the limit is reached; going over is announced by the status line
4503
+ var limitAnnouncement = maxLength !== undefined && messageLength === maxLength ? "Character limit reached: ".concat(maxLength, " characters") : '';
4097
4504
  return jsxRuntime.jsxs(Container, {
4098
4505
  "data-testid": dataTestId,
4506
+ "$docked": docked,
4507
+ "data-docked": docked || undefined,
4099
4508
  children: [jsxRuntime.jsx(VisuallyHiddenLabel, {
4100
4509
  htmlFor: inputId,
4101
4510
  children: label
4102
- }), jsxRuntime.jsx(ControlsRow, {
4103
- children: jsxRuntime.jsx(InputWrapper, {
4511
+ }), jsxRuntime.jsxs(ControlsRow, {
4512
+ children: [jsxRuntime.jsx(RegionPart, {
4513
+ show: Boolean(review),
4514
+ reducedExit: prefersReducedMotion,
4515
+ children: shownReview && jsxRuntime.jsxs(ReviewBar, {
4516
+ "data-testid": "agent-input-review",
4517
+ children: [jsxRuntime.jsx(Typography, {
4518
+ variant: "small",
4519
+ color: "default",
4520
+ children: shownReview.state === 'proposal' ? shownReview.summary : 'Changes applied'
4521
+ }), jsxRuntime.jsx(ReviewActions, {
4522
+ children: shownReview.state === 'proposal' ? jsxRuntime.jsxs(jsxRuntime.Fragment, {
4523
+ children: [jsxRuntime.jsx(Button, {
4524
+ variant: "primary",
4525
+ size: "small",
4526
+ onClick: shownReview.onAccept,
4527
+ children: "Accept"
4528
+ }), jsxRuntime.jsx(Button, {
4529
+ variant: "secondary",
4530
+ size: "small",
4531
+ onClick: function onClick() {
4532
+ return onReviewDiscard(shownReview.onDiscard);
4533
+ },
4534
+ children: "Discard"
4535
+ })]
4536
+ }) : jsxRuntime.jsx(Button, {
4537
+ variant: "naked",
4538
+ size: "small",
4539
+ onClick: function onClick() {
4540
+ return onReviewUndo(shownReview.onUndo);
4541
+ },
4542
+ children: "Undo"
4543
+ })
4544
+ })]
4545
+ })
4546
+ }), jsxRuntime.jsx(RegionPart, {
4547
+ show: showSuggestions,
4548
+ reducedExit: prefersReducedMotion,
4549
+ children: jsxRuntime.jsx(SuggestionList, {
4550
+ "aria-label": "Suggestions",
4551
+ "data-testid": "agent-input-suggestions",
4552
+ children: shownSuggestions.map(function (suggestion, index) {
4553
+ return jsxRuntime.jsx("li", {
4554
+ children: jsxRuntime.jsx(SuggestionChip, {
4555
+ onClick: function onClick() {
4556
+ return onPickSuggestion(suggestion);
4557
+ },
4558
+ children: suggestion
4559
+ })
4560
+ }, "".concat(index, "-").concat(suggestion));
4561
+ })
4562
+ })
4563
+ }), jsxRuntime.jsx(VisuallyHidden, {
4564
+ "aria-live": "polite",
4565
+ "aria-atomic": "true",
4566
+ "data-testid": "agent-input-review-announcement",
4567
+ children: reviewAnnouncement
4568
+ }), jsxRuntime.jsx(InputWrapper, {
4104
4569
  children: jsxRuntime.jsxs(InputShell, {
4105
- "data-disabled": disabled || effectiveSubmitting,
4570
+ "data-disabled": disabled,
4106
4571
  children: [jsxRuntime.jsx(Input, {
4572
+ ref: inputRef,
4107
4573
  id: inputId,
4108
- type: "text",
4574
+ rows: 1,
4575
+ enterKeyHint: "send",
4109
4576
  "aria-label": label,
4110
4577
  value: displayedValue,
4111
4578
  onChange: onTextChange,
4112
4579
  onKeyDown: onInputKeyDown,
4113
4580
  placeholder: placeholder,
4114
- disabled: disabled || effectiveSubmitting,
4581
+ disabled: disabled,
4115
4582
  readOnly: isListening,
4116
- "aria-describedby": statusId
4583
+ "aria-describedby": showCounter ? "".concat(statusId, " ").concat(counterId) : statusId,
4584
+ "aria-invalid": isOverLimit || undefined
4117
4585
  }), jsxRuntime.jsxs(InputActions, {
4118
4586
  children: [hasVoice && jsxRuntime.jsxs(MicButtonWrapper, {
4119
4587
  "$isListening": isListening,
@@ -4133,7 +4601,17 @@ var AgentInput = function AgentInput(_a) {
4133
4601
  disabled: disabled || effectiveSubmitting,
4134
4602
  type: "button"
4135
4603
  })]
4136
- }), jsxRuntime.jsx(CircularActionIconButton, {
4604
+ }), showStop ? jsxRuntime.jsx(CircularActionIconButton, {
4605
+ variant: "secondary",
4606
+ size: "medium",
4607
+ iconName: "stop",
4608
+ onClick: function onClick() {
4609
+ return onStop === null || onStop === void 0 ? void 0 : onStop();
4610
+ },
4611
+ disabled: disabled,
4612
+ "aria-label": "Stop",
4613
+ type: "button"
4614
+ }) : jsxRuntime.jsx(CircularActionIconButton, {
4137
4615
  variant: "secondary",
4138
4616
  size: "medium",
4139
4617
  iconName: "directionUp",
@@ -4146,7 +4624,7 @@ var AgentInput = function AgentInput(_a) {
4146
4624
  })]
4147
4625
  })]
4148
4626
  })
4149
- })
4627
+ })]
4150
4628
  }), jsxRuntime.jsxs(StatusRow, {
4151
4629
  children: [jsxRuntime.jsx(StatusText, {
4152
4630
  "$isError": isStatusError,
@@ -4155,24 +4633,44 @@ var AgentInput = function AgentInput(_a) {
4155
4633
  role: "status",
4156
4634
  "aria-live": "polite",
4157
4635
  "aria-atomic": "true",
4158
- children: jsxRuntime.jsx(Typography, {
4636
+ children: resolvedStatus && jsxRuntime.jsx(Typography, {
4159
4637
  variant: "small",
4160
4638
  color: isStatusError ? 'error' : 'subdued',
4161
4639
  children: resolvedStatus
4162
4640
  })
4163
4641
  })
4164
- }), isListening && !prefersReducedMotion && jsxRuntime.jsx(MeterContainer, {
4165
- "aria-hidden": "true",
4166
- children: meterBars.map(function (barHeight, index) {
4167
- return jsxRuntime.jsx(MeterBar, {
4168
- "$height": barHeight
4169
- }, "meter-".concat(index));
4170
- })
4642
+ }), jsxRuntime.jsxs(StatusEnd, {
4643
+ children: [isListening && !prefersReducedMotion && jsxRuntime.jsx(MeterContainer, {
4644
+ "aria-hidden": "true",
4645
+ children: meterBars.map(function (barHeight, index) {
4646
+ return jsxRuntime.jsx(MeterBar, {
4647
+ "$height": barHeight
4648
+ }, "meter-".concat(index));
4649
+ })
4650
+ }), showCounter && jsxRuntime.jsx(Typography, {
4651
+ variant: "small",
4652
+ color: isOverLimit ? 'error' : 'subdued',
4653
+ children: jsxRuntime.jsxs("span", {
4654
+ id: counterId,
4655
+ "data-testid": "agent-input-counter",
4656
+ children: [messageLength, "/", maxLength, jsxRuntime.jsx(VisuallyHidden, {
4657
+ children: " characters"
4658
+ })]
4659
+ })
4660
+ })]
4661
+ }), maxLength !== undefined && jsxRuntime.jsx(VisuallyHidden, {
4662
+ role: "status",
4663
+ "aria-live": "polite",
4664
+ "aria-atomic": "true",
4665
+ "data-testid": "agent-input-limit-announcement",
4666
+ children: limitAnnouncement
4171
4667
  })]
4172
4668
  })]
4173
4669
  });
4174
- };
4175
- 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;
4670
+ }
4671
+ var AgentInput = /*#__PURE__*/React.forwardRef(AgentInputWithRef);
4672
+ AgentInput.displayName = 'AgentInput';
4673
+ 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;
4176
4674
 
4177
4675
  var semantic$9 = tokens.semantic;
4178
4676
  var alert = tokens.component.alert;
@@ -4219,7 +4717,7 @@ var variantTitleColors = {
4219
4717
  info: 'interactive',
4220
4718
  success: 'success'
4221
4719
  };
4222
- var StyledAlert = styled__default.default.div.withConfig({
4720
+ var StyledAlert = /*#__PURE__*/styled__default.default.div.withConfig({
4223
4721
  shouldForwardProp: function shouldForwardProp(prop) {
4224
4722
  return !prop.startsWith('$');
4225
4723
  },
@@ -4252,19 +4750,19 @@ var StyledAlert = styled__default.default.div.withConfig({
4252
4750
  $reducedExit = _a.$reducedExit;
4253
4751
  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));
4254
4752
  });
4255
- var StyledIconContainer = styled__default.default.div.withConfig({
4753
+ var StyledIconContainer = /*#__PURE__*/styled__default.default.div.withConfig({
4256
4754
  displayName: "Alert__StyledIconContainer",
4257
4755
  componentId: "sc-18tq5d-1"
4258
4756
  })(templateObject_7$6 || (templateObject_7$6 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n flex-shrink: 0;\n"], ["\n display: flex;\n align-items: center;\n flex-shrink: 0;\n"])));
4259
- var StyledContent$1 = styled__default.default.div.withConfig({
4757
+ var StyledContent$1 = /*#__PURE__*/styled__default.default.div.withConfig({
4260
4758
  displayName: "Alert__StyledContent",
4261
4759
  componentId: "sc-18tq5d-2"
4262
4760
  })(templateObject_8$5 || (templateObject_8$5 = __makeTemplateObject(["\n flex: 1;\n display: flex;\n flex-direction: column;\n gap: ", ";\n min-width: 0; /* Allow text wrapping */\n"], ["\n flex: 1;\n display: flex;\n flex-direction: column;\n gap: ", ";\n min-width: 0; /* Allow text wrapping */\n"])), semantic$9.space[100]);
4263
- var StyledTitle = styled__default.default.span.withConfig({
4761
+ var StyledTitle = /*#__PURE__*/styled__default.default.span.withConfig({
4264
4762
  displayName: "Alert__StyledTitle",
4265
4763
  componentId: "sc-18tq5d-3"
4266
4764
  })(templateObject_9$4 || (templateObject_9$4 = __makeTemplateObject(["\n font: ", ";\n font-weight: ", ";\n line-height: ", ";\n margin: 0;\n"], ["\n font: ", ";\n font-weight: ", ";\n line-height: ", ";\n margin: 0;\n"])), alert.title.typography, alert.title.fontWeight, alert.title.lineHeight);
4267
- var StyledMessage$1 = styled__default.default.span.withConfig({
4765
+ var StyledMessage$1 = /*#__PURE__*/styled__default.default.span.withConfig({
4268
4766
  displayName: "Alert__StyledMessage",
4269
4767
  componentId: "sc-18tq5d-4"
4270
4768
  })(templateObject_10$2 || (templateObject_10$2 = __makeTemplateObject(["\n font: ", ";\n line-height: ", ";\n"], ["\n font: ", ";\n line-height: ", ";\n"
@@ -4273,7 +4771,7 @@ var StyledMessage$1 = styled__default.default.span.withConfig({
4273
4771
  ])), alert.message.typography, alert.message.lineHeight);
4274
4772
  // The action follows the content, left-aligned with it, so it's read after the message
4275
4773
  // (#122). With the content's xs gap, the space above it is md: a separate step.
4276
- var StyledActions = styled__default.default.div.withConfig({
4774
+ var StyledActions = /*#__PURE__*/styled__default.default.div.withConfig({
4277
4775
  displayName: "Alert__StyledActions",
4278
4776
  componentId: "sc-18tq5d-5"
4279
4777
  })(templateObject_11$2 || (templateObject_11$2 = __makeTemplateObject(["\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: ", ";\n margin-top: calc(", " - ", ");\n"], ["\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: ", ";\n margin-top: calc(", " - ", ");\n"
@@ -4286,7 +4784,7 @@ var StyledActions = styled__default.default.div.withConfig({
4286
4784
  // message when there's no title (decision 0019). The slot is as tall as that line and the
4287
4785
  // button is centred in it, overflowing evenly into the padding, so it stays aligned at every
4288
4786
  // padding and line height. Being in the row, it also keeps text and actions from running under it.
4289
- var StyledDismissSlot = styled__default.default.div.withConfig({
4787
+ var StyledDismissSlot = /*#__PURE__*/styled__default.default.div.withConfig({
4290
4788
  shouldForwardProp: function shouldForwardProp(prop) {
4291
4789
  return !prop.startsWith('$');
4292
4790
  },
@@ -4301,7 +4799,7 @@ var StyledDismissSlot = styled__default.default.div.withConfig({
4301
4799
  });
4302
4800
  // The glyph sits on the padding edge, mirroring the severity icon on the left. The inline
4303
4801
  // alert's padding is too small for that, so its button stays inside the padding.
4304
- var StyledDismissButton = styled__default.default(IconButton).withConfig({
4802
+ var StyledDismissButton = /*#__PURE__*/styled__default.default(IconButton).withConfig({
4305
4803
  displayName: "Alert__StyledDismissButton",
4306
4804
  componentId: "sc-18tq5d-7"
4307
4805
  })(templateObject_13$2 || (templateObject_13$2 = __makeTemplateObject(["\n margin-right: ", ";\n"], ["\n margin-right: ", ";\n"])), function (_a) {
@@ -4472,7 +4970,7 @@ var sizeConfig = {
4472
4970
  icon: 'sm'
4473
4971
  }
4474
4972
  };
4475
- var StyledInlineAlert = styled__default.default.div.withConfig({
4973
+ var StyledInlineAlert = /*#__PURE__*/styled__default.default.div.withConfig({
4476
4974
  shouldForwardProp: function shouldForwardProp(prop) {
4477
4975
  return !prop.startsWith('$');
4478
4976
  },
@@ -4497,11 +4995,11 @@ var StyledInlineAlert = styled__default.default.div.withConfig({
4497
4995
  });
4498
4996
  // One line of the message's font tall, so the icon centres on the first line at any size:
4499
4997
  // the zero-width space gives the box the font's line height without a fixed value
4500
- var StyledIconLine = styled__default.default.span.withConfig({
4998
+ var StyledIconLine = /*#__PURE__*/styled__default.default.span.withConfig({
4501
4999
  displayName: "InlineAlert__StyledIconLine",
4502
5000
  componentId: "sc-eervmb-1"
4503
5001
  })(templateObject_2$j || (templateObject_2$j = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n\n &::after {\n content: '\\200B';\n }\n"], ["\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n\n &::after {\n content: '\\\\200B';\n }\n"])));
4504
- var StyledMessage = styled__default.default.span.withConfig({
5002
+ var StyledMessage = /*#__PURE__*/styled__default.default.span.withConfig({
4505
5003
  displayName: "InlineAlert__StyledMessage",
4506
5004
  componentId: "sc-eervmb-2"
4507
5005
  })(templateObject_3$i || (templateObject_3$i = __makeTemplateObject(["\n min-width: 0;\n"], ["\n min-width: 0;\n"
@@ -4574,15 +5072,15 @@ var InlineAlert = function InlineAlert(_a) {
4574
5072
  InlineAlert.displayName = 'InlineAlert';
4575
5073
  var templateObject_1$o, templateObject_2$j, templateObject_3$i;
4576
5074
 
4577
- var BreadcrumbNavStyled = styled__default.default.nav.withConfig({
5075
+ var BreadcrumbNavStyled = /*#__PURE__*/styled__default.default.nav.withConfig({
4578
5076
  displayName: "Breadcrumbs__BreadcrumbNavStyled",
4579
5077
  componentId: "sc-7ouzg5-0"
4580
5078
  })(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"]);
4581
- var BreadcrumbStyled = styled__default.default.li.withConfig({
5079
+ var BreadcrumbStyled = /*#__PURE__*/styled__default.default.li.withConfig({
4582
5080
  displayName: "Breadcrumbs__BreadcrumbStyled",
4583
5081
  componentId: "sc-7ouzg5-1"
4584
5082
  })(templateObject_2$i || (templateObject_2$i = __makeTemplateObject(["\n text-transform: uppercase;\n display: inline-flex;\n align-items: center;\n gap: ", ";\n padding: ", ";\n\n &:last-of-type a {\n text-decoration: none;\n color: ", ";\n }\n\n &:last-of-type p {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: ", ";\n }\n\n > a {\n display: inline-flex;\n align-items: center;\n text-decoration: underline;\n color: ", ";\n }\n"], ["\n text-transform: uppercase;\n display: inline-flex;\n align-items: center;\n gap: ", ";\n padding: ", ";\n\n &:last-of-type a {\n text-decoration: none;\n color: ", ";\n }\n\n &:last-of-type p {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: ", ";\n }\n\n > a {\n display: inline-flex;\n align-items: center;\n text-decoration: underline;\n color: ", ";\n }\n"])), tokens.semantic.space[200], tokens.semantic.space[200], tokens.semantic.color.text.muted, tokens.component.breadcrumbs.item.maxWidth, tokens.semantic.color.text["default"]);
4585
- var BreadcrumbSeparator = styled__default.default.span.withConfig({
5083
+ var BreadcrumbSeparator = /*#__PURE__*/styled__default.default.span.withConfig({
4586
5084
  displayName: "Breadcrumbs__BreadcrumbSeparator",
4587
5085
  componentId: "sc-7ouzg5-2"
4588
5086
  })(templateObject_3$h || (templateObject_3$h = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n opacity: 0.5;\n"], ["\n display: inline-flex;\n align-items: center;\n opacity: 0.5;\n"])));
@@ -4637,7 +5135,7 @@ var templateObject_1$n, templateObject_2$i, templateObject_3$h;
4637
5135
 
4638
5136
  // The whole card is one link (#185): hovering anywhere fades its image, pressing fades it one step
4639
5137
  // further, and keyboard focus draws the system focus ring around the card (decision 0029)
4640
- var CardSmallStyled = styled__default.default.div.withConfig({
5138
+ var CardSmallStyled = /*#__PURE__*/styled__default.default.div.withConfig({
4641
5139
  displayName: "CardSmall__CardSmallStyled",
4642
5140
  componentId: "sc-jpcqvd-0"
4643
5141
  })(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);
@@ -4696,7 +5194,7 @@ var CardSmall = function CardSmall(_a) {
4696
5194
  };
4697
5195
  var templateObject_1$m;
4698
5196
 
4699
- var CardLargeStyled = styled__default.default.div.withConfig({
5197
+ var CardLargeStyled = /*#__PURE__*/styled__default.default.div.withConfig({
4700
5198
  displayName: "CardLarge__CardLargeStyled",
4701
5199
  componentId: "sc-1rfgdzl-0"
4702
5200
  })(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']);
@@ -4760,7 +5258,7 @@ var templateObject_1$l;
4760
5258
  * Hidden native checkbox input for accessibility
4761
5259
  * Maintains keyboard navigation and screen reader support
4762
5260
  */
4763
- var HiddenCheckboxInput = styled__default.default.input.withConfig({
5261
+ var HiddenCheckboxInput = /*#__PURE__*/styled__default.default.input.withConfig({
4764
5262
  shouldForwardProp: function shouldForwardProp(prop) {
4765
5263
  return !prop.startsWith('$');
4766
5264
  },
@@ -4777,7 +5275,7 @@ var HiddenCheckboxInput = styled__default.default.input.withConfig({
4777
5275
  * 24px × 24px for 8px grid alignment
4778
5276
  * Uses component.input.* tokens for consistency with TextField
4779
5277
  */
4780
- var StyledCheckbox = styled__default.default.span.withConfig({
5278
+ var StyledCheckbox = /*#__PURE__*/styled__default.default.span.withConfig({
4781
5279
  shouldForwardProp: function shouldForwardProp(prop) {
4782
5280
  return !prop.startsWith('$');
4783
5281
  },
@@ -4818,7 +5316,7 @@ var StyledCheckbox = styled__default.default.span.withConfig({
4818
5316
  * Container for checkbox with proper spacing and alignment
4819
5317
  * 48px min-height for touch target (8px grid aligned)
4820
5318
  */
4821
- var StyledCheckboxContainer = styled__default.default.label.withConfig({
5319
+ var StyledCheckboxContainer = /*#__PURE__*/styled__default.default.label.withConfig({
4822
5320
  shouldForwardProp: function shouldForwardProp(prop) {
4823
5321
  return !prop.startsWith('$');
4824
5322
  },
@@ -4835,7 +5333,7 @@ var StyledCheckboxContainer = styled__default.default.label.withConfig({
4835
5333
  /**
4836
5334
  * Label text with proper typography
4837
5335
  */
4838
- var StyledCheckboxLabel = styled__default.default.span.withConfig({
5336
+ var StyledCheckboxLabel = /*#__PURE__*/styled__default.default.span.withConfig({
4839
5337
  shouldForwardProp: function shouldForwardProp(prop) {
4840
5338
  return !prop.startsWith('$');
4841
5339
  },
@@ -4846,11 +5344,11 @@ var StyledCheckboxLabel = styled__default.default.span.withConfig({
4846
5344
  });
4847
5345
  var templateObject_1$k, templateObject_2$h, templateObject_3$g, templateObject_4$d;
4848
5346
 
4849
- var StyledFieldContainer$3 = styled__default.default.div.withConfig({
5347
+ var StyledFieldContainer$3 = /*#__PURE__*/styled__default.default.div.withConfig({
4850
5348
  displayName: "Checkbox__StyledFieldContainer",
4851
5349
  componentId: "sc-vquz3v-0"
4852
5350
  })(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]);
4853
- var StyledHelperText$4 = styled__default.default.span.withConfig({
5351
+ var StyledHelperText$4 = /*#__PURE__*/styled__default.default.span.withConfig({
4854
5352
  displayName: "Checkbox__StyledHelperText",
4855
5353
  componentId: "sc-vquz3v-1"
4856
5354
  })(templateObject_2$g || (templateObject_2$g = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n margin-left: ", "; /* Align with label text after checkbox */\n display: block;\n"], ["\n font: ", ";\n color: ", ";\n margin-left: ", "; /* Align with label text after checkbox */\n display: block;\n"
@@ -4974,7 +5472,7 @@ var Checkbox = /*#__PURE__*/React.forwardRef(function (_a, ref) {
4974
5472
  Checkbox.displayName = 'Checkbox';
4975
5473
  var templateObject_1$j, templateObject_2$g;
4976
5474
 
4977
- var ChipGroupWrapper = styled__default.default.div.withConfig({
5475
+ var ChipGroupWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
4978
5476
  displayName: "ChipGroup__ChipGroupWrapper",
4979
5477
  componentId: "sc-ae049w-0"
4980
5478
  })(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"])));
@@ -5003,7 +5501,7 @@ var _a$1 = tokens.semantic,
5003
5501
  color$1 = _a$1.color,
5004
5502
  border$1 = _a$1.border,
5005
5503
  motion$2 = _a$1.motion;
5006
- var StyledCodeBlock = styled__default.default.pre.withConfig({
5504
+ var StyledCodeBlock = /*#__PURE__*/styled__default.default.pre.withConfig({
5007
5505
  displayName: "CodeBlock__StyledCodeBlock",
5008
5506
  componentId: "sc-1p1t0kp-0"
5009
5507
  })(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.emphasis, 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) {
@@ -5019,15 +5517,15 @@ var StyledCodeBlock = styled__default.default.pre.withConfig({
5019
5517
  // 10000px is effectively "no limit" for most code blocks
5020
5518
  return $isExpanded ? 'max-height: 10000px;' : "max-height: ".concat($maxHeight, "px;");
5021
5519
  }, border$1.focus, border$1.focusOffset);
5022
- var CodeBlockWrapper = styled__default.default.div.withConfig({
5520
+ var CodeBlockWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
5023
5521
  displayName: "CodeBlock__CodeBlockWrapper",
5024
5522
  componentId: "sc-1p1t0kp-1"
5025
5523
  })(templateObject_2$f || (templateObject_2$f = __makeTemplateObject(["\n position: relative;\n display: inline-block;\n width: 100%;\n"], ["\n position: relative;\n display: inline-block;\n width: 100%;\n"])));
5026
- var CopyButtonWrapper = styled__default.default.div.withConfig({
5524
+ var CopyButtonWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
5027
5525
  displayName: "CodeBlock__CopyButtonWrapper",
5028
5526
  componentId: "sc-1p1t0kp-2"
5029
5527
  })(templateObject_3$f || (templateObject_3$f = __makeTemplateObject(["\n position: absolute;\n bottom: ", ";\n right: ", ";\n"], ["\n position: absolute;\n bottom: ", ";\n right: ", ";\n"])), tokens.semantic.space[400], tokens.semantic.space[200]);
5030
- var ExpandButtonWrapper = styled__default.default.div.withConfig({
5528
+ var ExpandButtonWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
5031
5529
  displayName: "CodeBlock__ExpandButtonWrapper",
5032
5530
  componentId: "sc-1p1t0kp-3"
5033
5531
  })(templateObject_4$c || (templateObject_4$c = __makeTemplateObject(["\n display: flex;\n justify-content: center;\n padding: ", " 0;\n position: absolute;\n bottom: ", ";\n left: ", ";\n right: ", ";\n width: calc(100% - 2 * ", ");\n margin-bottom: ", ";\n border-radius: ", ";\n transition: opacity ", " ", ", background ", " ", ";\n \n ", "\n"], ["\n display: flex;\n justify-content: center;\n padding: ", " 0;\n position: absolute;\n bottom: ", ";\n left: ", ";\n right: ", ";\n width: calc(100% - 2 * ", ");\n margin-bottom: ", ";\n border-radius: ", ";\n transition: opacity ", " ", ", background ", " ", ";\n \n ", "\n"])), tokens.semantic.space[200], tokens.semantic.border.width.thin, tokens.semantic.border.width.thin, tokens.semantic.border.width.thin, tokens.semantic.border.width.thin, tokens.semantic.space[200], tokens.semantic.radius.sm, motion$2.duration.slow, motion$2.easing.standard, motion$2.duration.slow, motion$2.easing.standard, function (_a) {
@@ -5092,7 +5590,7 @@ var CopyButton = function CopyButton(_a) {
5092
5590
  })
5093
5591
  });
5094
5592
  };
5095
- var LiveRegion = styled__default.default.span.withConfig({
5593
+ var LiveRegion = /*#__PURE__*/styled__default.default.span.withConfig({
5096
5594
  displayName: "CodeBlock__LiveRegion",
5097
5595
  componentId: "sc-1p1t0kp-4"
5098
5596
  })(templateObject_5$a || (templateObject_5$a = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"
@@ -5218,22 +5716,22 @@ var CodeBlock = function CodeBlock(_a) {
5218
5716
  };
5219
5717
  var templateObject_1$h, templateObject_2$f, templateObject_3$f, templateObject_4$c, templateObject_5$a;
5220
5718
 
5221
- var StyledHeader$1 = styled__default.default.div.withConfig({
5719
+ var StyledHeader$1 = /*#__PURE__*/styled__default.default.div.withConfig({
5222
5720
  displayName: "DateGroup__StyledHeader",
5223
5721
  componentId: "sc-9nfm1f-0"
5224
5722
  })(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) {
5225
5723
  var $sticky = _a.$sticky;
5226
5724
  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 ");
5227
5725
  });
5228
- var StyledLeftSection = styled__default.default.div.withConfig({
5726
+ var StyledLeftSection = /*#__PURE__*/styled__default.default.div.withConfig({
5229
5727
  displayName: "DateGroup__StyledLeftSection",
5230
5728
  componentId: "sc-9nfm1f-1"
5231
5729
  })(templateObject_2$e || (templateObject_2$e = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n"])), tokens.semantic.space[200]);
5232
- var StyledRightSection = styled__default.default.div.withConfig({
5730
+ var StyledRightSection = /*#__PURE__*/styled__default.default.div.withConfig({
5233
5731
  displayName: "DateGroup__StyledRightSection",
5234
5732
  componentId: "sc-9nfm1f-2"
5235
5733
  })(templateObject_3$e || (templateObject_3$e = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n"])), tokens.semantic.space[300]);
5236
- var StyledContent = styled__default.default.div.withConfig({
5734
+ var StyledContent = /*#__PURE__*/styled__default.default.div.withConfig({
5237
5735
  displayName: "DateGroup__StyledContent",
5238
5736
  componentId: "sc-9nfm1f-3"
5239
5737
  })(templateObject_4$b || (templateObject_4$b = __makeTemplateObject(["\n /* Content area for children */\n"], ["\n /* Content area for children */\n"
@@ -5311,7 +5809,7 @@ var DateGroup = function DateGroup(_a) {
5311
5809
  var templateObject_1$g, templateObject_2$e, templateObject_3$e, templateObject_4$b;
5312
5810
 
5313
5811
  var semantic$7 = tokens.semantic;
5314
- var StyledContainer$1 = styled__default.default.div.withConfig({
5812
+ var StyledContainer$1 = /*#__PURE__*/styled__default.default.div.withConfig({
5315
5813
  shouldForwardProp: function shouldForwardProp(prop) {
5316
5814
  return !prop.startsWith('$');
5317
5815
  },
@@ -5321,7 +5819,7 @@ var StyledContainer$1 = styled__default.default.div.withConfig({
5321
5819
  var $size = _a.$size;
5322
5820
  return $size === 'small' ? semantic$7.space[800] : $size === 'large' ? semantic$7.space[1400] : semantic$7.space[1000];
5323
5821
  });
5324
- var StyledIllustration = styled__default.default.div.withConfig({
5822
+ var StyledIllustration = /*#__PURE__*/styled__default.default.div.withConfig({
5325
5823
  shouldForwardProp: function shouldForwardProp(prop) {
5326
5824
  return !prop.startsWith('$');
5327
5825
  },
@@ -5337,7 +5835,7 @@ var StyledIllustration = styled__default.default.div.withConfig({
5337
5835
  var $variant = _a.$variant;
5338
5836
  return $variant === 'error' ? semantic$7.color.icon.danger : $variant === 'success' ? semantic$7.color.icon.success : semantic$7.color.icon.muted;
5339
5837
  });
5340
- var StyledTextContainer = styled__default.default.div.withConfig({
5838
+ var StyledTextContainer = /*#__PURE__*/styled__default.default.div.withConfig({
5341
5839
  displayName: "EmptyState__StyledTextContainer",
5342
5840
  componentId: "sc-1u5hxh-2"
5343
5841
  })(templateObject_3$d || (templateObject_3$d = __makeTemplateObject(["\n max-width: ", ";\n margin-bottom: ", ";\n"], ["\n max-width: ", ";\n margin-bottom: ", ";\n"
@@ -5430,23 +5928,23 @@ var EmptyState = function EmptyState(_a) {
5430
5928
  var templateObject_1$f, templateObject_2$d, templateObject_3$d;
5431
5929
 
5432
5930
  var space$5 = tokens.semantic.space;
5433
- var FeatureBlockStyled = styled__default.default.div.withConfig({
5931
+ var FeatureBlockStyled = /*#__PURE__*/styled__default.default.div.withConfig({
5434
5932
  displayName: "FeatureBlock__FeatureBlockStyled",
5435
5933
  componentId: "sc-1mi4lso-0"
5436
5934
  })(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']);
5437
- var ImageWrapper = styled__default.default.div.withConfig({
5935
+ var ImageWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
5438
5936
  displayName: "FeatureBlock__ImageWrapper",
5439
5937
  componentId: "sc-1mi4lso-1"
5440
5938
  })(templateObject_2$c || (templateObject_2$c = __makeTemplateObject(["\n grid-column: span 12;\n\n @media (min-width: ", ") {\n grid-column: span 6;\n }\n"], ["\n grid-column: span 12;\n\n @media (min-width: ", ") {\n grid-column: span 6;\n }\n"])), tokens.semantic.breakpoint.lg);
5441
- var ContentSection = styled__default.default.div.withConfig({
5939
+ var ContentSection = /*#__PURE__*/styled__default.default.div.withConfig({
5442
5940
  displayName: "FeatureBlock__ContentSection",
5443
5941
  componentId: "sc-1mi4lso-2"
5444
5942
  })(templateObject_3$c || (templateObject_3$c = __makeTemplateObject(["\n grid-column: span 12;\n margin-top: ", ";\n\n @media (min-width: ", ") {\n grid-column: span 6;\n margin-top: 0;\n padding-right: ", ";\n }\n\n @media (min-width: ", ") {\n padding-right: ", ";\n }\n"], ["\n grid-column: span 12;\n margin-top: ", ";\n\n @media (min-width: ", ") {\n grid-column: span 6;\n margin-top: 0;\n padding-right: ", ";\n }\n\n @media (min-width: ", ") {\n padding-right: ", ";\n }\n"])), space$5[600], tokens.semantic.breakpoint.lg, space$5[800], tokens.semantic.breakpoint.xl, space$5[2400]);
5445
- var ButtonWrapper = styled__default.default.div.withConfig({
5943
+ var ButtonWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
5446
5944
  displayName: "FeatureBlock__ButtonWrapper",
5447
5945
  componentId: "sc-1mi4lso-3"
5448
5946
  })(templateObject_4$a || (templateObject_4$a = __makeTemplateObject(["\n button {\n margin-top: ", ";\n }\n"], ["\n button {\n margin-top: ", ";\n }\n"])), space$5[400]);
5449
- var ContentWrapper = styled__default.default.div.withConfig({
5947
+ var ContentWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
5450
5948
  displayName: "FeatureBlock__ContentWrapper",
5451
5949
  componentId: "sc-1mi4lso-4"
5452
5950
  })(templateObject_5$9 || (templateObject_5$9 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n height: 100%;\n"], ["\n display: flex;\n flex-direction: column;\n justify-content: center;\n height: 100%;\n"])));
@@ -5527,11 +6025,11 @@ var controlPaddingY = space$4[200];
5527
6025
  var controlHeight = tokens.semantic.size.control.lg;
5528
6026
  var duration = motion$1.duration,
5529
6027
  easing = motion$1.easing;
5530
- var DropdownContainer = styled__default.default.div.withConfig({
6028
+ var DropdownContainer = /*#__PURE__*/styled__default.default.div.withConfig({
5531
6029
  displayName: "Dropdown__DropdownContainer",
5532
6030
  componentId: "sc-kz07c4-0"
5533
6031
  })(templateObject_1$d || (templateObject_1$d = __makeTemplateObject(["\n position: relative;\n width: 100%;\n"], ["\n position: relative;\n width: 100%;\n"])));
5534
- var DropdownTrigger = styled__default.default.button.withConfig({
6032
+ var DropdownTrigger = /*#__PURE__*/styled__default.default.button.withConfig({
5535
6033
  shouldForwardProp: function shouldForwardProp(prop) {
5536
6034
  return !prop.startsWith('$');
5537
6035
  },
@@ -5551,7 +6049,7 @@ var DropdownTrigger = styled__default.default.button.withConfig({
5551
6049
  $hasError = _a.$hasError;
5552
6050
  return $isOpen && "\n border-color: ".concat($hasError ? input$1.error.focus.borderColor : input$1.focus.borderColor, ";\n ");
5553
6051
  });
5554
- var DropdownIcon = styled__default.default.div.withConfig({
6052
+ var DropdownIcon = /*#__PURE__*/styled__default.default.div.withConfig({
5555
6053
  shouldForwardProp: function shouldForwardProp(prop) {
5556
6054
  return !prop.startsWith('$');
5557
6055
  },
@@ -5561,7 +6059,7 @@ var DropdownIcon = styled__default.default.div.withConfig({
5561
6059
  var $isOpen = _a.$isOpen;
5562
6060
  return $isOpen && "\n transform: rotate(180deg);\n ";
5563
6061
  }, reducedMotion);
5564
- var DropdownMenu = styled__default.default.div.withConfig({
6062
+ var DropdownMenu = /*#__PURE__*/styled__default.default.div.withConfig({
5565
6063
  shouldForwardProp: function shouldForwardProp(prop) {
5566
6064
  return !prop.startsWith('$');
5567
6065
  },
@@ -5577,7 +6075,7 @@ var DropdownMenu = styled__default.default.div.withConfig({
5577
6075
  var $isOpen = _a.$isOpen;
5578
6076
  return $isOpen ? 'translateY(0)' : "translateY(calc(-1 * ".concat(tokens.semantic.motion.distance.sm, "))");
5579
6077
  }, duration.fast, easing.decelerate, duration.fast, easing.decelerate, duration.fast, easing.decelerate, tokens.semantic.size.menu.maxHeight, reducedMotion);
5580
- var DropdownOption = styled__default.default.button.withConfig({
6078
+ var DropdownOption = /*#__PURE__*/styled__default.default.button.withConfig({
5581
6079
  shouldForwardProp: function shouldForwardProp(prop) {
5582
6080
  return !prop.startsWith('$');
5583
6081
  },
@@ -5591,7 +6089,7 @@ var DropdownOption = styled__default.default.button.withConfig({
5591
6089
  focused: $isFocused
5592
6090
  });
5593
6091
  }, border.emphasis);
5594
- var StyledHelperText$3 = styled__default.default.div.withConfig({
6092
+ var StyledHelperText$3 = /*#__PURE__*/styled__default.default.div.withConfig({
5595
6093
  displayName: "Dropdown__StyledHelperText",
5596
6094
  componentId: "sc-kz07c4-5"
5597
6095
  })(templateObject_6$7 || (templateObject_6$7 = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n margin-top: ", ";\n"], ["\n font: ", ";\n color: ", ";\n margin-top: ", ";\n"])), field$3.helperText.typography, function (_a) {
@@ -5780,7 +6278,7 @@ var Dropdown = function Dropdown(_a) {
5780
6278
  var templateObject_1$d, templateObject_2$b, templateObject_3$b, templateObject_4$9, templateObject_5$8, templateObject_6$7;
5781
6279
 
5782
6280
  var semantic$6 = tokens.semantic;
5783
- var StyledList = styled__default.default.ul.withConfig({
6281
+ var StyledList = /*#__PURE__*/styled__default.default.ul.withConfig({
5784
6282
  shouldForwardProp: function shouldForwardProp(prop) {
5785
6283
  return !prop.startsWith('$');
5786
6284
  },
@@ -5839,14 +6337,14 @@ var scaleIn = styled.keyframes(templateObject_2$a || (templateObject_2$a = __mak
5839
6337
  // ---------------------------------------------------------------------------
5840
6338
  // Styled components
5841
6339
  // ---------------------------------------------------------------------------
5842
- var StyledOverlay$1 = styled__default.default.div.withConfig({
6340
+ var StyledOverlay$1 = /*#__PURE__*/styled__default.default.div.withConfig({
5843
6341
  displayName: "Modal__StyledOverlay",
5844
6342
  componentId: "sc-1d3g5gh-0"
5845
6343
  })(templateObject_4$8 || (templateObject_4$8 = __makeTemplateObject(["\n position: fixed;\n inset: 0;\n background-color: ", ";\n z-index: ", ";\n ", "\n"], ["\n position: fixed;\n inset: 0;\n background-color: ", ";\n z-index: ", ";\n ", "\n"])), semantic$5.surface.scrim, semantic$5.layer.modal, styled.css(templateObject_3$a || (templateObject_3$a = __makeTemplateObject(["animation: ", " ", " ", "", ";"], ["animation: ", " ", " ", "", ";"])), fadeIn$1, motion.duration.moderate, motion.easing.decelerate, function (_a) {
5846
6344
  var $isExiting = _a.$isExiting;
5847
6345
  return $isExiting && exitAnimation;
5848
6346
  }));
5849
- var StyledDialog = styled__default.default.div.withConfig({
6347
+ var StyledDialog = /*#__PURE__*/styled__default.default.div.withConfig({
5850
6348
  shouldForwardProp: function shouldForwardProp(prop) {
5851
6349
  return !prop.startsWith('$');
5852
6350
  },
@@ -5865,15 +6363,15 @@ var StyledDialog = styled__default.default.div.withConfig({
5865
6363
  var $isExiting = _a.$isExiting;
5866
6364
  return $isExiting && exitAnimation;
5867
6365
  });
5868
- var StyledHeader = styled__default.default.div.withConfig({
6366
+ var StyledHeader = /*#__PURE__*/styled__default.default.div.withConfig({
5869
6367
  displayName: "Modal__StyledHeader",
5870
6368
  componentId: "sc-1d3g5gh-2"
5871
6369
  })(templateObject_7$5 || (templateObject_7$5 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: ", " ", " 0;\n flex-shrink: 0;\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: ", " ", " 0;\n flex-shrink: 0;\n"])), space$3[400], space$3[400]);
5872
- var StyledBody = styled__default.default.div.withConfig({
6370
+ var StyledBody = /*#__PURE__*/styled__default.default.div.withConfig({
5873
6371
  displayName: "Modal__StyledBody",
5874
6372
  componentId: "sc-1d3g5gh-3"
5875
6373
  })(templateObject_8$4 || (templateObject_8$4 = __makeTemplateObject(["\n flex: 1 1 auto;\n overflow-y: auto;\n padding: ", " ", ";\n\n /* Scrollbar styling */\n &::-webkit-scrollbar {\n width: ", ";\n }\n &::-webkit-scrollbar-track {\n background: ", ";\n }\n &::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: ", ";\n }\n &::-webkit-scrollbar-thumb:hover {\n background: ", ";\n }\n"], ["\n flex: 1 1 auto;\n overflow-y: auto;\n padding: ", " ", ";\n\n /* Scrollbar styling */\n &::-webkit-scrollbar {\n width: ", ";\n }\n &::-webkit-scrollbar-track {\n background: ", ";\n }\n &::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: ", ";\n }\n &::-webkit-scrollbar-thumb:hover {\n background: ", ";\n }\n"])), space$3[300], space$3[400], semantic$5.space[200], color.fill.muted, color.border["default"], semantic$5.radius.full, color.fill.inverse);
5876
- var StyledFooter = styled__default.default.div.withConfig({
6374
+ var StyledFooter = /*#__PURE__*/styled__default.default.div.withConfig({
5877
6375
  displayName: "Modal__StyledFooter",
5878
6376
  componentId: "sc-1d3g5gh-4"
5879
6377
  })(templateObject_9$3 || (templateObject_9$3 = __makeTemplateObject(["\n display: flex;\n justify-content: flex-end;\n gap: ", ";\n padding: 0 ", " ", ";\n flex-shrink: 0;\n"], ["\n display: flex;\n justify-content: flex-end;\n gap: ", ";\n padding: 0 ", " ", ";\n flex-shrink: 0;\n"
@@ -6082,7 +6580,7 @@ var inputBaseStyles = styled.css(templateObject_1$a || (templateObject_1$a = __m
6082
6580
  var $hasError = _a.$hasError;
6083
6581
  return $hasError ? input.error.hover.borderColor : input.hover.borderColor;
6084
6582
  });
6085
- var StyledInputBase = styled__default.default.input.withConfig({
6583
+ var StyledInputBase = /*#__PURE__*/styled__default.default.input.withConfig({
6086
6584
  shouldForwardProp: function shouldForwardProp(prop) {
6087
6585
  return !prop.startsWith('$');
6088
6586
  },
@@ -6095,7 +6593,7 @@ var StyledInputBase = styled__default.default.input.withConfig({
6095
6593
  /**
6096
6594
  * Base styled textarea with shared styling
6097
6595
  */
6098
- var StyledTextAreaBase = styled__default.default.textarea.withConfig({
6596
+ var StyledTextAreaBase = /*#__PURE__*/styled__default.default.textarea.withConfig({
6099
6597
  shouldForwardProp: function shouldForwardProp(prop) {
6100
6598
  return !prop.startsWith('$');
6101
6599
  },
@@ -6107,31 +6605,31 @@ var templateObject_1$a, templateObject_2$9, templateObject_3$9;
6107
6605
  var field$2 = tokens.component.field;
6108
6606
  // Gaps come from the semantic spacing scale: no component spacing tokens (decision 0022)
6109
6607
  var space$2 = tokens.semantic.space;
6110
- var StyledFieldContainer$2 = styled__default.default.div.withConfig({
6608
+ var StyledFieldContainer$2 = /*#__PURE__*/styled__default.default.div.withConfig({
6111
6609
  displayName: "NumberInput__StyledFieldContainer",
6112
6610
  componentId: "sc-qotc3w-0"
6113
6611
  })(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]);
6114
- var StyledLabel$3 = styled__default.default.label.withConfig({
6612
+ var StyledLabel$3 = /*#__PURE__*/styled__default.default.label.withConfig({
6115
6613
  displayName: "NumberInput__StyledLabel",
6116
6614
  componentId: "sc-qotc3w-1"
6117
6615
  })(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n font: ", ";\n color: ", ";\n\n &[data-disabled='true'] {\n color: ", ";\n }\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n font: ", ";\n color: ", ";\n\n &[data-disabled='true'] {\n color: ", ";\n }\n"])), space$2[100], field$2.label.typography, field$2.label.color, field$2.label.colorDisabled);
6118
- var StyledRequiredIndicator$2 = styled__default.default.span.withConfig({
6616
+ var StyledRequiredIndicator$2 = /*#__PURE__*/styled__default.default.span.withConfig({
6119
6617
  displayName: "NumberInput__StyledRequiredIndicator",
6120
6618
  componentId: "sc-qotc3w-2"
6121
6619
  })(templateObject_3$8 || (templateObject_3$8 = __makeTemplateObject(["\n color: ", ";\n font-weight: ", ";\n"], ["\n color: ", ";\n font-weight: ", ";\n"])), field$2.requiredIndicator.color, field$2.requiredIndicator.fontWeight);
6122
- var StyledInputWrapper$2 = styled__default.default.div.withConfig({
6620
+ var StyledInputWrapper$2 = /*#__PURE__*/styled__default.default.div.withConfig({
6123
6621
  displayName: "NumberInput__StyledInputWrapper",
6124
6622
  componentId: "sc-qotc3w-3"
6125
6623
  })(templateObject_4$7 || (templateObject_4$7 = __makeTemplateObject(["\n position: relative;\n display: flex;\n align-items: center;\n"], ["\n position: relative;\n display: flex;\n align-items: center;\n"])));
6126
- var StyledNumberInput = styled__default.default(StyledInputBase).withConfig({
6624
+ var StyledNumberInput = /*#__PURE__*/styled__default.default(StyledInputBase).withConfig({
6127
6625
  displayName: "NumberInput__StyledNumberInput",
6128
6626
  componentId: "sc-qotc3w-4"
6129
6627
  })(templateObject_5$6 || (templateObject_5$6 = __makeTemplateObject(["\n /* Add padding on the right to make room for stepper buttons */\n padding-right: ", ";\n"], ["\n /* Add padding on the right to make room for stepper buttons */\n padding-right: ", ";\n"])), tokens.semantic.space[1000]);
6130
- var StyledStepperContainer = styled__default.default.div.withConfig({
6628
+ var StyledStepperContainer = /*#__PURE__*/styled__default.default.div.withConfig({
6131
6629
  displayName: "NumberInput__StyledStepperContainer",
6132
6630
  componentId: "sc-qotc3w-5"
6133
6631
  })(templateObject_6$5 || (templateObject_6$5 = __makeTemplateObject(["\n position: absolute;\n right: ", ";\n display: flex;\n flex-direction: row;\n gap: ", ";\n"], ["\n position: absolute;\n right: ", ";\n display: flex;\n flex-direction: row;\n gap: ", ";\n"])), tokens.semantic.space[200], tokens.semantic.space[200]);
6134
- var StyledHelperText$2 = styled__default.default.div.withConfig({
6632
+ var StyledHelperText$2 = /*#__PURE__*/styled__default.default.div.withConfig({
6135
6633
  displayName: "NumberInput__StyledHelperText",
6136
6634
  componentId: "sc-qotc3w-6"
6137
6635
  })(templateObject_7$4 || (templateObject_7$4 = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n"], ["\n font: ", ";\n color: ", ";\n"
@@ -6360,7 +6858,7 @@ var NumberInput = /*#__PURE__*/React.forwardRef(function (_a, ref) {
6360
6858
  NumberInput.displayName = 'NumberInput';
6361
6859
  var templateObject_1$9, templateObject_2$8, templateObject_3$8, templateObject_4$7, templateObject_5$6, templateObject_6$5, templateObject_7$4;
6362
6860
 
6363
- var PageTitleStyled = styled__default.default.div.withConfig({
6861
+ var PageTitleStyled = /*#__PURE__*/styled__default.default.div.withConfig({
6364
6862
  shouldForwardProp: function shouldForwardProp(prop) {
6365
6863
  return !prop.startsWith('$');
6366
6864
  },
@@ -6428,30 +6926,30 @@ var templateObject_1$8;
6428
6926
  var field$1 = tokens.component.field;
6429
6927
  // Gaps come from the semantic spacing scale: no component spacing tokens (decision 0022)
6430
6928
  var space$1 = tokens.semantic.space;
6431
- var StyledFieldContainer$1 = styled__default.default.div.withConfig({
6929
+ var StyledFieldContainer$1 = /*#__PURE__*/styled__default.default.div.withConfig({
6432
6930
  displayName: "PasswordField__StyledFieldContainer",
6433
6931
  componentId: "sc-1p15zk0-0"
6434
6932
  })(templateObject_1$7 || (templateObject_1$7 = __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$1[200]);
6435
- var StyledLabel$2 = styled__default.default.label.withConfig({
6933
+ var StyledLabel$2 = /*#__PURE__*/styled__default.default.label.withConfig({
6436
6934
  displayName: "PasswordField__StyledLabel",
6437
6935
  componentId: "sc-1p15zk0-1"
6438
6936
  })(templateObject_2$7 || (templateObject_2$7 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n font: ", ";\n color: ", ";\n\n &[data-disabled='true'] {\n color: ", ";\n }\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n font: ", ";\n color: ", ";\n\n &[data-disabled='true'] {\n color: ", ";\n }\n"])), space$1[100], field$1.label.typography, field$1.label.color, field$1.label.colorDisabled);
6439
- var StyledRequiredIndicator$1 = styled__default.default.span.withConfig({
6937
+ var StyledRequiredIndicator$1 = /*#__PURE__*/styled__default.default.span.withConfig({
6440
6938
  displayName: "PasswordField__StyledRequiredIndicator",
6441
6939
  componentId: "sc-1p15zk0-2"
6442
6940
  })(templateObject_3$7 || (templateObject_3$7 = __makeTemplateObject(["\n color: ", ";\n font-weight: ", ";\n"], ["\n color: ", ";\n font-weight: ", ";\n"])), field$1.requiredIndicator.color, field$1.requiredIndicator.fontWeight);
6443
- var StyledHelperText$1 = styled__default.default.div.withConfig({
6941
+ var StyledHelperText$1 = /*#__PURE__*/styled__default.default.div.withConfig({
6444
6942
  displayName: "PasswordField__StyledHelperText",
6445
6943
  componentId: "sc-1p15zk0-3"
6446
6944
  })(templateObject_4$6 || (templateObject_4$6 = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n"], ["\n font: ", ";\n color: ", ";\n"])), field$1.helperText.typography, function (_a) {
6447
6945
  var $hasError = _a.$hasError;
6448
6946
  return $hasError ? field$1.helperText.colorError : field$1.helperText.color;
6449
6947
  });
6450
- var StyledInputWrapper$1 = styled__default.default.div.withConfig({
6948
+ var StyledInputWrapper$1 = /*#__PURE__*/styled__default.default.div.withConfig({
6451
6949
  displayName: "PasswordField__StyledInputWrapper",
6452
6950
  componentId: "sc-1p15zk0-4"
6453
6951
  })(templateObject_5$5 || (templateObject_5$5 = __makeTemplateObject(["\n position: relative;\n width: 100%;\n"], ["\n position: relative;\n width: 100%;\n"])));
6454
- var StyledToggleButton = styled__default.default.div.withConfig({
6952
+ var StyledToggleButton = /*#__PURE__*/styled__default.default.div.withConfig({
6455
6953
  displayName: "PasswordField__StyledToggleButton",
6456
6954
  componentId: "sc-1p15zk0-5"
6457
6955
  })(templateObject_6$4 || (templateObject_6$4 = __makeTemplateObject(["\n position: absolute;\n right: ", ";\n top: 50%;\n transform: translateY(-50%);\n"], ["\n position: absolute;\n right: ", ";\n top: 50%;\n transform: translateY(-50%);\n"
@@ -6561,11 +7059,11 @@ var templateObject_1$7, templateObject_2$7, templateObject_3$7, templateObject_4
6561
7059
 
6562
7060
  var semantic$3 = tokens.semantic,
6563
7061
  component = tokens.component;
6564
- var StyledSearchContainer = styled__default.default.div.withConfig({
7062
+ var StyledSearchContainer = /*#__PURE__*/styled__default.default.div.withConfig({
6565
7063
  displayName: "SearchField__StyledSearchContainer",
6566
7064
  componentId: "sc-qhz9i8-0"
6567
7065
  })(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject(["\n position: relative;\n width: 100%;\n"], ["\n position: relative;\n width: 100%;\n"])));
6568
- var StyledInputWrapper = styled__default.default.div.withConfig({
7066
+ var StyledInputWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
6569
7067
  displayName: "SearchField__StyledInputWrapper",
6570
7068
  componentId: "sc-qhz9i8-1"
6571
7069
  })(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n /* The field's height comes from size.control.lg as a minimum, matching the other fields\n (decision 0034); the padding only matters if the content grows past it */\n box-sizing: border-box;\n min-height: ", ";\n padding: ", " ", ";\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n transition: border-color ", " ", ", outline ", " ", ";\n \n ", "\n \n ", "\n \n &:hover:not([data-disabled='true']) {\n border-color: ", ";\n }\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n /* The field's height comes from size.control.lg as a minimum, matching the other fields\n (decision 0034); the padding only matters if the content grows past it */\n box-sizing: border-box;\n min-height: ", ";\n padding: ", " ", ";\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n transition: border-color ", " ", ", outline ", " ", ";\n \n ", "\n \n ", "\n \n &:hover:not([data-disabled='true']) {\n border-color: ", ";\n }\n"])), semantic$3.space[200], semantic$3.size.control.lg, semantic$3.space[200], semantic$3.space[300], component.input["default"].backgroundColor, component.input["default"].borderWidth, component.input["default"].borderColor, component.input["default"].borderRadius, semantic$3.motion.duration.moderate, semantic$3.motion.easing.standard, semantic$3.motion.duration.moderate, semantic$3.motion.easing.standard, function (props) {
@@ -6573,15 +7071,15 @@ var StyledInputWrapper = styled__default.default.div.withConfig({
6573
7071
  }, function (props) {
6574
7072
  return props.$disabled && "\n background-color: ".concat(component.input.disabled.backgroundColor, ";\n border-color: ").concat(component.input.disabled.borderColor, ";\n cursor: not-allowed;\n ");
6575
7073
  }, component.input.hover.borderColor);
6576
- var StyledInput = styled__default.default.input.withConfig({
7074
+ var StyledInput = /*#__PURE__*/styled__default.default.input.withConfig({
6577
7075
  displayName: "SearchField__StyledInput",
6578
7076
  componentId: "sc-qhz9i8-2"
6579
7077
  })(templateObject_3$6 || (templateObject_3$6 = __makeTemplateObject(["\n flex: 1;\n border: none;\n background: transparent;\n font: ", ";\n color: ", ";\n outline: none;\n \n &::placeholder {\n color: ", ";\n /* Firefox fades placeholders to 0.54 by default, which would undo the 4.5:1 contrast */\n opacity: 1;\n }\n \n &:disabled {\n color: ", ";\n cursor: not-allowed;\n }\n"], ["\n flex: 1;\n border: none;\n background: transparent;\n font: ", ";\n color: ", ";\n outline: none;\n \n &::placeholder {\n color: ", ";\n /* Firefox fades placeholders to 0.54 by default, which would undo the 4.5:1 contrast */\n opacity: 1;\n }\n \n &:disabled {\n color: ", ";\n cursor: not-allowed;\n }\n"])), semantic$3.typography.body, semantic$3.color.text["default"], component.input.placeholder.textColor, semantic$3.color.text.disabled);
6580
- var StyledSuggestionsList = styled__default.default.ul.withConfig({
7078
+ var StyledSuggestionsList = /*#__PURE__*/styled__default.default.ul.withConfig({
6581
7079
  displayName: "SearchField__StyledSuggestionsList",
6582
7080
  componentId: "sc-qhz9i8-3"
6583
7081
  })(templateObject_4$5 || (templateObject_4$5 = __makeTemplateObject(["\n position: absolute;\n top: calc(100% + ", ");\n left: 0;\n right: 0;\n max-height: ", ";\n overflow-y: auto;\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n box-shadow: ", ";\n list-style: none;\n padding: ", " 0;\n margin: 0;\n z-index: ", ";\n\n /* The highlighted suggestion has keyboard focus, which is grey, not the light-blue selected\n treatment (decision 0029). Its row is the option's first child. While pressed, the row's own\n pressed state shows (decision 0030) */\n & > [data-highlighted] > :first-child:not(:active) {\n background-color: ", ";\n }\n"], ["\n position: absolute;\n top: calc(100% + ", ");\n left: 0;\n right: 0;\n max-height: ", ";\n overflow-y: auto;\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n box-shadow: ", ";\n list-style: none;\n padding: ", " 0;\n margin: 0;\n z-index: ", ";\n\n /* The highlighted suggestion has keyboard focus, which is grey, not the light-blue selected\n treatment (decision 0029). Its row is the option's first child. While pressed, the row's own\n pressed state shows (decision 0030) */\n & > [data-highlighted] > :first-child:not(:active) {\n background-color: ", ";\n }\n"])), semantic$3.space[100], tokens.semantic.size.menu.maxHeight, semantic$3.surface.raised, semantic$3.border.width.thin, semantic$3.color.border["default"], semantic$3.radius.md, semantic$3.elevation.floating, semantic$3.space[100], semantic$3.layer.dropdown, rowStates.unselected.hover.background);
6584
- var StyledSectionHeader = styled__default.default.div.withConfig({
7082
+ var StyledSectionHeader = /*#__PURE__*/styled__default.default.div.withConfig({
6585
7083
  displayName: "SearchField__StyledSectionHeader",
6586
7084
  componentId: "sc-qhz9i8-4"
6587
7085
  })(templateObject_5$4 || (templateObject_5$4 = __makeTemplateObject(["\n padding: ", " ", ";\n font: ", ";\n color: ", ";\n text-transform: uppercase;\n letter-spacing: ", ";\n"], ["\n padding: ", " ", ";\n font: ", ";\n color: ", ";\n text-transform: uppercase;\n letter-spacing: ", ";\n"])), semantic$3.space[200], semantic$3.space[300], tokens.component.searchField.sectionHeader.typography, semantic$3.color.text.muted, tokens.component.searchField.sectionHeader.letterSpacing);
@@ -6895,7 +7393,7 @@ var slideInRight = styled.keyframes(templateObject_2$5 || (templateObject_2$5 =
6895
7393
  var slideInLeft = styled.keyframes(templateObject_3$5 || (templateObject_3$5 = __makeTemplateObject(["\n from {\n transform: translateX(-100%);\n }\n to {\n transform: translateX(0);\n }\n"], ["\n from {\n transform: translateX(-100%);\n }\n to {\n transform: translateX(0);\n }\n"])));
6896
7394
  var slideInTop = styled.keyframes(templateObject_4$4 || (templateObject_4$4 = __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"])));
6897
7395
  var slideInBottom = styled.keyframes(templateObject_5$3 || (templateObject_5$3 = __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"])));
6898
- var StyledOverlay = styled__default.default.div.withConfig({
7396
+ var StyledOverlay = /*#__PURE__*/styled__default.default.div.withConfig({
6899
7397
  shouldForwardProp: function shouldForwardProp(prop) {
6900
7398
  return !prop.startsWith('$');
6901
7399
  },
@@ -6905,7 +7403,7 @@ var StyledOverlay = styled__default.default.div.withConfig({
6905
7403
  var $isExiting = _a.$isExiting;
6906
7404
  return $isExiting && exitAnimation;
6907
7405
  }));
6908
- var StyledSheet = styled__default.default.div.withConfig({
7406
+ var StyledSheet = /*#__PURE__*/styled__default.default.div.withConfig({
6909
7407
  shouldForwardProp: function shouldForwardProp(prop) {
6910
7408
  return !prop.startsWith('$');
6911
7409
  },
@@ -6945,7 +7443,7 @@ var StyledSheet = styled__default.default.div.withConfig({
6945
7443
  var $isExiting = _a.$isExiting;
6946
7444
  return $isExiting && exitAnimation;
6947
7445
  }, semantic$2.space[200], semantic$2.surface.raised, semantic$2.color.border["default"], semantic$2.radius.full, semantic$2.color.fill.inverse);
6948
- var StyledSheetContent = styled__default.default.div.withConfig({
7446
+ var StyledSheetContent = /*#__PURE__*/styled__default.default.div.withConfig({
6949
7447
  displayName: "Sheet__StyledSheetContent",
6950
7448
  componentId: "sc-8abisx-2"
6951
7449
  })(templateObject_13$1 || (templateObject_13$1 = __makeTemplateObject(["\n padding: ", ";\n min-height: 100%;\n"], ["\n padding: ", ";\n min-height: 100%;\n"
@@ -7117,22 +7615,22 @@ Sheet.displayName = 'Sheet';
7117
7615
  var templateObject_1$5, templateObject_2$5, templateObject_3$5, templateObject_4$4, templateObject_5$3, templateObject_6$3, templateObject_7$3, templateObject_8$3, templateObject_9$2, templateObject_10$1, templateObject_11$1, templateObject_12$1, templateObject_13$1;
7118
7616
 
7119
7617
  var semantic$1 = tokens.semantic;
7120
- var StyledSliderContainer = styled__default.default.div.withConfig({
7618
+ var StyledSliderContainer = /*#__PURE__*/styled__default.default.div.withConfig({
7121
7619
  displayName: "Slider__StyledSliderContainer",
7122
7620
  componentId: "sc-6mh2d4-0"
7123
7621
  })(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n gap:0;\n width: 100%;\n"], ["\n display: flex;\n flex-direction: column;\n gap:0;\n width: 100%;\n"])));
7124
- var StyledLabel$1 = styled__default.default.label.withConfig({
7622
+ var StyledLabel$1 = /*#__PURE__*/styled__default.default.label.withConfig({
7125
7623
  displayName: "Slider__StyledLabel",
7126
7624
  componentId: "sc-6mh2d4-1"
7127
7625
  })(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n margin-bottom: ", ";\n"], ["\n font: ", ";\n color: ", ";\n margin-bottom: ", ";\n"])), semantic$1.typography.label, function (_a) {
7128
7626
  var $disabled = _a.$disabled;
7129
7627
  return $disabled ? semantic$1.color.text.disabled : semantic$1.color.text["default"];
7130
7628
  }, semantic$1.space[400]);
7131
- var StyledSliderTrackContainer = styled__default.default.div.withConfig({
7629
+ var StyledSliderTrackContainer = /*#__PURE__*/styled__default.default.div.withConfig({
7132
7630
  displayName: "Slider__StyledSliderTrackContainer",
7133
7631
  componentId: "sc-6mh2d4-2"
7134
7632
  })(templateObject_3$4 || (templateObject_3$4 = __makeTemplateObject(["\n position: relative;\n width: 100%;\n height: ", ";\n display: flex;\n align-items: center;\n"], ["\n position: relative;\n width: 100%;\n height: ", ";\n display: flex;\n align-items: center;\n"])), semantic$1.space[1000]);
7135
- var StyledTrack = styled__default.default.div.withConfig({
7633
+ var StyledTrack = /*#__PURE__*/styled__default.default.div.withConfig({
7136
7634
  displayName: "Slider__StyledTrack",
7137
7635
  componentId: "sc-6mh2d4-3"
7138
7636
  })(templateObject_4$3 || (templateObject_4$3 = __makeTemplateObject(["\n position: relative;\n width: 100%;\n height: ", ";\n background-color: ", ";\n border-radius: ", ";\n cursor: ", ";\n /* A vertical swipe over the track still scrolls the page */\n touch-action: pan-y;\n /* The thumbs measure their distance apart in cqw (1% of the track's width) */\n container-type: inline-size;\n\n /* Forced colours drop the track's fill, so it gets an edge; the thumb stays centred on it (decision 0038).\n A div gets no system disabled colour, so a disabled track sets GrayText itself. */\n ", " {\n border: ", " solid ", ";\n }\n"], ["\n position: relative;\n width: 100%;\n height: ", ";\n background-color: ", ";\n border-radius: ", ";\n cursor: ", ";\n /* A vertical swipe over the track still scrolls the page */\n touch-action: pan-y;\n /* The thumbs measure their distance apart in cqw (1% of the track's width) */\n container-type: inline-size;\n\n /* Forced colours drop the track's fill, so it gets an edge; the thumb stays centred on it (decision 0038).\n A div gets no system disabled colour, so a disabled track sets GrayText itself. */\n ", " {\n border: ", " solid ", ";\n }\n"])), semantic$1.space[100], function (_a) {
@@ -7145,7 +7643,7 @@ var StyledTrack = styled__default.default.div.withConfig({
7145
7643
  var $disabled = _a.$disabled;
7146
7644
  return $disabled ? 'GrayText' : 'CanvasText';
7147
7645
  });
7148
- var StyledTrackFill = styled__default.default.div.withConfig({
7646
+ var StyledTrackFill = /*#__PURE__*/styled__default.default.div.withConfig({
7149
7647
  displayName: "Slider__StyledTrackFill",
7150
7648
  componentId: "sc-6mh2d4-4"
7151
7649
  })(templateObject_5$2 || (templateObject_5$2 = __makeTemplateObject(["\n position: absolute;\n height: 100%;\n background-color: ", ";\n border-radius: ", ";\n pointer-events: none;\n\n /* The fill is the value, so it keeps a fill in forced colours (decision 0038) */\n ", " {\n forced-color-adjust: none;\n background-color: ", ";\n }\n"], ["\n position: absolute;\n height: 100%;\n background-color: ", ";\n border-radius: ", ";\n pointer-events: none;\n\n /* The fill is the value, so it keeps a fill in forced colours (decision 0038) */\n ", " {\n forced-color-adjust: none;\n background-color: ", ";\n }\n"])), function (_a) {
@@ -7155,7 +7653,7 @@ var StyledTrackFill = styled__default.default.div.withConfig({
7155
7653
  var $disabled = _a.$disabled;
7156
7654
  return $disabled ? 'GrayText' : 'Highlight';
7157
7655
  });
7158
- var StyledThumb = styled__default.default.div.withConfig({
7656
+ var StyledThumb = /*#__PURE__*/styled__default.default.div.withConfig({
7159
7657
  displayName: "Slider__StyledThumb",
7160
7658
  componentId: "sc-6mh2d4-5"
7161
7659
  })(templateObject_6$2 || (templateObject_6$2 = __makeTemplateObject(["\n position: absolute;\n width: ", ";\n height: ", ";\n top: calc(-1 * ", ");\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n cursor: ", ";\n /* The thumb takes every touch gesture, so a drag moves the value instead of scrolling */\n touch-action: none;\n transform: translateX(-50%);\n /* left is the thumb's position, set from the value: it glides there, as it always has (decision 0037) */\n transition: left ", " ", ",\n transform ", " ", ",\n box-shadow ", " ", ",\n background-color ", " ", ",\n border-color ", " ", ";\n box-shadow: ", ";\n\n /* The pointer target (WCAG 2.5.8, decision 0039): the thumb keeps its 20px look, and an\n invisible hit area centred on it takes pointer input instead, 24px for a mouse or pen and\n 44px on a touch screen. A range slider's two hit areas stop at the midpoint between the\n thumbs (--slider-reach, set from their positions), so they never overlap and a drag always\n takes the nearer thumb. The thumb itself takes no input, as its body can overlap the other\n thumb's half. */\n pointer-events: none;\n --slider-hit: ", ";\n @media (pointer: coarse) {\n --slider-hit: ", ";\n }\n --slider-hit-half: calc(var(--slider-hit) / 2);\n --slider-hit-start: ", ";\n --slider-hit-end: ", ";\n\n &::before {\n content: '';\n position: absolute;\n top: 50%;\n left: calc(50% - var(--slider-hit-start));\n width: calc(var(--slider-hit-start) + var(--slider-hit-end));\n height: var(--slider-hit);\n transform: translateY(-50%);\n pointer-events: auto;\n }\n\n /* Without container query units the midpoint can't be measured, so the hit areas stay whole\n (where they overlap, the thumb drawn later wins) */\n @supports not (width: 1cqw) {\n &::before {\n left: calc(50% - var(--slider-hit-half));\n width: var(--slider-hit);\n }\n }\n\n ", " {\n transition: none;\n }\n \n &:hover:not([aria-disabled=\"true\"]) {\n transform: translateX(-50%) scale(1.1);\n box-shadow: ", ";\n }\n \n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n }\n \n &:active:not([aria-disabled=\"true\"]) {\n cursor: grabbing;\n transform: translateX(-50%) scale(0.95);\n }\n \n ", "\n"], ["\n position: absolute;\n width: ", ";\n height: ", ";\n top: calc(-1 * ", ");\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n cursor: ", ";\n /* The thumb takes every touch gesture, so a drag moves the value instead of scrolling */\n touch-action: none;\n transform: translateX(-50%);\n /* left is the thumb's position, set from the value: it glides there, as it always has (decision 0037) */\n transition: left ", " ", ",\n transform ", " ", ",\n box-shadow ", " ", ",\n background-color ", " ", ",\n border-color ", " ", ";\n box-shadow: ", ";\n\n /* The pointer target (WCAG 2.5.8, decision 0039): the thumb keeps its 20px look, and an\n invisible hit area centred on it takes pointer input instead, 24px for a mouse or pen and\n 44px on a touch screen. A range slider's two hit areas stop at the midpoint between the\n thumbs (--slider-reach, set from their positions), so they never overlap and a drag always\n takes the nearer thumb. The thumb itself takes no input, as its body can overlap the other\n thumb's half. */\n pointer-events: none;\n --slider-hit: ", ";\n @media (pointer: coarse) {\n --slider-hit: ", ";\n }\n --slider-hit-half: calc(var(--slider-hit) / 2);\n --slider-hit-start: ", ";\n --slider-hit-end: ", ";\n\n &::before {\n content: '';\n position: absolute;\n top: 50%;\n left: calc(50% - var(--slider-hit-start));\n width: calc(var(--slider-hit-start) + var(--slider-hit-end));\n height: var(--slider-hit);\n transform: translateY(-50%);\n pointer-events: auto;\n }\n\n /* Without container query units the midpoint can't be measured, so the hit areas stay whole\n (where they overlap, the thumb drawn later wins) */\n @supports not (width: 1cqw) {\n &::before {\n left: calc(50% - var(--slider-hit-half));\n width: var(--slider-hit);\n }\n }\n\n ", " {\n transition: none;\n }\n \n &:hover:not([aria-disabled=\"true\"]) {\n transform: translateX(-50%) scale(1.1);\n box-shadow: ", ";\n }\n \n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n }\n \n &:active:not([aria-disabled=\"true\"]) {\n cursor: grabbing;\n transform: translateX(-50%) scale(0.95);\n }\n \n ", "\n"])), semantic$1.space[500], semantic$1.space[500], semantic$1.space[200], function (_a) {
@@ -7177,14 +7675,14 @@ var StyledThumb = styled__default.default.div.withConfig({
7177
7675
  var $active = _a.$active;
7178
7676
  return $active && "\n transform: translateX(-50%) scale(1.1);\n box-shadow: ".concat(tokens.component.slider.thumb.shadow.active, ";\n ");
7179
7677
  });
7180
- var StyledValueLabel = styled__default.default.div.withConfig({
7678
+ var StyledValueLabel = /*#__PURE__*/styled__default.default.div.withConfig({
7181
7679
  displayName: "Slider__StyledValueLabel",
7182
7680
  componentId: "sc-6mh2d4-6"
7183
7681
  })(templateObject_7$2 || (templateObject_7$2 = __makeTemplateObject(["\n position: absolute;\n top: calc(-1 * ", ");\n left: ", ";\n transform: translateX(-50%);\n padding: ", " ", ";\n background-color: ", ";\n color: ", ";\n font: ", ";\n border-radius: ", ";\n white-space: nowrap;\n pointer-events: none;\n opacity: ", ";\n \n &::after {\n content: '';\n position: absolute;\n top: 100%;\n left: 50%;\n transform: translateX(-50%);\n width: 0;\n height: 0;\n border-left: ", " solid transparent;\n border-right: ", " solid transparent;\n border-top: ", " solid ", ";\n }\n"], ["\n position: absolute;\n top: calc(-1 * ", ");\n left: ", ";\n transform: translateX(-50%);\n padding: ", " ", ";\n background-color: ", ";\n color: ", ";\n font: ", ";\n border-radius: ", ";\n white-space: nowrap;\n pointer-events: none;\n opacity: ", ";\n \n &::after {\n content: '';\n position: absolute;\n top: 100%;\n left: 50%;\n transform: translateX(-50%);\n width: 0;\n height: 0;\n border-left: ", " solid transparent;\n border-right: ", " solid transparent;\n border-top: ", " solid ", ";\n }\n"])), semantic$1.space[800], semantic$1.space[200], semantic$1.space[100], semantic$1.space[200], semantic$1.color.fill.emphasis, semantic$1.color.text.inverse, semantic$1.typography.caption, semantic$1.radius.sm, function (_a) {
7184
7682
  var $disabled = _a.$disabled;
7185
7683
  return $disabled ? semantic$1.opacity.disabled : semantic$1.opacity.full;
7186
7684
  }, semantic$1.space[100], semantic$1.space[100], semantic$1.space[100], semantic$1.color.fill.emphasis);
7187
- var StyledMinMaxLabels = styled__default.default.div.withConfig({
7685
+ var StyledMinMaxLabels = /*#__PURE__*/styled__default.default.div.withConfig({
7188
7686
  displayName: "Slider__StyledMinMaxLabels",
7189
7687
  componentId: "sc-6mh2d4-7"
7190
7688
  })(templateObject_8$2 || (templateObject_8$2 = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n font: ", ";\n color: ", ";\n margin-top: ", ";\n"], ["\n display: flex;\n justify-content: space-between;\n font: ", ";\n color: ", ";\n margin-top: ", ";\n"
@@ -7568,11 +8066,11 @@ Slider.displayName = 'Slider';
7568
8066
  var templateObject_1$4, templateObject_2$4, templateObject_3$4, templateObject_4$3, templateObject_5$2, templateObject_6$2, templateObject_7$2, templateObject_8$2;
7569
8067
 
7570
8068
  var semantic = tokens.semantic;
7571
- var StyledTabList = styled__default.default.div.withConfig({
8069
+ var StyledTabList = /*#__PURE__*/styled__default.default.div.withConfig({
7572
8070
  displayName: "TabBar__StyledTabList",
7573
8071
  componentId: "sc-1g9ib0y-0"
7574
8072
  })(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n border-bottom: ", " solid ", ";\n overflow-x: auto;\n overflow-y: hidden;\n -webkit-overflow-scrolling: touch;\n scrollbar-width: thin;\n \n &::-webkit-scrollbar {\n height: ", ";\n }\n \n &::-webkit-scrollbar-track {\n background: ", ";\n }\n \n &::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: ", ";\n }\n"], ["\n display: flex;\n align-items: center;\n border-bottom: ", " solid ", ";\n overflow-x: auto;\n overflow-y: hidden;\n -webkit-overflow-scrolling: touch;\n scrollbar-width: thin;\n \n &::-webkit-scrollbar {\n height: ", ";\n }\n \n &::-webkit-scrollbar-track {\n background: ", ";\n }\n \n &::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: ", ";\n }\n"])), semantic.border.width.thin, semantic.color.border.emphasis, tokens.component.tabBar.scrollbar.height, semantic.surface.raised, semantic.color.border["default"], semantic.radius.sm);
7575
- var StyledTab = styled__default.default.button.withConfig({
8073
+ var StyledTab = /*#__PURE__*/styled__default.default.button.withConfig({
7576
8074
  shouldForwardProp: function shouldForwardProp(prop) {
7577
8075
  return !prop.startsWith('$');
7578
8076
  },
@@ -7599,7 +8097,7 @@ var StyledTab = styled__default.default.button.withConfig({
7599
8097
  }, function (props) {
7600
8098
  return props.$disabled ? '0.5' : '1';
7601
8099
  }, semantic.border.focus, semantic.border.focusOffset);
7602
- var StyledBadge = styled__default.default.span.withConfig({
8100
+ var StyledBadge = /*#__PURE__*/styled__default.default.span.withConfig({
7603
8101
  displayName: "TabBar__StyledBadge",
7604
8102
  componentId: "sc-1g9ib0y-2"
7605
8103
  })(templateObject_3$3 || (templateObject_3$3 = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-width: ", ";\n height: ", ";\n padding: 0 ", ";\n font: ", ";\n font-weight: ", ";\n border-radius: ", ";\n background-color: ", ";\n color: ", ";\n"], ["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-width: ", ";\n height: ", ";\n padding: 0 ", ";\n font: ", ";\n font-weight: ", ";\n border-radius: ", ";\n background-color: ", ";\n color: ", ";\n"
@@ -7772,19 +8270,19 @@ var templateObject_1$3, templateObject_2$3, templateObject_3$3;
7772
8270
  var field = tokens.component.field;
7773
8271
  // Gaps come from the semantic spacing scale: no component spacing tokens (decision 0022)
7774
8272
  var space = tokens.semantic.space;
7775
- var StyledFieldContainer = styled__default.default.div.withConfig({
8273
+ var StyledFieldContainer = /*#__PURE__*/styled__default.default.div.withConfig({
7776
8274
  displayName: "TextField__StyledFieldContainer",
7777
8275
  componentId: "sc-1ys3b0-0"
7778
8276
  })(templateObject_1$2 || (templateObject_1$2 = __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[200]);
7779
- var StyledLabel = styled__default.default.label.withConfig({
8277
+ var StyledLabel = /*#__PURE__*/styled__default.default.label.withConfig({
7780
8278
  displayName: "TextField__StyledLabel",
7781
8279
  componentId: "sc-1ys3b0-1"
7782
8280
  })(templateObject_2$2 || (templateObject_2$2 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n font: ", ";\n color: ", ";\n\n &[data-disabled='true'] {\n color: ", ";\n }\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n font: ", ";\n color: ", ";\n\n &[data-disabled='true'] {\n color: ", ";\n }\n"])), space[100], field.label.typography, field.label.color, field.label.colorDisabled);
7783
- var StyledRequiredIndicator = styled__default.default.span.withConfig({
8281
+ var StyledRequiredIndicator = /*#__PURE__*/styled__default.default.span.withConfig({
7784
8282
  displayName: "TextField__StyledRequiredIndicator",
7785
8283
  componentId: "sc-1ys3b0-2"
7786
8284
  })(templateObject_3$2 || (templateObject_3$2 = __makeTemplateObject(["\n color: ", ";\n font-weight: ", ";\n"], ["\n color: ", ";\n font-weight: ", ";\n"])), field.requiredIndicator.color, field.requiredIndicator.fontWeight);
7787
- var StyledHelperText = styled__default.default.div.withConfig({
8285
+ var StyledHelperText = /*#__PURE__*/styled__default.default.div.withConfig({
7788
8286
  displayName: "TextField__StyledHelperText",
7789
8287
  componentId: "sc-1ys3b0-3"
7790
8288
  })(templateObject_4$2 || (templateObject_4$2 = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n"], ["\n font: ", ";\n color: ", ";\n"
@@ -7873,42 +8371,42 @@ var TextField = /*#__PURE__*/React.forwardRef(function (_a, ref) {
7873
8371
  TextField.displayName = 'TextField';
7874
8372
  var templateObject_1$2, templateObject_2$2, templateObject_3$2, templateObject_4$2;
7875
8373
 
7876
- var StyledContainer = styled__default.default.div.withConfig({
8374
+ var StyledContainer = /*#__PURE__*/styled__default.default.div.withConfig({
7877
8375
  displayName: "TransactionListItem__StyledContainer",
7878
8376
  componentId: "sc-7yunm0-0"
7879
8377
  })(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n min-height: ", ";\n padding: ", " ", ";\n background-color: ", ";\n border-bottom: ", " solid ", ";\n gap: ", ";\n transition: background-color ", " ", ";\n \n /* A clickable row uses the shared row states (decision 0030) */\n ", "\n"], ["\n display: flex;\n align-items: center;\n min-height: ", ";\n padding: ", " ", ";\n background-color: ", ";\n border-bottom: ", " solid ", ";\n gap: ", ";\n transition: background-color ", " ", ";\n \n /* A clickable row uses the shared row states (decision 0030) */\n ", "\n"])), tokens.component.transactionListItem.minHeight, tokens.semantic.space[300], tokens.semantic.space[300], tokens.semantic.surface.base, tokens.semantic.border.width.thin, tokens.semantic.color.border["default"], tokens.semantic.space[300], tokens.semantic.motion.duration.moderate, tokens.semantic.motion.easing.decelerate, function (_a) {
7880
8378
  var $clickable = _a.$clickable;
7881
8379
  return $clickable && "\n cursor: pointer;\n ".concat(interactiveRow(), "\n \n &:focus-visible {\n outline: ").concat(tokens.semantic.border.focus, ";\n outline-offset: calc(-1 * ").concat(tokens.semantic.border.focusOffset, ");\n }\n ");
7882
8380
  });
7883
- var StyledAvatarSection = styled__default.default.div.withConfig({
8381
+ var StyledAvatarSection = /*#__PURE__*/styled__default.default.div.withConfig({
7884
8382
  displayName: "TransactionListItem__StyledAvatarSection",
7885
8383
  componentId: "sc-7yunm0-1"
7886
8384
  })(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject(["\n flex-shrink: 0;\n"], ["\n flex-shrink: 0;\n"])));
7887
- var StyledMainContent = styled__default.default.div.withConfig({
8385
+ var StyledMainContent = /*#__PURE__*/styled__default.default.div.withConfig({
7888
8386
  displayName: "TransactionListItem__StyledMainContent",
7889
8387
  componentId: "sc-7yunm0-2"
7890
8388
  })(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject(["\n flex: 1;\n min-width: 0;\n display: flex;\n flex-direction: column;\n gap: none;\n"], ["\n flex: 1;\n min-width: 0;\n display: flex;\n flex-direction: column;\n gap: none;\n"])));
7891
- var StyledTopRow = styled__default.default.div.withConfig({
8389
+ var StyledTopRow = /*#__PURE__*/styled__default.default.div.withConfig({
7892
8390
  displayName: "TransactionListItem__StyledTopRow",
7893
8391
  componentId: "sc-7yunm0-3"
7894
8392
  })(templateObject_4$1 || (templateObject_4$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: ", ";\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: ", ";\n"])), tokens.semantic.space[200]);
7895
- var StyledMerchantSection = styled__default.default.div.withConfig({
8393
+ var StyledMerchantSection = /*#__PURE__*/styled__default.default.div.withConfig({
7896
8394
  displayName: "TransactionListItem__StyledMerchantSection",
7897
8395
  componentId: "sc-7yunm0-4"
7898
8396
  })(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n min-width: 0;\n flex: 1;\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n min-width: 0;\n flex: 1;\n"])), tokens.semantic.space[200]);
7899
- var StyledBottomRow = styled__default.default.div.withConfig({
8397
+ var StyledBottomRow = /*#__PURE__*/styled__default.default.div.withConfig({
7900
8398
  displayName: "TransactionListItem__StyledBottomRow",
7901
8399
  componentId: "sc-7yunm0-5"
7902
8400
  })(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: ", ";\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: ", ";\n"])), tokens.semantic.space[200]);
7903
- var StyledMetadata = styled__default.default.div.withConfig({
8401
+ var StyledMetadata = /*#__PURE__*/styled__default.default.div.withConfig({
7904
8402
  displayName: "TransactionListItem__StyledMetadata",
7905
8403
  componentId: "sc-7yunm0-6"
7906
8404
  })(templateObject_7$1 || (templateObject_7$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n"])), tokens.semantic.space[200]);
7907
- var StyledIconIndicator = styled__default.default.div.withConfig({
8405
+ var StyledIconIndicator = /*#__PURE__*/styled__default.default.div.withConfig({
7908
8406
  displayName: "TransactionListItem__StyledIconIndicator",
7909
8407
  componentId: "sc-7yunm0-7"
7910
8408
  })(templateObject_8$1 || (templateObject_8$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n color: ", ";\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n color: ", ";\n"])), tokens.semantic.space[100], tokens.semantic.color.icon.muted);
7911
- var StyledTruncatedText = styled__default.default.span.withConfig({
8409
+ var StyledTruncatedText = /*#__PURE__*/styled__default.default.span.withConfig({
7912
8410
  displayName: "TransactionListItem__StyledTruncatedText",
7913
8411
  componentId: "sc-7yunm0-8"
7914
8412
  })(templateObject_9$1 || (templateObject_9$1 = __makeTemplateObject(["\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"], ["\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"
@@ -8102,7 +8600,7 @@ var media = {
8102
8600
  xl: "@media (min-width: ".concat(breakpoints.xl, ")"),
8103
8601
  '2xl': "@media (min-width: ".concat(breakpoints['2xl'], ")")
8104
8602
  };
8105
- var GridContainer = styled__default.default.div.withConfig({
8603
+ var GridContainer = /*#__PURE__*/styled__default.default.div.withConfig({
8106
8604
  shouldForwardProp: function shouldForwardProp(prop) {
8107
8605
  return !prop.startsWith('$');
8108
8606
  },
@@ -8136,7 +8634,7 @@ var Grid = function Grid(_a) {
8136
8634
  children: children
8137
8635
  });
8138
8636
  };
8139
- var GridColContainer = styled__default.default.div.withConfig({
8637
+ var GridColContainer = /*#__PURE__*/styled__default.default.div.withConfig({
8140
8638
  shouldForwardProp: function shouldForwardProp(prop) {
8141
8639
  return !prop.startsWith('$');
8142
8640
  },
@@ -8193,7 +8691,7 @@ var GridCol = function GridCol(_a) {
8193
8691
  children: children
8194
8692
  });
8195
8693
  };
8196
- var ResponsiveGridContainer = styled__default.default.div.withConfig({
8694
+ var ResponsiveGridContainer = /*#__PURE__*/styled__default.default.div.withConfig({
8197
8695
  shouldForwardProp: function shouldForwardProp(prop) {
8198
8696
  return !prop.startsWith('$');
8199
8697
  },
@@ -8292,6 +8790,7 @@ var ResponsiveGrid = function ResponsiveGrid(_a) {
8292
8790
  };
8293
8791
  var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30, templateObject_31, templateObject_32, templateObject_33, templateObject_34, templateObject_35;
8294
8792
 
8793
+ exports.AILabel = AILabel;
8295
8794
  exports.AccountCard = AccountCard;
8296
8795
  exports.ActionSheet = ActionSheet;
8297
8796
  exports.AgentInput = AgentInput;
@@ -8343,6 +8842,7 @@ exports.StatusBadge = StatusBadge;
8343
8842
  exports.StatusLabel = StatusLabel;
8344
8843
  exports.StyledInputBase = StyledInputBase;
8345
8844
  exports.StyledTextAreaBase = StyledTextAreaBase;
8845
+ exports.SuggestionChip = SuggestionChip;
8346
8846
  exports.TabBar = TabBar;
8347
8847
  exports.Tag = Tag;
8348
8848
  exports.TextField = TextField;