@vygruppen/spor-react 13.0.3 → 13.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/.turbo/turbo-build.log +10 -10
  2. package/.turbo/turbo-postinstall.log +3 -4
  3. package/CHANGELOG.md +15 -0
  4. package/dist/index.cjs +411 -402
  5. package/dist/index.cjs.map +1 -1
  6. package/dist/index.d.cts +175 -175
  7. package/dist/index.d.ts +175 -175
  8. package/dist/index.mjs +411 -401
  9. package/dist/index.mjs.map +1 -1
  10. package/package.json +6 -10
  11. package/src/alert/AlertIcon.tsx +2 -2
  12. package/src/alert/ServiceAlert.tsx +2 -1
  13. package/src/calendar/CalendarCell.tsx +4 -4
  14. package/src/datepicker/CalendarHeader.tsx +1 -1
  15. package/src/dialog/Drawer.tsx +1 -1
  16. package/src/input/CardSelect.tsx +4 -4
  17. package/src/input/Combobox.tsx +1 -1
  18. package/src/input/Field.tsx +1 -1
  19. package/src/input/Popover.tsx +9 -7
  20. package/src/linjetag/LineIcon.tsx +1 -1
  21. package/src/loader/ColorInlineLoader.tsx +2 -1
  22. package/src/loader/ColorSpinner.tsx +2 -1
  23. package/src/loader/ContentLoader.tsx +2 -1
  24. package/src/loader/DarkFullScreenLoader.tsx +2 -1
  25. package/src/loader/DarkInlineLoader.tsx +2 -1
  26. package/src/loader/DarkSpinner.tsx +2 -1
  27. package/src/loader/LightFullScreenLoader.tsx +2 -1
  28. package/src/loader/LightInlineLoader.tsx +2 -1
  29. package/src/loader/LightSpinner.tsx +2 -1
  30. package/src/loader/Lottie.tsx +3 -2
  31. package/src/loader/text.ts +15 -0
  32. package/src/stepper/StepperStep.tsx +2 -2
  33. package/src/theme/recipes/badge.ts +24 -24
  34. package/src/theme/recipes/button.ts +22 -22
  35. package/src/theme/recipes/close-button.ts +2 -2
  36. package/src/theme/recipes/input.ts +9 -9
  37. package/src/theme/recipes/link.ts +1 -1
  38. package/src/theme/recipes/pressable-card.ts +12 -12
  39. package/src/theme/recipes/skeleton.ts +1 -1
  40. package/src/theme/recipes/static-card.ts +8 -8
  41. package/src/theme/semantic-tokens/colors.ts +1 -1
  42. package/src/theme/slot-recipes/accordion.ts +10 -10
  43. package/src/theme/slot-recipes/alert-expandable.ts +35 -35
  44. package/src/theme/slot-recipes/alert-service.ts +10 -10
  45. package/src/theme/slot-recipes/alert.ts +11 -11
  46. package/src/theme/slot-recipes/autocomplete.ts +5 -5
  47. package/src/theme/slot-recipes/breadcrumb.ts +4 -4
  48. package/src/theme/slot-recipes/checkbox.ts +11 -17
  49. package/src/theme/slot-recipes/choice-chip.ts +21 -21
  50. package/src/theme/slot-recipes/datepicker.ts +29 -29
  51. package/src/theme/slot-recipes/field.ts +3 -3
  52. package/src/theme/slot-recipes/floating-action-button.ts +14 -14
  53. package/src/theme/slot-recipes/input-chip.ts +10 -10
  54. package/src/theme/slot-recipes/listbox.ts +9 -9
  55. package/src/theme/slot-recipes/media-controller-button.ts +9 -9
  56. package/src/theme/slot-recipes/menu.ts +7 -7
  57. package/src/theme/slot-recipes/numeric-stepper.ts +4 -4
  58. package/src/theme/slot-recipes/pagination.ts +4 -4
  59. package/src/theme/slot-recipes/popover.ts +4 -4
  60. package/src/theme/slot-recipes/progress-bar.ts +2 -2
  61. package/src/theme/slot-recipes/progress-indicator.ts +1 -1
  62. package/src/theme/slot-recipes/radio-card.ts +11 -11
  63. package/src/theme/slot-recipes/radio.ts +5 -5
  64. package/src/theme/slot-recipes/select.ts +16 -16
  65. package/src/theme/slot-recipes/stepper.ts +5 -5
  66. package/src/theme/slot-recipes/switch.ts +6 -6
  67. package/src/theme/slot-recipes/table.ts +2 -2
  68. package/src/theme/slot-recipes/tabs.ts +18 -18
  69. package/src/theme/slot-recipes/toast.ts +3 -3
package/dist/index.cjs CHANGED
@@ -5,7 +5,7 @@ var spor_icon_react_star = require('@vygruppen/spor-icon-react');
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
6
  var React13 = require('react');
7
7
  var sporLoader = require('@vygruppen/spor-loader');
8
- var ReactLottie = require('lottie-react');
8
+ var lottieReact = require('lottie-react');
9
9
  var usehooksTs = require('usehooks-ts');
10
10
  var reactAria = require('react-aria');
11
11
  var date = require('@internationalized/date');
@@ -44,7 +44,6 @@ function _interopNamespace(e) {
44
44
 
45
45
  var spor_icon_react_star__namespace = /*#__PURE__*/_interopNamespace(spor_icon_react_star);
46
46
  var React13__namespace = /*#__PURE__*/_interopNamespace(React13);
47
- var ReactLottie__default = /*#__PURE__*/_interopDefault(ReactLottie);
48
47
  var tokens22__namespace = /*#__PURE__*/_interopNamespace(tokens22);
49
48
  var tokens4__default = /*#__PURE__*/_interopDefault(tokens4);
50
49
 
@@ -232,8 +231,23 @@ function createTexts(texts27) {
232
231
  return texts27;
233
232
  }
234
233
  function Lottie({ animationData }) {
235
- return /* @__PURE__ */ jsxRuntime.jsx(ReactLottie__default.default, { animationData });
234
+ const { View } = lottieReact.useLottie({ animationData });
235
+ return View;
236
236
  }
237
+
238
+ // src/loader/text.ts
239
+ var useGetLoadingText = () => {
240
+ const { t } = useTranslation();
241
+ return t(loadingText.loading);
242
+ };
243
+ var loadingText = createTexts({
244
+ loading: {
245
+ en: "Loading",
246
+ nb: "Laster",
247
+ nn: "Lastar",
248
+ sv: "Laddar"
249
+ }
250
+ });
237
251
  var ColorInlineLoader = ({
238
252
  width,
239
253
  maxWidth,
@@ -241,7 +255,7 @@ var ColorInlineLoader = ({
241
255
  }) => {
242
256
  return /* @__PURE__ */ jsxRuntime.jsxs(react.Center, { role: "status", "aria-live": "polite", ...props, children: [
243
257
  /* @__PURE__ */ jsxRuntime.jsx(react.Box, { width, maxWidth, children: /* @__PURE__ */ jsxRuntime.jsx(react.ClientOnly, { children: /* @__PURE__ */ jsxRuntime.jsx(Lottie, { animationData: sporLoader.inlineLoaderColorData }) }) }),
244
- /* @__PURE__ */ jsxRuntime.jsx(react.VisuallyHidden, { children: "Loading..." })
258
+ /* @__PURE__ */ jsxRuntime.jsx(react.VisuallyHidden, { children: useGetLoadingText() })
245
259
  ] });
246
260
  };
247
261
  var ColorSpinner = ({
@@ -252,14 +266,14 @@ var ColorSpinner = ({
252
266
  }) => {
253
267
  return /* @__PURE__ */ jsxRuntime.jsxs(react.Center, { flexDirection: "column", role: "status", "aria-live": "polite", ...props, children: [
254
268
  /* @__PURE__ */ jsxRuntime.jsx(react.Box, { width, maxWidth, children: /* @__PURE__ */ jsxRuntime.jsx(react.ClientOnly, { children: /* @__PURE__ */ jsxRuntime.jsx(Lottie, { animationData: sporLoader.spinnerColorData }) }) }),
255
- /* @__PURE__ */ jsxRuntime.jsx(react.VisuallyHidden, { children: "Loading..." }),
269
+ /* @__PURE__ */ jsxRuntime.jsx(react.VisuallyHidden, { children: useGetLoadingText() }),
256
270
  children && /* @__PURE__ */ jsxRuntime.jsx(react.Box, { marginTop: 3, fontWeight: "bold", children })
257
271
  ] });
258
272
  };
259
273
  var ContentLoader = ({ children, ...props }) => {
260
274
  return /* @__PURE__ */ jsxRuntime.jsxs(react.Box, { role: "status", "aria-live": "polite", ...props, children: [
261
275
  /* @__PURE__ */ jsxRuntime.jsx(react.Box, { maxWidth: "140px", marginX: "auto", children: /* @__PURE__ */ jsxRuntime.jsx(react.ClientOnly, { children: /* @__PURE__ */ jsxRuntime.jsx(Lottie, { animationData: sporLoader.contentLoaderData }) }) }),
262
- /* @__PURE__ */ jsxRuntime.jsx(react.VisuallyHidden, { children: "Loading..." }),
276
+ /* @__PURE__ */ jsxRuntime.jsx(react.VisuallyHidden, { children: useGetLoadingText() }),
263
277
  children && /* @__PURE__ */ jsxRuntime.jsx(react.Box, { textAlign: "center", fontWeight: "bold", children })
264
278
  ] });
265
279
  };
@@ -279,7 +293,7 @@ var DarkFullScreenLoader = ({
279
293
  ...props,
280
294
  children: [
281
295
  /* @__PURE__ */ jsxRuntime.jsx(react.Box, { width, maxWidth, children: /* @__PURE__ */ jsxRuntime.jsx(react.ClientOnly, { children: /* @__PURE__ */ jsxRuntime.jsx(Lottie, { animationData: sporLoader.fullScreenLoaderWhiteData }) }) }),
282
- /* @__PURE__ */ jsxRuntime.jsx(react.VisuallyHidden, { children: "Loading..." })
296
+ /* @__PURE__ */ jsxRuntime.jsx(react.VisuallyHidden, { children: useGetLoadingText() })
283
297
  ]
284
298
  }
285
299
  );
@@ -291,7 +305,7 @@ var DarkInlineLoader = ({
291
305
  }) => {
292
306
  return /* @__PURE__ */ jsxRuntime.jsxs(react.Center, { role: "status", "aria-live": "polite", ...props, children: [
293
307
  /* @__PURE__ */ jsxRuntime.jsx(react.Box, { width, maxWidth, children: /* @__PURE__ */ jsxRuntime.jsx(react.ClientOnly, { children: /* @__PURE__ */ jsxRuntime.jsx(Lottie, { animationData: sporLoader.inlineLoaderDarkData }) }) }),
294
- /* @__PURE__ */ jsxRuntime.jsx(react.VisuallyHidden, { children: "Loading..." })
308
+ /* @__PURE__ */ jsxRuntime.jsx(react.VisuallyHidden, { children: useGetLoadingText() })
295
309
  ] });
296
310
  };
297
311
  var DarkSpinner = ({
@@ -304,7 +318,7 @@ var DarkSpinner = ({
304
318
  const spinnerData = colorMode === "dark" ? sporLoader.spinnerLightData : sporLoader.spinnerDarkData;
305
319
  return /* @__PURE__ */ jsxRuntime.jsxs(react.Center, { flexDirection: "column", role: "status", "aria-live": "polite", ...props, children: [
306
320
  /* @__PURE__ */ jsxRuntime.jsx(react.Box, { width, maxWidth, children: /* @__PURE__ */ jsxRuntime.jsx(react.ClientOnly, { children: /* @__PURE__ */ jsxRuntime.jsx(Lottie, { animationData: spinnerData }) }) }),
307
- /* @__PURE__ */ jsxRuntime.jsx(react.VisuallyHidden, { children: "Loading..." }),
321
+ /* @__PURE__ */ jsxRuntime.jsx(react.VisuallyHidden, { children: useGetLoadingText() }),
308
322
  children && /* @__PURE__ */ jsxRuntime.jsx(react.Box, { marginTop: 3, fontWeight: "bold", children })
309
323
  ] });
310
324
  };
@@ -315,7 +329,7 @@ var LightFullScreenLoader = ({
315
329
  }) => {
316
330
  return /* @__PURE__ */ jsxRuntime.jsxs(react.Center, { height: "100%", role: "status", "aria-live": "polite", ...props, children: [
317
331
  /* @__PURE__ */ jsxRuntime.jsx(react.Box, { width, maxWidth, children: /* @__PURE__ */ jsxRuntime.jsx(react.ClientOnly, { children: /* @__PURE__ */ jsxRuntime.jsx(Lottie, { animationData: sporLoader.fullScreenLoaderBlackData }) }) }),
318
- /* @__PURE__ */ jsxRuntime.jsx(react.VisuallyHidden, { children: "Loading..." })
332
+ /* @__PURE__ */ jsxRuntime.jsx(react.VisuallyHidden, { children: useGetLoadingText() })
319
333
  ] });
320
334
  };
321
335
  var LightInlineLoader = ({
@@ -325,7 +339,7 @@ var LightInlineLoader = ({
325
339
  }) => {
326
340
  return /* @__PURE__ */ jsxRuntime.jsxs(react.Center, { height: "100%", role: "status", "aria-live": "polite", ...props, children: [
327
341
  /* @__PURE__ */ jsxRuntime.jsx(react.Box, { width, maxWidth, children: /* @__PURE__ */ jsxRuntime.jsx(react.ClientOnly, { children: /* @__PURE__ */ jsxRuntime.jsx(Lottie, { animationData: sporLoader.inlineLoaderLightData }) }) }),
328
- /* @__PURE__ */ jsxRuntime.jsx(react.VisuallyHidden, { children: "Loading..." })
342
+ /* @__PURE__ */ jsxRuntime.jsx(react.VisuallyHidden, { children: useGetLoadingText() })
329
343
  ] });
330
344
  };
331
345
  var LightSpinner = ({
@@ -336,7 +350,7 @@ var LightSpinner = ({
336
350
  }) => {
337
351
  return /* @__PURE__ */ jsxRuntime.jsxs(react.Center, { flexDirection: "column", role: "status", "aria-live": "polite", ...props, children: [
338
352
  /* @__PURE__ */ jsxRuntime.jsx(react.Box, { width, maxWidth, children: /* @__PURE__ */ jsxRuntime.jsx(react.ClientOnly, { children: /* @__PURE__ */ jsxRuntime.jsx(Lottie, { animationData: sporLoader.spinnerLightData }) }) }),
339
- /* @__PURE__ */ jsxRuntime.jsx(react.VisuallyHidden, { children: "Loading..." }),
353
+ /* @__PURE__ */ jsxRuntime.jsx(react.VisuallyHidden, { children: useGetLoadingText() }),
340
354
  children && /* @__PURE__ */ jsxRuntime.jsx(react.Box, { marginTop: 3, fontWeight: "bold", children })
341
355
  ] });
342
356
  };
@@ -591,12 +605,12 @@ var ButtonContent = ({
591
605
  ] });
592
606
  var LoadingContent = ({
593
607
  children,
594
- loadingText
608
+ loadingText: loadingText2
595
609
  }) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
596
610
  /* @__PURE__ */ jsxRuntime.jsx(react.Flex, { gap: "1", visibility: "hidden", children }),
597
611
  /* @__PURE__ */ jsxRuntime.jsxs(react.Center, { position: "absolute", inset: "1px 0", children: [
598
612
  /* @__PURE__ */ jsxRuntime.jsx(ColorInlineLoader, { maxWidth: "8", marginX: 2, marginY: 2 }),
599
- loadingText && /* @__PURE__ */ jsxRuntime.jsx(react.Box, { children: loadingText })
613
+ loadingText2 && /* @__PURE__ */ jsxRuntime.jsx(react.Box, { children: loadingText2 })
600
614
  ] })
601
615
  ] });
602
616
  var getChildContent = (child) => {
@@ -609,7 +623,7 @@ var Button = ({
609
623
  ref,
610
624
  loading,
611
625
  disabled,
612
- loadingText,
626
+ loadingText: loadingText2,
613
627
  variant = "primary",
614
628
  size = "md",
615
629
  leftIcon,
@@ -619,11 +633,11 @@ var Button = ({
619
633
  ...rest
620
634
  }) => {
621
635
  const { t } = useTranslation();
622
- const ariaLabel = loading ? String(loadingText ?? t(texts2.loadingText)) : rest["aria-label"];
636
+ const ariaLabel = loading ? String(loadingText2 ?? t(texts2.loadingText)) : rest["aria-label"];
623
637
  const renderContent = () => {
624
638
  const content = rest.asChild ? getChildContent(children) : children;
625
639
  if (loading)
626
- return /* @__PURE__ */ jsxRuntime.jsx(LoadingContent, { size, loadingText, children: /* @__PURE__ */ jsxRuntime.jsx(ButtonContent, { leftIcon, rightIcon, children: content }) });
640
+ return /* @__PURE__ */ jsxRuntime.jsx(LoadingContent, { size, loadingText: loadingText2, children: /* @__PURE__ */ jsxRuntime.jsx(ButtonContent, { leftIcon, rightIcon, children: content }) });
627
641
  return /* @__PURE__ */ jsxRuntime.jsx(ButtonContent, { leftIcon, rightIcon, children: content });
628
642
  };
629
643
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -683,59 +697,59 @@ var badgeRecipie = react.defineRecipe({
683
697
  variants: {
684
698
  colorPalette: {
685
699
  neutral: {
686
- backgroundColor: "badge.surface",
687
- color: "badge.text",
700
+ backgroundColor: "surface",
701
+ color: "text",
688
702
  "& svg": {
689
- color: "badge.icon"
703
+ color: "icon"
690
704
  }
691
705
  },
692
706
  grey: {
693
- backgroundColor: "badge.grey.surface",
694
- color: "badge.grey.text",
707
+ backgroundColor: "surface.neutral",
708
+ color: "text.neutral",
695
709
  "& svg": {
696
- color: "badge.grey.icon"
710
+ color: "icon.neutral"
697
711
  }
698
712
  },
699
713
  green: {
700
- backgroundColor: "badge.green.surface",
701
- color: "badge.green.text",
714
+ backgroundColor: "surface.subtle",
715
+ color: "text.success",
702
716
  "& svg": {
703
- color: "badge.green.icon"
717
+ color: "icon.success"
704
718
  }
705
719
  },
706
720
  blue: {
707
- backgroundColor: "badge.blue.surface",
708
- color: "badge.blue.text",
721
+ backgroundColor: "surface.info",
722
+ color: "text.info",
709
723
  "& svg": {
710
- color: "badge.blue.icon"
724
+ color: "icon.info"
711
725
  }
712
726
  },
713
727
  cream: {
714
- backgroundColor: "badge.cream.surface",
715
- color: "badge.cream.text",
728
+ backgroundColor: "surface.warning",
729
+ color: "text.warning",
716
730
  "& svg": {
717
- color: "badge.cream.icon"
731
+ color: "icon.warning"
718
732
  }
719
733
  },
720
734
  yellow: {
721
- backgroundColor: "badge.yellow.surface",
722
- color: "badge.yellow.text",
735
+ backgroundColor: "surface.notice",
736
+ color: "text.notice",
723
737
  "& svg": {
724
- color: "badge.yellow.icon"
738
+ color: "icon.notice"
725
739
  }
726
740
  },
727
741
  orange: {
728
- backgroundColor: "badge.orange.surface",
729
- color: "badge.orange.text",
742
+ backgroundColor: "surface.caution",
743
+ color: "text.caution",
730
744
  "& svg": {
731
- color: "badge.orange.icon"
745
+ color: "icon.caution"
732
746
  }
733
747
  },
734
748
  red: {
735
- backgroundColor: "badge.red.surface",
736
- color: "badge.red.text",
749
+ backgroundColor: "surface.critical",
750
+ color: "text.critical",
737
751
  "& svg": {
738
- color: "badge.red.icon"
752
+ color: "icon.critical"
739
753
  }
740
754
  }
741
755
  },
@@ -1108,10 +1122,10 @@ var BaseAlertIcon = ({
1108
1122
  }) => {
1109
1123
  const css = {
1110
1124
  "& path:first-of-type": {
1111
- fill: `alert.${variant}.icon`
1125
+ fill: `icon.${variant}`
1112
1126
  },
1113
1127
  "& path:not(:first-of-type)": {
1114
- fill: `alert.${variant}.surface`
1128
+ fill: `surface.${variant}`
1115
1129
  }
1116
1130
  };
1117
1131
  switch (variant) {
@@ -1299,6 +1313,7 @@ var ServiceAlert = ({
1299
1313
  css: { ...styles.root, ...css },
1300
1314
  ref,
1301
1315
  ...rest,
1316
+ className: "light",
1302
1317
  children: /* @__PURE__ */ jsxRuntime.jsxs(react.Accordion.Item, { value: defaultValue, children: [
1303
1318
  /* @__PURE__ */ jsxRuntime.jsx(react.Accordion.ItemTrigger, { css: styles.itemTrigger, children: /* @__PURE__ */ jsxRuntime.jsxs(
1304
1319
  react.HStack,
@@ -1327,7 +1342,7 @@ var ServiceAlert = ({
1327
1342
  ] }),
1328
1343
  /* @__PURE__ */ jsxRuntime.jsxs(react.Flex, { alignItems: "center", gap: [0.5, null, null, 1], children: [
1329
1344
  notification && /* @__PURE__ */ jsxRuntime.jsx(react.Text, { css: styles.notificationText, children: t(texts5.notification(notification)) }),
1330
- /* @__PURE__ */ jsxRuntime.jsx(react.Accordion.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(spor_icon_react_star.DropdownDownFill24Icon, { color: "icon.inverted" }) })
1345
+ /* @__PURE__ */ jsxRuntime.jsx(react.Accordion.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(spor_icon_react_star.DropdownDownFill24Icon, { color: "icon.brand" }) })
1331
1346
  ] })
1332
1347
  ]
1333
1348
  }
@@ -1692,18 +1707,18 @@ var cellStyles = {
1692
1707
  },
1693
1708
  // Selection edge (single-mode selected OR range start/end)
1694
1709
  "&[data-edge]": {
1695
- backgroundColor: "brand.surface",
1696
- color: "text.inverted"
1710
+ backgroundColor: "surface.brand",
1711
+ color: "text.brand"
1697
1712
  },
1698
1713
  // Range middle
1699
1714
  "&[data-middle]": {
1700
- backgroundColor: "surface.secondary",
1715
+ backgroundColor: "surface.subtle",
1701
1716
  color: "text"
1702
1717
  },
1703
1718
  // Hover for non-selected, non-disabled cells on devices that support hover
1704
1719
  "@media (hover: hover)": {
1705
1720
  "&:not([data-edge]):not([data-middle]):not([data-disabled]):hover": {
1706
- backgroundColor: "surface.secondary",
1721
+ backgroundColor: "surface.subtle",
1707
1722
  color: "text"
1708
1723
  }
1709
1724
  }
@@ -2106,7 +2121,7 @@ var Field3 = ({
2106
2121
  ]
2107
2122
  }
2108
2123
  ),
2109
- helperText && /* @__PURE__ */ jsxRuntime.jsx(Text3, { variant: "sm", color: "text.tertiary", children: helperText })
2124
+ helperText && /* @__PURE__ */ jsxRuntime.jsx(Text3, { variant: "sm", color: "text.subtle", children: helperText })
2110
2125
  ] });
2111
2126
  };
2112
2127
  var FieldErrorText = ({
@@ -2343,7 +2358,7 @@ var CalendarNavigator = ({
2343
2358
  fontWeight: "bold",
2344
2359
  flex: "1",
2345
2360
  textAlign: "center",
2346
- color: "core.text",
2361
+ color: "text.core",
2347
2362
  children: capitalize(title)
2348
2363
  }
2349
2364
  ),
@@ -3142,7 +3157,7 @@ var CloseDrawerLine = ({
3142
3157
  top: 0,
3143
3158
  marginY: 2,
3144
3159
  marginX: "auto",
3145
- backgroundColor: "floating.outline.active",
3160
+ backgroundColor: "outline.neutral",
3146
3161
  borderRadius: "xs",
3147
3162
  ...props,
3148
3163
  ref
@@ -3613,7 +3628,7 @@ var CardSelectContent = ({
3613
3628
  p: "2",
3614
3629
  bg: "bg",
3615
3630
  border: "sm",
3616
- borderColor: "floating.outline",
3631
+ borderColor: "outline.floating",
3617
3632
  borderRadius: "sm",
3618
3633
  ...props,
3619
3634
  children
@@ -3621,9 +3636,9 @@ var CardSelectContent = ({
3621
3636
  ) }) }) }) });
3622
3637
  };
3623
3638
  var bgActiveStyleMap = {
3624
- core: "core.surface.active",
3625
- ghost: "ghost.surface.active",
3626
- floating: "floating.surface.active"
3639
+ core: "surface.core.active",
3640
+ ghost: "surface.ghost.active",
3641
+ floating: "surface.floating.active"
3627
3642
  };
3628
3643
  var CardSelectTrigger = ({
3629
3644
  ref,
@@ -3708,9 +3723,15 @@ var Popover = ({
3708
3723
  hasBackdrop = true,
3709
3724
  containerPadding = 12
3710
3725
  }) => {
3711
- var _a6;
3712
3726
  const internalRef = React13.useRef(null);
3713
3727
  const popoverRef = ref ?? internalRef;
3728
+ React13.useLayoutEffect(() => {
3729
+ var _a6;
3730
+ const element = typeof popoverRef === "object" ? popoverRef == null ? void 0 : popoverRef.current : null;
3731
+ if (element) {
3732
+ element.style.minWidth = `${((_a6 = triggerRef.current) == null ? void 0 : _a6.clientWidth) ?? 0}px`;
3733
+ }
3734
+ });
3714
3735
  const { popoverProps, underlayProps } = reactAria.usePopover(
3715
3736
  {
3716
3737
  triggerRef,
@@ -3724,19 +3745,11 @@ var Popover = ({
3724
3745
  },
3725
3746
  state
3726
3747
  );
3727
- const popoverBox = /* @__PURE__ */ jsxRuntime.jsxs(
3728
- react.Box,
3729
- {
3730
- ...popoverProps,
3731
- ref: popoverRef,
3732
- minWidth: ((_a6 = triggerRef.current) == null ? void 0 : _a6.clientWidth) ?? "auto",
3733
- children: [
3734
- /* @__PURE__ */ jsxRuntime.jsx(reactAria.DismissButton, { onDismiss: state.close }),
3735
- children,
3736
- /* @__PURE__ */ jsxRuntime.jsx(reactAria.DismissButton, { onDismiss: state.close })
3737
- ]
3738
- }
3739
- );
3748
+ const popoverBox = /* @__PURE__ */ jsxRuntime.jsxs(react.Box, { ...popoverProps, ref: popoverRef, children: [
3749
+ /* @__PURE__ */ jsxRuntime.jsx(reactAria.DismissButton, { onDismiss: state.close }),
3750
+ children,
3751
+ /* @__PURE__ */ jsxRuntime.jsx(reactAria.DismissButton, { onDismiss: state.close })
3752
+ ] });
3740
3753
  if (isNonModal) {
3741
3754
  return popoverBox;
3742
3755
  }
@@ -3867,7 +3880,7 @@ var Combobox2 = (props) => {
3867
3880
  "aria-controls": listboxId,
3868
3881
  borderBottomLeftRadius: state.isOpen && !loading ? 0 : borderBottomLeftRadius,
3869
3882
  borderBottomRightRadius: state.isOpen && !loading ? 0 : borderBottomRightRadius,
3870
- _active: { backgroundColor: "core.surface.active" },
3883
+ _active: { backgroundColor: "surface.core.active" },
3871
3884
  ...filteredInputProps,
3872
3885
  startElement: leftIcon,
3873
3886
  endElement: loading ? /* @__PURE__ */ jsxRuntime.jsx(
@@ -5183,7 +5196,7 @@ var LineIcon = function LineIcon2({
5183
5196
  css: { ...styles.iconContainer, ...style },
5184
5197
  padding: targetPadding(),
5185
5198
  borderWidth: borderContainer(),
5186
- borderColor: variant === "walk" ? "core.outline" : "transparent",
5199
+ borderColor: variant === "walk" ? "outline.core" : "transparent",
5187
5200
  "aria-label": label,
5188
5201
  ref,
5189
5202
  className: clsx_default("light", rest.className),
@@ -6623,8 +6636,8 @@ var StepperStep = ({
6623
6636
  const state = getState(stepNumber, activeStep);
6624
6637
  const recipe = react.useSlotRecipe({ key: "stepper" });
6625
6638
  const style = recipe({ variant });
6626
- const disabledTextColor = "text.tertiary";
6627
- const iconColor = "text.tertiary";
6639
+ const disabledTextColor = "text.subtle";
6640
+ const iconColor = "text.subtle";
6628
6641
  const disabled = state !== "active" && disabledOverride || state === "disabled";
6629
6642
  return /* @__PURE__ */ jsxRuntime.jsxs(react.Box, { css: style.stepContainer, "data-part": "step-container", children: [
6630
6643
  stepNumber > 1 && /* @__PURE__ */ jsxRuntime.jsx(
@@ -6928,40 +6941,40 @@ var buttonRecipe = react.defineRecipe({
6928
6941
  variants: {
6929
6942
  variant: {
6930
6943
  primary: {
6931
- background: "brand.surface",
6932
- color: "brand.text",
6944
+ background: "surface.brand",
6945
+ color: "text.brand",
6933
6946
  fontWeight: "bold",
6934
6947
  _hover: {
6935
- background: "brand.surface.hover",
6948
+ background: "surface.brand.hover",
6936
6949
  _active: {
6937
- background: "brand.surface.active"
6950
+ background: "surface.brand.active"
6938
6951
  }
6939
6952
  }
6940
6953
  },
6941
6954
  secondary: {
6942
- background: "accent.surface",
6943
- color: "accent.text",
6955
+ background: "surface.accent",
6956
+ color: "text.accent",
6944
6957
  fontWeight: "bold",
6945
6958
  _hover: {
6946
- background: "accent.surface.hover",
6959
+ background: "surface.accent.hover",
6947
6960
  _active: {
6948
- background: "accent.surface.active"
6961
+ background: "surface.accent.active"
6949
6962
  }
6950
6963
  }
6951
6964
  },
6952
6965
  tertiary: {
6953
- color: "core.text",
6966
+ color: "text.core",
6954
6967
  outline: "solid",
6955
6968
  fontWeight: "normal",
6956
6969
  outlineWidth: tokens22__namespace.default.size.stroke.sm,
6957
- outlineColor: "core.outline",
6970
+ outlineColor: "outline.core",
6958
6971
  _hover: {
6959
6972
  outlineWidth: tokens22__namespace.default.size.stroke.md,
6960
- outlineColor: "core.outline.hover",
6973
+ outlineColor: "outline.core.hover",
6961
6974
  _active: {
6962
- background: "core.surface.active",
6975
+ background: "surface.core.active",
6963
6976
  outlineWidth: tokens22__namespace.default.size.stroke.sm,
6964
- outlineColor: "core.outline"
6977
+ outlineColor: "outline.core"
6965
6978
  }
6966
6979
  },
6967
6980
  _focus: {
@@ -6969,28 +6982,28 @@ var buttonRecipe = react.defineRecipe({
6969
6982
  }
6970
6983
  },
6971
6984
  ghost: {
6972
- color: "ghost.text",
6985
+ color: "text.ghost",
6973
6986
  fontWeight: "bold",
6974
6987
  _hover: {
6975
- background: "ghost.surface.hover",
6988
+ background: "surface.ghost.hover",
6976
6989
  _active: {
6977
- background: "ghost.surface.active"
6990
+ background: "surface.ghost.active"
6978
6991
  }
6979
6992
  }
6980
6993
  },
6981
6994
  floating: {
6982
- color: "floating.text",
6983
- background: "floating.surface",
6995
+ color: "text.floating",
6996
+ background: "surface.floating",
6984
6997
  fontWeight: "bold",
6985
6998
  border: "sm",
6986
- borderColor: "floating.outline",
6999
+ borderColor: "outline.floating",
6987
7000
  boxShadow: "0px 1px 3px 0px var(--spor-colors-surface-disabled, rgba(0, 0, 0, 0.10))",
6988
7001
  _hover: {
6989
- borderColor: "floating.outline.hover",
7002
+ borderColor: "outline.floating.hover",
6990
7003
  _active: {
6991
- background: "core.surface.active",
7004
+ background: "surface.core.active",
6992
7005
  boxShadow: "none",
6993
- borderColor: "floating.outline"
7006
+ borderColor: "outline.floating"
6994
7007
  }
6995
7008
  }
6996
7009
  }
@@ -7045,12 +7058,12 @@ var closeButtonRecipe = react.defineRecipe({
7045
7058
  color: "text",
7046
7059
  fontWeight: "normal",
7047
7060
  _hover: {
7048
- background: "ghost.surface.hover",
7061
+ background: "surface.ghost.hover",
7049
7062
  _disabled: {
7050
7063
  color: "icon.disabled"
7051
7064
  },
7052
7065
  _active: {
7053
- background: "ghost.surface.active"
7066
+ background: "surface.ghost.active"
7054
7067
  }
7055
7068
  }
7056
7069
  },
@@ -7125,7 +7138,7 @@ var inputRecipe = react.defineRecipe({
7125
7138
  },
7126
7139
  _hover: {
7127
7140
  outline: "2px solid",
7128
- outlineColor: "core.outline"
7141
+ outlineColor: "outline.core"
7129
7142
  }
7130
7143
  }
7131
7144
  },
@@ -7134,14 +7147,14 @@ var inputRecipe = react.defineRecipe({
7134
7147
  core: {
7135
7148
  backgroundColor: "transparent",
7136
7149
  outline: "1px solid",
7137
- outlineColor: "core.outline",
7150
+ outlineColor: "outline.core",
7138
7151
  _hover: {
7139
7152
  outline: "2px solid",
7140
- outlineColor: "core.outline.hover",
7153
+ outlineColor: "outline.core.hover",
7141
7154
  _active: {
7142
7155
  outline: "1px solid",
7143
7156
  outlineColor: "outline.disabled",
7144
- backgroundColor: "core.surface.active"
7157
+ backgroundColor: "surface.core.active"
7145
7158
  }
7146
7159
  },
7147
7160
  _focus: {
@@ -7151,17 +7164,17 @@ var inputRecipe = react.defineRecipe({
7151
7164
  },
7152
7165
  floating: {
7153
7166
  boxShadow: "sm",
7154
- bg: "floating.surface",
7167
+ bg: "surface.floating",
7155
7168
  outline: "1px solid",
7156
- outlineColor: "floating.outline",
7169
+ outlineColor: "outline.floating",
7157
7170
  _hover: {
7158
7171
  outline: "1px solid",
7159
- outlineColor: "floating.outline.hover"
7172
+ outlineColor: "outline.floating.hover"
7160
7173
  },
7161
7174
  _active: {
7162
7175
  outline: "1px solid",
7163
- outlineColor: "floating.outline.active",
7164
- backgroundColor: "floating.surface.active"
7176
+ outlineColor: "outline.neutral",
7177
+ backgroundColor: "surface.floating.active"
7165
7178
  },
7166
7179
  focus: {
7167
7180
  outline: "1px solid",
@@ -7204,7 +7217,7 @@ var linkRecipe = react.defineRecipe({
7204
7217
  variants: {
7205
7218
  variant: {
7206
7219
  primary: {
7207
- color: "core.text",
7220
+ color: "text.core",
7208
7221
  _hover: {
7209
7222
  color: "text",
7210
7223
  _active: {
@@ -7267,29 +7280,29 @@ var pressableCardRecipe = react.defineRecipe({
7267
7280
  boxShadow: "0px 1px 3px 0px var(--shadow-color)",
7268
7281
  shadowColor: "surface.disabled",
7269
7282
  border: "sm",
7270
- borderColor: "floating.outline",
7271
- backgroundColor: "floating.surface",
7283
+ borderColor: "outline.floating",
7284
+ backgroundColor: "surface.floating",
7272
7285
  _hover: {
7273
7286
  boxShadow: "0px 2px 6px 0px var(--shadow-color)",
7274
- backgroundColor: "floating.surface.hover",
7275
- borderColor: "floating.outline.hover",
7287
+ backgroundColor: "surface.floating.hover",
7288
+ borderColor: "outline.floating.hover",
7276
7289
  _active: {
7277
7290
  boxShadow: "none",
7278
- backgroundColor: "floating.surface.active",
7279
- borderColor: "floating.outline.active"
7291
+ backgroundColor: "surface.floating.active",
7292
+ borderColor: "outline.neutral"
7280
7293
  }
7281
7294
  }
7282
7295
  },
7283
7296
  core: {
7284
- outlineColor: "core.outline",
7297
+ outlineColor: "outline.core",
7285
7298
  outlineWidth: tokens22__namespace.default.size.stroke.sm,
7286
7299
  outlineStyle: "solid",
7287
7300
  _hover: {
7288
- outlineColor: "core.outline.hover",
7301
+ outlineColor: "outline.core.hover",
7289
7302
  outlineWidth: tokens22__namespace.default.size.stroke.md,
7290
7303
  outlineStyle: "solid",
7291
7304
  _active: {
7292
- backgroundColor: "core.surface.active",
7305
+ backgroundColor: "surface.core.active",
7293
7306
  outlineWidth: tokens22__namespace.default.size.stroke.sm
7294
7307
  }
7295
7308
  }
@@ -7297,12 +7310,12 @@ var pressableCardRecipe = react.defineRecipe({
7297
7310
  accent: {
7298
7311
  boxShadow: "0px 1px 3px 0px var(--shadow-color)",
7299
7312
  shadowColor: "surface.disabled",
7300
- background: "alert.success.surface",
7313
+ background: "surface.success",
7301
7314
  _hover: {
7302
- background: "alert.success.surface.hover",
7315
+ background: "surface.success.hover",
7303
7316
  boxShadow: "0px 2px 6px 0px var(--shadow-color)",
7304
7317
  _active: {
7305
- background: "alert.success.surface.active",
7318
+ background: "surface.success.active",
7306
7319
  boxShadow: "none"
7307
7320
  }
7308
7321
  }
@@ -7421,7 +7434,7 @@ var skeletonRecipe = react.defineRecipe({
7421
7434
  },
7422
7435
  none: {
7423
7436
  animation: "none",
7424
- background: "surface.color.grey"
7437
+ background: "surface.neutral"
7425
7438
  }
7426
7439
  }
7427
7440
  }
@@ -7433,29 +7446,29 @@ var staticCardRecipe = react.defineRecipe({
7433
7446
  variants: {
7434
7447
  colorPalette: {
7435
7448
  white: {
7436
- backgroundColor: "surface.color.neutral",
7449
+ backgroundColor: "surface",
7437
7450
  color: "text"
7438
7451
  },
7439
7452
  grey: {
7440
- backgroundColor: "surface.color.grey"
7453
+ backgroundColor: "surface.neutral"
7441
7454
  },
7442
7455
  yellow: {
7443
- backgroundColor: "surface.color.cream"
7456
+ backgroundColor: "surface.warning"
7444
7457
  },
7445
7458
  darkYellow: {
7446
- backgroundColor: "surface.color.yellow"
7459
+ backgroundColor: "surface.notice"
7447
7460
  },
7448
7461
  red: {
7449
- backgroundColor: "surface.color.red"
7462
+ backgroundColor: "surface.critical"
7450
7463
  },
7451
7464
  green: {
7452
- backgroundColor: "surface.color.green"
7465
+ backgroundColor: "surface.success"
7453
7466
  },
7454
7467
  blue: {
7455
- backgroundColor: "surface.color.blue"
7468
+ backgroundColor: "surface.info"
7456
7469
  },
7457
7470
  orange: {
7458
- backgroundColor: "surface.color.orange"
7471
+ backgroundColor: "surface.caution"
7459
7472
  }
7460
7473
  }
7461
7474
  },
@@ -7513,7 +7526,7 @@ var vyUtviklingColors = react.defineSemanticTokens.colors({
7513
7526
  ...tokens4__default.default.color["vy-utvikling"].color.vyUtvikling
7514
7527
  });
7515
7528
  var cargonetColors = react.defineSemanticTokens.colors({
7516
- ...tokens4__default.default.color.cargonet.color.cargonet
7529
+ ...tokens4__default.default.color["cargonet"].color.cargonet
7517
7530
  });
7518
7531
  var radii = react.defineSemanticTokens.radii({
7519
7532
  none: { value: tokens22__namespace.default.size["border-radius"].none },
@@ -7851,7 +7864,7 @@ var accordionSlotRecipe = react.defineSlotRecipe({
7851
7864
  borderRadius: "sm",
7852
7865
  display: "flex",
7853
7866
  justifyContent: "space-between",
7854
- color: "core.text",
7867
+ color: "text.core",
7855
7868
  textAlign: "left",
7856
7869
  width: "full",
7857
7870
  alignItems: "center",
@@ -7907,10 +7920,10 @@ var accordionSlotRecipe = react.defineSlotRecipe({
7907
7920
  },
7908
7921
  itemTrigger: {
7909
7922
  "&:hover": {
7910
- background: "ghost.surface.hover"
7923
+ background: "surface.ghost.hover"
7911
7924
  },
7912
7925
  "&:active": {
7913
- backgroundColor: "ghost.surface.active"
7926
+ backgroundColor: "surface.ghost.active"
7914
7927
  }
7915
7928
  }
7916
7929
  },
@@ -7918,7 +7931,7 @@ var accordionSlotRecipe = react.defineSlotRecipe({
7918
7931
  item: {
7919
7932
  outline: "solid",
7920
7933
  outlineWidth: tokens22__namespace.default.size.stroke.sm,
7921
- outlineColor: "core.outline"
7934
+ outlineColor: "outline.core"
7922
7935
  },
7923
7936
  itemTrigger: {
7924
7937
  _expanded: {
@@ -7926,12 +7939,12 @@ var accordionSlotRecipe = react.defineSlotRecipe({
7926
7939
  },
7927
7940
  "&:hover": {
7928
7941
  outlineWidth: tokens22__namespace.default.size.stroke.md,
7929
- outlineColor: "core.outline",
7942
+ outlineColor: "outline.core",
7930
7943
  outline: "2px solid",
7931
7944
  outlineOffset: 0
7932
7945
  },
7933
7946
  "&:active": {
7934
- backgroundColor: "core.surface.active",
7947
+ backgroundColor: "surface.core.active",
7935
7948
  outlineWidth: tokens22__namespace.default.size.stroke.sm,
7936
7949
  outline: "none"
7937
7950
  }
@@ -7944,7 +7957,7 @@ var accordionSlotRecipe = react.defineSlotRecipe({
7944
7957
  item: {
7945
7958
  borderRadius: "none",
7946
7959
  borderBottom: "1px solid",
7947
- borderBottomColor: "floating.outline.active"
7960
+ borderBottomColor: "outline.neutral"
7948
7961
  }
7949
7962
  },
7950
7963
  floating: {
@@ -7952,7 +7965,7 @@ var accordionSlotRecipe = react.defineSlotRecipe({
7952
7965
  outline: "1px solid",
7953
7966
  outlineWidth: tokens22__namespace.default.size.stroke.sm,
7954
7967
  boxShadow: "sm",
7955
- outlineColor: "floating.outline"
7968
+ outlineColor: "outline.floating"
7956
7969
  },
7957
7970
  itemTrigger: {
7958
7971
  _expanded: {
@@ -7961,11 +7974,11 @@ var accordionSlotRecipe = react.defineSlotRecipe({
7961
7974
  "&:hover": {
7962
7975
  outlineWidth: tokens22__namespace.default.size.stroke.md,
7963
7976
  outline: "1px solid",
7964
- outlineColor: "floating.outline.hover",
7977
+ outlineColor: "outline.floating.hover",
7965
7978
  outlineOffset: 1
7966
7979
  },
7967
7980
  "&:active": {
7968
- backgroundColor: "floating.surface.active",
7981
+ backgroundColor: "surface.floating.active",
7969
7982
  outlineWidth: tokens22__namespace.default.size.stroke.sm,
7970
7983
  outline: "none"
7971
7984
  }
@@ -7976,21 +7989,21 @@ var accordionSlotRecipe = react.defineSlotRecipe({
7976
7989
  });
7977
7990
  var createVariant = (variant) => ({
7978
7991
  root: {
7979
- borderColor: `alert.${variant}.outline`,
7980
- background: `alert.${variant}.surface`
7992
+ borderColor: `outline.${variant}`,
7993
+ background: `surface.${variant}`
7981
7994
  },
7982
7995
  description: {
7983
- color: `alert.${variant}.text.secondary`
7996
+ color: `text.${variant}.subtle`
7984
7997
  },
7985
7998
  title: {
7986
- color: `alert.${variant}.text`
7999
+ color: `text.${variant}`
7987
8000
  },
7988
8001
  closeButton: {
7989
- color: `alert.${variant}.text`,
8002
+ color: `text.${variant}`,
7990
8003
  _hover: {
7991
- bg: `alert.${variant}.surface.hover`,
8004
+ bg: `surface.${variant}.hover`,
7992
8005
  _active: {
7993
- bg: `alert.${variant}.surface.active`
8006
+ bg: `surface.${variant}.active`
7994
8007
  }
7995
8008
  }
7996
8009
  }
@@ -8025,13 +8038,13 @@ var alertSlotRecipe = react.defineSlotRecipe({
8025
8038
  },
8026
8039
  variants: {
8027
8040
  variant: {
8028
- important: createVariant("important"),
8029
- alt: createVariant("alt"),
8030
- error: createVariant("error"),
8041
+ important: createVariant("warning"),
8042
+ alt: createVariant("notice"),
8043
+ error: createVariant("critical"),
8031
8044
  success: createVariant("success"),
8032
8045
  info: createVariant("info"),
8033
8046
  neutral: createVariant("neutral"),
8034
- "error-secondary": createVariant("error-secondary"),
8047
+ "error-secondary": createVariant("caution"),
8035
8048
  service: createVariant("service")
8036
8049
  }
8037
8050
  },
@@ -8061,117 +8074,117 @@ var alertExpandableSlotRecipe = react.defineSlotRecipe({
8061
8074
  variant: {
8062
8075
  important: {
8063
8076
  itemContent: {
8064
- color: "alert.important.text.secondary"
8077
+ color: "text.warning.subtle"
8065
8078
  },
8066
8079
  itemTrigger: {
8067
8080
  "&:hover": {
8068
- bg: "alert.important.surface.hover",
8081
+ bg: "surface.warning.hover",
8069
8082
  outline: "1px solid",
8070
- outlineColor: "alert.important.outline.hover",
8083
+ outlineColor: "outline.warning.hover",
8071
8084
  outlineOffset: "0px"
8072
8085
  },
8073
8086
  "&:active": {
8074
- bg: "alert.important.surface.active"
8087
+ bg: "surface.warning.active"
8075
8088
  }
8076
8089
  },
8077
8090
  root: {
8078
- borderColor: "alert.important.outline",
8079
- bg: "alert.important.surface"
8091
+ borderColor: "outline.warning",
8092
+ bg: "surface.warning"
8080
8093
  },
8081
8094
  title: {
8082
- color: "alert.important.text"
8095
+ color: "text.warning"
8083
8096
  }
8084
8097
  },
8085
8098
  success: {
8086
8099
  itemContent: {
8087
- color: "alert.success.text.secondary"
8100
+ color: "text.success.subtle"
8088
8101
  },
8089
8102
  itemTrigger: {
8090
8103
  "&:hover": {
8091
- bg: "alert.success.surface.hover",
8104
+ bg: "surface.success.hover",
8092
8105
  outline: "1px solid",
8093
8106
  outlineOffset: "0px",
8094
- outlineColor: "alert.success.outline.hover",
8107
+ outlineColor: "outline.success.hover",
8095
8108
  "&:active": {
8096
- bg: "alert.success.surface.active"
8109
+ bg: "surface.success.active"
8097
8110
  }
8098
8111
  }
8099
8112
  },
8100
8113
  root: {
8101
- borderColor: "alert.success.outline",
8102
- bg: "alert.success.surface"
8114
+ borderColor: "outline.success",
8115
+ bg: "surface.success"
8103
8116
  },
8104
8117
  title: {
8105
- color: "alert.success.text"
8118
+ color: "text.success"
8106
8119
  }
8107
8120
  },
8108
8121
  alt: {
8109
8122
  itemContent: {
8110
- color: "alert.alt.text.secondary"
8123
+ color: "text.notice.subtle"
8111
8124
  },
8112
8125
  itemTrigger: {
8113
8126
  "&:hover": {
8114
- bg: "alert.alt.surface.hover",
8127
+ bg: "surface.notice.hover",
8115
8128
  outlineOffset: "0px",
8116
8129
  outline: "1px solid",
8117
- outlineColor: "alert.alt.outline.hover",
8130
+ outlineColor: "outline.notice.hover",
8118
8131
  "&:active": {
8119
- bg: "alert.alt.surface.active"
8132
+ bg: "surface.notice.active"
8120
8133
  }
8121
8134
  }
8122
8135
  },
8123
8136
  root: {
8124
- borderColor: "alert.alt.outline",
8125
- bg: "alert.alt.surface"
8137
+ borderColor: "outline.notice",
8138
+ bg: "surface.notice"
8126
8139
  },
8127
8140
  title: {
8128
- color: "alert.alt.text"
8141
+ color: "text.notice"
8129
8142
  }
8130
8143
  },
8131
8144
  info: {
8132
8145
  itemContent: {
8133
- color: "alert.info.text.secondary"
8146
+ color: "text.info.subtle"
8134
8147
  },
8135
8148
  itemTrigger: {
8136
8149
  "&:hover": {
8137
- bg: "alert.info.surface.hover",
8150
+ bg: "surface.info.hover",
8138
8151
  outlineOffset: "0px",
8139
8152
  outline: "1px solid",
8140
- outlineColor: "alert.info.outline.hover",
8153
+ outlineColor: "outline.info.hover",
8141
8154
  "&:active": {
8142
- bg: "alert.info.surface.active"
8155
+ bg: "surface.info.active"
8143
8156
  }
8144
8157
  }
8145
8158
  },
8146
8159
  root: {
8147
- borderColor: "alert.info.outline",
8148
- bg: "alert.info.surface"
8160
+ borderColor: "outline.info",
8161
+ bg: "surface.info"
8149
8162
  },
8150
8163
  title: {
8151
- color: "alert.info.text"
8164
+ color: "text.info"
8152
8165
  }
8153
8166
  },
8154
8167
  error: {
8155
8168
  itemContent: {
8156
- color: "alert.error.text.secondary"
8169
+ color: "text.critical.subtle"
8157
8170
  },
8158
8171
  itemTrigger: {
8159
8172
  "&:hover": {
8160
- bg: "alert.error.surface.hover",
8173
+ bg: "surface.critical.hover",
8161
8174
  outlineOffset: "0px",
8162
8175
  outline: "1px solid",
8163
- outlineColor: "alert.error.outline.hover",
8176
+ outlineColor: "outline.critical.hover",
8164
8177
  "&:active": {
8165
- bg: "alert.error.surface.active"
8178
+ bg: "surface.critical.active"
8166
8179
  }
8167
8180
  }
8168
8181
  },
8169
8182
  root: {
8170
- borderColor: "alert.error.outline",
8171
- bg: "alert.error.surface"
8183
+ borderColor: "outline.critical",
8184
+ bg: "surface.critical"
8172
8185
  },
8173
8186
  title: {
8174
- color: "alert.error.text"
8187
+ color: "text.critical"
8175
8188
  }
8176
8189
  }
8177
8190
  }
@@ -8187,10 +8200,10 @@ var alertServiceSlotRecipe = react.defineSlotRecipe({
8187
8200
  transitionDuration: "fast",
8188
8201
  borderTopRadius: "none",
8189
8202
  borderBottomRadius: "md",
8190
- backgroundColor: "alert.service.surface",
8203
+ backgroundColor: "surface.service",
8191
8204
  outline: "1px solid",
8192
- outlineColor: "alert.service.outline",
8193
- color: "text.inverted",
8205
+ outlineColor: "outline.service",
8206
+ color: "text.brand",
8194
8207
  boxShadow: "sm"
8195
8208
  },
8196
8209
  itemTrigger: {
@@ -8202,15 +8215,15 @@ var alertServiceSlotRecipe = react.defineSlotRecipe({
8202
8215
  borderBottomRadius: "md",
8203
8216
  borderTopRadius: "none",
8204
8217
  width: "full",
8205
- color: "text.inverted",
8218
+ color: "text.brand",
8206
8219
  "&:hover": {
8207
- backgroundColor: "alert.service.surface.hover"
8220
+ backgroundColor: "surface.service.hover"
8208
8221
  },
8209
8222
  "&:active": {
8210
- backgroundColor: "alert.service.surface.active"
8223
+ backgroundColor: "surface.service.active"
8211
8224
  },
8212
8225
  _icon: {
8213
- color: "text"
8226
+ color: "icon.brand"
8214
8227
  }
8215
8228
  },
8216
8229
  itemTriggerTitle: {
@@ -8220,7 +8233,7 @@ var alertServiceSlotRecipe = react.defineSlotRecipe({
8220
8233
  fontWeight: "400",
8221
8234
  fontSize: ["mobile.xs", "desktop.xs"],
8222
8235
  textWrap: "nowrap",
8223
- color: "alert.service.text.secondary"
8236
+ color: "text.service.subtle"
8224
8237
  },
8225
8238
  itemContent: {
8226
8239
  paddingX: ["2", "3"],
@@ -8230,14 +8243,14 @@ var alertServiceSlotRecipe = react.defineSlotRecipe({
8230
8243
  itemBody: {
8231
8244
  marginX: "auto",
8232
8245
  padding: "0 !important",
8233
- color: "alert.service.text.secondary",
8246
+ color: "text.service.subtle",
8234
8247
  gap: 0,
8235
8248
  flexDirection: "column",
8236
8249
  display: "flex",
8237
8250
  "& > p": {
8238
8251
  width: "full",
8239
8252
  borderBottom: "1px dashed",
8240
- borderColor: "outline.inverted",
8253
+ borderColor: "outline.neutral",
8241
8254
  paddingY: ["1", "1.5"],
8242
8255
  _first: {
8243
8256
  paddingTop: 0
@@ -8320,7 +8333,7 @@ var comboboxSlotRecipe = react.defineSlotRecipe({
8320
8333
  borderRadius: "sm",
8321
8334
  flex: "1",
8322
8335
  _highlighted: {
8323
- bg: "ghost.surface.active"
8336
+ bg: "surface.ghost.active"
8324
8337
  },
8325
8338
  _disabled: {
8326
8339
  pointerEvents: "none",
@@ -8328,13 +8341,13 @@ var comboboxSlotRecipe = react.defineSlotRecipe({
8328
8341
  color: "text.disabled"
8329
8342
  },
8330
8343
  _hover: {
8331
- bg: "ghost.surface.hover"
8344
+ bg: "surface.ghost.hover"
8332
8345
  },
8333
8346
  _pressed: {
8334
- bg: "ghost.surface.active"
8347
+ bg: "surface.ghost.active"
8335
8348
  },
8336
8349
  _focus: {
8337
- bg: "ghost.surface.active"
8350
+ bg: "surface.ghost.active"
8338
8351
  }
8339
8352
  },
8340
8353
  empty: {
@@ -8353,7 +8366,7 @@ var comboboxSlotRecipe = react.defineSlotRecipe({
8353
8366
  itemGroupLabel: {
8354
8367
  px: "3",
8355
8368
  py: "0.5",
8356
- color: "floating.text",
8369
+ color: "text.floating",
8357
8370
  fontFeatureSettings: "liga off",
8358
8371
  fontSize: ["mobile.sm, desktop.sm"],
8359
8372
  fontWeight: "bold"
@@ -8389,11 +8402,11 @@ var breadcrumbSlotRecipe = react.defineSlotRecipe({
8389
8402
  core: {
8390
8403
  link: {
8391
8404
  _hover: {
8392
- outlineColor: "core.outline.hover",
8405
+ outlineColor: "outline.core.hover",
8393
8406
  outlineWidth: tokens22__namespace.default.size.stroke.md,
8394
8407
  outlineStyle: "solid",
8395
8408
  _active: {
8396
- backgroundColor: "core.surface.active",
8409
+ backgroundColor: "surface.core.active",
8397
8410
  outline: "none"
8398
8411
  }
8399
8412
  }
@@ -8402,9 +8415,9 @@ var breadcrumbSlotRecipe = react.defineSlotRecipe({
8402
8415
  ghost: {
8403
8416
  link: {
8404
8417
  _hover: {
8405
- backgroundColor: "ghost.surface.hover",
8418
+ backgroundColor: "surface.ghost.hover",
8406
8419
  _active: {
8407
- backgroundColor: "ghost.surface.active"
8420
+ backgroundColor: "surface.ghost.active"
8408
8421
  }
8409
8422
  }
8410
8423
  }
@@ -8426,10 +8439,10 @@ var checkboxSlotRecipe = react.defineSlotRecipe({
8426
8439
  gap: 1.5,
8427
8440
  _hover: {
8428
8441
  "& > input:enabled:not([aria-invalid]) + .spor-checkbox__control": {
8429
- borderColor: "core.outline.hover"
8442
+ borderColor: "outline.core.hover"
8430
8443
  },
8431
8444
  "& > input:enabled:checked:not([aria-invalid]) + .spor-checkbox__control": {
8432
- background: "brand.surface.hover"
8445
+ background: "surface.brand.hover"
8433
8446
  }
8434
8447
  }
8435
8448
  },
@@ -8451,19 +8464,14 @@ var checkboxSlotRecipe = react.defineSlotRecipe({
8451
8464
  transitionProperty: "background, border-color",
8452
8465
  transitionDuration: "moderate",
8453
8466
  border: "2px solid",
8454
- borderColor: "core.outline",
8467
+ borderColor: "outline.core",
8455
8468
  borderRadius: "xs",
8456
8469
  _checked: {
8457
- color: "brand.icon",
8458
- borderColor: "brand.surface",
8459
- background: "brand.surface",
8470
+ color: "icon.brand",
8471
+ borderColor: "surface.brand",
8472
+ background: "surface.brand",
8460
8473
  _focus: {
8461
- borderColor: "brand.surface.active"
8462
- },
8463
- _disabled: {
8464
- background: "surface.disabled",
8465
- color: "text.disabled",
8466
- borderColor: "currentColor"
8474
+ borderColor: "surface.brand.active"
8467
8475
  },
8468
8476
  _invalid: {
8469
8477
  backgroundColor: "outline.error",
@@ -8471,8 +8479,9 @@ var checkboxSlotRecipe = react.defineSlotRecipe({
8471
8479
  }
8472
8480
  },
8473
8481
  _disabled: {
8474
- // borderColor: coreText("disabled").color,
8475
- borderColor: "text.disabled"
8482
+ background: "surface.disabled",
8483
+ borderColor: "outline.disabled",
8484
+ color: "text.disabled"
8476
8485
  },
8477
8486
  _invalid: {
8478
8487
  borderColor: "outline.error"
@@ -8482,7 +8491,7 @@ var checkboxSlotRecipe = react.defineSlotRecipe({
8482
8491
  outlineColor: "outline.focus",
8483
8492
  outlineOffset: tokens22__namespace.default.size.stroke.md,
8484
8493
  outlineWidth: tokens22__namespace.default.size.stroke.md,
8485
- borderColor: "core.outline",
8494
+ borderColor: "outline.core",
8486
8495
  borderWidth: tokens22__namespace.default.size.stroke.md
8487
8496
  }
8488
8497
  },
@@ -8506,16 +8515,16 @@ var choiceChipSlotRecipe = react.defineSlotRecipe({
8506
8515
  paddingInlineStart: "2",
8507
8516
  paddingInlineEnd: "2",
8508
8517
  outline: "1px solid",
8509
- outlineColor: "core.outline",
8518
+ outlineColor: "outline.core",
8510
8519
  _checked: {
8511
- backgroundColor: "brand.surface",
8520
+ backgroundColor: "surface.brand",
8512
8521
  borderRadius: "sm",
8513
8522
  outline: "none",
8514
- color: "brand.text",
8523
+ color: "text.brand",
8515
8524
  _hover: {
8516
- backgroundColor: "brand.surface.hover",
8525
+ backgroundColor: "surface.brand.hover",
8517
8526
  _active: {
8518
- backgroundColor: "brand.surface.active"
8527
+ backgroundColor: "surface.brand.active"
8519
8528
  }
8520
8529
  }
8521
8530
  },
@@ -8612,47 +8621,47 @@ var choiceChipSlotRecipe = react.defineSlotRecipe({
8612
8621
  variant: {
8613
8622
  core: {
8614
8623
  root: {
8615
- color: "core.text",
8616
- outlineColor: "core.outline",
8624
+ color: "text.core",
8625
+ outlineColor: "outline.core",
8617
8626
  _hover: {
8618
8627
  outline: "2px solid",
8619
- outlineColor: "core.outline.hover",
8628
+ outlineColor: "outline.core.hover",
8620
8629
  _active: {
8621
8630
  outline: "1px solid",
8622
- outlineColor: "core.outline",
8623
- backgroundColor: "core.surface.active"
8631
+ outlineColor: "outline.core",
8632
+ backgroundColor: "surface.core.active"
8624
8633
  }
8625
8634
  }
8626
8635
  }
8627
8636
  },
8628
8637
  accent: {
8629
8638
  root: {
8630
- backgroundColor: "accent.surface",
8631
- color: "accent.text",
8639
+ backgroundColor: "surface.accent",
8640
+ color: "text.accent",
8632
8641
  outline: "none",
8633
8642
  _hover: {
8634
- backgroundColor: "accent.surface.hover",
8643
+ backgroundColor: "surface.accent.hover",
8635
8644
  _active: {
8636
- backgroundColor: "accent.surface.active"
8645
+ backgroundColor: "surface.accent.active"
8637
8646
  }
8638
8647
  }
8639
8648
  }
8640
8649
  },
8641
8650
  floating: {
8642
8651
  root: {
8643
- backgroundColor: "floating.surface",
8652
+ backgroundColor: "surface.floating",
8644
8653
  outline: "1px solid",
8645
- outlineColor: "floating.outline",
8646
- color: "floating.text",
8654
+ outlineColor: "outline.floating",
8655
+ color: "text.floating",
8647
8656
  boxShadow: "sm",
8648
8657
  _hover: {
8649
- backgroundColor: "floating.surface.hover",
8658
+ backgroundColor: "surface.floating.hover",
8650
8659
  outline: "1px solid",
8651
- outlineColor: "floating.outline.hover",
8660
+ outlineColor: "outline.floating.hover",
8652
8661
  _active: {
8653
- backgroundColor: "floating.surface.active",
8662
+ backgroundColor: "surface.floating.active",
8654
8663
  outline: "1px solid",
8655
- outlineColor: "floating.outline"
8664
+ outlineColor: "outline.floating"
8656
8665
  }
8657
8666
  }
8658
8667
  }
@@ -8730,7 +8739,7 @@ var datePickerSlotRecipe = react.defineSlotRecipe({
8730
8739
  },
8731
8740
  dateTimeSegment: {
8732
8741
  _focus: {
8733
- backgroundColor: "ghost.surface.active",
8742
+ backgroundColor: "surface.ghost.active",
8734
8743
  color: "text"
8735
8744
  }
8736
8745
  },
@@ -8746,10 +8755,10 @@ var datePickerSlotRecipe = react.defineSlotRecipe({
8746
8755
  transitionProperty: "box-shadow, background-color",
8747
8756
  right: "0.5rem",
8748
8757
  _hover: {
8749
- backgroundColor: "ghost.surface.hover"
8758
+ backgroundColor: "surface.ghost.hover"
8750
8759
  },
8751
8760
  _active: {
8752
- backgroundColor: "ghost.surface.active"
8761
+ backgroundColor: "surface.ghost.active"
8753
8762
  },
8754
8763
  _invalid: {
8755
8764
  outline: "2px solid",
@@ -8760,11 +8769,11 @@ var datePickerSlotRecipe = react.defineSlotRecipe({
8760
8769
  backgroundColor: "surface"
8761
8770
  },
8762
8771
  calendarPopover: {
8763
- color: "core.text",
8772
+ color: "text.core",
8764
8773
  outline: "1px solid",
8765
- outlineColor: "floating.outline",
8774
+ outlineColor: "outline.floating",
8766
8775
  boxShadow: "md",
8767
- backgroundColor: "floating.surface",
8776
+ backgroundColor: "surface.floating",
8768
8777
  minHeight: "min-content"
8769
8778
  },
8770
8779
  rangeCalendarPopover: {
@@ -8772,11 +8781,11 @@ var datePickerSlotRecipe = react.defineSlotRecipe({
8772
8781
  maxWidth: "100vw"
8773
8782
  },
8774
8783
  weekdays: {
8775
- color: "core.text",
8784
+ color: "text.core",
8776
8785
  fontWeight: "bold"
8777
8786
  },
8778
8787
  weekend: {
8779
- color: "accent.text",
8788
+ color: "text.accent",
8780
8789
  fontWeight: "bold"
8781
8790
  },
8782
8791
  cell: {
@@ -8790,12 +8799,12 @@ var datePickerSlotRecipe = react.defineSlotRecipe({
8790
8799
  top: 0,
8791
8800
  bottom: 0,
8792
8801
  zIndex: -1,
8793
- backgroundColor: "brand.surface"
8802
+ backgroundColor: "surface.brand"
8794
8803
  }
8795
8804
  }
8796
8805
  },
8797
8806
  dateCell: {
8798
- color: "core.text",
8807
+ color: "text.core",
8799
8808
  borderRadius: "xl",
8800
8809
  position: "relative",
8801
8810
  transition: ".1s ease-in-out",
@@ -8804,10 +8813,10 @@ var datePickerSlotRecipe = react.defineSlotRecipe({
8804
8813
  height: [6, 7],
8805
8814
  transitionProperty: "common",
8806
8815
  _hover: {
8807
- backgroundColor: "ghost.surface.hover"
8816
+ backgroundColor: "surface.ghost.hover"
8808
8817
  },
8809
8818
  _active: {
8810
- backgroundColor: "ghost.surface.active"
8819
+ backgroundColor: "surface.ghost.active"
8811
8820
  },
8812
8821
  _disabled: {
8813
8822
  backgroundColor: "surface.disabled",
@@ -8815,16 +8824,16 @@ var datePickerSlotRecipe = react.defineSlotRecipe({
8815
8824
  pointerEvents: "none"
8816
8825
  },
8817
8826
  _selected: {
8818
- backgroundColor: "brand.surface",
8819
- color: "brand.text",
8827
+ backgroundColor: "surface.brand",
8828
+ color: "text.brand",
8820
8829
  _active: {
8821
- backgroundColor: "brand.surface.active",
8822
- color: "brand.text"
8830
+ backgroundColor: "surface.brand.active",
8831
+ color: "text.brand"
8823
8832
  }
8824
8833
  },
8825
8834
  "&[data-today]": {
8826
8835
  outline: "1px solid",
8827
- outlineColor: "core.outline"
8836
+ outlineColor: "outline.core"
8828
8837
  },
8829
8838
  "&[data-unavailable]": {
8830
8839
  pointerEvents: "none",
@@ -8839,14 +8848,14 @@ var datePickerSlotRecipe = react.defineSlotRecipe({
8839
8848
  core: {
8840
8849
  wrapper: {
8841
8850
  outline: "1px solid",
8842
- outlineColor: "core.outline",
8851
+ outlineColor: "outline.core",
8843
8852
  _hover: {
8844
8853
  outline: "2px solid",
8845
- outlineColor: "core.outline.hover",
8854
+ outlineColor: "outline.core.hover",
8846
8855
  _active: {
8847
- backgroundColor: "ghost.surface.active",
8856
+ backgroundColor: "surface.ghost.active",
8848
8857
  outline: "1px solid",
8849
- outlineColor: "core.outline"
8858
+ outlineColor: "outline.core"
8850
8859
  },
8851
8860
  "&[data-active]": {
8852
8861
  outline: "2px solid",
@@ -8864,17 +8873,17 @@ var datePickerSlotRecipe = react.defineSlotRecipe({
8864
8873
  },
8865
8874
  floating: {
8866
8875
  wrapper: {
8867
- bg: "floating.surface",
8876
+ bg: "surface.floating",
8868
8877
  outline: "1px solid",
8869
- outlineColor: "floating.outline",
8878
+ outlineColor: "outline.floating",
8870
8879
  boxShadow: "sm",
8871
8880
  _hover: {
8872
8881
  outline: "1px solid",
8873
- outlineColor: "floating.outline.hover",
8882
+ outlineColor: "outline.floating.hover",
8874
8883
  _active: {
8875
- backgroundColor: "ghost.surface.active",
8884
+ backgroundColor: "surface.ghost.active",
8876
8885
  outline: "1px solid",
8877
- outlineColor: "core.outline"
8886
+ outlineColor: "outline.core"
8878
8887
  },
8879
8888
  "&[data-active]": {
8880
8889
  outline: "2px solid",
@@ -8894,11 +8903,11 @@ var datePickerSlotRecipe = react.defineSlotRecipe({
8894
8903
  wrapper: {
8895
8904
  _hover: {
8896
8905
  outline: "2px solid",
8897
- outlineColor: "core.outline.hover",
8906
+ outlineColor: "outline.core.hover",
8898
8907
  _active: {
8899
- backgroundColor: "ghost.surface.active",
8908
+ backgroundColor: "surface.ghost.active",
8900
8909
  outline: "1px solid",
8901
- outlineColor: "core.outline"
8910
+ outlineColor: "outline.core"
8902
8911
  },
8903
8912
  "&[data-active]": {
8904
8913
  outline: "2px solid",
@@ -9358,13 +9367,13 @@ var fieldSlotRecipe = react.defineSlotRecipe({
9358
9367
  },
9359
9368
  helperText: {
9360
9369
  marginTop: 2,
9361
- color: "text.tertiary",
9370
+ color: "text.subtle",
9362
9371
  lineHeight: "normal",
9363
9372
  fontSize: "sm"
9364
9373
  },
9365
9374
  errorText: {
9366
9375
  borderRadius: "xs",
9367
- backgroundColor: "alert.error.surface",
9376
+ backgroundColor: "surface.critical",
9368
9377
  color: "text",
9369
9378
  paddingX: 1.5,
9370
9379
  paddingY: 1,
@@ -9382,7 +9391,7 @@ var fieldSlotRecipe = react.defineSlotRecipe({
9382
9391
  left: "1em",
9383
9392
  width: "0.5rem",
9384
9393
  height: "0.5rem",
9385
- backgroundColor: "alert.error.surface",
9394
+ backgroundColor: "surface.critical",
9386
9395
  transform: "translateY(-50%) rotate(45deg)",
9387
9396
  pointerEvents: "none"
9388
9397
  }
@@ -9443,12 +9452,12 @@ var floatingActionButtonSlotRecipe = react.defineSlotRecipe({
9443
9452
  variant: {
9444
9453
  brand: {
9445
9454
  root: {
9446
- backgroundColor: "brand.surface",
9447
- color: "brand.text",
9455
+ backgroundColor: "surface.brand",
9456
+ color: "text.brand",
9448
9457
  _hover: {
9449
- backgroundColor: "brand.surface.hover",
9458
+ backgroundColor: "surface.brand.hover",
9450
9459
  _active: {
9451
- backgroundColor: "brand.surface.active"
9460
+ backgroundColor: "surface.brand.active"
9452
9461
  }
9453
9462
  }
9454
9463
  }
@@ -9457,29 +9466,29 @@ var floatingActionButtonSlotRecipe = react.defineSlotRecipe({
9457
9466
  root: {
9458
9467
  backgroundColor: "transparent",
9459
9468
  outline: "1px solid",
9460
- outlineColor: "core.outline",
9461
- color: "core.text",
9469
+ outlineColor: "outline.core",
9470
+ color: "text.core",
9462
9471
  _hover: {
9463
9472
  backgroundColor: "transparent",
9464
9473
  outline: "2px solid",
9465
- outlineColor: "core.outline",
9474
+ outlineColor: "outline.core",
9466
9475
  _active: {
9467
9476
  outline: "1px solid",
9468
- outlineColor: "core.outline",
9469
- backgroundColor: "core.surface.active"
9477
+ outlineColor: "outline.core",
9478
+ backgroundColor: "surface.core.active"
9470
9479
  }
9471
9480
  }
9472
9481
  }
9473
9482
  },
9474
9483
  accent: {
9475
9484
  root: {
9476
- backgroundColor: "accent.surface",
9477
- color: "accent.text",
9485
+ backgroundColor: "surface.accent",
9486
+ color: "text.accent",
9478
9487
  _hover: {
9479
- backgroundColor: "accent.surface.hover",
9480
- color: "accent.text",
9488
+ backgroundColor: "surface.accent.hover",
9489
+ color: "text.accent",
9481
9490
  _active: {
9482
- backgroundColor: "accent.surface.active"
9491
+ backgroundColor: "surface.accent.active"
9483
9492
  }
9484
9493
  }
9485
9494
  }
@@ -9799,42 +9808,42 @@ var inputChipSlotRecipe = react.defineSlotRecipe({
9799
9808
  borderColor: "outline",
9800
9809
  "&:hover": {
9801
9810
  outline: "2px solid",
9802
- outlineColor: "core.outline.hover"
9811
+ outlineColor: "outline.core.hover"
9803
9812
  },
9804
9813
  "&:active": {
9805
9814
  outline: "none",
9806
- backgroundColor: "core.surface.active"
9815
+ backgroundColor: "surface.core.active"
9807
9816
  }
9808
9817
  }
9809
9818
  },
9810
9819
  accent: {
9811
9820
  root: {
9812
- backgroundColor: "accent.surface",
9821
+ backgroundColor: "surface.accent",
9813
9822
  color: "text.highlight",
9814
9823
  "& svg": {
9815
9824
  color: "icon.highlight"
9816
9825
  },
9817
9826
  "&:hover": {
9818
- backgroundColor: "accent.surface.hover"
9827
+ backgroundColor: "surface.accent.hover"
9819
9828
  },
9820
9829
  "&:active": {
9821
- backgroundColor: "accent.surface.active",
9830
+ backgroundColor: "surface.accent.active",
9822
9831
  outline: "none"
9823
9832
  }
9824
9833
  }
9825
9834
  },
9826
9835
  brand: {
9827
9836
  root: {
9828
- backgroundColor: "brand.surface",
9829
- color: "text.inverted",
9837
+ backgroundColor: "surface.brand",
9838
+ color: "text.brand",
9830
9839
  "& svg": {
9831
- color: "icon.inverted"
9840
+ color: "icon.brand"
9832
9841
  },
9833
9842
  "&:hover": {
9834
- backgroundColor: "brand.surface.hover"
9843
+ backgroundColor: "surface.brand.hover"
9835
9844
  },
9836
9845
  "&:active": {
9837
- backgroundColor: "brand.surface.active",
9846
+ backgroundColor: "surface.brand.active",
9838
9847
  outline: "none"
9839
9848
  }
9840
9849
  }
@@ -10061,18 +10070,18 @@ var listBoxSlotRecipe = react.defineSlotRecipe({
10061
10070
  marginY: 1,
10062
10071
  marginX: 1,
10063
10072
  borderRadius: "sm",
10064
- color: "ghost.text",
10073
+ color: "text.ghost",
10065
10074
  cursor: "pointer",
10066
10075
  listStyle: "none",
10067
10076
  _active: {
10068
- backgroundColor: "ghost.surface.active"
10077
+ backgroundColor: "surface.ghost.active"
10069
10078
  },
10070
10079
  _hover: {
10071
- backgroundColor: "accent.surface",
10072
- color: "accent.text"
10080
+ backgroundColor: "surface.accent",
10081
+ color: "text.accent"
10073
10082
  },
10074
10083
  _selected: {
10075
- backgroundColor: "ghost.surface.active"
10084
+ backgroundColor: "surface.ghost.active"
10076
10085
  },
10077
10086
  _focus: {
10078
10087
  outline: "2px solid",
@@ -10082,9 +10091,9 @@ var listBoxSlotRecipe = react.defineSlotRecipe({
10082
10091
  label: {},
10083
10092
  description: {
10084
10093
  fontSize: ["mobile.xs", "desktop.xs"],
10085
- color: "ghost.text",
10094
+ color: "text.ghost",
10086
10095
  "[aria-selected='true'] &": {
10087
- color: "ghost.text"
10096
+ color: "text.ghost"
10088
10097
  }
10089
10098
  }
10090
10099
  },
@@ -10093,13 +10102,13 @@ var listBoxSlotRecipe = react.defineSlotRecipe({
10093
10102
  core: {
10094
10103
  root: {
10095
10104
  outline: "1px solid",
10096
- outlineColor: "core.outline"
10105
+ outlineColor: "outline.core"
10097
10106
  }
10098
10107
  },
10099
10108
  floating: {
10100
10109
  root: {
10101
10110
  outline: "1px solid",
10102
- outlineColor: "floating.outline"
10111
+ outlineColor: "outline.floating"
10103
10112
  }
10104
10113
  }
10105
10114
  }
@@ -10124,7 +10133,7 @@ var mediaControllerSlotRecipe = react.defineSlotRecipe({
10124
10133
  display: "flex",
10125
10134
  padding: 1,
10126
10135
  alignSelf: "center",
10127
- color: "brand.surface",
10136
+ color: "surface.brand",
10128
10137
  outlineOffset: "2px"
10129
10138
  },
10130
10139
  icon: {
@@ -10137,14 +10146,14 @@ var mediaControllerSlotRecipe = react.defineSlotRecipe({
10137
10146
  play: {
10138
10147
  root: {
10139
10148
  padding: 0,
10140
- color: "brand.text",
10141
- backgroundColor: "brand.surface",
10149
+ color: "text.brand",
10150
+ backgroundColor: "surface.brand",
10142
10151
  _hover: {
10143
- color: "brand.text",
10144
- backgroundColor: "brand.surface.hover",
10152
+ color: "text.brand",
10153
+ backgroundColor: "surface.brand.hover",
10145
10154
  _active: {
10146
- color: "brand.text",
10147
- backgroundColor: "brand.surface.active"
10155
+ color: "text.brand",
10156
+ backgroundColor: "surface.brand.active"
10148
10157
  }
10149
10158
  },
10150
10159
  _disabled: {
@@ -10157,9 +10166,9 @@ var mediaControllerSlotRecipe = react.defineSlotRecipe({
10157
10166
  jumpSkip: {
10158
10167
  root: {
10159
10168
  _hover: {
10160
- backgroundColor: "ghost.surface.hover",
10169
+ backgroundColor: "surface.ghost.hover",
10161
10170
  _active: {
10162
- backgroundColor: "ghost.surface.active"
10171
+ backgroundColor: "surface.ghost.active"
10163
10172
  }
10164
10173
  },
10165
10174
  _disabled: {
@@ -10269,16 +10278,16 @@ var menuSlotRecipe = react.defineSlotRecipe({
10269
10278
  justifyContent: "space-between",
10270
10279
  gap: 1.5,
10271
10280
  _hover: {
10272
- backgroundColor: "accent.surface.hover"
10281
+ backgroundColor: "surface.accent.hover"
10273
10282
  },
10274
10283
  "&:active": {
10275
- backgroundColor: "accent.surface.active"
10284
+ backgroundColor: "surface.accent.active"
10276
10285
  },
10277
10286
  _checked: {
10278
- backgroundColor: "accent.surface"
10287
+ backgroundColor: "surface.accent"
10279
10288
  },
10280
10289
  _highlighted: {
10281
- backgroundColor: "ghost.surface.hover"
10290
+ backgroundColor: "surface.ghost.hover"
10282
10291
  }
10283
10292
  },
10284
10293
  itemGroupLabel: {
@@ -10315,19 +10324,19 @@ var menuSlotRecipe = react.defineSlotRecipe({
10315
10324
  core: {
10316
10325
  content: {
10317
10326
  border: "1px solid",
10318
- borderColor: "core.outline"
10327
+ borderColor: "outline.core"
10319
10328
  }
10320
10329
  },
10321
10330
  accent: {
10322
10331
  content: {
10323
10332
  border: "1px solid",
10324
- borderColor: "core.outline"
10333
+ borderColor: "outline.core"
10325
10334
  }
10326
10335
  },
10327
10336
  floating: {
10328
10337
  content: {
10329
10338
  border: "sm",
10330
- borderColor: "floating.outline",
10339
+ borderColor: "outline.floating",
10331
10340
  boxShadow: "lg"
10332
10341
  }
10333
10342
  }
@@ -10415,7 +10424,7 @@ var numericStepperRecipe = react.defineSlotRecipe({
10415
10424
  textAlign: "center",
10416
10425
  transitionProperty: "common",
10417
10426
  transitionDuration: "fast",
10418
- color: "core.text",
10427
+ color: "text.core",
10419
10428
  backgroundColor: "transparent",
10420
10429
  _focus: {
10421
10430
  backgroundColor: "surface",
@@ -10423,7 +10432,7 @@ var numericStepperRecipe = react.defineSlotRecipe({
10423
10432
  outlineColor: "outline.focus"
10424
10433
  },
10425
10434
  _active: {
10426
- backgroundColor: "accent.surface.active"
10435
+ backgroundColor: "surface.accent.active"
10427
10436
  },
10428
10437
  _disabled: {
10429
10438
  pointerEvents: "none",
@@ -10431,7 +10440,7 @@ var numericStepperRecipe = react.defineSlotRecipe({
10431
10440
  },
10432
10441
  _hover: {
10433
10442
  outline: "1px solid",
10434
- outlineColor: "core.outline"
10443
+ outlineColor: "outline.core"
10435
10444
  }
10436
10445
  },
10437
10446
  text: {
@@ -10441,7 +10450,7 @@ var numericStepperRecipe = react.defineSlotRecipe({
10441
10450
  paddingX: 1,
10442
10451
  textAlign: "center",
10443
10452
  width: "4ch",
10444
- color: "core.text"
10453
+ color: "text.core"
10445
10454
  },
10446
10455
  button: {
10447
10456
  outlineOffset: "-2px",
@@ -10475,18 +10484,18 @@ var paginationSlotRecipe = react.defineSlotRecipe({
10475
10484
  width: "5",
10476
10485
  fontSize: "xs",
10477
10486
  borderRadius: "xl",
10478
- color: "core.text",
10487
+ color: "text.core",
10479
10488
  cursor: "pointer",
10480
10489
  _hover: {
10481
- background: "ghost.surface.hover",
10490
+ background: "surface.ghost.hover",
10482
10491
  _active: {
10483
- background: "ghost.surface.active"
10492
+ background: "surface.ghost.active"
10484
10493
  }
10485
10494
  },
10486
10495
  _selected: {
10487
10496
  cursor: "default",
10488
10497
  fontWeight: "bold",
10489
- backgroundColor: "core.surface.active"
10498
+ backgroundColor: "surface.core.active"
10490
10499
  }
10491
10500
  },
10492
10501
  list: {
@@ -10506,11 +10515,11 @@ var popoverSlotRecipe = react.defineSlotRecipe({
10506
10515
  position: "relative",
10507
10516
  display: "flex",
10508
10517
  flexDirection: "row-reverse",
10509
- color: "text.inverted",
10518
+ color: "text.brand",
10510
10519
  gap: "0.625rem",
10511
10520
  padding: "0.563rem 0.75rem",
10512
10521
  textStyle: "sm",
10513
- bg: "surface.tertiary",
10522
+ bg: "surface.brand",
10514
10523
  boxShadow: "lg",
10515
10524
  borderRadius: "sm",
10516
10525
  zIndex: "popover",
@@ -10527,14 +10536,14 @@ var popoverSlotRecipe = react.defineSlotRecipe({
10527
10536
  }
10528
10537
  },
10529
10538
  body: {
10530
- color: "text.inverted",
10539
+ color: "text.brand",
10531
10540
  alignItems: "center",
10532
10541
  borderRadius: "sm",
10533
10542
  zIndex: "inherit",
10534
10543
  maxWidth: "20em"
10535
10544
  },
10536
10545
  arrow: {
10537
- "--arrow-background": "colors.surface.tertiary",
10546
+ "--arrow-background": "colors.surface.brand",
10538
10547
  "--arrow-size": "6px"
10539
10548
  }
10540
10549
  },
@@ -10578,7 +10587,7 @@ var progressBarRecipe = react.defineSlotRecipe({
10578
10587
  },
10579
10588
  background: {
10580
10589
  display: "flex",
10581
- backgroundColor: "accent.surface.hover",
10590
+ backgroundColor: "surface.accent.hover",
10582
10591
  borderRadius: "sm",
10583
10592
  boxPack: "start",
10584
10593
  justifyContent: "flex-start",
@@ -10589,7 +10598,7 @@ var progressBarRecipe = react.defineSlotRecipe({
10589
10598
  borderRadius: "sm"
10590
10599
  },
10591
10600
  progress: {
10592
- backgroundColor: "brand.surface.active",
10601
+ backgroundColor: "surface.brand.active",
10593
10602
  borderRadius: "sm",
10594
10603
  maxWidth: "100%",
10595
10604
  transition: "width .2s ease-out"
@@ -10619,7 +10628,7 @@ var progressIndicatorRecipe = react.defineSlotRecipe({
10619
10628
  width: 1,
10620
10629
  fill: "icon.disabled",
10621
10630
  "&[aria-current='step']": {
10622
- fill: "brand.surface"
10631
+ fill: "surface.brand"
10623
10632
  }
10624
10633
  }
10625
10634
  }
@@ -10659,17 +10668,17 @@ var radioGroupSlotRecipe = react.defineSlotRecipe({
10659
10668
  justifyContent: "center",
10660
10669
  verticalAlign: "top",
10661
10670
  borderWidth: "2px",
10662
- borderColor: "core.outline",
10671
+ borderColor: "outline.core",
10663
10672
  borderRadius: "xl",
10664
10673
  width: 4,
10665
10674
  height: 4,
10666
10675
  _checked: {
10667
- borderColor: "brand.surface"
10676
+ borderColor: "surface.brand"
10668
10677
  },
10669
10678
  _hover: {
10670
- borderColor: "brand.surface.hover",
10679
+ borderColor: "surface.brand.hover",
10671
10680
  "& .dot": {
10672
- backgroundColor: "brand.surface.hover"
10681
+ backgroundColor: "surface.brand.hover"
10673
10682
  }
10674
10683
  },
10675
10684
  _disabled: {
@@ -10690,7 +10699,7 @@ var radioGroupSlotRecipe = react.defineSlotRecipe({
10690
10699
  height: "full",
10691
10700
  width: "full",
10692
10701
  borderRadius: "xl",
10693
- backgroundColor: "brand.surface",
10702
+ backgroundColor: "surface.brand",
10694
10703
  scale: "0.5"
10695
10704
  }
10696
10705
  }
@@ -10742,15 +10751,15 @@ var radioCardSlotRecipe = react.defineSlotRecipe({
10742
10751
  variant: {
10743
10752
  core: {
10744
10753
  item: {
10745
- outlineColor: "core.outline",
10754
+ outlineColor: "outline.core",
10746
10755
  outlineWidth: tokens22__namespace.default.size.stroke.sm,
10747
10756
  outlineStyle: "solid",
10748
10757
  _hover: {
10749
- outlineColor: "core.outline.hover",
10758
+ outlineColor: "outline.core.hover",
10750
10759
  outlineWidth: tokens22__namespace.default.size.stroke.md,
10751
10760
  outlineStyle: "solid",
10752
10761
  _active: {
10753
- backgroundColor: "core.surface.active",
10762
+ backgroundColor: "surface.core.active",
10754
10763
  outlineWidth: tokens22__namespace.default.size.stroke.sm
10755
10764
  }
10756
10765
  },
@@ -10758,7 +10767,7 @@ var radioCardSlotRecipe = react.defineSlotRecipe({
10758
10767
  outlineColor: "outline.focus",
10759
10768
  outlineWidth: tokens22__namespace.default.size.stroke.md,
10760
10769
  outlineStyle: "solid",
10761
- backgroundColor: "core.surface.active",
10770
+ backgroundColor: "surface.core.active",
10762
10771
  _focusVisible: {
10763
10772
  outlineStyle: "double",
10764
10773
  outlineWidth: `calc(3 * ${tokens22__namespace.default.size.stroke.md})`
@@ -10772,15 +10781,15 @@ var radioCardSlotRecipe = react.defineSlotRecipe({
10772
10781
  boxShadow: "0px 1px 3px 0px var(--shadow-color)",
10773
10782
  shadowColor: "surface.disabled",
10774
10783
  border: "sm",
10775
- borderColor: "floating.outline",
10776
- background: "floating.surface",
10784
+ borderColor: "outline.floating",
10785
+ background: "surface.floating",
10777
10786
  _hover: {
10778
- background: "floating.surface.hover",
10779
- borderColor: "floating.outline.hover",
10787
+ background: "surface.floating.hover",
10788
+ borderColor: "outline.floating.hover",
10780
10789
  boxShadow: "0px 2px 6px 0px var(--shadow-color)",
10781
10790
  _active: {
10782
- background: "floating.surface.active",
10783
- borderColor: "floating.outline.active",
10791
+ background: "surface.floating.active",
10792
+ borderColor: "outline.neutral",
10784
10793
  boxShadow: "none"
10785
10794
  }
10786
10795
  },
@@ -10788,7 +10797,7 @@ var radioCardSlotRecipe = react.defineSlotRecipe({
10788
10797
  outlineColor: "outline.focus",
10789
10798
  outlineWidth: tokens22__namespace.default.size.stroke.md,
10790
10799
  outlineStyle: "solid",
10791
- backgroundColor: "core.surface.active",
10800
+ backgroundColor: "surface.core.active",
10792
10801
  _focusVisible: {
10793
10802
  outlineStyle: "double",
10794
10803
  outlineWidth: `calc(3 * ${tokens22__namespace.default.size.stroke.md})`
@@ -10868,7 +10877,7 @@ var selectSlotRecipe = react.defineSlotRecipe({
10868
10877
  color: {
10869
10878
  base: "text",
10870
10879
  _disabled: "text.disabled",
10871
- _invalid: "text.secondary"
10880
+ _invalid: "text.highlight"
10872
10881
  },
10873
10882
  _icon: {
10874
10883
  width: 3,
@@ -10905,14 +10914,14 @@ var selectSlotRecipe = react.defineSlotRecipe({
10905
10914
  justifyContent: "space-between",
10906
10915
  gap: 1,
10907
10916
  borderRadius: "sm",
10908
- color: "ghost.text",
10917
+ color: "text.ghost",
10909
10918
  cursor: "pointer",
10910
10919
  outline: "none",
10911
10920
  "&[data-highlighted]:hover": {
10912
10921
  outlineOffset: "2px",
10913
10922
  outline: "2px solid",
10914
10923
  outlineColor: "outline.focus",
10915
- backgroundColor: "accent.surface.hover"
10924
+ backgroundColor: "surface.accent.hover"
10916
10925
  },
10917
10926
  "&[data-highlighted]": {
10918
10927
  outlineOffset: "2px",
@@ -10920,7 +10929,7 @@ var selectSlotRecipe = react.defineSlotRecipe({
10920
10929
  outlineColor: "outline.focus"
10921
10930
  },
10922
10931
  _active: {
10923
- backgroundColor: "accent.surface.active"
10932
+ backgroundColor: "surface.accent.active"
10924
10933
  },
10925
10934
  _highlighted: {
10926
10935
  _active: {
@@ -10928,12 +10937,12 @@ var selectSlotRecipe = react.defineSlotRecipe({
10928
10937
  }
10929
10938
  },
10930
10939
  _hover: {
10931
- backgroundColor: "accent.surface.hover",
10940
+ backgroundColor: "surface.accent.hover",
10932
10941
  outline: "2px solid core.outline",
10933
10942
  outlineOffset: "2px"
10934
10943
  },
10935
10944
  _selected: {
10936
- backgroundColor: "accent.surface"
10945
+ backgroundColor: "surface.accent"
10937
10946
  },
10938
10947
  _icon: {
10939
10948
  width: 3,
@@ -10968,9 +10977,9 @@ var selectSlotRecipe = react.defineSlotRecipe({
10968
10977
  valueText: {},
10969
10978
  itemDescription: {
10970
10979
  fontSize: ["mobile.xs", "desktop.xs"],
10971
- color: "ghost.text",
10980
+ color: "text.ghost",
10972
10981
  "[aria-selected='true'] &": {
10973
- color: "ghost.text"
10982
+ color: "text.ghost"
10974
10983
  }
10975
10984
  }
10976
10985
  },
@@ -10979,13 +10988,13 @@ var selectSlotRecipe = react.defineSlotRecipe({
10979
10988
  core: {
10980
10989
  control: {
10981
10990
  outline: "1px solid",
10982
- outlineColor: "core.outline",
10991
+ outlineColor: "outline.core",
10983
10992
  _hover: {
10984
10993
  outline: "2px solid",
10985
- outlineColor: "core.outline"
10994
+ outlineColor: "outline.core"
10986
10995
  },
10987
10996
  _active: {
10988
- backgroundColor: "brand.surface.active"
10997
+ backgroundColor: "surface.brand.active"
10989
10998
  },
10990
10999
  _disabled: {
10991
11000
  pointerEvents: "none",
@@ -10997,13 +11006,13 @@ var selectSlotRecipe = react.defineSlotRecipe({
10997
11006
  floating: {
10998
11007
  control: {
10999
11008
  outline: "1px solid",
11000
- outlineColor: "floating.outline",
11009
+ outlineColor: "outline.floating",
11001
11010
  _hover: {
11002
11011
  outline: "2px solid",
11003
- outlineColor: "floating.outline"
11012
+ outlineColor: "outline.floating"
11004
11013
  },
11005
11014
  _active: {
11006
- backgroundColor: "brand.surface.active"
11015
+ backgroundColor: "surface.brand.active"
11007
11016
  },
11008
11017
  _disabled: {
11009
11018
  pointerEvents: "none",
@@ -11017,7 +11026,7 @@ var selectSlotRecipe = react.defineSlotRecipe({
11017
11026
  rightSideSquare: {
11018
11027
  control: {
11019
11028
  outline: "1px solid",
11020
- outlineColor: "core.outline"
11029
+ outlineColor: "outline.core"
11021
11030
  },
11022
11031
  trigger: {
11023
11032
  _focus: {
@@ -11028,7 +11037,7 @@ var selectSlotRecipe = react.defineSlotRecipe({
11028
11037
  leftSideSquare: {
11029
11038
  control: {
11030
11039
  outline: "1px solid",
11031
- outlineColor: "core.outline"
11040
+ outlineColor: "outline.core"
11032
11041
  },
11033
11042
  trigger: {
11034
11043
  _focus: {
@@ -11096,7 +11105,7 @@ var stepperSlotRecipe = react.defineSlotRecipe({
11096
11105
  },
11097
11106
  accent: {
11098
11107
  root: {
11099
- backgroundColor: "accent.bg"
11108
+ backgroundColor: "bg.accent"
11100
11109
  },
11101
11110
  stepButton: {
11102
11111
  color: {
@@ -11104,13 +11113,13 @@ var stepperSlotRecipe = react.defineSlotRecipe({
11104
11113
  _dark: "whiteAlpha.900"
11105
11114
  },
11106
11115
  _disabled: {
11107
- color: "core.text"
11116
+ color: "text.core"
11108
11117
  },
11109
11118
  _currentStep: {
11110
- color: "accent.text"
11119
+ color: "text.accent"
11111
11120
  },
11112
11121
  _hover: {
11113
- backgroundColor: "accent.surface.hover",
11122
+ backgroundColor: "surface.accent.hover",
11114
11123
  _disabled: {
11115
11124
  backgroundColor: "transparent"
11116
11125
  }
@@ -11118,7 +11127,7 @@ var stepperSlotRecipe = react.defineSlotRecipe({
11118
11127
  },
11119
11128
  backButton: {
11120
11129
  _hover: {
11121
- backgroundColor: "brand.surface.hover"
11130
+ backgroundColor: "surface.brand.hover"
11122
11131
  }
11123
11132
  }
11124
11133
  }
@@ -11152,7 +11161,7 @@ var switchSlotRecipe = react.defineSlotRecipe({
11152
11161
  justifyContent: "center",
11153
11162
  width: "var(--switch-height)",
11154
11163
  height: "var(--switch-height)",
11155
- backgroundColor: "core.icon",
11164
+ backgroundColor: "icon.core",
11156
11165
  _disabled: {
11157
11166
  backgroundColor: "icon.disabled",
11158
11167
  _checked: {
@@ -11161,7 +11170,7 @@ var switchSlotRecipe = react.defineSlotRecipe({
11161
11170
  },
11162
11171
  _checked: {
11163
11172
  translate: "var(--switch-x) 0",
11164
- backgroundColor: "brand.icon"
11173
+ backgroundColor: "icon.brand"
11165
11174
  }
11166
11175
  },
11167
11176
  label: {
@@ -11190,13 +11199,13 @@ var switchSlotRecipe = react.defineSlotRecipe({
11190
11199
  transitionDuration: "fast",
11191
11200
  outline: "1px solid",
11192
11201
  outlineOffset: "-1px",
11193
- outlineColor: "core.outline",
11202
+ outlineColor: "outline.core",
11194
11203
  _hover: {
11195
11204
  outline: "2px solid",
11196
- outlineColor: "core.outline.hover",
11205
+ outlineColor: "outline.core.hover",
11197
11206
  _checked: {
11198
11207
  outlineColor: "transparent",
11199
- backgroundColor: "brand.surface.hover"
11208
+ backgroundColor: "surface.brand.hover"
11200
11209
  }
11201
11210
  },
11202
11211
  _focusVisible: {
@@ -11205,7 +11214,7 @@ var switchSlotRecipe = react.defineSlotRecipe({
11205
11214
  outlineStyle: "double"
11206
11215
  },
11207
11216
  _checked: {
11208
- backgroundColor: "brand.surface",
11217
+ backgroundColor: "surface.brand",
11209
11218
  outline: "none",
11210
11219
  _focusVisible: {
11211
11220
  outlineOffset: "1px",
@@ -11304,10 +11313,10 @@ var tableSlotRecipe = react.defineSlotRecipe({
11304
11313
  backgroundColor: "bg"
11305
11314
  },
11306
11315
  header: {
11307
- backgroundColor: "bg.tertiary"
11316
+ backgroundColor: "bg.brand"
11308
11317
  },
11309
11318
  columnHeader: {
11310
- color: "text.secondary"
11319
+ color: "text.highlight"
11311
11320
  }
11312
11321
  },
11313
11322
  grey: {
@@ -11516,26 +11525,26 @@ var tabsSlotRecipe = react.defineSlotRecipe({
11516
11525
  variant: {
11517
11526
  core: {
11518
11527
  list: {
11519
- color: "core.text",
11528
+ color: "text.core",
11520
11529
  border: "sm"
11521
11530
  },
11522
11531
  trigger: {
11523
- color: "core.text",
11532
+ color: "text.core",
11524
11533
  border: "md",
11525
11534
  borderColor: "transparent",
11526
11535
  _hover: {
11527
11536
  outline: "2px solid",
11528
- outlineColor: "core.outline.hover",
11537
+ outlineColor: "outline.core.hover",
11529
11538
  outlineOffset: "-2px"
11530
11539
  },
11531
11540
  _active: {
11532
- backgroundColor: "brand.surface.active",
11533
- color: "brand.text",
11541
+ backgroundColor: "surface.brand.active",
11542
+ color: "text.brand",
11534
11543
  outline: "none"
11535
11544
  },
11536
11545
  _selected: {
11537
- backgroundColor: "brand.surface",
11538
- color: "brand.text",
11546
+ backgroundColor: "surface.brand",
11547
+ color: "text.brand",
11539
11548
  _hover: {
11540
11549
  outline: "none"
11541
11550
  }
@@ -11548,28 +11557,28 @@ var tabsSlotRecipe = react.defineSlotRecipe({
11548
11557
  },
11549
11558
  accent: {
11550
11559
  list: {
11551
- backgroundColor: "accent.bg",
11552
- color: "accent.text"
11560
+ backgroundColor: "bg.accent",
11561
+ color: "text.accent"
11553
11562
  },
11554
11563
  trigger: {
11555
- color: "accent.text",
11564
+ color: "text.accent",
11556
11565
  _disabled: {
11557
11566
  backgroundColor: "surface.disabled",
11558
11567
  color: "icon.disabled"
11559
11568
  },
11560
11569
  _hover: {
11561
- backgroundColor: "accent.surface.hover",
11570
+ backgroundColor: "surface.accent.hover",
11562
11571
  _active: {
11563
- backgroundColor: "brand.surface.active",
11564
- color: "brand.text"
11572
+ backgroundColor: "surface.brand.active",
11573
+ color: "text.brand"
11565
11574
  }
11566
11575
  },
11567
11576
  _selected: {
11568
- backgroundColor: "brand.surface",
11569
- color: "brand.text",
11577
+ backgroundColor: "surface.brand",
11578
+ color: "text.brand",
11570
11579
  _hover: {
11571
- backgroundColor: "brand.surface.hover",
11572
- color: "brand.text",
11580
+ backgroundColor: "surface.brand.hover",
11581
+ color: "text.brand",
11573
11582
  outline: "none"
11574
11583
  }
11575
11584
  }
@@ -11617,7 +11626,7 @@ var tabsSlotRecipe = react.defineSlotRecipe({
11617
11626
  paddingX: 3,
11618
11627
  _focus: {
11619
11628
  border: "md",
11620
- borderColor: "accent.surface"
11629
+ borderColor: "surface.accent"
11621
11630
  }
11622
11631
  }
11623
11632
  }
@@ -11648,13 +11657,13 @@ var toastSlotRecipe = react.defineSlotRecipe({
11648
11657
  boxShadow: "xl",
11649
11658
  color: "text",
11650
11659
  "&[data-type=success]": {
11651
- backgroundColor: "alert.success.surface"
11660
+ backgroundColor: "surface.success"
11652
11661
  },
11653
11662
  "&[data-type=error]": {
11654
- backgroundColor: "alert.error.surface"
11663
+ backgroundColor: "surface.critical"
11655
11664
  },
11656
11665
  "&[data-type=info]": {
11657
- backgroundColor: "alert.info.surface"
11666
+ backgroundColor: "surface.info"
11658
11667
  }
11659
11668
  },
11660
11669
  title: {