@common-origin/design-system 2.18.0 → 2.20.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 (291) hide show
  1. package/dist/client.js +1122 -785
  2. package/dist/client.js.map +1 -1
  3. package/dist/components/atoms/Avatar/Avatar.d.mts +8 -0
  4. package/dist/components/atoms/Avatar/Avatar.mjs +103 -0
  5. package/dist/components/atoms/Avatar/Avatar.mjs.map +1 -0
  6. package/dist/components/atoms/Avatar/index.d.mts +1 -0
  7. package/dist/components/atoms/Badge/Badge.d.mts +25 -0
  8. package/dist/components/atoms/Badge/Badge.mjs +98 -0
  9. package/dist/components/atoms/Badge/Badge.mjs.map +1 -0
  10. package/dist/components/atoms/Badge/index.d.mts +2 -0
  11. package/dist/components/atoms/Box/Box.d.mts +62 -0
  12. package/dist/components/atoms/Box/Box.mjs +246 -0
  13. package/dist/components/atoms/Box/Box.mjs.map +1 -0
  14. package/dist/components/atoms/Box/index.d.mts +1 -0
  15. package/dist/components/atoms/Button/Button.d.mts +40 -0
  16. package/dist/components/atoms/Button/Button.mjs +208 -0
  17. package/dist/components/atoms/Button/Button.mjs.map +1 -0
  18. package/dist/components/atoms/Button/index.d.mts +1 -0
  19. package/dist/components/atoms/CategoryBadge/CategoryBadge.d.mts +29 -0
  20. package/dist/components/atoms/CategoryBadge/CategoryBadge.mjs +29 -0
  21. package/dist/components/atoms/CategoryBadge/CategoryBadge.mjs.map +1 -0
  22. package/dist/components/atoms/CategoryBadge/index.d.mts +2 -0
  23. package/dist/components/atoms/CategoryLabel/CategoryLabel.d.mts +69 -0
  24. package/dist/components/atoms/CategoryLabel/CategoryLabel.mjs +151 -0
  25. package/dist/components/atoms/CategoryLabel/CategoryLabel.mjs.map +1 -0
  26. package/dist/components/atoms/CategoryLabel/index.d.mts +2 -0
  27. package/dist/components/atoms/Chip/BooleanChip.d.mts +28 -0
  28. package/dist/components/atoms/Chip/BooleanChip.mjs +76 -0
  29. package/dist/components/atoms/Chip/BooleanChip.mjs.map +1 -0
  30. package/dist/components/atoms/Chip/Chip.d.mts +37 -0
  31. package/dist/components/atoms/Chip/Chip.mjs +76 -0
  32. package/dist/components/atoms/Chip/Chip.mjs.map +1 -0
  33. package/dist/components/atoms/Chip/FilterChip.d.mts +13 -0
  34. package/dist/components/atoms/Chip/FilterChip.mjs +14 -0
  35. package/dist/components/atoms/Chip/FilterChip.mjs.map +1 -0
  36. package/dist/components/atoms/Chip/InputChip.d.mts +27 -0
  37. package/dist/components/atoms/Chip/InputChip.mjs +97 -0
  38. package/dist/components/atoms/Chip/InputChip.mjs.map +1 -0
  39. package/dist/components/atoms/Chip/index.d.mts +4 -0
  40. package/dist/components/atoms/Chip/shared/ChipBase.d.mts +12 -0
  41. package/dist/components/atoms/Chip/shared/ChipBase.mjs +45 -0
  42. package/dist/components/atoms/Chip/shared/ChipBase.mjs.map +1 -0
  43. package/dist/components/atoms/Chip/shared/types.d.mts +34 -0
  44. package/dist/components/atoms/Chip/shared/types.d.ts +3 -1
  45. package/dist/components/atoms/Chip/shared/utils.d.mts +10 -0
  46. package/dist/components/atoms/Chip/shared/utils.d.ts +2 -3
  47. package/dist/components/atoms/Chip/shared/utils.mjs +46 -0
  48. package/dist/components/atoms/Chip/shared/utils.mjs.map +1 -0
  49. package/dist/components/atoms/Container/Container.d.mts +6 -0
  50. package/dist/components/atoms/Container/Container.mjs +24 -0
  51. package/dist/components/atoms/Container/Container.mjs.map +1 -0
  52. package/dist/components/atoms/Container/index.d.mts +1 -0
  53. package/dist/components/atoms/DateFormatter/DateFormatter.d.mts +23 -0
  54. package/dist/components/atoms/DateFormatter/DateFormatter.mjs +64 -0
  55. package/dist/components/atoms/DateFormatter/DateFormatter.mjs.map +1 -0
  56. package/dist/components/atoms/DateFormatter/index.d.mts +1 -0
  57. package/dist/components/atoms/Divider/Divider.d.mts +30 -0
  58. package/dist/components/atoms/Divider/Divider.mjs +134 -0
  59. package/dist/components/atoms/Divider/Divider.mjs.map +1 -0
  60. package/dist/components/atoms/Divider/index.d.mts +1 -0
  61. package/dist/components/atoms/Icon/Icon.d.mts +22 -0
  62. package/dist/components/atoms/Icon/Icon.mjs +95 -0
  63. package/dist/components/atoms/Icon/Icon.mjs.map +1 -0
  64. package/dist/components/atoms/Icon/index.d.mts +1 -0
  65. package/dist/components/atoms/IconButton/IconButton.d.mts +14 -0
  66. package/dist/components/atoms/IconButton/IconButton.mjs +150 -0
  67. package/dist/components/atoms/IconButton/IconButton.mjs.map +1 -0
  68. package/dist/components/atoms/IconButton/index.d.mts +1 -0
  69. package/dist/components/atoms/MoneyDisplay/MoneyDisplay.d.mts +26 -0
  70. package/dist/components/atoms/MoneyDisplay/MoneyDisplay.mjs +126 -0
  71. package/dist/components/atoms/MoneyDisplay/MoneyDisplay.mjs.map +1 -0
  72. package/dist/components/atoms/MoneyDisplay/index.d.mts +2 -0
  73. package/dist/components/atoms/Picture/Picture.d.mts +12 -0
  74. package/dist/components/atoms/Picture/Picture.mjs +65 -0
  75. package/dist/components/atoms/Picture/Picture.mjs.map +1 -0
  76. package/dist/components/atoms/Picture/index.d.mts +1 -0
  77. package/dist/components/atoms/ProgressBar/ProgressBar.d.mts +21 -0
  78. package/dist/components/atoms/ProgressBar/ProgressBar.mjs +91 -0
  79. package/dist/components/atoms/ProgressBar/ProgressBar.mjs.map +1 -0
  80. package/dist/components/atoms/ProgressBar/index.d.mts +2 -0
  81. package/dist/components/atoms/Stack/Stack.d.mts +16 -0
  82. package/dist/components/atoms/Stack/Stack.mjs +71 -0
  83. package/dist/components/atoms/Stack/Stack.mjs.map +1 -0
  84. package/dist/components/atoms/Stack/index.d.mts +1 -0
  85. package/dist/components/atoms/StatusBadge/StatusBadge.d.mts +23 -0
  86. package/dist/components/atoms/StatusBadge/StatusBadge.mjs +18 -0
  87. package/dist/components/atoms/StatusBadge/StatusBadge.mjs.map +1 -0
  88. package/dist/components/atoms/StatusBadge/index.d.mts +2 -0
  89. package/dist/components/atoms/StatusLabel/StatusLabel.d.mts +17 -0
  90. package/dist/components/atoms/StatusLabel/StatusLabel.mjs +28 -0
  91. package/dist/components/atoms/StatusLabel/StatusLabel.mjs.map +1 -0
  92. package/dist/components/atoms/StatusLabel/StatusLabelBase.d.mts +49 -0
  93. package/dist/components/atoms/StatusLabel/StatusLabelBase.mjs +161 -0
  94. package/dist/components/atoms/StatusLabel/StatusLabelBase.mjs.map +1 -0
  95. package/dist/components/atoms/StatusLabel/index.d.mts +2 -0
  96. package/dist/components/atoms/Tag/Tag.d.mts +36 -0
  97. package/dist/components/atoms/Tag/Tag.mjs +115 -0
  98. package/dist/components/atoms/Tag/Tag.mjs.map +1 -0
  99. package/dist/components/atoms/Tag/index.d.mts +2 -0
  100. package/dist/components/atoms/Typography/Typography.d.mts +34 -0
  101. package/dist/components/atoms/Typography/Typography.mjs +139 -0
  102. package/dist/components/atoms/Typography/Typography.mjs.map +1 -0
  103. package/dist/components/atoms/Typography/index.d.mts +1 -0
  104. package/dist/components/atoms/index.d.mts +20 -0
  105. package/dist/components/index.d.mts +4 -0
  106. package/dist/components/layout/GridSystem/GridSystem.d.mts +58 -0
  107. package/dist/components/layout/GridSystem/GridSystem.mjs +221 -0
  108. package/dist/components/layout/GridSystem/GridSystem.mjs.map +1 -0
  109. package/dist/components/layout/GridSystem/index.d.mts +1 -0
  110. package/dist/components/layout/index.d.mts +1 -0
  111. package/dist/components/molecules/AccountCard/AccountCard.d.mts +44 -0
  112. package/dist/components/molecules/AccountCard/AccountCard.mjs +191 -0
  113. package/dist/components/molecules/AccountCard/AccountCard.mjs.map +1 -0
  114. package/dist/components/molecules/AccountCard/index.d.mts +2 -0
  115. package/dist/components/molecules/ActionSheet/ActionSheet.d.mts +111 -0
  116. package/dist/components/molecules/ActionSheet/ActionSheet.mjs +283 -0
  117. package/dist/components/molecules/ActionSheet/ActionSheet.mjs.map +1 -0
  118. package/dist/components/molecules/ActionSheet/index.d.mts +2 -0
  119. package/dist/components/molecules/AgentInput/AgentInput.d.mts +30 -0
  120. package/dist/components/molecules/AgentInput/AgentInput.mjs +735 -0
  121. package/dist/components/molecules/AgentInput/AgentInput.mjs.map +1 -0
  122. package/dist/components/molecules/AgentInput/agentInputSpeech.d.mts +43 -0
  123. package/dist/components/molecules/AgentInput/agentInputSpeech.mjs +49 -0
  124. package/dist/components/molecules/AgentInput/agentInputSpeech.mjs.map +1 -0
  125. package/dist/components/molecules/AgentInput/agentInputStateMachine.d.mts +29 -0
  126. package/dist/components/molecules/AgentInput/agentInputStateMachine.mjs +55 -0
  127. package/dist/components/molecules/AgentInput/agentInputStateMachine.mjs.map +1 -0
  128. package/dist/components/molecules/AgentInput/index.d.mts +3 -0
  129. package/dist/components/molecules/Alert/Alert.d.mts +68 -0
  130. package/dist/components/molecules/Alert/Alert.mjs +284 -0
  131. package/dist/components/molecules/Alert/Alert.mjs.map +1 -0
  132. package/dist/components/molecules/Alert/index.d.mts +1 -0
  133. package/dist/components/molecules/Breadcrumbs/Breadcrumbs.d.mts +16 -0
  134. package/dist/components/molecules/Breadcrumbs/Breadcrumbs.mjs +74 -0
  135. package/dist/components/molecules/Breadcrumbs/Breadcrumbs.mjs.map +1 -0
  136. package/dist/components/molecules/Breadcrumbs/index.d.mts +1 -0
  137. package/dist/components/molecules/CardLarge/CardLarge.d.mts +12 -0
  138. package/dist/components/molecules/CardLarge/CardLarge.mjs +75 -0
  139. package/dist/components/molecules/CardLarge/CardLarge.mjs.map +1 -0
  140. package/dist/components/molecules/CardLarge/index.d.mts +1 -0
  141. package/dist/components/molecules/CardSmall/CardSmall.d.mts +16 -0
  142. package/dist/components/molecules/CardSmall/CardSmall.mjs +73 -0
  143. package/dist/components/molecules/CardSmall/CardSmall.mjs.map +1 -0
  144. package/dist/components/molecules/CardSmall/index.d.mts +1 -0
  145. package/dist/components/molecules/Checkbox/Checkbox.d.mts +64 -0
  146. package/dist/components/molecules/Checkbox/Checkbox.mjs +139 -0
  147. package/dist/components/molecules/Checkbox/Checkbox.mjs.map +1 -0
  148. package/dist/components/molecules/Checkbox/SelectableInputBase.d.mts +40 -0
  149. package/dist/components/molecules/Checkbox/SelectableInputBase.mjs +99 -0
  150. package/dist/components/molecules/Checkbox/SelectableInputBase.mjs.map +1 -0
  151. package/dist/components/molecules/Checkbox/index.d.mts +3 -0
  152. package/dist/components/molecules/ChipGroup/ChipGroup.d.mts +7 -0
  153. package/dist/components/molecules/ChipGroup/ChipGroup.mjs +54 -0
  154. package/dist/components/molecules/ChipGroup/ChipGroup.mjs.map +1 -0
  155. package/dist/components/molecules/ChipGroup/index.d.mts +1 -0
  156. package/dist/components/molecules/CodeBlock/CodeBlock.d.mts +46 -0
  157. package/dist/components/molecules/CodeBlock/CodeBlock.mjs +231 -0
  158. package/dist/components/molecules/CodeBlock/CodeBlock.mjs.map +1 -0
  159. package/dist/components/molecules/CodeBlock/index.d.mts +1 -0
  160. package/dist/components/molecules/DateGroup/DateGroup.d.mts +37 -0
  161. package/dist/components/molecules/DateGroup/DateGroup.mjs +104 -0
  162. package/dist/components/molecules/DateGroup/DateGroup.mjs.map +1 -0
  163. package/dist/components/molecules/DateGroup/index.d.mts +2 -0
  164. package/dist/components/molecules/Dropdown/Dropdown.d.mts +27 -0
  165. package/dist/components/molecules/Dropdown/Dropdown.mjs +282 -0
  166. package/dist/components/molecules/Dropdown/Dropdown.mjs.map +1 -0
  167. package/dist/components/molecules/Dropdown/index.d.mts +1 -0
  168. package/dist/components/molecules/EmptyState/EmptyState.d.mts +32 -0
  169. package/dist/components/molecules/EmptyState/EmptyState.mjs +133 -0
  170. package/dist/components/molecules/EmptyState/EmptyState.mjs.map +1 -0
  171. package/dist/components/molecules/EmptyState/index.d.mts +2 -0
  172. package/dist/components/molecules/FeatureBlock/FeatureBlock.d.mts +14 -0
  173. package/dist/components/molecules/FeatureBlock/FeatureBlock.mjs +99 -0
  174. package/dist/components/molecules/FeatureBlock/FeatureBlock.mjs.map +1 -0
  175. package/dist/components/molecules/FeatureBlock/index.d.mts +1 -0
  176. package/dist/components/molecules/InlineAlert/InlineAlert.d.mts +54 -0
  177. package/dist/components/molecules/InlineAlert/InlineAlert.mjs +140 -0
  178. package/dist/components/molecules/InlineAlert/InlineAlert.mjs.map +1 -0
  179. package/dist/components/molecules/InlineAlert/index.d.mts +2 -0
  180. package/dist/components/molecules/List/List.d.mts +30 -0
  181. package/dist/components/molecules/List/List.mjs +45 -0
  182. package/dist/components/molecules/List/List.mjs.map +1 -0
  183. package/dist/components/molecules/List/ListContext.d.mts +6 -0
  184. package/dist/components/molecules/List/ListContext.mjs +11 -0
  185. package/dist/components/molecules/List/ListContext.mjs.map +1 -0
  186. package/dist/components/molecules/List/ListItem.d.mts +101 -0
  187. package/dist/components/molecules/List/ListItem.mjs +224 -0
  188. package/dist/components/molecules/List/ListItem.mjs.map +1 -0
  189. package/dist/components/molecules/List/index.d.mts +4 -0
  190. package/dist/components/molecules/Modal/Modal.d.mts +69 -0
  191. package/dist/components/molecules/Modal/Modal.mjs +259 -0
  192. package/dist/components/molecules/Modal/Modal.mjs.map +1 -0
  193. package/dist/components/molecules/Modal/index.d.mts +2 -0
  194. package/dist/components/molecules/NumberInput/NumberInput.d.mts +86 -0
  195. package/dist/components/molecules/NumberInput/NumberInput.mjs +268 -0
  196. package/dist/components/molecules/NumberInput/NumberInput.mjs.map +1 -0
  197. package/dist/components/molecules/NumberInput/index.d.mts +2 -0
  198. package/dist/components/molecules/PageTitle/PageTitle.d.mts +21 -0
  199. package/dist/components/molecules/PageTitle/PageTitle.mjs +77 -0
  200. package/dist/components/molecules/PageTitle/PageTitle.mjs.map +1 -0
  201. package/dist/components/molecules/PageTitle/index.d.mts +1 -0
  202. package/dist/components/molecules/PasswordField/PasswordField.d.mts +55 -0
  203. package/dist/components/molecules/PasswordField/PasswordField.mjs +146 -0
  204. package/dist/components/molecules/PasswordField/PasswordField.mjs.map +1 -0
  205. package/dist/components/molecules/PasswordField/index.d.mts +2 -0
  206. package/dist/components/molecules/SearchField/SearchField.d.mts +108 -0
  207. package/dist/components/molecules/SearchField/SearchField.mjs +340 -0
  208. package/dist/components/molecules/SearchField/SearchField.mjs.map +1 -0
  209. package/dist/components/molecules/SearchField/index.d.mts +2 -0
  210. package/dist/components/molecules/Sheet/Sheet.d.mts +96 -0
  211. package/dist/components/molecules/Sheet/Sheet.mjs +243 -0
  212. package/dist/components/molecules/Sheet/Sheet.mjs.map +1 -0
  213. package/dist/components/molecules/Sheet/index.d.mts +2 -0
  214. package/dist/components/molecules/Slider/Slider.d.mts +102 -0
  215. package/dist/components/molecules/Slider/Slider.mjs +462 -0
  216. package/dist/components/molecules/Slider/Slider.mjs.map +1 -0
  217. package/dist/components/molecules/Slider/index.d.mts +2 -0
  218. package/dist/components/molecules/TabBar/TabBar.d.mts +82 -0
  219. package/dist/components/molecules/TabBar/TabBar.mjs +213 -0
  220. package/dist/components/molecules/TabBar/TabBar.mjs.map +1 -0
  221. package/dist/components/molecules/TabBar/index.d.mts +2 -0
  222. package/dist/components/molecules/TextField/InputBase.d.mts +22 -0
  223. package/dist/components/molecules/TextField/InputBase.mjs +56 -0
  224. package/dist/components/molecules/TextField/InputBase.mjs.map +1 -0
  225. package/dist/components/molecules/TextField/TextField.d.mts +56 -0
  226. package/dist/components/molecules/TextField/TextField.mjs +115 -0
  227. package/dist/components/molecules/TextField/TextField.mjs.map +1 -0
  228. package/dist/components/molecules/TextField/index.d.mts +4 -0
  229. package/dist/components/molecules/TransactionListItem/TransactionListItem.d.mts +39 -0
  230. package/dist/components/molecules/TransactionListItem/TransactionListItem.mjs +224 -0
  231. package/dist/components/molecules/TransactionListItem/TransactionListItem.mjs.map +1 -0
  232. package/dist/components/molecules/TransactionListItem/index.d.mts +2 -0
  233. package/dist/components/molecules/index.d.mts +26 -0
  234. package/dist/data.js +261 -14
  235. package/dist/data.js.map +1 -1
  236. package/dist/index.d.mts +3 -0
  237. package/dist/index.mjs +55 -0
  238. package/dist/index.mjs.map +1 -0
  239. package/dist/lib/cssTokens.d.mts +14 -0
  240. package/dist/lib/cssTokens.d.ts +14 -0
  241. package/dist/lib/cssTokens.mjs +19 -0
  242. package/dist/lib/cssTokens.mjs.map +1 -0
  243. package/dist/lib/cssVariables.d.mts +15 -0
  244. package/dist/lib/cssVariables.d.ts +15 -0
  245. package/dist/lib/cssVariables.mjs +37 -0
  246. package/dist/lib/cssVariables.mjs.map +1 -0
  247. package/dist/lib/styleUtils.d.mts +42 -0
  248. package/dist/lib/styleUtils.d.ts +23 -0
  249. package/dist/lib/styleUtils.mjs +160 -0
  250. package/dist/lib/styleUtils.mjs.map +1 -0
  251. package/dist/lib/tokenAliases.d.mts +13 -0
  252. package/dist/lib/tokenAliases.d.ts +13 -0
  253. package/dist/lib/tokenAliases.mjs +121 -0
  254. package/dist/lib/tokenAliases.mjs.map +1 -0
  255. package/dist/lib/usePresence.d.mts +16 -0
  256. package/dist/lib/usePresence.mjs +50 -0
  257. package/dist/lib/usePresence.mjs.map +1 -0
  258. package/dist/{data.esm.js → styles/icons.json.mjs} +2 -1219
  259. package/dist/styles/icons.json.mjs.map +1 -0
  260. package/dist/styles/tokens.d.mts +3174 -0
  261. package/dist/styles/tokens.d.ts +3174 -0
  262. package/dist/styles/tokens.json +257 -12
  263. package/dist/{tokens/index.esm.js → styles/tokens.json.mjs} +259 -20
  264. package/dist/{tokens/index.esm.js.map → styles/tokens.json.mjs.map} +1 -1
  265. package/dist/tokens/index.js +261 -14
  266. package/dist/tokens/index.js.map +1 -1
  267. package/dist/tokens/index.mjs +1462 -0
  268. package/dist/tokens/index.mjs.map +1 -0
  269. package/dist/tokens/styles/tokens.d.mts +3174 -0
  270. package/dist/tokens/styles/tokens.d.ts +3174 -0
  271. package/dist/tokens/tokens.d.mts +4 -0
  272. package/dist/tokens/types/tokens.d.mts +6 -0
  273. package/dist/tokens/types/tokens.d.ts +3 -1204
  274. package/dist/tokens.css +710 -430
  275. package/dist/tokens.css.d.mts +4 -0
  276. package/dist/types/icons.d.mts +25 -0
  277. package/dist/types/icons.mjs +10 -0
  278. package/dist/types/icons.mjs.map +1 -0
  279. package/dist/types/index.d.mts +1 -0
  280. package/dist/types/tokens.d.mts +6 -0
  281. package/dist/types/tokens.d.ts +3 -1204
  282. package/dist/types/tokens.mjs +10 -0
  283. package/dist/types/tokens.mjs.map +1 -0
  284. package/dist/vendor/tslib/tslib.es6.mjs +99 -0
  285. package/dist/vendor/tslib/tslib.es6.mjs.map +1 -0
  286. package/package.json +29 -13
  287. package/dist/client.esm.js +0 -7952
  288. package/dist/client.esm.js.map +0 -1
  289. package/dist/data.esm.js.map +0 -1
  290. package/dist/index.esm.js +0 -8
  291. package/dist/index.esm.js.map +0 -1
package/dist/client.js CHANGED
@@ -110,14 +110,58 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
110
110
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
111
111
  };
112
112
 
113
+ // Components read tokens as CSS variables, with the resolved value as the fallback (decision 0041).
114
+ // A product that loads tokens.css can change a token for a region (a density or motion mode, a
115
+ // theme); one that doesn't renders exactly the resolved values.
116
+ /**
117
+ * The CSS variable tokens.css declares for a token path: Style Dictionary's `name/kebab` with the
118
+ * `co` prefix. `semantic.color.text.default` is `--co-semantic-color-text-default`, and
119
+ * `semantic.border.focusOffset` is `--co-semantic-border-focus-offset`.
120
+ */
121
+ function cssVariableName(path) {
122
+ return "--".concat(__spreadArray(['co'], path, true).join('-').replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase());
123
+ }
124
+ /** Breakpoints stay values: a CSS variable can't be used in a media query */
125
+ var keepsValue = function keepsValue(path) {
126
+ return path[1] === 'breakpoint';
127
+ };
128
+ /**
129
+ * A copy of a token tree with the same shape, where every value reads its CSS variable and falls
130
+ * back to the resolved value: `var(--co-semantic-color-text-default, #212529)`.
131
+ */
132
+ function withCssVariables(tree, path) {
133
+ if (path === void 0) {
134
+ path = [];
135
+ }
136
+ return Object.fromEntries(Object.entries(tree).map(function (_a) {
137
+ var key = _a[0],
138
+ value = _a[1];
139
+ var at = __spreadArray(__spreadArray([], path, true), [key], false);
140
+ if (typeof value !== 'string') return [key, withCssVariables(value, at)];
141
+ return [key, keepsValue(at) ? value : "var(".concat(cssVariableName(at), ", ").concat(value, ")")];
142
+ }));
143
+ }
144
+
145
+ /**
146
+ * The tokens as components read them (decision 0041): the same shape and type as `tokens.json`,
147
+ * with every value a CSS variable that falls back to the resolved value, so a region can change a
148
+ * token through tokens.css. Breakpoints stay values.
149
+ *
150
+ * Use the resolved values from `tokens.json` instead where a value is read as data rather than
151
+ * CSS, such as a duration parsed for a timer.
152
+ *
153
+ * Jest maps this module to `tokens.json` (jest.config.js), so unit tests assert resolved values;
154
+ * the browser specs check the variables.
155
+ */
156
+ var tokens = withCssVariables(data.tokensJson);
157
+
113
158
  // Destructure tokens
114
- var semantic$j = data.tokensJson.semantic;
115
- var initials = data.tokensJson.component.avatar.initials;
116
- var color$b = semantic$j.color,
117
- size$2 = semantic$j.size,
118
- border$b = semantic$j.border;
119
- var radius$5 = border$b.radius;
120
- var AvatarContainer = styled__default.default.div.withConfig({
159
+ var semantic$l = tokens.semantic;
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 = /*#__PURE__*/styled__default.default.div.withConfig({
121
165
  shouldForwardProp: function shouldForwardProp(prop) {
122
166
  return !prop.startsWith('$');
123
167
  },
@@ -125,25 +169,25 @@ var AvatarContainer = styled__default.default.div.withConfig({
125
169
  componentId: "sc-ezn4ax-0"
126
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) {
127
171
  var $size = _a.$size;
128
- return size$2.avatar[$size];
172
+ return size$3.avatar[$size];
129
173
  }, function (_a) {
130
174
  var $size = _a.$size;
131
- return size$2.avatar[$size];
132
- }, radius$5.circle, color$b.background.surface);
133
- var AvatarImage = styled__default.default.img.withConfig({
175
+ return size$3.avatar[$size];
176
+ }, radius$6.full, color$b.fill.muted);
177
+ var AvatarImage = /*#__PURE__*/styled__default.default.img.withConfig({
134
178
  shouldForwardProp: function shouldForwardProp(prop) {
135
179
  return !prop.startsWith('$');
136
180
  },
137
181
  displayName: "Avatar__AvatarImage",
138
182
  componentId: "sc-ezn4ax-1"
139
- })(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$5.circle);
140
- var AvatarInitials = styled__default.default.span.withConfig({
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 = /*#__PURE__*/styled__default.default.span.withConfig({
141
185
  shouldForwardProp: function shouldForwardProp(prop) {
142
186
  return !prop.startsWith('$');
143
187
  },
144
188
  displayName: "Avatar__AvatarInitials",
145
189
  componentId: "sc-ezn4ax-2"
146
- })(templateObject_3$v || (templateObject_3$v = __makeTemplateObject(["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n color: ", ";\n line-height: ", ";\n text-transform: uppercase;\n user-select: none;\n"], ["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n color: ", ";\n line-height: ", ";\n text-transform: uppercase;\n user-select: none;\n"
190
+ })(templateObject_3$w || (templateObject_3$w = __makeTemplateObject(["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n color: ", ";\n line-height: ", ";\n text-transform: uppercase;\n user-select: none;\n"], ["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n color: ", ";\n line-height: ", ";\n text-transform: uppercase;\n user-select: none;\n"
147
191
  // Helper function to get initials from name
148
192
  ])), initials.fontFamily, initials.fontWeight, function (_a) {
149
193
  var $size = _a.$size;
@@ -202,16 +246,16 @@ var Avatar = function Avatar(_a) {
202
246
  })
203
247
  }));
204
248
  };
205
- var templateObject_1$M, templateObject_2$y, templateObject_3$v;
249
+ var templateObject_1$M, templateObject_2$y, templateObject_3$w;
206
250
 
207
251
  // Breakpoints from the semantic tokens (decision 0014)
208
252
  var breakpoints$1 = {
209
- xs: data.tokensJson.semantic.breakpoint.xs,
210
- sm: data.tokensJson.semantic.breakpoint.sm,
211
- md: data.tokensJson.semantic.breakpoint.md,
212
- lg: data.tokensJson.semantic.breakpoint.lg,
213
- xl: data.tokensJson.semantic.breakpoint.xl,
214
- '2xl': data.tokensJson.semantic.breakpoint['2xl']
253
+ xs: tokens.semantic.breakpoint.xs,
254
+ sm: tokens.semantic.breakpoint.sm,
255
+ md: tokens.semantic.breakpoint.md,
256
+ lg: tokens.semantic.breakpoint.lg,
257
+ xl: tokens.semantic.breakpoint.xl,
258
+ '2xl': tokens.semantic.breakpoint['2xl']
215
259
  };
216
260
  // Media query helpers
217
261
  var media$1 = {
@@ -222,6 +266,16 @@ var media$1 = {
222
266
  xl: "@media (min-width: ".concat(breakpoints$1.xl, ")"),
223
267
  '2xl': "@media (min-width: ".concat(breakpoints$1['2xl'], ")")
224
268
  };
269
+ // Windows Contrast Themes and other forced-colours modes (decision 0038). The browser swaps in
270
+ // the user's system colours, drops background colours and box-shadows, and keeps borders and
271
+ // outlines. Inside this query, give a control that shows its edge with a fill alone a border,
272
+ // and draw selected and checked states with system colours: ButtonText for control edges,
273
+ // Highlight and HighlightText for selected and checked, GrayText for disabled, CanvasText for
274
+ // content. Use forced-color-adjust: none only on a fill that carries state.
275
+ var forcedColors = '@media (forced-colors: active)';
276
+ /** A control's edge in forced colours, for a control that shows its edge with a fill alone. The
277
+ * border follows the text colour the browser picks: ButtonText, LinkText, or GrayText when disabled. */
278
+ var forcedColorsEdge = "".concat(forcedColors, " {\n border: ").concat(tokens.semantic.border.width.thin, " solid currentColor;\n}");
225
279
  // Wrap fallbacks for people who ask for less motion (decision 0005): movement becomes
226
280
  // an instant change or a simple fade. Colour and opacity transitions need no fallback.
227
281
  var reducedMotion = '@media (prefers-reduced-motion: reduce)';
@@ -233,25 +287,124 @@ var fadeOut$1 = styled.keyframes(templateObject_1$L || (templateObject_1$L = __m
233
287
  // so it isn't restarted, and the fade runs on top of it. A fade is already the
234
288
  // reduced-motion form, so it needs no fallback of its own. While it fades, the backdrop
235
289
  // still catches clicks (so they can't reach the page behind it) and the panel is inert.
290
+ // Exits accelerate: things leaving speed up as they go (decision 0037).
236
291
  ])));
237
292
  // Exit for overlays that unmount (use with usePresence). Append `exitAnimation` to each of
238
293
  // the element's `animation` declarations while it exits: the entrance stays in the list,
239
294
  // so it isn't restarted, and the fade runs on top of it. A fade is already the
240
295
  // reduced-motion form, so it needs no fallback of its own. While it fades, the backdrop
241
296
  // still catches clicks (so they can't reach the page behind it) and the panel is inert.
297
+ // Exits accelerate: things leaving speed up as they go (decision 0037).
242
298
  var exitAnimation = styled.css(templateObject_2$x || (templateObject_2$x = __makeTemplateObject([", ", " ", " ", " forwards"], [", ", " ", " ", " forwards"
243
299
  // Content for screen readers only. The 1px size and -1px margin are part of the standard
244
300
  // visually-hidden technique, not design values, so they aren't tokens.
245
- ])), fadeOut$1, data.tokensJson.semantic.motion.duration.fast, data.tokensJson.semantic.motion.easing.easeOut);
301
+ ])), fadeOut$1, tokens.semantic.motion.duration.fast, tokens.semantic.motion.easing.accelerate);
246
302
  // Content for screen readers only. The 1px size and -1px margin are part of the standard
247
303
  // visually-hidden technique, not design values, so they aren't tokens.
248
- var visuallyHidden = styled.css(templateObject_3$u || (templateObject_3$u = __makeTemplateObject(["\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n"], ["\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n"])));
249
- var templateObject_1$L, templateObject_2$x, templateObject_3$u;
304
+ var visuallyHidden = styled.css(templateObject_3$v || (templateObject_3$v = __makeTemplateObject(["\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n"], ["\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n"
305
+ // One interaction pattern for rows and items: list items, menu and listbox options, sidebars
306
+ // (decision 0030). Unselected rows follow the naked Button's ladder; selected rows follow the
307
+ // light-blue selected ladder, with the text darkening with its fill (decision 0016). Unselected
308
+ // rows leave their text colour to the component, so a destructive row can stay red.
309
+ ])));
310
+ // One interaction pattern for rows and items: list items, menu and listbox options, sidebars
311
+ // (decision 0030). Unselected rows follow the naked Button's ladder; selected rows follow the
312
+ // light-blue selected ladder, with the text darkening with its fill (decision 0016). Unselected
313
+ // rows leave their text colour to the component, so a destructive row can stay red.
314
+ var _a$b = tokens.semantic.color,
315
+ rowFill = _a$b.fill,
316
+ rowText = _a$b.text;
317
+ var rowStates = {
318
+ unselected: {
319
+ rest: {
320
+ background: 'transparent'
321
+ },
322
+ hover: {
323
+ background: rowFill.muted
324
+ },
325
+ pressed: {
326
+ background: rowFill["default"]
327
+ }
328
+ },
329
+ selected: {
330
+ rest: {
331
+ background: rowFill['accent-muted'],
332
+ text: rowText.accent
333
+ },
334
+ hover: {
335
+ background: rowFill['accent-muted-hover'],
336
+ text: rowText['accent-hover']
337
+ },
338
+ pressed: {
339
+ background: rowFill['accent-muted-pressed'],
340
+ text: rowText['accent-pressed']
341
+ }
342
+ }
343
+ };
344
+ var rowDeclarations = function rowDeclarations(_a, textSelector) {
345
+ var background = _a.background,
346
+ text = _a.text;
347
+ if (!text) return "background-color: ".concat(background, ";");
348
+ return textSelector ? "background-color: ".concat(background, ";\n ").concat(textSelector, " { color: ").concat(text, "; }") : "background-color: ".concat(background, ";\n color: ").concat(text, ";");
349
+ };
350
+ /**
351
+ * The background (and, when selected, text) of an interactive row in every state.
352
+ * - `focused`: keyboard focus that isn't DOM focus, such as a listbox option under
353
+ * aria-activedescendant. It shows the hover state.
354
+ * - `disabled`: shows the resting state, with no hover or press.
355
+ * - `textSelector`: a descendant to colour when the row's text isn't the row itself, for example
356
+ * text set by Typography. Pass it without `&`.
357
+ */
358
+ var interactiveRow = function interactiveRow(_a) {
359
+ var _b = _a === void 0 ? {} : _a,
360
+ _c = _b.selected,
361
+ selected = _c === void 0 ? false : _c,
362
+ _d = _b.focused,
363
+ focused = _d === void 0 ? false : _d,
364
+ _e = _b.disabled,
365
+ disabled = _e === void 0 ? false : _e,
366
+ textSelector = _b.textSelector;
367
+ var states = selected ? rowStates.selected : rowStates.unselected;
368
+ if (disabled) return "".concat(rowDeclarations(states.rest, textSelector), "\n").concat(rowForcedColors({
369
+ selected: selected,
370
+ focused: focused,
371
+ disabled: disabled,
372
+ textSelector: textSelector
373
+ }));
374
+ return "\n ".concat(rowDeclarations(focused ? states.hover : states.rest, textSelector), "\n\n &:hover {\n ").concat(rowDeclarations(states.hover, textSelector), "\n }\n\n &:active {\n ").concat(rowDeclarations(states.pressed, textSelector), "\n }\n\n ").concat(rowForcedColors({
375
+ selected: selected,
376
+ focused: focused,
377
+ disabled: disabled,
378
+ textSelector: textSelector
379
+ }), "\n");
380
+ };
381
+ // Rows in forced colours (decision 0038): fills are dropped, so a selected row takes the system
382
+ // selection colours, and a hovered or keyboard-active row is outlined in Highlight.
383
+ var rowForcedColors = function rowForcedColors(_a) {
384
+ var selected = _a.selected,
385
+ focused = _a.focused,
386
+ disabled = _a.disabled,
387
+ textSelector = _a.textSelector;
388
+ var text = function text(color) {
389
+ return textSelector ? "color: ".concat(color, ";\n ").concat(textSelector, " { color: ").concat(color, "; }") : "color: ".concat(color, ";");
390
+ };
391
+ var hover = "outline: ".concat(tokens.semantic.border.width.thin, " solid Highlight;\n outline-offset: calc(-1 * ").concat(tokens.semantic.border.width.thin, ");");
392
+ // A row that doesn't respond (disabled, or not interactive at all) keeps its selection but has
393
+ // no hover outline. Disabled text is the component's to colour: callers also pass this for
394
+ // static rows, which must stay CanvasText.
395
+ // A selected row keeps forced-color-adjust: auto: the browser keeps system colours an author
396
+ // sets, so the row stays Highlight with HighlightText. Its descendants' own colours would be
397
+ // forced to CanvasText, so they inherit HighlightText, and anything drawn with a fill inside
398
+ // (a chip or tag as the row's badge) drops it and keeps its edge. The doubled class outranks
399
+ // the descendants' own rules.
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
+ };
402
+ var templateObject_1$L, templateObject_2$x, templateObject_3$v;
250
403
 
251
- var _a$b = data.tokensJson.semantic,
252
- typography$2 = _a$b.typography,
253
- color$a = _a$b.color,
254
- letterSpacing = _a$b.letterSpacing;
404
+ var _a$a = tokens.semantic,
405
+ typography$2 = _a$a.typography,
406
+ color$a = _a$a.color,
407
+ letterSpacing = _a$a.letterSpacing;
255
408
  var getTypographyStyles = function getTypographyStyles(variant) {
256
409
  var styles = {
257
410
  display: "font: ".concat(typography$2.display, "; letter-spacing: ").concat(letterSpacing.tighter, ";"),
@@ -266,9 +419,9 @@ var getTypographyStyles = function getTypographyStyles(variant) {
266
419
  small: "font: ".concat(typography$2.small, ";"),
267
420
  overline: "font: ".concat(typography$2.overline, ";"),
268
421
  caption: "font: ".concat(typography$2.caption, "; text-transform: uppercase;"),
269
- button1: "font: ".concat(typography$2.button1, ";"),
270
- button2: "font: ".concat(typography$2.button2, ";"),
271
- button3: "font: ".concat(typography$2.button3, ";"),
422
+ button1: "font: ".concat(tokens.component.button.sizes.large.font, ";"),
423
+ button2: "font: ".concat(tokens.component.button.sizes.medium.font, ";"),
424
+ button3: "font: ".concat(tokens.component.button.sizes.small.font, ";"),
272
425
  label: "font: ".concat(typography$2.label, ";")
273
426
  };
274
427
  return styles[variant] || styles.body;
@@ -277,11 +430,11 @@ var getTextColor = function getTextColor(colorVariant) {
277
430
  var colorMap = {
278
431
  "default": color$a.text["default"],
279
432
  emphasis: color$a.text.emphasis,
280
- subdued: color$a.text.subdued,
433
+ subdued: color$a.text.muted,
281
434
  inverse: color$a.text.inverse,
282
435
  disabled: color$a.text.disabled,
283
- interactive: color$a.text.interactive,
284
- error: color$a.text.error,
436
+ interactive: color$a.text.accent,
437
+ error: color$a.text.danger,
285
438
  success: color$a.text.success,
286
439
  warning: color$a.text.warning
287
440
  };
@@ -308,7 +461,7 @@ var getDefaultElement = function getDefaultElement(variant) {
308
461
  };
309
462
  return elementMap[variant] || 'span';
310
463
  };
311
- var StyledTypography = styled__default.default.span.withConfig({
464
+ var StyledTypography = /*#__PURE__*/styled__default.default.span.withConfig({
312
465
  shouldForwardProp: function shouldForwardProp(prop) {
313
466
  return !prop.startsWith('$');
314
467
  },
@@ -378,50 +531,51 @@ var Typography = function Typography(_a) {
378
531
  };
379
532
  var templateObject_1$K;
380
533
 
381
- var semantic$i = data.tokensJson.semantic;
382
- var color$9 = semantic$i.color,
383
- border$a = semantic$i.border;
384
- var radius$4 = border$a.radius;
385
- var _a$a = data.tokensJson.component.badge,
386
- dot = _a$a.dot,
387
- count = _a$a.count,
388
- ring = _a$a.ring;
534
+ var semantic$k = tokens.semantic;
535
+ var color$9 = semantic$k.color;
536
+ var radius$5 = semantic$k.radius;
537
+ var _a$9 = tokens.component.badge,
538
+ dot = _a$9.dot,
539
+ count = _a$9.count,
540
+ ring = _a$9.ring;
389
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"])));
390
- var BadgeWrapper = styled__default.default.span.withConfig({
542
+ var BadgeWrapper = /*#__PURE__*/styled__default.default.span.withConfig({
391
543
  displayName: "Badge__BadgeWrapper",
392
544
  componentId: "sc-tjz4pp-0"
393
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"])));
394
- var BadgeIndicator = styled__default.default.span.withConfig({
546
+ var BadgeIndicator = /*#__PURE__*/styled__default.default.span.withConfig({
395
547
  shouldForwardProp: function shouldForwardProp(prop) {
396
548
  return !prop.startsWith('$');
397
549
  },
398
550
  displayName: "Badge__BadgeIndicator",
399
551
  componentId: "sc-tjz4pp-1"
400
- })(templateObject_3$t || (templateObject_3$t = __makeTemplateObject(["\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(50%, -50%);\n display: ", ";\n align-items: center;\n justify-content: center;\n min-width: ", ";\n height: ", ";\n padding: ", ";\n border-radius: ", ";\n line-height: ", ";\n white-space: nowrap;\n box-shadow: 0 0 0 ", " ", ";\n animation: ", " ", " ", ";\n\n ", " {\n animation: none;\n }\n \n ", "\n"], ["\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(50%, -50%);\n display: ", ";\n align-items: center;\n justify-content: center;\n min-width: ", ";\n height: ", ";\n padding: ", ";\n border-radius: ", ";\n line-height: ", ";\n white-space: nowrap;\n box-shadow: 0 0 0 ", " ", ";\n animation: ", " ", " ", ";\n\n ", " {\n animation: none;\n }\n \n ", "\n"])), function (props) {
552
+ })(templateObject_3$u || (templateObject_3$u = __makeTemplateObject(["\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(50%, -50%);\n display: ", ";\n align-items: center;\n justify-content: center;\n min-width: ", ";\n height: ", ";\n padding: ", ";\n border-radius: ", ";\n line-height: ", ";\n white-space: nowrap;\n box-shadow: 0 0 0 ", " ", ";\n animation: ", " ", " ", ";\n\n ", " {\n animation: none;\n }\n\n /* Forced colours drop fills (decision 0038): a dot is only a fill, so it keeps one in the\n text colour; a count gets an edge around its number */\n ", "\n \n ", "\n"], ["\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(50%, -50%);\n display: ", ";\n align-items: center;\n justify-content: center;\n min-width: ", ";\n height: ", ";\n padding: ", ";\n border-radius: ", ";\n line-height: ", ";\n white-space: nowrap;\n box-shadow: 0 0 0 ", " ", ";\n animation: ", " ", " ", ";\n\n ", " {\n animation: none;\n }\n\n /* Forced colours drop fills (decision 0038): a dot is only a fill, so it keeps one in the\n text colour; a count gets an edge around its number */\n ", "\n \n ", "\n"])), function (props) {
401
553
  return props.$isVisible ? 'flex' : 'none';
402
554
  }, function (props) {
403
555
  return props.$isDot ? dot.size : count.minWidth;
404
556
  }, function (props) {
405
557
  return props.$isDot ? dot.size : count.height;
406
558
  }, function (props) {
407
- return props.$isDot ? '0' : "0 ".concat(semantic$i.spacing.component.xs);
408
- }, radius$4.circle, count.lineHeight, ring.width, color$9.background["default"], scaleIn$2, semantic$i.motion.duration.normal, semantic$i.motion.easing.easeOut, reducedMotion, 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; }");
562
+ }, function (props) {
409
563
  switch (props.$variant) {
410
564
  case 'accent':
411
565
  case 'primary':
412
566
  // Deprecated alias for 'accent', removed in 3.0 (#169)
413
- return "\n background-color: ".concat(color$9.background.interactive, ";\n color: ").concat(color$9.text.inverse, ";\n ");
567
+ return "\n background-color: ".concat(color$9.fill.accent, ";\n color: ").concat(color$9.text.inverse, ";\n ");
414
568
  case 'error':
415
- return "\n background-color: ".concat(color$9.background.error, ";\n color: ").concat(color$9.text.inverse, ";\n ");
569
+ return "\n background-color: ".concat(color$9.fill.danger, ";\n color: ").concat(color$9.text.inverse, ";\n ");
416
570
  case 'warning':
417
- return "\n background-color: ".concat(color$9.background.warning, ";\n color: ").concat(color$9.text.inverse, ";\n ");
571
+ return "\n background-color: ".concat(color$9.fill.warning, ";\n color: ").concat(color$9.text.inverse, ";\n ");
418
572
  case 'success':
419
- return "\n background-color: ".concat(color$9.background.success, ";\n color: ").concat(color$9.text.inverse, ";\n ");
573
+ return "\n background-color: ".concat(color$9.fill.success, ";\n color: ").concat(color$9.text.inverse, ";\n ");
420
574
  default:
421
- return "\n background-color: ".concat(color$9.background.emphasis, ";\n color: ").concat(color$9.text.inverse, ";\n ");
575
+ return "\n background-color: ".concat(color$9.fill.emphasis, ";\n color: ").concat(color$9.text.inverse, ";\n ");
422
576
  }
423
577
  });
424
- var ScreenReaderOnly$1 = styled__default.default.span.withConfig({
578
+ var ScreenReaderOnly$1 = /*#__PURE__*/styled__default.default.span.withConfig({
425
579
  displayName: "Badge__ScreenReaderOnly",
426
580
  componentId: "sc-tjz4pp-2"
427
581
  })(templateObject_4$n || (templateObject_4$n = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), visuallyHidden);
@@ -462,56 +616,172 @@ var Badge = function Badge(_a) {
462
616
  })]
463
617
  });
464
618
  };
465
- var templateObject_1$J, templateObject_2$w, templateObject_3$t, templateObject_4$n;
619
+ var templateObject_1$J, templateObject_2$w, templateObject_3$u, templateObject_4$n;
620
+
621
+ // Props whose values are token keys keep their published vocabulary in 2.x (P7), but read the
622
+ // semantic grammar's names (decision 0031, #189). Each map covers every key the prop type allows,
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;
629
+ /** Box's spacing props (`p`, `m`, `gap`…): the old layout scale's keys, read from `space`. */
630
+ var spaceByLayoutKey = {
631
+ none: space$e[0],
632
+ xs: space$e[100],
633
+ sm: space$e[200],
634
+ md: space$e[300],
635
+ lg: space$e[400],
636
+ xl: space$e[500],
637
+ '2xl': space$e[600],
638
+ '3xl': space$e[700],
639
+ '4xl': space$e[800],
640
+ '5xl': space$e[900],
641
+ '6xl': space$e[1000],
642
+ '7xl': space$e[1200],
643
+ '8xl': space$e[1400],
644
+ '9xl': space$e[1600],
645
+ '10xl': space$e[2000],
646
+ '11xl': space$e[2400],
647
+ // A keyword, not a step: it stays until the keyword question is settled (0031)
648
+ auto: semantic$j.spacing.layout.auto
649
+ };
650
+ /** Box's `borderRadius` prop: the old radius keys, read from `radius`. */
651
+ var radiusByKey = {
652
+ none: radius$4.none,
653
+ xs: radius$4.xs,
654
+ sm: radius$4.sm,
655
+ md: radius$4.md,
656
+ lg: radius$4.lg,
657
+ xl: radius$4.xl,
658
+ '2xl': radius$4['2xl'],
659
+ '3xl': radius$4['3xl'],
660
+ circle: radius$4.full
661
+ };
662
+ /** Box's `bg` prop: the old background keys, read from `surface` and `color.fill`. */
663
+ var backgroundByKey = {
664
+ "default": surface.base,
665
+ page: surface.base,
666
+ subtle: surface.raised,
667
+ overlay: surface.scrim,
668
+ emphasis: color$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'],
695
+ // Moved to the component tier (decision 0031 §6)
696
+ progressTrack: tokens.component.track.background
697
+ };
698
+ /** Box's `color` prop: text colours, old and new keys. */
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
716
+ };
717
+ /** Box's border props: border colours, old and new keys. */
718
+ 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,
731
+ // `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
735
+ };
466
736
 
467
- var StyledBox = styled__default.default.div.withConfig({
737
+ var StyledBox = /*#__PURE__*/styled__default.default.div.withConfig({
468
738
  shouldForwardProp: function shouldForwardProp(prop) {
469
739
  return !prop.startsWith('$');
470
740
  },
471
741
  displayName: "Box__StyledBox",
472
742
  componentId: "sc-aj0jhd-0"
473
- })(templateObject_49 || (templateObject_49 = __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"
743
+ })(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"
474
744
  // Transform component that maps clean props to $-prefixed props for styled-components
475
745
  ])), function (props) {
476
746
  return props.$display && styled.css(templateObject_1$I || (templateObject_1$I = __makeTemplateObject(["display: ", ";"], ["display: ", ";"])), props.$display);
477
747
  }, function (props) {
478
748
  return props.$flexDirection && styled.css(templateObject_2$v || (templateObject_2$v = __makeTemplateObject(["flex-direction: ", ";"], ["flex-direction: ", ";"])), props.$flexDirection);
479
749
  }, function (props) {
480
- return props.$justifyContent && styled.css(templateObject_3$s || (templateObject_3$s = __makeTemplateObject(["justify-content: ", ";"], ["justify-content: ", ";"])), props.$justifyContent);
750
+ return props.$justifyContent && styled.css(templateObject_3$t || (templateObject_3$t = __makeTemplateObject(["justify-content: ", ";"], ["justify-content: ", ";"])), props.$justifyContent);
481
751
  }, function (props) {
482
752
  return props.$alignItems && styled.css(templateObject_4$m || (templateObject_4$m = __makeTemplateObject(["align-items: ", ";"], ["align-items: ", ";"])), props.$alignItems);
483
753
  }, function (props) {
484
- return props.$flexWrap && styled.css(templateObject_5$h || (templateObject_5$h = __makeTemplateObject(["flex-wrap: ", ";"], ["flex-wrap: ", ";"])), props.$flexWrap);
754
+ return props.$flexWrap && styled.css(templateObject_5$i || (templateObject_5$i = __makeTemplateObject(["flex-wrap: ", ";"], ["flex-wrap: ", ";"])), props.$flexWrap);
485
755
  }, function (props) {
486
- return props.$gap && styled.css(templateObject_6$d || (templateObject_6$d = __makeTemplateObject(["gap: ", ";"], ["gap: ", ";"])), data.tokensJson.semantic.spacing.layout[props.$gap]);
756
+ return props.$gap && styled.css(templateObject_6$d || (templateObject_6$d = __makeTemplateObject(["gap: ", ";"], ["gap: ", ";"])), spaceByLayoutKey[props.$gap]);
487
757
  }, function (props) {
488
- return props.$m && styled.css(templateObject_7$b || (templateObject_7$b = __makeTemplateObject(["margin: ", ";"], ["margin: ", ";"])), data.tokensJson.semantic.spacing.layout[props.$m]);
758
+ return props.$m && styled.css(templateObject_7$b || (templateObject_7$b = __makeTemplateObject(["margin: ", ";"], ["margin: ", ";"])), spaceByLayoutKey[props.$m]);
489
759
  }, function (props) {
490
- return props.$mt && styled.css(templateObject_8$8 || (templateObject_8$8 = __makeTemplateObject(["margin-top: ", ";"], ["margin-top: ", ";"])), data.tokensJson.semantic.spacing.layout[props.$mt]);
760
+ return props.$mt && styled.css(templateObject_8$8 || (templateObject_8$8 = __makeTemplateObject(["margin-top: ", ";"], ["margin-top: ", ";"])), spaceByLayoutKey[props.$mt]);
491
761
  }, function (props) {
492
- return props.$mr && styled.css(templateObject_9$6 || (templateObject_9$6 = __makeTemplateObject(["margin-right: ", ";"], ["margin-right: ", ";"])), data.tokensJson.semantic.spacing.layout[props.$mr]);
762
+ return props.$mr && styled.css(templateObject_9$6 || (templateObject_9$6 = __makeTemplateObject(["margin-right: ", ";"], ["margin-right: ", ";"])), spaceByLayoutKey[props.$mr]);
493
763
  }, function (props) {
494
- return props.$mb && styled.css(templateObject_10$4 || (templateObject_10$4 = __makeTemplateObject(["margin-bottom: ", ";"], ["margin-bottom: ", ";"])), data.tokensJson.semantic.spacing.layout[props.$mb]);
764
+ return props.$mb && styled.css(templateObject_10$4 || (templateObject_10$4 = __makeTemplateObject(["margin-bottom: ", ";"], ["margin-bottom: ", ";"])), spaceByLayoutKey[props.$mb]);
495
765
  }, function (props) {
496
- return props.$ml && styled.css(templateObject_11$4 || (templateObject_11$4 = __makeTemplateObject(["margin-left: ", ";"], ["margin-left: ", ";"])), data.tokensJson.semantic.spacing.layout[props.$ml]);
766
+ return props.$ml && styled.css(templateObject_11$4 || (templateObject_11$4 = __makeTemplateObject(["margin-left: ", ";"], ["margin-left: ", ";"])), spaceByLayoutKey[props.$ml]);
497
767
  }, function (props) {
498
- return props.$mx && styled.css(templateObject_12$4 || (templateObject_12$4 = __makeTemplateObject(["\n margin-left: ", ";\n margin-right: ", ";\n "], ["\n margin-left: ", ";\n margin-right: ", ";\n "])), data.tokensJson.semantic.spacing.layout[props.$mx], data.tokensJson.semantic.spacing.layout[props.$mx]);
768
+ return props.$mx && styled.css(templateObject_12$4 || (templateObject_12$4 = __makeTemplateObject(["\n margin-left: ", ";\n margin-right: ", ";\n "], ["\n margin-left: ", ";\n margin-right: ", ";\n "])), spaceByLayoutKey[props.$mx], spaceByLayoutKey[props.$mx]);
499
769
  }, function (props) {
500
- return props.$my && styled.css(templateObject_13$4 || (templateObject_13$4 = __makeTemplateObject(["\n margin-top: ", ";\n margin-bottom: ", ";\n "], ["\n margin-top: ", ";\n margin-bottom: ", ";\n "])), data.tokensJson.semantic.spacing.layout[props.$my], data.tokensJson.semantic.spacing.layout[props.$my]);
770
+ return props.$my && styled.css(templateObject_13$4 || (templateObject_13$4 = __makeTemplateObject(["\n margin-top: ", ";\n margin-bottom: ", ";\n "], ["\n margin-top: ", ";\n margin-bottom: ", ";\n "])), spaceByLayoutKey[props.$my], spaceByLayoutKey[props.$my]);
501
771
  }, function (props) {
502
- return props.$p && styled.css(templateObject_14$2 || (templateObject_14$2 = __makeTemplateObject(["padding: ", ";"], ["padding: ", ";"])), data.tokensJson.semantic.spacing.layout[props.$p]);
772
+ return props.$p && styled.css(templateObject_14$2 || (templateObject_14$2 = __makeTemplateObject(["padding: ", ";"], ["padding: ", ";"])), spaceByLayoutKey[props.$p]);
503
773
  }, function (props) {
504
- return props.$pt && styled.css(templateObject_15$2 || (templateObject_15$2 = __makeTemplateObject(["padding-top: ", ";"], ["padding-top: ", ";"])), data.tokensJson.semantic.spacing.layout[props.$pt]);
774
+ return props.$pt && styled.css(templateObject_15$2 || (templateObject_15$2 = __makeTemplateObject(["padding-top: ", ";"], ["padding-top: ", ";"])), spaceByLayoutKey[props.$pt]);
505
775
  }, function (props) {
506
- return props.$pr && styled.css(templateObject_16$2 || (templateObject_16$2 = __makeTemplateObject(["padding-right: ", ";"], ["padding-right: ", ";"])), data.tokensJson.semantic.spacing.layout[props.$pr]);
776
+ return props.$pr && styled.css(templateObject_16$2 || (templateObject_16$2 = __makeTemplateObject(["padding-right: ", ";"], ["padding-right: ", ";"])), spaceByLayoutKey[props.$pr]);
507
777
  }, function (props) {
508
- return props.$pb && styled.css(templateObject_17$2 || (templateObject_17$2 = __makeTemplateObject(["padding-bottom: ", ";"], ["padding-bottom: ", ";"])), data.tokensJson.semantic.spacing.layout[props.$pb]);
778
+ return props.$pb && styled.css(templateObject_17$2 || (templateObject_17$2 = __makeTemplateObject(["padding-bottom: ", ";"], ["padding-bottom: ", ";"])), spaceByLayoutKey[props.$pb]);
509
779
  }, function (props) {
510
- return props.$pl && styled.css(templateObject_18$2 || (templateObject_18$2 = __makeTemplateObject(["padding-left: ", ";"], ["padding-left: ", ";"])), data.tokensJson.semantic.spacing.layout[props.$pl]);
780
+ return props.$pl && styled.css(templateObject_18$2 || (templateObject_18$2 = __makeTemplateObject(["padding-left: ", ";"], ["padding-left: ", ";"])), spaceByLayoutKey[props.$pl]);
511
781
  }, function (props) {
512
- 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 "])), data.tokensJson.semantic.spacing.layout[props.$px], data.tokensJson.semantic.spacing.layout[props.$px]);
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]);
513
783
  }, function (props) {
514
- 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 "])), data.tokensJson.semantic.spacing.layout[props.$py], data.tokensJson.semantic.spacing.layout[props.$py]);
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]);
515
785
  }, function (props) {
516
786
  return props.$width && styled.css(templateObject_21$1 || (templateObject_21$1 = __makeTemplateObject(["width: ", ";"], ["width: ", ";"])), props.$width);
517
787
  }, function (props) {
@@ -535,35 +805,35 @@ var StyledBox = styled__default.default.div.withConfig({
535
805
  }, function (props) {
536
806
  return props.$left && styled.css(templateObject_31$1 || (templateObject_31$1 = __makeTemplateObject(["left: ", ";"], ["left: ", ";"])), props.$left);
537
807
  }, function (props) {
538
- return props.$borderRadius && styled.css(templateObject_32$1 || (templateObject_32$1 = __makeTemplateObject(["border-radius: ", ";"], ["border-radius: ", ";"])), data.tokensJson.semantic.border.radius[props.$borderRadius]);
808
+ return props.$borderRadius && styled.css(templateObject_32$1 || (templateObject_32$1 = __makeTemplateObject(["border-radius: ", ";"], ["border-radius: ", ";"])), radiusByKey[props.$borderRadius]);
539
809
  }, function (props) {
540
- return props.$border && styled.css(templateObject_33$1 || (templateObject_33$1 = __makeTemplateObject(["border: ", " solid ", ";"], ["border: ", " solid ", ";"])), data.tokensJson.semantic.border.width.thin, data.tokensJson.semantic.color.border[props.$border]);
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]);
541
811
  }, function (props) {
542
- return props.$borderTop && styled.css(templateObject_34$1 || (templateObject_34$1 = __makeTemplateObject(["border-top: ", " solid ", ";"], ["border-top: ", " solid ", ";"])), data.tokensJson.semantic.border.width.thin, data.tokensJson.semantic.color.border[props.$borderTop]);
812
+ 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]);
543
813
  }, function (props) {
544
- return props.$borderRight && styled.css(templateObject_35$1 || (templateObject_35$1 = __makeTemplateObject(["border-right: ", " solid ", ";"], ["border-right: ", " solid ", ";"])), data.tokensJson.semantic.border.width.thin, data.tokensJson.semantic.color.border[props.$borderRight]);
814
+ return props.$borderRight && styled.css(templateObject_35$1 || (templateObject_35$1 = __makeTemplateObject(["border-right: ", " solid ", ";"], ["border-right: ", " solid ", ";"])), tokens.semantic.border.width.thin, borderColorByKey[props.$borderRight]);
545
815
  }, function (props) {
546
- return props.$borderBottom && styled.css(templateObject_36 || (templateObject_36 = __makeTemplateObject(["border-bottom: ", " solid ", ";"], ["border-bottom: ", " solid ", ";"])), data.tokensJson.semantic.border.width.thin, data.tokensJson.semantic.color.border[props.$borderBottom]);
816
+ return props.$borderBottom && styled.css(templateObject_36 || (templateObject_36 = __makeTemplateObject(["border-bottom: ", " solid ", ";"], ["border-bottom: ", " solid ", ";"])), tokens.semantic.border.width.thin, borderColorByKey[props.$borderBottom]);
547
817
  }, function (props) {
548
- return props.$borderLeft && styled.css(templateObject_37 || (templateObject_37 = __makeTemplateObject(["border-left: ", " solid ", ";"], ["border-left: ", " solid ", ";"])), data.tokensJson.semantic.border.width.thin, data.tokensJson.semantic.color.border[props.$borderLeft]);
818
+ return props.$borderLeft && styled.css(templateObject_37 || (templateObject_37 = __makeTemplateObject(["border-left: ", " solid ", ";"], ["border-left: ", " solid ", ";"])), tokens.semantic.border.width.thin, borderColorByKey[props.$borderLeft]);
549
819
  }, function (props) {
550
- return props.$bg && styled.css(templateObject_38 || (templateObject_38 = __makeTemplateObject(["background-color: ", ";"], ["background-color: ", ";"])), data.tokensJson.semantic.color.background[props.$bg]);
820
+ return props.$bg && styled.css(templateObject_38 || (templateObject_38 = __makeTemplateObject(["background-color: ", ";"], ["background-color: ", ";"])), backgroundByKey[props.$bg]);
551
821
  }, function (props) {
552
- return props.$color && styled.css(templateObject_39 || (templateObject_39 = __makeTemplateObject(["color: ", ";"], ["color: ", ";"])), data.tokensJson.semantic.color.text[props.$color]);
822
+ return props.$color && styled.css(templateObject_39 || (templateObject_39 = __makeTemplateObject(["color: ", ";"], ["color: ", ";"])), textColorByKey[props.$color]);
553
823
  }, function (props) {
554
- return props.$shadow && styled.css(templateObject_40 || (templateObject_40 = __makeTemplateObject(["box-shadow: ", ";"], ["box-shadow: ", ";"])), data.tokensJson.semantic.elevation[props.$shadow]);
824
+ return props.$shadow && styled.css(templateObject_40 || (templateObject_40 = __makeTemplateObject(["box-shadow: ", ";"], ["box-shadow: ", ";"])), tokens.semantic.elevation[props.$shadow]);
555
825
  }, function (props) {
556
826
  return props.$cursor && styled.css(templateObject_41 || (templateObject_41 = __makeTemplateObject(["cursor: ", ";"], ["cursor: ", ";"])), props.$cursor);
557
827
  }, function (props) {
558
828
  return props.$transition && styled.css(templateObject_42 || (templateObject_42 = __makeTemplateObject(["transition: ", ";"], ["transition: ", ";"])), props.$transition);
559
829
  }, function (props) {
560
- return (props.$hoverShadow || props.$hoverTransform) && styled.css(templateObject_45 || (templateObject_45 = __makeTemplateObject(["\n &:hover {\n ", "\n ", "\n }\n \n &:active {\n transform: translateY(0);\n }\n \n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n }\n "], ["\n &:hover {\n ", "\n ", "\n }\n \n &:active {\n transform: translateY(0);\n }\n \n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n }\n "])), props.$hoverShadow && styled.css(templateObject_43 || (templateObject_43 = __makeTemplateObject(["box-shadow: ", ";"], ["box-shadow: ", ";"])), data.tokensJson.semantic.elevation[props.$hoverShadow]), props.$hoverTransform && styled.css(templateObject_44 || (templateObject_44 = __makeTemplateObject(["transform: ", ";"], ["transform: ", ";"])), props.$hoverTransform), data.tokensJson.semantic.border.focus, data.tokensJson.semantic.border.focusOffset);
830
+ return (props.$hoverShadow || props.$hoverTransform) && styled.css(templateObject_47 || (templateObject_47 = __makeTemplateObject(["\n &:hover {\n ", "\n ", "\n }\n \n /* Pressed settles back: the shadow drops to raised and any lift returns (issue 185). Pressing a\n control inside the card (an action button) presses that control, not the card. */\n &:active {\n transform: translateY(0);\n }\n\n ", "\n \n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n }\n\n /* Reduced motion keeps the state change and drops the movement (decision 0015) */\n ", "\n "], ["\n &:hover {\n ", "\n ", "\n }\n \n /* Pressed settles back: the shadow drops to raised and any lift returns (issue 185). Pressing a\n control inside the card (an action button) presses that control, not the card. */\n &:active {\n transform: translateY(0);\n }\n\n ", "\n \n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n }\n\n /* Reduced motion keeps the state change and drops the movement (decision 0015) */\n ", "\n "])), props.$hoverShadow && styled.css(templateObject_43 || (templateObject_43 = __makeTemplateObject(["box-shadow: ", ";"], ["box-shadow: ", ";"])), tokens.semantic.elevation[props.$hoverShadow]), props.$hoverTransform && styled.css(templateObject_44 || (templateObject_44 = __makeTemplateObject(["transform: ", ";"], ["transform: ", ";"])), props.$hoverTransform), props.$hoverShadow && styled.css(templateObject_45 || (templateObject_45 = __makeTemplateObject(["\n &:active:not(:has(:is(button, a, [role=\"button\"]):active)) {\n box-shadow: ", ";\n }\n "], ["\n &:active:not(:has(:is(button, a, [role=\"button\"]):active)) {\n box-shadow: ", ";\n }\n "])), tokens.semantic.elevation.raised), tokens.semantic.border.focus, tokens.semantic.border.focusOffset, props.$hoverTransform && styled.css(templateObject_46 || (templateObject_46 = __makeTemplateObject(["\n ", " {\n &:hover {\n transform: none;\n }\n }\n "], ["\n ", " {\n &:hover {\n transform: none;\n }\n }\n "])), reducedMotion));
561
831
  }, function (props) {
562
- return props.$overflow && styled.css(templateObject_46 || (templateObject_46 = __makeTemplateObject(["overflow: ", ";"], ["overflow: ", ";"])), props.$overflow);
832
+ return props.$overflow && styled.css(templateObject_48 || (templateObject_48 = __makeTemplateObject(["overflow: ", ";"], ["overflow: ", ";"])), props.$overflow);
563
833
  }, function (props) {
564
- return props.$overflowX && styled.css(templateObject_47 || (templateObject_47 = __makeTemplateObject(["overflow-x: ", ";"], ["overflow-x: ", ";"])), props.$overflowX);
834
+ return props.$overflowX && styled.css(templateObject_49 || (templateObject_49 = __makeTemplateObject(["overflow-x: ", ";"], ["overflow-x: ", ";"])), props.$overflowX);
565
835
  }, function (props) {
566
- return props.$overflowY && styled.css(templateObject_48 || (templateObject_48 = __makeTemplateObject(["overflow-y: ", ";"], ["overflow-y: ", ";"])), props.$overflowY);
836
+ return props.$overflowY && styled.css(templateObject_50 || (templateObject_50 = __makeTemplateObject(["overflow-y: ", ";"], ["overflow-y: ", ";"])), props.$overflowY);
567
837
  });
568
838
  // Transform component that maps clean props to $-prefixed props for styled-components
569
839
  var BoxTransform = function BoxTransform(props) {
@@ -697,9 +967,9 @@ var BoxTransform = function BoxTransform(props) {
697
967
  }));
698
968
  };
699
969
  var Box = BoxTransform;
700
- var templateObject_1$I, templateObject_2$v, templateObject_3$s, templateObject_4$m, templateObject_5$h, 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;
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;
701
971
 
702
- var IconStyled = styled__default.default.span.withConfig({
972
+ var IconStyled = /*#__PURE__*/styled__default.default.span.withConfig({
703
973
  shouldForwardProp: function shouldForwardProp(prop) {
704
974
  return !prop.startsWith('$');
705
975
  },
@@ -707,35 +977,35 @@ var IconStyled = styled__default.default.span.withConfig({
707
977
  componentId: "sc-1105czq-0"
708
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) {
709
979
  var $size = _a.$size;
710
- return data.tokensJson.semantic.size.icon[$size];
980
+ return tokens.semantic.size.icon[$size];
711
981
  }, function (_a) {
712
982
  var $size = _a.$size;
713
- return data.tokensJson.semantic.size.icon[$size];
983
+ return tokens.semantic.size.icon[$size];
714
984
  }, function (_a) {
715
985
  var $iconColor = _a.$iconColor;
716
986
  switch ($iconColor) {
717
987
  case 'default':
718
- return data.tokensJson.semantic.color.icon["default"];
988
+ return tokens.semantic.color.icon["default"];
719
989
  case 'emphasis':
720
- return data.tokensJson.semantic.color.icon.emphasis;
990
+ return tokens.semantic.color.icon.emphasis;
721
991
  case 'subdued':
722
- return data.tokensJson.semantic.color.icon.subdued;
992
+ return tokens.semantic.color.icon.muted;
723
993
  case 'disabled':
724
- return data.tokensJson.semantic.color.icon.disabled;
994
+ return tokens.semantic.color.icon.disabled;
725
995
  case 'inverse':
726
- return data.tokensJson.semantic.color.icon.inverse;
996
+ return tokens.semantic.color.icon.inverse;
727
997
  case 'interactive':
728
- return data.tokensJson.semantic.color.icon.interactive;
998
+ return tokens.semantic.color.icon.accent;
729
999
  case 'error':
730
- return data.tokensJson.semantic.color.icon.error;
1000
+ return tokens.semantic.color.icon.danger;
731
1001
  case 'success':
732
- return data.tokensJson.semantic.color.icon.success;
1002
+ return tokens.semantic.color.icon.success;
733
1003
  case 'warning':
734
- return data.tokensJson.semantic.color.icon.warning;
1004
+ return tokens.semantic.color.icon.warning;
735
1005
  case 'inherit':
736
1006
  return 'currentColor';
737
1007
  default:
738
- return data.tokensJson.semantic.color.icon["default"];
1008
+ return tokens.semantic.color.icon["default"];
739
1009
  }
740
1010
  });
741
1011
  var Icon = function Icon(_a) {
@@ -784,12 +1054,15 @@ var Icon = function Icon(_a) {
784
1054
  };
785
1055
  var templateObject_1$H;
786
1056
 
787
- var button$1 = data.tokensJson.component.button,
788
- semantic$h = data.tokensJson.semantic;
789
- // Padding comes from the semantic spacing scale: no component spacing tokens (decision 0022)
790
- var spacing$a = semantic$h.spacing.component;
1057
+ var button$1 = tokens.component.button,
1058
+ semantic$i = tokens.semantic;
1059
+ // Height comes from size.control as a minimum and the content is centred, so there is no
1060
+ // vertical padding (decision 0034). Horizontal padding comes from the semantic spacing scale:
1061
+ // no component spacing tokens (decision 0022)
1062
+ var inset = semantic$i.space.inset;
1063
+ var control$1 = semantic$i.size.control;
791
1064
  // Base styles shared between button and link
792
- var baseButtonStyles = "\n box-sizing: border-box;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: ".concat(data.tokensJson.semantic.spacing.layout.xs, ";\n height: max-content;\n cursor: pointer;\n border: none;\n text-decoration: none;\n transition: ").concat(semantic$h.motion.hover, ";\n white-space: nowrap;\n user-select: none;\n \n &:focus {\n outline: ").concat(button$1.focus.outline, ";\n outline-offset: ").concat(semantic$h.border.focusOffset, ";\n }\n\n &:disabled {\n cursor: not-allowed;\n }\n");
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");
793
1066
  // Dynamic variant styles using component tokens
794
1067
  var getVariantStyles$1 = function getVariantStyles(_a) {
795
1068
  var $variant = _a.$variant;
@@ -847,28 +1120,27 @@ var getVariantStyles$1 = function getVariantStyles(_a) {
847
1120
  var config = variantConfig[$variant];
848
1121
  return "\n background-color: ".concat(config.bg, ";\n color: ").concat(config.text, ";\n \n &:hover:not(:disabled) {\n background-color: ").concat(config.hoverBg, ";\n }\n\n &:active:not(:disabled) {\n background-color: ").concat(config.activeBg, ";\n }\n\n &:disabled {\n background-color: ").concat(config.disabledBg, ";\n color: ").concat(config.disabledText, ";\n }\n ");
849
1122
  };
850
- // Dynamic size styles using component tokens
851
- var getSizeStyles$1 = function getSizeStyles(_a) {
1123
+ // Dynamic size styles: font from component tokens, height from size.control (decision 0034)
1124
+ var getSizeStyles = function getSizeStyles(_a) {
852
1125
  var $size = _a.$size;
853
1126
  switch ($size) {
854
1127
  case 'small':
855
- return "\n font: ".concat(button$1.sizes.small.font, ";\n padding: ").concat(spacing$a.sm, " ").concat(spacing$a.md, ";\n ");
1128
+ return "\n font: ".concat(button$1.sizes.small.font, ";\n min-height: ").concat(control$1.sm, ";\n padding: 0 ").concat(inset.md, ";\n ");
856
1129
  case 'medium':
857
- return "\n font: ".concat(button$1.sizes.medium.font, ";\n padding: ").concat(spacing$a.sm, " ").concat(spacing$a.lg, ";\n ");
1130
+ return "\n font: ".concat(button$1.sizes.medium.font, ";\n min-height: ").concat(control$1.md, ";\n padding: 0 ").concat(inset.lg, ";\n ");
858
1131
  case 'large':
859
- return "\n font: ".concat(button$1.sizes.large.font, ";\n padding: ").concat(spacing$a.md, " ").concat(spacing$a.lg, ";\n ");
860
1132
  default:
861
- return "\n font: ".concat(button$1.sizes.large.font, ";\n padding: ").concat(spacing$a.md, " ").concat(spacing$a.lg, ";\n ");
1133
+ return "\n font: ".concat(button$1.sizes.large.font, ";\n min-height: ").concat(control$1.lg, ";\n padding: 0 ").concat(inset.lg, ";\n ");
862
1134
  }
863
1135
  };
864
- var StyledButton = styled__default.default.button.withConfig({
1136
+ var StyledButton = /*#__PURE__*/styled__default.default.button.withConfig({
865
1137
  shouldForwardProp: function shouldForwardProp(prop) {
866
1138
  return !prop.startsWith('$');
867
1139
  },
868
1140
  displayName: "Button__StyledButton",
869
1141
  componentId: "sc-1eiuum9-0"
870
- })(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$1);
871
- var StyledLink = styled__default.default.a.withConfig({
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 = /*#__PURE__*/styled__default.default.a.withConfig({
872
1144
  shouldForwardProp: function shouldForwardProp(prop) {
873
1145
  return !prop.startsWith('$');
874
1146
  },
@@ -876,7 +1148,7 @@ var StyledLink = styled__default.default.a.withConfig({
876
1148
  componentId: "sc-1eiuum9-1"
877
1149
  })(templateObject_2$u || (templateObject_2$u = __makeTemplateObject(["\n ", "\n border-radius: ", ";\n \n ", "\n ", "\n"], ["\n ", "\n border-radius: ", ";\n \n ", "\n ", "\n"
878
1150
  // Helper function to get icon size based on button size
879
- ])), baseButtonStyles, button$1.primary.borderRadius, getVariantStyles$1, getSizeStyles$1);
1151
+ ])), baseButtonStyles, button$1.primary.borderRadius, getVariantStyles$1, getSizeStyles);
880
1152
  // Helper function to get icon size based on button size
881
1153
  var getIconSize = function getIconSize(buttonSize) {
882
1154
  switch (buttonSize) {
@@ -979,15 +1251,13 @@ var Button = function Button(_a) {
979
1251
  };
980
1252
  var templateObject_1$G, templateObject_2$u;
981
1253
 
982
- var semantic$g = data.tokensJson.semantic;
983
- var color$8 = semantic$g.color,
984
- border$9 = semantic$g.border,
985
- spacing$9 = semantic$g.spacing;
986
- var label$2 = data.tokensJson.component.badge.label;
987
- var category = color$8.category;
988
- var radius$3 = border$9.radius;
989
- var layout$4 = spacing$9.layout;
990
- var labelHeight$1 = semantic$g.size.label;
1254
+ var semantic$h = tokens.semantic;
1255
+ var color$7 = semantic$h.color;
1256
+ 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;
991
1261
  // Text on white or the -subtle fill (outlined and minimal), at least 4.5:1 (#115)
992
1262
  var categoryText = {
993
1263
  blue: category['blue-text'],
@@ -999,7 +1269,7 @@ var categoryText = {
999
1269
  orange: category['orange-text'],
1000
1270
  gray: category['gray-text']
1001
1271
  };
1002
- var StyledCategoryLabel = styled__default.default.span.withConfig({
1272
+ var StyledCategoryLabel = /*#__PURE__*/styled__default.default.span.withConfig({
1003
1273
  shouldForwardProp: function shouldForwardProp(prop) {
1004
1274
  return !prop.startsWith('$');
1005
1275
  },
@@ -1008,16 +1278,16 @@ var StyledCategoryLabel = styled__default.default.span.withConfig({
1008
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"
1009
1279
  // The visible content, hidden from assistive technology when an aria-label replaces it.
1010
1280
  // display: contents keeps the root's flex layout and gap.
1011
- ])), radius$3.circle, semantic$g.border.width.thin, function (_a) {
1281
+ ])), radius$3.full, semantic$h.border.width.thin, function (_a) {
1012
1282
  var $size = _a.$size;
1013
1283
  return labelHeight$1[$size];
1014
1284
  }, function (_a) {
1015
1285
  var $size = _a.$size;
1016
- return $size === 'medium' ? "".concat(layout$4.xs, " ").concat(layout$4.sm) : "".concat(layout$4.sm, " ").concat(layout$4.md);
1286
+ return $size === 'medium' ? "".concat(space$d[100], " ").concat(space$d[200]) : "".concat(space$d[200], " ").concat(space$d[300]);
1017
1287
  }, function (_a) {
1018
1288
  var $size = _a.$size;
1019
1289
  return $size === 'medium' ? label$2.typography.small : label$2.typography.medium;
1020
- }, label$2.fontWeight, layout$4.xs, function (_a) {
1290
+ }, label$2.fontWeight, space$d[100], function (_a) {
1021
1291
  var $color = _a.$color,
1022
1292
  $variant = _a.$variant;
1023
1293
  if ($variant === 'filled') {
@@ -1027,12 +1297,12 @@ var StyledCategoryLabel = styled__default.default.span.withConfig({
1027
1297
  return 'transparent';
1028
1298
  }
1029
1299
  // minimal
1030
- return category["".concat($color, "-subtle")];
1300
+ return category["".concat($color, "-muted")];
1031
1301
  }, function (_a) {
1032
1302
  var $color = _a.$color,
1033
1303
  $variant = _a.$variant;
1034
1304
  if ($variant === 'filled') {
1035
- return color$8.text.inverse;
1305
+ return color$7.text.inverse;
1036
1306
  }
1037
1307
  return categoryText[$color];
1038
1308
  }, function (_a) {
@@ -1045,14 +1315,14 @@ var StyledCategoryLabel = styled__default.default.span.withConfig({
1045
1315
  });
1046
1316
  // The visible content, hidden from assistive technology when an aria-label replaces it.
1047
1317
  // display: contents keeps the root's flex layout and gap.
1048
- var VisibleContent$1 = styled__default.default.span.withConfig({
1318
+ var VisibleContent$1 = /*#__PURE__*/styled__default.default.span.withConfig({
1049
1319
  displayName: "CategoryLabel__VisibleContent",
1050
1320
  componentId: "sc-1jx7bjo-1"
1051
1321
  })(templateObject_2$t || (templateObject_2$t = __makeTemplateObject(["\n display: contents;\n"], ["\n display: contents;\n"])));
1052
- var HiddenLabel = styled__default.default.span.withConfig({
1322
+ var HiddenLabel = /*#__PURE__*/styled__default.default.span.withConfig({
1053
1323
  displayName: "CategoryLabel__HiddenLabel",
1054
1324
  componentId: "sc-1jx7bjo-2"
1055
- })(templateObject_3$r || (templateObject_3$r = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"
1325
+ })(templateObject_3$s || (templateObject_3$s = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"
1056
1326
  /**
1057
1327
  * CategoryLabel colour-codes an item's category, such as a transaction's (decision 0018).
1058
1328
  *
@@ -1119,7 +1389,7 @@ var CategoryLabel = function CategoryLabel(_a) {
1119
1389
  });
1120
1390
  };
1121
1391
  CategoryLabel.displayName = 'CategoryLabel';
1122
- var templateObject_1$F, templateObject_2$t, templateObject_3$r;
1392
+ var templateObject_1$F, templateObject_2$t, templateObject_3$s;
1123
1393
 
1124
1394
  // CategoryBadge sizes on the decision 0018 scale
1125
1395
  var toLabelSize = {
@@ -1143,7 +1413,8 @@ var CategoryBadge = function CategoryBadge(_a) {
1143
1413
  };
1144
1414
  CategoryBadge.displayName = 'CategoryBadge';
1145
1415
 
1146
- var chip$1 = data.tokensJson.component.chip;
1416
+ var chip$1 = tokens.component.chip,
1417
+ semantic$g = tokens.semantic;
1147
1418
  // Helper function to get variant styles matching Button's approach
1148
1419
  var getVariantStyles = function getVariantStyles(_a) {
1149
1420
  var $variant = _a.$variant,
@@ -1159,11 +1430,11 @@ var getVariantStyles = function getVariantStyles(_a) {
1159
1430
  var disabled = chip$1.variants.subtle.disabled;
1160
1431
  return "\n background-color: ".concat(disabled.backgroundColor, ";\n color: ").concat(disabled.textColor, ";\n ");
1161
1432
  }
1162
- var _b = data.tokensJson.semantic.color,
1163
- background = _b.background,
1433
+ var _b = tokens.semantic.color,
1434
+ fill = _b.fill,
1164
1435
  text = _b.text;
1165
1436
  var interactiveStates = $clickable;
1166
- return "\n background-color: ".concat(background['interactive-subtle'], ";\n color: ").concat(text.interactive, ";\n \n &:hover {\n background-color: ").concat(interactiveStates ? background['interactive-subtle-hover'] : background['interactive-subtle'], ";\n color: ").concat(interactiveStates ? text['interactive-hover'] : text.interactive, ";\n }\n \n &:active {\n background-color: ").concat(interactiveStates ? background['interactive-subtle-active'] : background['interactive-subtle'], ";\n color: ").concat(interactiveStates ? text['interactive-active'] : text.interactive, ";\n }\n ");
1437
+ return "\n background-color: ".concat(fill['accent-muted'], ";\n color: ").concat(text.accent, ";\n \n &:hover {\n background-color: ").concat(interactiveStates ? fill['accent-muted-hover'] : fill['accent-muted'], ";\n color: ").concat(interactiveStates ? text['accent-hover'] : text.accent, ";\n }\n \n &:active {\n background-color: ").concat(interactiveStates ? fill['accent-muted-pressed'] : fill['accent-muted'], ";\n color: ").concat(interactiveStates ? text['accent-pressed'] : text.accent, ";\n }\n\n /* Forced colours drop the fill, so a selected chip takes the system selection colours\n (decision 0038); its checkmark follows the text colour */\n ").concat(forcedColors, " {\n forced-color-adjust: none;\n background-color: Highlight;\n border-color: Highlight;\n color: HighlightText;\n }\n ");
1167
1438
  }
1168
1439
  switch ($variant) {
1169
1440
  case 'emphasis':
@@ -1177,50 +1448,45 @@ var getVariantStyles = function getVariantStyles(_a) {
1177
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 ");
1178
1449
  }
1179
1450
  };
1180
- // Helper function to get size styles matching Button's approach
1181
- var getSizeStyles = function getSizeStyles(_a) {
1182
- var $size = _a.$size;
1183
- switch ($size) {
1184
- case 'small':
1185
- return "\n font: ".concat(chip$1.sizes.small.font, ";\n // Off-grid 2px: keeps the deprecated token until #129 (decision 0022)\n padding: ").concat(chip$1.sizes.small.padding, ";\n ");
1186
- case 'medium':
1187
- default:
1188
- return "\n font: ".concat(chip$1.sizes.medium.font, ";\n padding: ").concat(chip$1.sizes.medium.padding, ";\n ");
1189
- }
1190
- };
1451
+ // Chips have one size: 24px from the label scale as a minimum, with the content centred
1452
+ // and no vertical padding (decisions 0034 and 0035). Horizontal padding comes from the
1453
+ // 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");
1191
1455
 
1192
- var chip = data.tokensJson.component.chip,
1193
- semantic$f = data.tokensJson.semantic;
1456
+ var chip = tokens.component.chip,
1457
+ semantic$f = tokens.semantic;
1194
1458
  // Base styled component using direct prop interpolation like Button
1195
- var StyledChip = styled__default.default.span.withConfig({
1459
+ var StyledChip = /*#__PURE__*/styled__default.default.span.withConfig({
1196
1460
  shouldForwardProp: function shouldForwardProp(prop) {
1197
1461
  return !prop.startsWith('$');
1198
1462
  },
1199
1463
  displayName: "ChipBase__StyledChip",
1200
1464
  componentId: "sc-moa6zc-0"
1201
- })(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 ", "\n ", "\n \n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\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 ", "\n ", "\n \n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n }\n"
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"
1202
1466
  // Icon container for selected indicator or leading icons
1203
- ])), chip["default"].borderRadius, semantic$f.motion.hover, function (props) {
1467
+ ])), chip["default"].borderRadius, semantic$f.motion.transition.feedback, function (props) {
1204
1468
  return props.$disabled ? 'not-allowed' : props.$clickable ? 'pointer' : 'default';
1205
- }, getVariantStyles, getSizeStyles, chip.focus.outline, semantic$f.border.focusOffset);
1469
+ }, forcedColorsEdge, function (props) {
1470
+ return props.$disabled ? "".concat(forcedColors, " { color: GrayText; }") : '';
1471
+ }, getVariantStyles, sizeStyles, chip.focus.outline, semantic$f.border.focusOffset);
1206
1472
  // Icon container for selected indicator or leading icons
1207
- var IconContainer = styled__default.default.span.withConfig({
1473
+ var IconContainer = /*#__PURE__*/styled__default.default.span.withConfig({
1208
1474
  displayName: "ChipBase__IconContainer",
1209
1475
  componentId: "sc-moa6zc-1"
1210
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"
1211
1477
  // Close button for dismissible chips
1212
- ])), data.tokensJson.semantic.spacing.layout.xs);
1478
+ ])), tokens.semantic.space[100]);
1213
1479
  // Close button for dismissible chips
1214
- var CloseButton = styled__default.default.button.withConfig({
1480
+ var CloseButton = /*#__PURE__*/styled__default.default.button.withConfig({
1215
1481
  shouldForwardProp: function shouldForwardProp(prop) {
1216
1482
  return !prop.startsWith('$');
1217
1483
  },
1218
1484
  displayName: "ChipBase__CloseButton",
1219
1485
  componentId: "sc-moa6zc-2"
1220
- })(templateObject_3$q || (templateObject_3$q = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n margin-left: ", ";\n background: transparent;\n border: none;\n width: ", ";\n height: ", ";\n padding: ", ";\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 width: ", ";\n height: ", ";\n padding: ", ";\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"])), data.tokensJson.semantic.spacing.layout.sm, chip.closeButton.size, chip.closeButton.size, data.tokensJson.semantic.spacing.layout.none, data.tokensJson.semantic.border.radius.xs, function (props) {
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) {
1221
1487
  return props.$disabled ? 'not-allowed' : 'pointer';
1222
- }, semantic$f.motion.hover, data.tokensJson.semantic.color.background['hover-overlay'], data.tokensJson.semantic.color.background['active-overlay'], data.tokensJson.semantic.color.text.disabled, chip.focus.outline, semantic$f.border.focusOffset, chip["default"].borderRadius);
1223
- var templateObject_1$E, templateObject_2$s, templateObject_3$q;
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;
1224
1490
 
1225
1491
  /**
1226
1492
  * Chip - a static, non-interactive label for tags, categories and metadata.
@@ -1236,12 +1502,12 @@ var templateObject_1$E, templateObject_2$s, templateObject_3$q;
1236
1502
  var Chip = function Chip(_a) {
1237
1503
  var children = _a.children,
1238
1504
  _b = _a.variant,
1239
- variant = _b === void 0 ? 'default' : _b,
1240
- _c = _a.size,
1241
- size = _c === void 0 ? 'medium' : _c,
1242
- onClick = _a.onClick,
1243
- _d = _a.disabled,
1244
- disabled = _d === void 0 ? false : _d,
1505
+ variant = _b === void 0 ? 'default' : _b;
1506
+ // Deprecated and ignored: chips have one size (decision 0035)
1507
+ _a.size;
1508
+ var onClick = _a.onClick,
1509
+ _c = _a.disabled,
1510
+ disabled = _c === void 0 ? false : _c,
1245
1511
  dataTestId = _a["data-testid"],
1246
1512
  ariaLabel = _a["aria-label"],
1247
1513
  ariaDescribedBy = _a["aria-describedby"],
@@ -1266,7 +1532,6 @@ var Chip = function Chip(_a) {
1266
1532
  };
1267
1533
  return jsxRuntime.jsx(StyledChip, __assign({
1268
1534
  "$variant": normalizedVariant,
1269
- "$size": size,
1270
1535
  "$disabled": disabled || undefined,
1271
1536
  "$clickable": isClickable || undefined,
1272
1537
  onClick: isClickable ? handleClick : undefined,
@@ -1312,11 +1577,11 @@ var InputChip = function InputChip(_a) {
1312
1577
  var children = _a.children,
1313
1578
  _b = _a.selected,
1314
1579
  selected = _b === void 0 ? false : _b,
1315
- onDismiss = _a.onDismiss,
1316
- _c = _a.size,
1317
- size = _c === void 0 ? 'medium' : _c,
1318
- _d = _a.disabled,
1319
- disabled = _d === void 0 ? false : _d,
1580
+ onDismiss = _a.onDismiss;
1581
+ // Deprecated and ignored: chips have one size (decision 0035)
1582
+ _a.size;
1583
+ var _c = _a.disabled,
1584
+ disabled = _c === void 0 ? false : _c,
1320
1585
  dataTestId = _a["data-testid"],
1321
1586
  ariaLabel = _a["aria-label"],
1322
1587
  ariaDescribedBy = _a["aria-describedby"],
@@ -1346,7 +1611,6 @@ var InputChip = function InputChip(_a) {
1346
1611
  var closeButtonLabel = typeof children === 'string' ? "Remove ".concat(children) : 'Remove filter';
1347
1612
  return jsxRuntime.jsxs(StyledChip, __assign({
1348
1613
  "$variant": "subtle",
1349
- "$size": size,
1350
1614
  "$disabled": disabled || undefined,
1351
1615
  "$clickable": false,
1352
1616
  "$selected": selected,
@@ -1412,11 +1676,11 @@ var FilterChip = InputChip;
1412
1676
  var BooleanChip = function BooleanChip(_a) {
1413
1677
  var children = _a.children,
1414
1678
  selected = _a.selected,
1415
- onClick = _a.onClick,
1416
- _b = _a.size,
1417
- size = _b === void 0 ? 'medium' : _b,
1418
- _c = _a.disabled,
1419
- disabled = _c === void 0 ? false : _c,
1679
+ onClick = _a.onClick;
1680
+ // Deprecated and ignored: chips have one size (decision 0035)
1681
+ _a.size;
1682
+ var _b = _a.disabled,
1683
+ disabled = _b === void 0 ? false : _b,
1420
1684
  dataTestId = _a["data-testid"],
1421
1685
  ariaLabel = _a["aria-label"],
1422
1686
  ariaDescribedBy = _a["aria-describedby"],
@@ -1435,7 +1699,6 @@ var BooleanChip = function BooleanChip(_a) {
1435
1699
  };
1436
1700
  return jsxRuntime.jsxs(StyledChip, __assign({
1437
1701
  "$variant": "subtle",
1438
- "$size": size,
1439
1702
  "$disabled": disabled || undefined,
1440
1703
  "$clickable": !disabled,
1441
1704
  "$selected": selected,
@@ -1460,11 +1723,11 @@ var BooleanChip = function BooleanChip(_a) {
1460
1723
  }));
1461
1724
  };
1462
1725
 
1463
- var spacing$8 = data.tokensJson.semantic.spacing;
1464
- var StyledContainer$2 = styled__default.default.div.withConfig({
1726
+ var space$c = tokens.semantic.space;
1727
+ var StyledContainer$2 = /*#__PURE__*/styled__default.default.div.withConfig({
1465
1728
  displayName: "Container__StyledContainer",
1466
1729
  componentId: "sc-17dbj6n-0"
1467
- })(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"])), spacing$8.layout['2xl'], spacing$8.layout['2xl'], 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']);
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']);
1468
1731
  var Container$1 = function Container(_a) {
1469
1732
  var children = _a.children,
1470
1733
  props = __rest(_a, ["children"]);
@@ -1474,22 +1737,30 @@ var Container$1 = function Container(_a) {
1474
1737
  };
1475
1738
  var templateObject_1$D;
1476
1739
 
1477
- var PictureWrapper = styled__default.default.div.withConfig({
1740
+ var PictureWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
1478
1741
  displayName: "Picture__PictureWrapper",
1479
1742
  componentId: "sc-11d9tei-0"
1480
- })(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"])), media$1.sm);
1481
- var ImageLink = styled__default.default.a.withConfig({
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"
1744
+ // A clickable image answers input on the image itself (decision 0029, #185): it fades on hover and
1745
+ // one step further while pressed, and draws the system focus ring around the image, following its
1746
+ // rounded corners. Fading isn't movement, so it stays under reduced motion.
1747
+ ])), media$1.sm);
1748
+ // A clickable image answers input on the image itself (decision 0029, #185): it fades on hover and
1749
+ // one step further while pressed, and draws the system focus ring around the image, following its
1750
+ // 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 = /*#__PURE__*/styled__default.default.a.withConfig({
1482
1753
  displayName: "Picture__ImageLink",
1483
1754
  componentId: "sc-11d9tei-1"
1484
- })(templateObject_2$r || (templateObject_2$r = __makeTemplateObject(["\n display: block;\n cursor: pointer;\n transition: opacity ", " ", ";\n \n &:hover {\n opacity: 0.8;\n }\n"], ["\n display: block;\n cursor: pointer;\n transition: opacity ", " ", ";\n \n &:hover {\n opacity: 0.8;\n }\n"])), data.tokensJson.semantic.motion.duration.normal, data.tokensJson.semantic.motion.easing.easeInOut);
1485
- var ImageButton = styled__default.default.button.withConfig({
1755
+ })(templateObject_3$q || (templateObject_3$q = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), clickableImage);
1756
+ var ImageButton = /*#__PURE__*/styled__default.default.button.withConfig({
1486
1757
  displayName: "Picture__ImageButton",
1487
1758
  componentId: "sc-11d9tei-2"
1488
- })(templateObject_3$p || (templateObject_3$p = __makeTemplateObject(["\n border: none;\n background: none;\n padding: 0;\n cursor: pointer;\n display: block;\n width: 100%;\n transition: opacity ", " ", ";\n \n &:hover {\n opacity: 0.8;\n }\n"], ["\n border: none;\n background: none;\n padding: 0;\n cursor: pointer;\n display: block;\n width: 100%;\n transition: opacity ", " ", ";\n \n &:hover {\n opacity: 0.8;\n }\n"])), data.tokensJson.semantic.motion.duration.normal, data.tokensJson.semantic.motion.easing.easeInOut);
1489
- var StyledImage = styled__default.default.img.withConfig({
1759
+ })(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 = /*#__PURE__*/styled__default.default.img.withConfig({
1490
1761
  displayName: "Picture__StyledImage",
1491
1762
  componentId: "sc-11d9tei-3"
1492
- })(templateObject_4$l || (templateObject_4$l = __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"])), data.tokensJson.semantic.border.radius.sm);
1763
+ })(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);
1493
1764
  var Picture = function Picture(_a) {
1494
1765
  var title = _a.title,
1495
1766
  src = _a.src,
@@ -1519,18 +1790,18 @@ var Picture = function Picture(_a) {
1519
1790
  }) : image
1520
1791
  });
1521
1792
  };
1522
- var templateObject_1$C, templateObject_2$r, templateObject_3$p, templateObject_4$l;
1793
+ var templateObject_1$C, templateObject_2$r, templateObject_3$q, templateObject_4$l, templateObject_5$h;
1523
1794
 
1524
- var _a$9 = data.tokensJson.semantic,
1525
- typography$1 = _a$9.typography,
1526
- color$7 = _a$9.color;
1527
- var TimeStyled = styled__default.default.time.withConfig({
1795
+ var _a$8 = tokens.semantic,
1796
+ typography$1 = _a$8.typography,
1797
+ color$6 = _a$8.color;
1798
+ var TimeStyled = /*#__PURE__*/styled__default.default.time.withConfig({
1528
1799
  displayName: "DateFormatter__TimeStyled",
1529
1800
  componentId: "sc-5464cc-0"
1530
1801
  })(templateObject_1$B || (templateObject_1$B = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n"], ["\n font: ", ";\n color: ", ";\n"
1531
1802
  /**
1532
1803
  * Formats a date with smart relative/absolute logic
1533
- */])), typography$1.label, color$7.text.subdued);
1804
+ */])), typography$1.label, color$6.text.muted);
1534
1805
  /**
1535
1806
  * Formats a date with smart relative/absolute logic
1536
1807
  */
@@ -1575,18 +1846,25 @@ var DateFormatter = function DateFormatter(_a) {
1575
1846
  };
1576
1847
  var templateObject_1$B;
1577
1848
 
1578
- var _a$8 = data.tokensJson.semantic,
1579
- motion$5 = _a$8.motion,
1580
- border$8 = _a$8.border,
1581
- spacing$7 = _a$8.spacing,
1582
- _b$1 = data.tokensJson.component,
1583
- iconButton = _b$1.iconButton,
1584
- button = _b$1.button;
1849
+ var _a$7 = tokens.semantic,
1850
+ motion$5 = _a$7.motion,
1851
+ border$3 = _a$7.border,
1852
+ space$b = _a$7.space,
1853
+ size$2 = _a$7.size,
1854
+ _b$2 = tokens.component,
1855
+ iconButton = _b$2.iconButton,
1856
+ button = _b$2.button;
1857
+ // Height and width come from size.control as a minimum (decision 0034)
1858
+ var control = {
1859
+ small: size$2.control.sm,
1860
+ medium: size$2.control.md,
1861
+ large: size$2.control.lg
1862
+ };
1585
1863
  // Padding comes from the semantic spacing scale: no component spacing tokens (decision 0022)
1586
1864
  var padding = {
1587
- small: spacing$7.component.xs,
1588
- medium: spacing$7.component.sm,
1589
- large: spacing$7.component.md
1865
+ small: space$b.inset.xs,
1866
+ medium: space$b.inset.sm,
1867
+ large: space$b.inset.md
1590
1868
  };
1591
1869
  // Colours and motion come from Button's tokens, so IconButton's variants look and behave exactly like
1592
1870
  // Button's in every state (#130). Only the size and the icon differ
@@ -1621,24 +1899,24 @@ var colours = function colours(variant) {
1621
1899
  var _a;
1622
1900
  return (_a = variants[variant]) !== null && _a !== void 0 ? _a : variants.primary;
1623
1901
  };
1624
- var IconButtonStyled = styled__default.default.button.withConfig({
1902
+ var IconButtonStyled = /*#__PURE__*/styled__default.default.button.withConfig({
1625
1903
  shouldForwardProp: function shouldForwardProp(prop) {
1626
1904
  return !prop.startsWith('$');
1627
1905
  },
1628
1906
  displayName: "IconButton__IconButtonStyled",
1629
1907
  componentId: "sc-k8b14t-0"
1630
- })(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 /* Size-specific dimensions from component tokens */\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 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 /* Size-specific dimensions from component tokens */\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"])), function (_a) {
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) {
1631
1909
  var $variant = _a.$variant;
1632
1910
  return colours($variant).bg;
1633
1911
  }, function (_a) {
1634
1912
  var $variant = _a.$variant;
1635
1913
  return colours($variant).text;
1636
- }, iconButton.primary.borderRadius, motion$5.hover, function (_a) {
1914
+ }, iconButton.primary.borderRadius, motion$5.transition.feedback, function (_a) {
1637
1915
  var $size = _a.$size;
1638
- return iconButton.sizes[$size].minWidth;
1916
+ return control[$size];
1639
1917
  }, function (_a) {
1640
1918
  var $size = _a.$size;
1641
- return iconButton.sizes[$size].minHeight;
1919
+ return control[$size];
1642
1920
  }, function (_a) {
1643
1921
  var $size = _a.$size;
1644
1922
  return padding[$size];
@@ -1648,13 +1926,13 @@ var IconButtonStyled = styled__default.default.button.withConfig({
1648
1926
  }, function (_a) {
1649
1927
  var $variant = _a.$variant;
1650
1928
  return colours($variant).activeBg;
1651
- }, iconButton.focus.outline, border$8.focusOffset, function (_a) {
1929
+ }, iconButton.focus.outline, border$3.focusOffset, function (_a) {
1652
1930
  var $variant = _a.$variant;
1653
1931
  return colours($variant).disabledBg;
1654
1932
  }, function (_a) {
1655
1933
  var $variant = _a.$variant;
1656
1934
  return colours($variant).disabledText;
1657
- });
1935
+ }, forcedColorsEdge);
1658
1936
  var IconButton = function IconButton(_a) {
1659
1937
  var variant = _a.variant,
1660
1938
  _b = _a.size,
@@ -1707,7 +1985,7 @@ var IconButton = function IconButton(_a) {
1707
1985
  };
1708
1986
  var templateObject_1$A;
1709
1987
 
1710
- var StyledWrapper = styled__default.default.span.withConfig({
1988
+ var StyledWrapper = /*#__PURE__*/styled__default.default.span.withConfig({
1711
1989
  shouldForwardProp: function shouldForwardProp(prop) {
1712
1990
  return !prop.startsWith('$');
1713
1991
  },
@@ -1720,7 +1998,7 @@ var StyledWrapper = styled__default.default.span.withConfig({
1720
1998
  return $align;
1721
1999
  }, function (_a) {
1722
2000
  var $weight = _a.$weight;
1723
- return data.tokensJson.semantic.fontWeight[$weight];
2001
+ return tokens.semantic.fontWeight[$weight];
1724
2002
  });
1725
2003
  // Map size to Typography variant
1726
2004
  var sizeToTypographyVariant = {
@@ -1823,45 +2101,44 @@ var MoneyDisplay = function MoneyDisplay(_a) {
1823
2101
  var templateObject_1$z;
1824
2102
 
1825
2103
  // Destructure tokens
1826
- var semantic$e = data.tokensJson.semantic;
1827
- var _a$7 = __assign(__assign({}, semantic$e), {
1828
- component: data.tokensJson.component
2104
+ var semantic$e = tokens.semantic;
2105
+ var _a$6 = __assign(__assign({}, semantic$e), {
2106
+ component: tokens.component
1829
2107
  }),
1830
- color$6 = _a$7.color,
1831
- border$7 = _a$7.border,
1832
- motion$4 = _a$7.motion,
1833
- component$2 = _a$7.component;
1834
- var radius$2 = border$7.radius;
1835
- var ProgressBarContainer = styled__default.default.div.withConfig({
2108
+ color$5 = _a$6.color,
2109
+ motion$4 = _a$6.motion,
2110
+ radius$2 = _a$6.radius,
2111
+ component$2 = _a$6.component;
2112
+ var ProgressBarContainer = /*#__PURE__*/styled__default.default.div.withConfig({
1836
2113
  shouldForwardProp: function shouldForwardProp(prop) {
1837
2114
  return !prop.startsWith('$');
1838
2115
  },
1839
2116
  displayName: "ProgressBar__ProgressBarContainer",
1840
2117
  componentId: "sc-1nco33q-0"
1841
- })(templateObject_3$o || (templateObject_3$o = __makeTemplateObject(["\n background-color: ", ";\n border-radius: ", ";\n overflow: hidden;\n\n ", "\n\n ", "\n"], ["\n background-color: ", ";\n border-radius: ", ";\n overflow: hidden;\n\n ", "\n\n ", "\n"])), color$6.background.progressTrack, radius$2.xs, function (props) {
2118
+ })(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) {
1842
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);
1843
2120
  }, function (props) {
1844
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);
1845
2122
  });
1846
- var ProgressBarFill = styled__default.default.div.withConfig({
2123
+ var ProgressBarFill = /*#__PURE__*/styled__default.default.div.withConfig({
1847
2124
  shouldForwardProp: function shouldForwardProp(prop) {
1848
2125
  return !prop.startsWith('$');
1849
2126
  },
1850
2127
  displayName: "ProgressBar__ProgressBarFill",
1851
2128
  componentId: "sc-1nco33q-1"
1852
- })(templateObject_7$a || (templateObject_7$a = __makeTemplateObject(["\n height: 100%;\n transition: ", ";\n\n ", " {\n transition: none;\n }\n\n ", "\n\n ", "\n\n ", "\n"], ["\n height: 100%;\n transition: ", ";\n\n ", " {\n transition: none;\n }\n\n ", "\n\n ", "\n\n ", "\n"])), motion$4.transition.normal, reducedMotion, function (props) {
2129
+ })(templateObject_7$a || (templateObject_7$a = __makeTemplateObject(["\n height: 100%;\n transition: width ", " ", ",\n height ", " ", ",\n background-color ", " ", ";\n\n ", " {\n transition: none;\n }\n\n /* The fill is the value, so it keeps a fill in forced colours, in the system selection colour (decision 0038) */\n ", " {\n forced-color-adjust: none;\n background-color: Highlight;\n }\n\n ", "\n\n ", "\n\n ", "\n"], ["\n height: 100%;\n transition: width ", " ", ",\n height ", " ", ",\n background-color ", " ", ";\n\n ", " {\n transition: none;\n }\n\n /* The fill is the value, so it keeps a fill in forced colours, in the system selection colour (decision 0038) */\n ", " {\n forced-color-adjust: none;\n background-color: Highlight;\n }\n\n ", "\n\n ", "\n\n ", "\n"])), motion$4.duration.moderate, motion$4.easing.standard, motion$4.duration.moderate, motion$4.easing.standard, motion$4.duration.moderate, motion$4.easing.standard, reducedMotion, forcedColors, function (props) {
1853
2130
  var backgroundColor;
1854
2131
  switch (props.$color) {
1855
2132
  case 'success':
1856
- backgroundColor = color$6.background.success;
2133
+ backgroundColor = color$5.fill.success;
1857
2134
  break;
1858
2135
  case 'error':
1859
- backgroundColor = color$6.background.error;
2136
+ backgroundColor = color$5.fill.danger;
1860
2137
  break;
1861
2138
  case 'default':
1862
2139
  default:
1863
2140
  // Near-black, like Slider's fill (decision 0029)
1864
- backgroundColor = color$6.background.emphasis;
2141
+ backgroundColor = color$5.fill.emphasis;
1865
2142
  break;
1866
2143
  }
1867
2144
  return styled.css(templateObject_4$k || (templateObject_4$k = __makeTemplateObject(["background-color: ", ";"], ["background-color: ", ";"])), backgroundColor);
@@ -1902,13 +2179,13 @@ var ProgressBar = function ProgressBar(_a) {
1902
2179
  })
1903
2180
  });
1904
2181
  };
1905
- var templateObject_1$y, templateObject_2$q, templateObject_3$o, templateObject_4$k, templateObject_5$g, templateObject_6$c, templateObject_7$a;
2182
+ var templateObject_1$y, templateObject_2$q, templateObject_3$p, templateObject_4$k, templateObject_5$g, templateObject_6$c, templateObject_7$a;
1906
2183
 
1907
2184
  // Destructure tokens for cleaner access
1908
- var separatorTokens = data.tokensJson.component.separator;
2185
+ var separatorTokens = tokens.component.separator;
1909
2186
  // Margins come from the semantic separator spacing: no component spacing tokens (decision 0022)
1910
- var separatorSpacing = data.tokensJson.semantic.spacing.separator;
1911
- var StyledDivider = styled__default.default.div.withConfig({
2187
+ var space$a = tokens.semantic.space;
2188
+ var StyledDivider = /*#__PURE__*/styled__default.default.div.withConfig({
1912
2189
  shouldForwardProp: function shouldForwardProp(prop) {
1913
2190
  return !prop.startsWith('$');
1914
2191
  },
@@ -1936,9 +2213,9 @@ var StyledDivider = styled__default.default.div.withConfig({
1936
2213
  var _b = _a.$orientation,
1937
2214
  $orientation = _b === void 0 ? 'horizontal' : _b;
1938
2215
  if ($orientation === 'vertical') {
1939
- return "\n display: inline-block;\n height: auto;\n align-self: stretch;\n border-left: ".concat(data.tokensJson.semantic.border.width.thin, " solid;\n border-top: none;\n ");
2216
+ return "\n display: inline-block;\n height: auto;\n align-self: stretch;\n border-left: ".concat(tokens.semantic.border.width.thin, " solid;\n border-top: none;\n ");
1940
2217
  }
1941
- return "border-top: ".concat(data.tokensJson.semantic.border.width.thin, " solid;");
2218
+ return "border-top: ".concat(tokens.semantic.border.width.thin, " solid;");
1942
2219
  }, function (_a) {
1943
2220
  var _b = _a.$variant,
1944
2221
  $variant = _b === void 0 ? 'default' : _b,
@@ -1963,33 +2240,33 @@ var StyledDivider = styled__default.default.div.withConfig({
1963
2240
  $orientation = _d === void 0 ? 'horizontal' : _d;
1964
2241
  if ($variant === 'minimal' && $orientation === 'horizontal') {
1965
2242
  // Minimal variant always uses its predefined spacing for horizontal
1966
- return "margin: ".concat(separatorSpacing.md, " 0;");
2243
+ return "margin: ".concat(space$a[600], " 0;");
1967
2244
  }
1968
2245
  if ($orientation === 'vertical') {
1969
2246
  // Vertical orientation uses horizontal margins (left/right)
1970
2247
  switch ($size) {
1971
2248
  case 'small':
1972
- return "margin: 0 ".concat(separatorSpacing.sm, ";");
2249
+ return "margin: 0 ".concat(space$a[400], ";");
1973
2250
  case 'medium':
1974
- return "margin: 0 ".concat(separatorSpacing.md, ";");
2251
+ return "margin: 0 ".concat(space$a[600], ";");
1975
2252
  case 'xlarge':
1976
- return "margin: 0 ".concat(separatorSpacing.xl, ";");
2253
+ return "margin: 0 ".concat(space$a[1200], ";");
1977
2254
  case 'large':
1978
2255
  default:
1979
- return "margin: 0 ".concat(separatorSpacing.lg, ";");
2256
+ return "margin: 0 ".concat(space$a[800], ";");
1980
2257
  }
1981
2258
  }
1982
2259
  // Horizontal orientation uses vertical margins (top/bottom)
1983
2260
  switch ($size) {
1984
2261
  case 'small':
1985
- return "margin: ".concat(separatorSpacing.sm, " 0;");
2262
+ return "margin: ".concat(space$a[400], " 0;");
1986
2263
  case 'medium':
1987
- return "margin: ".concat(separatorSpacing.md, " 0;");
2264
+ return "margin: ".concat(space$a[600], " 0;");
1988
2265
  case 'xlarge':
1989
- return "margin: ".concat(separatorSpacing.xl, " 0;");
2266
+ return "margin: ".concat(space$a[1200], " 0;");
1990
2267
  case 'large':
1991
2268
  default:
1992
- return "margin: ".concat(separatorSpacing.lg, " 0;");
2269
+ return "margin: ".concat(space$a[800], " 0;");
1993
2270
  }
1994
2271
  });
1995
2272
  /**
@@ -2029,24 +2306,39 @@ var Divider = function Divider(_a) {
2029
2306
  };
2030
2307
  var templateObject_1$x;
2031
2308
 
2032
- var StyledStack = styled__default.default.div.withConfig({
2309
+ var StyledStack = /*#__PURE__*/styled__default.default.div.withConfig({
2033
2310
  shouldForwardProp: function shouldForwardProp(prop) {
2034
2311
  return !prop.startsWith('$');
2035
2312
  },
2036
2313
  displayName: "Stack__StyledStack",
2037
2314
  componentId: "sc-1ehkxgy-0"
2038
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"
2039
- // Helper function to convert gap prop to CSS value
2316
+ // Each gap name maps to the space step that replaced its old spacing.layout token (decision 0031),
2317
+ // so every gap keeps its value
2040
2318
  ])));
2319
+ // Each gap name maps to the space step that replaced its old spacing.layout token (decision 0031),
2320
+ // so every gap keeps its value
2321
+ var GAP_SPACE = {
2322
+ none: '0',
2323
+ xs: '100',
2324
+ sm: '200',
2325
+ md: '300',
2326
+ lg: '400',
2327
+ xl: '500',
2328
+ '2xl': '600',
2329
+ '3xl': '700',
2330
+ '4xl': '800',
2331
+ '5xl': '900',
2332
+ '6xl': '1000'
2333
+ };
2041
2334
  // Helper function to convert gap prop to CSS value
2042
2335
  var getGapValue = function getGapValue(gap) {
2043
- // Get semantic layout spacing token
2044
- var semanticSpacing = data.tokensJson.semantic.spacing.layout;
2045
- if (gap in semanticSpacing) {
2046
- return semanticSpacing[gap];
2336
+ var step = GAP_SPACE[gap];
2337
+ if (step) {
2338
+ return tokens.semantic.space[step];
2047
2339
  }
2048
- // Fallback to medium layout spacing if token not found
2049
- return data.tokensJson.semantic.spacing.layout.md;
2340
+ // Fallback to medium spacing for an unknown gap (from untyped JavaScript)
2341
+ return tokens.semantic.space[300];
2050
2342
  };
2051
2343
  var Stack = function Stack(_a) {
2052
2344
  var children = _a.children,
@@ -2077,52 +2369,53 @@ var Stack = function Stack(_a) {
2077
2369
  var templateObject_1$w;
2078
2370
 
2079
2371
  // Destructure tokens for cleaner access
2080
- var statusColors = data.tokensJson.semantic.color.status;
2081
- var spacing$6 = data.tokensJson.semantic.spacing.layout;
2082
- var radius$1 = data.tokensJson.semantic.border.radius;
2083
- var _a$6 = data.tokensJson.semantic.motion,
2084
- transition = _a$6.transition,
2085
- duration$3 = _a$6.duration,
2086
- easing$3 = _a$6.easing;
2087
- var labelHeight = data.tokensJson.semantic.size.label;
2088
- var label$1 = data.tokensJson.component.badge.label;
2372
+ var statusColors = tokens.component.status;
2373
+ var _a$5 = tokens.semantic,
2374
+ space$9 = _a$5.space,
2375
+ radius$1 = _a$5.radius;
2376
+ var _b$1 = tokens.semantic.motion,
2377
+ transition = _b$1.transition,
2378
+ duration$3 = _b$1.duration,
2379
+ easing$3 = _b$1.easing;
2380
+ var labelHeight = tokens.semantic.size.label;
2381
+ var label$1 = tokens.component.badge.label;
2089
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"])));
2090
2383
  var getStatusConfig = function getStatusConfig(status) {
2091
2384
  var configs = {
2092
2385
  pending: {
2093
- color: statusColors.pending,
2094
- bgColor: statusColors['pending-bg'],
2386
+ color: statusColors.pending.text,
2387
+ bgColor: statusColors.pending.background,
2095
2388
  icon: 'refresh',
2096
2389
  // Fallback until 'clock' icon is added
2097
2390
  label: 'Pending'
2098
2391
  },
2099
2392
  completed: {
2100
- color: statusColors.completed,
2101
- bgColor: statusColors['completed-bg'],
2393
+ color: statusColors.completed.text,
2394
+ bgColor: statusColors.completed.background,
2102
2395
  icon: 'check',
2103
2396
  label: 'Completed'
2104
2397
  },
2105
2398
  failed: {
2106
- color: statusColors.failed,
2107
- bgColor: statusColors['failed-bg'],
2399
+ color: statusColors.failed.text,
2400
+ bgColor: statusColors.failed.background,
2108
2401
  icon: 'close',
2109
2402
  label: 'Failed'
2110
2403
  },
2111
2404
  cancelled: {
2112
- color: statusColors.cancelled,
2113
- bgColor: statusColors['cancelled-bg'],
2405
+ color: statusColors.cancelled.text,
2406
+ bgColor: statusColors.cancelled.background,
2114
2407
  icon: 'cancel',
2115
2408
  label: 'Cancelled'
2116
2409
  },
2117
2410
  processing: {
2118
- color: statusColors.processing,
2119
- bgColor: statusColors['processing-bg'],
2411
+ color: statusColors.processing.text,
2412
+ bgColor: statusColors.processing.background,
2120
2413
  icon: 'refresh',
2121
2414
  label: 'Processing'
2122
2415
  },
2123
2416
  scheduled: {
2124
- color: statusColors.scheduled,
2125
- bgColor: statusColors['scheduled-bg'],
2417
+ color: statusColors.scheduled.text,
2418
+ bgColor: statusColors.scheduled.background,
2126
2419
  icon: 'bell',
2127
2420
  // Fallback until 'calendar' icon is added
2128
2421
  label: 'Scheduled'
@@ -2134,26 +2427,26 @@ var getStatusConfig = function getStatusConfig(status) {
2134
2427
  var sizeConfig$1 = {
2135
2428
  small: {
2136
2429
  height: labelHeight.small,
2137
- padding: "".concat(spacing$6.xs, " ").concat(spacing$6.sm),
2430
+ padding: "".concat(space$9[100], " ").concat(space$9[200]),
2138
2431
  font: label$1.typography.small,
2139
- gap: spacing$6.xs,
2432
+ gap: space$9[100],
2140
2433
  iconSize: 'xs'
2141
2434
  },
2142
2435
  medium: {
2143
2436
  height: labelHeight.medium,
2144
- padding: "".concat(spacing$6.xs, " ").concat(spacing$6.sm),
2437
+ padding: "".concat(space$9[100], " ").concat(space$9[200]),
2145
2438
  font: label$1.typography.medium,
2146
- gap: spacing$6.xs,
2439
+ gap: space$9[100],
2147
2440
  iconSize: 'sm'
2148
2441
  }
2149
2442
  };
2150
- var StyledStatusLabel = styled__default.default.span.withConfig({
2443
+ var StyledStatusLabel = /*#__PURE__*/styled__default.default.span.withConfig({
2151
2444
  shouldForwardProp: function shouldForwardProp(prop) {
2152
2445
  return !prop.startsWith('$');
2153
2446
  },
2154
2447
  displayName: "StatusLabelBase__StyledStatusLabel",
2155
2448
  componentId: "sc-1ye9xz5-0"
2156
- })(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 /* transition.fast covers all properties, so a size change would animate the label's dimensions */\n ", " {\n animation: none;\n transition: none;\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 /* transition.fast covers all properties, so a size change would animate the label's dimensions */\n ", " {\n animation: none;\n transition: none;\n }\n \n /* Size styles */\n ", "\n \n /* Status color styles */\n ", "\n"])), radius$1.circle, scaleIn$1, duration$3.normal, easing$3.easeOut, transition.fast, reducedMotion, function (_a) {
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) {
2157
2450
  var $size = _a.$size;
2158
2451
  var size = sizeConfig$1[$size];
2159
2452
  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 ");
@@ -2162,16 +2455,16 @@ var StyledStatusLabel = styled__default.default.span.withConfig({
2162
2455
  var config = getStatusConfig($status);
2163
2456
  return "\n background-color: ".concat(config.bgColor, ";\n color: ").concat(config.color, ";\n ");
2164
2457
  });
2165
- var ScreenReaderOnly = styled__default.default.span.withConfig({
2458
+ var ScreenReaderOnly = /*#__PURE__*/styled__default.default.span.withConfig({
2166
2459
  displayName: "StatusLabelBase__ScreenReaderOnly",
2167
2460
  componentId: "sc-1ye9xz5-1"
2168
- })(templateObject_3$n || (templateObject_3$n = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"
2461
+ })(templateObject_3$o || (templateObject_3$o = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"
2169
2462
  // The visible content, hidden from assistive technology when an aria-label replaces it.
2170
2463
  // display: contents keeps the root's flex layout and gap.
2171
2464
  ])), visuallyHidden);
2172
2465
  // The visible content, hidden from assistive technology when an aria-label replaces it.
2173
2466
  // display: contents keeps the root's flex layout and gap.
2174
- var VisibleContent = styled__default.default.span.withConfig({
2467
+ var VisibleContent = /*#__PURE__*/styled__default.default.span.withConfig({
2175
2468
  displayName: "StatusLabelBase__VisibleContent",
2176
2469
  componentId: "sc-1ye9xz5-2"
2177
2470
  })(templateObject_4$j || (templateObject_4$j = __makeTemplateObject(["\n display: contents;\n"], ["\n display: contents;\n"
@@ -2223,7 +2516,7 @@ var StatusLabelBase = function StatusLabelBase(_a) {
2223
2516
  })]
2224
2517
  });
2225
2518
  };
2226
- var templateObject_1$v, templateObject_2$p, templateObject_3$n, templateObject_4$j;
2519
+ var templateObject_1$v, templateObject_2$p, templateObject_3$o, templateObject_4$j;
2227
2520
 
2228
2521
  /**
2229
2522
  * StatusBadge displays a transaction or task status.
@@ -2257,15 +2550,13 @@ var StatusLabel = function StatusLabel(props) {
2257
2550
  };
2258
2551
  StatusLabel.displayName = 'StatusLabel';
2259
2552
 
2260
- var semantic$d = data.tokensJson.semantic;
2261
- var color$5 = semantic$d.color,
2262
- spacing$5 = semantic$d.spacing,
2263
- border$6 = semantic$d.border,
2553
+ var semantic$d = tokens.semantic;
2554
+ var color$4 = semantic$d.color,
2264
2555
  size$1 = semantic$d.size;
2265
- var label = data.tokensJson.component.badge.label;
2266
- var layout$3 = spacing$5.layout;
2267
- var radius = border$6.radius;
2268
- var StyledTag = styled__default.default.span.withConfig({
2556
+ var label = tokens.component.badge.label;
2557
+ var space$8 = semantic$d.space;
2558
+ var radius = semantic$d.radius;
2559
+ var StyledTag = /*#__PURE__*/styled__default.default.span.withConfig({
2269
2560
  shouldForwardProp: function shouldForwardProp(prop) {
2270
2561
  return !prop.startsWith('$');
2271
2562
  },
@@ -2282,38 +2573,38 @@ var StyledTag = styled__default.default.span.withConfig({
2282
2573
  return size$1.label[$size];
2283
2574
  }, function (_a) {
2284
2575
  var $size = _a.$size;
2285
- return $size === 'small' ? "0 ".concat(layout$3.sm) : "".concat(layout$3.xs, " ").concat(layout$3.sm);
2576
+ return $size === 'small' ? "0 ".concat(space$8[200]) : "".concat(space$8[100], " ").concat(space$8[200]);
2286
2577
  }, label.typography.small, label.fontWeight, function (_a) {
2287
2578
  var $variant = _a.$variant;
2288
2579
  switch ($variant) {
2289
2580
  case 'interactive':
2290
- return color$5.background['interactive-subtle'];
2581
+ return color$4.fill['accent-muted'];
2291
2582
  case 'success':
2292
- return color$5.background['success-subtle'];
2583
+ return color$4.fill['success-muted'];
2293
2584
  case 'warning':
2294
- return color$5.background['warning-subtle'];
2585
+ return color$4.fill['warning-muted'];
2295
2586
  case 'error':
2296
- return color$5.background['error-subtle'];
2587
+ return color$4.fill['danger-muted'];
2297
2588
  case 'emphasis':
2298
- return color$5.background.emphasis;
2589
+ return color$4.fill.emphasis;
2299
2590
  default:
2300
- return color$5.background.surface;
2591
+ return color$4.fill.muted;
2301
2592
  }
2302
2593
  }, function (_a) {
2303
2594
  var $variant = _a.$variant;
2304
2595
  switch ($variant) {
2305
2596
  case 'interactive':
2306
- return color$5.text.interactive;
2597
+ return color$4.text.accent;
2307
2598
  case 'success':
2308
- return color$5.text.success;
2599
+ return color$4.text.success;
2309
2600
  case 'warning':
2310
- return color$5.text.warning;
2601
+ return color$4.text.warning;
2311
2602
  case 'error':
2312
- return color$5.text.error;
2603
+ return color$4.text.danger;
2313
2604
  case 'emphasis':
2314
- return color$5.text.inverse;
2605
+ return color$4.text.inverse;
2315
2606
  default:
2316
- return color$5.text["default"];
2607
+ return color$4.text["default"];
2317
2608
  }
2318
2609
  }, function (_a) {
2319
2610
  var $variant = _a.$variant,
@@ -2321,17 +2612,17 @@ var StyledTag = styled__default.default.span.withConfig({
2321
2612
  if (!$border) return 'none';
2322
2613
  switch ($variant) {
2323
2614
  case 'interactive':
2324
- return "".concat(semantic$d.border.width.thin, " solid ").concat(color$5.border.interactive);
2615
+ return "".concat(semantic$d.border.width.thin, " solid ").concat(color$4.border.accent);
2325
2616
  case 'success':
2326
- return "".concat(semantic$d.border.width.thin, " solid ").concat(color$5.border.success);
2617
+ return "".concat(semantic$d.border.width.thin, " solid ").concat(color$4.border.success);
2327
2618
  case 'warning':
2328
- return "".concat(semantic$d.border.width.thin, " solid ").concat(color$5.border.warning);
2619
+ return "".concat(semantic$d.border.width.thin, " solid ").concat(color$4.border.warning);
2329
2620
  case 'error':
2330
- return "".concat(semantic$d.border.width.thin, " solid ").concat(color$5.border.error);
2621
+ return "".concat(semantic$d.border.width.thin, " solid ").concat(color$4.border.danger);
2331
2622
  case 'emphasis':
2332
- return "".concat(semantic$d.border.width.thin, " solid ").concat(color$5.background.emphasis);
2623
+ return "".concat(semantic$d.border.width.thin, " solid ").concat(color$4.fill.emphasis);
2333
2624
  default:
2334
- return "".concat(semantic$d.border.width.thin, " solid ").concat(color$5.border["default"]);
2625
+ return "".concat(semantic$d.border.width.thin, " solid ").concat(color$4.border["default"]);
2335
2626
  }
2336
2627
  });
2337
2628
  /**
@@ -2366,31 +2657,30 @@ var Tag = function Tag(_a) {
2366
2657
  var templateObject_1$u;
2367
2658
 
2368
2659
  // Destructure tokens for cleaner access
2369
- var semantic$c = data.tokensJson.semantic;
2370
- var spacing$4 = semantic$c.spacing;
2371
- var layout$2 = spacing$4.layout;
2372
- var StyledBalanceSection = styled__default.default.div.withConfig({
2660
+ var semantic$c = tokens.semantic;
2661
+ var space$7 = semantic$c.space;
2662
+ var StyledBalanceSection = /*#__PURE__*/styled__default.default.div.withConfig({
2373
2663
  displayName: "AccountCard__StyledBalanceSection",
2374
2664
  componentId: "sc-1erp7zn-0"
2375
- })(templateObject_1$t || (templateObject_1$t = __makeTemplateObject(["\n margin-bottom: ", ";\n"], ["\n margin-bottom: ", ";\n"])), layout$2.lg);
2376
- var StyledTrendSection = styled__default.default.div.withConfig({
2665
+ })(templateObject_1$t || (templateObject_1$t = __makeTemplateObject(["\n margin-bottom: ", ";\n"], ["\n margin-bottom: ", ";\n"])), space$7[400]);
2666
+ var StyledTrendSection = /*#__PURE__*/styled__default.default.div.withConfig({
2377
2667
  displayName: "AccountCard__StyledTrendSection",
2378
2668
  componentId: "sc-1erp7zn-1"
2379
- })(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"])), layout$2.xs);
2380
- styled__default.default.div.withConfig({
2669
+ })(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
+ /*#__PURE__*/styled__default.default.div.withConfig({
2381
2671
  displayName: "AccountCard__StyledActions",
2382
2672
  componentId: "sc-1erp7zn-2"
2383
- })(templateObject_3$m || (templateObject_3$m = __makeTemplateObject(["\n display: flex;\n gap: ", ";\n margin-top: auto;\n"], ["\n display: flex;\n gap: ", ";\n margin-top: auto;\n"])), layout$2.sm);
2384
- var StyledStackWrapper = styled__default.default.div.withConfig({
2673
+ })(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 = /*#__PURE__*/styled__default.default.div.withConfig({
2385
2675
  displayName: "AccountCard__StyledStackWrapper",
2386
2676
  componentId: "sc-1erp7zn-3"
2387
2677
  })(templateObject_4$i || (templateObject_4$i = __makeTemplateObject(["\n height: 100%;\n"], ["\n height: 100%;\n"])));
2388
- var StyledHeaderWrapper = styled__default.default.div.withConfig({
2678
+ var StyledHeaderWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
2389
2679
  displayName: "AccountCard__StyledHeaderWrapper",
2390
2680
  componentId: "sc-1erp7zn-4"
2391
- })(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: -", ";\n }\n"], ["\n min-height: ", ";\n display: flex;\n flex-direction: column;\n justify-content: center;\n gap: ", ";\n\n & > span {\n margin-top: -", ";\n }\n"
2681
+ })(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"
2392
2682
  // Map trend direction to icon and color
2393
- ])), data.tokensJson.component.accountCard.header.minHeight, layout$2.none, layout$2.xs);
2683
+ ])), tokens.component.accountCard.header.minHeight, space$7[0], space$7[100]);
2394
2684
  // Map trend direction to icon and color
2395
2685
  var trendToIcon = {
2396
2686
  up: 'arrowUp',
@@ -2439,12 +2729,12 @@ var AccountCard = function AccountCard(_a) {
2439
2729
  }
2440
2730
  };
2441
2731
  return jsxRuntime.jsx(Box, {
2442
- minWidth: data.tokensJson.component.accountCard.minWidth,
2732
+ minWidth: tokens.component.accountCard.minWidth,
2443
2733
  p: "lg",
2444
2734
  bg: "subtle",
2445
2735
  border: "default",
2446
2736
  borderRadius: "xl",
2447
- transition: "box-shadow ".concat(semantic$c.motion.duration.normal, " ").concat(semantic$c.motion.easing.easeOut),
2737
+ transition: "box-shadow ".concat(semantic$c.motion.duration.moderate, " ").concat(semantic$c.motion.easing.decelerate),
2448
2738
  cursor: isClickable ? 'pointer' : 'default',
2449
2739
  hoverShadow: isClickable ? 'floating' : undefined,
2450
2740
  onClick: handleClick,
@@ -2539,7 +2829,7 @@ var AccountCard = function AccountCard(_a) {
2539
2829
  })
2540
2830
  });
2541
2831
  };
2542
- var templateObject_1$t, templateObject_2$o, templateObject_3$m, templateObject_4$i, templateObject_5$f;
2832
+ var templateObject_1$t, templateObject_2$o, templateObject_3$n, templateObject_4$i, templateObject_5$f;
2543
2833
 
2544
2834
  /**
2545
2835
  * The spacing a List gives its items (#77). A ListItem without its own `spacing` uses it; outside
@@ -2547,11 +2837,11 @@ var templateObject_1$t, templateObject_2$o, templateObject_3$m, templateObject_4
2547
2837
  */
2548
2838
  var ListSpacingContext = /*#__PURE__*/React.createContext('comfortable');
2549
2839
 
2550
- var semantic$b = data.tokensJson.semantic;
2551
- var _a$5 = semantic$b.motion,
2552
- duration$2 = _a$5.duration,
2553
- easing$2 = _a$5.easing;
2554
- var StyledListItem = styled__default.default.li.withConfig({
2840
+ var semantic$b = tokens.semantic;
2841
+ var _a$4 = semantic$b.motion,
2842
+ duration$2 = _a$4.duration,
2843
+ easing$2 = _a$4.easing;
2844
+ var StyledListItem = /*#__PURE__*/styled__default.default.li.withConfig({
2555
2845
  shouldForwardProp: function shouldForwardProp(prop) {
2556
2846
  return !prop.startsWith('$');
2557
2847
  },
@@ -2566,21 +2856,18 @@ var StyledListItem = styled__default.default.li.withConfig({
2566
2856
  }, function (_a) {
2567
2857
  var $destructive = _a.$destructive,
2568
2858
  $disabled = _a.$disabled;
2569
- return $destructive && !$disabled && "\n color: ".concat(semantic$b.color.text.error, ";\n ");
2859
+ return $destructive && !$disabled && "\n color: ".concat(semantic$b.color.text.danger, ";\n ");
2570
2860
  });
2571
- var StyledItemContent = styled__default.default.div.withConfig({
2861
+ var StyledItemContent = /*#__PURE__*/styled__default.default.div.withConfig({
2572
2862
  shouldForwardProp: function shouldForwardProp(prop) {
2573
2863
  return !prop.startsWith('$');
2574
2864
  },
2575
2865
  displayName: "ListItem__StyledItemContent",
2576
2866
  componentId: "sc-1wzzt21-1"
2577
- })(templateObject_2$n || (templateObject_2$n = __makeTemplateObject(["\n display: flex;\n align-items: flex-start;\n gap: ", ";\n padding: ", ";\n border-radius: ", ";\n background-color: ", ";\n transition: background-color ", " ", ";\n cursor: ", ";\n \n /* Interactive hover states */\n ", "\n \n /* Focus visible */\n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n }\n"], ["\n display: flex;\n align-items: flex-start;\n gap: ", ";\n padding: ", ";\n border-radius: ", ";\n background-color: ", ";\n transition: background-color ", " ", ";\n cursor: ", ";\n \n /* Interactive hover states */\n ", "\n \n /* Focus visible */\n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n }\n"])), semantic$b.spacing.layout.md, function (_a) {
2867
+ })(templateObject_2$n || (templateObject_2$n = __makeTemplateObject(["\n display: flex;\n align-items: flex-start;\n gap: ", ";\n padding: ", ";\n border-radius: ", ";\n transition: background-color ", " ", ", color ", " ", ";\n cursor: ", ";\n \n /* The shared row states (decision 0030). Only interactive, enabled rows respond to hover and\n press; the primary text is Typography, so the row colours it through a selector */\n ", "\n \n /* Focus visible */\n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n }\n"], ["\n display: flex;\n align-items: flex-start;\n gap: ", ";\n padding: ", ";\n border-radius: ", ";\n transition: background-color ", " ", ", color ", " ", ";\n cursor: ", ";\n \n /* The shared row states (decision 0030). Only interactive, enabled rows respond to hover and\n press; the primary text is Typography, so the row colours it through a selector */\n ", "\n \n /* Focus visible */\n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n }\n"])), semantic$b.space[300], function (_a) {
2578
2868
  var $spacing = _a.$spacing;
2579
- return $spacing === 'compact' ? "".concat(semantic$b.spacing.layout.sm, " ").concat(semantic$b.spacing.layout.md) : "".concat(semantic$b.spacing.layout.md, " ").concat(semantic$b.spacing.layout.lg);
2580
- }, semantic$b.border.radius.sm, function (_a) {
2581
- var $selected = _a.$selected;
2582
- return $selected ? semantic$b.color.background['interactive-subtle'] : 'transparent';
2583
- }, duration$2.fast, easing$2.easeOut, function (_a) {
2869
+ return $spacing === 'compact' ? "".concat(semantic$b.space[200], " ").concat(semantic$b.space[300]) : "".concat(semantic$b.space[300], " ").concat(semantic$b.space[400]);
2870
+ }, semantic$b.radius.sm, duration$2.fast, easing$2.decelerate, duration$2.fast, easing$2.decelerate, function (_a) {
2584
2871
  var $interactive = _a.$interactive,
2585
2872
  $disabled = _a.$disabled;
2586
2873
  if ($disabled) return 'not-allowed';
@@ -2590,37 +2877,41 @@ var StyledItemContent = styled__default.default.div.withConfig({
2590
2877
  var $interactive = _a.$interactive,
2591
2878
  $disabled = _a.$disabled,
2592
2879
  $selected = _a.$selected;
2593
- return !$disabled && $interactive && "\n &:hover {\n background-color: ".concat($selected ? data.tokensJson.component.button.variants.secondary.backgroundColor : data.tokensJson.component.button.variants.secondary.backgroundColor, ";\n }\n \n &:active {\n background-color: ").concat(data.tokensJson.component.button.variants.naked.backgroundColor, ";\n }\n ");
2880
+ return interactiveRow({
2881
+ selected: $selected,
2882
+ disabled: $disabled || !$interactive,
2883
+ textSelector: "".concat(StyledTextContent, " > :first-child")
2884
+ });
2594
2885
  }, semantic$b.border.focus, semantic$b.border.focusOffset);
2595
- var StyledIconContainer$1 = styled__default.default.div.withConfig({
2886
+ var StyledIconContainer$1 = /*#__PURE__*/styled__default.default.div.withConfig({
2596
2887
  displayName: "ListItem__StyledIconContainer",
2597
2888
  componentId: "sc-1wzzt21-2"
2598
- })(templateObject_3$l || (templateObject_3$l = __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);
2599
- var StyledTextContent = styled__default.default.div.withConfig({
2889
+ })(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 = /*#__PURE__*/styled__default.default.div.withConfig({
2600
2891
  displayName: "ListItem__StyledTextContent",
2601
2892
  componentId: "sc-1wzzt21-3"
2602
- })(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.spacing.layout.xs);
2603
- var StyledRightContent = styled__default.default.div.withConfig({
2893
+ })(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 = /*#__PURE__*/styled__default.default.div.withConfig({
2604
2895
  displayName: "ListItem__StyledRightContent",
2605
2896
  componentId: "sc-1wzzt21-4"
2606
- })(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.spacing.layout.sm);
2607
- var StyledChevronIcon = styled__default.default.div.withConfig({
2897
+ })(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 = /*#__PURE__*/styled__default.default.div.withConfig({
2608
2899
  shouldForwardProp: function shouldForwardProp(prop) {
2609
2900
  return !prop.startsWith('$');
2610
2901
  },
2611
2902
  displayName: "ListItem__StyledChevronIcon",
2612
2903
  componentId: "sc-1wzzt21-5"
2613
- })(templateObject_6$b || (templateObject_6$b = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n height: ", ";\n color: ", ";\n transition: transform ", " ", ";\n transform: rotate(", ");\n pointer-events: none;\n\n ", " {\n transition: none;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n height: ", ";\n color: ", ";\n transition: transform ", " ", ";\n transform: rotate(", ");\n pointer-events: none;\n\n ", " {\n transition: none;\n }\n"])), semantic$b.size.icon.lg, semantic$b.size.icon.lg, semantic$b.color.icon.subdued, duration$2.fast, easing$2.easeOut, function (_a) {
2904
+ })(templateObject_6$b || (templateObject_6$b = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n height: ", ";\n color: ", ";\n transition: transform ", " ", ";\n transform: rotate(", ");\n pointer-events: none;\n\n ", " {\n transition: none;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n height: ", ";\n color: ", ";\n transition: transform ", " ", ";\n transform: rotate(", ");\n pointer-events: none;\n\n ", " {\n transition: none;\n }\n"])), semantic$b.size.icon.lg, semantic$b.size.icon.lg, semantic$b.color.icon.muted, duration$2.fast, easing$2.decelerate, function (_a) {
2614
2905
  var $expanded = _a.$expanded;
2615
2906
  return $expanded ? '180deg' : '0deg';
2616
2907
  }, reducedMotion);
2617
- var StyledExpandedContent = styled__default.default.div.withConfig({
2908
+ var StyledExpandedContent = /*#__PURE__*/styled__default.default.div.withConfig({
2618
2909
  shouldForwardProp: function shouldForwardProp(prop) {
2619
2910
  return !prop.startsWith('$');
2620
2911
  },
2621
2912
  displayName: "ListItem__StyledExpandedContent",
2622
2913
  componentId: "sc-1wzzt21-6"
2623
- })(templateObject_7$9 || (templateObject_7$9 = __makeTemplateObject(["\n overflow: hidden;\n /* Padding collapses with the height, and visibility hides the content from\n keyboard and screen readers once the collapse finishes. */\n transition: max-height ", " ", ",\n padding ", " ", ",\n opacity ", " ", ",\n visibility ", " ", ";\n max-height: ", ";\n opacity: ", ";\n visibility: ", ";\n\n ", " {\n transition: opacity ", " ", ",\n visibility ", " ", ";\n }\n \n ", "\n"], ["\n overflow: hidden;\n /* Padding collapses with the height, and visibility hides the content from\n keyboard and screen readers once the collapse finishes. */\n transition: max-height ", " ", ",\n padding ", " ", ",\n opacity ", " ", ",\n visibility ", " ", ";\n max-height: ", ";\n opacity: ", ";\n visibility: ", ";\n\n ", " {\n transition: opacity ", " ", ",\n visibility ", " ", ";\n }\n \n ", "\n"])), duration$2.normal, easing$2.easeOut, duration$2.normal, easing$2.easeOut, duration$2.normal, easing$2.easeOut, duration$2.normal, easing$2.easeOut, function (_a) {
2914
+ })(templateObject_7$9 || (templateObject_7$9 = __makeTemplateObject(["\n overflow: hidden;\n /* Padding collapses with the height, and visibility hides the content from\n keyboard and screen readers once the collapse finishes. */\n transition: max-height ", " ", ",\n padding ", " ", ",\n opacity ", " ", ",\n visibility ", " ", ";\n max-height: ", ";\n opacity: ", ";\n visibility: ", ";\n\n ", " {\n transition: opacity ", " ", ",\n visibility ", " ", ";\n }\n \n ", "\n"], ["\n overflow: hidden;\n /* Padding collapses with the height, and visibility hides the content from\n keyboard and screen readers once the collapse finishes. */\n transition: max-height ", " ", ",\n padding ", " ", ",\n opacity ", " ", ",\n visibility ", " ", ";\n max-height: ", ";\n opacity: ", ";\n visibility: ", ";\n\n ", " {\n transition: opacity ", " ", ",\n visibility ", " ", ";\n }\n \n ", "\n"])), duration$2.moderate, easing$2.decelerate, duration$2.moderate, easing$2.decelerate, duration$2.moderate, easing$2.decelerate, duration$2.moderate, easing$2.decelerate, function (_a) {
2624
2915
  var $expanded = _a.$expanded;
2625
2916
  return $expanded ? '1000px' : '0';
2626
2917
  }, function (_a) {
@@ -2629,10 +2920,10 @@ var StyledExpandedContent = styled__default.default.div.withConfig({
2629
2920
  }, function (_a) {
2630
2921
  var $expanded = _a.$expanded;
2631
2922
  return $expanded ? 'visible' : 'hidden';
2632
- }, reducedMotion, duration$2.normal, easing$2.easeOut, duration$2.normal, easing$2.easeOut, function (_a) {
2923
+ }, reducedMotion, duration$2.moderate, easing$2.decelerate, duration$2.moderate, easing$2.decelerate, function (_a) {
2633
2924
  var $expanded = _a.$expanded,
2634
2925
  $spacing = _a.$spacing;
2635
- return $expanded && "\n padding: ".concat($spacing === 'compact' ? "".concat(semantic$b.spacing.layout.sm, " ").concat(semantic$b.spacing.layout.md, " ").concat(semantic$b.spacing.layout.sm, " ").concat(data.tokensJson.component.listItem.expandedIndent.compact) : "".concat(semantic$b.spacing.layout.sm, " ").concat(semantic$b.spacing.layout.lg, " ").concat(semantic$b.spacing.layout.md, " ").concat(data.tokensJson.component.listItem.expandedIndent.comfortable), ";\n background-color: ").concat(semantic$b.color.background['subtle'], ";\n border-radius: ").concat(semantic$b.border.radius.sm, ";\n margin: 0 ").concat($spacing === 'compact' ? semantic$b.spacing.layout.md : semantic$b.spacing.layout.lg, " ").concat($spacing === 'compact' ? semantic$b.spacing.layout.sm : semantic$b.spacing.layout.md, ";\n ");
2926
+ return $expanded && "\n padding: ".concat($spacing === 'compact' ? "".concat(semantic$b.space[200], " ").concat(semantic$b.space[300], " ").concat(semantic$b.space[200], " ").concat(tokens.component.listItem.expandedIndent.compact) : "".concat(semantic$b.space[200], " ").concat(semantic$b.space[400], " ").concat(semantic$b.space[300], " ").concat(tokens.component.listItem.expandedIndent.comfortable), ";\n background-color: ").concat(semantic$b.surface.raised, ";\n border-radius: ").concat(semantic$b.radius.sm, ";\n margin: 0 ").concat($spacing === 'compact' ? semantic$b.space[300] : semantic$b.space[400], " ").concat($spacing === 'compact' ? semantic$b.space[200] : semantic$b.space[300], ";\n ");
2636
2927
  });
2637
2928
  var ListItem = function ListItem(_a) {
2638
2929
  var primary = _a.primary,
@@ -2754,9 +3045,10 @@ var ListItem = function ListItem(_a) {
2754
3045
  );
2755
3046
  };
2756
3047
  ListItem.displayName = 'ListItem';
2757
- var templateObject_1$s, templateObject_2$n, templateObject_3$l, templateObject_4$h, templateObject_5$e, templateObject_6$b, templateObject_7$9;
3048
+ var templateObject_1$s, templateObject_2$n, templateObject_3$m, templateObject_4$h, templateObject_5$e, templateObject_6$b, templateObject_7$9;
2758
3049
 
2759
- // How long an exiting element stays mounted: the duration of `exitAnimation` in styleUtils.
3050
+ // How long an exiting element stays mounted: the duration of `exitAnimation` in styleUtils. A timer
3051
+ // needs the resolved value, not the CSS variable (decision 0041).
2760
3052
  var EXIT_DURATION_MS = parseInt(data.tokensJson.semantic.motion.duration.fast, 10);
2761
3053
  /**
2762
3054
  * Keeps an element mounted for `exitMs` after `isOpen` turns false, so its exit
@@ -2799,44 +3091,44 @@ function useInert(ref, isInert) {
2799
3091
  }, [ref, isInert]);
2800
3092
  }
2801
3093
 
2802
- var _a$4 = data.tokensJson.semantic,
2803
- color$4 = _a$4.color,
2804
- border$5 = _a$4.border,
2805
- layout$1 = _a$4.spacing.layout,
2806
- motion$3 = _a$4.motion,
2807
- elevation$2 = _a$4.elevation;
3094
+ var _a$3 = tokens.semantic,
3095
+ color$3 = _a$3.color,
3096
+ border$2 = _a$3.border,
3097
+ space$6 = _a$3.space,
3098
+ motion$3 = _a$3.motion,
3099
+ elevation$2 = _a$3.elevation;
2808
3100
  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"])));
2809
3101
  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"])));
2810
- var StyledOverlay$2 = styled__default.default.div.withConfig({
3102
+ var StyledOverlay$2 = /*#__PURE__*/styled__default.default.div.withConfig({
2811
3103
  displayName: "ActionSheet__StyledOverlay",
2812
3104
  componentId: "sc-regbol-0"
2813
- })(templateObject_3$k || (templateObject_3$k = __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"])), color$4.background.overlay, data.tokensJson.semantic.zIndex.modal, fadeIn$2, motion$3.duration.normal, motion$3.easing.easeOut, function (_a) {
3105
+ })(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) {
2814
3106
  var $isExiting = _a.$isExiting;
2815
3107
  return $isExiting && exitAnimation;
2816
3108
  });
2817
- var StyledActionSheet = styled__default.default.div.withConfig({
3109
+ var StyledActionSheet = /*#__PURE__*/styled__default.default.div.withConfig({
2818
3110
  displayName: "ActionSheet__StyledActionSheet",
2819
3111
  componentId: "sc-regbol-1"
2820
- })(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"])), color$4.background.subtle, border$5.radius.lg, border$5.radius.lg, elevation$2.overlay, data.tokensJson.semantic.zIndex.modal, slideUp, motion$3.duration.slow, motion$3.easing.easeOut, function (_a) {
3112
+ })(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) {
2821
3113
  var $isExiting = _a.$isExiting;
2822
3114
  return $isExiting && exitAnimation;
2823
- }, reducedMotion, fadeIn$2, motion$3.duration.slow, motion$3.easing.easeOut, function (_a) {
3115
+ }, reducedMotion, fadeIn$2, motion$3.duration.slow, motion$3.easing.decelerate, function (_a) {
2824
3116
  var $isExiting = _a.$isExiting;
2825
3117
  return $isExiting && exitAnimation;
2826
3118
  });
2827
- var StyledHeader$2 = styled__default.default.div.withConfig({
3119
+ var StyledHeader$2 = /*#__PURE__*/styled__default.default.div.withConfig({
2828
3120
  displayName: "ActionSheet__StyledHeader",
2829
3121
  componentId: "sc-regbol-2"
2830
- })(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"])), layout$1.lg, layout$1.lg, layout$1.md, border$5["default"]);
2831
- var StyledHeaderContent = styled__default.default.div.withConfig({
3122
+ })(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 = /*#__PURE__*/styled__default.default.div.withConfig({
2832
3124
  displayName: "ActionSheet__StyledHeaderContent",
2833
3125
  componentId: "sc-regbol-3"
2834
3126
  })(templateObject_6$a || (templateObject_6$a = __makeTemplateObject(["\n flex: 1;\n"], ["\n flex: 1;\n"])));
2835
- var StyledCloseButton = styled__default.default.button.withConfig({
3127
+ var StyledCloseButton = /*#__PURE__*/styled__default.default.button.withConfig({
2836
3128
  displayName: "ActionSheet__StyledCloseButton",
2837
3129
  componentId: "sc-regbol-4"
2838
- })(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"])), layout$1.sm, color$4.icon.subdued, border$5.radius.sm, motion$3.hover, layout$1.sm, color$4.icon["default"], color$4.background.surface, border$5.focus, border$5.focusOffset);
2839
- var StyledActionsList = styled__default.default.ul.withConfig({
3130
+ })(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 = /*#__PURE__*/styled__default.default.ul.withConfig({
2840
3132
  displayName: "ActionSheet__StyledActionsList",
2841
3133
  componentId: "sc-regbol-5"
2842
3134
  })(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"
@@ -2872,7 +3164,7 @@ var StyledActionsList = styled__default.default.ul.withConfig({
2872
3164
  * ]}
2873
3165
  * />
2874
3166
  * ```
2875
- */])), layout$1.sm, layout$1.md);
3167
+ */])), space$6[200], space$6[300]);
2876
3168
  /**
2877
3169
  * ActionSheet component for bottom sheet modals
2878
3170
  *
@@ -3062,7 +3354,7 @@ var ActionSheet = function ActionSheet(_a) {
3062
3354
  })]
3063
3355
  }), document.body);
3064
3356
  };
3065
- var templateObject_1$r, templateObject_2$m, templateObject_3$k, templateObject_4$g, templateObject_5$d, templateObject_6$a, templateObject_7$8, templateObject_8$7;
3357
+ var templateObject_1$r, templateObject_2$m, templateObject_3$l, templateObject_4$g, templateObject_5$d, templateObject_6$a, templateObject_7$8, templateObject_8$7;
3066
3358
 
3067
3359
  function detectSpeechRecognitionConstructor(targetWindow) {
3068
3360
  if (!targetWindow) return null;
@@ -3162,41 +3454,41 @@ function agentInputStateTransition(currentState, event) {
3162
3454
  }
3163
3455
  }
3164
3456
 
3165
- var semantic$a = data.tokensJson.semantic,
3166
- component$1 = data.tokensJson.component;
3457
+ var semantic$a = tokens.semantic,
3458
+ component$1 = tokens.component;
3167
3459
  var DEFAULT_IDLE_HELPER = 'Ask about transactions, spending, or transfers';
3168
3460
  var DEFAULT_LISTENING_MESSAGE = 'Listening… speak now';
3169
3461
  var DEFAULT_PROCESSING_MESSAGE = 'Finishing voice input…';
3170
3462
  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"])));
3171
- var Container = styled__default.default.div.withConfig({
3463
+ var Container = /*#__PURE__*/styled__default.default.div.withConfig({
3172
3464
  displayName: "AgentInput__Container",
3173
3465
  componentId: "sc-fhl996-0"
3174
- })(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.spacing.layout.sm);
3175
- var ControlsRow = styled__default.default.div.withConfig({
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 = /*#__PURE__*/styled__default.default.div.withConfig({
3176
3468
  displayName: "AgentInput__ControlsRow",
3177
3469
  componentId: "sc-fhl996-1"
3178
- })(templateObject_3$j || (templateObject_3$j = __makeTemplateObject(["\n width: 100%;\n"], ["\n width: 100%;\n"])));
3179
- var InputShell = styled__default.default.div.withConfig({
3470
+ })(templateObject_3$k || (templateObject_3$k = __makeTemplateObject(["\n width: 100%;\n"], ["\n width: 100%;\n"])));
3471
+ var InputShell = /*#__PURE__*/styled__default.default.div.withConfig({
3180
3472
  displayName: "AgentInput__InputShell",
3181
3473
  componentId: "sc-fhl996-2"
3182
- })(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.spacing.layout.sm, semantic$a.spacing.layout.xs, semantic$a.spacing.layout.sm, semantic$a.spacing.layout.xs, semantic$a.spacing.component.lg, component$1.input["default"].backgroundColor, component$1.input["default"].borderWidth, component$1.input["default"].borderColor, semantic$a.border.radius['3xl'], semantic$a.elevation.raised, semantic$a.motion.duration.normal, semantic$a.motion.easing.easeInOut, semantic$a.motion.duration.normal, semantic$a.motion.easing.easeInOut, component$1.input.focus.borderColor, component$1.input.focus.outline, semantic$a.border.focusOffset, component$1.input.disabled.backgroundColor, component$1.input.disabled.borderColor);
3183
- var Input = styled__default.default.input.withConfig({
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 = /*#__PURE__*/styled__default.default.input.withConfig({
3184
3476
  displayName: "AgentInput__Input",
3185
3477
  componentId: "sc-fhl996-3"
3186
- })(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.spacing.layout['7xl'], semantic$a.typography.body, semantic$a.color.text["default"], component$1.input.placeholder.textColor, semantic$a.color.text.disabled);
3187
- var InputActions = styled__default.default.div.withConfig({
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 = /*#__PURE__*/styled__default.default.div.withConfig({
3188
3480
  displayName: "AgentInput__InputActions",
3189
3481
  componentId: "sc-fhl996-4"
3190
- })(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.spacing.layout.sm);
3191
- var CircularActionIconButton = styled__default.default(IconButton).withConfig({
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 = /*#__PURE__*/styled__default.default(IconButton).withConfig({
3192
3484
  displayName: "AgentInput__CircularActionIconButton",
3193
3485
  componentId: "sc-fhl996-5"
3194
- })(templateObject_7$7 || (templateObject_7$7 = __makeTemplateObject(["\n border-radius: ", ";\n"], ["\n border-radius: ", ";\n"])), semantic$a.border.radius.circle);
3195
- var InputWrapper = styled__default.default.div.withConfig({
3486
+ })(templateObject_7$7 || (templateObject_7$7 = __makeTemplateObject(["\n border-radius: ", ";\n"], ["\n border-radius: ", ";\n"])), semantic$a.radius.full);
3487
+ var InputWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
3196
3488
  displayName: "AgentInput__InputWrapper",
3197
3489
  componentId: "sc-fhl996-6"
3198
3490
  })(templateObject_8$6 || (templateObject_8$6 = __makeTemplateObject(["\n flex: 1;\n min-width: 0;\n"], ["\n flex: 1;\n min-width: 0;\n"])));
3199
- var MicButtonWrapper = styled__default.default.div.withConfig({
3491
+ var MicButtonWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
3200
3492
  shouldForwardProp: function shouldForwardProp(prop) {
3201
3493
  return !prop.startsWith('$');
3202
3494
  },
@@ -3205,50 +3497,50 @@ var MicButtonWrapper = styled__default.default.div.withConfig({
3205
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"
3206
3498
  // Masks read only alpha, so the opaque stop is a mask value, not a colour (decision 0010).
3207
3499
  // eslint-disable-next-line no-restricted-syntax
3208
- ])), semantic$a.border.radius.circle);
3500
+ ])), semantic$a.radius.full);
3209
3501
  // Masks read only alpha, so the opaque stop is a mask value, not a colour (decision 0010).
3210
3502
  // eslint-disable-next-line no-restricted-syntax
3211
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)))"])));
3212
- var MicListeningRing = styled__default.default.span.withConfig({
3504
+ var MicListeningRing = /*#__PURE__*/styled__default.default.span.withConfig({
3213
3505
  shouldForwardProp: function shouldForwardProp(prop) {
3214
3506
  return !prop.startsWith('$');
3215
3507
  },
3216
3508
  displayName: "AgentInput__MicListeningRing",
3217
3509
  componentId: "sc-fhl996-8"
3218
- })(templateObject_12$3 || (templateObject_12$3 = __makeTemplateObject(["\n --ring-thickness: ", ";\n position: absolute;\n inset: calc(-", " - ", ");\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(-", " - ", ");\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.spacing.layout.xs, semantic$a.border.focusOffset, semantic$a.border.radius.circle, semantic$a.color.background['interactive-subtle'], semantic$a.color.background.interactive, semantic$a.color.background['interactive-hover'], semantic$a.color.background.interactive, semantic$a.color.background['interactive-subtle'], ringMask, ringMask, function (_a) {
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) {
3219
3511
  var $reducedMotion = _a.$reducedMotion;
3220
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);
3221
3513
  });
3222
- var StatusRow = styled__default.default.div.withConfig({
3514
+ var StatusRow = /*#__PURE__*/styled__default.default.div.withConfig({
3223
3515
  displayName: "AgentInput__StatusRow",
3224
3516
  componentId: "sc-fhl996-9"
3225
- })(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.spacing.layout.md, semantic$a.spacing.layout['2xl']);
3226
- var StatusText = styled__default.default.div.withConfig({
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 = /*#__PURE__*/styled__default.default.div.withConfig({
3227
3519
  shouldForwardProp: function shouldForwardProp(prop) {
3228
3520
  return !prop.startsWith('$');
3229
3521
  },
3230
3522
  displayName: "AgentInput__StatusText",
3231
3523
  componentId: "sc-fhl996-10"
3232
- })(templateObject_14$1 || (templateObject_14$1 = __makeTemplateObject(["\n padding-left: ", ";\n"], ["\n padding-left: ", ";\n"])), semantic$a.spacing.layout.xl);
3233
- var StatusAnnouncement = styled__default.default.div.withConfig({
3524
+ })(templateObject_14$1 || (templateObject_14$1 = __makeTemplateObject(["\n padding-left: ", ";\n"], ["\n padding-left: ", ";\n"])), semantic$a.space[500]);
3525
+ var StatusAnnouncement = /*#__PURE__*/styled__default.default.div.withConfig({
3234
3526
  displayName: "AgentInput__StatusAnnouncement",
3235
3527
  componentId: "sc-fhl996-11"
3236
3528
  })(templateObject_15$1 || (templateObject_15$1 = __makeTemplateObject([""], [""])));
3237
- var MeterContainer = styled__default.default.div.withConfig({
3529
+ var MeterContainer = /*#__PURE__*/styled__default.default.div.withConfig({
3238
3530
  displayName: "AgentInput__MeterContainer",
3239
3531
  componentId: "sc-fhl996-12"
3240
- })(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.spacing.layout.xs, semantic$a.spacing.layout.lg);
3241
- var MeterBar = styled__default.default.div.withConfig({
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 = /*#__PURE__*/styled__default.default.div.withConfig({
3242
3534
  shouldForwardProp: function shouldForwardProp(prop) {
3243
3535
  return !prop.startsWith('$');
3244
3536
  },
3245
3537
  displayName: "AgentInput__MeterBar",
3246
3538
  componentId: "sc-fhl996-13"
3247
- })(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.spacing.layout.xs, semantic$a.border.radius.xs, semantic$a.color.background.interactive, function (_a) {
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) {
3248
3540
  var $height = _a.$height;
3249
3541
  return "".concat($height * 100, "%");
3250
- }, semantic$a.motion.duration.fast, semantic$a.motion.easing.easeOut);
3251
- var VisuallyHiddenLabel = styled__default.default.label.withConfig({
3542
+ }, semantic$a.motion.duration.fast, semantic$a.motion.easing.decelerate);
3543
+ var VisuallyHiddenLabel = /*#__PURE__*/styled__default.default.label.withConfig({
3252
3544
  displayName: "AgentInput__VisuallyHiddenLabel",
3253
3545
  componentId: "sc-fhl996-14"
3254
3546
  })(templateObject_18$1 || (templateObject_18$1 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), visuallyHidden);
@@ -3880,16 +4172,17 @@ var AgentInput = function AgentInput(_a) {
3880
4172
  })]
3881
4173
  });
3882
4174
  };
3883
- var templateObject_1$q, templateObject_2$l, templateObject_3$j, 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;
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;
3884
4176
 
3885
- var semantic$9 = data.tokensJson.semantic;
3886
- var alert = data.tokensJson.component.alert;
3887
- var _a$3 = semantic$9.motion,
3888
- duration$1 = _a$3.duration,
3889
- easing$1 = _a$3.easing;
4177
+ var semantic$9 = tokens.semantic;
4178
+ var alert = tokens.component.alert;
4179
+ var _a$2 = semantic$9.motion,
4180
+ duration$1 = _a$2.duration,
4181
+ easing$1 = _a$2.easing;
3890
4182
  // Dismissing fades the alert out, then collapses the space it took (Ollie's call, #35).
3891
- // Each half takes duration.fast, so the whole exit stays within the 300ms maximum (P6).
3892
- var FADE_MS = parseInt(duration$1.fast, 10);
4183
+ // Each half takes duration.fast, so the whole exit stays within the 300ms maximum (P6). The timer
4184
+ // needs the resolved value, not the CSS variable (decision 0041).
4185
+ var FADE_MS = parseInt(data.tokensJson.semantic.motion.duration.fast, 10);
3893
4186
  var EXIT_MS = FADE_MS * 2;
3894
4187
  // The --alert-exit-* properties are the alert's height and vertical padding, measured
3895
4188
  // when it's dismissed, so nothing moves until the fade has finished
@@ -3926,7 +4219,7 @@ var variantTitleColors = {
3926
4219
  info: 'interactive',
3927
4220
  success: 'success'
3928
4221
  };
3929
- var StyledAlert = styled__default.default.div.withConfig({
4222
+ var StyledAlert = /*#__PURE__*/styled__default.default.div.withConfig({
3930
4223
  shouldForwardProp: function shouldForwardProp(prop) {
3931
4224
  return !prop.startsWith('$');
3932
4225
  },
@@ -3934,11 +4227,11 @@ var StyledAlert = styled__default.default.div.withConfig({
3934
4227
  componentId: "sc-18tq5d-0"
3935
4228
  })(templateObject_6$8 || (templateObject_6$8 = __makeTemplateObject(["\n display: flex;\n /* Items start at the top, so the icon and dismiss button line up with the first line */\n align-items: flex-start;\n gap: ", ";\n padding: ", ";\n border-radius: ", ";\n border: ", " solid;\n position: relative;\n width: 100%;\n \n /* Severity \xD7 appearance colours from Alert's component tokens (decision 0019). Borderless\n keeps a transparent border, so both appearances take the same space. */\n background-color: ", ";\n color: ", ";\n border-color: ", ";\n \n /* Responsive adjustments */\n @media (min-width: ", ") {\n padding: ", ";\n }\n\n /* The exit is chosen once, when dismissed (not by a media query), so a reduced-motion\n preference that changes mid-exit can't swap animations and flash the faded alert back.\n Reduced motion: fade only; the space closes instantly afterwards. */\n ", "\n"], ["\n display: flex;\n /* Items start at the top, so the icon and dismiss button line up with the first line */\n align-items: flex-start;\n gap: ", ";\n padding: ", ";\n border-radius: ", ";\n border: ", " solid;\n position: relative;\n width: 100%;\n \n /* Severity \xD7 appearance colours from Alert's component tokens (decision 0019). Borderless\n keeps a transparent border, so both appearances take the same space. */\n background-color: ", ";\n color: ", ";\n border-color: ", ";\n \n /* Responsive adjustments */\n @media (min-width: ", ") {\n padding: ", ";\n }\n\n /* The exit is chosen once, when dismissed (not by a media query), so a reduced-motion\n preference that changes mid-exit can't swap animations and flash the faded alert back.\n Reduced motion: fade only; the space closes instantly afterwards. */\n ", "\n"])), function (_a) {
3936
4229
  var $inline = _a.$inline;
3937
- return $inline ? semantic$9.spacing.layout.sm : semantic$9.spacing.layout.md;
4230
+ return $inline ? semantic$9.space[200] : semantic$9.space[300];
3938
4231
  }, function (_a) {
3939
4232
  var $inline = _a.$inline;
3940
- return $inline ? semantic$9.spacing.layout.sm : semantic$9.spacing.layout.md;
3941
- }, semantic$9.border.radius.sm, semantic$9.border.width.thin, function (_a) {
4233
+ return $inline ? semantic$9.space[200] : semantic$9.space[300];
4234
+ }, semantic$9.radius.sm, semantic$9.border.width.thin, function (_a) {
3942
4235
  var _b = _a.$variant,
3943
4236
  $variant = _b === void 0 ? 'info' : _b;
3944
4237
  return alert.severity[$variant].background;
@@ -3953,25 +4246,25 @@ var StyledAlert = styled__default.default.div.withConfig({
3953
4246
  return alert.appearance[$appearance].borderColor[$variant];
3954
4247
  }, semantic$9.breakpoint.md, function (_a) {
3955
4248
  var $inline = _a.$inline;
3956
- return $inline ? semantic$9.spacing.layout.sm : semantic$9.spacing.layout.lg;
4249
+ return $inline ? semantic$9.space[200] : semantic$9.space[400];
3957
4250
  }, function (_a) {
3958
4251
  var $isExiting = _a.$isExiting,
3959
4252
  $reducedExit = _a.$reducedExit;
3960
- 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$i || (templateObject_3$i = __makeTemplateObject(["", " ", " ", " forwards"], ["", " ", " ", " forwards"])), fadeOut, duration$1.fast, easing$1.easeOut) : styled.css(templateObject_4$e || (templateObject_4$e = __makeTemplateObject(["", " ", "ms ", " forwards"], ["", " ", "ms ", " forwards"])), fadeThenCollapse, EXIT_MS, easing$1.easeOut));
4253
+ 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));
3961
4254
  });
3962
- var StyledIconContainer = styled__default.default.div.withConfig({
4255
+ var StyledIconContainer = /*#__PURE__*/styled__default.default.div.withConfig({
3963
4256
  displayName: "Alert__StyledIconContainer",
3964
4257
  componentId: "sc-18tq5d-1"
3965
4258
  })(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"])));
3966
- var StyledContent$1 = styled__default.default.div.withConfig({
4259
+ var StyledContent$1 = /*#__PURE__*/styled__default.default.div.withConfig({
3967
4260
  displayName: "Alert__StyledContent",
3968
4261
  componentId: "sc-18tq5d-2"
3969
- })(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.spacing.layout.xs);
3970
- var StyledTitle = styled__default.default.span.withConfig({
4262
+ })(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 = /*#__PURE__*/styled__default.default.span.withConfig({
3971
4264
  displayName: "Alert__StyledTitle",
3972
4265
  componentId: "sc-18tq5d-3"
3973
4266
  })(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);
3974
- var StyledMessage$1 = styled__default.default.span.withConfig({
4267
+ var StyledMessage$1 = /*#__PURE__*/styled__default.default.span.withConfig({
3975
4268
  displayName: "Alert__StyledMessage",
3976
4269
  componentId: "sc-18tq5d-4"
3977
4270
  })(templateObject_10$2 || (templateObject_10$2 = __makeTemplateObject(["\n font: ", ";\n line-height: ", ";\n"], ["\n font: ", ";\n line-height: ", ";\n"
@@ -3980,7 +4273,7 @@ var StyledMessage$1 = styled__default.default.span.withConfig({
3980
4273
  ])), alert.message.typography, alert.message.lineHeight);
3981
4274
  // The action follows the content, left-aligned with it, so it's read after the message
3982
4275
  // (#122). With the content's xs gap, the space above it is md: a separate step.
3983
- var StyledActions = styled__default.default.div.withConfig({
4276
+ var StyledActions = /*#__PURE__*/styled__default.default.div.withConfig({
3984
4277
  displayName: "Alert__StyledActions",
3985
4278
  componentId: "sc-18tq5d-5"
3986
4279
  })(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"
@@ -3988,12 +4281,12 @@ var StyledActions = styled__default.default.div.withConfig({
3988
4281
  // message when there's no title (decision 0019). The slot is as tall as that line and the
3989
4282
  // button is centred in it, overflowing evenly into the padding, so it stays aligned at every
3990
4283
  // padding and line height. Being in the row, it also keeps text and actions from running under it.
3991
- ])), semantic$9.spacing.layout.sm, semantic$9.spacing.layout.md, semantic$9.spacing.layout.xs);
4284
+ ])), semantic$9.space[200], semantic$9.space[300], semantic$9.space[100]);
3992
4285
  // The dismiss button's centre lines up with the first line of content: the title, or the
3993
4286
  // message when there's no title (decision 0019). The slot is as tall as that line and the
3994
4287
  // button is centred in it, overflowing evenly into the padding, so it stays aligned at every
3995
4288
  // padding and line height. Being in the row, it also keeps text and actions from running under it.
3996
- var StyledDismissSlot = styled__default.default.div.withConfig({
4289
+ var StyledDismissSlot = /*#__PURE__*/styled__default.default.div.withConfig({
3997
4290
  shouldForwardProp: function shouldForwardProp(prop) {
3998
4291
  return !prop.startsWith('$');
3999
4292
  },
@@ -4008,12 +4301,12 @@ var StyledDismissSlot = styled__default.default.div.withConfig({
4008
4301
  });
4009
4302
  // The glyph sits on the padding edge, mirroring the severity icon on the left. The inline
4010
4303
  // alert's padding is too small for that, so its button stays inside the padding.
4011
- var StyledDismissButton = styled__default.default(IconButton).withConfig({
4304
+ var StyledDismissButton = /*#__PURE__*/styled__default.default(IconButton).withConfig({
4012
4305
  displayName: "Alert__StyledDismissButton",
4013
4306
  componentId: "sc-18tq5d-7"
4014
4307
  })(templateObject_13$2 || (templateObject_13$2 = __makeTemplateObject(["\n margin-right: ", ";\n"], ["\n margin-right: ", ";\n"])), function (_a) {
4015
4308
  var $inline = _a.$inline;
4016
- return $inline ? 0 : "calc((".concat(data.tokensJson.component.iconButton.sizes.small.minWidth, " - ").concat(semantic$9.size.icon.sm, ") / -2)");
4309
+ return $inline ? 0 : "calc((".concat(semantic$9.size.control.sm, " - ").concat(semantic$9.size.icon.sm, ") / -2)");
4017
4310
  });
4018
4311
  var Alert = function Alert(_a) {
4019
4312
  var _b = _a.variant,
@@ -4149,12 +4442,11 @@ var Alert = function Alert(_a) {
4149
4442
  }));
4150
4443
  };
4151
4444
  Alert.displayName = 'Alert';
4152
- var templateObject_1$p, templateObject_2$k, templateObject_3$i, templateObject_4$e, templateObject_5$b, templateObject_6$8, templateObject_7$6, templateObject_8$5, templateObject_9$4, templateObject_10$2, templateObject_11$2, templateObject_12$2, templateObject_13$2;
4445
+ var templateObject_1$p, templateObject_2$k, templateObject_3$j, templateObject_4$e, templateObject_5$b, templateObject_6$8, templateObject_7$6, templateObject_8$5, templateObject_9$4, templateObject_10$2, templateObject_11$2, templateObject_12$2, templateObject_13$2;
4153
4446
 
4154
- var semantic$8 = data.tokensJson.semantic;
4155
- var color$3 = semantic$8.color,
4447
+ var semantic$8 = tokens.semantic;
4448
+ var color$2 = semantic$8.color,
4156
4449
  typography = semantic$8.typography,
4157
- spacing$3 = semantic$8.spacing,
4158
4450
  size = semantic$8.size;
4159
4451
  var variantIcons = {
4160
4452
  error: 'crossCircle',
@@ -4163,24 +4455,24 @@ var variantIcons = {
4163
4455
  success: 'checkRing'
4164
4456
  };
4165
4457
  var variantTextColors = {
4166
- error: color$3.text.error,
4167
- warning: color$3.text.warning,
4168
- info: color$3.text.interactive,
4169
- success: color$3.text.success
4458
+ error: color$2.text.danger,
4459
+ warning: color$2.text.warning,
4460
+ info: color$2.text.accent,
4461
+ success: color$2.text.success
4170
4462
  };
4171
4463
  var sizeConfig = {
4172
4464
  small: {
4173
4465
  font: typography.caption,
4174
- gap: spacing$3.layout.xs,
4466
+ gap: semantic$8.space[100],
4175
4467
  icon: 'xs'
4176
4468
  },
4177
4469
  medium: {
4178
4470
  font: typography.small,
4179
- gap: spacing$3.layout.sm,
4471
+ gap: semantic$8.space[200],
4180
4472
  icon: 'sm'
4181
4473
  }
4182
4474
  };
4183
- var StyledInlineAlert = styled__default.default.div.withConfig({
4475
+ var StyledInlineAlert = /*#__PURE__*/styled__default.default.div.withConfig({
4184
4476
  shouldForwardProp: function shouldForwardProp(prop) {
4185
4477
  return !prop.startsWith('$');
4186
4478
  },
@@ -4205,14 +4497,14 @@ var StyledInlineAlert = styled__default.default.div.withConfig({
4205
4497
  });
4206
4498
  // One line of the message's font tall, so the icon centres on the first line at any size:
4207
4499
  // the zero-width space gives the box the font's line height without a fixed value
4208
- var StyledIconLine = styled__default.default.span.withConfig({
4500
+ var StyledIconLine = /*#__PURE__*/styled__default.default.span.withConfig({
4209
4501
  displayName: "InlineAlert__StyledIconLine",
4210
4502
  componentId: "sc-eervmb-1"
4211
4503
  })(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"])));
4212
- var StyledMessage = styled__default.default.span.withConfig({
4504
+ var StyledMessage = /*#__PURE__*/styled__default.default.span.withConfig({
4213
4505
  displayName: "InlineAlert__StyledMessage",
4214
4506
  componentId: "sc-eervmb-2"
4215
- })(templateObject_3$h || (templateObject_3$h = __makeTemplateObject(["\n min-width: 0;\n"], ["\n min-width: 0;\n"
4507
+ })(templateObject_3$i || (templateObject_3$i = __makeTemplateObject(["\n min-width: 0;\n"], ["\n min-width: 0;\n"
4216
4508
  /**
4217
4509
  * InlineAlert is a short, local message that sits next to what it's about: between paragraphs,
4218
4510
  * below a field or in a table cell (decision 0019). A severity icon and text in the severity
@@ -4280,20 +4572,20 @@ var InlineAlert = function InlineAlert(_a) {
4280
4572
  });
4281
4573
  };
4282
4574
  InlineAlert.displayName = 'InlineAlert';
4283
- var templateObject_1$o, templateObject_2$j, templateObject_3$h;
4575
+ var templateObject_1$o, templateObject_2$j, templateObject_3$i;
4284
4576
 
4285
- var BreadcrumbNavStyled = styled__default.default.nav.withConfig({
4577
+ var BreadcrumbNavStyled = /*#__PURE__*/styled__default.default.nav.withConfig({
4286
4578
  displayName: "Breadcrumbs__BreadcrumbNavStyled",
4287
4579
  componentId: "sc-7ouzg5-0"
4288
- })(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"])), data.tokensJson.semantic.border["default"]);
4289
- var BreadcrumbStyled = styled__default.default.li.withConfig({
4580
+ })(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 = /*#__PURE__*/styled__default.default.li.withConfig({
4290
4582
  displayName: "Breadcrumbs__BreadcrumbStyled",
4291
4583
  componentId: "sc-7ouzg5-1"
4292
- })(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"])), data.tokensJson.semantic.spacing.layout.sm, data.tokensJson.semantic.spacing.layout.sm, data.tokensJson.semantic.color.text.subdued, data.tokensJson.component.breadcrumbs.item.maxWidth, data.tokensJson.semantic.color.text["default"]);
4293
- var BreadcrumbSeparator = styled__default.default.span.withConfig({
4584
+ })(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 = /*#__PURE__*/styled__default.default.span.withConfig({
4294
4586
  displayName: "Breadcrumbs__BreadcrumbSeparator",
4295
4587
  componentId: "sc-7ouzg5-2"
4296
- })(templateObject_3$g || (templateObject_3$g = __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"])));
4588
+ })(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"])));
4297
4589
  var isInternalUrl = function isInternalUrl(url) {
4298
4590
  return url.startsWith('/') && !url.startsWith('http');
4299
4591
  };
@@ -4341,12 +4633,14 @@ var Breadcrumbs = function Breadcrumbs(_a) {
4341
4633
  })
4342
4634
  });
4343
4635
  };
4344
- var templateObject_1$n, templateObject_2$i, templateObject_3$g;
4636
+ var templateObject_1$n, templateObject_2$i, templateObject_3$h;
4345
4637
 
4346
- var CardSmallStyled = styled__default.default.div.withConfig({
4638
+ // The whole card is one link (#185): hovering anywhere fades its image, pressing fades it one step
4639
+ // further, and keyboard focus draws the system focus ring around the card (decision 0029)
4640
+ var CardSmallStyled = /*#__PURE__*/styled__default.default.div.withConfig({
4347
4641
  displayName: "CardSmall__CardSmallStyled",
4348
4642
  componentId: "sc-jpcqvd-0"
4349
- })(templateObject_1$m || (templateObject_1$m = __makeTemplateObject(["\n a {\n text-decoration: none;\n }\n\n img {\n border-radius: ", ";\n transition: opacity ", " ", ";\n width: 100%;\n height: auto;\n display: block;\n }\n\n &:hover {\n img {\n opacity: 0.8;\n }\n }\n\n &:focus-within {\n outline: none;\n box-shadow: 0 0 0 ", " ", ";\n }\n"], ["\n a {\n text-decoration: none;\n }\n\n img {\n border-radius: ", ";\n transition: opacity ", " ", ";\n width: 100%;\n height: auto;\n display: block;\n }\n\n &:hover {\n img {\n opacity: 0.8;\n }\n }\n\n &:focus-within {\n outline: none;\n box-shadow: 0 0 0 ", " ", ";\n }\n"])), data.tokensJson.semantic.border.radius.sm, data.tokensJson.semantic.motion.duration.normal, data.tokensJson.semantic.motion.easing.easeOut, data.tokensJson.semantic.border.width.thick, data.tokensJson.semantic.color.border.strong);
4643
+ })(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);
4350
4644
  var CardSmall = function CardSmall(_a) {
4351
4645
  var title = _a.title,
4352
4646
  picture = _a.picture,
@@ -4402,11 +4696,10 @@ var CardSmall = function CardSmall(_a) {
4402
4696
  };
4403
4697
  var templateObject_1$m;
4404
4698
 
4405
- var border$4 = data.tokensJson.semantic.border;
4406
- var CardLargeStyled = styled__default.default.div.withConfig({
4699
+ var CardLargeStyled = /*#__PURE__*/styled__default.default.div.withConfig({
4407
4700
  displayName: "CardLarge__CardLargeStyled",
4408
4701
  componentId: "sc-1rfgdzl-0"
4409
- })(templateObject_1$l || (templateObject_1$l = __makeTemplateObject(["\n max-width: ", ";\n\n a {\n text-decoration: none;\n }\n\n &:hover {\n img {\n opacity: 0.8;\n }\n }\n\n img {\n border-radius: ", ";\n transition: opacity ", " ", ";\n width: 100%;\n }\n"], ["\n max-width: ", ";\n\n a {\n text-decoration: none;\n }\n\n &:hover {\n img {\n opacity: 0.8;\n }\n }\n\n img {\n border-radius: ", ";\n transition: opacity ", " ", ";\n width: 100%;\n }\n"])), data.tokensJson.component.cardLarge.maxWidth, border$4.radius['2xl'], data.tokensJson.semantic.motion.duration.normal, data.tokensJson.semantic.motion.easing.easeOut);
4702
+ })(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']);
4410
4703
  var CardLarge = function CardLarge(_a) {
4411
4704
  var title = _a.title,
4412
4705
  excerpt = _a.excerpt,
@@ -4467,7 +4760,7 @@ var templateObject_1$l;
4467
4760
  * Hidden native checkbox input for accessibility
4468
4761
  * Maintains keyboard navigation and screen reader support
4469
4762
  */
4470
- var HiddenCheckboxInput = styled__default.default.input.withConfig({
4763
+ var HiddenCheckboxInput = /*#__PURE__*/styled__default.default.input.withConfig({
4471
4764
  shouldForwardProp: function shouldForwardProp(prop) {
4472
4765
  return !prop.startsWith('$');
4473
4766
  },
@@ -4484,72 +4777,80 @@ var HiddenCheckboxInput = styled__default.default.input.withConfig({
4484
4777
  * 24px × 24px for 8px grid alignment
4485
4778
  * Uses component.input.* tokens for consistency with TextField
4486
4779
  */
4487
- var StyledCheckbox = styled__default.default.span.withConfig({
4780
+ var StyledCheckbox = /*#__PURE__*/styled__default.default.span.withConfig({
4488
4781
  shouldForwardProp: function shouldForwardProp(prop) {
4489
4782
  return !prop.startsWith('$');
4490
4783
  },
4491
4784
  displayName: "SelectableInputBase__StyledCheckbox",
4492
4785
  componentId: "sc-1ddpctx-1"
4493
- })(templateObject_2$h || (templateObject_2$h = __makeTemplateObject(["\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n height: ", ";\n min-width: ", ";\n min-height: ", ";\n border-radius: ", ";\n border: ", " solid;\n background-color: ", ";\n border-color: ", ";\n cursor: ", ";\n transition: all ", " ", ";\n flex-shrink: 0;\n\n /* Hover state */\n ", ":not(:disabled):hover + & {\n border-color: ", ";\n }\n\n /* Focus state */\n ", ":focus-visible + & {\n outline: ", ";\n outline-offset: ", ";\n border-color: ", ";\n }\n\n /* Disabled state */\n ", "\n\n /* Checkmark icon */\n &::after {\n content: '';\n position: absolute;\n display: ", ";\n left: 6px;\n top: 3px;\n width: 4px;\n height: 8px;\n border: solid ", ";\n border-width: 0 2px 2px 0;\n transform: rotate(45deg);\n }\n\n /* Indeterminate icon (horizontal line) */\n &::before {\n content: '';\n position: absolute;\n display: ", ";\n left: 4px;\n top: 8px;\n width: 10px;\n height: 2px;\n background-color: ", ";\n }\n"], ["\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n height: ", ";\n min-width: ", ";\n min-height: ", ";\n border-radius: ", ";\n border: ", " solid;\n background-color: ", ";\n border-color: ", ";\n cursor: ", ";\n transition: all ", " ", ";\n flex-shrink: 0;\n\n /* Hover state */\n ", ":not(:disabled):hover + & {\n border-color: ", ";\n }\n\n /* Focus state */\n ", ":focus-visible + & {\n outline: ", ";\n outline-offset: ", ";\n border-color: ", ";\n }\n\n /* Disabled state */\n ", "\n\n /* Checkmark icon */\n &::after {\n content: '';\n position: absolute;\n display: ", ";\n left: 6px;\n top: 3px;\n width: 4px;\n height: 8px;\n border: solid ", ";\n border-width: 0 2px 2px 0;\n transform: rotate(45deg);\n }\n\n /* Indeterminate icon (horizontal line) */\n &::before {\n content: '';\n position: absolute;\n display: ", ";\n left: 4px;\n top: 8px;\n width: 10px;\n height: 2px;\n background-color: ", ";\n }\n"
4786
+ })(templateObject_2$h || (templateObject_2$h = __makeTemplateObject(["\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n height: ", ";\n min-width: ", ";\n min-height: ", ";\n border-radius: ", ";\n border: ", " solid;\n background-color: ", ";\n border-color: ", ";\n cursor: ", ";\n transition: background-color ", " ", ",\n border-color ", " ", ",\n ", ";\n flex-shrink: 0;\n\n /* Hover state */\n ", ":not(:disabled):hover + & {\n border-color: ", ";\n }\n\n /* Focus state */\n ", ":focus-visible + & {\n outline: ", ";\n outline-offset: ", ";\n border-color: ", ";\n }\n\n /* Disabled state */\n ", "\n\n /* Checkmark icon */\n &::after {\n content: '';\n position: absolute;\n display: ", ";\n left: 6px;\n top: 3px;\n width: 4px;\n height: 8px;\n border: solid ", ";\n border-width: 0 2px 2px 0;\n transform: rotate(45deg);\n }\n\n /* Indeterminate icon (horizontal line) */\n &::before {\n content: '';\n position: absolute;\n display: ", ";\n left: 4px;\n top: 8px;\n width: 10px;\n height: 2px;\n background-color: ", ";\n }\n\n /* Forced colours drop fills (decision 0038): a checked or indeterminate box takes the system\n selection colour, or GrayText when disabled, and its mark the matching text colour. The\n indeterminate dash is a fill, so it needs the same treatment. */\n ", "\n"], ["\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: ", ";\n height: ", ";\n min-width: ", ";\n min-height: ", ";\n border-radius: ", ";\n border: ", " solid;\n background-color: ", ";\n border-color: ", ";\n cursor: ", ";\n transition: background-color ", " ", ",\n border-color ", " ", ",\n ", ";\n flex-shrink: 0;\n\n /* Hover state */\n ", ":not(:disabled):hover + & {\n border-color: ", ";\n }\n\n /* Focus state */\n ", ":focus-visible + & {\n outline: ", ";\n outline-offset: ", ";\n border-color: ", ";\n }\n\n /* Disabled state */\n ", "\n\n /* Checkmark icon */\n &::after {\n content: '';\n position: absolute;\n display: ", ";\n left: 6px;\n top: 3px;\n width: 4px;\n height: 8px;\n border: solid ", ";\n border-width: 0 2px 2px 0;\n transform: rotate(45deg);\n }\n\n /* Indeterminate icon (horizontal line) */\n &::before {\n content: '';\n position: absolute;\n display: ", ";\n left: 4px;\n top: 8px;\n width: 10px;\n height: 2px;\n background-color: ", ";\n }\n\n /* Forced colours drop fills (decision 0038): a checked or indeterminate box takes the system\n selection colour, or GrayText when disabled, and its mark the matching text colour. The\n indeterminate dash is a fill, so it needs the same treatment. */\n ", "\n"
4494
4787
  /**
4495
4788
  * Container for checkbox with proper spacing and alignment
4496
4789
  * 48px min-height for touch target (8px grid aligned)
4497
- */])), data.tokensJson.component.checkbox.box.size, data.tokensJson.component.checkbox.box.size, data.tokensJson.component.checkbox.box.size, data.tokensJson.component.checkbox.box.size, data.tokensJson.component.input["default"].borderRadius, data.tokensJson.component.input["default"].borderWidth, function (props) {
4498
- return props.$checked || props.$indeterminate ? data.tokensJson.semantic.color.background.inverse : data.tokensJson.component.input["default"].backgroundColor;
4790
+ */])), tokens.component.checkbox.box.size, tokens.component.checkbox.box.size, tokens.component.checkbox.box.size, tokens.component.checkbox.box.size, tokens.component.input["default"].borderRadius, tokens.component.input["default"].borderWidth, function (props) {
4791
+ return props.$checked || props.$indeterminate ? tokens.semantic.color.fill.inverse : tokens.component.input["default"].backgroundColor;
4499
4792
  }, function (props) {
4500
- if (props.$state === 'error') return data.tokensJson.component.input.error.borderColor;
4501
- if (props.$checked || props.$indeterminate) return data.tokensJson.semantic.color.border.strong;
4502
- return data.tokensJson.component.input["default"].borderColor;
4793
+ if (props.$state === 'error') return tokens.component.input.error.borderColor;
4794
+ // A checked box's border matches its fill, so the box reads as solid
4795
+ if (props.$checked || props.$indeterminate) return tokens.semantic.color.fill.inverse;
4796
+ return tokens.component.input["default"].borderColor;
4503
4797
  }, function (props) {
4504
4798
  return props.$state === 'disabled' ? 'not-allowed' : 'pointer';
4505
- }, data.tokensJson.semantic.motion.duration.fast, data.tokensJson.semantic.motion.easing.easeOut, HiddenCheckboxInput, function (props) {
4506
- return props.$state === 'error' ? data.tokensJson.component.input.error.hover.borderColor : props.$checked || props.$indeterminate ? data.tokensJson.semantic.color.border.strong : data.tokensJson.component.input.hover.borderColor;
4507
- }, HiddenCheckboxInput, data.tokensJson.component.input.focus.outline, data.tokensJson.semantic.border.focusOffset, function (props) {
4508
- return props.$state === 'error' ? data.tokensJson.component.input.error.focus.borderColor : data.tokensJson.component.input.focus.borderColor;
4799
+ }, tokens.semantic.motion.duration.fast, tokens.semantic.motion.easing.decelerate, tokens.semantic.motion.duration.fast, tokens.semantic.motion.easing.decelerate, tokens.semantic.motion.transition.focus, HiddenCheckboxInput, function (props) {
4800
+ return props.$state === 'error' ? tokens.component.input.error.hover.borderColor : props.$checked || props.$indeterminate ? tokens.semantic.color.fill.inverse : tokens.component.input.hover.borderColor;
4801
+ }, HiddenCheckboxInput, tokens.component.input.focus.outline, tokens.semantic.border.focusOffset, function (props) {
4802
+ return props.$state === 'error' ? tokens.component.input.error.focus.borderColor : tokens.component.input.focus.borderColor;
4509
4803
  }, function (props) {
4510
- return props.$state === 'disabled' && "\n background-color: ".concat(data.tokensJson.component.input.disabled.backgroundColor, ";\n border-color: ").concat(data.tokensJson.component.input.disabled.borderColor, ";\n ");
4804
+ return props.$state === 'disabled' && "\n background-color: ".concat(tokens.component.input.disabled.backgroundColor, ";\n border-color: ").concat(tokens.component.input.disabled.borderColor, ";\n ");
4511
4805
  }, function (props) {
4512
4806
  return props.$checked ? 'block' : 'none';
4513
- }, data.tokensJson.semantic.color.text.inverse, function (props) {
4807
+ }, tokens.semantic.color.text.inverse, function (props) {
4514
4808
  return props.$indeterminate ? 'block' : 'none';
4515
- }, data.tokensJson.semantic.color.text.inverse);
4809
+ }, tokens.semantic.color.text.inverse, function (props) {
4810
+ var on = props.$checked || props.$indeterminate;
4811
+ var disabled = props.$state === 'disabled';
4812
+ if (!on) return disabled ? "".concat(forcedColors, " { border-color: GrayText; }") : '';
4813
+ var fill = disabled ? 'GrayText' : 'Highlight';
4814
+ var mark = disabled ? 'Canvas' : 'HighlightText';
4815
+ return "".concat(forcedColors, " {\n forced-color-adjust: none;\n background-color: ").concat(fill, ";\n border-color: ").concat(fill, ";\n &::after { border-color: ").concat(mark, "; }\n &::before { background-color: ").concat(mark, "; }\n }");
4816
+ });
4516
4817
  /**
4517
4818
  * Container for checkbox with proper spacing and alignment
4518
4819
  * 48px min-height for touch target (8px grid aligned)
4519
4820
  */
4520
- var StyledCheckboxContainer = styled__default.default.label.withConfig({
4821
+ var StyledCheckboxContainer = /*#__PURE__*/styled__default.default.label.withConfig({
4521
4822
  shouldForwardProp: function shouldForwardProp(prop) {
4522
4823
  return !prop.startsWith('$');
4523
4824
  },
4524
4825
  displayName: "SelectableInputBase__StyledCheckboxContainer",
4525
4826
  componentId: "sc-1ddpctx-2"
4526
- })(templateObject_3$f || (templateObject_3$f = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n gap: ", ";\n cursor: ", ";\n min-height: ", ";\n flex-direction: ", ";\n user-select: none;\n"], ["\n display: inline-flex;\n align-items: center;\n gap: ", ";\n cursor: ", ";\n min-height: ", ";\n flex-direction: ", ";\n user-select: none;\n"
4827
+ })(templateObject_3$g || (templateObject_3$g = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n gap: ", ";\n cursor: ", ";\n min-height: ", ";\n flex-direction: ", ";\n user-select: none;\n"], ["\n display: inline-flex;\n align-items: center;\n gap: ", ";\n cursor: ", ";\n min-height: ", ";\n flex-direction: ", ";\n user-select: none;\n"
4527
4828
  /**
4528
4829
  * Label text with proper typography
4529
- */])), data.tokensJson.semantic.spacing.layout.md, function (props) {
4830
+ */])), tokens.semantic.space[300], function (props) {
4530
4831
  return props.$disabled ? 'not-allowed' : 'pointer';
4531
- }, data.tokensJson.component.checkbox.row.minHeight, function (props) {
4832
+ }, tokens.component.checkbox.row.minHeight, function (props) {
4532
4833
  return props.$labelPosition === 'left' ? 'row-reverse' : 'row';
4533
4834
  });
4534
4835
  /**
4535
4836
  * Label text with proper typography
4536
4837
  */
4537
- var StyledCheckboxLabel = styled__default.default.span.withConfig({
4838
+ var StyledCheckboxLabel = /*#__PURE__*/styled__default.default.span.withConfig({
4538
4839
  shouldForwardProp: function shouldForwardProp(prop) {
4539
4840
  return !prop.startsWith('$');
4540
4841
  },
4541
4842
  displayName: "SelectableInputBase__StyledCheckboxLabel",
4542
4843
  componentId: "sc-1ddpctx-3"
4543
- })(templateObject_4$d || (templateObject_4$d = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n"], ["\n font: ", ";\n color: ", ";\n"])), data.tokensJson.component.input["default"].font, function (props) {
4544
- return props.$disabled ? data.tokensJson.component.input.disabled.textColor : data.tokensJson.component.input["default"].textColor;
4844
+ })(templateObject_4$d || (templateObject_4$d = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n"], ["\n font: ", ";\n color: ", ";\n"])), tokens.component.input["default"].font, function (props) {
4845
+ return props.$disabled ? tokens.component.input.disabled.textColor : tokens.component.input["default"].textColor;
4545
4846
  });
4546
- var templateObject_1$k, templateObject_2$h, templateObject_3$f, templateObject_4$d;
4847
+ var templateObject_1$k, templateObject_2$h, templateObject_3$g, templateObject_4$d;
4547
4848
 
4548
- var StyledFieldContainer$3 = styled__default.default.div.withConfig({
4849
+ var StyledFieldContainer$3 = /*#__PURE__*/styled__default.default.div.withConfig({
4549
4850
  displayName: "Checkbox__StyledFieldContainer",
4550
4851
  componentId: "sc-vquz3v-0"
4551
- })(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"])), data.tokensJson.semantic.spacing.layout.xs);
4552
- var StyledHelperText$4 = styled__default.default.span.withConfig({
4852
+ })(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 = /*#__PURE__*/styled__default.default.span.withConfig({
4553
4854
  displayName: "Checkbox__StyledHelperText",
4554
4855
  componentId: "sc-vquz3v-1"
4555
4856
  })(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"
@@ -4574,9 +4875,9 @@ var StyledHelperText$4 = styled__default.default.span.withConfig({
4574
4875
  * required
4575
4876
  * />
4576
4877
  * ```
4577
- */])), data.tokensJson.component.field.helperText.typography, function (props) {
4578
- return props.$error ? data.tokensJson.component.field.helperText.colorError : data.tokensJson.component.field.helperText.color;
4579
- }, data.tokensJson.semantic.spacing.layout['5xl']);
4878
+ */])), tokens.component.field.helperText.typography, function (props) {
4879
+ return props.$error ? tokens.component.field.helperText.colorError : tokens.component.field.helperText.color;
4880
+ }, tokens.semantic.space[900]);
4580
4881
  /**
4581
4882
  * Checkbox component for binary selection with WCAG 2.2 AA compliance
4582
4883
  *
@@ -4673,7 +4974,7 @@ var Checkbox = /*#__PURE__*/React.forwardRef(function (_a, ref) {
4673
4974
  Checkbox.displayName = 'Checkbox';
4674
4975
  var templateObject_1$j, templateObject_2$g;
4675
4976
 
4676
- var ChipGroupWrapper = styled__default.default.div.withConfig({
4977
+ var ChipGroupWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
4677
4978
  displayName: "ChipGroup__ChipGroupWrapper",
4678
4979
  componentId: "sc-ae049w-0"
4679
4980
  })(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"])));
@@ -4698,19 +4999,18 @@ var ChipGroup = function ChipGroup(_a) {
4698
4999
  };
4699
5000
  var templateObject_1$i;
4700
5001
 
4701
- var _a$2 = data.tokensJson.semantic,
4702
- color$2 = _a$2.color,
4703
- border$3 = _a$2.border,
4704
- spacing$2 = _a$2.spacing,
4705
- motion$2 = _a$2.motion;
4706
- var StyledCodeBlock = styled__default.default.pre.withConfig({
5002
+ var _a$1 = tokens.semantic,
5003
+ color$1 = _a$1.color,
5004
+ border$1 = _a$1.border,
5005
+ motion$2 = _a$1.motion;
5006
+ var StyledCodeBlock = /*#__PURE__*/styled__default.default.pre.withConfig({
4707
5007
  displayName: "CodeBlock__StyledCodeBlock",
4708
5008
  componentId: "sc-1p1t0kp-0"
4709
- })(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"])), color$2.background.subtle, border$3.subtle, data.tokensJson.semantic.border.radius.sm, spacing$2.layout.md, data.tokensJson.component.codeBlock.fontFamily, data.tokensJson.component.codeBlock.fontSize, data.tokensJson.component.codeBlock.lineHeight, color$2.text["default"], function (_a) {
5009
+ })(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) {
4710
5010
  var $isExpanded = _a.$isExpanded,
4711
5011
  $needsExpansion = _a.$needsExpansion;
4712
5012
  return $needsExpansion && !$isExpanded ? 'hidden' : 'auto';
4713
- }, spacing$2.layout.sm, motion$2.duration.slow, motion$2.easing.easeInOut, reducedMotion, function (_a) {
5013
+ }, tokens.semantic.space[200], motion$2.duration.slow, motion$2.easing.standard, reducedMotion, function (_a) {
4714
5014
  var $maxHeight = _a.$maxHeight,
4715
5015
  $isExpanded = _a.$isExpanded,
4716
5016
  $needsExpansion = _a.$needsExpansion;
@@ -4718,21 +5018,21 @@ var StyledCodeBlock = styled__default.default.pre.withConfig({
4718
5018
  // Use a large value when expanded to allow smooth transition
4719
5019
  // 10000px is effectively "no limit" for most code blocks
4720
5020
  return $isExpanded ? 'max-height: 10000px;' : "max-height: ".concat($maxHeight, "px;");
4721
- }, border$3.focus, border$3.focusOffset);
4722
- var CodeBlockWrapper = styled__default.default.div.withConfig({
5021
+ }, border$1.focus, border$1.focusOffset);
5022
+ var CodeBlockWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
4723
5023
  displayName: "CodeBlock__CodeBlockWrapper",
4724
5024
  componentId: "sc-1p1t0kp-1"
4725
5025
  })(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"])));
4726
- var CopyButtonWrapper = styled__default.default.div.withConfig({
5026
+ var CopyButtonWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
4727
5027
  displayName: "CodeBlock__CopyButtonWrapper",
4728
5028
  componentId: "sc-1p1t0kp-2"
4729
- })(templateObject_3$e || (templateObject_3$e = __makeTemplateObject(["\n position: absolute;\n bottom: ", ";\n right: ", ";\n"], ["\n position: absolute;\n bottom: ", ";\n right: ", ";\n"])), spacing$2.layout.lg, spacing$2.layout.sm);
4730
- var ExpandButtonWrapper = styled__default.default.div.withConfig({
5029
+ })(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 = /*#__PURE__*/styled__default.default.div.withConfig({
4731
5031
  displayName: "CodeBlock__ExpandButtonWrapper",
4732
5032
  componentId: "sc-1p1t0kp-3"
4733
- })(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"])), spacing$2.layout.sm, data.tokensJson.semantic.border.width.thin, data.tokensJson.semantic.border.width.thin, data.tokensJson.semantic.border.width.thin, data.tokensJson.semantic.border.width.thin, spacing$2.layout.sm, data.tokensJson.semantic.border.radius.sm, motion$2.duration.slow, motion$2.easing.easeInOut, motion$2.duration.slow, motion$2.easing.easeInOut, function (_a) {
5033
+ })(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) {
4734
5034
  var $hasGradient = _a.$hasGradient;
4735
- return $hasGradient ? "\n margin-top: -".concat(spacing$2.layout['4xl'], ";\n padding-top: ").concat(spacing$2.layout['4xl'], ";\n background: linear-gradient(\n to bottom,\n transparent 0%,\n ").concat(color$2.background.subtle, " 60%\n );\n ") : "\n background: transparent;\n ";
5035
+ return $hasGradient ? "\n margin-top: calc(-1 * ".concat(tokens.semantic.space[800], ");\n padding-top: ").concat(tokens.semantic.space[800], ";\n background: linear-gradient(\n to bottom,\n transparent 0%,\n ").concat(tokens.semantic.surface.raised, " 60%\n );\n ") : "\n background: transparent;\n ";
4736
5036
  });
4737
5037
  var CopyButton = function CopyButton(_a) {
4738
5038
  var text = _a.text,
@@ -4792,7 +5092,7 @@ var CopyButton = function CopyButton(_a) {
4792
5092
  })
4793
5093
  });
4794
5094
  };
4795
- var LiveRegion = styled__default.default.span.withConfig({
5095
+ var LiveRegion = /*#__PURE__*/styled__default.default.span.withConfig({
4796
5096
  displayName: "CodeBlock__LiveRegion",
4797
5097
  componentId: "sc-1p1t0kp-4"
4798
5098
  })(templateObject_5$a || (templateObject_5$a = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"
@@ -4916,24 +5216,24 @@ var CodeBlock = function CodeBlock(_a) {
4916
5216
  })]
4917
5217
  });
4918
5218
  };
4919
- var templateObject_1$h, templateObject_2$f, templateObject_3$e, templateObject_4$c, templateObject_5$a;
5219
+ var templateObject_1$h, templateObject_2$f, templateObject_3$f, templateObject_4$c, templateObject_5$a;
4920
5220
 
4921
- var StyledHeader$1 = styled__default.default.div.withConfig({
5221
+ var StyledHeader$1 = /*#__PURE__*/styled__default.default.div.withConfig({
4922
5222
  displayName: "DateGroup__StyledHeader",
4923
5223
  componentId: "sc-9nfm1f-0"
4924
- })(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"])), data.tokensJson.semantic.spacing.layout.md, data.tokensJson.semantic.spacing.layout.sm, data.tokensJson.semantic.color.background["default"], data.tokensJson.semantic.border.width.thin, data.tokensJson.semantic.color.border["default"], function (_a) {
5224
+ })(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) {
4925
5225
  var $sticky = _a.$sticky;
4926
- return $sticky && "\n position: sticky;\n top: 0;\n z-index: ".concat(data.tokensJson.semantic.zIndex.sticky, ";\n box-shadow: ").concat(data.tokensJson.semantic.elevation.sticky, ";\n ");
5226
+ 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 ");
4927
5227
  });
4928
- var StyledLeftSection = styled__default.default.div.withConfig({
5228
+ var StyledLeftSection = /*#__PURE__*/styled__default.default.div.withConfig({
4929
5229
  displayName: "DateGroup__StyledLeftSection",
4930
5230
  componentId: "sc-9nfm1f-1"
4931
- })(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"])), data.tokensJson.semantic.spacing.layout.sm);
4932
- var StyledRightSection = styled__default.default.div.withConfig({
5231
+ })(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 = /*#__PURE__*/styled__default.default.div.withConfig({
4933
5233
  displayName: "DateGroup__StyledRightSection",
4934
5234
  componentId: "sc-9nfm1f-2"
4935
- })(templateObject_3$d || (templateObject_3$d = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\n"], ["\n display: flex;\n align-items: center;\n gap: ", ";\n"])), data.tokensJson.semantic.spacing.layout.md);
4936
- var StyledContent = styled__default.default.div.withConfig({
5235
+ })(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 = /*#__PURE__*/styled__default.default.div.withConfig({
4937
5237
  displayName: "DateGroup__StyledContent",
4938
5238
  componentId: "sc-9nfm1f-3"
4939
5239
  })(templateObject_4$b || (templateObject_4$b = __makeTemplateObject(["\n /* Content area for children */\n"], ["\n /* Content area for children */\n"
@@ -5008,20 +5308,20 @@ var DateGroup = function DateGroup(_a) {
5008
5308
  })]
5009
5309
  });
5010
5310
  };
5011
- var templateObject_1$g, templateObject_2$e, templateObject_3$d, templateObject_4$b;
5311
+ var templateObject_1$g, templateObject_2$e, templateObject_3$e, templateObject_4$b;
5012
5312
 
5013
- var semantic$7 = data.tokensJson.semantic;
5014
- var StyledContainer$1 = styled__default.default.div.withConfig({
5313
+ var semantic$7 = tokens.semantic;
5314
+ var StyledContainer$1 = /*#__PURE__*/styled__default.default.div.withConfig({
5015
5315
  shouldForwardProp: function shouldForwardProp(prop) {
5016
5316
  return !prop.startsWith('$');
5017
5317
  },
5018
5318
  displayName: "EmptyState__StyledContainer",
5019
5319
  componentId: "sc-1u5hxh-0"
5020
- })(templateObject_1$f || (templateObject_1$f = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n max-width: ", ";\n margin: 0 auto;\n padding: ", ";\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n max-width: ", ";\n margin: 0 auto;\n padding: ", ";\n"])), data.tokensJson.component.emptyState.maxWidth, function (_a) {
5320
+ })(templateObject_1$f || (templateObject_1$f = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n max-width: ", ";\n margin: 0 auto;\n padding: ", ";\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n max-width: ", ";\n margin: 0 auto;\n padding: ", ";\n"])), tokens.component.emptyState.maxWidth, function (_a) {
5021
5321
  var $size = _a.$size;
5022
- return $size === 'small' ? semantic$7.spacing.layout['4xl'] : $size === 'large' ? semantic$7.spacing.layout['8xl'] : semantic$7.spacing.layout['6xl'];
5322
+ return $size === 'small' ? semantic$7.space[800] : $size === 'large' ? semantic$7.space[1400] : semantic$7.space[1000];
5023
5323
  });
5024
- var StyledIllustration = styled__default.default.div.withConfig({
5324
+ var StyledIllustration = /*#__PURE__*/styled__default.default.div.withConfig({
5025
5325
  shouldForwardProp: function shouldForwardProp(prop) {
5026
5326
  return !prop.startsWith('$');
5027
5327
  },
@@ -5029,20 +5329,20 @@ var StyledIllustration = styled__default.default.div.withConfig({
5029
5329
  componentId: "sc-1u5hxh-1"
5030
5330
  })(templateObject_2$d || (templateObject_2$d = __makeTemplateObject(["\n width: ", ";\n height: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: ", ";\n color: ", ";\n"], ["\n width: ", ";\n height: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: ", ";\n color: ", ";\n"])), function (_a) {
5031
5331
  var $size = _a.$size;
5032
- return $size === 'small' ? data.tokensJson.component.emptyState.illustration.small : $size === 'large' ? data.tokensJson.component.emptyState.illustration.large : data.tokensJson.component.emptyState.illustration.medium;
5332
+ return $size === 'small' ? tokens.component.emptyState.illustration.small : $size === 'large' ? tokens.component.emptyState.illustration.large : tokens.component.emptyState.illustration.medium;
5033
5333
  }, function (_a) {
5034
5334
  var $size = _a.$size;
5035
- return $size === 'small' ? data.tokensJson.component.emptyState.illustration.small : $size === 'large' ? data.tokensJson.component.emptyState.illustration.large : data.tokensJson.component.emptyState.illustration.medium;
5036
- }, semantic$7.spacing.layout['2xl'], function (_a) {
5335
+ return $size === 'small' ? tokens.component.emptyState.illustration.small : $size === 'large' ? tokens.component.emptyState.illustration.large : tokens.component.emptyState.illustration.medium;
5336
+ }, semantic$7.space[600], function (_a) {
5037
5337
  var $variant = _a.$variant;
5038
- return $variant === 'error' ? semantic$7.color.icon.error : $variant === 'success' ? semantic$7.color.icon.success : semantic$7.color.icon.subdued;
5338
+ return $variant === 'error' ? semantic$7.color.icon.danger : $variant === 'success' ? semantic$7.color.icon.success : semantic$7.color.icon.muted;
5039
5339
  });
5040
- var StyledTextContainer = styled__default.default.div.withConfig({
5340
+ var StyledTextContainer = /*#__PURE__*/styled__default.default.div.withConfig({
5041
5341
  displayName: "EmptyState__StyledTextContainer",
5042
5342
  componentId: "sc-1u5hxh-2"
5043
- })(templateObject_3$c || (templateObject_3$c = __makeTemplateObject(["\n max-width: ", ";\n margin-bottom: ", ";\n"], ["\n max-width: ", ";\n margin-bottom: ", ";\n"
5343
+ })(templateObject_3$d || (templateObject_3$d = __makeTemplateObject(["\n max-width: ", ";\n margin-bottom: ", ";\n"], ["\n max-width: ", ";\n margin-bottom: ", ";\n"
5044
5344
  // Map illustration type to icon name
5045
- ])), data.tokensJson.component.emptyState.text.maxWidth, semantic$7.spacing.layout['2xl']);
5345
+ ])), tokens.component.emptyState.text.maxWidth, semantic$7.space[600]);
5046
5346
  // Map illustration type to icon name
5047
5347
  var illustrationToIcon = {
5048
5348
  search: 'search',
@@ -5097,7 +5397,7 @@ var EmptyState = function EmptyState(_a) {
5097
5397
  children: title
5098
5398
  }), jsxRuntime.jsx("div", {
5099
5399
  style: {
5100
- marginTop: semantic$7.spacing.layout.md
5400
+ marginTop: semantic$7.space[300]
5101
5401
  },
5102
5402
  children: jsxRuntime.jsx(Typography, {
5103
5403
  variant: "body",
@@ -5107,7 +5407,7 @@ var EmptyState = function EmptyState(_a) {
5107
5407
  })]
5108
5408
  }), (action || secondaryAction) && jsxRuntime.jsx(Box, {
5109
5409
  width: "100%",
5110
- maxWidth: data.tokensJson.component.emptyState.actions.maxWidth,
5410
+ maxWidth: tokens.component.emptyState.actions.maxWidth,
5111
5411
  children: jsxRuntime.jsxs(Stack, {
5112
5412
  direction: "column",
5113
5413
  gap: "sm",
@@ -5127,28 +5427,26 @@ var EmptyState = function EmptyState(_a) {
5127
5427
  })]
5128
5428
  });
5129
5429
  };
5130
- var templateObject_1$f, templateObject_2$d, templateObject_3$c;
5430
+ var templateObject_1$f, templateObject_2$d, templateObject_3$d;
5131
5431
 
5132
- var _a$1 = data.tokensJson.semantic,
5133
- spacing$1 = _a$1.spacing.layout,
5134
- border$2 = _a$1.border;
5135
- var FeatureBlockStyled = styled__default.default.div.withConfig({
5432
+ var space$5 = tokens.semantic.space;
5433
+ var FeatureBlockStyled = /*#__PURE__*/styled__default.default.div.withConfig({
5136
5434
  displayName: "FeatureBlock__FeatureBlockStyled",
5137
5435
  componentId: "sc-1mi4lso-0"
5138
- })(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 img {\n border-radius: ", ";\n transition: opacity ", " ", ";\n\n &:hover {\n opacity: 0.8;\n }\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 img {\n border-radius: ", ";\n transition: opacity ", " ", ";\n\n &:hover {\n opacity: 0.8;\n }\n }\n\n a {\n text-decoration: none;\n }\n"])), data.tokensJson.semantic.breakpoint.md, data.tokensJson.semantic.breakpoint.lg, spacing$1['7xl'], border$2.radius['2xl'], data.tokensJson.semantic.motion.duration.normal, data.tokensJson.semantic.motion.easing.easeOut);
5139
- var ImageWrapper = styled__default.default.div.withConfig({
5436
+ })(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 = /*#__PURE__*/styled__default.default.div.withConfig({
5140
5438
  displayName: "FeatureBlock__ImageWrapper",
5141
5439
  componentId: "sc-1mi4lso-1"
5142
- })(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"])), data.tokensJson.semantic.breakpoint.lg);
5143
- var ContentSection = styled__default.default.div.withConfig({
5440
+ })(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 = /*#__PURE__*/styled__default.default.div.withConfig({
5144
5442
  displayName: "FeatureBlock__ContentSection",
5145
5443
  componentId: "sc-1mi4lso-2"
5146
- })(templateObject_3$b || (templateObject_3$b = __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"])), spacing$1['2xl'], data.tokensJson.semantic.breakpoint.lg, spacing$1['4xl'], data.tokensJson.semantic.breakpoint.xl, spacing$1['11xl']);
5147
- var ButtonWrapper = styled__default.default.div.withConfig({
5444
+ })(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 = /*#__PURE__*/styled__default.default.div.withConfig({
5148
5446
  displayName: "FeatureBlock__ButtonWrapper",
5149
5447
  componentId: "sc-1mi4lso-3"
5150
- })(templateObject_4$a || (templateObject_4$a = __makeTemplateObject(["\n button {\n margin-top: ", ";\n }\n"], ["\n button {\n margin-top: ", ";\n }\n"])), spacing$1.lg);
5151
- var ContentWrapper = styled__default.default.div.withConfig({
5448
+ })(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 = /*#__PURE__*/styled__default.default.div.withConfig({
5152
5450
  displayName: "FeatureBlock__ContentWrapper",
5153
5451
  componentId: "sc-1mi4lso-4"
5154
5452
  })(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"])));
@@ -5210,64 +5508,66 @@ var FeatureBlock = function FeatureBlock(_a) {
5210
5508
  }), jsxRuntime.jsx(Divider, {})]
5211
5509
  });
5212
5510
  };
5213
- var templateObject_1$e, templateObject_2$c, templateObject_3$b, templateObject_4$a, templateObject_5$9;
5511
+ var templateObject_1$e, templateObject_2$c, templateObject_3$c, templateObject_4$a, templateObject_5$9;
5214
5512
 
5215
- var _a = data.tokensJson.semantic,
5216
- color$1 = _a.color,
5217
- border$1 = _a.border,
5218
- zIndex = _a.zIndex,
5513
+ var _a = tokens.semantic,
5514
+ border = _a.border,
5219
5515
  elevation$1 = _a.elevation,
5220
5516
  motion$1 = _a.motion,
5221
- spacing = _a.spacing.layout,
5222
- _b = data.tokensJson.component,
5517
+ space$4 = _a.space,
5518
+ _b = tokens.component,
5223
5519
  input$1 = _b.input,
5224
5520
  field$3 = _b.field;
5225
5521
  // Spacing comes from the semantic scales: no component spacing tokens (decision 0022).
5226
- // The 11px vertical padding is off-grid and keeps its deprecated token until #129.
5227
- var controlPaddingX = data.tokensJson.semantic.spacing.component.lg;
5522
+ // The trigger and options take their height from size.control.lg as a minimum and centre
5523
+ // their content (decision 0034). The small vertical padding only matters when a long
5524
+ // label wraps; a single line is shorter than the minimum.
5525
+ var controlPaddingX = tokens.semantic.space.inset.lg;
5526
+ var controlPaddingY = space$4[200];
5527
+ var controlHeight = tokens.semantic.size.control.lg;
5228
5528
  var duration = motion$1.duration,
5229
5529
  easing = motion$1.easing;
5230
- var DropdownContainer = styled__default.default.div.withConfig({
5530
+ var DropdownContainer = /*#__PURE__*/styled__default.default.div.withConfig({
5231
5531
  displayName: "Dropdown__DropdownContainer",
5232
5532
  componentId: "sc-kz07c4-0"
5233
5533
  })(templateObject_1$d || (templateObject_1$d = __makeTemplateObject(["\n position: relative;\n width: 100%;\n"], ["\n position: relative;\n width: 100%;\n"])));
5234
- var DropdownTrigger = styled__default.default.button.withConfig({
5534
+ var DropdownTrigger = /*#__PURE__*/styled__default.default.button.withConfig({
5235
5535
  shouldForwardProp: function shouldForwardProp(prop) {
5236
5536
  return !prop.startsWith('$');
5237
5537
  },
5238
5538
  displayName: "Dropdown__DropdownTrigger",
5239
5539
  componentId: "sc-kz07c4-1"
5240
- })(templateObject_2$b || (templateObject_2$b = __makeTemplateObject(["\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: ", " ", ";\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n font: ", ";\n color: ", ";\n cursor: pointer;\n transition: border-color ", " ", ",\n outline ", " ", ";\n \n &:hover:not(:disabled) {\n border-color: ", ";\n }\n \n &:focus {\n border-color: ", ";\n outline: ", ";\n outline-offset: ", ";\n }\n \n &:disabled {\n background-color: ", ";\n color: ", ";\n border-color: ", ";\n cursor: not-allowed;\n }\n \n ", "\n"], ["\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: ", " ", ";\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n font: ", ";\n color: ", ";\n cursor: pointer;\n transition: border-color ", " ", ",\n outline ", " ", ";\n \n &:hover:not(:disabled) {\n border-color: ", ";\n }\n \n &:focus {\n border-color: ", ";\n outline: ", ";\n outline-offset: ", ";\n }\n \n &:disabled {\n background-color: ", ";\n color: ", ";\n border-color: ", ";\n cursor: not-allowed;\n }\n \n ", "\n"])), input$1["default"].paddingY, controlPaddingX, input$1["default"].backgroundColor, input$1["default"].borderWidth, function (_a) {
5540
+ })(templateObject_2$b || (templateObject_2$b = __makeTemplateObject(["\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n box-sizing: border-box; /* the min-height includes the border, without relying on a global reset */\n min-height: ", ";\n padding: ", " ", ";\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n font: ", ";\n color: ", ";\n cursor: pointer;\n transition: border-color ", " ", ",\n outline ", " ", ";\n \n &:hover:not(:disabled) {\n border-color: ", ";\n }\n \n &:focus {\n border-color: ", ";\n outline: ", ";\n outline-offset: ", ";\n }\n \n &:disabled {\n background-color: ", ";\n color: ", ";\n border-color: ", ";\n cursor: not-allowed;\n }\n \n ", "\n"], ["\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n box-sizing: border-box; /* the min-height includes the border, without relying on a global reset */\n min-height: ", ";\n padding: ", " ", ";\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n font: ", ";\n color: ", ";\n cursor: pointer;\n transition: border-color ", " ", ",\n outline ", " ", ";\n \n &:hover:not(:disabled) {\n border-color: ", ";\n }\n \n &:focus {\n border-color: ", ";\n outline: ", ";\n outline-offset: ", ";\n }\n \n &:disabled {\n background-color: ", ";\n color: ", ";\n border-color: ", ";\n cursor: not-allowed;\n }\n \n ", "\n"])), controlHeight, controlPaddingY, controlPaddingX, input$1["default"].backgroundColor, input$1["default"].borderWidth, function (_a) {
5241
5541
  var $hasError = _a.$hasError;
5242
5542
  return $hasError ? input$1.error.borderColor : input$1["default"].borderColor;
5243
- }, input$1["default"].borderRadius, input$1["default"].font, input$1["default"].textColor, duration.normal, easing.easeInOut, duration.normal, easing.easeInOut, function (_a) {
5543
+ }, input$1["default"].borderRadius, input$1["default"].font, input$1["default"].textColor, duration.moderate, easing.standard, duration.moderate, easing.standard, function (_a) {
5244
5544
  var $hasError = _a.$hasError;
5245
5545
  return $hasError ? input$1.error.hover.borderColor : input$1.hover.borderColor;
5246
5546
  }, function (_a) {
5247
5547
  var $hasError = _a.$hasError;
5248
5548
  return $hasError ? input$1.error.focus.borderColor : input$1.focus.borderColor;
5249
- }, input$1.focus.outline, border$1.focusOffset, input$1.disabled.backgroundColor, input$1.disabled.textColor, input$1.disabled.borderColor, function (_a) {
5549
+ }, input$1.focus.outline, border.focusOffset, input$1.disabled.backgroundColor, input$1.disabled.textColor, input$1.disabled.borderColor, function (_a) {
5250
5550
  var $isOpen = _a.$isOpen,
5251
5551
  $hasError = _a.$hasError;
5252
5552
  return $isOpen && "\n border-color: ".concat($hasError ? input$1.error.focus.borderColor : input$1.focus.borderColor, ";\n ");
5253
5553
  });
5254
- var DropdownIcon = styled__default.default.div.withConfig({
5554
+ var DropdownIcon = /*#__PURE__*/styled__default.default.div.withConfig({
5255
5555
  shouldForwardProp: function shouldForwardProp(prop) {
5256
5556
  return !prop.startsWith('$');
5257
5557
  },
5258
5558
  displayName: "Dropdown__DropdownIcon",
5259
5559
  componentId: "sc-kz07c4-2"
5260
- })(templateObject_3$a || (templateObject_3$a = __makeTemplateObject(["\n display: flex;\n align-items: center;\n margin-left: ", ";\n transition: transform ", " ", ";\n \n ", "\n\n ", " {\n transition: none;\n }\n"], ["\n display: flex;\n align-items: center;\n margin-left: ", ";\n transition: transform ", " ", ";\n \n ", "\n\n ", " {\n transition: none;\n }\n"])), spacing.sm, duration.fast, easing.easeOut, function (_a) {
5560
+ })(templateObject_3$b || (templateObject_3$b = __makeTemplateObject(["\n display: flex;\n align-items: center;\n margin-left: ", ";\n transition: transform ", " ", ";\n \n ", "\n\n ", " {\n transition: none;\n }\n"], ["\n display: flex;\n align-items: center;\n margin-left: ", ";\n transition: transform ", " ", ";\n \n ", "\n\n ", " {\n transition: none;\n }\n"])), space$4[200], duration.fast, easing.decelerate, function (_a) {
5261
5561
  var $isOpen = _a.$isOpen;
5262
5562
  return $isOpen && "\n transform: rotate(180deg);\n ";
5263
5563
  }, reducedMotion);
5264
- var DropdownMenu = styled__default.default.div.withConfig({
5564
+ var DropdownMenu = /*#__PURE__*/styled__default.default.div.withConfig({
5265
5565
  shouldForwardProp: function shouldForwardProp(prop) {
5266
5566
  return !prop.startsWith('$');
5267
5567
  },
5268
5568
  displayName: "Dropdown__DropdownMenu",
5269
5569
  componentId: "sc-kz07c4-3"
5270
- })(templateObject_4$9 || (templateObject_4$9 = __makeTemplateObject(["\n position: absolute;\n top: 100%;\n left: 0;\n right: 0;\n z-index: ", ";\n background-color: ", ";\n /* A decorative outline: elevation separates the menu, and only the trigger is a control edge (decision 0025) */\n border: ", ";\n border-radius: ", ";\n box-shadow: ", ";\n margin-top: ", ";\n overflow: hidden;\n opacity: ", ";\n visibility: ", ";\n transform: ", ";\n transition: all ", " ", ";\n max-height: ", ";\n overflow-y: auto;\n\n ", " {\n transform: none;\n }\n"], ["\n position: absolute;\n top: 100%;\n left: 0;\n right: 0;\n z-index: ", ";\n background-color: ", ";\n /* A decorative outline: elevation separates the menu, and only the trigger is a control edge (decision 0025) */\n border: ", ";\n border-radius: ", ";\n box-shadow: ", ";\n margin-top: ", ";\n overflow: hidden;\n opacity: ", ";\n visibility: ", ";\n transform: ", ";\n transition: all ", " ", ";\n max-height: ", ";\n overflow-y: auto;\n\n ", " {\n transform: none;\n }\n"])), zIndex.dropdown, input$1["default"].backgroundColor, border$1.subtle, input$1["default"].borderRadius, elevation$1.floating, spacing.xs, function (_a) {
5570
+ })(templateObject_4$9 || (templateObject_4$9 = __makeTemplateObject(["\n position: absolute;\n top: 100%;\n left: 0;\n right: 0;\n z-index: ", ";\n background-color: ", ";\n /* A decorative outline: elevation separates the menu, and only the trigger is a control edge (decision 0025) */\n border: ", ";\n border-radius: ", ";\n box-shadow: ", ";\n margin-top: ", ";\n overflow: hidden;\n opacity: ", ";\n visibility: ", ";\n transform: ", ";\n transition: opacity ", " ", ",\n visibility ", " ", ",\n transform ", " ", ";\n max-height: ", ";\n overflow-y: auto;\n\n ", " {\n transform: none;\n }\n"], ["\n position: absolute;\n top: 100%;\n left: 0;\n right: 0;\n z-index: ", ";\n background-color: ", ";\n /* A decorative outline: elevation separates the menu, and only the trigger is a control edge (decision 0025) */\n border: ", ";\n border-radius: ", ";\n box-shadow: ", ";\n margin-top: ", ";\n overflow: hidden;\n opacity: ", ";\n visibility: ", ";\n transform: ", ";\n transition: opacity ", " ", ",\n visibility ", " ", ",\n transform ", " ", ";\n max-height: ", ";\n overflow-y: auto;\n\n ", " {\n transform: none;\n }\n"])), tokens.semantic.layer.dropdown, input$1["default"].backgroundColor, border.emphasis, input$1["default"].borderRadius, elevation$1.floating, space$4[100], function (_a) {
5271
5571
  var $isOpen = _a.$isOpen;
5272
5572
  return $isOpen ? 1 : 0;
5273
5573
  }, function (_a) {
@@ -5275,45 +5575,29 @@ var DropdownMenu = styled__default.default.div.withConfig({
5275
5575
  return $isOpen ? 'visible' : 'hidden';
5276
5576
  }, function (_a) {
5277
5577
  var $isOpen = _a.$isOpen;
5278
- return $isOpen ? 'translateY(0)' : "translateY(-".concat(spacing.sm, ")");
5279
- }, duration.fast, easing.easeOut, data.tokensJson.semantic.size.menu.maxHeight, reducedMotion);
5280
- var DropdownOption = styled__default.default.button.withConfig({
5578
+ return $isOpen ? 'translateY(0)' : "translateY(calc(-1 * ".concat(tokens.semantic.motion.distance.sm, "))");
5579
+ }, duration.fast, easing.decelerate, duration.fast, easing.decelerate, duration.fast, easing.decelerate, tokens.semantic.size.menu.maxHeight, reducedMotion);
5580
+ var DropdownOption = /*#__PURE__*/styled__default.default.button.withConfig({
5281
5581
  shouldForwardProp: function shouldForwardProp(prop) {
5282
5582
  return !prop.startsWith('$');
5283
5583
  },
5284
5584
  displayName: "Dropdown__DropdownOption",
5285
5585
  componentId: "sc-kz07c4-4"
5286
- })(templateObject_5$8 || (templateObject_5$8 = __makeTemplateObject(["\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: ", ";\n padding: ", " ", ";\n /* Focus is grey; only the selected option is light blue, and the text darkens with its fill on\n focus, hover and press so it stays at least 4.5:1 (decisions 0016, 0029) */\n background-color: ", ";\n border: none;\n font: ", ";\n color: ", ";\n text-align: left;\n cursor: pointer;\n transition: background-color ", " ", ", color ", " ", ";\n \n &:hover {\n background-color: ", ";\n color: ", ";\n }\n\n &:active {\n background-color: ", ";\n color: ", ";\n }\n \n &:focus {\n outline: none;\n }\n \n &:not(:last-child) {\n border-bottom: ", ";\n }\n"], ["\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: ", ";\n padding: ", " ", ";\n /* Focus is grey; only the selected option is light blue, and the text darkens with its fill on\n focus, hover and press so it stays at least 4.5:1 (decisions 0016, 0029) */\n background-color: ", ";\n border: none;\n font: ", ";\n color: ", ";\n text-align: left;\n cursor: pointer;\n transition: background-color ", " ", ", color ", " ", ";\n \n &:hover {\n background-color: ", ";\n color: ", ";\n }\n\n &:active {\n background-color: ", ";\n color: ", ";\n }\n \n &:focus {\n outline: none;\n }\n \n &:not(:last-child) {\n border-bottom: ", ";\n }\n"])), spacing.sm, input$1["default"].paddingY, controlPaddingX, function (_a) {
5287
- var $isSelected = _a.$isSelected,
5288
- $isFocused = _a.$isFocused;
5289
- if ($isSelected) return $isFocused ? color$1.background['interactive-subtle-hover'] : color$1.background['interactive-subtle'];
5290
- if ($isFocused) return color$1.background.surface;
5291
- return 'transparent';
5292
- }, input$1["default"].font, function (_a) {
5586
+ })(templateObject_5$8 || (templateObject_5$8 = __makeTemplateObject(["\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: ", ";\n box-sizing: border-box; /* the min-height includes the border, without relying on a global reset */\n min-height: ", ";\n padding: ", " ", ";\n border: none;\n font: ", ";\n color: ", ";\n text-align: left;\n cursor: pointer;\n transition: background-color ", " ", ", color ", " ", ";\n\n /* The shared row states (decisions 0029, 0030): focus shows the hover state in grey; only the\n selected option is light blue, with its text darkening with the fill */\n ", "\n \n &:focus {\n outline: none;\n }\n \n &:not(:last-child) {\n border-bottom: ", ";\n }\n"], ["\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: ", ";\n box-sizing: border-box; /* the min-height includes the border, without relying on a global reset */\n min-height: ", ";\n padding: ", " ", ";\n border: none;\n font: ", ";\n color: ", ";\n text-align: left;\n cursor: pointer;\n transition: background-color ", " ", ", color ", " ", ";\n\n /* The shared row states (decisions 0029, 0030): focus shows the hover state in grey; only the\n selected option is light blue, with its text darkening with the fill */\n ", "\n \n &:focus {\n outline: none;\n }\n \n &:not(:last-child) {\n border-bottom: ", ";\n }\n"])), space$4[200], controlHeight, controlPaddingY, controlPaddingX, input$1["default"].font, input$1["default"].textColor, duration.fast, easing.decelerate, duration.fast, easing.decelerate, function (_a) {
5293
5587
  var $isSelected = _a.$isSelected,
5294
5588
  $isFocused = _a.$isFocused;
5295
- if ($isSelected) return $isFocused ? color$1.text['interactive-hover'] : color$1.text.interactive;
5296
- return input$1["default"].textColor;
5297
- }, duration.fast, easing.easeOut, duration.fast, easing.easeOut, function (_a) {
5298
- var $isSelected = _a.$isSelected;
5299
- return $isSelected ? color$1.background['interactive-subtle-hover'] : color$1.background.surface;
5300
- }, function (_a) {
5301
- var $isSelected = _a.$isSelected;
5302
- return $isSelected ? color$1.text['interactive-hover'] : input$1["default"].textColor;
5303
- }, function (_a) {
5304
- var $isSelected = _a.$isSelected;
5305
- return $isSelected ? color$1.background['interactive-subtle-active'] : color$1.background.neutral;
5306
- }, function (_a) {
5307
- var $isSelected = _a.$isSelected;
5308
- return $isSelected ? color$1.text['interactive-active'] : input$1["default"].textColor;
5309
- }, border$1.subtle);
5310
- var StyledHelperText$3 = styled__default.default.div.withConfig({
5589
+ return interactiveRow({
5590
+ selected: $isSelected,
5591
+ focused: $isFocused
5592
+ });
5593
+ }, border.emphasis);
5594
+ var StyledHelperText$3 = /*#__PURE__*/styled__default.default.div.withConfig({
5311
5595
  displayName: "Dropdown__StyledHelperText",
5312
5596
  componentId: "sc-kz07c4-5"
5313
5597
  })(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) {
5314
5598
  var $hasError = _a.$hasError;
5315
5599
  return $hasError ? field$3.helperText.colorError : field$3.helperText.color;
5316
- }, spacing.sm);
5600
+ }, space$4[200]);
5317
5601
  var Dropdown = function Dropdown(_a) {
5318
5602
  var options = _a.options,
5319
5603
  value = _a.value,
@@ -5436,7 +5720,7 @@ var Dropdown = function Dropdown(_a) {
5436
5720
  htmlFor: dropdownId,
5437
5721
  style: {
5438
5722
  display: 'block',
5439
- marginBottom: spacing.sm
5723
+ marginBottom: space$4[200]
5440
5724
  },
5441
5725
  children: jsxRuntime.jsx(Typography, {
5442
5726
  variant: "label",
@@ -5493,10 +5777,10 @@ var Dropdown = function Dropdown(_a) {
5493
5777
  })]
5494
5778
  });
5495
5779
  };
5496
- var templateObject_1$d, templateObject_2$b, templateObject_3$a, templateObject_4$9, templateObject_5$8, templateObject_6$7;
5780
+ var templateObject_1$d, templateObject_2$b, templateObject_3$b, templateObject_4$9, templateObject_5$8, templateObject_6$7;
5497
5781
 
5498
- var semantic$6 = data.tokensJson.semantic;
5499
- var StyledList = styled__default.default.ul.withConfig({
5782
+ var semantic$6 = tokens.semantic;
5783
+ var StyledList = /*#__PURE__*/styled__default.default.ul.withConfig({
5500
5784
  shouldForwardProp: function shouldForwardProp(prop) {
5501
5785
  return !prop.startsWith('$');
5502
5786
  },
@@ -5530,19 +5814,18 @@ var List = function List(_a) {
5530
5814
  List.displayName = 'List';
5531
5815
  var templateObject_1$c;
5532
5816
 
5533
- var semantic$5 = data.tokensJson.semantic;
5534
- var layout = semantic$5.spacing.layout,
5817
+ var semantic$5 = tokens.semantic;
5818
+ var space$3 = semantic$5.space,
5535
5819
  color = semantic$5.color,
5536
- border = semantic$5.border,
5537
5820
  elevation = semantic$5.elevation,
5538
5821
  motion = semantic$5.motion;
5539
5822
  // ---------------------------------------------------------------------------
5540
5823
  // Size map
5541
5824
  // ---------------------------------------------------------------------------
5542
5825
  var sizeToWidth = {
5543
- small: data.tokensJson.semantic.size.overlay.sm,
5544
- medium: data.tokensJson.semantic.size.overlay.md,
5545
- large: data.tokensJson.semantic.size.overlay.lg
5826
+ small: tokens.semantic.size.overlay.sm,
5827
+ medium: tokens.semantic.size.overlay.md,
5828
+ large: tokens.semantic.size.overlay.lg
5546
5829
  };
5547
5830
  // ---------------------------------------------------------------------------
5548
5831
  // Animations
@@ -5556,41 +5839,41 @@ var scaleIn = styled.keyframes(templateObject_2$a || (templateObject_2$a = __mak
5556
5839
  // ---------------------------------------------------------------------------
5557
5840
  // Styled components
5558
5841
  // ---------------------------------------------------------------------------
5559
- var StyledOverlay$1 = styled__default.default.div.withConfig({
5842
+ var StyledOverlay$1 = /*#__PURE__*/styled__default.default.div.withConfig({
5560
5843
  displayName: "Modal__StyledOverlay",
5561
5844
  componentId: "sc-1d3g5gh-0"
5562
- })(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"])), color.background.overlay, semantic$5.zIndex.modal, styled.css(templateObject_3$9 || (templateObject_3$9 = __makeTemplateObject(["animation: ", " ", " ", "", ";"], ["animation: ", " ", " ", "", ";"])), fadeIn$1, motion.duration.normal, motion.easing.easeOut, function (_a) {
5845
+ })(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) {
5563
5846
  var $isExiting = _a.$isExiting;
5564
5847
  return $isExiting && exitAnimation;
5565
5848
  }));
5566
- var StyledDialog = styled__default.default.div.withConfig({
5849
+ var StyledDialog = /*#__PURE__*/styled__default.default.div.withConfig({
5567
5850
  shouldForwardProp: function shouldForwardProp(prop) {
5568
5851
  return !prop.startsWith('$');
5569
5852
  },
5570
5853
  displayName: "Modal__StyledDialog",
5571
5854
  componentId: "sc-1d3g5gh-1"
5572
- })(templateObject_6$6 || (templateObject_6$6 = __makeTemplateObject(["\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%) scale(1);\n z-index: ", ";\n\n width: ", ";\n max-width: calc(100vw - ", " * 2);\n max-height: calc(100vh - ", " * 2);\n\n display: flex;\n flex-direction: column;\n\n background-color: ", ";\n border-radius: ", ";\n box-shadow: ", ";\n overflow: hidden;\n\n ", "\n\n ", " {\n animation: ", " ", " ", "", ";\n }\n\n /* Auto-fullscreen below md breakpoint (768px) */\n @media (max-width: ", ") {\n width: 100vw;\n height: 100vh;\n max-width: 100vw;\n max-height: 100vh;\n border-radius: 0;\n top: 0;\n left: 0;\n transform: none;\n animation: ", " ", " ", "", ";\n }\n\n &:focus {\n outline: none;\n }\n\n"], ["\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%) scale(1);\n z-index: ", ";\n\n width: ", ";\n max-width: calc(100vw - ", " * 2);\n max-height: calc(100vh - ", " * 2);\n\n display: flex;\n flex-direction: column;\n\n background-color: ", ";\n border-radius: ", ";\n box-shadow: ", ";\n overflow: hidden;\n\n ", "\n\n ", " {\n animation: ", " ", " ", "", ";\n }\n\n /* Auto-fullscreen below md breakpoint (768px) */\n @media (max-width: ", ") {\n width: 100vw;\n height: 100vh;\n max-width: 100vw;\n max-height: 100vh;\n border-radius: 0;\n top: 0;\n left: 0;\n transform: none;\n animation: ", " ", " ", "", ";\n }\n\n &:focus {\n outline: none;\n }\n\n"])), semantic$5.zIndex.modal, function (_a) {
5855
+ })(templateObject_6$6 || (templateObject_6$6 = __makeTemplateObject(["\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%) scale(1);\n z-index: ", ";\n\n width: ", ";\n max-width: calc(100vw - ", " * 2);\n max-height: calc(100vh - ", " * 2);\n\n display: flex;\n flex-direction: column;\n\n background-color: ", ";\n border-radius: ", ";\n box-shadow: ", ";\n overflow: hidden;\n\n ", "\n\n ", " {\n animation: ", " ", " ", "", ";\n }\n\n /* Auto-fullscreen below md breakpoint (768px) */\n @media (max-width: ", ") {\n width: 100vw;\n height: 100vh;\n max-width: 100vw;\n max-height: 100vh;\n border-radius: 0;\n top: 0;\n left: 0;\n transform: none;\n animation: ", " ", " ", "", ";\n }\n\n &:focus {\n outline: none;\n }\n\n"], ["\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%) scale(1);\n z-index: ", ";\n\n width: ", ";\n max-width: calc(100vw - ", " * 2);\n max-height: calc(100vh - ", " * 2);\n\n display: flex;\n flex-direction: column;\n\n background-color: ", ";\n border-radius: ", ";\n box-shadow: ", ";\n overflow: hidden;\n\n ", "\n\n ", " {\n animation: ", " ", " ", "", ";\n }\n\n /* Auto-fullscreen below md breakpoint (768px) */\n @media (max-width: ", ") {\n width: 100vw;\n height: 100vh;\n max-width: 100vw;\n max-height: 100vh;\n border-radius: 0;\n top: 0;\n left: 0;\n transform: none;\n animation: ", " ", " ", "", ";\n }\n\n &:focus {\n outline: none;\n }\n\n"])), semantic$5.layer.modal, function (_a) {
5573
5856
  var $width = _a.$width;
5574
5857
  return $width;
5575
- }, layout.lg, layout.lg, color.background.subtle, border.radius.xl, elevation.overlay, styled.css(templateObject_5$7 || (templateObject_5$7 = __makeTemplateObject(["animation: ", " ", " ", "", ";"], ["animation: ", " ", " ", "", ";"])), scaleIn, motion.duration.normal, motion.easing.easeOut, function (_a) {
5858
+ }, space$3[400], space$3[400], semantic$5.surface.raised, semantic$5.radius.xl, elevation.overlay, styled.css(templateObject_5$7 || (templateObject_5$7 = __makeTemplateObject(["animation: ", " ", " ", "", ";"], ["animation: ", " ", " ", "", ";"])), scaleIn, motion.duration.moderate, motion.easing.decelerate, function (_a) {
5576
5859
  var $isExiting = _a.$isExiting;
5577
5860
  return $isExiting && exitAnimation;
5578
- }), reducedMotion, fadeIn$1, motion.duration.normal, motion.easing.easeOut, function (_a) {
5861
+ }), reducedMotion, fadeIn$1, motion.duration.moderate, motion.easing.decelerate, function (_a) {
5579
5862
  var $isExiting = _a.$isExiting;
5580
5863
  return $isExiting && exitAnimation;
5581
- }, semantic$5.breakpoint.md, fadeIn$1, motion.duration.normal, motion.easing.easeOut, function (_a) {
5864
+ }, semantic$5.breakpoint.md, fadeIn$1, motion.duration.moderate, motion.easing.decelerate, function (_a) {
5582
5865
  var $isExiting = _a.$isExiting;
5583
5866
  return $isExiting && exitAnimation;
5584
5867
  });
5585
- var StyledHeader = styled__default.default.div.withConfig({
5868
+ var StyledHeader = /*#__PURE__*/styled__default.default.div.withConfig({
5586
5869
  displayName: "Modal__StyledHeader",
5587
5870
  componentId: "sc-1d3g5gh-2"
5588
- })(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"])), layout.lg, layout.lg);
5589
- var StyledBody = styled__default.default.div.withConfig({
5871
+ })(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 = /*#__PURE__*/styled__default.default.div.withConfig({
5590
5873
  displayName: "Modal__StyledBody",
5591
5874
  componentId: "sc-1d3g5gh-3"
5592
- })(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"])), layout.md, layout.lg, semantic$5.spacing.layout.sm, color.background.surface, color.border["default"], border.radius.circle, color.border.strong);
5593
- var StyledFooter = styled__default.default.div.withConfig({
5875
+ })(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 = /*#__PURE__*/styled__default.default.div.withConfig({
5594
5877
  displayName: "Modal__StyledFooter",
5595
5878
  componentId: "sc-1d3g5gh-4"
5596
5879
  })(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"
@@ -5609,7 +5892,7 @@ var StyledFooter = styled__default.default.div.withConfig({
5609
5892
  * - Locks body scroll while open.
5610
5893
  *
5611
5894
  * Composes: IconButton, Button, Typography, Stack, Divider
5612
- */])), layout.sm, layout.lg, layout.lg);
5895
+ */])), space$3[200], space$3[400], space$3[400]);
5613
5896
  // ---------------------------------------------------------------------------
5614
5897
  // Component
5615
5898
  // ---------------------------------------------------------------------------
@@ -5771,23 +6054,19 @@ var Modal = function Modal(_a) {
5771
6054
  return /*#__PURE__*/reactDom.createPortal(modal, document.body);
5772
6055
  };
5773
6056
  Modal.displayName = 'Modal';
5774
- var templateObject_1$b, templateObject_2$a, templateObject_3$9, templateObject_4$8, templateObject_5$7, templateObject_6$6, templateObject_7$5, templateObject_8$4, templateObject_9$3;
6057
+ var templateObject_1$b, templateObject_2$a, templateObject_3$a, templateObject_4$8, templateObject_5$7, templateObject_6$6, templateObject_7$5, templateObject_8$4, templateObject_9$3;
5775
6058
 
5776
- var input = data.tokensJson.component.input,
5777
- semantic$4 = data.tokensJson.semantic;
5778
- var StyledInputBase = styled__default.default.input.withConfig({
5779
- shouldForwardProp: function shouldForwardProp(prop) {
5780
- return !prop.startsWith('$');
5781
- },
5782
- displayName: "InputBase__StyledInputBase",
5783
- componentId: "sc-1bpf4e8-0"
5784
- })(templateObject_1$a || (templateObject_1$a = __makeTemplateObject(["\n /* Typography */\n font: ", ";\n color: ", ";\n \n /* Layout */\n width: 100%;\n padding: ", " ", ";\n \n /* Visual styling */\n background-color: ", ";\n \n border: ", " solid ", ";\n \n border-radius: ", ";\n \n /* Remove default appearance */\n appearance: none;\n outline: none;\n \n /* Transitions */\n transition: border-color ", " ", ",\n outline ", " ", ";\n \n /* Placeholder */\n &::placeholder {\n color: ", ";\n opacity: 1;\n }\n \n /* Focus state */\n &:focus {\n border-color: ", ";\n outline: ", ";\n outline-offset: ", ";\n }\n \n /* Hover state (only when not disabled) */\n &:hover:not(:disabled) {\n border-color: ", ";\n }\n \n /* Disabled state */\n &:disabled {\n cursor: not-allowed;\n }\n \n /* Remove number input spinners */\n &[type='number']::-webkit-inner-spin-button,\n &[type='number']::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n \n &[type='number'] {\n -moz-appearance: textfield;\n }\n"], ["\n /* Typography */\n font: ", ";\n color: ", ";\n \n /* Layout */\n width: 100%;\n padding: ", " ", ";\n \n /* Visual styling */\n background-color: ", ";\n \n border: ", " solid ", ";\n \n border-radius: ", ";\n \n /* Remove default appearance */\n appearance: none;\n outline: none;\n \n /* Transitions */\n transition: border-color ", " ", ",\n outline ", " ", ";\n \n /* Placeholder */\n &::placeholder {\n color: ", ";\n opacity: 1;\n }\n \n /* Focus state */\n &:focus {\n border-color: ", ";\n outline: ", ";\n outline-offset: ", ";\n }\n \n /* Hover state (only when not disabled) */\n &:hover:not(:disabled) {\n border-color: ", ";\n }\n \n /* Disabled state */\n &:disabled {\n cursor: not-allowed;\n }\n \n /* Remove number input spinners */\n &[type='number']::-webkit-inner-spin-button,\n &[type='number']::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n \n &[type='number'] {\n -moz-appearance: textfield;\n }\n"
6059
+ var input = tokens.component.input,
6060
+ semantic$4 = tokens.semantic;
5785
6061
  /**
5786
- * Base styled textarea with shared styling
5787
- */])), input["default"].font, function (_a) {
6062
+ * Styles shared by the single-line input and the textarea. Each element sets its
6063
+ * own min-height and padding. Interpolating a styled component into another's CSS
6064
+ * inserts its class selector, not its styles, so the sharing goes through `css`.
6065
+ */
6066
+ var inputBaseStyles = styled.css(templateObject_1$a || (templateObject_1$a = __makeTemplateObject(["\n /* Typography */\n font: ", ";\n color: ", ";\n \n /* Layout */\n box-sizing: border-box; /* the min-height includes the border, without relying on a global reset */\n width: 100%;\n \n /* Visual styling */\n background-color: ", ";\n \n border: ", " solid ", ";\n \n border-radius: ", ";\n \n /* Remove default appearance */\n appearance: none;\n outline: none;\n \n /* Transitions */\n transition: border-color ", " ", ",\n outline ", " ", ";\n \n /* Placeholder */\n &::placeholder {\n color: ", ";\n opacity: 1;\n }\n \n /* Focus state */\n &:focus {\n border-color: ", ";\n outline: ", ";\n outline-offset: ", ";\n }\n \n /* Hover state (only when not disabled) */\n &:hover:not(:disabled) {\n border-color: ", ";\n }\n \n /* Disabled state */\n &:disabled {\n cursor: not-allowed;\n }\n \n /* Remove number input spinners */\n &[type='number']::-webkit-inner-spin-button,\n &[type='number']::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n \n &[type='number'] {\n -moz-appearance: textfield;\n }\n"], ["\n /* Typography */\n font: ", ";\n color: ", ";\n \n /* Layout */\n box-sizing: border-box; /* the min-height includes the border, without relying on a global reset */\n width: 100%;\n \n /* Visual styling */\n background-color: ", ";\n \n border: ", " solid ", ";\n \n border-radius: ", ";\n \n /* Remove default appearance */\n appearance: none;\n outline: none;\n \n /* Transitions */\n transition: border-color ", " ", ",\n outline ", " ", ";\n \n /* Placeholder */\n &::placeholder {\n color: ", ";\n opacity: 1;\n }\n \n /* Focus state */\n &:focus {\n border-color: ", ";\n outline: ", ";\n outline-offset: ", ";\n }\n \n /* Hover state (only when not disabled) */\n &:hover:not(:disabled) {\n border-color: ", ";\n }\n \n /* Disabled state */\n &:disabled {\n cursor: not-allowed;\n }\n \n /* Remove number input spinners */\n &[type='number']::-webkit-inner-spin-button,\n &[type='number']::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n \n &[type='number'] {\n -moz-appearance: textfield;\n }\n"])), input["default"].font, function (_a) {
5788
6067
  var $disabled = _a.$disabled;
5789
6068
  return $disabled ? input.disabled.textColor : input["default"].textColor;
5790
- }, input["default"].paddingY, semantic$4.spacing.component.lg, function (_a) {
6069
+ }, function (_a) {
5791
6070
  var $disabled = _a.$disabled;
5792
6071
  return $disabled ? input.disabled.backgroundColor : input["default"].backgroundColor;
5793
6072
  }, input["default"].borderWidth, function (_a) {
@@ -5796,53 +6075,63 @@ var StyledInputBase = styled__default.default.input.withConfig({
5796
6075
  if ($disabled) return input.disabled.borderColor;
5797
6076
  if ($hasError) return input.error.borderColor;
5798
6077
  return input["default"].borderColor;
5799
- }, input["default"].borderRadius, data.tokensJson.semantic.motion.duration.normal, data.tokensJson.semantic.motion.easing.easeInOut, data.tokensJson.semantic.motion.duration.normal, data.tokensJson.semantic.motion.easing.easeInOut, input.placeholder.textColor, function (_a) {
6078
+ }, input["default"].borderRadius, tokens.semantic.motion.duration.moderate, tokens.semantic.motion.easing.standard, tokens.semantic.motion.duration.moderate, tokens.semantic.motion.easing.standard, input.placeholder.textColor, function (_a) {
5800
6079
  var $hasError = _a.$hasError;
5801
6080
  return $hasError ? input.error.focus.borderColor : input.focus.borderColor;
5802
6081
  }, input.focus.outline, semantic$4.border.focusOffset, function (_a) {
5803
6082
  var $hasError = _a.$hasError;
5804
6083
  return $hasError ? input.error.hover.borderColor : input.hover.borderColor;
5805
6084
  });
6085
+ var StyledInputBase = /*#__PURE__*/styled__default.default.input.withConfig({
6086
+ shouldForwardProp: function shouldForwardProp(prop) {
6087
+ return !prop.startsWith('$');
6088
+ },
6089
+ displayName: "InputBase__StyledInputBase",
6090
+ componentId: "sc-1bpf4e8-0"
6091
+ })(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject(["\n ", "\n min-height: ", ";\n padding: 0 ", ";\n"], ["\n ", "\n min-height: ", ";\n padding: 0 ", ";\n"
6092
+ /**
6093
+ * Base styled textarea with shared styling
6094
+ */])), inputBaseStyles, semantic$4.size.control.lg, semantic$4.space.inset.lg);
5806
6095
  /**
5807
6096
  * Base styled textarea with shared styling
5808
6097
  */
5809
- var StyledTextAreaBase = styled__default.default.textarea.withConfig({
6098
+ var StyledTextAreaBase = /*#__PURE__*/styled__default.default.textarea.withConfig({
5810
6099
  shouldForwardProp: function shouldForwardProp(prop) {
5811
6100
  return !prop.startsWith('$');
5812
6101
  },
5813
6102
  displayName: "InputBase__StyledTextAreaBase",
5814
6103
  componentId: "sc-1bpf4e8-1"
5815
- })(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject(["\n /* Inherit all input base styles */\n ", "\n \n /* TextArea specific */\n min-height: ", ";\n resize: vertical;\n font-family: inherit;\n line-height: ", ";\n"], ["\n /* Inherit all input base styles */\n ", "\n \n /* TextArea specific */\n min-height: ", ";\n resize: vertical;\n font-family: inherit;\n line-height: ", ";\n"])), StyledInputBase, data.tokensJson.component.input.textarea.minHeight, data.tokensJson.semantic.lineHeight.normal);
5816
- var templateObject_1$a, templateObject_2$9;
6104
+ })(templateObject_3$9 || (templateObject_3$9 = __makeTemplateObject(["\n ", "\n \n /* TextArea specific: a taller minimum for multi-line entry (decision 0034) */\n min-height: ", ";\n padding: ", " ", ";\n resize: vertical;\n"], ["\n ", "\n \n /* TextArea specific: a taller minimum for multi-line entry (decision 0034) */\n min-height: ", ";\n padding: ", " ", ";\n resize: vertical;\n"])), inputBaseStyles, input.textarea.minHeight, semantic$4.space.inset.md, semantic$4.space.inset.lg);
6105
+ var templateObject_1$a, templateObject_2$9, templateObject_3$9;
5817
6106
 
5818
- var field$2 = data.tokensJson.component.field;
6107
+ var field$2 = tokens.component.field;
5819
6108
  // Gaps come from the semantic spacing scale: no component spacing tokens (decision 0022)
5820
- var gap$2 = data.tokensJson.semantic.spacing.layout;
5821
- var StyledFieldContainer$2 = styled__default.default.div.withConfig({
6109
+ var space$2 = tokens.semantic.space;
6110
+ var StyledFieldContainer$2 = /*#__PURE__*/styled__default.default.div.withConfig({
5822
6111
  displayName: "NumberInput__StyledFieldContainer",
5823
6112
  componentId: "sc-qotc3w-0"
5824
- })(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"])), gap$2.sm);
5825
- var StyledLabel$3 = styled__default.default.label.withConfig({
6113
+ })(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 = /*#__PURE__*/styled__default.default.label.withConfig({
5826
6115
  displayName: "NumberInput__StyledLabel",
5827
6116
  componentId: "sc-qotc3w-1"
5828
- })(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"])), gap$2.xs, field$2.label.typography, field$2.label.color, field$2.label.colorDisabled);
5829
- var StyledRequiredIndicator$2 = styled__default.default.span.withConfig({
6117
+ })(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 = /*#__PURE__*/styled__default.default.span.withConfig({
5830
6119
  displayName: "NumberInput__StyledRequiredIndicator",
5831
6120
  componentId: "sc-qotc3w-2"
5832
6121
  })(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);
5833
- var StyledInputWrapper$2 = styled__default.default.div.withConfig({
6122
+ var StyledInputWrapper$2 = /*#__PURE__*/styled__default.default.div.withConfig({
5834
6123
  displayName: "NumberInput__StyledInputWrapper",
5835
6124
  componentId: "sc-qotc3w-3"
5836
6125
  })(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"])));
5837
- var StyledNumberInput = styled__default.default(StyledInputBase).withConfig({
6126
+ var StyledNumberInput = /*#__PURE__*/styled__default.default(StyledInputBase).withConfig({
5838
6127
  displayName: "NumberInput__StyledNumberInput",
5839
6128
  componentId: "sc-qotc3w-4"
5840
- })(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"])), data.tokensJson.semantic.spacing.layout['6xl']);
5841
- var StyledStepperContainer = styled__default.default.div.withConfig({
6129
+ })(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 = /*#__PURE__*/styled__default.default.div.withConfig({
5842
6131
  displayName: "NumberInput__StyledStepperContainer",
5843
6132
  componentId: "sc-qotc3w-5"
5844
- })(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"])), data.tokensJson.semantic.spacing.layout.sm, data.tokensJson.semantic.spacing.layout.sm);
5845
- var StyledHelperText$2 = styled__default.default.div.withConfig({
6133
+ })(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 = /*#__PURE__*/styled__default.default.div.withConfig({
5846
6135
  displayName: "NumberInput__StyledHelperText",
5847
6136
  componentId: "sc-qotc3w-6"
5848
6137
  })(templateObject_7$4 || (templateObject_7$4 = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n"], ["\n font: ", ";\n color: ", ";\n"
@@ -6071,7 +6360,7 @@ var NumberInput = /*#__PURE__*/React.forwardRef(function (_a, ref) {
6071
6360
  NumberInput.displayName = 'NumberInput';
6072
6361
  var templateObject_1$9, templateObject_2$8, templateObject_3$8, templateObject_4$7, templateObject_5$6, templateObject_6$5, templateObject_7$4;
6073
6362
 
6074
- var PageTitleStyled = styled__default.default.div.withConfig({
6363
+ var PageTitleStyled = /*#__PURE__*/styled__default.default.div.withConfig({
6075
6364
  shouldForwardProp: function shouldForwardProp(prop) {
6076
6365
  return !prop.startsWith('$');
6077
6366
  },
@@ -6090,9 +6379,9 @@ var PageTitleStyled = styled__default.default.div.withConfig({
6090
6379
  * ```
6091
6380
  *
6092
6381
  * For a back link, add an `IconButton` with your own `url` and `aria-label`.
6093
- */])), data.tokensJson.semantic.spacing.layout['2xl'], function (_a) {
6382
+ */])), tokens.semantic.space[600], function (_a) {
6094
6383
  var $hasBackButton = _a.$hasBackButton;
6095
- return $hasBackButton ? data.tokensJson.semantic.spacing.layout.none : data.tokensJson.semantic.spacing.layout['7xl'];
6384
+ return $hasBackButton ? tokens.semantic.space[0] : tokens.semantic.space[1200];
6096
6385
  });
6097
6386
  /**
6098
6387
  * @deprecated PageTitle is a leftover from the personal site (its back button always links to `/music`)
@@ -6136,33 +6425,33 @@ var PageTitle = function PageTitle(_a) {
6136
6425
  };
6137
6426
  var templateObject_1$8;
6138
6427
 
6139
- var field$1 = data.tokensJson.component.field;
6428
+ var field$1 = tokens.component.field;
6140
6429
  // Gaps come from the semantic spacing scale: no component spacing tokens (decision 0022)
6141
- var gap$1 = data.tokensJson.semantic.spacing.layout;
6142
- var StyledFieldContainer$1 = styled__default.default.div.withConfig({
6430
+ var space$1 = tokens.semantic.space;
6431
+ var StyledFieldContainer$1 = /*#__PURE__*/styled__default.default.div.withConfig({
6143
6432
  displayName: "PasswordField__StyledFieldContainer",
6144
6433
  componentId: "sc-1p15zk0-0"
6145
- })(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"])), gap$1.sm);
6146
- var StyledLabel$2 = styled__default.default.label.withConfig({
6434
+ })(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 = /*#__PURE__*/styled__default.default.label.withConfig({
6147
6436
  displayName: "PasswordField__StyledLabel",
6148
6437
  componentId: "sc-1p15zk0-1"
6149
- })(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"])), gap$1.xs, field$1.label.typography, field$1.label.color, field$1.label.colorDisabled);
6150
- var StyledRequiredIndicator$1 = styled__default.default.span.withConfig({
6438
+ })(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 = /*#__PURE__*/styled__default.default.span.withConfig({
6151
6440
  displayName: "PasswordField__StyledRequiredIndicator",
6152
6441
  componentId: "sc-1p15zk0-2"
6153
6442
  })(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);
6154
- var StyledHelperText$1 = styled__default.default.div.withConfig({
6443
+ var StyledHelperText$1 = /*#__PURE__*/styled__default.default.div.withConfig({
6155
6444
  displayName: "PasswordField__StyledHelperText",
6156
6445
  componentId: "sc-1p15zk0-3"
6157
6446
  })(templateObject_4$6 || (templateObject_4$6 = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n"], ["\n font: ", ";\n color: ", ";\n"])), field$1.helperText.typography, function (_a) {
6158
6447
  var $hasError = _a.$hasError;
6159
6448
  return $hasError ? field$1.helperText.colorError : field$1.helperText.color;
6160
6449
  });
6161
- var StyledInputWrapper$1 = styled__default.default.div.withConfig({
6450
+ var StyledInputWrapper$1 = /*#__PURE__*/styled__default.default.div.withConfig({
6162
6451
  displayName: "PasswordField__StyledInputWrapper",
6163
6452
  componentId: "sc-1p15zk0-4"
6164
6453
  })(templateObject_5$5 || (templateObject_5$5 = __makeTemplateObject(["\n position: relative;\n width: 100%;\n"], ["\n position: relative;\n width: 100%;\n"])));
6165
- var StyledToggleButton = styled__default.default.div.withConfig({
6454
+ var StyledToggleButton = /*#__PURE__*/styled__default.default.div.withConfig({
6166
6455
  displayName: "PasswordField__StyledToggleButton",
6167
6456
  componentId: "sc-1p15zk0-5"
6168
6457
  })(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"
@@ -6177,7 +6466,7 @@ var StyledToggleButton = styled__default.default.div.withConfig({
6177
6466
  * required
6178
6467
  * />
6179
6468
  * ```
6180
- */])), data.tokensJson.semantic.spacing.layout.sm);
6469
+ */])), tokens.semantic.space[200]);
6181
6470
  /**
6182
6471
  * PasswordField component for secure password input with visibility toggle
6183
6472
  *
@@ -6270,32 +6559,32 @@ var PasswordField = /*#__PURE__*/React.forwardRef(function (_a, ref) {
6270
6559
  PasswordField.displayName = 'PasswordField';
6271
6560
  var templateObject_1$7, templateObject_2$7, templateObject_3$7, templateObject_4$6, templateObject_5$5, templateObject_6$4;
6272
6561
 
6273
- var semantic$3 = data.tokensJson.semantic,
6274
- component = data.tokensJson.component;
6275
- var StyledSearchContainer = styled__default.default.div.withConfig({
6562
+ var semantic$3 = tokens.semantic,
6563
+ component = tokens.component;
6564
+ var StyledSearchContainer = /*#__PURE__*/styled__default.default.div.withConfig({
6276
6565
  displayName: "SearchField__StyledSearchContainer",
6277
6566
  componentId: "sc-qhz9i8-0"
6278
6567
  })(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject(["\n position: relative;\n width: 100%;\n"], ["\n position: relative;\n width: 100%;\n"])));
6279
- var StyledInputWrapper = styled__default.default.div.withConfig({
6568
+ var StyledInputWrapper = /*#__PURE__*/styled__default.default.div.withConfig({
6280
6569
  displayName: "SearchField__StyledInputWrapper",
6281
6570
  componentId: "sc-qhz9i8-1"
6282
- })(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: ", ";\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 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.spacing.layout.sm, semantic$3.spacing.layout.sm, semantic$3.spacing.layout.md, component.input["default"].backgroundColor, component.input["default"].borderWidth, component.input["default"].borderColor, component.input["default"].borderRadius, semantic$3.motion.duration.normal, semantic$3.motion.easing.easeInOut, semantic$3.motion.duration.normal, semantic$3.motion.easing.easeInOut, function (props) {
6571
+ })(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) {
6283
6572
  return props.$isFocused && "\n border-color: ".concat(component.input.focus.borderColor, ";\n outline: ").concat(component.input.focus.outline, ";\n outline-offset: ").concat(semantic$3.border.focusOffset, ";\n ");
6284
6573
  }, function (props) {
6285
6574
  return props.$disabled && "\n background-color: ".concat(component.input.disabled.backgroundColor, ";\n border-color: ").concat(component.input.disabled.borderColor, ";\n cursor: not-allowed;\n ");
6286
6575
  }, component.input.hover.borderColor);
6287
- var StyledInput = styled__default.default.input.withConfig({
6576
+ var StyledInput = /*#__PURE__*/styled__default.default.input.withConfig({
6288
6577
  displayName: "SearchField__StyledInput",
6289
6578
  componentId: "sc-qhz9i8-2"
6290
6579
  })(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);
6291
- var StyledSuggestionsList = styled__default.default.ul.withConfig({
6580
+ var StyledSuggestionsList = /*#__PURE__*/styled__default.default.ul.withConfig({
6292
6581
  displayName: "SearchField__StyledSuggestionsList",
6293
6582
  componentId: "sc-qhz9i8-3"
6294
- })(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 */\n & > [data-highlighted] > :first-child {\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 */\n & > [data-highlighted] > :first-child {\n background-color: ", ";\n }\n"])), semantic$3.spacing.layout.xs, data.tokensJson.semantic.size.menu.maxHeight, semantic$3.color.background.subtle, semantic$3.border.width.thin, semantic$3.color.border["default"], semantic$3.border.radius.md, semantic$3.elevation.floating, semantic$3.spacing.layout.xs, semantic$3.zIndex.dropdown, semantic$3.color.background.surface);
6295
- var StyledSectionHeader = styled__default.default.div.withConfig({
6583
+ })(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 = /*#__PURE__*/styled__default.default.div.withConfig({
6296
6585
  displayName: "SearchField__StyledSectionHeader",
6297
6586
  componentId: "sc-qhz9i8-4"
6298
- })(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.spacing.layout.sm, semantic$3.spacing.layout.md, data.tokensJson.component.searchField.sectionHeader.typography, semantic$3.color.text.subdued, data.tokensJson.component.searchField.sectionHeader.letterSpacing);
6587
+ })(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);
6299
6588
  var debounce = function debounce(func, wait) {
6300
6589
  var timeout = null;
6301
6590
  return function () {
@@ -6596,7 +6885,7 @@ var SearchField = /*#__PURE__*/React.forwardRef(function (_a, ref) {
6596
6885
  SearchField.displayName = 'SearchField';
6597
6886
  var templateObject_1$6, templateObject_2$6, templateObject_3$6, templateObject_4$5, templateObject_5$4;
6598
6887
 
6599
- var semantic$2 = data.tokensJson.semantic;
6888
+ var semantic$2 = tokens.semantic;
6600
6889
  // Fade in animation for overlay
6601
6890
  var fadeIn = styled.keyframes(templateObject_1$5 || (templateObject_1$5 = __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"
6602
6891
  // Slide animations for each position
@@ -6606,57 +6895,57 @@ var slideInRight = styled.keyframes(templateObject_2$5 || (templateObject_2$5 =
6606
6895
  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"])));
6607
6896
  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"])));
6608
6897
  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"])));
6609
- var StyledOverlay = styled__default.default.div.withConfig({
6898
+ var StyledOverlay = /*#__PURE__*/styled__default.default.div.withConfig({
6610
6899
  shouldForwardProp: function shouldForwardProp(prop) {
6611
6900
  return !prop.startsWith('$');
6612
6901
  },
6613
6902
  displayName: "Sheet__StyledOverlay",
6614
6903
  componentId: "sc-8abisx-0"
6615
- })(templateObject_7$3 || (templateObject_7$3 = __makeTemplateObject(["\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: ", ";\n z-index: ", ";\n ", "\n"], ["\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: ", ";\n z-index: ", ";\n ", "\n"])), semantic$2.color.background.overlay, semantic$2.zIndex.overlay, styled.css(templateObject_6$3 || (templateObject_6$3 = __makeTemplateObject(["animation: ", " ", " ", "", ";"], ["animation: ", " ", " ", "", ";"])), fadeIn, semantic$2.motion.duration.normal, semantic$2.motion.easing.easeInOut, function (_a) {
6904
+ })(templateObject_7$3 || (templateObject_7$3 = __makeTemplateObject(["\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: ", ";\n z-index: ", ";\n ", "\n"], ["\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: ", ";\n z-index: ", ";\n ", "\n"])), semantic$2.surface.scrim, semantic$2.layer.overlay, styled.css(templateObject_6$3 || (templateObject_6$3 = __makeTemplateObject(["animation: ", " ", " ", "", ";"], ["animation: ", " ", " ", "", ";"])), fadeIn, semantic$2.motion.duration.moderate, semantic$2.motion.easing.standard, function (_a) {
6616
6905
  var $isExiting = _a.$isExiting;
6617
6906
  return $isExiting && exitAnimation;
6618
6907
  }));
6619
- var StyledSheet = styled__default.default.div.withConfig({
6908
+ var StyledSheet = /*#__PURE__*/styled__default.default.div.withConfig({
6620
6909
  shouldForwardProp: function shouldForwardProp(prop) {
6621
6910
  return !prop.startsWith('$');
6622
6911
  },
6623
6912
  displayName: "Sheet__StyledSheet",
6624
6913
  componentId: "sc-8abisx-1"
6625
- })(templateObject_12$1 || (templateObject_12$1 = __makeTemplateObject(["\n position: fixed;\n background-color: ", ";\n box-shadow: ", ";\n z-index: ", ";\n overflow-y: auto;\n \n /* Position-specific styles */\n ", "\n\n ", " {\n animation: ", " ", " ", "", ";\n }\n \n /* Focus trap styling */\n &:focus {\n outline: none;\n }\n\n \n /* Scrollbar styling */\n &::-webkit-scrollbar {\n width: ", ";\n }\n \n &::-webkit-scrollbar-track {\n background: ", ";\n }\n \n &::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: ", ";\n }\n \n &::-webkit-scrollbar-thumb:hover {\n background: ", ";\n }\n"], ["\n position: fixed;\n background-color: ", ";\n box-shadow: ", ";\n z-index: ", ";\n overflow-y: auto;\n \n /* Position-specific styles */\n ", "\n\n ", " {\n animation: ", " ", " ", "", ";\n }\n \n /* Focus trap styling */\n &:focus {\n outline: none;\n }\n\n \n /* Scrollbar styling */\n &::-webkit-scrollbar {\n width: ", ";\n }\n \n &::-webkit-scrollbar-track {\n background: ", ";\n }\n \n &::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: ", ";\n }\n \n &::-webkit-scrollbar-thumb:hover {\n background: ", ";\n }\n"])), semantic$2.color.background["default"], semantic$2.elevation.overlay, semantic$2.zIndex.overlay, function (_a) {
6914
+ })(templateObject_12$1 || (templateObject_12$1 = __makeTemplateObject(["\n position: fixed;\n background-color: ", ";\n box-shadow: ", ";\n z-index: ", ";\n overflow-y: auto;\n \n /* Position-specific styles */\n ", "\n\n ", " {\n animation: ", " ", " ", "", ";\n }\n \n /* Focus trap styling */\n &:focus {\n outline: none;\n }\n\n \n /* Scrollbar styling */\n &::-webkit-scrollbar {\n width: ", ";\n }\n \n &::-webkit-scrollbar-track {\n background: ", ";\n }\n \n &::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: ", ";\n }\n \n &::-webkit-scrollbar-thumb:hover {\n background: ", ";\n }\n"], ["\n position: fixed;\n background-color: ", ";\n box-shadow: ", ";\n z-index: ", ";\n overflow-y: auto;\n \n /* Position-specific styles */\n ", "\n\n ", " {\n animation: ", " ", " ", "", ";\n }\n \n /* Focus trap styling */\n &:focus {\n outline: none;\n }\n\n \n /* Scrollbar styling */\n &::-webkit-scrollbar {\n width: ", ";\n }\n \n &::-webkit-scrollbar-track {\n background: ", ";\n }\n \n &::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: ", ";\n }\n \n &::-webkit-scrollbar-thumb:hover {\n background: ", ";\n }\n"])), semantic$2.surface.base, semantic$2.elevation.overlay, semantic$2.layer.overlay, function (_a) {
6626
6915
  var $position = _a.$position,
6627
6916
  $variant = _a.$variant,
6628
6917
  $width = _a.$width,
6629
6918
  $height = _a.$height;
6630
6919
  var isDrawer = $variant === 'drawer';
6631
- var margin = isDrawer ? semantic$2.spacing.layout.lg : '0';
6632
- var borderRadius = isDrawer ? semantic$2.border.radius.md : '0';
6920
+ var margin = isDrawer ? semantic$2.space[400] : '0';
6921
+ var borderRadius = isDrawer ? semantic$2.radius.md : '0';
6633
6922
  switch ($position) {
6634
6923
  case 'right':
6635
- return styled.css(templateObject_8$3 || (templateObject_8$3 = __makeTemplateObject(["\n top: ", ";\n right: ", ";\n bottom: ", ";\n width: ", ";\n max-width: calc(100vw - ", ");\n border-radius: ", " 0 0 ", ";\n animation: ", " ", " ", "", ";\n "], ["\n top: ", ";\n right: ", ";\n bottom: ", ";\n width: ", ";\n max-width: calc(100vw - ", ");\n border-radius: ", " 0 0 ", ";\n animation: ", " ", " ", "", ";\n "])), margin, margin, margin, $width, isDrawer ? "".concat(semantic$2.spacing.layout.lg, " * 2") : '0px', borderRadius, borderRadius, slideInRight, semantic$2.motion.duration.normal, semantic$2.motion.easing.easeInOut, function (_a) {
6924
+ return styled.css(templateObject_8$3 || (templateObject_8$3 = __makeTemplateObject(["\n top: ", ";\n right: ", ";\n bottom: ", ";\n width: ", ";\n max-width: calc(100vw - ", ");\n border-radius: ", " 0 0 ", ";\n animation: ", " ", " ", "", ";\n "], ["\n top: ", ";\n right: ", ";\n bottom: ", ";\n width: ", ";\n max-width: calc(100vw - ", ");\n border-radius: ", " 0 0 ", ";\n animation: ", " ", " ", "", ";\n "])), margin, margin, margin, $width, isDrawer ? "".concat(semantic$2.space[400], " * 2") : '0px', borderRadius, borderRadius, slideInRight, semantic$2.motion.duration.moderate, semantic$2.motion.easing.standard, function (_a) {
6636
6925
  var $isExiting = _a.$isExiting;
6637
6926
  return $isExiting && exitAnimation;
6638
6927
  });
6639
6928
  case 'left':
6640
- return styled.css(templateObject_9$2 || (templateObject_9$2 = __makeTemplateObject(["\n top: ", ";\n left: ", ";\n bottom: ", ";\n width: ", ";\n max-width: calc(100vw - ", ");\n border-radius: 0 ", " ", " 0;\n animation: ", " ", " ", "", ";\n "], ["\n top: ", ";\n left: ", ";\n bottom: ", ";\n width: ", ";\n max-width: calc(100vw - ", ");\n border-radius: 0 ", " ", " 0;\n animation: ", " ", " ", "", ";\n "])), margin, margin, margin, $width, isDrawer ? "".concat(semantic$2.spacing.layout.lg, " * 2") : '0px', borderRadius, borderRadius, slideInLeft, semantic$2.motion.duration.normal, semantic$2.motion.easing.easeInOut, function (_a) {
6929
+ return styled.css(templateObject_9$2 || (templateObject_9$2 = __makeTemplateObject(["\n top: ", ";\n left: ", ";\n bottom: ", ";\n width: ", ";\n max-width: calc(100vw - ", ");\n border-radius: 0 ", " ", " 0;\n animation: ", " ", " ", "", ";\n "], ["\n top: ", ";\n left: ", ";\n bottom: ", ";\n width: ", ";\n max-width: calc(100vw - ", ");\n border-radius: 0 ", " ", " 0;\n animation: ", " ", " ", "", ";\n "])), margin, margin, margin, $width, isDrawer ? "".concat(semantic$2.space[400], " * 2") : '0px', borderRadius, borderRadius, slideInLeft, semantic$2.motion.duration.moderate, semantic$2.motion.easing.standard, function (_a) {
6641
6930
  var $isExiting = _a.$isExiting;
6642
6931
  return $isExiting && exitAnimation;
6643
6932
  });
6644
6933
  case 'top':
6645
- return styled.css(templateObject_10$1 || (templateObject_10$1 = __makeTemplateObject(["\n top: ", ";\n left: ", ";\n right: ", ";\n height: ", ";\n max-height: calc(100vh - ", ");\n border-radius: 0 0 ", " ", ";\n animation: ", " ", " ", "", ";\n "], ["\n top: ", ";\n left: ", ";\n right: ", ";\n height: ", ";\n max-height: calc(100vh - ", ");\n border-radius: 0 0 ", " ", ";\n animation: ", " ", " ", "", ";\n "])), margin, margin, margin, $height, isDrawer ? "".concat(semantic$2.spacing.layout.lg, " * 2") : '0px', borderRadius, borderRadius, slideInTop, semantic$2.motion.duration.normal, semantic$2.motion.easing.easeInOut, function (_a) {
6934
+ return styled.css(templateObject_10$1 || (templateObject_10$1 = __makeTemplateObject(["\n top: ", ";\n left: ", ";\n right: ", ";\n height: ", ";\n max-height: calc(100vh - ", ");\n border-radius: 0 0 ", " ", ";\n animation: ", " ", " ", "", ";\n "], ["\n top: ", ";\n left: ", ";\n right: ", ";\n height: ", ";\n max-height: calc(100vh - ", ");\n border-radius: 0 0 ", " ", ";\n animation: ", " ", " ", "", ";\n "])), margin, margin, margin, $height, isDrawer ? "".concat(semantic$2.space[400], " * 2") : '0px', borderRadius, borderRadius, slideInTop, semantic$2.motion.duration.moderate, semantic$2.motion.easing.standard, function (_a) {
6646
6935
  var $isExiting = _a.$isExiting;
6647
6936
  return $isExiting && exitAnimation;
6648
6937
  });
6649
6938
  case 'bottom':
6650
- return styled.css(templateObject_11$1 || (templateObject_11$1 = __makeTemplateObject(["\n bottom: ", ";\n left: ", ";\n right: ", ";\n height: ", ";\n max-height: calc(100vh - ", ");\n border-radius: ", " ", " 0 0;\n animation: ", " ", " ", "", ";\n "], ["\n bottom: ", ";\n left: ", ";\n right: ", ";\n height: ", ";\n max-height: calc(100vh - ", ");\n border-radius: ", " ", " 0 0;\n animation: ", " ", " ", "", ";\n "])), margin, margin, margin, $height, isDrawer ? "".concat(semantic$2.spacing.layout.lg, " * 2") : '0px', borderRadius, borderRadius, slideInBottom, semantic$2.motion.duration.normal, semantic$2.motion.easing.easeInOut, function (_a) {
6939
+ return styled.css(templateObject_11$1 || (templateObject_11$1 = __makeTemplateObject(["\n bottom: ", ";\n left: ", ";\n right: ", ";\n height: ", ";\n max-height: calc(100vh - ", ");\n border-radius: ", " ", " 0 0;\n animation: ", " ", " ", "", ";\n "], ["\n bottom: ", ";\n left: ", ";\n right: ", ";\n height: ", ";\n max-height: calc(100vh - ", ");\n border-radius: ", " ", " 0 0;\n animation: ", " ", " ", "", ";\n "])), margin, margin, margin, $height, isDrawer ? "".concat(semantic$2.space[400], " * 2") : '0px', borderRadius, borderRadius, slideInBottom, semantic$2.motion.duration.moderate, semantic$2.motion.easing.standard, function (_a) {
6651
6940
  var $isExiting = _a.$isExiting;
6652
6941
  return $isExiting && exitAnimation;
6653
6942
  });
6654
6943
  }
6655
- }, reducedMotion, fadeIn, semantic$2.motion.duration.normal, semantic$2.motion.easing.easeInOut, function (_a) {
6944
+ }, reducedMotion, fadeIn, semantic$2.motion.duration.moderate, semantic$2.motion.easing.standard, function (_a) {
6656
6945
  var $isExiting = _a.$isExiting;
6657
6946
  return $isExiting && exitAnimation;
6658
- }, semantic$2.spacing.layout.sm, semantic$2.color.background.subtle, semantic$2.color.border["default"], semantic$2.border.radius.circle, semantic$2.color.border.strong);
6659
- var StyledSheetContent = styled__default.default.div.withConfig({
6947
+ }, 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 = /*#__PURE__*/styled__default.default.div.withConfig({
6660
6949
  displayName: "Sheet__StyledSheetContent",
6661
6950
  componentId: "sc-8abisx-2"
6662
6951
  })(templateObject_13$1 || (templateObject_13$1 = __makeTemplateObject(["\n padding: ", ";\n min-height: 100%;\n"], ["\n padding: ", ";\n min-height: 100%;\n"
@@ -6685,7 +6974,7 @@ var StyledSheetContent = styled__default.default.div.withConfig({
6685
6974
  * <h2>Mobile Menu</h2>
6686
6975
  * </Sheet>
6687
6976
  * ```
6688
- */])), semantic$2.spacing.layout['2xl']);
6977
+ */])), semantic$2.space[600]);
6689
6978
  /**
6690
6979
  * Sheet component for side panels and drawers
6691
6980
  *
@@ -6720,9 +7009,9 @@ var Sheet = function Sheet(_a) {
6720
7009
  _c = _a.variant,
6721
7010
  variant = _c === void 0 ? 'sheet' : _c,
6722
7011
  _d = _a.width,
6723
- width = _d === void 0 ? data.tokensJson.semantic.size.overlay.sm : _d,
7012
+ width = _d === void 0 ? tokens.semantic.size.overlay.sm : _d,
6724
7013
  _e = _a.height,
6725
- height = _e === void 0 ? data.tokensJson.semantic.size.overlay.sm : _e,
7014
+ height = _e === void 0 ? tokens.semantic.size.overlay.sm : _e,
6726
7015
  children = _a.children,
6727
7016
  _f = _a.closeOnOverlayClick,
6728
7017
  closeOnOverlayClick = _f === void 0 ? true : _f,
@@ -6827,63 +7116,75 @@ var Sheet = function Sheet(_a) {
6827
7116
  Sheet.displayName = 'Sheet';
6828
7117
  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;
6829
7118
 
6830
- var semantic$1 = data.tokensJson.semantic;
6831
- var StyledSliderContainer = styled__default.default.div.withConfig({
7119
+ var semantic$1 = tokens.semantic;
7120
+ var StyledSliderContainer = /*#__PURE__*/styled__default.default.div.withConfig({
6832
7121
  displayName: "Slider__StyledSliderContainer",
6833
7122
  componentId: "sc-6mh2d4-0"
6834
7123
  })(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"])));
6835
- var StyledLabel$1 = styled__default.default.label.withConfig({
7124
+ var StyledLabel$1 = /*#__PURE__*/styled__default.default.label.withConfig({
6836
7125
  displayName: "Slider__StyledLabel",
6837
7126
  componentId: "sc-6mh2d4-1"
6838
7127
  })(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) {
6839
7128
  var $disabled = _a.$disabled;
6840
7129
  return $disabled ? semantic$1.color.text.disabled : semantic$1.color.text["default"];
6841
- }, semantic$1.spacing.layout.lg);
6842
- var StyledSliderTrackContainer = styled__default.default.div.withConfig({
7130
+ }, semantic$1.space[400]);
7131
+ var StyledSliderTrackContainer = /*#__PURE__*/styled__default.default.div.withConfig({
6843
7132
  displayName: "Slider__StyledSliderTrackContainer",
6844
7133
  componentId: "sc-6mh2d4-2"
6845
- })(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.spacing.layout['6xl']);
6846
- var StyledTrack = styled__default.default.div.withConfig({
7134
+ })(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 = /*#__PURE__*/styled__default.default.div.withConfig({
6847
7136
  displayName: "Slider__StyledTrack",
6848
7137
  componentId: "sc-6mh2d4-3"
6849
- })(templateObject_4$3 || (templateObject_4$3 = __makeTemplateObject(["\n position: relative;\n width: 100%;\n height: ", ";\n background-color: ", ";\n border-radius: ", ";\n cursor: ", ";\n"], ["\n position: relative;\n width: 100%;\n height: ", ";\n background-color: ", ";\n border-radius: ", ";\n cursor: ", ";\n"])), semantic$1.spacing.layout.xs, function (_a) {
7138
+ })(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) {
6850
7139
  var $disabled = _a.$disabled;
6851
- return $disabled ? semantic$1.color.background.disabled : semantic$1.color.background.progressTrack;
6852
- }, semantic$1.border.radius.circle, function (_a) {
7140
+ return $disabled ? semantic$1.color.fill.disabled : tokens.component.track.background;
7141
+ }, semantic$1.radius.full, function (_a) {
6853
7142
  var $disabled = _a.$disabled;
6854
7143
  return $disabled ? 'not-allowed' : 'pointer';
7144
+ }, forcedColors, semantic$1.border.width.thin, function (_a) {
7145
+ var $disabled = _a.$disabled;
7146
+ return $disabled ? 'GrayText' : 'CanvasText';
6855
7147
  });
6856
- var StyledTrackFill = styled__default.default.div.withConfig({
7148
+ var StyledTrackFill = /*#__PURE__*/styled__default.default.div.withConfig({
6857
7149
  displayName: "Slider__StyledTrackFill",
6858
7150
  componentId: "sc-6mh2d4-4"
6859
- })(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 position: absolute;\n height: 100%;\n background-color: ", ";\n border-radius: ", ";\n pointer-events: none;\n"])), function (_a) {
7151
+ })(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) {
6860
7152
  var $disabled = _a.$disabled;
6861
- return $disabled ? semantic$1.color.icon.disabled : semantic$1.color.background.emphasis;
6862
- }, semantic$1.border.radius.circle);
6863
- var StyledThumb = styled__default.default.div.withConfig({
7153
+ return $disabled ? semantic$1.color.icon.disabled : semantic$1.color.fill.emphasis;
7154
+ }, semantic$1.radius.full, forcedColors, function (_a) {
7155
+ var $disabled = _a.$disabled;
7156
+ return $disabled ? 'GrayText' : 'Highlight';
7157
+ });
7158
+ var StyledThumb = /*#__PURE__*/styled__default.default.div.withConfig({
6864
7159
  displayName: "Slider__StyledThumb",
6865
7160
  componentId: "sc-6mh2d4-5"
6866
- })(templateObject_6$2 || (templateObject_6$2 = __makeTemplateObject(["\n position: absolute;\n width: ", ";\n height: ", ";\n top: -", ";\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n cursor: ", ";\n transform: translateX(-50%);\n transition: ", ";\n box-shadow: ", ";\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: -", ";\n background-color: ", ";\n border: ", " solid ", ";\n border-radius: ", ";\n cursor: ", ";\n transform: translateX(-50%);\n transition: ", ";\n box-shadow: ", ";\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.spacing.layout.xl, semantic$1.spacing.layout.xl, semantic$1.spacing.layout.sm, function (_a) {
7161
+ })(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) {
6867
7162
  var $disabled = _a.$disabled;
6868
- return $disabled ? semantic$1.color.background.disabled : semantic$1.color.background.subtle;
7163
+ return $disabled ? semantic$1.color.fill.disabled : tokens.component.slider.thumb.background;
6869
7164
  }, semantic$1.border.width.thick, function (_a) {
6870
7165
  var $disabled = _a.$disabled;
6871
- return $disabled ? semantic$1.color.icon.disabled : semantic$1.color.background.emphasis;
6872
- }, semantic$1.border.radius.circle, function (_a) {
7166
+ return $disabled ? semantic$1.color.icon.disabled : semantic$1.color.fill.emphasis;
7167
+ }, semantic$1.radius.full, function (_a) {
6873
7168
  var $disabled = _a.$disabled;
6874
7169
  return $disabled ? 'not-allowed' : 'grab';
6875
- }, semantic$1.motion.transition.fast, data.tokensJson.component.slider.thumb.shadow["default"], reducedMotion, data.tokensJson.component.slider.thumb.shadow.hover, semantic$1.border.focus, semantic$1.border.focusOffset, function (_a) {
7170
+ }, semantic$1.motion.duration.fast, semantic$1.motion.easing.decelerate, semantic$1.motion.duration.fast, semantic$1.motion.easing.decelerate, semantic$1.motion.duration.fast, semantic$1.motion.easing.decelerate, semantic$1.motion.duration.fast, semantic$1.motion.easing.decelerate, semantic$1.motion.duration.fast, semantic$1.motion.easing.decelerate, tokens.component.slider.thumb.shadow["default"], semantic$1.size.pointerTarget, semantic$1.size.touchTarget, function (_a) {
7171
+ var $range = _a.$range;
7172
+ return $range === 'max' ? 'min(var(--slider-hit-half), var(--slider-reach))' : 'var(--slider-hit-half)';
7173
+ }, function (_a) {
7174
+ var $range = _a.$range;
7175
+ return $range === 'min' ? 'min(var(--slider-hit-half), var(--slider-reach))' : 'var(--slider-hit-half)';
7176
+ }, reducedMotion, tokens.component.slider.thumb.shadow.hover, semantic$1.border.focus, semantic$1.border.focusOffset, function (_a) {
6876
7177
  var $active = _a.$active;
6877
- return $active && "\n transform: translateX(-50%) scale(1.1);\n box-shadow: ".concat(data.tokensJson.component.slider.thumb.shadow.active, ";\n ");
7178
+ return $active && "\n transform: translateX(-50%) scale(1.1);\n box-shadow: ".concat(tokens.component.slider.thumb.shadow.active, ";\n ");
6878
7179
  });
6879
- var StyledValueLabel = styled__default.default.div.withConfig({
7180
+ var StyledValueLabel = /*#__PURE__*/styled__default.default.div.withConfig({
6880
7181
  displayName: "Slider__StyledValueLabel",
6881
7182
  componentId: "sc-6mh2d4-6"
6882
- })(templateObject_7$2 || (templateObject_7$2 = __makeTemplateObject(["\n position: absolute;\n top: -", ";\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: -", ";\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.spacing.layout['4xl'], semantic$1.spacing.layout.sm, semantic$1.spacing.layout.xs, semantic$1.spacing.layout.sm, semantic$1.color.background.emphasis, semantic$1.color.text.inverse, semantic$1.typography.caption, semantic$1.border.radius.sm, function (_a) {
7183
+ })(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) {
6883
7184
  var $disabled = _a.$disabled;
6884
7185
  return $disabled ? semantic$1.opacity.disabled : semantic$1.opacity.full;
6885
- }, semantic$1.spacing.layout.xs, semantic$1.spacing.layout.xs, semantic$1.spacing.layout.xs, semantic$1.color.background.emphasis);
6886
- var StyledMinMaxLabels = styled__default.default.div.withConfig({
7186
+ }, semantic$1.space[100], semantic$1.space[100], semantic$1.space[100], semantic$1.color.fill.emphasis);
7187
+ var StyledMinMaxLabels = /*#__PURE__*/styled__default.default.div.withConfig({
6887
7188
  displayName: "Slider__StyledMinMaxLabels",
6888
7189
  componentId: "sc-6mh2d4-7"
6889
7190
  })(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"
@@ -6910,7 +7211,7 @@ var StyledMinMaxLabels = styled__default.default.div.withConfig({
6910
7211
  * onRangeChange={(values) => console.log(values)}
6911
7212
  * />
6912
7213
  * ```
6913
- */])), semantic$1.typography.body, semantic$1.color.text.subdued, semantic$1.spacing.layout.xs);
7214
+ */])), semantic$1.typography.body, semantic$1.color.text.muted, semantic$1.space[100]);
6914
7215
  /**
6915
7216
  * Slider component for single value or range selection
6916
7217
  *
@@ -6965,6 +7266,14 @@ var Slider = function Slider(_a) {
6965
7266
  var _h = React.useState(null),
6966
7267
  activeThumb = _h[0],
6967
7268
  setActiveThumb = _h[1];
7269
+ // Removes the document listeners of a drag in progress
7270
+ var endDragRef = React.useRef(null);
7271
+ React.useEffect(function () {
7272
+ return function () {
7273
+ var _a;
7274
+ return (_a = endDragRef.current) === null || _a === void 0 ? void 0 : _a.call(endDragRef);
7275
+ };
7276
+ }, []);
6968
7277
  // Determine if this is a range slider
6969
7278
  var isRange = controlledRangeValue !== undefined || defaultRangeValue !== undefined || onRangeChange !== undefined;
6970
7279
  // State for single slider
@@ -7011,9 +7320,11 @@ var Slider = function Slider(_a) {
7011
7320
  setInternalRangeValue([orderedMin, orderedMax]);
7012
7321
  onRangeChange === null || onRangeChange === void 0 ? void 0 : onRangeChange([orderedMin, orderedMax]);
7013
7322
  };
7014
- // Mouse/touch handlers
7323
+ // Pointer handlers: mouse, touch and pen
7015
7324
  var handleTrackClick = function handleTrackClick(event) {
7016
7325
  if (disabled) return;
7326
+ // A click on a thumb (or the end of a drag) leaves the value where the thumb put it
7327
+ if (event.target.closest('[role="slider"]')) return;
7017
7328
  var newValue = positionToValue(event.clientX);
7018
7329
  if (isRange) {
7019
7330
  var minVal = currentRangeValue[0],
@@ -7029,33 +7340,47 @@ var Slider = function Slider(_a) {
7029
7340
  handleSingleChange(newValue);
7030
7341
  }
7031
7342
  };
7032
- var handleThumbMouseDown = function handleThumbMouseDown(thumb) {
7033
- return function (event) {
7034
- if (disabled) return;
7035
- event.preventDefault();
7036
- setActiveThumb(thumb);
7037
- var handleMouseMove = function handleMouseMove(e) {
7038
- var newValue = positionToValue(e.clientX);
7039
- if (isRange) {
7040
- var minVal = currentRangeValue[0],
7041
- maxVal = currentRangeValue[1];
7042
- if (thumb === 'min') {
7043
- handleRangeChange(newValue, maxVal);
7044
- } else {
7045
- handleRangeChange(minVal, newValue);
7046
- }
7343
+ var handleThumbPointerDown = function handleThumbPointerDown(thumb, event) {
7344
+ var _a, _b, _c;
7345
+ if (disabled) return;
7346
+ // Only the primary button drags; a touch or pen contact always counts
7347
+ if (event.pointerType === 'mouse' && event.button !== 0) return;
7348
+ event.preventDefault();
7349
+ (_a = endDragRef.current) === null || _a === void 0 ? void 0 : _a.call(endDragRef);
7350
+ setActiveThumb(thumb);
7351
+ var pointerId = event.pointerId;
7352
+ // Capture keeps the drag on this thumb when the pointer leaves it, or the window
7353
+ (_c = (_b = event.currentTarget).setPointerCapture) === null || _c === void 0 ? void 0 : _c.call(_b, pointerId);
7354
+ var handlePointerMove = function handlePointerMove(e) {
7355
+ if (e.pointerId !== pointerId) return;
7356
+ var newValue = positionToValue(e.clientX);
7357
+ if (isRange) {
7358
+ var minVal = currentRangeValue[0],
7359
+ maxVal = currentRangeValue[1];
7360
+ if (thumb === 'min') {
7361
+ handleRangeChange(newValue, maxVal);
7047
7362
  } else {
7048
- handleSingleChange(newValue);
7363
+ handleRangeChange(minVal, newValue);
7049
7364
  }
7050
- };
7051
- var _handleMouseUp = function handleMouseUp() {
7052
- setActiveThumb(null);
7053
- document.removeEventListener('mousemove', handleMouseMove);
7054
- document.removeEventListener('mouseup', _handleMouseUp);
7055
- };
7056
- document.addEventListener('mousemove', handleMouseMove);
7057
- document.addEventListener('mouseup', _handleMouseUp);
7365
+ } else {
7366
+ handleSingleChange(newValue);
7367
+ }
7368
+ };
7369
+ var endDrag = function endDrag() {
7370
+ setActiveThumb(null);
7371
+ document.removeEventListener('pointermove', handlePointerMove);
7372
+ document.removeEventListener('pointerup', handlePointerEnd);
7373
+ document.removeEventListener('pointercancel', handlePointerEnd);
7374
+ endDragRef.current = null;
7375
+ };
7376
+ // pointercancel fires when the browser takes the gesture over, so it ends the drag too
7377
+ var handlePointerEnd = function handlePointerEnd(e) {
7378
+ if (e.pointerId === pointerId) endDrag();
7058
7379
  };
7380
+ document.addEventListener('pointermove', handlePointerMove);
7381
+ document.addEventListener('pointerup', handlePointerEnd);
7382
+ document.addEventListener('pointercancel', handlePointerEnd);
7383
+ endDragRef.current = endDrag;
7059
7384
  };
7060
7385
  // Keyboard navigation
7061
7386
  var handleKeyDown = function handleKeyDown(thumb) {
@@ -7166,10 +7491,14 @@ var Slider = function Slider(_a) {
7166
7491
  "aria-describedby": ariaDescribedBy,
7167
7492
  "$disabled": disabled,
7168
7493
  "$active": activeThumb === 'min',
7494
+ "$range": "min",
7169
7495
  style: {
7170
- left: "".concat(minPercent, "%")
7496
+ left: "".concat(minPercent, "%"),
7497
+ '--slider-reach': "".concat((maxPercent - minPercent) / 2, "cqw")
7498
+ },
7499
+ onPointerDown: function onPointerDown(event) {
7500
+ return handleThumbPointerDown('min', event);
7171
7501
  },
7172
- onMouseDown: handleThumbMouseDown('min'),
7173
7502
  onKeyDown: handleKeyDown('min'),
7174
7503
  children: showValueLabel && jsxRuntime.jsx(StyledValueLabel, {
7175
7504
  "$disabled": disabled,
@@ -7187,10 +7516,14 @@ var Slider = function Slider(_a) {
7187
7516
  "aria-describedby": ariaDescribedBy,
7188
7517
  "$disabled": disabled,
7189
7518
  "$active": activeThumb === 'max',
7519
+ "$range": "max",
7190
7520
  style: {
7191
- left: "".concat(maxPercent, "%")
7521
+ left: "".concat(maxPercent, "%"),
7522
+ '--slider-reach': "".concat((maxPercent - minPercent) / 2, "cqw")
7523
+ },
7524
+ onPointerDown: function onPointerDown(event) {
7525
+ return handleThumbPointerDown('max', event);
7192
7526
  },
7193
- onMouseDown: handleThumbMouseDown('max'),
7194
7527
  onKeyDown: handleKeyDown('max'),
7195
7528
  children: showValueLabel && jsxRuntime.jsx(StyledValueLabel, {
7196
7529
  "$disabled": disabled,
@@ -7212,7 +7545,9 @@ var Slider = function Slider(_a) {
7212
7545
  style: {
7213
7546
  left: "".concat(singlePercent, "%")
7214
7547
  },
7215
- onMouseDown: handleThumbMouseDown('single'),
7548
+ onPointerDown: function onPointerDown(event) {
7549
+ return handleThumbPointerDown('single', event);
7550
+ },
7216
7551
  onKeyDown: handleKeyDown('single'),
7217
7552
  children: showValueLabel && jsxRuntime.jsx(StyledValueLabel, {
7218
7553
  "$disabled": disabled,
@@ -7232,37 +7567,39 @@ var Slider = function Slider(_a) {
7232
7567
  Slider.displayName = 'Slider';
7233
7568
  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;
7234
7569
 
7235
- var semantic = data.tokensJson.semantic;
7236
- var StyledTabList = styled__default.default.div.withConfig({
7570
+ var semantic = tokens.semantic;
7571
+ var StyledTabList = /*#__PURE__*/styled__default.default.div.withConfig({
7237
7572
  displayName: "TabBar__StyledTabList",
7238
7573
  componentId: "sc-1g9ib0y-0"
7239
- })(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.subtle, data.tokensJson.component.tabBar.scrollbar.height, semantic.color.background.subtle, semantic.color.border["default"], semantic.border.radius.sm);
7240
- var StyledTab = styled__default.default.button.withConfig({
7574
+ })(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 = /*#__PURE__*/styled__default.default.button.withConfig({
7241
7576
  shouldForwardProp: function shouldForwardProp(prop) {
7242
7577
  return !prop.startsWith('$');
7243
7578
  },
7244
7579
  displayName: "TabBar__StyledTab",
7245
7580
  componentId: "sc-1g9ib0y-1"
7246
- })(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n gap: ", ";\n padding: ", " ", ";\n font: ", ";\n white-space: nowrap;\n cursor: ", ";\n border: none;\n background: transparent;\n transition: ", ";\n position: relative;\n \n /* Selected tab: the light-blue selected treatment plus a blue underline (decisions 0016, 0020).\n The text darkens with the fill on hover and press so every state stays at least 4.5:1. */\n border-radius: ", " ", " 0 0;\n background-color: ", ";\n color: ", ";\n\n &::after {\n content: '';\n position: absolute;\n bottom: -1px;\n left: 0;\n right: 0;\n height: ", ";\n background-color: ", ";\n transition: ", ";\n }\n\n &:hover:not(:disabled) {\n background-color: ", ";\n color: ", ";\n }\n\n &:active:not(:disabled) {\n background-color: ", ";\n color: ", ";\n }\n\n /* Disabled state */\n opacity: ", ";\n \n /* Focus state */\n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n z-index: 1;\n }\n\n"], ["\n display: inline-flex;\n align-items: center;\n gap: ", ";\n padding: ", " ", ";\n font: ", ";\n white-space: nowrap;\n cursor: ", ";\n border: none;\n background: transparent;\n transition: ", ";\n position: relative;\n \n /* Selected tab: the light-blue selected treatment plus a blue underline (decisions 0016, 0020).\n The text darkens with the fill on hover and press so every state stays at least 4.5:1. */\n border-radius: ", " ", " 0 0;\n background-color: ", ";\n color: ", ";\n\n &::after {\n content: '';\n position: absolute;\n bottom: -1px;\n left: 0;\n right: 0;\n height: ", ";\n background-color: ", ";\n transition: ", ";\n }\n\n &:hover:not(:disabled) {\n background-color: ", ";\n color: ", ";\n }\n\n &:active:not(:disabled) {\n background-color: ", ";\n color: ", ";\n }\n\n /* Disabled state */\n opacity: ", ";\n \n /* Focus state */\n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n z-index: 1;\n }\n\n"])), semantic.spacing.layout.sm, semantic.spacing.layout.md, semantic.spacing.layout.lg, semantic.typography.button2, function (props) {
7581
+ })(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n gap: ", ";\n padding: ", " ", ";\n font: ", ";\n white-space: nowrap;\n cursor: ", ";\n border: none;\n background: transparent;\n transition: ", ";\n position: relative;\n \n /* Selected tab: the light-blue selected treatment plus a blue underline (decisions 0016, 0020).\n The text darkens with the fill on hover and press so every state stays at least 4.5:1. */\n border-radius: ", " ", " 0 0;\n background-color: ", ";\n color: ", ";\n\n &::after {\n content: '';\n position: absolute;\n bottom: -1px;\n left: 0;\n right: 0;\n height: ", ";\n background-color: ", ";\n transition: ", ";\n }\n\n /* Forced colours drop the fill, so the selected tab's underline carries its state in the\n system selection colour (decision 0038) */\n ", " {\n &::after {\n forced-color-adjust: none;\n background-color: ", ";\n }\n }\n\n &:hover:not(:disabled) {\n background-color: ", ";\n color: ", ";\n }\n\n &:active:not(:disabled) {\n background-color: ", ";\n color: ", ";\n }\n\n /* Disabled state */\n opacity: ", ";\n \n /* Focus state */\n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n z-index: 1;\n }\n\n"], ["\n display: inline-flex;\n align-items: center;\n gap: ", ";\n padding: ", " ", ";\n font: ", ";\n white-space: nowrap;\n cursor: ", ";\n border: none;\n background: transparent;\n transition: ", ";\n position: relative;\n \n /* Selected tab: the light-blue selected treatment plus a blue underline (decisions 0016, 0020).\n The text darkens with the fill on hover and press so every state stays at least 4.5:1. */\n border-radius: ", " ", " 0 0;\n background-color: ", ";\n color: ", ";\n\n &::after {\n content: '';\n position: absolute;\n bottom: -1px;\n left: 0;\n right: 0;\n height: ", ";\n background-color: ", ";\n transition: ", ";\n }\n\n /* Forced colours drop the fill, so the selected tab's underline carries its state in the\n system selection colour (decision 0038) */\n ", " {\n &::after {\n forced-color-adjust: none;\n background-color: ", ";\n }\n }\n\n &:hover:not(:disabled) {\n background-color: ", ";\n color: ", ";\n }\n\n &:active:not(:disabled) {\n background-color: ", ";\n color: ", ";\n }\n\n /* Disabled state */\n opacity: ", ";\n \n /* Focus state */\n &:focus-visible {\n outline: ", ";\n outline-offset: ", ";\n z-index: 1;\n }\n\n"])), semantic.space[200], semantic.space[300], semantic.space[400], tokens.component.button.sizes.medium.font, function (props) {
7247
7582
  return props.$disabled ? 'not-allowed' : 'pointer';
7248
- }, semantic.motion.hover, semantic.border.radius.sm, semantic.border.radius.sm, function (props) {
7249
- return props.$isActive ? semantic.color.background['interactive-subtle'] : 'transparent';
7583
+ }, semantic.motion.transition.feedback, semantic.radius.sm, semantic.radius.sm, function (props) {
7584
+ return props.$isActive ? semantic.color.fill['accent-muted'] : 'transparent';
7250
7585
  }, function (props) {
7251
- return props.$isActive ? semantic.color.text.interactive : semantic.color.text.subdued;
7586
+ return props.$isActive ? semantic.color.text.accent : semantic.color.text.muted;
7252
7587
  }, semantic.border.width.thick, function (props) {
7253
- return props.$isActive ? semantic.color.background.interactive : 'transparent';
7254
- }, semantic.motion.hover, function (props) {
7255
- return props.$isActive ? semantic.color.background['interactive-subtle-hover'] : 'transparent';
7588
+ return props.$isActive ? semantic.color.fill.accent : 'transparent';
7589
+ }, semantic.motion.transition.feedback, forcedColors, function (props) {
7590
+ return props.$isActive ? 'Highlight' : 'transparent';
7591
+ }, function (props) {
7592
+ return props.$isActive ? semantic.color.fill['accent-muted-hover'] : 'transparent';
7256
7593
  }, function (props) {
7257
- return props.$isActive ? semantic.color.text['interactive-hover'] : semantic.color.text["default"];
7594
+ return props.$isActive ? semantic.color.text['accent-hover'] : semantic.color.text["default"];
7258
7595
  }, function (props) {
7259
- return props.$isActive ? semantic.color.background['interactive-subtle-active'] : 'transparent';
7596
+ return props.$isActive ? semantic.color.fill['accent-muted-pressed'] : 'transparent';
7260
7597
  }, function (props) {
7261
- return props.$isActive ? semantic.color.text['interactive-active'] : semantic.color.text["default"];
7598
+ return props.$isActive ? semantic.color.text['accent-pressed'] : semantic.color.text["default"];
7262
7599
  }, function (props) {
7263
7600
  return props.$disabled ? '0.5' : '1';
7264
7601
  }, semantic.border.focus, semantic.border.focusOffset);
7265
- var StyledBadge = styled__default.default.span.withConfig({
7602
+ var StyledBadge = /*#__PURE__*/styled__default.default.span.withConfig({
7266
7603
  displayName: "TabBar__StyledBadge",
7267
7604
  componentId: "sc-1g9ib0y-2"
7268
7605
  })(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"
@@ -7286,7 +7623,7 @@ var StyledBadge = styled__default.default.span.withConfig({
7286
7623
  * onTabChange={setActiveTab}
7287
7624
  * />
7288
7625
  * ```
7289
- */])), data.tokensJson.component.tabBar.badge.size, data.tokensJson.component.tabBar.badge.size, semantic.spacing.layout.xs, data.tokensJson.component.tabBar.badge.typography, data.tokensJson.component.tabBar.badge.fontWeight, semantic.border.radius.circle, semantic.color.background.interactive, semantic.color.text.inverse);
7626
+ */])), tokens.component.tabBar.badge.size, tokens.component.tabBar.badge.size, semantic.space[100], tokens.component.tabBar.badge.typography, tokens.component.tabBar.badge.fontWeight, semantic.radius.full, semantic.color.fill.accent, semantic.color.text.inverse);
7290
7627
  /**
7291
7628
  * TabBar component for tabbed navigation
7292
7629
  *
@@ -7432,22 +7769,22 @@ var TabBar = function TabBar(_a) {
7432
7769
  TabBar.displayName = 'TabBar';
7433
7770
  var templateObject_1$3, templateObject_2$3, templateObject_3$3;
7434
7771
 
7435
- var field = data.tokensJson.component.field;
7772
+ var field = tokens.component.field;
7436
7773
  // Gaps come from the semantic spacing scale: no component spacing tokens (decision 0022)
7437
- var gap = data.tokensJson.semantic.spacing.layout;
7438
- var StyledFieldContainer = styled__default.default.div.withConfig({
7774
+ var space = tokens.semantic.space;
7775
+ var StyledFieldContainer = /*#__PURE__*/styled__default.default.div.withConfig({
7439
7776
  displayName: "TextField__StyledFieldContainer",
7440
7777
  componentId: "sc-1ys3b0-0"
7441
- })(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"])), gap.sm);
7442
- var StyledLabel = styled__default.default.label.withConfig({
7778
+ })(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 = /*#__PURE__*/styled__default.default.label.withConfig({
7443
7780
  displayName: "TextField__StyledLabel",
7444
7781
  componentId: "sc-1ys3b0-1"
7445
- })(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"])), gap.xs, field.label.typography, field.label.color, field.label.colorDisabled);
7446
- var StyledRequiredIndicator = styled__default.default.span.withConfig({
7782
+ })(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 = /*#__PURE__*/styled__default.default.span.withConfig({
7447
7784
  displayName: "TextField__StyledRequiredIndicator",
7448
7785
  componentId: "sc-1ys3b0-2"
7449
7786
  })(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);
7450
- var StyledHelperText = styled__default.default.div.withConfig({
7787
+ var StyledHelperText = /*#__PURE__*/styled__default.default.div.withConfig({
7451
7788
  displayName: "TextField__StyledHelperText",
7452
7789
  componentId: "sc-1ys3b0-3"
7453
7790
  })(templateObject_4$2 || (templateObject_4$2 = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n"], ["\n font: ", ";\n color: ", ";\n"
@@ -7536,42 +7873,42 @@ var TextField = /*#__PURE__*/React.forwardRef(function (_a, ref) {
7536
7873
  TextField.displayName = 'TextField';
7537
7874
  var templateObject_1$2, templateObject_2$2, templateObject_3$2, templateObject_4$2;
7538
7875
 
7539
- var StyledContainer = styled__default.default.div.withConfig({
7876
+ var StyledContainer = /*#__PURE__*/styled__default.default.div.withConfig({
7540
7877
  displayName: "TransactionListItem__StyledContainer",
7541
7878
  componentId: "sc-7yunm0-0"
7542
- })(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 ", "\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 ", "\n"])), data.tokensJson.component.transactionListItem.minHeight, data.tokensJson.semantic.spacing.layout.md, data.tokensJson.semantic.spacing.layout.md, data.tokensJson.semantic.color.background["default"], data.tokensJson.semantic.border.width.thin, data.tokensJson.semantic.color.border["default"], data.tokensJson.semantic.spacing.layout.md, data.tokensJson.semantic.motion.duration.normal, data.tokensJson.semantic.motion.easing.easeOut, function (_a) {
7879
+ })(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) {
7543
7880
  var $clickable = _a.$clickable;
7544
- return $clickable && "\n cursor: pointer;\n \n &:hover {\n background-color: ".concat(data.tokensJson.semantic.color.background.subtle, ";\n }\n \n &:active {\n background-color: ").concat(data.tokensJson.semantic.color.background['interactive-active'], ";\n }\n \n &:focus-visible {\n outline: ").concat(data.tokensJson.semantic.border.focus, ";\n outline-offset: calc(-1 * ").concat(data.tokensJson.semantic.border.focusOffset, ");\n }\n ");
7881
+ 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 ");
7545
7882
  });
7546
- var StyledAvatarSection = styled__default.default.div.withConfig({
7883
+ var StyledAvatarSection = /*#__PURE__*/styled__default.default.div.withConfig({
7547
7884
  displayName: "TransactionListItem__StyledAvatarSection",
7548
7885
  componentId: "sc-7yunm0-1"
7549
7886
  })(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject(["\n flex-shrink: 0;\n"], ["\n flex-shrink: 0;\n"])));
7550
- var StyledMainContent = styled__default.default.div.withConfig({
7887
+ var StyledMainContent = /*#__PURE__*/styled__default.default.div.withConfig({
7551
7888
  displayName: "TransactionListItem__StyledMainContent",
7552
7889
  componentId: "sc-7yunm0-2"
7553
7890
  })(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"])));
7554
- var StyledTopRow = styled__default.default.div.withConfig({
7891
+ var StyledTopRow = /*#__PURE__*/styled__default.default.div.withConfig({
7555
7892
  displayName: "TransactionListItem__StyledTopRow",
7556
7893
  componentId: "sc-7yunm0-3"
7557
- })(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"])), data.tokensJson.semantic.spacing.layout.sm);
7558
- var StyledMerchantSection = styled__default.default.div.withConfig({
7894
+ })(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 = /*#__PURE__*/styled__default.default.div.withConfig({
7559
7896
  displayName: "TransactionListItem__StyledMerchantSection",
7560
7897
  componentId: "sc-7yunm0-4"
7561
- })(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"])), data.tokensJson.semantic.spacing.layout.sm);
7562
- var StyledBottomRow = styled__default.default.div.withConfig({
7898
+ })(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 = /*#__PURE__*/styled__default.default.div.withConfig({
7563
7900
  displayName: "TransactionListItem__StyledBottomRow",
7564
7901
  componentId: "sc-7yunm0-5"
7565
- })(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"])), data.tokensJson.semantic.spacing.layout.sm);
7566
- var StyledMetadata = styled__default.default.div.withConfig({
7902
+ })(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 = /*#__PURE__*/styled__default.default.div.withConfig({
7567
7904
  displayName: "TransactionListItem__StyledMetadata",
7568
7905
  componentId: "sc-7yunm0-6"
7569
- })(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"])), data.tokensJson.semantic.spacing.layout.sm);
7570
- var StyledIconIndicator = styled__default.default.div.withConfig({
7906
+ })(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 = /*#__PURE__*/styled__default.default.div.withConfig({
7571
7908
  displayName: "TransactionListItem__StyledIconIndicator",
7572
7909
  componentId: "sc-7yunm0-7"
7573
- })(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"])), data.tokensJson.semantic.spacing.layout.xs, data.tokensJson.semantic.color.icon.subdued);
7574
- var StyledTruncatedText = styled__default.default.span.withConfig({
7910
+ })(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 = /*#__PURE__*/styled__default.default.span.withConfig({
7575
7912
  displayName: "TransactionListItem__StyledTruncatedText",
7576
7913
  componentId: "sc-7yunm0-8"
7577
7914
  })(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"
@@ -7746,15 +8083,15 @@ var templateObject_1$1, templateObject_2$1, templateObject_3$1, templateObject_4
7746
8083
  // Exception to decision 0014: the gap props are typed as base spacing keys (public API),
7747
8084
  // so they are looked up in base.spacing until they accept semantic keys.
7748
8085
  // eslint-disable-next-line no-restricted-syntax
7749
- var gapSpacing = data.tokensJson.base.spacing;
8086
+ var gapSpacing = tokens.base.spacing;
7750
8087
  // Breakpoints using base tokens
7751
8088
  var breakpoints = {
7752
- xs: data.tokensJson.semantic.breakpoint.xs,
7753
- sm: data.tokensJson.semantic.breakpoint.sm,
7754
- md: data.tokensJson.semantic.breakpoint.md,
7755
- lg: data.tokensJson.semantic.breakpoint.lg,
7756
- xl: data.tokensJson.semantic.breakpoint.xl,
7757
- '2xl': data.tokensJson.semantic.breakpoint['2xl']
8089
+ xs: tokens.semantic.breakpoint.xs,
8090
+ sm: tokens.semantic.breakpoint.sm,
8091
+ md: tokens.semantic.breakpoint.md,
8092
+ lg: tokens.semantic.breakpoint.lg,
8093
+ xl: tokens.semantic.breakpoint.xl,
8094
+ '2xl': tokens.semantic.breakpoint['2xl']
7758
8095
  };
7759
8096
  // Media query helpers
7760
8097
  var media = {
@@ -7765,7 +8102,7 @@ var media = {
7765
8102
  xl: "@media (min-width: ".concat(breakpoints.xl, ")"),
7766
8103
  '2xl': "@media (min-width: ".concat(breakpoints['2xl'], ")")
7767
8104
  };
7768
- var GridContainer = styled__default.default.div.withConfig({
8105
+ var GridContainer = /*#__PURE__*/styled__default.default.div.withConfig({
7769
8106
  shouldForwardProp: function shouldForwardProp(prop) {
7770
8107
  return !prop.startsWith('$');
7771
8108
  },
@@ -7799,7 +8136,7 @@ var Grid = function Grid(_a) {
7799
8136
  children: children
7800
8137
  });
7801
8138
  };
7802
- var GridColContainer = styled__default.default.div.withConfig({
8139
+ var GridColContainer = /*#__PURE__*/styled__default.default.div.withConfig({
7803
8140
  shouldForwardProp: function shouldForwardProp(prop) {
7804
8141
  return !prop.startsWith('$');
7805
8142
  },
@@ -7856,7 +8193,7 @@ var GridCol = function GridCol(_a) {
7856
8193
  children: children
7857
8194
  });
7858
8195
  };
7859
- var ResponsiveGridContainer = styled__default.default.div.withConfig({
8196
+ var ResponsiveGridContainer = /*#__PURE__*/styled__default.default.div.withConfig({
7860
8197
  shouldForwardProp: function shouldForwardProp(prop) {
7861
8198
  return !prop.startsWith('$');
7862
8199
  },