@common-origin/design-system 2.17.0 → 2.19.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.
@@ -103,13 +103,57 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
103
103
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
104
104
  };
105
105
 
106
+ // Components read tokens as CSS variables, with the resolved value as the fallback (decision 0041).
107
+ // A product that loads tokens.css can change a token for a region (a density or motion mode, a
108
+ // theme); one that doesn't renders exactly the resolved values.
109
+ /**
110
+ * The CSS variable tokens.css declares for a token path: Style Dictionary's `name/kebab` with the
111
+ * `co` prefix. `semantic.color.text.default` is `--co-semantic-color-text-default`, and
112
+ * `semantic.border.focusOffset` is `--co-semantic-border-focus-offset`.
113
+ */
114
+ function cssVariableName(path) {
115
+ return "--".concat(__spreadArray(['co'], path, true).join('-').replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase());
116
+ }
117
+ /** Breakpoints stay values: a CSS variable can't be used in a media query */
118
+ var keepsValue = function keepsValue(path) {
119
+ return path[1] === 'breakpoint';
120
+ };
121
+ /**
122
+ * A copy of a token tree with the same shape, where every value reads its CSS variable and falls
123
+ * back to the resolved value: `var(--co-semantic-color-text-default, #212529)`.
124
+ */
125
+ function withCssVariables(tree, path) {
126
+ if (path === void 0) {
127
+ path = [];
128
+ }
129
+ return Object.fromEntries(Object.entries(tree).map(function (_a) {
130
+ var key = _a[0],
131
+ value = _a[1];
132
+ var at = __spreadArray(__spreadArray([], path, true), [key], false);
133
+ if (typeof value !== 'string') return [key, withCssVariables(value, at)];
134
+ return [key, keepsValue(at) ? value : "var(".concat(cssVariableName(at), ", ").concat(value, ")")];
135
+ }));
136
+ }
137
+
138
+ /**
139
+ * The tokens as components read them (decision 0041): the same shape and type as `tokens.json`,
140
+ * with every value a CSS variable that falls back to the resolved value, so a region can change a
141
+ * token through tokens.css. Breakpoints stay values.
142
+ *
143
+ * Use the resolved values from `tokens.json` instead where a value is read as data rather than
144
+ * CSS, such as a duration parsed for a timer.
145
+ *
146
+ * Jest maps this module to `tokens.json` (jest.config.js), so unit tests assert resolved values;
147
+ * the browser specs check the variables.
148
+ */
149
+ var tokens = withCssVariables(tokensJson);
150
+
106
151
  // Destructure tokens
107
- var semantic$j = tokensJson.semantic;
108
- var initials = tokensJson.component.avatar.initials;
109
- var color$b = semantic$j.color,
110
- size$2 = semantic$j.size,
111
- border$b = semantic$j.border;
112
- var radius$5 = border$b.radius;
152
+ var semantic$l = tokens.semantic;
153
+ var initials = tokens.component.avatar.initials;
154
+ var color$b = semantic$l.color,
155
+ size$3 = semantic$l.size;
156
+ var radius$6 = semantic$l.radius;
113
157
  var AvatarContainer = styled.div.withConfig({
114
158
  shouldForwardProp: function shouldForwardProp(prop) {
115
159
  return !prop.startsWith('$');
@@ -118,25 +162,25 @@ var AvatarContainer = styled.div.withConfig({
118
162
  componentId: "sc-ezn4ax-0"
119
163
  })(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) {
120
164
  var $size = _a.$size;
121
- return size$2.avatar[$size];
165
+ return size$3.avatar[$size];
122
166
  }, function (_a) {
123
167
  var $size = _a.$size;
124
- return size$2.avatar[$size];
125
- }, radius$5.circle, color$b.background.surface);
168
+ return size$3.avatar[$size];
169
+ }, radius$6.full, color$b.fill.muted);
126
170
  var AvatarImage = styled.img.withConfig({
127
171
  shouldForwardProp: function shouldForwardProp(prop) {
128
172
  return !prop.startsWith('$');
129
173
  },
130
174
  displayName: "Avatar__AvatarImage",
131
175
  componentId: "sc-ezn4ax-1"
132
- })(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);
176
+ })(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);
133
177
  var AvatarInitials = styled.span.withConfig({
134
178
  shouldForwardProp: function shouldForwardProp(prop) {
135
179
  return !prop.startsWith('$');
136
180
  },
137
181
  displayName: "Avatar__AvatarInitials",
138
182
  componentId: "sc-ezn4ax-2"
139
- })(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"
183
+ })(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"
140
184
  // Helper function to get initials from name
141
185
  ])), initials.fontFamily, initials.fontWeight, function (_a) {
142
186
  var $size = _a.$size;
@@ -195,16 +239,16 @@ var Avatar = function Avatar(_a) {
195
239
  })
196
240
  }));
197
241
  };
198
- var templateObject_1$M, templateObject_2$y, templateObject_3$v;
242
+ var templateObject_1$M, templateObject_2$y, templateObject_3$w;
199
243
 
200
244
  // Breakpoints from the semantic tokens (decision 0014)
201
245
  var breakpoints$1 = {
202
- xs: tokensJson.semantic.breakpoint.xs,
203
- sm: tokensJson.semantic.breakpoint.sm,
204
- md: tokensJson.semantic.breakpoint.md,
205
- lg: tokensJson.semantic.breakpoint.lg,
206
- xl: tokensJson.semantic.breakpoint.xl,
207
- '2xl': tokensJson.semantic.breakpoint['2xl']
246
+ xs: tokens.semantic.breakpoint.xs,
247
+ sm: tokens.semantic.breakpoint.sm,
248
+ md: tokens.semantic.breakpoint.md,
249
+ lg: tokens.semantic.breakpoint.lg,
250
+ xl: tokens.semantic.breakpoint.xl,
251
+ '2xl': tokens.semantic.breakpoint['2xl']
208
252
  };
209
253
  // Media query helpers
210
254
  var media$1 = {
@@ -215,6 +259,16 @@ var media$1 = {
215
259
  xl: "@media (min-width: ".concat(breakpoints$1.xl, ")"),
216
260
  '2xl': "@media (min-width: ".concat(breakpoints$1['2xl'], ")")
217
261
  };
262
+ // Windows Contrast Themes and other forced-colours modes (decision 0038). The browser swaps in
263
+ // the user's system colours, drops background colours and box-shadows, and keeps borders and
264
+ // outlines. Inside this query, give a control that shows its edge with a fill alone a border,
265
+ // and draw selected and checked states with system colours: ButtonText for control edges,
266
+ // Highlight and HighlightText for selected and checked, GrayText for disabled, CanvasText for
267
+ // content. Use forced-color-adjust: none only on a fill that carries state.
268
+ var forcedColors = '@media (forced-colors: active)';
269
+ /** A control's edge in forced colours, for a control that shows its edge with a fill alone. The
270
+ * border follows the text colour the browser picks: ButtonText, LinkText, or GrayText when disabled. */
271
+ var forcedColorsEdge = "".concat(forcedColors, " {\n border: ").concat(tokens.semantic.border.width.thin, " solid currentColor;\n}");
218
272
  // Wrap fallbacks for people who ask for less motion (decision 0005): movement becomes
219
273
  // an instant change or a simple fade. Colour and opacity transitions need no fallback.
220
274
  var reducedMotion = '@media (prefers-reduced-motion: reduce)';
@@ -226,25 +280,124 @@ var fadeOut$1 = keyframes(templateObject_1$L || (templateObject_1$L = __makeTemp
226
280
  // so it isn't restarted, and the fade runs on top of it. A fade is already the
227
281
  // reduced-motion form, so it needs no fallback of its own. While it fades, the backdrop
228
282
  // still catches clicks (so they can't reach the page behind it) and the panel is inert.
283
+ // Exits accelerate: things leaving speed up as they go (decision 0037).
229
284
  ])));
230
285
  // Exit for overlays that unmount (use with usePresence). Append `exitAnimation` to each of
231
286
  // the element's `animation` declarations while it exits: the entrance stays in the list,
232
287
  // so it isn't restarted, and the fade runs on top of it. A fade is already the
233
288
  // reduced-motion form, so it needs no fallback of its own. While it fades, the backdrop
234
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).
235
291
  var exitAnimation = css(templateObject_2$x || (templateObject_2$x = __makeTemplateObject([", ", " ", " ", " forwards"], [", ", " ", " ", " forwards"
236
292
  // Content for screen readers only. The 1px size and -1px margin are part of the standard
237
293
  // visually-hidden technique, not design values, so they aren't tokens.
238
- ])), fadeOut$1, tokensJson.semantic.motion.duration.fast, tokensJson.semantic.motion.easing.easeOut);
294
+ ])), fadeOut$1, tokens.semantic.motion.duration.fast, tokens.semantic.motion.easing.accelerate);
239
295
  // Content for screen readers only. The 1px size and -1px margin are part of the standard
240
296
  // visually-hidden technique, not design values, so they aren't tokens.
241
- var visuallyHidden = 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"])));
242
- var templateObject_1$L, templateObject_2$x, templateObject_3$u;
297
+ var visuallyHidden = 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"
298
+ // One interaction pattern for rows and items: list items, menu and listbox options, sidebars
299
+ // (decision 0030). Unselected rows follow the naked Button's ladder; selected rows follow the
300
+ // light-blue selected ladder, with the text darkening with its fill (decision 0016). Unselected
301
+ // rows leave their text colour to the component, so a destructive row can stay red.
302
+ ])));
303
+ // One interaction pattern for rows and items: list items, menu and listbox options, sidebars
304
+ // (decision 0030). Unselected rows follow the naked Button's ladder; selected rows follow the
305
+ // light-blue selected ladder, with the text darkening with its fill (decision 0016). Unselected
306
+ // rows leave their text colour to the component, so a destructive row can stay red.
307
+ var _a$b = tokens.semantic.color,
308
+ rowFill = _a$b.fill,
309
+ rowText = _a$b.text;
310
+ var rowStates = {
311
+ unselected: {
312
+ rest: {
313
+ background: 'transparent'
314
+ },
315
+ hover: {
316
+ background: rowFill.muted
317
+ },
318
+ pressed: {
319
+ background: rowFill["default"]
320
+ }
321
+ },
322
+ selected: {
323
+ rest: {
324
+ background: rowFill['accent-muted'],
325
+ text: rowText.accent
326
+ },
327
+ hover: {
328
+ background: rowFill['accent-muted-hover'],
329
+ text: rowText['accent-hover']
330
+ },
331
+ pressed: {
332
+ background: rowFill['accent-muted-pressed'],
333
+ text: rowText['accent-pressed']
334
+ }
335
+ }
336
+ };
337
+ var rowDeclarations = function rowDeclarations(_a, textSelector) {
338
+ var background = _a.background,
339
+ text = _a.text;
340
+ if (!text) return "background-color: ".concat(background, ";");
341
+ return textSelector ? "background-color: ".concat(background, ";\n ").concat(textSelector, " { color: ").concat(text, "; }") : "background-color: ".concat(background, ";\n color: ").concat(text, ";");
342
+ };
343
+ /**
344
+ * The background (and, when selected, text) of an interactive row in every state.
345
+ * - `focused`: keyboard focus that isn't DOM focus, such as a listbox option under
346
+ * aria-activedescendant. It shows the hover state.
347
+ * - `disabled`: shows the resting state, with no hover or press.
348
+ * - `textSelector`: a descendant to colour when the row's text isn't the row itself, for example
349
+ * text set by Typography. Pass it without `&`.
350
+ */
351
+ var interactiveRow = function interactiveRow(_a) {
352
+ var _b = _a === void 0 ? {} : _a,
353
+ _c = _b.selected,
354
+ selected = _c === void 0 ? false : _c,
355
+ _d = _b.focused,
356
+ focused = _d === void 0 ? false : _d,
357
+ _e = _b.disabled,
358
+ disabled = _e === void 0 ? false : _e,
359
+ textSelector = _b.textSelector;
360
+ var states = selected ? rowStates.selected : rowStates.unselected;
361
+ if (disabled) return "".concat(rowDeclarations(states.rest, textSelector), "\n").concat(rowForcedColors({
362
+ selected: selected,
363
+ focused: focused,
364
+ disabled: disabled,
365
+ textSelector: textSelector
366
+ }));
367
+ 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({
368
+ selected: selected,
369
+ focused: focused,
370
+ disabled: disabled,
371
+ textSelector: textSelector
372
+ }), "\n");
373
+ };
374
+ // Rows in forced colours (decision 0038): fills are dropped, so a selected row takes the system
375
+ // selection colours, and a hovered or keyboard-active row is outlined in Highlight.
376
+ var rowForcedColors = function rowForcedColors(_a) {
377
+ var selected = _a.selected,
378
+ focused = _a.focused,
379
+ disabled = _a.disabled,
380
+ textSelector = _a.textSelector;
381
+ var text = function text(color) {
382
+ return textSelector ? "color: ".concat(color, ";\n ").concat(textSelector, " { color: ").concat(color, "; }") : "color: ".concat(color, ";");
383
+ };
384
+ var hover = "outline: ".concat(tokens.semantic.border.width.thin, " solid Highlight;\n outline-offset: calc(-1 * ").concat(tokens.semantic.border.width.thin, ");");
385
+ // A row that doesn't respond (disabled, or not interactive at all) keeps its selection but has
386
+ // no hover outline. Disabled text is the component's to colour: callers also pass this for
387
+ // static rows, which must stay CanvasText.
388
+ // A selected row keeps forced-color-adjust: auto: the browser keeps system colours an author
389
+ // sets, so the row stays Highlight with HighlightText. Its descendants' own colours would be
390
+ // forced to CanvasText, so they inherit HighlightText, and anything drawn with a fill inside
391
+ // (a chip or tag as the row's badge) drops it and keeps its edge. The doubled class outranks
392
+ // the descendants' own rules.
393
+ 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 }");
394
+ };
395
+ var templateObject_1$L, templateObject_2$x, templateObject_3$v;
243
396
 
244
- var _a$b = tokensJson.semantic,
245
- typography$2 = _a$b.typography,
246
- color$a = _a$b.color,
247
- letterSpacing = _a$b.letterSpacing;
397
+ var _a$a = tokens.semantic,
398
+ typography$2 = _a$a.typography,
399
+ color$a = _a$a.color,
400
+ letterSpacing = _a$a.letterSpacing;
248
401
  var getTypographyStyles = function getTypographyStyles(variant) {
249
402
  var styles = {
250
403
  display: "font: ".concat(typography$2.display, "; letter-spacing: ").concat(letterSpacing.tighter, ";"),
@@ -259,9 +412,9 @@ var getTypographyStyles = function getTypographyStyles(variant) {
259
412
  small: "font: ".concat(typography$2.small, ";"),
260
413
  overline: "font: ".concat(typography$2.overline, ";"),
261
414
  caption: "font: ".concat(typography$2.caption, "; text-transform: uppercase;"),
262
- button1: "font: ".concat(typography$2.button1, ";"),
263
- button2: "font: ".concat(typography$2.button2, ";"),
264
- button3: "font: ".concat(typography$2.button3, ";"),
415
+ button1: "font: ".concat(tokens.component.button.sizes.large.font, ";"),
416
+ button2: "font: ".concat(tokens.component.button.sizes.medium.font, ";"),
417
+ button3: "font: ".concat(tokens.component.button.sizes.small.font, ";"),
265
418
  label: "font: ".concat(typography$2.label, ";")
266
419
  };
267
420
  return styles[variant] || styles.body;
@@ -270,11 +423,11 @@ var getTextColor = function getTextColor(colorVariant) {
270
423
  var colorMap = {
271
424
  "default": color$a.text["default"],
272
425
  emphasis: color$a.text.emphasis,
273
- subdued: color$a.text.subdued,
426
+ subdued: color$a.text.muted,
274
427
  inverse: color$a.text.inverse,
275
428
  disabled: color$a.text.disabled,
276
- interactive: color$a.text.interactive,
277
- error: color$a.text.error,
429
+ interactive: color$a.text.accent,
430
+ error: color$a.text.danger,
278
431
  success: color$a.text.success,
279
432
  warning: color$a.text.warning
280
433
  };
@@ -371,14 +524,13 @@ var Typography = function Typography(_a) {
371
524
  };
372
525
  var templateObject_1$K;
373
526
 
374
- var semantic$i = tokensJson.semantic;
375
- var color$9 = semantic$i.color,
376
- border$a = semantic$i.border;
377
- var radius$4 = border$a.radius;
378
- var _a$a = tokensJson.component.badge,
379
- dot = _a$a.dot,
380
- count = _a$a.count,
381
- ring = _a$a.ring;
527
+ var semantic$k = tokens.semantic;
528
+ var color$9 = semantic$k.color;
529
+ var radius$5 = semantic$k.radius;
530
+ var _a$9 = tokens.component.badge,
531
+ dot = _a$9.dot,
532
+ count = _a$9.count,
533
+ ring = _a$9.ring;
382
534
  var scaleIn$2 = 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"])));
383
535
  var BadgeWrapper = styled.span.withConfig({
384
536
  displayName: "Badge__BadgeWrapper",
@@ -390,26 +542,30 @@ var BadgeIndicator = styled.span.withConfig({
390
542
  },
391
543
  displayName: "Badge__BadgeIndicator",
392
544
  componentId: "sc-tjz4pp-1"
393
- })(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) {
545
+ })(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) {
394
546
  return props.$isVisible ? 'flex' : 'none';
395
547
  }, function (props) {
396
548
  return props.$isDot ? dot.size : count.minWidth;
397
549
  }, function (props) {
398
550
  return props.$isDot ? dot.size : count.height;
399
551
  }, function (props) {
400
- return props.$isDot ? '0' : "0 ".concat(semantic$i.spacing.component.xs);
401
- }, 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) {
552
+ return props.$isDot ? '0' : "0 ".concat(semantic$k.space.inset.xs);
553
+ }, 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) {
554
+ return props.$isDot ? "".concat(forcedColors, " { forced-color-adjust: none; background-color: CanvasText; }") : "".concat(forcedColors, " { border: ").concat(semantic$k.border.width.thin, " solid currentColor; }");
555
+ }, function (props) {
402
556
  switch (props.$variant) {
557
+ case 'accent':
403
558
  case 'primary':
404
- return "\n background-color: ".concat(color$9.background.interactive, ";\n color: ").concat(color$9.text.inverse, ";\n ");
559
+ // Deprecated alias for 'accent', removed in 3.0 (#169)
560
+ return "\n background-color: ".concat(color$9.fill.accent, ";\n color: ").concat(color$9.text.inverse, ";\n ");
405
561
  case 'error':
406
- return "\n background-color: ".concat(color$9.background.error, ";\n color: ").concat(color$9.text.inverse, ";\n ");
562
+ return "\n background-color: ".concat(color$9.fill.danger, ";\n color: ").concat(color$9.text.inverse, ";\n ");
407
563
  case 'warning':
408
- return "\n background-color: ".concat(color$9.background.warning, ";\n color: ").concat(color$9.text.inverse, ";\n ");
564
+ return "\n background-color: ".concat(color$9.fill.warning, ";\n color: ").concat(color$9.text.inverse, ";\n ");
409
565
  case 'success':
410
- return "\n background-color: ".concat(color$9.background.success, ";\n color: ").concat(color$9.text.inverse, ";\n ");
566
+ return "\n background-color: ".concat(color$9.fill.success, ";\n color: ").concat(color$9.text.inverse, ";\n ");
411
567
  default:
412
- return "\n background-color: ".concat(color$9.background.emphasis, ";\n color: ").concat(color$9.text.inverse, ";\n ");
568
+ return "\n background-color: ".concat(color$9.fill.emphasis, ";\n color: ").concat(color$9.text.inverse, ";\n ");
413
569
  }
414
570
  });
415
571
  var ScreenReaderOnly$1 = styled.span.withConfig({
@@ -453,7 +609,123 @@ var Badge = function Badge(_a) {
453
609
  })]
454
610
  });
455
611
  };
456
- var templateObject_1$J, templateObject_2$w, templateObject_3$t, templateObject_4$n;
612
+ var templateObject_1$J, templateObject_2$w, templateObject_3$u, templateObject_4$n;
613
+
614
+ // Props whose values are token keys keep their published vocabulary in 2.x (P7), but read the
615
+ // semantic grammar's names (decision 0031, #189). Each map covers every key the prop type allows,
616
+ // so TypeScript fails here if a key is added without a mapping.
617
+ var semantic$j = tokens.semantic;
618
+ var color$8 = semantic$j.color,
619
+ space$e = semantic$j.space,
620
+ radius$4 = semantic$j.radius,
621
+ surface = semantic$j.surface;
622
+ /** Box's spacing props (`p`, `m`, `gap`…): the old layout scale's keys, read from `space`. */
623
+ var spaceByLayoutKey = {
624
+ none: space$e[0],
625
+ xs: space$e[100],
626
+ sm: space$e[200],
627
+ md: space$e[300],
628
+ lg: space$e[400],
629
+ xl: space$e[500],
630
+ '2xl': space$e[600],
631
+ '3xl': space$e[700],
632
+ '4xl': space$e[800],
633
+ '5xl': space$e[900],
634
+ '6xl': space$e[1000],
635
+ '7xl': space$e[1200],
636
+ '8xl': space$e[1400],
637
+ '9xl': space$e[1600],
638
+ '10xl': space$e[2000],
639
+ '11xl': space$e[2400],
640
+ // A keyword, not a step: it stays until the keyword question is settled (0031)
641
+ auto: semantic$j.spacing.layout.auto
642
+ };
643
+ /** Box's `borderRadius` prop: the old radius keys, read from `radius`. */
644
+ var radiusByKey = {
645
+ none: radius$4.none,
646
+ xs: radius$4.xs,
647
+ sm: radius$4.sm,
648
+ md: radius$4.md,
649
+ lg: radius$4.lg,
650
+ xl: radius$4.xl,
651
+ '2xl': radius$4['2xl'],
652
+ '3xl': radius$4['3xl'],
653
+ circle: radius$4.full
654
+ };
655
+ /** Box's `bg` prop: the old background keys, read from `surface` and `color.fill`. */
656
+ var backgroundByKey = {
657
+ "default": surface.base,
658
+ page: surface.base,
659
+ subtle: surface.raised,
660
+ overlay: surface.scrim,
661
+ emphasis: color$8.fill.emphasis,
662
+ 'emphasis-hover': color$8.fill['emphasis-hover'],
663
+ 'emphasis-active': color$8.fill['emphasis-pressed'],
664
+ surface: color$8.fill.muted,
665
+ inverse: color$8.fill.inverse,
666
+ interactive: color$8.fill.accent,
667
+ 'interactive-hover': color$8.fill['accent-hover'],
668
+ 'interactive-active': color$8.fill['accent-pressed'],
669
+ 'interactive-subtle': color$8.fill['accent-muted'],
670
+ 'interactive-subtle-hover': color$8.fill['accent-muted-hover'],
671
+ 'interactive-subtle-active': color$8.fill['accent-muted-pressed'],
672
+ error: color$8.fill.danger,
673
+ 'error-hover': color$8.fill['danger-hover'],
674
+ 'error-active': color$8.fill['danger-pressed'],
675
+ 'error-subtle': color$8.fill['danger-muted'],
676
+ success: color$8.fill.success,
677
+ 'success-subtle': color$8.fill['success-muted'],
678
+ warning: color$8.fill.warning,
679
+ 'warning-subtle': color$8.fill['warning-muted'],
680
+ disabled: color$8.fill.disabled,
681
+ neutral: color$8.fill["default"],
682
+ 'neutral-hover': color$8.fill['default-hover'],
683
+ 'neutral-active': color$8.fill['default-pressed'],
684
+ transparent: color$8.fill.none,
685
+ 'hover-overlay': color$8.fill['none-hover'],
686
+ 'active-overlay': color$8.fill['none-pressed'],
687
+ 'inverse-overlay': color$8.fill['inverse-none-hover'],
688
+ // Moved to the component tier (decision 0031 §6)
689
+ progressTrack: tokens.component.track.background
690
+ };
691
+ /** Box's `color` prop: text colours, old and new keys. */
692
+ var textColorByKey = {
693
+ "default": color$8.text["default"],
694
+ emphasis: color$8.text.emphasis,
695
+ inverse: color$8.text.inverse,
696
+ disabled: color$8.text.disabled,
697
+ success: color$8.text.success,
698
+ warning: color$8.text.warning,
699
+ muted: color$8.text.muted,
700
+ accent: color$8.text.accent,
701
+ 'accent-hover': color$8.text['accent-hover'],
702
+ 'accent-pressed': color$8.text['accent-pressed'],
703
+ danger: color$8.text.danger,
704
+ subdued: color$8.text.muted,
705
+ interactive: color$8.text.accent,
706
+ 'interactive-hover': color$8.text['accent-hover'],
707
+ 'interactive-active': color$8.text['accent-pressed'],
708
+ error: color$8.text.danger
709
+ };
710
+ /** Box's border props: border colours, old and new keys. */
711
+ var borderColorByKey = {
712
+ "default": color$8.border["default"],
713
+ success: color$8.border.success,
714
+ warning: color$8.border.warning,
715
+ none: color$8.border.none,
716
+ emphasis: color$8.border.emphasis,
717
+ input: color$8.border.input,
718
+ 'input-hover': color$8.border['input-hover'],
719
+ focus: color$8.border.focus,
720
+ accent: color$8.border.accent,
721
+ danger: color$8.border.danger,
722
+ subtle: color$8.border.emphasis,
723
+ control: color$8.border.input,
724
+ // `strong` split by use (0031); as a generic firm outline it is the hovered-input border
725
+ strong: color$8.border['input-hover'],
726
+ interactive: color$8.border.accent,
727
+ error: color$8.border.danger
728
+ };
457
729
 
458
730
  var StyledBox = styled.div.withConfig({
459
731
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -461,48 +733,48 @@ var StyledBox = styled.div.withConfig({
461
733
  },
462
734
  displayName: "Box__StyledBox",
463
735
  componentId: "sc-aj0jhd-0"
464
- })(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"
736
+ })(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"
465
737
  // Transform component that maps clean props to $-prefixed props for styled-components
466
738
  ])), function (props) {
467
739
  return props.$display && css(templateObject_1$I || (templateObject_1$I = __makeTemplateObject(["display: ", ";"], ["display: ", ";"])), props.$display);
468
740
  }, function (props) {
469
741
  return props.$flexDirection && css(templateObject_2$v || (templateObject_2$v = __makeTemplateObject(["flex-direction: ", ";"], ["flex-direction: ", ";"])), props.$flexDirection);
470
742
  }, function (props) {
471
- return props.$justifyContent && css(templateObject_3$s || (templateObject_3$s = __makeTemplateObject(["justify-content: ", ";"], ["justify-content: ", ";"])), props.$justifyContent);
743
+ return props.$justifyContent && css(templateObject_3$t || (templateObject_3$t = __makeTemplateObject(["justify-content: ", ";"], ["justify-content: ", ";"])), props.$justifyContent);
472
744
  }, function (props) {
473
745
  return props.$alignItems && css(templateObject_4$m || (templateObject_4$m = __makeTemplateObject(["align-items: ", ";"], ["align-items: ", ";"])), props.$alignItems);
474
746
  }, function (props) {
475
- return props.$flexWrap && css(templateObject_5$h || (templateObject_5$h = __makeTemplateObject(["flex-wrap: ", ";"], ["flex-wrap: ", ";"])), props.$flexWrap);
747
+ return props.$flexWrap && css(templateObject_5$i || (templateObject_5$i = __makeTemplateObject(["flex-wrap: ", ";"], ["flex-wrap: ", ";"])), props.$flexWrap);
476
748
  }, function (props) {
477
- return props.$gap && css(templateObject_6$d || (templateObject_6$d = __makeTemplateObject(["gap: ", ";"], ["gap: ", ";"])), tokensJson.semantic.spacing.layout[props.$gap]);
749
+ return props.$gap && css(templateObject_6$d || (templateObject_6$d = __makeTemplateObject(["gap: ", ";"], ["gap: ", ";"])), spaceByLayoutKey[props.$gap]);
478
750
  }, function (props) {
479
- return props.$m && css(templateObject_7$b || (templateObject_7$b = __makeTemplateObject(["margin: ", ";"], ["margin: ", ";"])), tokensJson.semantic.spacing.layout[props.$m]);
751
+ return props.$m && css(templateObject_7$b || (templateObject_7$b = __makeTemplateObject(["margin: ", ";"], ["margin: ", ";"])), spaceByLayoutKey[props.$m]);
480
752
  }, function (props) {
481
- return props.$mt && css(templateObject_8$8 || (templateObject_8$8 = __makeTemplateObject(["margin-top: ", ";"], ["margin-top: ", ";"])), tokensJson.semantic.spacing.layout[props.$mt]);
753
+ return props.$mt && css(templateObject_8$8 || (templateObject_8$8 = __makeTemplateObject(["margin-top: ", ";"], ["margin-top: ", ";"])), spaceByLayoutKey[props.$mt]);
482
754
  }, function (props) {
483
- return props.$mr && css(templateObject_9$6 || (templateObject_9$6 = __makeTemplateObject(["margin-right: ", ";"], ["margin-right: ", ";"])), tokensJson.semantic.spacing.layout[props.$mr]);
755
+ return props.$mr && css(templateObject_9$6 || (templateObject_9$6 = __makeTemplateObject(["margin-right: ", ";"], ["margin-right: ", ";"])), spaceByLayoutKey[props.$mr]);
484
756
  }, function (props) {
485
- return props.$mb && css(templateObject_10$4 || (templateObject_10$4 = __makeTemplateObject(["margin-bottom: ", ";"], ["margin-bottom: ", ";"])), tokensJson.semantic.spacing.layout[props.$mb]);
757
+ return props.$mb && css(templateObject_10$4 || (templateObject_10$4 = __makeTemplateObject(["margin-bottom: ", ";"], ["margin-bottom: ", ";"])), spaceByLayoutKey[props.$mb]);
486
758
  }, function (props) {
487
- return props.$ml && css(templateObject_11$4 || (templateObject_11$4 = __makeTemplateObject(["margin-left: ", ";"], ["margin-left: ", ";"])), tokensJson.semantic.spacing.layout[props.$ml]);
759
+ return props.$ml && css(templateObject_11$4 || (templateObject_11$4 = __makeTemplateObject(["margin-left: ", ";"], ["margin-left: ", ";"])), spaceByLayoutKey[props.$ml]);
488
760
  }, function (props) {
489
- return props.$mx && css(templateObject_12$4 || (templateObject_12$4 = __makeTemplateObject(["\n margin-left: ", ";\n margin-right: ", ";\n "], ["\n margin-left: ", ";\n margin-right: ", ";\n "])), tokensJson.semantic.spacing.layout[props.$mx], tokensJson.semantic.spacing.layout[props.$mx]);
761
+ return props.$mx && 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]);
490
762
  }, function (props) {
491
- return props.$my && css(templateObject_13$4 || (templateObject_13$4 = __makeTemplateObject(["\n margin-top: ", ";\n margin-bottom: ", ";\n "], ["\n margin-top: ", ";\n margin-bottom: ", ";\n "])), tokensJson.semantic.spacing.layout[props.$my], tokensJson.semantic.spacing.layout[props.$my]);
763
+ return props.$my && 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]);
492
764
  }, function (props) {
493
- return props.$p && css(templateObject_14$2 || (templateObject_14$2 = __makeTemplateObject(["padding: ", ";"], ["padding: ", ";"])), tokensJson.semantic.spacing.layout[props.$p]);
765
+ return props.$p && css(templateObject_14$2 || (templateObject_14$2 = __makeTemplateObject(["padding: ", ";"], ["padding: ", ";"])), spaceByLayoutKey[props.$p]);
494
766
  }, function (props) {
495
- return props.$pt && css(templateObject_15$2 || (templateObject_15$2 = __makeTemplateObject(["padding-top: ", ";"], ["padding-top: ", ";"])), tokensJson.semantic.spacing.layout[props.$pt]);
767
+ return props.$pt && css(templateObject_15$2 || (templateObject_15$2 = __makeTemplateObject(["padding-top: ", ";"], ["padding-top: ", ";"])), spaceByLayoutKey[props.$pt]);
496
768
  }, function (props) {
497
- return props.$pr && css(templateObject_16$2 || (templateObject_16$2 = __makeTemplateObject(["padding-right: ", ";"], ["padding-right: ", ";"])), tokensJson.semantic.spacing.layout[props.$pr]);
769
+ return props.$pr && css(templateObject_16$2 || (templateObject_16$2 = __makeTemplateObject(["padding-right: ", ";"], ["padding-right: ", ";"])), spaceByLayoutKey[props.$pr]);
498
770
  }, function (props) {
499
- return props.$pb && css(templateObject_17$2 || (templateObject_17$2 = __makeTemplateObject(["padding-bottom: ", ";"], ["padding-bottom: ", ";"])), tokensJson.semantic.spacing.layout[props.$pb]);
771
+ return props.$pb && css(templateObject_17$2 || (templateObject_17$2 = __makeTemplateObject(["padding-bottom: ", ";"], ["padding-bottom: ", ";"])), spaceByLayoutKey[props.$pb]);
500
772
  }, function (props) {
501
- return props.$pl && css(templateObject_18$2 || (templateObject_18$2 = __makeTemplateObject(["padding-left: ", ";"], ["padding-left: ", ";"])), tokensJson.semantic.spacing.layout[props.$pl]);
773
+ return props.$pl && css(templateObject_18$2 || (templateObject_18$2 = __makeTemplateObject(["padding-left: ", ";"], ["padding-left: ", ";"])), spaceByLayoutKey[props.$pl]);
502
774
  }, function (props) {
503
- return props.$px && css(templateObject_19$1 || (templateObject_19$1 = __makeTemplateObject(["\n padding-left: ", ";\n padding-right: ", ";\n "], ["\n padding-left: ", ";\n padding-right: ", ";\n "])), tokensJson.semantic.spacing.layout[props.$px], tokensJson.semantic.spacing.layout[props.$px]);
775
+ return props.$px && 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]);
504
776
  }, function (props) {
505
- return props.$py && css(templateObject_20$1 || (templateObject_20$1 = __makeTemplateObject(["\n padding-top: ", ";\n padding-bottom: ", ";\n "], ["\n padding-top: ", ";\n padding-bottom: ", ";\n "])), tokensJson.semantic.spacing.layout[props.$py], tokensJson.semantic.spacing.layout[props.$py]);
777
+ return props.$py && 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]);
506
778
  }, function (props) {
507
779
  return props.$width && css(templateObject_21$1 || (templateObject_21$1 = __makeTemplateObject(["width: ", ";"], ["width: ", ";"])), props.$width);
508
780
  }, function (props) {
@@ -526,35 +798,35 @@ var StyledBox = styled.div.withConfig({
526
798
  }, function (props) {
527
799
  return props.$left && css(templateObject_31$1 || (templateObject_31$1 = __makeTemplateObject(["left: ", ";"], ["left: ", ";"])), props.$left);
528
800
  }, function (props) {
529
- return props.$borderRadius && css(templateObject_32$1 || (templateObject_32$1 = __makeTemplateObject(["border-radius: ", ";"], ["border-radius: ", ";"])), tokensJson.semantic.border.radius[props.$borderRadius]);
801
+ return props.$borderRadius && css(templateObject_32$1 || (templateObject_32$1 = __makeTemplateObject(["border-radius: ", ";"], ["border-radius: ", ";"])), radiusByKey[props.$borderRadius]);
530
802
  }, function (props) {
531
- return props.$border && css(templateObject_33$1 || (templateObject_33$1 = __makeTemplateObject(["border: ", " solid ", ";"], ["border: ", " solid ", ";"])), tokensJson.semantic.border.width.thin, tokensJson.semantic.color.border[props.$border]);
803
+ return props.$border && css(templateObject_33$1 || (templateObject_33$1 = __makeTemplateObject(["border: ", " solid ", ";"], ["border: ", " solid ", ";"])), tokens.semantic.border.width.thin, borderColorByKey[props.$border]);
532
804
  }, function (props) {
533
- return props.$borderTop && css(templateObject_34$1 || (templateObject_34$1 = __makeTemplateObject(["border-top: ", " solid ", ";"], ["border-top: ", " solid ", ";"])), tokensJson.semantic.border.width.thin, tokensJson.semantic.color.border[props.$borderTop]);
805
+ return props.$borderTop && css(templateObject_34$1 || (templateObject_34$1 = __makeTemplateObject(["border-top: ", " solid ", ";"], ["border-top: ", " solid ", ";"])), tokens.semantic.border.width.thin, borderColorByKey[props.$borderTop]);
534
806
  }, function (props) {
535
- return props.$borderRight && css(templateObject_35$1 || (templateObject_35$1 = __makeTemplateObject(["border-right: ", " solid ", ";"], ["border-right: ", " solid ", ";"])), tokensJson.semantic.border.width.thin, tokensJson.semantic.color.border[props.$borderRight]);
807
+ return props.$borderRight && css(templateObject_35$1 || (templateObject_35$1 = __makeTemplateObject(["border-right: ", " solid ", ";"], ["border-right: ", " solid ", ";"])), tokens.semantic.border.width.thin, borderColorByKey[props.$borderRight]);
536
808
  }, function (props) {
537
- return props.$borderBottom && css(templateObject_36 || (templateObject_36 = __makeTemplateObject(["border-bottom: ", " solid ", ";"], ["border-bottom: ", " solid ", ";"])), tokensJson.semantic.border.width.thin, tokensJson.semantic.color.border[props.$borderBottom]);
809
+ return props.$borderBottom && css(templateObject_36 || (templateObject_36 = __makeTemplateObject(["border-bottom: ", " solid ", ";"], ["border-bottom: ", " solid ", ";"])), tokens.semantic.border.width.thin, borderColorByKey[props.$borderBottom]);
538
810
  }, function (props) {
539
- return props.$borderLeft && css(templateObject_37 || (templateObject_37 = __makeTemplateObject(["border-left: ", " solid ", ";"], ["border-left: ", " solid ", ";"])), tokensJson.semantic.border.width.thin, tokensJson.semantic.color.border[props.$borderLeft]);
811
+ return props.$borderLeft && css(templateObject_37 || (templateObject_37 = __makeTemplateObject(["border-left: ", " solid ", ";"], ["border-left: ", " solid ", ";"])), tokens.semantic.border.width.thin, borderColorByKey[props.$borderLeft]);
540
812
  }, function (props) {
541
- return props.$bg && css(templateObject_38 || (templateObject_38 = __makeTemplateObject(["background-color: ", ";"], ["background-color: ", ";"])), tokensJson.semantic.color.background[props.$bg]);
813
+ return props.$bg && css(templateObject_38 || (templateObject_38 = __makeTemplateObject(["background-color: ", ";"], ["background-color: ", ";"])), backgroundByKey[props.$bg]);
542
814
  }, function (props) {
543
- return props.$color && css(templateObject_39 || (templateObject_39 = __makeTemplateObject(["color: ", ";"], ["color: ", ";"])), tokensJson.semantic.color.text[props.$color]);
815
+ return props.$color && css(templateObject_39 || (templateObject_39 = __makeTemplateObject(["color: ", ";"], ["color: ", ";"])), textColorByKey[props.$color]);
544
816
  }, function (props) {
545
- return props.$shadow && css(templateObject_40 || (templateObject_40 = __makeTemplateObject(["box-shadow: ", ";"], ["box-shadow: ", ";"])), tokensJson.semantic.elevation[props.$shadow]);
817
+ return props.$shadow && css(templateObject_40 || (templateObject_40 = __makeTemplateObject(["box-shadow: ", ";"], ["box-shadow: ", ";"])), tokens.semantic.elevation[props.$shadow]);
546
818
  }, function (props) {
547
819
  return props.$cursor && css(templateObject_41 || (templateObject_41 = __makeTemplateObject(["cursor: ", ";"], ["cursor: ", ";"])), props.$cursor);
548
820
  }, function (props) {
549
821
  return props.$transition && css(templateObject_42 || (templateObject_42 = __makeTemplateObject(["transition: ", ";"], ["transition: ", ";"])), props.$transition);
550
822
  }, function (props) {
551
- return (props.$hoverShadow || props.$hoverTransform) && 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: ", " solid ", ";\n outline-offset: ", ";\n }\n "], ["\n &:hover {\n ", "\n ", "\n }\n \n &:active {\n transform: translateY(0);\n }\n \n &:focus-visible {\n outline: ", " solid ", ";\n outline-offset: ", ";\n }\n "])), props.$hoverShadow && css(templateObject_43 || (templateObject_43 = __makeTemplateObject(["box-shadow: ", ";"], ["box-shadow: ", ";"])), tokensJson.semantic.elevation[props.$hoverShadow]), props.$hoverTransform && css(templateObject_44 || (templateObject_44 = __makeTemplateObject(["transform: ", ";"], ["transform: ", ";"])), props.$hoverTransform), tokensJson.semantic.border.width.thick, tokensJson.semantic.color.border.interactive, tokensJson.semantic.border.focusOffset);
823
+ return (props.$hoverShadow || props.$hoverTransform) && 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 && css(templateObject_43 || (templateObject_43 = __makeTemplateObject(["box-shadow: ", ";"], ["box-shadow: ", ";"])), tokens.semantic.elevation[props.$hoverShadow]), props.$hoverTransform && css(templateObject_44 || (templateObject_44 = __makeTemplateObject(["transform: ", ";"], ["transform: ", ";"])), props.$hoverTransform), props.$hoverShadow && 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 && 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));
552
824
  }, function (props) {
553
- return props.$overflow && css(templateObject_46 || (templateObject_46 = __makeTemplateObject(["overflow: ", ";"], ["overflow: ", ";"])), props.$overflow);
825
+ return props.$overflow && css(templateObject_48 || (templateObject_48 = __makeTemplateObject(["overflow: ", ";"], ["overflow: ", ";"])), props.$overflow);
554
826
  }, function (props) {
555
- return props.$overflowX && css(templateObject_47 || (templateObject_47 = __makeTemplateObject(["overflow-x: ", ";"], ["overflow-x: ", ";"])), props.$overflowX);
827
+ return props.$overflowX && css(templateObject_49 || (templateObject_49 = __makeTemplateObject(["overflow-x: ", ";"], ["overflow-x: ", ";"])), props.$overflowX);
556
828
  }, function (props) {
557
- return props.$overflowY && css(templateObject_48 || (templateObject_48 = __makeTemplateObject(["overflow-y: ", ";"], ["overflow-y: ", ";"])), props.$overflowY);
829
+ return props.$overflowY && css(templateObject_50 || (templateObject_50 = __makeTemplateObject(["overflow-y: ", ";"], ["overflow-y: ", ";"])), props.$overflowY);
558
830
  });
559
831
  // Transform component that maps clean props to $-prefixed props for styled-components
560
832
  var BoxTransform = function BoxTransform(props) {
@@ -688,7 +960,7 @@ var BoxTransform = function BoxTransform(props) {
688
960
  }));
689
961
  };
690
962
  var Box = BoxTransform;
691
- 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;
963
+ 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;
692
964
 
693
965
  var IconStyled = styled.span.withConfig({
694
966
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -698,35 +970,35 @@ var IconStyled = styled.span.withConfig({
698
970
  componentId: "sc-1105czq-0"
699
971
  })(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) {
700
972
  var $size = _a.$size;
701
- return tokensJson.semantic.size.icon[$size];
973
+ return tokens.semantic.size.icon[$size];
702
974
  }, function (_a) {
703
975
  var $size = _a.$size;
704
- return tokensJson.semantic.size.icon[$size];
976
+ return tokens.semantic.size.icon[$size];
705
977
  }, function (_a) {
706
978
  var $iconColor = _a.$iconColor;
707
979
  switch ($iconColor) {
708
980
  case 'default':
709
- return tokensJson.semantic.color.icon["default"];
981
+ return tokens.semantic.color.icon["default"];
710
982
  case 'emphasis':
711
- return tokensJson.semantic.color.icon.emphasis;
983
+ return tokens.semantic.color.icon.emphasis;
712
984
  case 'subdued':
713
- return tokensJson.semantic.color.icon.subdued;
985
+ return tokens.semantic.color.icon.muted;
714
986
  case 'disabled':
715
- return tokensJson.semantic.color.icon.disabled;
987
+ return tokens.semantic.color.icon.disabled;
716
988
  case 'inverse':
717
- return tokensJson.semantic.color.icon.inverse;
989
+ return tokens.semantic.color.icon.inverse;
718
990
  case 'interactive':
719
- return tokensJson.semantic.color.icon.interactive;
991
+ return tokens.semantic.color.icon.accent;
720
992
  case 'error':
721
- return tokensJson.semantic.color.icon.error;
993
+ return tokens.semantic.color.icon.danger;
722
994
  case 'success':
723
- return tokensJson.semantic.color.icon.success;
995
+ return tokens.semantic.color.icon.success;
724
996
  case 'warning':
725
- return tokensJson.semantic.color.icon.warning;
997
+ return tokens.semantic.color.icon.warning;
726
998
  case 'inherit':
727
999
  return 'currentColor';
728
1000
  default:
729
- return tokensJson.semantic.color.icon["default"];
1001
+ return tokens.semantic.color.icon["default"];
730
1002
  }
731
1003
  });
732
1004
  var Icon = function Icon(_a) {
@@ -775,12 +1047,15 @@ var Icon = function Icon(_a) {
775
1047
  };
776
1048
  var templateObject_1$H;
777
1049
 
778
- var button$1 = tokensJson.component.button,
779
- semantic$h = tokensJson.semantic;
780
- // Padding comes from the semantic spacing scale: no component spacing tokens (decision 0022)
781
- var spacing$a = semantic$h.spacing.component;
1050
+ var button$1 = tokens.component.button,
1051
+ semantic$i = tokens.semantic;
1052
+ // Height comes from size.control as a minimum and the content is centred, so there is no
1053
+ // vertical padding (decision 0034). Horizontal padding comes from the semantic spacing scale:
1054
+ // no component spacing tokens (decision 0022)
1055
+ var inset = semantic$i.space.inset;
1056
+ var control$1 = semantic$i.size.control;
782
1057
  // Base styles shared between button and link
783
- var baseButtonStyles = "\n box-sizing: border-box;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: ".concat(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");
1058
+ 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");
784
1059
  // Dynamic variant styles using component tokens
785
1060
  var getVariantStyles$1 = function getVariantStyles(_a) {
786
1061
  var $variant = _a.$variant;
@@ -838,18 +1113,17 @@ var getVariantStyles$1 = function getVariantStyles(_a) {
838
1113
  var config = variantConfig[$variant];
839
1114
  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 ");
840
1115
  };
841
- // Dynamic size styles using component tokens
842
- var getSizeStyles$1 = function getSizeStyles(_a) {
1116
+ // Dynamic size styles: font from component tokens, height from size.control (decision 0034)
1117
+ var getSizeStyles = function getSizeStyles(_a) {
843
1118
  var $size = _a.$size;
844
1119
  switch ($size) {
845
1120
  case 'small':
846
- return "\n font: ".concat(button$1.sizes.small.font, ";\n padding: ").concat(spacing$a.sm, " ").concat(spacing$a.md, ";\n ");
1121
+ return "\n font: ".concat(button$1.sizes.small.font, ";\n min-height: ").concat(control$1.sm, ";\n padding: 0 ").concat(inset.md, ";\n ");
847
1122
  case 'medium':
848
- return "\n font: ".concat(button$1.sizes.medium.font, ";\n padding: ").concat(spacing$a.sm, " ").concat(spacing$a.lg, ";\n ");
1123
+ return "\n font: ".concat(button$1.sizes.medium.font, ";\n min-height: ").concat(control$1.md, ";\n padding: 0 ").concat(inset.lg, ";\n ");
849
1124
  case 'large':
850
- return "\n font: ".concat(button$1.sizes.large.font, ";\n padding: ").concat(spacing$a.md, " ").concat(spacing$a.lg, ";\n ");
851
1125
  default:
852
- return "\n font: ".concat(button$1.sizes.large.font, ";\n padding: ").concat(spacing$a.md, " ").concat(spacing$a.lg, ";\n ");
1126
+ return "\n font: ".concat(button$1.sizes.large.font, ";\n min-height: ").concat(control$1.lg, ";\n padding: 0 ").concat(inset.lg, ";\n ");
853
1127
  }
854
1128
  };
855
1129
  var StyledButton = styled.button.withConfig({
@@ -858,7 +1132,7 @@ var StyledButton = styled.button.withConfig({
858
1132
  },
859
1133
  displayName: "Button__StyledButton",
860
1134
  componentId: "sc-1eiuum9-0"
861
- })(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);
1135
+ })(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);
862
1136
  var StyledLink = styled.a.withConfig({
863
1137
  shouldForwardProp: function shouldForwardProp(prop) {
864
1138
  return !prop.startsWith('$');
@@ -867,7 +1141,7 @@ var StyledLink = styled.a.withConfig({
867
1141
  componentId: "sc-1eiuum9-1"
868
1142
  })(templateObject_2$u || (templateObject_2$u = __makeTemplateObject(["\n ", "\n border-radius: ", ";\n \n ", "\n ", "\n"], ["\n ", "\n border-radius: ", ";\n \n ", "\n ", "\n"
869
1143
  // Helper function to get icon size based on button size
870
- ])), baseButtonStyles, button$1.primary.borderRadius, getVariantStyles$1, getSizeStyles$1);
1144
+ ])), baseButtonStyles, button$1.primary.borderRadius, getVariantStyles$1, getSizeStyles);
871
1145
  // Helper function to get icon size based on button size
872
1146
  var getIconSize = function getIconSize(buttonSize) {
873
1147
  switch (buttonSize) {
@@ -970,15 +1244,13 @@ var Button = function Button(_a) {
970
1244
  };
971
1245
  var templateObject_1$G, templateObject_2$u;
972
1246
 
973
- var semantic$g = tokensJson.semantic;
974
- var color$8 = semantic$g.color,
975
- border$9 = semantic$g.border,
976
- spacing$9 = semantic$g.spacing;
977
- var label$2 = tokensJson.component.badge.label;
978
- var category = color$8.category;
979
- var radius$3 = border$9.radius;
980
- var layout$4 = spacing$9.layout;
981
- var labelHeight$1 = semantic$g.size.label;
1247
+ var semantic$h = tokens.semantic;
1248
+ var color$7 = semantic$h.color;
1249
+ var label$2 = tokens.component.badge.label;
1250
+ var category = color$7.category;
1251
+ var radius$3 = semantic$h.radius;
1252
+ var space$d = semantic$h.space;
1253
+ var labelHeight$1 = semantic$h.size.label;
982
1254
  // Text on white or the -subtle fill (outlined and minimal), at least 4.5:1 (#115)
983
1255
  var categoryText = {
984
1256
  blue: category['blue-text'],
@@ -999,31 +1271,31 @@ var StyledCategoryLabel = styled.span.withConfig({
999
1271
  })(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"
1000
1272
  // The visible content, hidden from assistive technology when an aria-label replaces it.
1001
1273
  // display: contents keeps the root's flex layout and gap.
1002
- ])), radius$3.circle, semantic$g.border.width.thin, function (_a) {
1274
+ ])), radius$3.full, semantic$h.border.width.thin, function (_a) {
1003
1275
  var $size = _a.$size;
1004
1276
  return labelHeight$1[$size];
1005
1277
  }, function (_a) {
1006
1278
  var $size = _a.$size;
1007
- return $size === 'medium' ? "".concat(layout$4.xs, " ").concat(layout$4.sm) : "".concat(layout$4.sm, " ").concat(layout$4.md);
1279
+ return $size === 'medium' ? "".concat(space$d[100], " ").concat(space$d[200]) : "".concat(space$d[200], " ").concat(space$d[300]);
1008
1280
  }, function (_a) {
1009
1281
  var $size = _a.$size;
1010
1282
  return $size === 'medium' ? label$2.typography.small : label$2.typography.medium;
1011
- }, label$2.fontWeight, layout$4.xs, function (_a) {
1283
+ }, label$2.fontWeight, space$d[100], function (_a) {
1012
1284
  var $color = _a.$color,
1013
1285
  $variant = _a.$variant;
1014
1286
  if ($variant === 'filled') {
1015
- return category["".concat($color, "-emphasis")];
1287
+ return category["".concat($color, "-strong")];
1016
1288
  }
1017
1289
  if ($variant === 'outlined') {
1018
1290
  return 'transparent';
1019
1291
  }
1020
1292
  // minimal
1021
- return category["".concat($color, "-subtle")];
1293
+ return category["".concat($color, "-muted")];
1022
1294
  }, function (_a) {
1023
1295
  var $color = _a.$color,
1024
1296
  $variant = _a.$variant;
1025
1297
  if ($variant === 'filled') {
1026
- return color$8.text.inverse;
1298
+ return color$7.text.inverse;
1027
1299
  }
1028
1300
  return categoryText[$color];
1029
1301
  }, function (_a) {
@@ -1043,7 +1315,7 @@ var VisibleContent$1 = styled.span.withConfig({
1043
1315
  var HiddenLabel = styled.span.withConfig({
1044
1316
  displayName: "CategoryLabel__HiddenLabel",
1045
1317
  componentId: "sc-1jx7bjo-2"
1046
- })(templateObject_3$r || (templateObject_3$r = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"
1318
+ })(templateObject_3$s || (templateObject_3$s = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"
1047
1319
  /**
1048
1320
  * CategoryLabel colour-codes an item's category, such as a transaction's (decision 0018).
1049
1321
  *
@@ -1110,7 +1382,7 @@ var CategoryLabel = function CategoryLabel(_a) {
1110
1382
  });
1111
1383
  };
1112
1384
  CategoryLabel.displayName = 'CategoryLabel';
1113
- var templateObject_1$F, templateObject_2$t, templateObject_3$r;
1385
+ var templateObject_1$F, templateObject_2$t, templateObject_3$s;
1114
1386
 
1115
1387
  // CategoryBadge sizes on the decision 0018 scale
1116
1388
  var toLabelSize = {
@@ -1134,7 +1406,8 @@ var CategoryBadge = function CategoryBadge(_a) {
1134
1406
  };
1135
1407
  CategoryBadge.displayName = 'CategoryBadge';
1136
1408
 
1137
- var chip$1 = tokensJson.component.chip;
1409
+ var chip$1 = tokens.component.chip,
1410
+ semantic$g = tokens.semantic;
1138
1411
  // Helper function to get variant styles matching Button's approach
1139
1412
  var getVariantStyles = function getVariantStyles(_a) {
1140
1413
  var $variant = _a.$variant,
@@ -1150,11 +1423,11 @@ var getVariantStyles = function getVariantStyles(_a) {
1150
1423
  var disabled = chip$1.variants.subtle.disabled;
1151
1424
  return "\n background-color: ".concat(disabled.backgroundColor, ";\n color: ").concat(disabled.textColor, ";\n ");
1152
1425
  }
1153
- var _b = tokensJson.semantic.color,
1154
- background = _b.background,
1426
+ var _b = tokens.semantic.color,
1427
+ fill = _b.fill,
1155
1428
  text = _b.text;
1156
1429
  var interactiveStates = $clickable;
1157
- 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 ");
1430
+ 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 ");
1158
1431
  }
1159
1432
  switch ($variant) {
1160
1433
  case 'emphasis':
@@ -1168,20 +1441,13 @@ var getVariantStyles = function getVariantStyles(_a) {
1168
1441
  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 ");
1169
1442
  }
1170
1443
  };
1171
- // Helper function to get size styles matching Button's approach
1172
- var getSizeStyles = function getSizeStyles(_a) {
1173
- var $size = _a.$size;
1174
- switch ($size) {
1175
- case 'small':
1176
- 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 ");
1177
- case 'medium':
1178
- default:
1179
- return "\n font: ".concat(chip$1.sizes.medium.font, ";\n padding: ").concat(chip$1.sizes.medium.padding, ";\n ");
1180
- }
1181
- };
1444
+ // Chips have one size: 24px from the label scale as a minimum, with the content centred
1445
+ // and no vertical padding (decisions 0034 and 0035). Horizontal padding comes from the
1446
+ // semantic spacing scale (decision 0022).
1447
+ 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");
1182
1448
 
1183
- var chip = tokensJson.component.chip,
1184
- semantic$f = tokensJson.semantic;
1449
+ var chip = tokens.component.chip,
1450
+ semantic$f = tokens.semantic;
1185
1451
  // Base styled component using direct prop interpolation like Button
1186
1452
  var StyledChip = styled.span.withConfig({
1187
1453
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -1189,18 +1455,20 @@ var StyledChip = styled.span.withConfig({
1189
1455
  },
1190
1456
  displayName: "ChipBase__StyledChip",
1191
1457
  componentId: "sc-moa6zc-0"
1192
- })(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"
1458
+ })(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"
1193
1459
  // Icon container for selected indicator or leading icons
1194
- ])), chip["default"].borderRadius, semantic$f.motion.hover, function (props) {
1460
+ ])), chip["default"].borderRadius, semantic$f.motion.transition.feedback, function (props) {
1195
1461
  return props.$disabled ? 'not-allowed' : props.$clickable ? 'pointer' : 'default';
1196
- }, getVariantStyles, getSizeStyles, chip.focus.outline, semantic$f.border.focusOffset);
1462
+ }, forcedColorsEdge, function (props) {
1463
+ return props.$disabled ? "".concat(forcedColors, " { color: GrayText; }") : '';
1464
+ }, getVariantStyles, sizeStyles, chip.focus.outline, semantic$f.border.focusOffset);
1197
1465
  // Icon container for selected indicator or leading icons
1198
1466
  var IconContainer = styled.span.withConfig({
1199
1467
  displayName: "ChipBase__IconContainer",
1200
1468
  componentId: "sc-moa6zc-1"
1201
1469
  })(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"
1202
1470
  // Close button for dismissible chips
1203
- ])), tokensJson.semantic.spacing.layout.xs);
1471
+ ])), tokens.semantic.space[100]);
1204
1472
  // Close button for dismissible chips
1205
1473
  var CloseButton = styled.button.withConfig({
1206
1474
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -1208,10 +1476,10 @@ var CloseButton = styled.button.withConfig({
1208
1476
  },
1209
1477
  displayName: "ChipBase__CloseButton",
1210
1478
  componentId: "sc-moa6zc-2"
1211
- })(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"])), tokensJson.semantic.spacing.layout.sm, chip.closeButton.size, chip.closeButton.size, tokensJson.semantic.spacing.layout.none, tokensJson.semantic.border.radius.xs, function (props) {
1479
+ })(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) {
1212
1480
  return props.$disabled ? 'not-allowed' : 'pointer';
1213
- }, semantic$f.motion.hover, tokensJson.semantic.color.background['hover-overlay'], tokensJson.semantic.color.background['active-overlay'], tokensJson.semantic.color.text.disabled, chip.focus.outline, semantic$f.border.focusOffset, chip["default"].borderRadius);
1214
- var templateObject_1$E, templateObject_2$s, templateObject_3$q;
1481
+ }, 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);
1482
+ var templateObject_1$E, templateObject_2$s, templateObject_3$r;
1215
1483
 
1216
1484
  /**
1217
1485
  * Chip - a static, non-interactive label for tags, categories and metadata.
@@ -1227,12 +1495,12 @@ var templateObject_1$E, templateObject_2$s, templateObject_3$q;
1227
1495
  var Chip = function Chip(_a) {
1228
1496
  var children = _a.children,
1229
1497
  _b = _a.variant,
1230
- variant = _b === void 0 ? 'default' : _b,
1231
- _c = _a.size,
1232
- size = _c === void 0 ? 'medium' : _c,
1233
- onClick = _a.onClick,
1234
- _d = _a.disabled,
1235
- disabled = _d === void 0 ? false : _d,
1498
+ variant = _b === void 0 ? 'default' : _b;
1499
+ // Deprecated and ignored: chips have one size (decision 0035)
1500
+ _a.size;
1501
+ var onClick = _a.onClick,
1502
+ _c = _a.disabled,
1503
+ disabled = _c === void 0 ? false : _c,
1236
1504
  dataTestId = _a["data-testid"],
1237
1505
  ariaLabel = _a["aria-label"],
1238
1506
  ariaDescribedBy = _a["aria-describedby"],
@@ -1257,7 +1525,6 @@ var Chip = function Chip(_a) {
1257
1525
  };
1258
1526
  return jsx(StyledChip, __assign({
1259
1527
  "$variant": normalizedVariant,
1260
- "$size": size,
1261
1528
  "$disabled": disabled || undefined,
1262
1529
  "$clickable": isClickable || undefined,
1263
1530
  onClick: isClickable ? handleClick : undefined,
@@ -1303,11 +1570,11 @@ var InputChip = function InputChip(_a) {
1303
1570
  var children = _a.children,
1304
1571
  _b = _a.selected,
1305
1572
  selected = _b === void 0 ? false : _b,
1306
- onDismiss = _a.onDismiss,
1307
- _c = _a.size,
1308
- size = _c === void 0 ? 'medium' : _c,
1309
- _d = _a.disabled,
1310
- disabled = _d === void 0 ? false : _d,
1573
+ onDismiss = _a.onDismiss;
1574
+ // Deprecated and ignored: chips have one size (decision 0035)
1575
+ _a.size;
1576
+ var _c = _a.disabled,
1577
+ disabled = _c === void 0 ? false : _c,
1311
1578
  dataTestId = _a["data-testid"],
1312
1579
  ariaLabel = _a["aria-label"],
1313
1580
  ariaDescribedBy = _a["aria-describedby"],
@@ -1337,7 +1604,6 @@ var InputChip = function InputChip(_a) {
1337
1604
  var closeButtonLabel = typeof children === 'string' ? "Remove ".concat(children) : 'Remove filter';
1338
1605
  return jsxs(StyledChip, __assign({
1339
1606
  "$variant": "subtle",
1340
- "$size": size,
1341
1607
  "$disabled": disabled || undefined,
1342
1608
  "$clickable": false,
1343
1609
  "$selected": selected,
@@ -1403,11 +1669,11 @@ var FilterChip = InputChip;
1403
1669
  var BooleanChip = function BooleanChip(_a) {
1404
1670
  var children = _a.children,
1405
1671
  selected = _a.selected,
1406
- onClick = _a.onClick,
1407
- _b = _a.size,
1408
- size = _b === void 0 ? 'medium' : _b,
1409
- _c = _a.disabled,
1410
- disabled = _c === void 0 ? false : _c,
1672
+ onClick = _a.onClick;
1673
+ // Deprecated and ignored: chips have one size (decision 0035)
1674
+ _a.size;
1675
+ var _b = _a.disabled,
1676
+ disabled = _b === void 0 ? false : _b,
1411
1677
  dataTestId = _a["data-testid"],
1412
1678
  ariaLabel = _a["aria-label"],
1413
1679
  ariaDescribedBy = _a["aria-describedby"],
@@ -1426,7 +1692,6 @@ var BooleanChip = function BooleanChip(_a) {
1426
1692
  };
1427
1693
  return jsxs(StyledChip, __assign({
1428
1694
  "$variant": "subtle",
1429
- "$size": size,
1430
1695
  "$disabled": disabled || undefined,
1431
1696
  "$clickable": !disabled,
1432
1697
  "$selected": selected,
@@ -1451,11 +1716,11 @@ var BooleanChip = function BooleanChip(_a) {
1451
1716
  }));
1452
1717
  };
1453
1718
 
1454
- var spacing$8 = tokensJson.semantic.spacing;
1719
+ var space$c = tokens.semantic.space;
1455
1720
  var StyledContainer$2 = styled.div.withConfig({
1456
1721
  displayName: "Container__StyledContainer",
1457
1722
  componentId: "sc-17dbj6n-0"
1458
- })(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']);
1723
+ })(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']);
1459
1724
  var Container$1 = function Container(_a) {
1460
1725
  var children = _a.children,
1461
1726
  props = __rest(_a, ["children"]);
@@ -1468,19 +1733,27 @@ var templateObject_1$D;
1468
1733
  var PictureWrapper = styled.div.withConfig({
1469
1734
  displayName: "Picture__PictureWrapper",
1470
1735
  componentId: "sc-11d9tei-0"
1471
- })(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);
1736
+ })(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"
1737
+ // A clickable image answers input on the image itself (decision 0029, #185): it fades on hover and
1738
+ // one step further while pressed, and draws the system focus ring around the image, following its
1739
+ // rounded corners. Fading isn't movement, so it stays under reduced motion.
1740
+ ])), media$1.sm);
1741
+ // A clickable image answers input on the image itself (decision 0029, #185): it fades on hover and
1742
+ // one step further while pressed, and draws the system focus ring around the image, following its
1743
+ // rounded corners. Fading isn't movement, so it stays under reduced motion.
1744
+ var clickableImage = 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);
1472
1745
  var ImageLink = styled.a.withConfig({
1473
1746
  displayName: "Picture__ImageLink",
1474
1747
  componentId: "sc-11d9tei-1"
1475
- })(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"])), tokensJson.semantic.motion.duration.normal, tokensJson.semantic.motion.easing.easeInOut);
1748
+ })(templateObject_3$q || (templateObject_3$q = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), clickableImage);
1476
1749
  var ImageButton = styled.button.withConfig({
1477
1750
  displayName: "Picture__ImageButton",
1478
1751
  componentId: "sc-11d9tei-2"
1479
- })(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"])), tokensJson.semantic.motion.duration.normal, tokensJson.semantic.motion.easing.easeInOut);
1752
+ })(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);
1480
1753
  var StyledImage = styled.img.withConfig({
1481
1754
  displayName: "Picture__StyledImage",
1482
1755
  componentId: "sc-11d9tei-3"
1483
- })(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"])), tokensJson.semantic.border.radius.sm);
1756
+ })(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);
1484
1757
  var Picture = function Picture(_a) {
1485
1758
  var title = _a.title,
1486
1759
  src = _a.src,
@@ -1510,18 +1783,18 @@ var Picture = function Picture(_a) {
1510
1783
  }) : image
1511
1784
  });
1512
1785
  };
1513
- var templateObject_1$C, templateObject_2$r, templateObject_3$p, templateObject_4$l;
1786
+ var templateObject_1$C, templateObject_2$r, templateObject_3$q, templateObject_4$l, templateObject_5$h;
1514
1787
 
1515
- var _a$9 = tokensJson.semantic,
1516
- typography$1 = _a$9.typography,
1517
- color$7 = _a$9.color;
1788
+ var _a$8 = tokens.semantic,
1789
+ typography$1 = _a$8.typography,
1790
+ color$6 = _a$8.color;
1518
1791
  var TimeStyled = styled.time.withConfig({
1519
1792
  displayName: "DateFormatter__TimeStyled",
1520
1793
  componentId: "sc-5464cc-0"
1521
1794
  })(templateObject_1$B || (templateObject_1$B = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n"], ["\n font: ", ";\n color: ", ";\n"
1522
1795
  /**
1523
1796
  * Formats a date with smart relative/absolute logic
1524
- */])), typography$1.label, color$7.text.subdued);
1797
+ */])), typography$1.label, color$6.text.muted);
1525
1798
  /**
1526
1799
  * Formats a date with smart relative/absolute logic
1527
1800
  */
@@ -1566,18 +1839,25 @@ var DateFormatter = function DateFormatter(_a) {
1566
1839
  };
1567
1840
  var templateObject_1$B;
1568
1841
 
1569
- var _a$8 = tokensJson.semantic,
1570
- motion$5 = _a$8.motion,
1571
- border$8 = _a$8.border,
1572
- spacing$7 = _a$8.spacing,
1573
- _b$1 = tokensJson.component,
1574
- iconButton = _b$1.iconButton,
1575
- button = _b$1.button;
1842
+ var _a$7 = tokens.semantic,
1843
+ motion$5 = _a$7.motion,
1844
+ border$3 = _a$7.border,
1845
+ space$b = _a$7.space,
1846
+ size$2 = _a$7.size,
1847
+ _b$2 = tokens.component,
1848
+ iconButton = _b$2.iconButton,
1849
+ button = _b$2.button;
1850
+ // Height and width come from size.control as a minimum (decision 0034)
1851
+ var control = {
1852
+ small: size$2.control.sm,
1853
+ medium: size$2.control.md,
1854
+ large: size$2.control.lg
1855
+ };
1576
1856
  // Padding comes from the semantic spacing scale: no component spacing tokens (decision 0022)
1577
1857
  var padding = {
1578
- small: spacing$7.component.xs,
1579
- medium: spacing$7.component.sm,
1580
- large: spacing$7.component.md
1858
+ small: space$b.inset.xs,
1859
+ medium: space$b.inset.sm,
1860
+ large: space$b.inset.md
1581
1861
  };
1582
1862
  // Colours and motion come from Button's tokens, so IconButton's variants look and behave exactly like
1583
1863
  // Button's in every state (#130). Only the size and the icon differ
@@ -1618,18 +1898,18 @@ var IconButtonStyled = styled.button.withConfig({
1618
1898
  },
1619
1899
  displayName: "IconButton__IconButtonStyled",
1620
1900
  componentId: "sc-k8b14t-0"
1621
- })(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) {
1901
+ })(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) {
1622
1902
  var $variant = _a.$variant;
1623
1903
  return colours($variant).bg;
1624
1904
  }, function (_a) {
1625
1905
  var $variant = _a.$variant;
1626
1906
  return colours($variant).text;
1627
- }, iconButton.primary.borderRadius, motion$5.hover, function (_a) {
1907
+ }, iconButton.primary.borderRadius, motion$5.transition.feedback, function (_a) {
1628
1908
  var $size = _a.$size;
1629
- return iconButton.sizes[$size].minWidth;
1909
+ return control[$size];
1630
1910
  }, function (_a) {
1631
1911
  var $size = _a.$size;
1632
- return iconButton.sizes[$size].minHeight;
1912
+ return control[$size];
1633
1913
  }, function (_a) {
1634
1914
  var $size = _a.$size;
1635
1915
  return padding[$size];
@@ -1639,13 +1919,13 @@ var IconButtonStyled = styled.button.withConfig({
1639
1919
  }, function (_a) {
1640
1920
  var $variant = _a.$variant;
1641
1921
  return colours($variant).activeBg;
1642
- }, iconButton.focus.outline, border$8.focusOffset, function (_a) {
1922
+ }, iconButton.focus.outline, border$3.focusOffset, function (_a) {
1643
1923
  var $variant = _a.$variant;
1644
1924
  return colours($variant).disabledBg;
1645
1925
  }, function (_a) {
1646
1926
  var $variant = _a.$variant;
1647
1927
  return colours($variant).disabledText;
1648
- });
1928
+ }, forcedColorsEdge);
1649
1929
  var IconButton = function IconButton(_a) {
1650
1930
  var variant = _a.variant,
1651
1931
  _b = _a.size,
@@ -1711,7 +1991,7 @@ var StyledWrapper = styled.span.withConfig({
1711
1991
  return $align;
1712
1992
  }, function (_a) {
1713
1993
  var $weight = _a.$weight;
1714
- return tokensJson.semantic.fontWeight[$weight];
1994
+ return tokens.semantic.fontWeight[$weight];
1715
1995
  });
1716
1996
  // Map size to Typography variant
1717
1997
  var sizeToTypographyVariant = {
@@ -1814,22 +2094,21 @@ var MoneyDisplay = function MoneyDisplay(_a) {
1814
2094
  var templateObject_1$z;
1815
2095
 
1816
2096
  // Destructure tokens
1817
- var semantic$e = tokensJson.semantic;
1818
- var _a$7 = __assign(__assign({}, semantic$e), {
1819
- component: tokensJson.component
2097
+ var semantic$e = tokens.semantic;
2098
+ var _a$6 = __assign(__assign({}, semantic$e), {
2099
+ component: tokens.component
1820
2100
  }),
1821
- color$6 = _a$7.color,
1822
- border$7 = _a$7.border,
1823
- motion$4 = _a$7.motion,
1824
- component$2 = _a$7.component;
1825
- var radius$2 = border$7.radius;
2101
+ color$5 = _a$6.color,
2102
+ motion$4 = _a$6.motion,
2103
+ radius$2 = _a$6.radius,
2104
+ component$2 = _a$6.component;
1826
2105
  var ProgressBarContainer = styled.div.withConfig({
1827
2106
  shouldForwardProp: function shouldForwardProp(prop) {
1828
2107
  return !prop.startsWith('$');
1829
2108
  },
1830
2109
  displayName: "ProgressBar__ProgressBarContainer",
1831
2110
  componentId: "sc-1nco33q-0"
1832
- })(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.disabled, radius$2.xs, function (props) {
2111
+ })(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) {
1833
2112
  return props.$variant === 'horizontal' && 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);
1834
2113
  }, function (props) {
1835
2114
  return props.$variant === 'vertical' && 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);
@@ -1840,18 +2119,19 @@ var ProgressBarFill = styled.div.withConfig({
1840
2119
  },
1841
2120
  displayName: "ProgressBar__ProgressBarFill",
1842
2121
  componentId: "sc-1nco33q-1"
1843
- })(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) {
2122
+ })(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) {
1844
2123
  var backgroundColor;
1845
2124
  switch (props.$color) {
1846
2125
  case 'success':
1847
- backgroundColor = color$6.background.success;
2126
+ backgroundColor = color$5.fill.success;
1848
2127
  break;
1849
2128
  case 'error':
1850
- backgroundColor = color$6.background.error;
2129
+ backgroundColor = color$5.fill.danger;
1851
2130
  break;
1852
2131
  case 'default':
1853
2132
  default:
1854
- backgroundColor = color$6.background.interactive;
2133
+ // Near-black, like Slider's fill (decision 0029)
2134
+ backgroundColor = color$5.fill.emphasis;
1855
2135
  break;
1856
2136
  }
1857
2137
  return css(templateObject_4$k || (templateObject_4$k = __makeTemplateObject(["background-color: ", ";"], ["background-color: ", ";"])), backgroundColor);
@@ -1892,12 +2172,12 @@ var ProgressBar = function ProgressBar(_a) {
1892
2172
  })
1893
2173
  });
1894
2174
  };
1895
- var templateObject_1$y, templateObject_2$q, templateObject_3$o, templateObject_4$k, templateObject_5$g, templateObject_6$c, templateObject_7$a;
2175
+ var templateObject_1$y, templateObject_2$q, templateObject_3$p, templateObject_4$k, templateObject_5$g, templateObject_6$c, templateObject_7$a;
1896
2176
 
1897
2177
  // Destructure tokens for cleaner access
1898
- var separatorTokens = tokensJson.component.separator;
2178
+ var separatorTokens = tokens.component.separator;
1899
2179
  // Margins come from the semantic separator spacing: no component spacing tokens (decision 0022)
1900
- var separatorSpacing = tokensJson.semantic.spacing.separator;
2180
+ var space$a = tokens.semantic.space;
1901
2181
  var StyledDivider = styled.div.withConfig({
1902
2182
  shouldForwardProp: function shouldForwardProp(prop) {
1903
2183
  return !prop.startsWith('$');
@@ -1926,9 +2206,9 @@ var StyledDivider = styled.div.withConfig({
1926
2206
  var _b = _a.$orientation,
1927
2207
  $orientation = _b === void 0 ? 'horizontal' : _b;
1928
2208
  if ($orientation === 'vertical') {
1929
- return "\n display: inline-block;\n height: auto;\n align-self: stretch;\n border-left: ".concat(tokensJson.semantic.border.width.thin, " solid;\n border-top: none;\n ");
2209
+ 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 ");
1930
2210
  }
1931
- return "border-top: ".concat(tokensJson.semantic.border.width.thin, " solid;");
2211
+ return "border-top: ".concat(tokens.semantic.border.width.thin, " solid;");
1932
2212
  }, function (_a) {
1933
2213
  var _b = _a.$variant,
1934
2214
  $variant = _b === void 0 ? 'default' : _b,
@@ -1953,33 +2233,33 @@ var StyledDivider = styled.div.withConfig({
1953
2233
  $orientation = _d === void 0 ? 'horizontal' : _d;
1954
2234
  if ($variant === 'minimal' && $orientation === 'horizontal') {
1955
2235
  // Minimal variant always uses its predefined spacing for horizontal
1956
- return "margin: ".concat(separatorSpacing.md, " 0;");
2236
+ return "margin: ".concat(space$a[600], " 0;");
1957
2237
  }
1958
2238
  if ($orientation === 'vertical') {
1959
2239
  // Vertical orientation uses horizontal margins (left/right)
1960
2240
  switch ($size) {
1961
2241
  case 'small':
1962
- return "margin: 0 ".concat(separatorSpacing.sm, ";");
2242
+ return "margin: 0 ".concat(space$a[400], ";");
1963
2243
  case 'medium':
1964
- return "margin: 0 ".concat(separatorSpacing.md, ";");
2244
+ return "margin: 0 ".concat(space$a[600], ";");
1965
2245
  case 'xlarge':
1966
- return "margin: 0 ".concat(separatorSpacing.xl, ";");
2246
+ return "margin: 0 ".concat(space$a[1200], ";");
1967
2247
  case 'large':
1968
2248
  default:
1969
- return "margin: 0 ".concat(separatorSpacing.lg, ";");
2249
+ return "margin: 0 ".concat(space$a[800], ";");
1970
2250
  }
1971
2251
  }
1972
2252
  // Horizontal orientation uses vertical margins (top/bottom)
1973
2253
  switch ($size) {
1974
2254
  case 'small':
1975
- return "margin: ".concat(separatorSpacing.sm, " 0;");
2255
+ return "margin: ".concat(space$a[400], " 0;");
1976
2256
  case 'medium':
1977
- return "margin: ".concat(separatorSpacing.md, " 0;");
2257
+ return "margin: ".concat(space$a[600], " 0;");
1978
2258
  case 'xlarge':
1979
- return "margin: ".concat(separatorSpacing.xl, " 0;");
2259
+ return "margin: ".concat(space$a[1200], " 0;");
1980
2260
  case 'large':
1981
2261
  default:
1982
- return "margin: ".concat(separatorSpacing.lg, " 0;");
2262
+ return "margin: ".concat(space$a[800], " 0;");
1983
2263
  }
1984
2264
  });
1985
2265
  /**
@@ -2026,17 +2306,32 @@ var StyledStack = styled.div.withConfig({
2026
2306
  displayName: "Stack__StyledStack",
2027
2307
  componentId: "sc-1ehkxgy-0"
2028
2308
  })(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"
2029
- // Helper function to convert gap prop to CSS value
2309
+ // Each gap name maps to the space step that replaced its old spacing.layout token (decision 0031),
2310
+ // so every gap keeps its value
2030
2311
  ])));
2312
+ // Each gap name maps to the space step that replaced its old spacing.layout token (decision 0031),
2313
+ // so every gap keeps its value
2314
+ var GAP_SPACE = {
2315
+ none: '0',
2316
+ xs: '100',
2317
+ sm: '200',
2318
+ md: '300',
2319
+ lg: '400',
2320
+ xl: '500',
2321
+ '2xl': '600',
2322
+ '3xl': '700',
2323
+ '4xl': '800',
2324
+ '5xl': '900',
2325
+ '6xl': '1000'
2326
+ };
2031
2327
  // Helper function to convert gap prop to CSS value
2032
2328
  var getGapValue = function getGapValue(gap) {
2033
- // Get semantic layout spacing token
2034
- var semanticSpacing = tokensJson.semantic.spacing.layout;
2035
- if (gap in semanticSpacing) {
2036
- return semanticSpacing[gap];
2329
+ var step = GAP_SPACE[gap];
2330
+ if (step) {
2331
+ return tokens.semantic.space[step];
2037
2332
  }
2038
- // Fallback to medium layout spacing if token not found
2039
- return tokensJson.semantic.spacing.layout.md;
2333
+ // Fallback to medium spacing for an unknown gap (from untyped JavaScript)
2334
+ return tokens.semantic.space[300];
2040
2335
  };
2041
2336
  var Stack = function Stack(_a) {
2042
2337
  var children = _a.children,
@@ -2067,52 +2362,53 @@ var Stack = function Stack(_a) {
2067
2362
  var templateObject_1$w;
2068
2363
 
2069
2364
  // Destructure tokens for cleaner access
2070
- var statusColors = tokensJson.semantic.color.status;
2071
- var spacing$6 = tokensJson.semantic.spacing.layout;
2072
- var radius$1 = tokensJson.semantic.border.radius;
2073
- var _a$6 = tokensJson.semantic.motion,
2074
- transition = _a$6.transition,
2075
- duration$3 = _a$6.duration,
2076
- easing$3 = _a$6.easing;
2077
- var labelHeight = tokensJson.semantic.size.label;
2078
- var label$1 = tokensJson.component.badge.label;
2365
+ var statusColors = tokens.component.status;
2366
+ var _a$5 = tokens.semantic,
2367
+ space$9 = _a$5.space,
2368
+ radius$1 = _a$5.radius;
2369
+ var _b$1 = tokens.semantic.motion,
2370
+ transition = _b$1.transition,
2371
+ duration$3 = _b$1.duration,
2372
+ easing$3 = _b$1.easing;
2373
+ var labelHeight = tokens.semantic.size.label;
2374
+ var label$1 = tokens.component.badge.label;
2079
2375
  var scaleIn$1 = 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"])));
2080
2376
  var getStatusConfig = function getStatusConfig(status) {
2081
2377
  var configs = {
2082
2378
  pending: {
2083
- color: statusColors.pending,
2084
- bgColor: statusColors['pending-bg'],
2379
+ color: statusColors.pending.text,
2380
+ bgColor: statusColors.pending.background,
2085
2381
  icon: 'refresh',
2086
2382
  // Fallback until 'clock' icon is added
2087
2383
  label: 'Pending'
2088
2384
  },
2089
2385
  completed: {
2090
- color: statusColors.completed,
2091
- bgColor: statusColors['completed-bg'],
2386
+ color: statusColors.completed.text,
2387
+ bgColor: statusColors.completed.background,
2092
2388
  icon: 'check',
2093
2389
  label: 'Completed'
2094
2390
  },
2095
2391
  failed: {
2096
- color: statusColors.failed,
2097
- bgColor: statusColors['failed-bg'],
2392
+ color: statusColors.failed.text,
2393
+ bgColor: statusColors.failed.background,
2098
2394
  icon: 'close',
2099
2395
  label: 'Failed'
2100
2396
  },
2101
2397
  cancelled: {
2102
- color: statusColors.cancelled,
2103
- bgColor: statusColors['cancelled-bg'],
2398
+ color: statusColors.cancelled.text,
2399
+ bgColor: statusColors.cancelled.background,
2104
2400
  icon: 'cancel',
2105
2401
  label: 'Cancelled'
2106
2402
  },
2107
2403
  processing: {
2108
- color: statusColors.processing,
2109
- bgColor: statusColors['processing-bg'],
2404
+ color: statusColors.processing.text,
2405
+ bgColor: statusColors.processing.background,
2110
2406
  icon: 'refresh',
2111
2407
  label: 'Processing'
2112
2408
  },
2113
2409
  scheduled: {
2114
- color: statusColors.scheduled,
2115
- bgColor: statusColors['scheduled-bg'],
2410
+ color: statusColors.scheduled.text,
2411
+ bgColor: statusColors.scheduled.background,
2116
2412
  icon: 'bell',
2117
2413
  // Fallback until 'calendar' icon is added
2118
2414
  label: 'Scheduled'
@@ -2124,16 +2420,16 @@ var getStatusConfig = function getStatusConfig(status) {
2124
2420
  var sizeConfig$1 = {
2125
2421
  small: {
2126
2422
  height: labelHeight.small,
2127
- padding: "".concat(spacing$6.xs, " ").concat(spacing$6.sm),
2423
+ padding: "".concat(space$9[100], " ").concat(space$9[200]),
2128
2424
  font: label$1.typography.small,
2129
- gap: spacing$6.xs,
2425
+ gap: space$9[100],
2130
2426
  iconSize: 'xs'
2131
2427
  },
2132
2428
  medium: {
2133
2429
  height: labelHeight.medium,
2134
- padding: "".concat(spacing$6.xs, " ").concat(spacing$6.sm),
2430
+ padding: "".concat(space$9[100], " ").concat(space$9[200]),
2135
2431
  font: label$1.typography.medium,
2136
- gap: spacing$6.xs,
2432
+ gap: space$9[100],
2137
2433
  iconSize: 'sm'
2138
2434
  }
2139
2435
  };
@@ -2143,7 +2439,7 @@ var StyledStatusLabel = styled.span.withConfig({
2143
2439
  },
2144
2440
  displayName: "StatusLabelBase__StyledStatusLabel",
2145
2441
  componentId: "sc-1ye9xz5-0"
2146
- })(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) {
2442
+ })(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) {
2147
2443
  var $size = _a.$size;
2148
2444
  var size = sizeConfig$1[$size];
2149
2445
  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 ");
@@ -2155,7 +2451,7 @@ var StyledStatusLabel = styled.span.withConfig({
2155
2451
  var ScreenReaderOnly = styled.span.withConfig({
2156
2452
  displayName: "StatusLabelBase__ScreenReaderOnly",
2157
2453
  componentId: "sc-1ye9xz5-1"
2158
- })(templateObject_3$n || (templateObject_3$n = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"
2454
+ })(templateObject_3$o || (templateObject_3$o = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"
2159
2455
  // The visible content, hidden from assistive technology when an aria-label replaces it.
2160
2456
  // display: contents keeps the root's flex layout and gap.
2161
2457
  ])), visuallyHidden);
@@ -2213,7 +2509,7 @@ var StatusLabelBase = function StatusLabelBase(_a) {
2213
2509
  })]
2214
2510
  });
2215
2511
  };
2216
- var templateObject_1$v, templateObject_2$p, templateObject_3$n, templateObject_4$j;
2512
+ var templateObject_1$v, templateObject_2$p, templateObject_3$o, templateObject_4$j;
2217
2513
 
2218
2514
  /**
2219
2515
  * StatusBadge displays a transaction or task status.
@@ -2247,14 +2543,12 @@ var StatusLabel = function StatusLabel(props) {
2247
2543
  };
2248
2544
  StatusLabel.displayName = 'StatusLabel';
2249
2545
 
2250
- var semantic$d = tokensJson.semantic;
2251
- var color$5 = semantic$d.color,
2252
- spacing$5 = semantic$d.spacing,
2253
- border$6 = semantic$d.border,
2546
+ var semantic$d = tokens.semantic;
2547
+ var color$4 = semantic$d.color,
2254
2548
  size$1 = semantic$d.size;
2255
- var label = tokensJson.component.badge.label;
2256
- var layout$3 = spacing$5.layout;
2257
- var radius = border$6.radius;
2549
+ var label = tokens.component.badge.label;
2550
+ var space$8 = semantic$d.space;
2551
+ var radius = semantic$d.radius;
2258
2552
  var StyledTag = styled.span.withConfig({
2259
2553
  shouldForwardProp: function shouldForwardProp(prop) {
2260
2554
  return !prop.startsWith('$');
@@ -2272,38 +2566,38 @@ var StyledTag = styled.span.withConfig({
2272
2566
  return size$1.label[$size];
2273
2567
  }, function (_a) {
2274
2568
  var $size = _a.$size;
2275
- return $size === 'small' ? "0 ".concat(layout$3.sm) : "".concat(layout$3.xs, " ").concat(layout$3.sm);
2569
+ return $size === 'small' ? "0 ".concat(space$8[200]) : "".concat(space$8[100], " ").concat(space$8[200]);
2276
2570
  }, label.typography.small, label.fontWeight, function (_a) {
2277
2571
  var $variant = _a.$variant;
2278
2572
  switch ($variant) {
2279
2573
  case 'interactive':
2280
- return color$5.background['interactive-subtle'];
2574
+ return color$4.fill['accent-muted'];
2281
2575
  case 'success':
2282
- return color$5.background['success-subtle'];
2576
+ return color$4.fill['success-muted'];
2283
2577
  case 'warning':
2284
- return color$5.background['warning-subtle'];
2578
+ return color$4.fill['warning-muted'];
2285
2579
  case 'error':
2286
- return color$5.background['error-subtle'];
2580
+ return color$4.fill['danger-muted'];
2287
2581
  case 'emphasis':
2288
- return color$5.background.emphasis;
2582
+ return color$4.fill.emphasis;
2289
2583
  default:
2290
- return color$5.background.surface;
2584
+ return color$4.fill.muted;
2291
2585
  }
2292
2586
  }, function (_a) {
2293
2587
  var $variant = _a.$variant;
2294
2588
  switch ($variant) {
2295
2589
  case 'interactive':
2296
- return color$5.text.interactive;
2590
+ return color$4.text.accent;
2297
2591
  case 'success':
2298
- return color$5.text.success;
2592
+ return color$4.text.success;
2299
2593
  case 'warning':
2300
- return color$5.text.warning;
2594
+ return color$4.text.warning;
2301
2595
  case 'error':
2302
- return color$5.text.error;
2596
+ return color$4.text.danger;
2303
2597
  case 'emphasis':
2304
- return color$5.text.inverse;
2598
+ return color$4.text.inverse;
2305
2599
  default:
2306
- return color$5.text["default"];
2600
+ return color$4.text["default"];
2307
2601
  }
2308
2602
  }, function (_a) {
2309
2603
  var $variant = _a.$variant,
@@ -2311,17 +2605,17 @@ var StyledTag = styled.span.withConfig({
2311
2605
  if (!$border) return 'none';
2312
2606
  switch ($variant) {
2313
2607
  case 'interactive':
2314
- return "".concat(semantic$d.border.width.thin, " solid ").concat(color$5.border.interactive);
2608
+ return "".concat(semantic$d.border.width.thin, " solid ").concat(color$4.border.accent);
2315
2609
  case 'success':
2316
- return "".concat(semantic$d.border.width.thin, " solid ").concat(color$5.border.success);
2610
+ return "".concat(semantic$d.border.width.thin, " solid ").concat(color$4.border.success);
2317
2611
  case 'warning':
2318
- return "".concat(semantic$d.border.width.thin, " solid ").concat(color$5.border.warning);
2612
+ return "".concat(semantic$d.border.width.thin, " solid ").concat(color$4.border.warning);
2319
2613
  case 'error':
2320
- return "".concat(semantic$d.border.width.thin, " solid ").concat(color$5.border.error);
2614
+ return "".concat(semantic$d.border.width.thin, " solid ").concat(color$4.border.danger);
2321
2615
  case 'emphasis':
2322
- return "".concat(semantic$d.border.width.thin, " solid ").concat(color$5.background.emphasis);
2616
+ return "".concat(semantic$d.border.width.thin, " solid ").concat(color$4.fill.emphasis);
2323
2617
  default:
2324
- return "".concat(semantic$d.border.width.thin, " solid ").concat(color$5.border["default"]);
2618
+ return "".concat(semantic$d.border.width.thin, " solid ").concat(color$4.border["default"]);
2325
2619
  }
2326
2620
  });
2327
2621
  /**
@@ -2356,21 +2650,20 @@ var Tag = function Tag(_a) {
2356
2650
  var templateObject_1$u;
2357
2651
 
2358
2652
  // Destructure tokens for cleaner access
2359
- var semantic$c = tokensJson.semantic;
2360
- var spacing$4 = semantic$c.spacing;
2361
- var layout$2 = spacing$4.layout;
2653
+ var semantic$c = tokens.semantic;
2654
+ var space$7 = semantic$c.space;
2362
2655
  var StyledBalanceSection = styled.div.withConfig({
2363
2656
  displayName: "AccountCard__StyledBalanceSection",
2364
2657
  componentId: "sc-1erp7zn-0"
2365
- })(templateObject_1$t || (templateObject_1$t = __makeTemplateObject(["\n margin-bottom: ", ";\n"], ["\n margin-bottom: ", ";\n"])), layout$2.lg);
2658
+ })(templateObject_1$t || (templateObject_1$t = __makeTemplateObject(["\n margin-bottom: ", ";\n"], ["\n margin-bottom: ", ";\n"])), space$7[400]);
2366
2659
  var StyledTrendSection = styled.div.withConfig({
2367
2660
  displayName: "AccountCard__StyledTrendSection",
2368
2661
  componentId: "sc-1erp7zn-1"
2369
- })(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);
2662
+ })(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]);
2370
2663
  styled.div.withConfig({
2371
2664
  displayName: "AccountCard__StyledActions",
2372
2665
  componentId: "sc-1erp7zn-2"
2373
- })(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);
2666
+ })(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]);
2374
2667
  var StyledStackWrapper = styled.div.withConfig({
2375
2668
  displayName: "AccountCard__StyledStackWrapper",
2376
2669
  componentId: "sc-1erp7zn-3"
@@ -2378,9 +2671,9 @@ var StyledStackWrapper = styled.div.withConfig({
2378
2671
  var StyledHeaderWrapper = styled.div.withConfig({
2379
2672
  displayName: "AccountCard__StyledHeaderWrapper",
2380
2673
  componentId: "sc-1erp7zn-4"
2381
- })(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"
2674
+ })(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"
2382
2675
  // Map trend direction to icon and color
2383
- ])), tokensJson.component.accountCard.header.minHeight, layout$2.none, layout$2.xs);
2676
+ ])), tokens.component.accountCard.header.minHeight, space$7[0], space$7[100]);
2384
2677
  // Map trend direction to icon and color
2385
2678
  var trendToIcon = {
2386
2679
  up: 'arrowUp',
@@ -2429,12 +2722,12 @@ var AccountCard = function AccountCard(_a) {
2429
2722
  }
2430
2723
  };
2431
2724
  return jsx(Box, {
2432
- minWidth: tokensJson.component.accountCard.minWidth,
2725
+ minWidth: tokens.component.accountCard.minWidth,
2433
2726
  p: "lg",
2434
2727
  bg: "subtle",
2435
2728
  border: "default",
2436
2729
  borderRadius: "xl",
2437
- transition: "box-shadow ".concat(semantic$c.motion.duration.normal, " ").concat(semantic$c.motion.easing.easeOut),
2730
+ transition: "box-shadow ".concat(semantic$c.motion.duration.moderate, " ").concat(semantic$c.motion.easing.decelerate),
2438
2731
  cursor: isClickable ? 'pointer' : 'default',
2439
2732
  hoverShadow: isClickable ? 'floating' : undefined,
2440
2733
  onClick: handleClick,
@@ -2529,7 +2822,7 @@ var AccountCard = function AccountCard(_a) {
2529
2822
  })
2530
2823
  });
2531
2824
  };
2532
- var templateObject_1$t, templateObject_2$o, templateObject_3$m, templateObject_4$i, templateObject_5$f;
2825
+ var templateObject_1$t, templateObject_2$o, templateObject_3$n, templateObject_4$i, templateObject_5$f;
2533
2826
 
2534
2827
  /**
2535
2828
  * The spacing a List gives its items (#77). A ListItem without its own `spacing` uses it; outside
@@ -2537,10 +2830,10 @@ var templateObject_1$t, templateObject_2$o, templateObject_3$m, templateObject_4
2537
2830
  */
2538
2831
  var ListSpacingContext = /*#__PURE__*/createContext('comfortable');
2539
2832
 
2540
- var semantic$b = tokensJson.semantic;
2541
- var _a$5 = semantic$b.motion,
2542
- duration$2 = _a$5.duration,
2543
- easing$2 = _a$5.easing;
2833
+ var semantic$b = tokens.semantic;
2834
+ var _a$4 = semantic$b.motion,
2835
+ duration$2 = _a$4.duration,
2836
+ easing$2 = _a$4.easing;
2544
2837
  var StyledListItem = styled.li.withConfig({
2545
2838
  shouldForwardProp: function shouldForwardProp(prop) {
2546
2839
  return !prop.startsWith('$');
@@ -2556,7 +2849,7 @@ var StyledListItem = styled.li.withConfig({
2556
2849
  }, function (_a) {
2557
2850
  var $destructive = _a.$destructive,
2558
2851
  $disabled = _a.$disabled;
2559
- return $destructive && !$disabled && "\n color: ".concat(semantic$b.color.text.error, ";\n ");
2852
+ return $destructive && !$disabled && "\n color: ".concat(semantic$b.color.text.danger, ";\n ");
2560
2853
  });
2561
2854
  var StyledItemContent = styled.div.withConfig({
2562
2855
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -2564,13 +2857,10 @@ var StyledItemContent = styled.div.withConfig({
2564
2857
  },
2565
2858
  displayName: "ListItem__StyledItemContent",
2566
2859
  componentId: "sc-1wzzt21-1"
2567
- })(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: ", " solid ", ";\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: ", " solid ", ";\n outline-offset: ", ";\n }\n"])), semantic$b.spacing.layout.md, function (_a) {
2860
+ })(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) {
2568
2861
  var $spacing = _a.$spacing;
2569
- 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);
2570
- }, semantic$b.border.radius.sm, function (_a) {
2571
- var $selected = _a.$selected;
2572
- return $selected ? semantic$b.color.background['interactive-subtle'] : 'transparent';
2573
- }, duration$2.fast, easing$2.easeOut, function (_a) {
2862
+ return $spacing === 'compact' ? "".concat(semantic$b.space[200], " ").concat(semantic$b.space[300]) : "".concat(semantic$b.space[300], " ").concat(semantic$b.space[400]);
2863
+ }, semantic$b.radius.sm, duration$2.fast, easing$2.decelerate, duration$2.fast, easing$2.decelerate, function (_a) {
2574
2864
  var $interactive = _a.$interactive,
2575
2865
  $disabled = _a.$disabled;
2576
2866
  if ($disabled) return 'not-allowed';
@@ -2580,27 +2870,31 @@ var StyledItemContent = styled.div.withConfig({
2580
2870
  var $interactive = _a.$interactive,
2581
2871
  $disabled = _a.$disabled,
2582
2872
  $selected = _a.$selected;
2583
- return !$disabled && $interactive && "\n &:hover {\n background-color: ".concat($selected ? tokensJson.component.button.variants.secondary.backgroundColor : tokensJson.component.button.variants.secondary.backgroundColor, ";\n }\n \n &:active {\n background-color: ").concat(tokensJson.component.button.variants.naked.backgroundColor, ";\n }\n ");
2584
- }, semantic$b.border.width.thick, semantic$b.color.border.interactive, semantic$b.border.focusOffset);
2873
+ return interactiveRow({
2874
+ selected: $selected,
2875
+ disabled: $disabled || !$interactive,
2876
+ textSelector: "".concat(StyledTextContent, " > :first-child")
2877
+ });
2878
+ }, semantic$b.border.focus, semantic$b.border.focusOffset);
2585
2879
  var StyledIconContainer$1 = styled.div.withConfig({
2586
2880
  displayName: "ListItem__StyledIconContainer",
2587
2881
  componentId: "sc-1wzzt21-2"
2588
- })(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);
2882
+ })(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);
2589
2883
  var StyledTextContent = styled.div.withConfig({
2590
2884
  displayName: "ListItem__StyledTextContent",
2591
2885
  componentId: "sc-1wzzt21-3"
2592
- })(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);
2886
+ })(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]);
2593
2887
  var StyledRightContent = styled.div.withConfig({
2594
2888
  displayName: "ListItem__StyledRightContent",
2595
2889
  componentId: "sc-1wzzt21-4"
2596
- })(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);
2890
+ })(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]);
2597
2891
  var StyledChevronIcon = styled.div.withConfig({
2598
2892
  shouldForwardProp: function shouldForwardProp(prop) {
2599
2893
  return !prop.startsWith('$');
2600
2894
  },
2601
2895
  displayName: "ListItem__StyledChevronIcon",
2602
2896
  componentId: "sc-1wzzt21-5"
2603
- })(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) {
2897
+ })(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) {
2604
2898
  var $expanded = _a.$expanded;
2605
2899
  return $expanded ? '180deg' : '0deg';
2606
2900
  }, reducedMotion);
@@ -2610,7 +2904,7 @@ var StyledExpandedContent = styled.div.withConfig({
2610
2904
  },
2611
2905
  displayName: "ListItem__StyledExpandedContent",
2612
2906
  componentId: "sc-1wzzt21-6"
2613
- })(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) {
2907
+ })(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) {
2614
2908
  var $expanded = _a.$expanded;
2615
2909
  return $expanded ? '1000px' : '0';
2616
2910
  }, function (_a) {
@@ -2619,10 +2913,10 @@ var StyledExpandedContent = styled.div.withConfig({
2619
2913
  }, function (_a) {
2620
2914
  var $expanded = _a.$expanded;
2621
2915
  return $expanded ? 'visible' : 'hidden';
2622
- }, reducedMotion, duration$2.normal, easing$2.easeOut, duration$2.normal, easing$2.easeOut, function (_a) {
2916
+ }, reducedMotion, duration$2.moderate, easing$2.decelerate, duration$2.moderate, easing$2.decelerate, function (_a) {
2623
2917
  var $expanded = _a.$expanded,
2624
2918
  $spacing = _a.$spacing;
2625
- 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(tokensJson.component.listItem.expandedIndent.compact) : "".concat(semantic$b.spacing.layout.sm, " ").concat(semantic$b.spacing.layout.lg, " ").concat(semantic$b.spacing.layout.md, " ").concat(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 ");
2919
+ 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 ");
2626
2920
  });
2627
2921
  var ListItem = function ListItem(_a) {
2628
2922
  var primary = _a.primary,
@@ -2744,9 +3038,10 @@ var ListItem = function ListItem(_a) {
2744
3038
  );
2745
3039
  };
2746
3040
  ListItem.displayName = 'ListItem';
2747
- var templateObject_1$s, templateObject_2$n, templateObject_3$l, templateObject_4$h, templateObject_5$e, templateObject_6$b, templateObject_7$9;
3041
+ var templateObject_1$s, templateObject_2$n, templateObject_3$m, templateObject_4$h, templateObject_5$e, templateObject_6$b, templateObject_7$9;
2748
3042
 
2749
- // How long an exiting element stays mounted: the duration of `exitAnimation` in styleUtils.
3043
+ // How long an exiting element stays mounted: the duration of `exitAnimation` in styleUtils. A timer
3044
+ // needs the resolved value, not the CSS variable (decision 0041).
2750
3045
  var EXIT_DURATION_MS = parseInt(tokensJson.semantic.motion.duration.fast, 10);
2751
3046
  /**
2752
3047
  * Keeps an element mounted for `exitMs` after `isOpen` turns false, so its exit
@@ -2789,35 +3084,35 @@ function useInert(ref, isInert) {
2789
3084
  }, [ref, isInert]);
2790
3085
  }
2791
3086
 
2792
- var _a$4 = tokensJson.semantic,
2793
- color$4 = _a$4.color,
2794
- border$5 = _a$4.border,
2795
- layout$1 = _a$4.spacing.layout,
2796
- motion$3 = _a$4.motion,
2797
- elevation$2 = _a$4.elevation;
3087
+ var _a$3 = tokens.semantic,
3088
+ color$3 = _a$3.color,
3089
+ border$2 = _a$3.border,
3090
+ space$6 = _a$3.space,
3091
+ motion$3 = _a$3.motion,
3092
+ elevation$2 = _a$3.elevation;
2798
3093
  var slideUp = 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"])));
2799
3094
  var fadeIn$2 = 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"])));
2800
3095
  var StyledOverlay$2 = styled.div.withConfig({
2801
3096
  displayName: "ActionSheet__StyledOverlay",
2802
3097
  componentId: "sc-regbol-0"
2803
- })(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, tokensJson.semantic.zIndex.modal, fadeIn$2, motion$3.duration.normal, motion$3.easing.easeOut, function (_a) {
3098
+ })(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) {
2804
3099
  var $isExiting = _a.$isExiting;
2805
3100
  return $isExiting && exitAnimation;
2806
3101
  });
2807
3102
  var StyledActionSheet = styled.div.withConfig({
2808
3103
  displayName: "ActionSheet__StyledActionSheet",
2809
3104
  componentId: "sc-regbol-1"
2810
- })(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, tokensJson.semantic.zIndex.modal, slideUp, motion$3.duration.slow, motion$3.easing.easeOut, function (_a) {
3105
+ })(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) {
2811
3106
  var $isExiting = _a.$isExiting;
2812
3107
  return $isExiting && exitAnimation;
2813
- }, reducedMotion, fadeIn$2, motion$3.duration.slow, motion$3.easing.easeOut, function (_a) {
3108
+ }, reducedMotion, fadeIn$2, motion$3.duration.slow, motion$3.easing.decelerate, function (_a) {
2814
3109
  var $isExiting = _a.$isExiting;
2815
3110
  return $isExiting && exitAnimation;
2816
3111
  });
2817
3112
  var StyledHeader$2 = styled.div.withConfig({
2818
3113
  displayName: "ActionSheet__StyledHeader",
2819
3114
  componentId: "sc-regbol-2"
2820
- })(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"]);
3115
+ })(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"]);
2821
3116
  var StyledHeaderContent = styled.div.withConfig({
2822
3117
  displayName: "ActionSheet__StyledHeaderContent",
2823
3118
  componentId: "sc-regbol-3"
@@ -2825,7 +3120,7 @@ var StyledHeaderContent = styled.div.withConfig({
2825
3120
  var StyledCloseButton = styled.button.withConfig({
2826
3121
  displayName: "ActionSheet__StyledCloseButton",
2827
3122
  componentId: "sc-regbol-4"
2828
- })(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, layout$1.xs);
3123
+ })(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);
2829
3124
  var StyledActionsList = styled.ul.withConfig({
2830
3125
  displayName: "ActionSheet__StyledActionsList",
2831
3126
  componentId: "sc-regbol-5"
@@ -2862,7 +3157,7 @@ var StyledActionsList = styled.ul.withConfig({
2862
3157
  * ]}
2863
3158
  * />
2864
3159
  * ```
2865
- */])), layout$1.sm, layout$1.md);
3160
+ */])), space$6[200], space$6[300]);
2866
3161
  /**
2867
3162
  * ActionSheet component for bottom sheet modals
2868
3163
  *
@@ -3052,7 +3347,7 @@ var ActionSheet = function ActionSheet(_a) {
3052
3347
  })]
3053
3348
  }), document.body);
3054
3349
  };
3055
- 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;
3350
+ 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;
3056
3351
 
3057
3352
  function detectSpeechRecognitionConstructor(targetWindow) {
3058
3353
  if (!targetWindow) return null;
@@ -3152,8 +3447,8 @@ function agentInputStateTransition(currentState, event) {
3152
3447
  }
3153
3448
  }
3154
3449
 
3155
- var semantic$a = tokensJson.semantic,
3156
- component$1 = tokensJson.component;
3450
+ var semantic$a = tokens.semantic,
3451
+ component$1 = tokens.component;
3157
3452
  var DEFAULT_IDLE_HELPER = 'Ask about transactions, spending, or transfers';
3158
3453
  var DEFAULT_LISTENING_MESSAGE = 'Listening… speak now';
3159
3454
  var DEFAULT_PROCESSING_MESSAGE = 'Finishing voice input…';
@@ -3161,27 +3456,27 @@ var rotateRing = keyframes(templateObject_1$q || (templateObject_1$q = __makeTem
3161
3456
  var Container = styled.div.withConfig({
3162
3457
  displayName: "AgentInput__Container",
3163
3458
  componentId: "sc-fhl996-0"
3164
- })(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);
3459
+ })(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]);
3165
3460
  var ControlsRow = styled.div.withConfig({
3166
3461
  displayName: "AgentInput__ControlsRow",
3167
3462
  componentId: "sc-fhl996-1"
3168
- })(templateObject_3$j || (templateObject_3$j = __makeTemplateObject(["\n width: 100%;\n"], ["\n width: 100%;\n"])));
3463
+ })(templateObject_3$k || (templateObject_3$k = __makeTemplateObject(["\n width: 100%;\n"], ["\n width: 100%;\n"])));
3169
3464
  var InputShell = styled.div.withConfig({
3170
3465
  displayName: "AgentInput__InputShell",
3171
3466
  componentId: "sc-fhl996-2"
3172
- })(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);
3467
+ })(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);
3173
3468
  var Input = styled.input.withConfig({
3174
3469
  displayName: "AgentInput__Input",
3175
3470
  componentId: "sc-fhl996-3"
3176
- })(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);
3471
+ })(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);
3177
3472
  var InputActions = styled.div.withConfig({
3178
3473
  displayName: "AgentInput__InputActions",
3179
3474
  componentId: "sc-fhl996-4"
3180
- })(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);
3475
+ })(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]);
3181
3476
  var CircularActionIconButton = styled(IconButton).withConfig({
3182
3477
  displayName: "AgentInput__CircularActionIconButton",
3183
3478
  componentId: "sc-fhl996-5"
3184
- })(templateObject_7$7 || (templateObject_7$7 = __makeTemplateObject(["\n border-radius: ", ";\n"], ["\n border-radius: ", ";\n"])), semantic$a.border.radius.circle);
3479
+ })(templateObject_7$7 || (templateObject_7$7 = __makeTemplateObject(["\n border-radius: ", ";\n"], ["\n border-radius: ", ";\n"])), semantic$a.radius.full);
3185
3480
  var InputWrapper = styled.div.withConfig({
3186
3481
  displayName: "AgentInput__InputWrapper",
3187
3482
  componentId: "sc-fhl996-6"
@@ -3195,7 +3490,7 @@ var MicButtonWrapper = styled.div.withConfig({
3195
3490
  })(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"
3196
3491
  // Masks read only alpha, so the opaque stop is a mask value, not a colour (decision 0010).
3197
3492
  // eslint-disable-next-line no-restricted-syntax
3198
- ])), semantic$a.border.radius.circle);
3493
+ ])), semantic$a.radius.full);
3199
3494
  // Masks read only alpha, so the opaque stop is a mask value, not a colour (decision 0010).
3200
3495
  // eslint-disable-next-line no-restricted-syntax
3201
3496
  var ringMask = 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)))"])));
@@ -3205,21 +3500,21 @@ var MicListeningRing = styled.span.withConfig({
3205
3500
  },
3206
3501
  displayName: "AgentInput__MicListeningRing",
3207
3502
  componentId: "sc-fhl996-8"
3208
- })(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) {
3503
+ })(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) {
3209
3504
  var $reducedMotion = _a.$reducedMotion;
3210
3505
  return !$reducedMotion && css(templateObject_11$3 || (templateObject_11$3 = __makeTemplateObject(["\n animation: ", " 1300ms linear infinite;\n "], ["\n animation: ", " 1300ms linear infinite;\n "])), rotateRing);
3211
3506
  });
3212
3507
  var StatusRow = styled.div.withConfig({
3213
3508
  displayName: "AgentInput__StatusRow",
3214
3509
  componentId: "sc-fhl996-9"
3215
- })(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']);
3510
+ })(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]);
3216
3511
  var StatusText = styled.div.withConfig({
3217
3512
  shouldForwardProp: function shouldForwardProp(prop) {
3218
3513
  return !prop.startsWith('$');
3219
3514
  },
3220
3515
  displayName: "AgentInput__StatusText",
3221
3516
  componentId: "sc-fhl996-10"
3222
- })(templateObject_14$1 || (templateObject_14$1 = __makeTemplateObject(["\n padding-left: ", ";\n"], ["\n padding-left: ", ";\n"])), semantic$a.spacing.layout.xl);
3517
+ })(templateObject_14$1 || (templateObject_14$1 = __makeTemplateObject(["\n padding-left: ", ";\n"], ["\n padding-left: ", ";\n"])), semantic$a.space[500]);
3223
3518
  var StatusAnnouncement = styled.div.withConfig({
3224
3519
  displayName: "AgentInput__StatusAnnouncement",
3225
3520
  componentId: "sc-fhl996-11"
@@ -3227,17 +3522,17 @@ var StatusAnnouncement = styled.div.withConfig({
3227
3522
  var MeterContainer = styled.div.withConfig({
3228
3523
  displayName: "AgentInput__MeterContainer",
3229
3524
  componentId: "sc-fhl996-12"
3230
- })(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);
3525
+ })(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]);
3231
3526
  var MeterBar = styled.div.withConfig({
3232
3527
  shouldForwardProp: function shouldForwardProp(prop) {
3233
3528
  return !prop.startsWith('$');
3234
3529
  },
3235
3530
  displayName: "AgentInput__MeterBar",
3236
3531
  componentId: "sc-fhl996-13"
3237
- })(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) {
3532
+ })(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) {
3238
3533
  var $height = _a.$height;
3239
3534
  return "".concat($height * 100, "%");
3240
- }, semantic$a.motion.duration.fast, semantic$a.motion.easing.easeOut);
3535
+ }, semantic$a.motion.duration.fast, semantic$a.motion.easing.decelerate);
3241
3536
  var VisuallyHiddenLabel = styled.label.withConfig({
3242
3537
  displayName: "AgentInput__VisuallyHiddenLabel",
3243
3538
  componentId: "sc-fhl996-14"
@@ -3870,16 +4165,17 @@ var AgentInput = function AgentInput(_a) {
3870
4165
  })]
3871
4166
  });
3872
4167
  };
3873
- 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;
4168
+ 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;
3874
4169
 
3875
- var semantic$9 = tokensJson.semantic;
3876
- var alert = tokensJson.component.alert;
3877
- var _a$3 = semantic$9.motion,
3878
- duration$1 = _a$3.duration,
3879
- easing$1 = _a$3.easing;
4170
+ var semantic$9 = tokens.semantic;
4171
+ var alert = tokens.component.alert;
4172
+ var _a$2 = semantic$9.motion,
4173
+ duration$1 = _a$2.duration,
4174
+ easing$1 = _a$2.easing;
3880
4175
  // Dismissing fades the alert out, then collapses the space it took (Ollie's call, #35).
3881
- // Each half takes duration.fast, so the whole exit stays within the 300ms maximum (P6).
3882
- var FADE_MS = parseInt(duration$1.fast, 10);
4176
+ // Each half takes duration.fast, so the whole exit stays within the 300ms maximum (P6). The timer
4177
+ // needs the resolved value, not the CSS variable (decision 0041).
4178
+ var FADE_MS = parseInt(tokensJson.semantic.motion.duration.fast, 10);
3883
4179
  var EXIT_MS = FADE_MS * 2;
3884
4180
  // The --alert-exit-* properties are the alert's height and vertical padding, measured
3885
4181
  // when it's dismissed, so nothing moves until the fade has finished
@@ -3924,11 +4220,11 @@ var StyledAlert = styled.div.withConfig({
3924
4220
  componentId: "sc-18tq5d-0"
3925
4221
  })(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) {
3926
4222
  var $inline = _a.$inline;
3927
- return $inline ? semantic$9.spacing.layout.sm : semantic$9.spacing.layout.md;
4223
+ return $inline ? semantic$9.space[200] : semantic$9.space[300];
3928
4224
  }, function (_a) {
3929
4225
  var $inline = _a.$inline;
3930
- return $inline ? semantic$9.spacing.layout.sm : semantic$9.spacing.layout.md;
3931
- }, semantic$9.border.radius.sm, semantic$9.border.width.thin, function (_a) {
4226
+ return $inline ? semantic$9.space[200] : semantic$9.space[300];
4227
+ }, semantic$9.radius.sm, semantic$9.border.width.thin, function (_a) {
3932
4228
  var _b = _a.$variant,
3933
4229
  $variant = _b === void 0 ? 'info' : _b;
3934
4230
  return alert.severity[$variant].background;
@@ -3943,11 +4239,11 @@ var StyledAlert = styled.div.withConfig({
3943
4239
  return alert.appearance[$appearance].borderColor[$variant];
3944
4240
  }, semantic$9.breakpoint.md, function (_a) {
3945
4241
  var $inline = _a.$inline;
3946
- return $inline ? semantic$9.spacing.layout.sm : semantic$9.spacing.layout.lg;
4242
+ return $inline ? semantic$9.space[200] : semantic$9.space[400];
3947
4243
  }, function (_a) {
3948
4244
  var $isExiting = _a.$isExiting,
3949
4245
  $reducedExit = _a.$reducedExit;
3950
- return $isExiting && 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 ? css(templateObject_3$i || (templateObject_3$i = __makeTemplateObject(["", " ", " ", " forwards"], ["", " ", " ", " forwards"])), fadeOut, duration$1.fast, easing$1.easeOut) : css(templateObject_4$e || (templateObject_4$e = __makeTemplateObject(["", " ", "ms ", " forwards"], ["", " ", "ms ", " forwards"])), fadeThenCollapse, EXIT_MS, easing$1.easeOut));
4246
+ return $isExiting && 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 ? css(templateObject_3$j || (templateObject_3$j = __makeTemplateObject(["", " ", " ", " forwards"], ["", " ", " ", " forwards"])), fadeOut, duration$1.fast, easing$1.accelerate) : css(templateObject_4$e || (templateObject_4$e = __makeTemplateObject(["", " ", "ms ", " forwards"], ["", " ", "ms ", " forwards"])), fadeThenCollapse, EXIT_MS, easing$1.accelerate));
3951
4247
  });
3952
4248
  var StyledIconContainer = styled.div.withConfig({
3953
4249
  displayName: "Alert__StyledIconContainer",
@@ -3956,7 +4252,7 @@ var StyledIconContainer = styled.div.withConfig({
3956
4252
  var StyledContent$1 = styled.div.withConfig({
3957
4253
  displayName: "Alert__StyledContent",
3958
4254
  componentId: "sc-18tq5d-2"
3959
- })(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);
4255
+ })(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]);
3960
4256
  var StyledTitle = styled.span.withConfig({
3961
4257
  displayName: "Alert__StyledTitle",
3962
4258
  componentId: "sc-18tq5d-3"
@@ -3978,7 +4274,7 @@ var StyledActions = styled.div.withConfig({
3978
4274
  // message when there's no title (decision 0019). The slot is as tall as that line and the
3979
4275
  // button is centred in it, overflowing evenly into the padding, so it stays aligned at every
3980
4276
  // padding and line height. Being in the row, it also keeps text and actions from running under it.
3981
- ])), semantic$9.spacing.layout.sm, semantic$9.spacing.layout.md, semantic$9.spacing.layout.xs);
4277
+ ])), semantic$9.space[200], semantic$9.space[300], semantic$9.space[100]);
3982
4278
  // The dismiss button's centre lines up with the first line of content: the title, or the
3983
4279
  // message when there's no title (decision 0019). The slot is as tall as that line and the
3984
4280
  // button is centred in it, overflowing evenly into the padding, so it stays aligned at every
@@ -4003,7 +4299,7 @@ var StyledDismissButton = styled(IconButton).withConfig({
4003
4299
  componentId: "sc-18tq5d-7"
4004
4300
  })(templateObject_13$2 || (templateObject_13$2 = __makeTemplateObject(["\n margin-right: ", ";\n"], ["\n margin-right: ", ";\n"])), function (_a) {
4005
4301
  var $inline = _a.$inline;
4006
- return $inline ? 0 : "calc((".concat(tokensJson.component.iconButton.sizes.small.minWidth, " - ").concat(semantic$9.size.icon.sm, ") / -2)");
4302
+ return $inline ? 0 : "calc((".concat(semantic$9.size.control.sm, " - ").concat(semantic$9.size.icon.sm, ") / -2)");
4007
4303
  });
4008
4304
  var Alert = function Alert(_a) {
4009
4305
  var _b = _a.variant,
@@ -4139,12 +4435,11 @@ var Alert = function Alert(_a) {
4139
4435
  }));
4140
4436
  };
4141
4437
  Alert.displayName = 'Alert';
4142
- 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;
4438
+ 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;
4143
4439
 
4144
- var semantic$8 = tokensJson.semantic;
4145
- var color$3 = semantic$8.color,
4440
+ var semantic$8 = tokens.semantic;
4441
+ var color$2 = semantic$8.color,
4146
4442
  typography = semantic$8.typography,
4147
- spacing$3 = semantic$8.spacing,
4148
4443
  size = semantic$8.size;
4149
4444
  var variantIcons = {
4150
4445
  error: 'crossCircle',
@@ -4153,20 +4448,20 @@ var variantIcons = {
4153
4448
  success: 'checkRing'
4154
4449
  };
4155
4450
  var variantTextColors = {
4156
- error: color$3.text.error,
4157
- warning: color$3.text.warning,
4158
- info: color$3.text.interactive,
4159
- success: color$3.text.success
4451
+ error: color$2.text.danger,
4452
+ warning: color$2.text.warning,
4453
+ info: color$2.text.accent,
4454
+ success: color$2.text.success
4160
4455
  };
4161
4456
  var sizeConfig = {
4162
4457
  small: {
4163
4458
  font: typography.caption,
4164
- gap: spacing$3.layout.xs,
4459
+ gap: semantic$8.space[100],
4165
4460
  icon: 'xs'
4166
4461
  },
4167
4462
  medium: {
4168
4463
  font: typography.small,
4169
- gap: spacing$3.layout.sm,
4464
+ gap: semantic$8.space[200],
4170
4465
  icon: 'sm'
4171
4466
  }
4172
4467
  };
@@ -4202,7 +4497,7 @@ var StyledIconLine = styled.span.withConfig({
4202
4497
  var StyledMessage = styled.span.withConfig({
4203
4498
  displayName: "InlineAlert__StyledMessage",
4204
4499
  componentId: "sc-eervmb-2"
4205
- })(templateObject_3$h || (templateObject_3$h = __makeTemplateObject(["\n min-width: 0;\n"], ["\n min-width: 0;\n"
4500
+ })(templateObject_3$i || (templateObject_3$i = __makeTemplateObject(["\n min-width: 0;\n"], ["\n min-width: 0;\n"
4206
4501
  /**
4207
4502
  * InlineAlert is a short, local message that sits next to what it's about: between paragraphs,
4208
4503
  * below a field or in a table cell (decision 0019). A severity icon and text in the severity
@@ -4270,20 +4565,20 @@ var InlineAlert = function InlineAlert(_a) {
4270
4565
  });
4271
4566
  };
4272
4567
  InlineAlert.displayName = 'InlineAlert';
4273
- var templateObject_1$o, templateObject_2$j, templateObject_3$h;
4568
+ var templateObject_1$o, templateObject_2$j, templateObject_3$i;
4274
4569
 
4275
4570
  var BreadcrumbNavStyled = styled.nav.withConfig({
4276
4571
  displayName: "Breadcrumbs__BreadcrumbNavStyled",
4277
4572
  componentId: "sc-7ouzg5-0"
4278
- })(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"])), tokensJson.semantic.border["default"]);
4573
+ })(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"]);
4279
4574
  var BreadcrumbStyled = styled.li.withConfig({
4280
4575
  displayName: "Breadcrumbs__BreadcrumbStyled",
4281
4576
  componentId: "sc-7ouzg5-1"
4282
- })(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"])), tokensJson.semantic.spacing.layout.sm, tokensJson.semantic.spacing.layout.sm, tokensJson.semantic.color.text.subdued, tokensJson.component.breadcrumbs.item.maxWidth, tokensJson.semantic.color.text["default"]);
4577
+ })(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"]);
4283
4578
  var BreadcrumbSeparator = styled.span.withConfig({
4284
4579
  displayName: "Breadcrumbs__BreadcrumbSeparator",
4285
4580
  componentId: "sc-7ouzg5-2"
4286
- })(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"])));
4581
+ })(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"])));
4287
4582
  var isInternalUrl = function isInternalUrl(url) {
4288
4583
  return url.startsWith('/') && !url.startsWith('http');
4289
4584
  };
@@ -4331,12 +4626,14 @@ var Breadcrumbs = function Breadcrumbs(_a) {
4331
4626
  })
4332
4627
  });
4333
4628
  };
4334
- var templateObject_1$n, templateObject_2$i, templateObject_3$g;
4629
+ var templateObject_1$n, templateObject_2$i, templateObject_3$h;
4335
4630
 
4631
+ // The whole card is one link (#185): hovering anywhere fades its image, pressing fades it one step
4632
+ // further, and keyboard focus draws the system focus ring around the card (decision 0029)
4336
4633
  var CardSmallStyled = styled.div.withConfig({
4337
4634
  displayName: "CardSmall__CardSmallStyled",
4338
4635
  componentId: "sc-jpcqvd-0"
4339
- })(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"])), tokensJson.semantic.border.radius.sm, tokensJson.semantic.motion.duration.normal, tokensJson.semantic.motion.easing.easeOut, tokensJson.semantic.border.width.thick, tokensJson.semantic.color.border.strong);
4636
+ })(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);
4340
4637
  var CardSmall = function CardSmall(_a) {
4341
4638
  var title = _a.title,
4342
4639
  picture = _a.picture,
@@ -4392,11 +4689,10 @@ var CardSmall = function CardSmall(_a) {
4392
4689
  };
4393
4690
  var templateObject_1$m;
4394
4691
 
4395
- var border$4 = tokensJson.semantic.border;
4396
4692
  var CardLargeStyled = styled.div.withConfig({
4397
4693
  displayName: "CardLarge__CardLargeStyled",
4398
4694
  componentId: "sc-1rfgdzl-0"
4399
- })(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"])), tokensJson.component.cardLarge.maxWidth, border$4.radius['2xl'], tokensJson.semantic.motion.duration.normal, tokensJson.semantic.motion.easing.easeOut);
4695
+ })(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']);
4400
4696
  var CardLarge = function CardLarge(_a) {
4401
4697
  var title = _a.title,
4402
4698
  excerpt = _a.excerpt,
@@ -4480,29 +4776,37 @@ var StyledCheckbox = styled.span.withConfig({
4480
4776
  },
4481
4777
  displayName: "SelectableInputBase__StyledCheckbox",
4482
4778
  componentId: "sc-1ddpctx-1"
4483
- })(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"
4779
+ })(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"
4484
4780
  /**
4485
4781
  * Container for checkbox with proper spacing and alignment
4486
4782
  * 48px min-height for touch target (8px grid aligned)
4487
- */])), tokensJson.component.checkbox.box.size, tokensJson.component.checkbox.box.size, tokensJson.component.checkbox.box.size, tokensJson.component.checkbox.box.size, tokensJson.component.input["default"].borderRadius, tokensJson.component.input["default"].borderWidth, function (props) {
4488
- return props.$checked || props.$indeterminate ? tokensJson.semantic.color.background.inverse : tokensJson.component.input["default"].backgroundColor;
4783
+ */])), 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) {
4784
+ return props.$checked || props.$indeterminate ? tokens.semantic.color.fill.inverse : tokens.component.input["default"].backgroundColor;
4489
4785
  }, function (props) {
4490
- if (props.$state === 'error') return tokensJson.component.input.error.borderColor;
4491
- if (props.$checked || props.$indeterminate) return tokensJson.semantic.color.border.strong;
4492
- return tokensJson.component.input["default"].borderColor;
4786
+ if (props.$state === 'error') return tokens.component.input.error.borderColor;
4787
+ // A checked box's border matches its fill, so the box reads as solid
4788
+ if (props.$checked || props.$indeterminate) return tokens.semantic.color.fill.inverse;
4789
+ return tokens.component.input["default"].borderColor;
4493
4790
  }, function (props) {
4494
4791
  return props.$state === 'disabled' ? 'not-allowed' : 'pointer';
4495
- }, tokensJson.semantic.motion.duration.fast, tokensJson.semantic.motion.easing.easeOut, HiddenCheckboxInput, function (props) {
4496
- return props.$state === 'error' ? tokensJson.component.input.error.hover.borderColor : props.$checked || props.$indeterminate ? tokensJson.semantic.color.border.strong : tokensJson.component.input.hover.borderColor;
4497
- }, HiddenCheckboxInput, tokensJson.component.input.focus.outline, tokensJson.semantic.border.focusOffset, function (props) {
4498
- return props.$state === 'error' ? tokensJson.component.input.error.focus.borderColor : tokensJson.component.input.focus.borderColor;
4792
+ }, 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) {
4793
+ return props.$state === 'error' ? tokens.component.input.error.hover.borderColor : props.$checked || props.$indeterminate ? tokens.semantic.color.fill.inverse : tokens.component.input.hover.borderColor;
4794
+ }, HiddenCheckboxInput, tokens.component.input.focus.outline, tokens.semantic.border.focusOffset, function (props) {
4795
+ return props.$state === 'error' ? tokens.component.input.error.focus.borderColor : tokens.component.input.focus.borderColor;
4499
4796
  }, function (props) {
4500
- return props.$state === 'disabled' && "\n background-color: ".concat(tokensJson.component.input.disabled.backgroundColor, ";\n border-color: ").concat(tokensJson.component.input.disabled.borderColor, ";\n ");
4797
+ return props.$state === 'disabled' && "\n background-color: ".concat(tokens.component.input.disabled.backgroundColor, ";\n border-color: ").concat(tokens.component.input.disabled.borderColor, ";\n ");
4501
4798
  }, function (props) {
4502
4799
  return props.$checked ? 'block' : 'none';
4503
- }, tokensJson.semantic.color.text.inverse, function (props) {
4800
+ }, tokens.semantic.color.text.inverse, function (props) {
4504
4801
  return props.$indeterminate ? 'block' : 'none';
4505
- }, tokensJson.semantic.color.text.inverse);
4802
+ }, tokens.semantic.color.text.inverse, function (props) {
4803
+ var on = props.$checked || props.$indeterminate;
4804
+ var disabled = props.$state === 'disabled';
4805
+ if (!on) return disabled ? "".concat(forcedColors, " { border-color: GrayText; }") : '';
4806
+ var fill = disabled ? 'GrayText' : 'Highlight';
4807
+ var mark = disabled ? 'Canvas' : 'HighlightText';
4808
+ 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 }");
4809
+ });
4506
4810
  /**
4507
4811
  * Container for checkbox with proper spacing and alignment
4508
4812
  * 48px min-height for touch target (8px grid aligned)
@@ -4513,12 +4817,12 @@ var StyledCheckboxContainer = styled.label.withConfig({
4513
4817
  },
4514
4818
  displayName: "SelectableInputBase__StyledCheckboxContainer",
4515
4819
  componentId: "sc-1ddpctx-2"
4516
- })(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"
4820
+ })(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"
4517
4821
  /**
4518
4822
  * Label text with proper typography
4519
- */])), tokensJson.semantic.spacing.layout.md, function (props) {
4823
+ */])), tokens.semantic.space[300], function (props) {
4520
4824
  return props.$disabled ? 'not-allowed' : 'pointer';
4521
- }, tokensJson.component.checkbox.row.minHeight, function (props) {
4825
+ }, tokens.component.checkbox.row.minHeight, function (props) {
4522
4826
  return props.$labelPosition === 'left' ? 'row-reverse' : 'row';
4523
4827
  });
4524
4828
  /**
@@ -4530,15 +4834,15 @@ var StyledCheckboxLabel = styled.span.withConfig({
4530
4834
  },
4531
4835
  displayName: "SelectableInputBase__StyledCheckboxLabel",
4532
4836
  componentId: "sc-1ddpctx-3"
4533
- })(templateObject_4$d || (templateObject_4$d = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n"], ["\n font: ", ";\n color: ", ";\n"])), tokensJson.component.input["default"].font, function (props) {
4534
- return props.$disabled ? tokensJson.component.input.disabled.textColor : tokensJson.component.input["default"].textColor;
4837
+ })(templateObject_4$d || (templateObject_4$d = __makeTemplateObject(["\n font: ", ";\n color: ", ";\n"], ["\n font: ", ";\n color: ", ";\n"])), tokens.component.input["default"].font, function (props) {
4838
+ return props.$disabled ? tokens.component.input.disabled.textColor : tokens.component.input["default"].textColor;
4535
4839
  });
4536
- var templateObject_1$k, templateObject_2$h, templateObject_3$f, templateObject_4$d;
4840
+ var templateObject_1$k, templateObject_2$h, templateObject_3$g, templateObject_4$d;
4537
4841
 
4538
4842
  var StyledFieldContainer$3 = styled.div.withConfig({
4539
4843
  displayName: "Checkbox__StyledFieldContainer",
4540
4844
  componentId: "sc-vquz3v-0"
4541
- })(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"])), tokensJson.semantic.spacing.layout.xs);
4845
+ })(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]);
4542
4846
  var StyledHelperText$4 = styled.span.withConfig({
4543
4847
  displayName: "Checkbox__StyledHelperText",
4544
4848
  componentId: "sc-vquz3v-1"
@@ -4564,9 +4868,9 @@ var StyledHelperText$4 = styled.span.withConfig({
4564
4868
  * required
4565
4869
  * />
4566
4870
  * ```
4567
- */])), tokensJson.component.field.helperText.typography, function (props) {
4568
- return props.$error ? tokensJson.component.field.helperText.colorError : tokensJson.component.field.helperText.color;
4569
- }, tokensJson.semantic.spacing.layout['5xl']);
4871
+ */])), tokens.component.field.helperText.typography, function (props) {
4872
+ return props.$error ? tokens.component.field.helperText.colorError : tokens.component.field.helperText.color;
4873
+ }, tokens.semantic.space[900]);
4570
4874
  /**
4571
4875
  * Checkbox component for binary selection with WCAG 2.2 AA compliance
4572
4876
  *
@@ -4688,19 +4992,18 @@ var ChipGroup = function ChipGroup(_a) {
4688
4992
  };
4689
4993
  var templateObject_1$i;
4690
4994
 
4691
- var _a$2 = tokensJson.semantic,
4692
- color$2 = _a$2.color,
4693
- border$3 = _a$2.border,
4694
- spacing$2 = _a$2.spacing,
4695
- motion$2 = _a$2.motion;
4995
+ var _a$1 = tokens.semantic,
4996
+ color$1 = _a$1.color,
4997
+ border$1 = _a$1.border,
4998
+ motion$2 = _a$1.motion;
4696
4999
  var StyledCodeBlock = styled.pre.withConfig({
4697
5000
  displayName: "CodeBlock__StyledCodeBlock",
4698
5001
  componentId: "sc-1p1t0kp-0"
4699
- })(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 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"])), color$2.background.subtle, border$3.subtle, tokensJson.semantic.border.radius.sm, spacing$2.layout.md, tokensJson.component.codeBlock.fontFamily, tokensJson.component.codeBlock.fontSize, tokensJson.component.codeBlock.lineHeight, color$2.text["default"], function (_a) {
5002
+ })(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) {
4700
5003
  var $isExpanded = _a.$isExpanded,
4701
5004
  $needsExpansion = _a.$needsExpansion;
4702
5005
  return $needsExpansion && !$isExpanded ? 'hidden' : 'auto';
4703
- }, spacing$2.layout.sm, motion$2.duration.slow, motion$2.easing.easeInOut, reducedMotion, function (_a) {
5006
+ }, tokens.semantic.space[200], motion$2.duration.slow, motion$2.easing.standard, reducedMotion, function (_a) {
4704
5007
  var $maxHeight = _a.$maxHeight,
4705
5008
  $isExpanded = _a.$isExpanded,
4706
5009
  $needsExpansion = _a.$needsExpansion;
@@ -4708,7 +5011,7 @@ var StyledCodeBlock = styled.pre.withConfig({
4708
5011
  // Use a large value when expanded to allow smooth transition
4709
5012
  // 10000px is effectively "no limit" for most code blocks
4710
5013
  return $isExpanded ? 'max-height: 10000px;' : "max-height: ".concat($maxHeight, "px;");
4711
- });
5014
+ }, border$1.focus, border$1.focusOffset);
4712
5015
  var CodeBlockWrapper = styled.div.withConfig({
4713
5016
  displayName: "CodeBlock__CodeBlockWrapper",
4714
5017
  componentId: "sc-1p1t0kp-1"
@@ -4716,13 +5019,13 @@ var CodeBlockWrapper = styled.div.withConfig({
4716
5019
  var CopyButtonWrapper = styled.div.withConfig({
4717
5020
  displayName: "CodeBlock__CopyButtonWrapper",
4718
5021
  componentId: "sc-1p1t0kp-2"
4719
- })(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);
5022
+ })(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]);
4720
5023
  var ExpandButtonWrapper = styled.div.withConfig({
4721
5024
  displayName: "CodeBlock__ExpandButtonWrapper",
4722
5025
  componentId: "sc-1p1t0kp-3"
4723
- })(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, tokensJson.semantic.border.width.thin, tokensJson.semantic.border.width.thin, tokensJson.semantic.border.width.thin, tokensJson.semantic.border.width.thin, spacing$2.layout.sm, tokensJson.semantic.border.radius.sm, motion$2.duration.slow, motion$2.easing.easeInOut, motion$2.duration.slow, motion$2.easing.easeInOut, function (_a) {
5026
+ })(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) {
4724
5027
  var $hasGradient = _a.$hasGradient;
4725
- 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 ";
5028
+ 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 ";
4726
5029
  });
4727
5030
  var CopyButton = function CopyButton(_a) {
4728
5031
  var text = _a.text,
@@ -4906,23 +5209,23 @@ var CodeBlock = function CodeBlock(_a) {
4906
5209
  })]
4907
5210
  });
4908
5211
  };
4909
- var templateObject_1$h, templateObject_2$f, templateObject_3$e, templateObject_4$c, templateObject_5$a;
5212
+ var templateObject_1$h, templateObject_2$f, templateObject_3$f, templateObject_4$c, templateObject_5$a;
4910
5213
 
4911
5214
  var StyledHeader$1 = styled.div.withConfig({
4912
5215
  displayName: "DateGroup__StyledHeader",
4913
5216
  componentId: "sc-9nfm1f-0"
4914
- })(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"])), tokensJson.semantic.spacing.layout.md, tokensJson.semantic.spacing.layout.sm, tokensJson.semantic.color.background["default"], tokensJson.semantic.border.width.thin, tokensJson.semantic.color.border["default"], function (_a) {
5217
+ })(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) {
4915
5218
  var $sticky = _a.$sticky;
4916
- return $sticky && "\n position: sticky;\n top: 0;\n z-index: ".concat(tokensJson.semantic.zIndex.sticky, ";\n box-shadow: ").concat(tokensJson.semantic.elevation.sticky, ";\n ");
5219
+ 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 ");
4917
5220
  });
4918
5221
  var StyledLeftSection = styled.div.withConfig({
4919
5222
  displayName: "DateGroup__StyledLeftSection",
4920
5223
  componentId: "sc-9nfm1f-1"
4921
- })(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"])), tokensJson.semantic.spacing.layout.sm);
5224
+ })(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]);
4922
5225
  var StyledRightSection = styled.div.withConfig({
4923
5226
  displayName: "DateGroup__StyledRightSection",
4924
5227
  componentId: "sc-9nfm1f-2"
4925
- })(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"])), tokensJson.semantic.spacing.layout.md);
5228
+ })(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]);
4926
5229
  var StyledContent = styled.div.withConfig({
4927
5230
  displayName: "DateGroup__StyledContent",
4928
5231
  componentId: "sc-9nfm1f-3"
@@ -4998,18 +5301,18 @@ var DateGroup = function DateGroup(_a) {
4998
5301
  })]
4999
5302
  });
5000
5303
  };
5001
- var templateObject_1$g, templateObject_2$e, templateObject_3$d, templateObject_4$b;
5304
+ var templateObject_1$g, templateObject_2$e, templateObject_3$e, templateObject_4$b;
5002
5305
 
5003
- var semantic$7 = tokensJson.semantic;
5306
+ var semantic$7 = tokens.semantic;
5004
5307
  var StyledContainer$1 = styled.div.withConfig({
5005
5308
  shouldForwardProp: function shouldForwardProp(prop) {
5006
5309
  return !prop.startsWith('$');
5007
5310
  },
5008
5311
  displayName: "EmptyState__StyledContainer",
5009
5312
  componentId: "sc-1u5hxh-0"
5010
- })(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"])), tokensJson.component.emptyState.maxWidth, function (_a) {
5313
+ })(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) {
5011
5314
  var $size = _a.$size;
5012
- return $size === 'small' ? semantic$7.spacing.layout['4xl'] : $size === 'large' ? semantic$7.spacing.layout['8xl'] : semantic$7.spacing.layout['6xl'];
5315
+ return $size === 'small' ? semantic$7.space[800] : $size === 'large' ? semantic$7.space[1400] : semantic$7.space[1000];
5013
5316
  });
5014
5317
  var StyledIllustration = styled.div.withConfig({
5015
5318
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -5019,20 +5322,20 @@ var StyledIllustration = styled.div.withConfig({
5019
5322
  componentId: "sc-1u5hxh-1"
5020
5323
  })(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) {
5021
5324
  var $size = _a.$size;
5022
- return $size === 'small' ? tokensJson.component.emptyState.illustration.small : $size === 'large' ? tokensJson.component.emptyState.illustration.large : tokensJson.component.emptyState.illustration.medium;
5325
+ return $size === 'small' ? tokens.component.emptyState.illustration.small : $size === 'large' ? tokens.component.emptyState.illustration.large : tokens.component.emptyState.illustration.medium;
5023
5326
  }, function (_a) {
5024
5327
  var $size = _a.$size;
5025
- return $size === 'small' ? tokensJson.component.emptyState.illustration.small : $size === 'large' ? tokensJson.component.emptyState.illustration.large : tokensJson.component.emptyState.illustration.medium;
5026
- }, semantic$7.spacing.layout['2xl'], function (_a) {
5328
+ return $size === 'small' ? tokens.component.emptyState.illustration.small : $size === 'large' ? tokens.component.emptyState.illustration.large : tokens.component.emptyState.illustration.medium;
5329
+ }, semantic$7.space[600], function (_a) {
5027
5330
  var $variant = _a.$variant;
5028
- return $variant === 'error' ? semantic$7.color.icon.error : $variant === 'success' ? semantic$7.color.icon.success : semantic$7.color.icon.subdued;
5331
+ return $variant === 'error' ? semantic$7.color.icon.danger : $variant === 'success' ? semantic$7.color.icon.success : semantic$7.color.icon.muted;
5029
5332
  });
5030
5333
  var StyledTextContainer = styled.div.withConfig({
5031
5334
  displayName: "EmptyState__StyledTextContainer",
5032
5335
  componentId: "sc-1u5hxh-2"
5033
- })(templateObject_3$c || (templateObject_3$c = __makeTemplateObject(["\n max-width: ", ";\n margin-bottom: ", ";\n"], ["\n max-width: ", ";\n margin-bottom: ", ";\n"
5336
+ })(templateObject_3$d || (templateObject_3$d = __makeTemplateObject(["\n max-width: ", ";\n margin-bottom: ", ";\n"], ["\n max-width: ", ";\n margin-bottom: ", ";\n"
5034
5337
  // Map illustration type to icon name
5035
- ])), tokensJson.component.emptyState.text.maxWidth, semantic$7.spacing.layout['2xl']);
5338
+ ])), tokens.component.emptyState.text.maxWidth, semantic$7.space[600]);
5036
5339
  // Map illustration type to icon name
5037
5340
  var illustrationToIcon = {
5038
5341
  search: 'search',
@@ -5087,7 +5390,7 @@ var EmptyState = function EmptyState(_a) {
5087
5390
  children: title
5088
5391
  }), jsx("div", {
5089
5392
  style: {
5090
- marginTop: semantic$7.spacing.layout.md
5393
+ marginTop: semantic$7.space[300]
5091
5394
  },
5092
5395
  children: jsx(Typography, {
5093
5396
  variant: "body",
@@ -5097,7 +5400,7 @@ var EmptyState = function EmptyState(_a) {
5097
5400
  })]
5098
5401
  }), (action || secondaryAction) && jsx(Box, {
5099
5402
  width: "100%",
5100
- maxWidth: tokensJson.component.emptyState.actions.maxWidth,
5403
+ maxWidth: tokens.component.emptyState.actions.maxWidth,
5101
5404
  children: jsxs(Stack, {
5102
5405
  direction: "column",
5103
5406
  gap: "sm",
@@ -5117,27 +5420,25 @@ var EmptyState = function EmptyState(_a) {
5117
5420
  })]
5118
5421
  });
5119
5422
  };
5120
- var templateObject_1$f, templateObject_2$d, templateObject_3$c;
5423
+ var templateObject_1$f, templateObject_2$d, templateObject_3$d;
5121
5424
 
5122
- var _a$1 = tokensJson.semantic,
5123
- spacing$1 = _a$1.spacing.layout,
5124
- border$2 = _a$1.border;
5425
+ var space$5 = tokens.semantic.space;
5125
5426
  var FeatureBlockStyled = styled.div.withConfig({
5126
5427
  displayName: "FeatureBlock__FeatureBlockStyled",
5127
5428
  componentId: "sc-1mi4lso-0"
5128
- })(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"])), tokensJson.semantic.breakpoint.md, tokensJson.semantic.breakpoint.lg, spacing$1['7xl'], border$2.radius['2xl'], tokensJson.semantic.motion.duration.normal, tokensJson.semantic.motion.easing.easeOut);
5429
+ })(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']);
5129
5430
  var ImageWrapper = styled.div.withConfig({
5130
5431
  displayName: "FeatureBlock__ImageWrapper",
5131
5432
  componentId: "sc-1mi4lso-1"
5132
- })(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"])), tokensJson.semantic.breakpoint.lg);
5433
+ })(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);
5133
5434
  var ContentSection = styled.div.withConfig({
5134
5435
  displayName: "FeatureBlock__ContentSection",
5135
5436
  componentId: "sc-1mi4lso-2"
5136
- })(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'], tokensJson.semantic.breakpoint.lg, spacing$1['4xl'], tokensJson.semantic.breakpoint.xl, spacing$1['11xl']);
5437
+ })(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]);
5137
5438
  var ButtonWrapper = styled.div.withConfig({
5138
5439
  displayName: "FeatureBlock__ButtonWrapper",
5139
5440
  componentId: "sc-1mi4lso-3"
5140
- })(templateObject_4$a || (templateObject_4$a = __makeTemplateObject(["\n button {\n margin-top: ", ";\n }\n"], ["\n button {\n margin-top: ", ";\n }\n"])), spacing$1.lg);
5441
+ })(templateObject_4$a || (templateObject_4$a = __makeTemplateObject(["\n button {\n margin-top: ", ";\n }\n"], ["\n button {\n margin-top: ", ";\n }\n"])), space$5[400]);
5141
5442
  var ContentWrapper = styled.div.withConfig({
5142
5443
  displayName: "FeatureBlock__ContentWrapper",
5143
5444
  componentId: "sc-1mi4lso-4"
@@ -5200,21 +5501,23 @@ var FeatureBlock = function FeatureBlock(_a) {
5200
5501
  }), jsx(Divider, {})]
5201
5502
  });
5202
5503
  };
5203
- var templateObject_1$e, templateObject_2$c, templateObject_3$b, templateObject_4$a, templateObject_5$9;
5504
+ var templateObject_1$e, templateObject_2$c, templateObject_3$c, templateObject_4$a, templateObject_5$9;
5204
5505
 
5205
- var _a = tokensJson.semantic,
5206
- color$1 = _a.color,
5207
- border$1 = _a.border,
5208
- zIndex = _a.zIndex,
5506
+ var _a = tokens.semantic,
5507
+ border = _a.border,
5209
5508
  elevation$1 = _a.elevation,
5210
5509
  motion$1 = _a.motion,
5211
- spacing = _a.spacing.layout,
5212
- _b = tokensJson.component,
5510
+ space$4 = _a.space,
5511
+ _b = tokens.component,
5213
5512
  input$1 = _b.input,
5214
5513
  field$3 = _b.field;
5215
5514
  // Spacing comes from the semantic scales: no component spacing tokens (decision 0022).
5216
- // The 11px vertical padding is off-grid and keeps its deprecated token until #129.
5217
- var controlPaddingX = tokensJson.semantic.spacing.component.lg;
5515
+ // The trigger and options take their height from size.control.lg as a minimum and centre
5516
+ // their content (decision 0034). The small vertical padding only matters when a long
5517
+ // label wraps; a single line is shorter than the minimum.
5518
+ var controlPaddingX = tokens.semantic.space.inset.lg;
5519
+ var controlPaddingY = space$4[200];
5520
+ var controlHeight = tokens.semantic.size.control.lg;
5218
5521
  var duration = motion$1.duration,
5219
5522
  easing = motion$1.easing;
5220
5523
  var DropdownContainer = styled.div.withConfig({
@@ -5227,16 +5530,16 @@ var DropdownTrigger = styled.button.withConfig({
5227
5530
  },
5228
5531
  displayName: "Dropdown__DropdownTrigger",
5229
5532
  componentId: "sc-kz07c4-1"
5230
- })(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) {
5533
+ })(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) {
5231
5534
  var $hasError = _a.$hasError;
5232
5535
  return $hasError ? input$1.error.borderColor : input$1["default"].borderColor;
5233
- }, input$1["default"].borderRadius, input$1["default"].font, input$1["default"].textColor, duration.normal, easing.easeInOut, duration.normal, easing.easeInOut, function (_a) {
5536
+ }, input$1["default"].borderRadius, input$1["default"].font, input$1["default"].textColor, duration.moderate, easing.standard, duration.moderate, easing.standard, function (_a) {
5234
5537
  var $hasError = _a.$hasError;
5235
5538
  return $hasError ? input$1.error.hover.borderColor : input$1.hover.borderColor;
5236
5539
  }, function (_a) {
5237
5540
  var $hasError = _a.$hasError;
5238
5541
  return $hasError ? input$1.error.focus.borderColor : input$1.focus.borderColor;
5239
- }, input$1.focus.outline, border$1.focusOffset, input$1.disabled.backgroundColor, input$1.disabled.textColor, input$1.disabled.borderColor, function (_a) {
5542
+ }, input$1.focus.outline, border.focusOffset, input$1.disabled.backgroundColor, input$1.disabled.textColor, input$1.disabled.borderColor, function (_a) {
5240
5543
  var $isOpen = _a.$isOpen,
5241
5544
  $hasError = _a.$hasError;
5242
5545
  return $isOpen && "\n border-color: ".concat($hasError ? input$1.error.focus.borderColor : input$1.focus.borderColor, ";\n ");
@@ -5247,7 +5550,7 @@ var DropdownIcon = styled.div.withConfig({
5247
5550
  },
5248
5551
  displayName: "Dropdown__DropdownIcon",
5249
5552
  componentId: "sc-kz07c4-2"
5250
- })(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) {
5553
+ })(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) {
5251
5554
  var $isOpen = _a.$isOpen;
5252
5555
  return $isOpen && "\n transform: rotate(180deg);\n ";
5253
5556
  }, reducedMotion);
@@ -5257,7 +5560,7 @@ var DropdownMenu = styled.div.withConfig({
5257
5560
  },
5258
5561
  displayName: "Dropdown__DropdownMenu",
5259
5562
  componentId: "sc-kz07c4-3"
5260
- })(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) {
5563
+ })(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) {
5261
5564
  var $isOpen = _a.$isOpen;
5262
5565
  return $isOpen ? 1 : 0;
5263
5566
  }, function (_a) {
@@ -5265,28 +5568,29 @@ var DropdownMenu = styled.div.withConfig({
5265
5568
  return $isOpen ? 'visible' : 'hidden';
5266
5569
  }, function (_a) {
5267
5570
  var $isOpen = _a.$isOpen;
5268
- return $isOpen ? 'translateY(0)' : "translateY(-".concat(spacing.sm, ")");
5269
- }, duration.fast, easing.easeOut, tokensJson.semantic.size.menu.maxHeight, reducedMotion);
5571
+ return $isOpen ? 'translateY(0)' : "translateY(calc(-1 * ".concat(tokens.semantic.motion.distance.sm, "))");
5572
+ }, duration.fast, easing.decelerate, duration.fast, easing.decelerate, duration.fast, easing.decelerate, tokens.semantic.size.menu.maxHeight, reducedMotion);
5270
5573
  var DropdownOption = styled.button.withConfig({
5271
5574
  shouldForwardProp: function shouldForwardProp(prop) {
5272
5575
  return !prop.startsWith('$');
5273
5576
  },
5274
5577
  displayName: "Dropdown__DropdownOption",
5275
5578
  componentId: "sc-kz07c4-4"
5276
- })(templateObject_5$8 || (templateObject_5$8 = __makeTemplateObject(["\n width: 100%;\n display: block;\n padding: ", " ", ";\n background-color: ", ";\n border: none;\n font: ", ";\n color: ", ";\n text-align: left;\n cursor: pointer;\n transition: background-color ", " ", ";\n \n &:hover {\n background-color: ", ";\n }\n \n &:focus {\n outline: none;\n background-color: ", ";\n }\n \n &:not(:last-child) {\n border-bottom: ", ";\n }\n"], ["\n width: 100%;\n display: block;\n padding: ", " ", ";\n background-color: ", ";\n border: none;\n font: ", ";\n color: ", ";\n text-align: left;\n cursor: pointer;\n transition: background-color ", " ", ";\n \n &:hover {\n background-color: ", ";\n }\n \n &:focus {\n outline: none;\n background-color: ", ";\n }\n \n &:not(:last-child) {\n border-bottom: ", ";\n }\n"])), input$1["default"].paddingY, controlPaddingX, function (_a) {
5579
+ })(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) {
5277
5580
  var $isSelected = _a.$isSelected,
5278
5581
  $isFocused = _a.$isFocused;
5279
- if ($isFocused) return color$1.background.surface;
5280
- if ($isSelected) return color$1.background.surface;
5281
- return 'transparent';
5282
- }, input$1["default"].font, input$1["default"].textColor, duration.fast, easing.easeOut, color$1.background.surface, color$1.background.surface, border$1.subtle);
5582
+ return interactiveRow({
5583
+ selected: $isSelected,
5584
+ focused: $isFocused
5585
+ });
5586
+ }, border.emphasis);
5283
5587
  var StyledHelperText$3 = styled.div.withConfig({
5284
5588
  displayName: "Dropdown__StyledHelperText",
5285
5589
  componentId: "sc-kz07c4-5"
5286
5590
  })(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) {
5287
5591
  var $hasError = _a.$hasError;
5288
5592
  return $hasError ? field$3.helperText.colorError : field$3.helperText.color;
5289
- }, spacing.sm);
5593
+ }, space$4[200]);
5290
5594
  var Dropdown = function Dropdown(_a) {
5291
5595
  var options = _a.options,
5292
5596
  value = _a.value,
@@ -5409,7 +5713,7 @@ var Dropdown = function Dropdown(_a) {
5409
5713
  htmlFor: dropdownId,
5410
5714
  style: {
5411
5715
  display: 'block',
5412
- marginBottom: spacing.sm
5716
+ marginBottom: space$4[200]
5413
5717
  },
5414
5718
  children: jsx(Typography, {
5415
5719
  variant: "label",
@@ -5439,7 +5743,7 @@ var Dropdown = function Dropdown(_a) {
5439
5743
  role: "listbox",
5440
5744
  "aria-labelledby": dropdownId,
5441
5745
  children: options.map(function (option, index) {
5442
- return jsx(DropdownOption, {
5746
+ return jsxs(DropdownOption, {
5443
5747
  "$isSelected": option.id === value,
5444
5748
  "$isFocused": index === focusedIndex,
5445
5749
  onClick: function onClick() {
@@ -5447,7 +5751,11 @@ var Dropdown = function Dropdown(_a) {
5447
5751
  },
5448
5752
  role: "option",
5449
5753
  "aria-selected": option.id === value,
5450
- children: option.label
5754
+ children: [option.label, option.id === value && jsx(Icon, {
5755
+ name: "check",
5756
+ size: "sm",
5757
+ iconColor: "inherit"
5758
+ })]
5451
5759
  }, option.id);
5452
5760
  })
5453
5761
  }), error && jsx(StyledHelperText$3, {
@@ -5462,9 +5770,9 @@ var Dropdown = function Dropdown(_a) {
5462
5770
  })]
5463
5771
  });
5464
5772
  };
5465
- var templateObject_1$d, templateObject_2$b, templateObject_3$a, templateObject_4$9, templateObject_5$8, templateObject_6$7;
5773
+ var templateObject_1$d, templateObject_2$b, templateObject_3$b, templateObject_4$9, templateObject_5$8, templateObject_6$7;
5466
5774
 
5467
- var semantic$6 = tokensJson.semantic;
5775
+ var semantic$6 = tokens.semantic;
5468
5776
  var StyledList = styled.ul.withConfig({
5469
5777
  shouldForwardProp: function shouldForwardProp(prop) {
5470
5778
  return !prop.startsWith('$');
@@ -5499,19 +5807,18 @@ var List = function List(_a) {
5499
5807
  List.displayName = 'List';
5500
5808
  var templateObject_1$c;
5501
5809
 
5502
- var semantic$5 = tokensJson.semantic;
5503
- var layout = semantic$5.spacing.layout,
5810
+ var semantic$5 = tokens.semantic;
5811
+ var space$3 = semantic$5.space,
5504
5812
  color = semantic$5.color,
5505
- border = semantic$5.border,
5506
5813
  elevation = semantic$5.elevation,
5507
5814
  motion = semantic$5.motion;
5508
5815
  // ---------------------------------------------------------------------------
5509
5816
  // Size map
5510
5817
  // ---------------------------------------------------------------------------
5511
5818
  var sizeToWidth = {
5512
- small: tokensJson.semantic.size.overlay.sm,
5513
- medium: tokensJson.semantic.size.overlay.md,
5514
- large: tokensJson.semantic.size.overlay.lg
5819
+ small: tokens.semantic.size.overlay.sm,
5820
+ medium: tokens.semantic.size.overlay.md,
5821
+ large: tokens.semantic.size.overlay.lg
5515
5822
  };
5516
5823
  // ---------------------------------------------------------------------------
5517
5824
  // Animations
@@ -5528,7 +5835,7 @@ var scaleIn = keyframes(templateObject_2$a || (templateObject_2$a = __makeTempla
5528
5835
  var StyledOverlay$1 = styled.div.withConfig({
5529
5836
  displayName: "Modal__StyledOverlay",
5530
5837
  componentId: "sc-1d3g5gh-0"
5531
- })(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, css(templateObject_3$9 || (templateObject_3$9 = __makeTemplateObject(["animation: ", " ", " ", "", ";"], ["animation: ", " ", " ", "", ";"])), fadeIn$1, motion.duration.normal, motion.easing.easeOut, function (_a) {
5838
+ })(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, css(templateObject_3$a || (templateObject_3$a = __makeTemplateObject(["animation: ", " ", " ", "", ";"], ["animation: ", " ", " ", "", ";"])), fadeIn$1, motion.duration.moderate, motion.easing.decelerate, function (_a) {
5532
5839
  var $isExiting = _a.$isExiting;
5533
5840
  return $isExiting && exitAnimation;
5534
5841
  }));
@@ -5538,27 +5845,27 @@ var StyledDialog = styled.div.withConfig({
5538
5845
  },
5539
5846
  displayName: "Modal__StyledDialog",
5540
5847
  componentId: "sc-1d3g5gh-1"
5541
- })(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) {
5848
+ })(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) {
5542
5849
  var $width = _a.$width;
5543
5850
  return $width;
5544
- }, layout.lg, layout.lg, color.background.subtle, border.radius.xl, elevation.overlay, css(templateObject_5$7 || (templateObject_5$7 = __makeTemplateObject(["animation: ", " ", " ", "", ";"], ["animation: ", " ", " ", "", ";"])), scaleIn, motion.duration.normal, motion.easing.easeOut, function (_a) {
5851
+ }, space$3[400], space$3[400], semantic$5.surface.raised, semantic$5.radius.xl, elevation.overlay, css(templateObject_5$7 || (templateObject_5$7 = __makeTemplateObject(["animation: ", " ", " ", "", ";"], ["animation: ", " ", " ", "", ";"])), scaleIn, motion.duration.moderate, motion.easing.decelerate, function (_a) {
5545
5852
  var $isExiting = _a.$isExiting;
5546
5853
  return $isExiting && exitAnimation;
5547
- }), reducedMotion, fadeIn$1, motion.duration.normal, motion.easing.easeOut, function (_a) {
5854
+ }), reducedMotion, fadeIn$1, motion.duration.moderate, motion.easing.decelerate, function (_a) {
5548
5855
  var $isExiting = _a.$isExiting;
5549
5856
  return $isExiting && exitAnimation;
5550
- }, semantic$5.breakpoint.md, fadeIn$1, motion.duration.normal, motion.easing.easeOut, function (_a) {
5857
+ }, semantic$5.breakpoint.md, fadeIn$1, motion.duration.moderate, motion.easing.decelerate, function (_a) {
5551
5858
  var $isExiting = _a.$isExiting;
5552
5859
  return $isExiting && exitAnimation;
5553
5860
  });
5554
5861
  var StyledHeader = styled.div.withConfig({
5555
5862
  displayName: "Modal__StyledHeader",
5556
5863
  componentId: "sc-1d3g5gh-2"
5557
- })(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);
5864
+ })(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]);
5558
5865
  var StyledBody = styled.div.withConfig({
5559
5866
  displayName: "Modal__StyledBody",
5560
5867
  componentId: "sc-1d3g5gh-3"
5561
- })(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);
5868
+ })(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);
5562
5869
  var StyledFooter = styled.div.withConfig({
5563
5870
  displayName: "Modal__StyledFooter",
5564
5871
  componentId: "sc-1d3g5gh-4"
@@ -5578,7 +5885,7 @@ var StyledFooter = styled.div.withConfig({
5578
5885
  * - Locks body scroll while open.
5579
5886
  *
5580
5887
  * Composes: IconButton, Button, Typography, Stack, Divider
5581
- */])), layout.sm, layout.lg, layout.lg);
5888
+ */])), space$3[200], space$3[400], space$3[400]);
5582
5889
  // ---------------------------------------------------------------------------
5583
5890
  // Component
5584
5891
  // ---------------------------------------------------------------------------
@@ -5740,23 +6047,19 @@ var Modal = function Modal(_a) {
5740
6047
  return /*#__PURE__*/createPortal(modal, document.body);
5741
6048
  };
5742
6049
  Modal.displayName = 'Modal';
5743
- 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;
6050
+ 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;
5744
6051
 
5745
- var input = tokensJson.component.input,
5746
- semantic$4 = tokensJson.semantic;
5747
- var StyledInputBase = styled.input.withConfig({
5748
- shouldForwardProp: function shouldForwardProp(prop) {
5749
- return !prop.startsWith('$');
5750
- },
5751
- displayName: "InputBase__StyledInputBase",
5752
- componentId: "sc-1bpf4e8-0"
5753
- })(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"
6052
+ var input = tokens.component.input,
6053
+ semantic$4 = tokens.semantic;
5754
6054
  /**
5755
- * Base styled textarea with shared styling
5756
- */])), input["default"].font, function (_a) {
6055
+ * Styles shared by the single-line input and the textarea. Each element sets its
6056
+ * own min-height and padding. Interpolating a styled component into another's CSS
6057
+ * inserts its class selector, not its styles, so the sharing goes through `css`.
6058
+ */
6059
+ var inputBaseStyles = 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) {
5757
6060
  var $disabled = _a.$disabled;
5758
6061
  return $disabled ? input.disabled.textColor : input["default"].textColor;
5759
- }, input["default"].paddingY, semantic$4.spacing.component.lg, function (_a) {
6062
+ }, function (_a) {
5760
6063
  var $disabled = _a.$disabled;
5761
6064
  return $disabled ? input.disabled.backgroundColor : input["default"].backgroundColor;
5762
6065
  }, input["default"].borderWidth, function (_a) {
@@ -5765,13 +6068,23 @@ var StyledInputBase = styled.input.withConfig({
5765
6068
  if ($disabled) return input.disabled.borderColor;
5766
6069
  if ($hasError) return input.error.borderColor;
5767
6070
  return input["default"].borderColor;
5768
- }, input["default"].borderRadius, tokensJson.semantic.motion.duration.normal, tokensJson.semantic.motion.easing.easeInOut, tokensJson.semantic.motion.duration.normal, tokensJson.semantic.motion.easing.easeInOut, input.placeholder.textColor, function (_a) {
6071
+ }, 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) {
5769
6072
  var $hasError = _a.$hasError;
5770
6073
  return $hasError ? input.error.focus.borderColor : input.focus.borderColor;
5771
6074
  }, input.focus.outline, semantic$4.border.focusOffset, function (_a) {
5772
6075
  var $hasError = _a.$hasError;
5773
6076
  return $hasError ? input.error.hover.borderColor : input.hover.borderColor;
5774
6077
  });
6078
+ var StyledInputBase = styled.input.withConfig({
6079
+ shouldForwardProp: function shouldForwardProp(prop) {
6080
+ return !prop.startsWith('$');
6081
+ },
6082
+ displayName: "InputBase__StyledInputBase",
6083
+ componentId: "sc-1bpf4e8-0"
6084
+ })(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject(["\n ", "\n min-height: ", ";\n padding: 0 ", ";\n"], ["\n ", "\n min-height: ", ";\n padding: 0 ", ";\n"
6085
+ /**
6086
+ * Base styled textarea with shared styling
6087
+ */])), inputBaseStyles, semantic$4.size.control.lg, semantic$4.space.inset.lg);
5775
6088
  /**
5776
6089
  * Base styled textarea with shared styling
5777
6090
  */
@@ -5781,20 +6094,20 @@ var StyledTextAreaBase = styled.textarea.withConfig({
5781
6094
  },
5782
6095
  displayName: "InputBase__StyledTextAreaBase",
5783
6096
  componentId: "sc-1bpf4e8-1"
5784
- })(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, tokensJson.component.input.textarea.minHeight, tokensJson.semantic.lineHeight.normal);
5785
- var templateObject_1$a, templateObject_2$9;
6097
+ })(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);
6098
+ var templateObject_1$a, templateObject_2$9, templateObject_3$9;
5786
6099
 
5787
- var field$2 = tokensJson.component.field;
6100
+ var field$2 = tokens.component.field;
5788
6101
  // Gaps come from the semantic spacing scale: no component spacing tokens (decision 0022)
5789
- var gap$2 = tokensJson.semantic.spacing.layout;
6102
+ var space$2 = tokens.semantic.space;
5790
6103
  var StyledFieldContainer$2 = styled.div.withConfig({
5791
6104
  displayName: "NumberInput__StyledFieldContainer",
5792
6105
  componentId: "sc-qotc3w-0"
5793
- })(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);
6106
+ })(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]);
5794
6107
  var StyledLabel$3 = styled.label.withConfig({
5795
6108
  displayName: "NumberInput__StyledLabel",
5796
6109
  componentId: "sc-qotc3w-1"
5797
- })(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);
6110
+ })(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);
5798
6111
  var StyledRequiredIndicator$2 = styled.span.withConfig({
5799
6112
  displayName: "NumberInput__StyledRequiredIndicator",
5800
6113
  componentId: "sc-qotc3w-2"
@@ -5806,11 +6119,11 @@ var StyledInputWrapper$2 = styled.div.withConfig({
5806
6119
  var StyledNumberInput = styled(StyledInputBase).withConfig({
5807
6120
  displayName: "NumberInput__StyledNumberInput",
5808
6121
  componentId: "sc-qotc3w-4"
5809
- })(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"])), tokensJson.semantic.spacing.layout['6xl']);
6122
+ })(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]);
5810
6123
  var StyledStepperContainer = styled.div.withConfig({
5811
6124
  displayName: "NumberInput__StyledStepperContainer",
5812
6125
  componentId: "sc-qotc3w-5"
5813
- })(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"])), tokensJson.semantic.spacing.layout.sm, tokensJson.semantic.spacing.layout.sm);
6126
+ })(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]);
5814
6127
  var StyledHelperText$2 = styled.div.withConfig({
5815
6128
  displayName: "NumberInput__StyledHelperText",
5816
6129
  componentId: "sc-qotc3w-6"
@@ -6059,9 +6372,9 @@ var PageTitleStyled = styled.div.withConfig({
6059
6372
  * ```
6060
6373
  *
6061
6374
  * For a back link, add an `IconButton` with your own `url` and `aria-label`.
6062
- */])), tokensJson.semantic.spacing.layout['2xl'], function (_a) {
6375
+ */])), tokens.semantic.space[600], function (_a) {
6063
6376
  var $hasBackButton = _a.$hasBackButton;
6064
- return $hasBackButton ? tokensJson.semantic.spacing.layout.none : tokensJson.semantic.spacing.layout['7xl'];
6377
+ return $hasBackButton ? tokens.semantic.space[0] : tokens.semantic.space[1200];
6065
6378
  });
6066
6379
  /**
6067
6380
  * @deprecated PageTitle is a leftover from the personal site (its back button always links to `/music`)
@@ -6105,17 +6418,17 @@ var PageTitle = function PageTitle(_a) {
6105
6418
  };
6106
6419
  var templateObject_1$8;
6107
6420
 
6108
- var field$1 = tokensJson.component.field;
6421
+ var field$1 = tokens.component.field;
6109
6422
  // Gaps come from the semantic spacing scale: no component spacing tokens (decision 0022)
6110
- var gap$1 = tokensJson.semantic.spacing.layout;
6423
+ var space$1 = tokens.semantic.space;
6111
6424
  var StyledFieldContainer$1 = styled.div.withConfig({
6112
6425
  displayName: "PasswordField__StyledFieldContainer",
6113
6426
  componentId: "sc-1p15zk0-0"
6114
- })(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);
6427
+ })(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]);
6115
6428
  var StyledLabel$2 = styled.label.withConfig({
6116
6429
  displayName: "PasswordField__StyledLabel",
6117
6430
  componentId: "sc-1p15zk0-1"
6118
- })(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);
6431
+ })(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);
6119
6432
  var StyledRequiredIndicator$1 = styled.span.withConfig({
6120
6433
  displayName: "PasswordField__StyledRequiredIndicator",
6121
6434
  componentId: "sc-1p15zk0-2"
@@ -6146,7 +6459,7 @@ var StyledToggleButton = styled.div.withConfig({
6146
6459
  * required
6147
6460
  * />
6148
6461
  * ```
6149
- */])), tokensJson.semantic.spacing.layout.sm);
6462
+ */])), tokens.semantic.space[200]);
6150
6463
  /**
6151
6464
  * PasswordField component for secure password input with visibility toggle
6152
6465
  *
@@ -6239,8 +6552,8 @@ var PasswordField = /*#__PURE__*/forwardRef(function (_a, ref) {
6239
6552
  PasswordField.displayName = 'PasswordField';
6240
6553
  var templateObject_1$7, templateObject_2$7, templateObject_3$7, templateObject_4$6, templateObject_5$5, templateObject_6$4;
6241
6554
 
6242
- var semantic$3 = tokensJson.semantic,
6243
- component = tokensJson.component;
6555
+ var semantic$3 = tokens.semantic,
6556
+ component = tokens.component;
6244
6557
  var StyledSearchContainer = styled.div.withConfig({
6245
6558
  displayName: "SearchField__StyledSearchContainer",
6246
6559
  componentId: "sc-qhz9i8-0"
@@ -6248,7 +6561,7 @@ var StyledSearchContainer = styled.div.withConfig({
6248
6561
  var StyledInputWrapper = styled.div.withConfig({
6249
6562
  displayName: "SearchField__StyledInputWrapper",
6250
6563
  componentId: "sc-qhz9i8-1"
6251
- })(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) {
6564
+ })(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) {
6252
6565
  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 ");
6253
6566
  }, function (props) {
6254
6567
  return props.$disabled && "\n background-color: ".concat(component.input.disabled.backgroundColor, ";\n border-color: ").concat(component.input.disabled.borderColor, ";\n cursor: not-allowed;\n ");
@@ -6260,11 +6573,11 @@ var StyledInput = styled.input.withConfig({
6260
6573
  var StyledSuggestionsList = styled.ul.withConfig({
6261
6574
  displayName: "SearchField__StyledSuggestionsList",
6262
6575
  componentId: "sc-qhz9i8-3"
6263
- })(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 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"])), semantic$3.spacing.layout.xs, 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);
6576
+ })(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);
6264
6577
  var StyledSectionHeader = styled.div.withConfig({
6265
6578
  displayName: "SearchField__StyledSectionHeader",
6266
6579
  componentId: "sc-qhz9i8-4"
6267
- })(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, tokensJson.component.searchField.sectionHeader.typography, semantic$3.color.text.subdued, tokensJson.component.searchField.sectionHeader.letterSpacing);
6580
+ })(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);
6268
6581
  var debounce = function debounce(func, wait) {
6269
6582
  var timeout = null;
6270
6583
  return function () {
@@ -6552,7 +6865,7 @@ var SearchField = /*#__PURE__*/forwardRef(function (_a, ref) {
6552
6865
  size: "xs"
6553
6866
  }) : undefined,
6554
6867
  interactive: true,
6555
- selected: index === highlightedIndex,
6868
+ "data-highlighted": index === highlightedIndex || undefined,
6556
6869
  spacing: "compact",
6557
6870
  onClick: function onClick() {
6558
6871
  return handleSuggestionClick(item);
@@ -6565,7 +6878,7 @@ var SearchField = /*#__PURE__*/forwardRef(function (_a, ref) {
6565
6878
  SearchField.displayName = 'SearchField';
6566
6879
  var templateObject_1$6, templateObject_2$6, templateObject_3$6, templateObject_4$5, templateObject_5$4;
6567
6880
 
6568
- var semantic$2 = tokensJson.semantic;
6881
+ var semantic$2 = tokens.semantic;
6569
6882
  // Fade in animation for overlay
6570
6883
  var fadeIn = 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"
6571
6884
  // Slide animations for each position
@@ -6581,7 +6894,7 @@ var StyledOverlay = styled.div.withConfig({
6581
6894
  },
6582
6895
  displayName: "Sheet__StyledOverlay",
6583
6896
  componentId: "sc-8abisx-0"
6584
- })(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, css(templateObject_6$3 || (templateObject_6$3 = __makeTemplateObject(["animation: ", " ", " ", "", ";"], ["animation: ", " ", " ", "", ";"])), fadeIn, semantic$2.motion.duration.normal, semantic$2.motion.easing.easeInOut, function (_a) {
6897
+ })(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, css(templateObject_6$3 || (templateObject_6$3 = __makeTemplateObject(["animation: ", " ", " ", "", ";"], ["animation: ", " ", " ", "", ";"])), fadeIn, semantic$2.motion.duration.moderate, semantic$2.motion.easing.standard, function (_a) {
6585
6898
  var $isExiting = _a.$isExiting;
6586
6899
  return $isExiting && exitAnimation;
6587
6900
  }));
@@ -6591,40 +6904,40 @@ var StyledSheet = styled.div.withConfig({
6591
6904
  },
6592
6905
  displayName: "Sheet__StyledSheet",
6593
6906
  componentId: "sc-8abisx-1"
6594
- })(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) {
6907
+ })(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) {
6595
6908
  var $position = _a.$position,
6596
6909
  $variant = _a.$variant,
6597
6910
  $width = _a.$width,
6598
6911
  $height = _a.$height;
6599
6912
  var isDrawer = $variant === 'drawer';
6600
- var margin = isDrawer ? semantic$2.spacing.layout.lg : '0';
6601
- var borderRadius = isDrawer ? semantic$2.border.radius.md : '0';
6913
+ var margin = isDrawer ? semantic$2.space[400] : '0';
6914
+ var borderRadius = isDrawer ? semantic$2.radius.md : '0';
6602
6915
  switch ($position) {
6603
6916
  case 'right':
6604
- return 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) {
6917
+ return 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) {
6605
6918
  var $isExiting = _a.$isExiting;
6606
6919
  return $isExiting && exitAnimation;
6607
6920
  });
6608
6921
  case 'left':
6609
- return 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) {
6922
+ return 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) {
6610
6923
  var $isExiting = _a.$isExiting;
6611
6924
  return $isExiting && exitAnimation;
6612
6925
  });
6613
6926
  case 'top':
6614
- return 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) {
6927
+ return 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) {
6615
6928
  var $isExiting = _a.$isExiting;
6616
6929
  return $isExiting && exitAnimation;
6617
6930
  });
6618
6931
  case 'bottom':
6619
- return 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) {
6932
+ return 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) {
6620
6933
  var $isExiting = _a.$isExiting;
6621
6934
  return $isExiting && exitAnimation;
6622
6935
  });
6623
6936
  }
6624
- }, reducedMotion, fadeIn, semantic$2.motion.duration.normal, semantic$2.motion.easing.easeInOut, function (_a) {
6937
+ }, reducedMotion, fadeIn, semantic$2.motion.duration.moderate, semantic$2.motion.easing.standard, function (_a) {
6625
6938
  var $isExiting = _a.$isExiting;
6626
6939
  return $isExiting && exitAnimation;
6627
- }, 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);
6940
+ }, semantic$2.space[200], semantic$2.surface.raised, semantic$2.color.border["default"], semantic$2.radius.full, semantic$2.color.fill.inverse);
6628
6941
  var StyledSheetContent = styled.div.withConfig({
6629
6942
  displayName: "Sheet__StyledSheetContent",
6630
6943
  componentId: "sc-8abisx-2"
@@ -6654,7 +6967,7 @@ var StyledSheetContent = styled.div.withConfig({
6654
6967
  * <h2>Mobile Menu</h2>
6655
6968
  * </Sheet>
6656
6969
  * ```
6657
- */])), semantic$2.spacing.layout['2xl']);
6970
+ */])), semantic$2.space[600]);
6658
6971
  /**
6659
6972
  * Sheet component for side panels and drawers
6660
6973
  *
@@ -6689,9 +7002,9 @@ var Sheet = function Sheet(_a) {
6689
7002
  _c = _a.variant,
6690
7003
  variant = _c === void 0 ? 'sheet' : _c,
6691
7004
  _d = _a.width,
6692
- width = _d === void 0 ? tokensJson.semantic.size.overlay.sm : _d,
7005
+ width = _d === void 0 ? tokens.semantic.size.overlay.sm : _d,
6693
7006
  _e = _a.height,
6694
- height = _e === void 0 ? tokensJson.semantic.size.overlay.sm : _e,
7007
+ height = _e === void 0 ? tokens.semantic.size.overlay.sm : _e,
6695
7008
  children = _a.children,
6696
7009
  _f = _a.closeOnOverlayClick,
6697
7010
  closeOnOverlayClick = _f === void 0 ? true : _f,
@@ -6796,7 +7109,7 @@ var Sheet = function Sheet(_a) {
6796
7109
  Sheet.displayName = 'Sheet';
6797
7110
  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;
6798
7111
 
6799
- var semantic$1 = tokensJson.semantic;
7112
+ var semantic$1 = tokens.semantic;
6800
7113
  var StyledSliderContainer = styled.div.withConfig({
6801
7114
  displayName: "Slider__StyledSliderContainer",
6802
7115
  componentId: "sc-6mh2d4-0"
@@ -6807,51 +7120,63 @@ var StyledLabel$1 = styled.label.withConfig({
6807
7120
  })(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) {
6808
7121
  var $disabled = _a.$disabled;
6809
7122
  return $disabled ? semantic$1.color.text.disabled : semantic$1.color.text["default"];
6810
- }, semantic$1.spacing.layout.lg);
7123
+ }, semantic$1.space[400]);
6811
7124
  var StyledSliderTrackContainer = styled.div.withConfig({
6812
7125
  displayName: "Slider__StyledSliderTrackContainer",
6813
7126
  componentId: "sc-6mh2d4-2"
6814
- })(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']);
7127
+ })(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]);
6815
7128
  var StyledTrack = styled.div.withConfig({
6816
7129
  displayName: "Slider__StyledTrack",
6817
7130
  componentId: "sc-6mh2d4-3"
6818
- })(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) {
7131
+ })(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) {
6819
7132
  var $disabled = _a.$disabled;
6820
- return $disabled ? semantic$1.color.background.disabled : semantic$1.color.background.progressTrack;
6821
- }, semantic$1.border.radius.circle, function (_a) {
7133
+ return $disabled ? semantic$1.color.fill.disabled : tokens.component.track.background;
7134
+ }, semantic$1.radius.full, function (_a) {
6822
7135
  var $disabled = _a.$disabled;
6823
7136
  return $disabled ? 'not-allowed' : 'pointer';
7137
+ }, forcedColors, semantic$1.border.width.thin, function (_a) {
7138
+ var $disabled = _a.$disabled;
7139
+ return $disabled ? 'GrayText' : 'CanvasText';
6824
7140
  });
6825
7141
  var StyledTrackFill = styled.div.withConfig({
6826
7142
  displayName: "Slider__StyledTrackFill",
6827
7143
  componentId: "sc-6mh2d4-4"
6828
- })(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) {
7144
+ })(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) {
6829
7145
  var $disabled = _a.$disabled;
6830
- return $disabled ? semantic$1.color.icon.disabled : semantic$1.color.background.emphasis;
6831
- }, semantic$1.border.radius.circle);
7146
+ return $disabled ? semantic$1.color.icon.disabled : semantic$1.color.fill.emphasis;
7147
+ }, semantic$1.radius.full, forcedColors, function (_a) {
7148
+ var $disabled = _a.$disabled;
7149
+ return $disabled ? 'GrayText' : 'Highlight';
7150
+ });
6832
7151
  var StyledThumb = styled.div.withConfig({
6833
7152
  displayName: "Slider__StyledThumb",
6834
7153
  componentId: "sc-6mh2d4-5"
6835
- })(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: ", " solid ", ";\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: ", " solid ", ";\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) {
7154
+ })(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) {
6836
7155
  var $disabled = _a.$disabled;
6837
- return $disabled ? semantic$1.color.background.disabled : semantic$1.color.background.subtle;
7156
+ return $disabled ? semantic$1.color.fill.disabled : tokens.component.slider.thumb.background;
6838
7157
  }, semantic$1.border.width.thick, function (_a) {
6839
7158
  var $disabled = _a.$disabled;
6840
- return $disabled ? semantic$1.color.icon.disabled : semantic$1.color.background.emphasis;
6841
- }, semantic$1.border.radius.circle, function (_a) {
7159
+ return $disabled ? semantic$1.color.icon.disabled : semantic$1.color.fill.emphasis;
7160
+ }, semantic$1.radius.full, function (_a) {
6842
7161
  var $disabled = _a.$disabled;
6843
7162
  return $disabled ? 'not-allowed' : 'grab';
6844
- }, semantic$1.motion.transition.fast, tokensJson.component.slider.thumb.shadow["default"], reducedMotion, tokensJson.component.slider.thumb.shadow.hover, semantic$1.border.width.thick, semantic$1.color.border.interactive, semantic$1.spacing.layout.xs, function (_a) {
7163
+ }, 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) {
7164
+ var $range = _a.$range;
7165
+ return $range === 'max' ? 'min(var(--slider-hit-half), var(--slider-reach))' : 'var(--slider-hit-half)';
7166
+ }, function (_a) {
7167
+ var $range = _a.$range;
7168
+ return $range === 'min' ? 'min(var(--slider-hit-half), var(--slider-reach))' : 'var(--slider-hit-half)';
7169
+ }, reducedMotion, tokens.component.slider.thumb.shadow.hover, semantic$1.border.focus, semantic$1.border.focusOffset, function (_a) {
6845
7170
  var $active = _a.$active;
6846
- return $active && "\n transform: translateX(-50%) scale(1.1);\n box-shadow: ".concat(tokensJson.component.slider.thumb.shadow.active, ";\n ");
7171
+ return $active && "\n transform: translateX(-50%) scale(1.1);\n box-shadow: ".concat(tokens.component.slider.thumb.shadow.active, ";\n ");
6847
7172
  });
6848
7173
  var StyledValueLabel = styled.div.withConfig({
6849
7174
  displayName: "Slider__StyledValueLabel",
6850
7175
  componentId: "sc-6mh2d4-6"
6851
- })(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) {
7176
+ })(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) {
6852
7177
  var $disabled = _a.$disabled;
6853
7178
  return $disabled ? semantic$1.opacity.disabled : semantic$1.opacity.full;
6854
- }, semantic$1.spacing.layout.xs, semantic$1.spacing.layout.xs, semantic$1.spacing.layout.xs, semantic$1.color.background.emphasis);
7179
+ }, semantic$1.space[100], semantic$1.space[100], semantic$1.space[100], semantic$1.color.fill.emphasis);
6855
7180
  var StyledMinMaxLabels = styled.div.withConfig({
6856
7181
  displayName: "Slider__StyledMinMaxLabels",
6857
7182
  componentId: "sc-6mh2d4-7"
@@ -6879,7 +7204,7 @@ var StyledMinMaxLabels = styled.div.withConfig({
6879
7204
  * onRangeChange={(values) => console.log(values)}
6880
7205
  * />
6881
7206
  * ```
6882
- */])), semantic$1.typography.body, semantic$1.color.text.subdued, semantic$1.spacing.layout.xs);
7207
+ */])), semantic$1.typography.body, semantic$1.color.text.muted, semantic$1.space[100]);
6883
7208
  /**
6884
7209
  * Slider component for single value or range selection
6885
7210
  *
@@ -6934,6 +7259,14 @@ var Slider = function Slider(_a) {
6934
7259
  var _h = useState(null),
6935
7260
  activeThumb = _h[0],
6936
7261
  setActiveThumb = _h[1];
7262
+ // Removes the document listeners of a drag in progress
7263
+ var endDragRef = useRef(null);
7264
+ useEffect(function () {
7265
+ return function () {
7266
+ var _a;
7267
+ return (_a = endDragRef.current) === null || _a === void 0 ? void 0 : _a.call(endDragRef);
7268
+ };
7269
+ }, []);
6937
7270
  // Determine if this is a range slider
6938
7271
  var isRange = controlledRangeValue !== undefined || defaultRangeValue !== undefined || onRangeChange !== undefined;
6939
7272
  // State for single slider
@@ -6980,9 +7313,11 @@ var Slider = function Slider(_a) {
6980
7313
  setInternalRangeValue([orderedMin, orderedMax]);
6981
7314
  onRangeChange === null || onRangeChange === void 0 ? void 0 : onRangeChange([orderedMin, orderedMax]);
6982
7315
  };
6983
- // Mouse/touch handlers
7316
+ // Pointer handlers: mouse, touch and pen
6984
7317
  var handleTrackClick = function handleTrackClick(event) {
6985
7318
  if (disabled) return;
7319
+ // A click on a thumb (or the end of a drag) leaves the value where the thumb put it
7320
+ if (event.target.closest('[role="slider"]')) return;
6986
7321
  var newValue = positionToValue(event.clientX);
6987
7322
  if (isRange) {
6988
7323
  var minVal = currentRangeValue[0],
@@ -6998,33 +7333,47 @@ var Slider = function Slider(_a) {
6998
7333
  handleSingleChange(newValue);
6999
7334
  }
7000
7335
  };
7001
- var handleThumbMouseDown = function handleThumbMouseDown(thumb) {
7002
- return function (event) {
7003
- if (disabled) return;
7004
- event.preventDefault();
7005
- setActiveThumb(thumb);
7006
- var handleMouseMove = function handleMouseMove(e) {
7007
- var newValue = positionToValue(e.clientX);
7008
- if (isRange) {
7009
- var minVal = currentRangeValue[0],
7010
- maxVal = currentRangeValue[1];
7011
- if (thumb === 'min') {
7012
- handleRangeChange(newValue, maxVal);
7013
- } else {
7014
- handleRangeChange(minVal, newValue);
7015
- }
7336
+ var handleThumbPointerDown = function handleThumbPointerDown(thumb, event) {
7337
+ var _a, _b, _c;
7338
+ if (disabled) return;
7339
+ // Only the primary button drags; a touch or pen contact always counts
7340
+ if (event.pointerType === 'mouse' && event.button !== 0) return;
7341
+ event.preventDefault();
7342
+ (_a = endDragRef.current) === null || _a === void 0 ? void 0 : _a.call(endDragRef);
7343
+ setActiveThumb(thumb);
7344
+ var pointerId = event.pointerId;
7345
+ // Capture keeps the drag on this thumb when the pointer leaves it, or the window
7346
+ (_c = (_b = event.currentTarget).setPointerCapture) === null || _c === void 0 ? void 0 : _c.call(_b, pointerId);
7347
+ var handlePointerMove = function handlePointerMove(e) {
7348
+ if (e.pointerId !== pointerId) return;
7349
+ var newValue = positionToValue(e.clientX);
7350
+ if (isRange) {
7351
+ var minVal = currentRangeValue[0],
7352
+ maxVal = currentRangeValue[1];
7353
+ if (thumb === 'min') {
7354
+ handleRangeChange(newValue, maxVal);
7016
7355
  } else {
7017
- handleSingleChange(newValue);
7356
+ handleRangeChange(minVal, newValue);
7018
7357
  }
7019
- };
7020
- var _handleMouseUp = function handleMouseUp() {
7021
- setActiveThumb(null);
7022
- document.removeEventListener('mousemove', handleMouseMove);
7023
- document.removeEventListener('mouseup', _handleMouseUp);
7024
- };
7025
- document.addEventListener('mousemove', handleMouseMove);
7026
- document.addEventListener('mouseup', _handleMouseUp);
7358
+ } else {
7359
+ handleSingleChange(newValue);
7360
+ }
7361
+ };
7362
+ var endDrag = function endDrag() {
7363
+ setActiveThumb(null);
7364
+ document.removeEventListener('pointermove', handlePointerMove);
7365
+ document.removeEventListener('pointerup', handlePointerEnd);
7366
+ document.removeEventListener('pointercancel', handlePointerEnd);
7367
+ endDragRef.current = null;
7368
+ };
7369
+ // pointercancel fires when the browser takes the gesture over, so it ends the drag too
7370
+ var handlePointerEnd = function handlePointerEnd(e) {
7371
+ if (e.pointerId === pointerId) endDrag();
7027
7372
  };
7373
+ document.addEventListener('pointermove', handlePointerMove);
7374
+ document.addEventListener('pointerup', handlePointerEnd);
7375
+ document.addEventListener('pointercancel', handlePointerEnd);
7376
+ endDragRef.current = endDrag;
7028
7377
  };
7029
7378
  // Keyboard navigation
7030
7379
  var handleKeyDown = function handleKeyDown(thumb) {
@@ -7135,10 +7484,14 @@ var Slider = function Slider(_a) {
7135
7484
  "aria-describedby": ariaDescribedBy,
7136
7485
  "$disabled": disabled,
7137
7486
  "$active": activeThumb === 'min',
7487
+ "$range": "min",
7138
7488
  style: {
7139
- left: "".concat(minPercent, "%")
7489
+ left: "".concat(minPercent, "%"),
7490
+ '--slider-reach': "".concat((maxPercent - minPercent) / 2, "cqw")
7491
+ },
7492
+ onPointerDown: function onPointerDown(event) {
7493
+ return handleThumbPointerDown('min', event);
7140
7494
  },
7141
- onMouseDown: handleThumbMouseDown('min'),
7142
7495
  onKeyDown: handleKeyDown('min'),
7143
7496
  children: showValueLabel && jsx(StyledValueLabel, {
7144
7497
  "$disabled": disabled,
@@ -7156,10 +7509,14 @@ var Slider = function Slider(_a) {
7156
7509
  "aria-describedby": ariaDescribedBy,
7157
7510
  "$disabled": disabled,
7158
7511
  "$active": activeThumb === 'max',
7512
+ "$range": "max",
7159
7513
  style: {
7160
- left: "".concat(maxPercent, "%")
7514
+ left: "".concat(maxPercent, "%"),
7515
+ '--slider-reach': "".concat((maxPercent - minPercent) / 2, "cqw")
7516
+ },
7517
+ onPointerDown: function onPointerDown(event) {
7518
+ return handleThumbPointerDown('max', event);
7161
7519
  },
7162
- onMouseDown: handleThumbMouseDown('max'),
7163
7520
  onKeyDown: handleKeyDown('max'),
7164
7521
  children: showValueLabel && jsx(StyledValueLabel, {
7165
7522
  "$disabled": disabled,
@@ -7181,7 +7538,9 @@ var Slider = function Slider(_a) {
7181
7538
  style: {
7182
7539
  left: "".concat(singlePercent, "%")
7183
7540
  },
7184
- onMouseDown: handleThumbMouseDown('single'),
7541
+ onPointerDown: function onPointerDown(event) {
7542
+ return handleThumbPointerDown('single', event);
7543
+ },
7185
7544
  onKeyDown: handleKeyDown('single'),
7186
7545
  children: showValueLabel && jsx(StyledValueLabel, {
7187
7546
  "$disabled": disabled,
@@ -7201,36 +7560,38 @@ var Slider = function Slider(_a) {
7201
7560
  Slider.displayName = 'Slider';
7202
7561
  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;
7203
7562
 
7204
- var semantic = tokensJson.semantic;
7563
+ var semantic = tokens.semantic;
7205
7564
  var StyledTabList = styled.div.withConfig({
7206
7565
  displayName: "TabBar__StyledTabList",
7207
7566
  componentId: "sc-1g9ib0y-0"
7208
- })(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, tokensJson.component.tabBar.scrollbar.height, semantic.color.background.subtle, semantic.color.border["default"], semantic.border.radius.sm);
7567
+ })(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);
7209
7568
  var StyledTab = styled.button.withConfig({
7210
7569
  shouldForwardProp: function shouldForwardProp(prop) {
7211
7570
  return !prop.startsWith('$');
7212
7571
  },
7213
7572
  displayName: "TabBar__StyledTab",
7214
7573
  componentId: "sc-1g9ib0y-1"
7215
- })(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: ", " solid ", ";\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: ", " solid ", ";\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) {
7574
+ })(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) {
7216
7575
  return props.$disabled ? 'not-allowed' : 'pointer';
7217
- }, semantic.motion.hover, semantic.border.radius.sm, semantic.border.radius.sm, function (props) {
7218
- return props.$isActive ? semantic.color.background['interactive-subtle'] : 'transparent';
7576
+ }, semantic.motion.transition.feedback, semantic.radius.sm, semantic.radius.sm, function (props) {
7577
+ return props.$isActive ? semantic.color.fill['accent-muted'] : 'transparent';
7219
7578
  }, function (props) {
7220
- return props.$isActive ? semantic.color.text.interactive : semantic.color.text.subdued;
7579
+ return props.$isActive ? semantic.color.text.accent : semantic.color.text.muted;
7221
7580
  }, semantic.border.width.thick, function (props) {
7222
- return props.$isActive ? semantic.color.background.interactive : 'transparent';
7223
- }, semantic.motion.hover, function (props) {
7224
- return props.$isActive ? semantic.color.background['interactive-subtle-hover'] : 'transparent';
7581
+ return props.$isActive ? semantic.color.fill.accent : 'transparent';
7582
+ }, semantic.motion.transition.feedback, forcedColors, function (props) {
7583
+ return props.$isActive ? 'Highlight' : 'transparent';
7584
+ }, function (props) {
7585
+ return props.$isActive ? semantic.color.fill['accent-muted-hover'] : 'transparent';
7225
7586
  }, function (props) {
7226
- return props.$isActive ? semantic.color.text['interactive-hover'] : semantic.color.text["default"];
7587
+ return props.$isActive ? semantic.color.text['accent-hover'] : semantic.color.text["default"];
7227
7588
  }, function (props) {
7228
- return props.$isActive ? semantic.color.background['interactive-subtle-active'] : 'transparent';
7589
+ return props.$isActive ? semantic.color.fill['accent-muted-pressed'] : 'transparent';
7229
7590
  }, function (props) {
7230
- return props.$isActive ? semantic.color.text['interactive-active'] : semantic.color.text["default"];
7591
+ return props.$isActive ? semantic.color.text['accent-pressed'] : semantic.color.text["default"];
7231
7592
  }, function (props) {
7232
7593
  return props.$disabled ? '0.5' : '1';
7233
- }, semantic.border.width.thick, semantic.color.border.strong, semantic.spacing.layout.xs);
7594
+ }, semantic.border.focus, semantic.border.focusOffset);
7234
7595
  var StyledBadge = styled.span.withConfig({
7235
7596
  displayName: "TabBar__StyledBadge",
7236
7597
  componentId: "sc-1g9ib0y-2"
@@ -7255,7 +7616,7 @@ var StyledBadge = styled.span.withConfig({
7255
7616
  * onTabChange={setActiveTab}
7256
7617
  * />
7257
7618
  * ```
7258
- */])), tokensJson.component.tabBar.badge.size, tokensJson.component.tabBar.badge.size, semantic.spacing.layout.xs, tokensJson.component.tabBar.badge.typography, tokensJson.component.tabBar.badge.fontWeight, semantic.border.radius.circle, semantic.color.background.interactive, semantic.color.text.inverse);
7619
+ */])), 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);
7259
7620
  /**
7260
7621
  * TabBar component for tabbed navigation
7261
7622
  *
@@ -7401,17 +7762,17 @@ var TabBar = function TabBar(_a) {
7401
7762
  TabBar.displayName = 'TabBar';
7402
7763
  var templateObject_1$3, templateObject_2$3, templateObject_3$3;
7403
7764
 
7404
- var field = tokensJson.component.field;
7765
+ var field = tokens.component.field;
7405
7766
  // Gaps come from the semantic spacing scale: no component spacing tokens (decision 0022)
7406
- var gap = tokensJson.semantic.spacing.layout;
7767
+ var space = tokens.semantic.space;
7407
7768
  var StyledFieldContainer = styled.div.withConfig({
7408
7769
  displayName: "TextField__StyledFieldContainer",
7409
7770
  componentId: "sc-1ys3b0-0"
7410
- })(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);
7771
+ })(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]);
7411
7772
  var StyledLabel = styled.label.withConfig({
7412
7773
  displayName: "TextField__StyledLabel",
7413
7774
  componentId: "sc-1ys3b0-1"
7414
- })(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);
7775
+ })(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);
7415
7776
  var StyledRequiredIndicator = styled.span.withConfig({
7416
7777
  displayName: "TextField__StyledRequiredIndicator",
7417
7778
  componentId: "sc-1ys3b0-2"
@@ -7508,9 +7869,9 @@ var templateObject_1$2, templateObject_2$2, templateObject_3$2, templateObject_4
7508
7869
  var StyledContainer = styled.div.withConfig({
7509
7870
  displayName: "TransactionListItem__StyledContainer",
7510
7871
  componentId: "sc-7yunm0-0"
7511
- })(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"])), tokensJson.component.transactionListItem.minHeight, tokensJson.semantic.spacing.layout.md, tokensJson.semantic.spacing.layout.md, tokensJson.semantic.color.background["default"], tokensJson.semantic.border.width.thin, tokensJson.semantic.color.border["default"], tokensJson.semantic.spacing.layout.md, tokensJson.semantic.motion.duration.normal, tokensJson.semantic.motion.easing.easeOut, function (_a) {
7872
+ })(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) {
7512
7873
  var $clickable = _a.$clickable;
7513
- return $clickable && "\n cursor: pointer;\n \n &:hover {\n background-color: ".concat(tokensJson.semantic.color.background.subtle, ";\n }\n \n &:active {\n background-color: ").concat(tokensJson.semantic.color.background['interactive-active'], ";\n }\n \n &:focus-visible {\n outline: ").concat(tokensJson.semantic.border.width.thick, " solid ").concat(tokensJson.semantic.color.border.interactive, ";\n outline-offset: calc(-1 * ").concat(tokensJson.semantic.border.focusOffset, ");\n }\n ");
7874
+ 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 ");
7514
7875
  });
7515
7876
  var StyledAvatarSection = styled.div.withConfig({
7516
7877
  displayName: "TransactionListItem__StyledAvatarSection",
@@ -7523,23 +7884,23 @@ var StyledMainContent = styled.div.withConfig({
7523
7884
  var StyledTopRow = styled.div.withConfig({
7524
7885
  displayName: "TransactionListItem__StyledTopRow",
7525
7886
  componentId: "sc-7yunm0-3"
7526
- })(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"])), tokensJson.semantic.spacing.layout.sm);
7887
+ })(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]);
7527
7888
  var StyledMerchantSection = styled.div.withConfig({
7528
7889
  displayName: "TransactionListItem__StyledMerchantSection",
7529
7890
  componentId: "sc-7yunm0-4"
7530
- })(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"])), tokensJson.semantic.spacing.layout.sm);
7891
+ })(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]);
7531
7892
  var StyledBottomRow = styled.div.withConfig({
7532
7893
  displayName: "TransactionListItem__StyledBottomRow",
7533
7894
  componentId: "sc-7yunm0-5"
7534
- })(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"])), tokensJson.semantic.spacing.layout.sm);
7895
+ })(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]);
7535
7896
  var StyledMetadata = styled.div.withConfig({
7536
7897
  displayName: "TransactionListItem__StyledMetadata",
7537
7898
  componentId: "sc-7yunm0-6"
7538
- })(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"])), tokensJson.semantic.spacing.layout.sm);
7899
+ })(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]);
7539
7900
  var StyledIconIndicator = styled.div.withConfig({
7540
7901
  displayName: "TransactionListItem__StyledIconIndicator",
7541
7902
  componentId: "sc-7yunm0-7"
7542
- })(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"])), tokensJson.semantic.spacing.layout.xs, tokensJson.semantic.color.icon.subdued);
7903
+ })(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);
7543
7904
  var StyledTruncatedText = styled.span.withConfig({
7544
7905
  displayName: "TransactionListItem__StyledTruncatedText",
7545
7906
  componentId: "sc-7yunm0-8"
@@ -7715,15 +8076,15 @@ var templateObject_1$1, templateObject_2$1, templateObject_3$1, templateObject_4
7715
8076
  // Exception to decision 0014: the gap props are typed as base spacing keys (public API),
7716
8077
  // so they are looked up in base.spacing until they accept semantic keys.
7717
8078
  // eslint-disable-next-line no-restricted-syntax
7718
- var gapSpacing = tokensJson.base.spacing;
8079
+ var gapSpacing = tokens.base.spacing;
7719
8080
  // Breakpoints using base tokens
7720
8081
  var breakpoints = {
7721
- xs: tokensJson.semantic.breakpoint.xs,
7722
- sm: tokensJson.semantic.breakpoint.sm,
7723
- md: tokensJson.semantic.breakpoint.md,
7724
- lg: tokensJson.semantic.breakpoint.lg,
7725
- xl: tokensJson.semantic.breakpoint.xl,
7726
- '2xl': tokensJson.semantic.breakpoint['2xl']
8082
+ xs: tokens.semantic.breakpoint.xs,
8083
+ sm: tokens.semantic.breakpoint.sm,
8084
+ md: tokens.semantic.breakpoint.md,
8085
+ lg: tokens.semantic.breakpoint.lg,
8086
+ xl: tokens.semantic.breakpoint.xl,
8087
+ '2xl': tokens.semantic.breakpoint['2xl']
7727
8088
  };
7728
8089
  // Media query helpers
7729
8090
  var media = {