@vygruppen/spor-react 13.0.3 → 13.1.1

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 (70) hide show
  1. package/.turbo/turbo-build.log +12 -12
  2. package/.turbo/turbo-postinstall.log +2 -2
  3. package/CHANGELOG.md +24 -0
  4. package/dist/index.cjs +509 -427
  5. package/dist/index.cjs.map +1 -1
  6. package/dist/index.d.cts +178 -177
  7. package/dist/index.d.ts +178 -177
  8. package/dist/index.mjs +509 -426
  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/Menu.tsx +9 -5
  20. package/src/input/Popover.tsx +9 -7
  21. package/src/linjetag/LineIcon.tsx +1 -1
  22. package/src/loader/ColorInlineLoader.tsx +2 -1
  23. package/src/loader/ColorSpinner.tsx +2 -1
  24. package/src/loader/ContentLoader.tsx +2 -1
  25. package/src/loader/DarkFullScreenLoader.tsx +2 -1
  26. package/src/loader/DarkInlineLoader.tsx +2 -1
  27. package/src/loader/DarkSpinner.tsx +2 -1
  28. package/src/loader/LightFullScreenLoader.tsx +2 -1
  29. package/src/loader/LightInlineLoader.tsx +2 -1
  30. package/src/loader/LightSpinner.tsx +2 -1
  31. package/src/loader/Lottie.tsx +3 -2
  32. package/src/loader/text.ts +15 -0
  33. package/src/stepper/StepperStep.tsx +2 -2
  34. package/src/theme/recipes/badge.ts +120 -48
  35. package/src/theme/recipes/button.ts +22 -22
  36. package/src/theme/recipes/close-button.ts +2 -2
  37. package/src/theme/recipes/input.ts +9 -9
  38. package/src/theme/recipes/link.ts +1 -1
  39. package/src/theme/recipes/pressable-card.ts +12 -12
  40. package/src/theme/recipes/skeleton.ts +1 -1
  41. package/src/theme/recipes/static-card.ts +8 -8
  42. package/src/theme/semantic-tokens/colors.ts +1 -1
  43. package/src/theme/slot-recipes/accordion.ts +10 -10
  44. package/src/theme/slot-recipes/alert-expandable.ts +35 -35
  45. package/src/theme/slot-recipes/alert-service.ts +10 -10
  46. package/src/theme/slot-recipes/alert.ts +11 -11
  47. package/src/theme/slot-recipes/autocomplete.ts +5 -5
  48. package/src/theme/slot-recipes/breadcrumb.ts +4 -4
  49. package/src/theme/slot-recipes/checkbox.ts +11 -17
  50. package/src/theme/slot-recipes/choice-chip.ts +21 -21
  51. package/src/theme/slot-recipes/datepicker.ts +29 -29
  52. package/src/theme/slot-recipes/field.ts +3 -3
  53. package/src/theme/slot-recipes/floating-action-button.ts +14 -14
  54. package/src/theme/slot-recipes/input-chip.ts +10 -10
  55. package/src/theme/slot-recipes/listbox.ts +9 -9
  56. package/src/theme/slot-recipes/media-controller-button.ts +9 -9
  57. package/src/theme/slot-recipes/menu.ts +7 -7
  58. package/src/theme/slot-recipes/numeric-stepper.ts +4 -4
  59. package/src/theme/slot-recipes/pagination.ts +4 -4
  60. package/src/theme/slot-recipes/popover.ts +4 -4
  61. package/src/theme/slot-recipes/progress-bar.ts +2 -2
  62. package/src/theme/slot-recipes/progress-indicator.ts +1 -1
  63. package/src/theme/slot-recipes/radio-card.ts +11 -11
  64. package/src/theme/slot-recipes/radio.ts +5 -5
  65. package/src/theme/slot-recipes/select.ts +16 -16
  66. package/src/theme/slot-recipes/stepper.ts +5 -5
  67. package/src/theme/slot-recipes/switch.ts +6 -6
  68. package/src/theme/slot-recipes/table.ts +2 -2
  69. package/src/theme/slot-recipes/tabs.ts +18 -18
  70. 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.success",
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
  },
@@ -780,10 +794,19 @@ var badgeRecipie = react.defineRecipe({
780
794
  colorPalette: "blue",
781
795
  inverted: true,
782
796
  css: {
783
- backgroundColor: "badge.blue.surface.inverted",
784
- color: "badge.blue.text.inverted",
797
+ backgroundColor: {
798
+ _light: "darkBlue",
799
+ _dark: "lightBlue"
800
+ },
801
+ color: {
802
+ _light: "icyBlue",
803
+ _dark: "royal"
804
+ },
785
805
  "& svg": {
786
- color: "badge.blue.icon.inverted"
806
+ color: {
807
+ _light: "royal",
808
+ _dark: "icyBlue"
809
+ }
787
810
  }
788
811
  }
789
812
  },
@@ -791,10 +814,19 @@ var badgeRecipie = react.defineRecipe({
791
814
  colorPalette: "green",
792
815
  inverted: true,
793
816
  css: {
794
- backgroundColor: "badge.green.surface.inverted",
795
- color: "badge.green.text.inverted",
817
+ backgroundColor: {
818
+ _light: "darkTeal",
819
+ _dark: "seaMist"
820
+ },
821
+ color: {
822
+ _light: "mint",
823
+ _dark: "jungle"
824
+ },
796
825
  "& svg": {
797
- color: "badge.green.icon.inverted"
826
+ color: {
827
+ _light: "mint",
828
+ _dark: "jungle"
829
+ }
798
830
  }
799
831
  }
800
832
  },
@@ -802,10 +834,19 @@ var badgeRecipie = react.defineRecipe({
802
834
  colorPalette: "grey",
803
835
  inverted: true,
804
836
  css: {
805
- backgroundColor: "badge.grey.surface.inverted",
806
- color: "badge.grey.text.inverted",
837
+ backgroundColor: {
838
+ _light: "carbon",
839
+ _dark: "platinum"
840
+ },
841
+ color: {
842
+ _light: "white",
843
+ _dark: "darkGrey"
844
+ },
807
845
  "& svg": {
808
- color: "badge.grey.icon.inverted"
846
+ color: {
847
+ _light: "white",
848
+ _dark: "darkGrey"
849
+ }
809
850
  }
810
851
  }
811
852
  },
@@ -814,10 +855,19 @@ var badgeRecipie = react.defineRecipe({
814
855
  colorPalette: "cream",
815
856
  inverted: true,
816
857
  css: {
817
- backgroundColor: "badge.cream.surface.inverted",
818
- color: "badge.cream.text.inverted",
858
+ backgroundColor: {
859
+ _light: "coffee",
860
+ _dark: "blonde"
861
+ },
862
+ color: {
863
+ _light: "cornsilk",
864
+ _dark: "coffee"
865
+ },
819
866
  "& svg": {
820
- color: "badge.cream.icon.inverted"
867
+ color: {
868
+ _light: "cornsilk",
869
+ _dark: "coffee"
870
+ }
821
871
  }
822
872
  }
823
873
  },
@@ -825,10 +875,19 @@ var badgeRecipie = react.defineRecipe({
825
875
  colorPalette: "yellow",
826
876
  inverted: true,
827
877
  css: {
828
- backgroundColor: "badge.yellow.surface.inverted",
829
- color: "badge.yellow.text.inverted",
878
+ backgroundColor: {
879
+ _light: "bronze",
880
+ _dark: "banana"
881
+ },
882
+ color: {
883
+ _light: "cornsilk",
884
+ _dark: "coffee"
885
+ },
830
886
  "& svg": {
831
- color: "badge.yellow.icon.inverted"
887
+ color: {
888
+ _light: "cornsilk",
889
+ _dark: "coffee"
890
+ }
832
891
  }
833
892
  }
834
893
  },
@@ -836,10 +895,19 @@ var badgeRecipie = react.defineRecipe({
836
895
  colorPalette: "orange",
837
896
  inverted: true,
838
897
  css: {
839
- backgroundColor: "badge.orange.surface.inverted",
840
- color: "badge.orange.text.inverted",
898
+ backgroundColor: {
899
+ _light: "wood",
900
+ _dark: "champagne"
901
+ },
902
+ color: {
903
+ _light: "bisque",
904
+ _dark: "wood"
905
+ },
841
906
  "& svg": {
842
- color: "badge.orange.icon.inverted"
907
+ color: {
908
+ _light: "bisque",
909
+ _dark: "wood"
910
+ }
843
911
  }
844
912
  }
845
913
  },
@@ -847,10 +915,19 @@ var badgeRecipie = react.defineRecipe({
847
915
  colorPalette: "red",
848
916
  inverted: true,
849
917
  css: {
850
- backgroundColor: "badge.red.surface.inverted",
851
- color: "badge.red.text.inverted",
918
+ backgroundColor: {
919
+ _light: "burgundy",
920
+ _dark: "lightRed"
921
+ },
922
+ color: {
923
+ _light: "pink",
924
+ _dark: "maroon"
925
+ },
852
926
  "& svg": {
853
- color: "badge.red.icon.inverted"
927
+ color: {
928
+ _light: "pink",
929
+ _dark: "maroon"
930
+ }
854
931
  }
855
932
  }
856
933
  },
@@ -859,10 +936,19 @@ var badgeRecipie = react.defineRecipe({
859
936
  colorPalette: "neutral",
860
937
  inverted: true,
861
938
  css: {
862
- backgroundColor: "badge.surface.inverted",
863
- color: "badge.text.inverted",
939
+ backgroundColor: {
940
+ _light: "ink",
941
+ _dark: "white"
942
+ },
943
+ color: {
944
+ _light: "white",
945
+ _dark: "darkGrey"
946
+ },
864
947
  "& svg": {
865
- color: "badge.icon.inverted"
948
+ color: {
949
+ _light: "white",
950
+ _dark: "darkGrey"
951
+ }
866
952
  }
867
953
  }
868
954
  }
@@ -1108,10 +1194,10 @@ var BaseAlertIcon = ({
1108
1194
  }) => {
1109
1195
  const css = {
1110
1196
  "& path:first-of-type": {
1111
- fill: `alert.${variant}.icon`
1197
+ fill: `icon.${variant}`
1112
1198
  },
1113
1199
  "& path:not(:first-of-type)": {
1114
- fill: `alert.${variant}.surface`
1200
+ fill: `surface.${variant}`
1115
1201
  }
1116
1202
  };
1117
1203
  switch (variant) {
@@ -1299,6 +1385,7 @@ var ServiceAlert = ({
1299
1385
  css: { ...styles.root, ...css },
1300
1386
  ref,
1301
1387
  ...rest,
1388
+ className: "light",
1302
1389
  children: /* @__PURE__ */ jsxRuntime.jsxs(react.Accordion.Item, { value: defaultValue, children: [
1303
1390
  /* @__PURE__ */ jsxRuntime.jsx(react.Accordion.ItemTrigger, { css: styles.itemTrigger, children: /* @__PURE__ */ jsxRuntime.jsxs(
1304
1391
  react.HStack,
@@ -1327,7 +1414,7 @@ var ServiceAlert = ({
1327
1414
  ] }),
1328
1415
  /* @__PURE__ */ jsxRuntime.jsxs(react.Flex, { alignItems: "center", gap: [0.5, null, null, 1], children: [
1329
1416
  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" }) })
1417
+ /* @__PURE__ */ jsxRuntime.jsx(react.Accordion.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(spor_icon_react_star.DropdownDownFill24Icon, { color: "icon.brand" }) })
1331
1418
  ] })
1332
1419
  ]
1333
1420
  }
@@ -1692,18 +1779,18 @@ var cellStyles = {
1692
1779
  },
1693
1780
  // Selection edge (single-mode selected OR range start/end)
1694
1781
  "&[data-edge]": {
1695
- backgroundColor: "brand.surface",
1696
- color: "text.inverted"
1782
+ backgroundColor: "surface.brand",
1783
+ color: "text.brand"
1697
1784
  },
1698
1785
  // Range middle
1699
1786
  "&[data-middle]": {
1700
- backgroundColor: "surface.secondary",
1787
+ backgroundColor: "surface.subtle",
1701
1788
  color: "text"
1702
1789
  },
1703
1790
  // Hover for non-selected, non-disabled cells on devices that support hover
1704
1791
  "@media (hover: hover)": {
1705
1792
  "&:not([data-edge]):not([data-middle]):not([data-disabled]):hover": {
1706
- backgroundColor: "surface.secondary",
1793
+ backgroundColor: "surface.subtle",
1707
1794
  color: "text"
1708
1795
  }
1709
1796
  }
@@ -2106,7 +2193,7 @@ var Field3 = ({
2106
2193
  ]
2107
2194
  }
2108
2195
  ),
2109
- helperText && /* @__PURE__ */ jsxRuntime.jsx(Text3, { variant: "sm", color: "text.tertiary", children: helperText })
2196
+ helperText && /* @__PURE__ */ jsxRuntime.jsx(Text3, { variant: "sm", color: "text.subtle", children: helperText })
2110
2197
  ] });
2111
2198
  };
2112
2199
  var FieldErrorText = ({
@@ -2343,7 +2430,7 @@ var CalendarNavigator = ({
2343
2430
  fontWeight: "bold",
2344
2431
  flex: "1",
2345
2432
  textAlign: "center",
2346
- color: "core.text",
2433
+ color: "text.core",
2347
2434
  children: capitalize(title)
2348
2435
  }
2349
2436
  ),
@@ -3142,7 +3229,7 @@ var CloseDrawerLine = ({
3142
3229
  top: 0,
3143
3230
  marginY: 2,
3144
3231
  marginX: "auto",
3145
- backgroundColor: "floating.outline.active",
3232
+ backgroundColor: "outline.neutral",
3146
3233
  borderRadius: "xs",
3147
3234
  ...props,
3148
3235
  ref
@@ -3613,7 +3700,7 @@ var CardSelectContent = ({
3613
3700
  p: "2",
3614
3701
  bg: "bg",
3615
3702
  border: "sm",
3616
- borderColor: "floating.outline",
3703
+ borderColor: "outline.floating",
3617
3704
  borderRadius: "sm",
3618
3705
  ...props,
3619
3706
  children
@@ -3621,9 +3708,9 @@ var CardSelectContent = ({
3621
3708
  ) }) }) }) });
3622
3709
  };
3623
3710
  var bgActiveStyleMap = {
3624
- core: "core.surface.active",
3625
- ghost: "ghost.surface.active",
3626
- floating: "floating.surface.active"
3711
+ core: "surface.core.active",
3712
+ ghost: "surface.ghost.active",
3713
+ floating: "surface.floating.active"
3627
3714
  };
3628
3715
  var CardSelectTrigger = ({
3629
3716
  ref,
@@ -3708,9 +3795,15 @@ var Popover = ({
3708
3795
  hasBackdrop = true,
3709
3796
  containerPadding = 12
3710
3797
  }) => {
3711
- var _a6;
3712
3798
  const internalRef = React13.useRef(null);
3713
3799
  const popoverRef = ref ?? internalRef;
3800
+ React13.useLayoutEffect(() => {
3801
+ var _a6;
3802
+ const element = typeof popoverRef === "object" ? popoverRef == null ? void 0 : popoverRef.current : null;
3803
+ if (element) {
3804
+ element.style.minWidth = `${((_a6 = triggerRef.current) == null ? void 0 : _a6.clientWidth) ?? 0}px`;
3805
+ }
3806
+ });
3714
3807
  const { popoverProps, underlayProps } = reactAria.usePopover(
3715
3808
  {
3716
3809
  triggerRef,
@@ -3724,19 +3817,11 @@ var Popover = ({
3724
3817
  },
3725
3818
  state
3726
3819
  );
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
- );
3820
+ const popoverBox = /* @__PURE__ */ jsxRuntime.jsxs(react.Box, { ...popoverProps, ref: popoverRef, children: [
3821
+ /* @__PURE__ */ jsxRuntime.jsx(reactAria.DismissButton, { onDismiss: state.close }),
3822
+ children,
3823
+ /* @__PURE__ */ jsxRuntime.jsx(reactAria.DismissButton, { onDismiss: state.close })
3824
+ ] });
3740
3825
  if (isNonModal) {
3741
3826
  return popoverBox;
3742
3827
  }
@@ -3867,7 +3952,7 @@ var Combobox2 = (props) => {
3867
3952
  "aria-controls": listboxId,
3868
3953
  borderBottomLeftRadius: state.isOpen && !loading ? 0 : borderBottomLeftRadius,
3869
3954
  borderBottomRightRadius: state.isOpen && !loading ? 0 : borderBottomRightRadius,
3870
- _active: { backgroundColor: "core.surface.active" },
3955
+ _active: { backgroundColor: "surface.core.active" },
3871
3956
  ...filteredInputProps,
3872
3957
  startElement: leftIcon,
3873
3958
  endElement: loading ? /* @__PURE__ */ jsxRuntime.jsx(
@@ -4111,6 +4196,7 @@ var MenuTrigger = ({
4111
4196
  size,
4112
4197
  children,
4113
4198
  ref,
4199
+ withChevron = true,
4114
4200
  ...props
4115
4201
  }) => {
4116
4202
  const { variant } = useMenuContext();
@@ -4130,7 +4216,7 @@ var MenuTrigger = ({
4130
4216
  variant: getButtonVariant(),
4131
4217
  size,
4132
4218
  ...props,
4133
- rightIcon: /* @__PURE__ */ jsxRuntime.jsx(
4219
+ rightIcon: withChevron && /* @__PURE__ */ jsxRuntime.jsx(
4134
4220
  ChevronIcon,
4135
4221
  {
4136
4222
  transform: open ? "rotate(180deg)" : void 0,
@@ -5183,7 +5269,7 @@ var LineIcon = function LineIcon2({
5183
5269
  css: { ...styles.iconContainer, ...style },
5184
5270
  padding: targetPadding(),
5185
5271
  borderWidth: borderContainer(),
5186
- borderColor: variant === "walk" ? "core.outline" : "transparent",
5272
+ borderColor: variant === "walk" ? "outline.core" : "transparent",
5187
5273
  "aria-label": label,
5188
5274
  ref,
5189
5275
  className: clsx_default("light", rest.className),
@@ -6623,8 +6709,8 @@ var StepperStep = ({
6623
6709
  const state = getState(stepNumber, activeStep);
6624
6710
  const recipe = react.useSlotRecipe({ key: "stepper" });
6625
6711
  const style = recipe({ variant });
6626
- const disabledTextColor = "text.tertiary";
6627
- const iconColor = "text.tertiary";
6712
+ const disabledTextColor = "text.subtle";
6713
+ const iconColor = "text.subtle";
6628
6714
  const disabled = state !== "active" && disabledOverride || state === "disabled";
6629
6715
  return /* @__PURE__ */ jsxRuntime.jsxs(react.Box, { css: style.stepContainer, "data-part": "step-container", children: [
6630
6716
  stepNumber > 1 && /* @__PURE__ */ jsxRuntime.jsx(
@@ -6928,40 +7014,40 @@ var buttonRecipe = react.defineRecipe({
6928
7014
  variants: {
6929
7015
  variant: {
6930
7016
  primary: {
6931
- background: "brand.surface",
6932
- color: "brand.text",
7017
+ background: "surface.brand",
7018
+ color: "text.brand",
6933
7019
  fontWeight: "bold",
6934
7020
  _hover: {
6935
- background: "brand.surface.hover",
7021
+ background: "surface.brand.hover",
6936
7022
  _active: {
6937
- background: "brand.surface.active"
7023
+ background: "surface.brand.active"
6938
7024
  }
6939
7025
  }
6940
7026
  },
6941
7027
  secondary: {
6942
- background: "accent.surface",
6943
- color: "accent.text",
7028
+ background: "surface.accent",
7029
+ color: "text.accent",
6944
7030
  fontWeight: "bold",
6945
7031
  _hover: {
6946
- background: "accent.surface.hover",
7032
+ background: "surface.accent.hover",
6947
7033
  _active: {
6948
- background: "accent.surface.active"
7034
+ background: "surface.accent.active"
6949
7035
  }
6950
7036
  }
6951
7037
  },
6952
7038
  tertiary: {
6953
- color: "core.text",
7039
+ color: "text.core",
6954
7040
  outline: "solid",
6955
7041
  fontWeight: "normal",
6956
7042
  outlineWidth: tokens22__namespace.default.size.stroke.sm,
6957
- outlineColor: "core.outline",
7043
+ outlineColor: "outline.core",
6958
7044
  _hover: {
6959
7045
  outlineWidth: tokens22__namespace.default.size.stroke.md,
6960
- outlineColor: "core.outline.hover",
7046
+ outlineColor: "outline.core.hover",
6961
7047
  _active: {
6962
- background: "core.surface.active",
7048
+ background: "surface.core.active",
6963
7049
  outlineWidth: tokens22__namespace.default.size.stroke.sm,
6964
- outlineColor: "core.outline"
7050
+ outlineColor: "outline.core"
6965
7051
  }
6966
7052
  },
6967
7053
  _focus: {
@@ -6969,28 +7055,28 @@ var buttonRecipe = react.defineRecipe({
6969
7055
  }
6970
7056
  },
6971
7057
  ghost: {
6972
- color: "ghost.text",
7058
+ color: "text.ghost",
6973
7059
  fontWeight: "bold",
6974
7060
  _hover: {
6975
- background: "ghost.surface.hover",
7061
+ background: "surface.ghost.hover",
6976
7062
  _active: {
6977
- background: "ghost.surface.active"
7063
+ background: "surface.ghost.active"
6978
7064
  }
6979
7065
  }
6980
7066
  },
6981
7067
  floating: {
6982
- color: "floating.text",
6983
- background: "floating.surface",
7068
+ color: "text.floating",
7069
+ background: "surface.floating",
6984
7070
  fontWeight: "bold",
6985
7071
  border: "sm",
6986
- borderColor: "floating.outline",
7072
+ borderColor: "outline.floating",
6987
7073
  boxShadow: "0px 1px 3px 0px var(--spor-colors-surface-disabled, rgba(0, 0, 0, 0.10))",
6988
7074
  _hover: {
6989
- borderColor: "floating.outline.hover",
7075
+ borderColor: "outline.floating.hover",
6990
7076
  _active: {
6991
- background: "core.surface.active",
7077
+ background: "surface.core.active",
6992
7078
  boxShadow: "none",
6993
- borderColor: "floating.outline"
7079
+ borderColor: "outline.floating"
6994
7080
  }
6995
7081
  }
6996
7082
  }
@@ -7045,12 +7131,12 @@ var closeButtonRecipe = react.defineRecipe({
7045
7131
  color: "text",
7046
7132
  fontWeight: "normal",
7047
7133
  _hover: {
7048
- background: "ghost.surface.hover",
7134
+ background: "surface.ghost.hover",
7049
7135
  _disabled: {
7050
7136
  color: "icon.disabled"
7051
7137
  },
7052
7138
  _active: {
7053
- background: "ghost.surface.active"
7139
+ background: "surface.ghost.active"
7054
7140
  }
7055
7141
  }
7056
7142
  },
@@ -7125,7 +7211,7 @@ var inputRecipe = react.defineRecipe({
7125
7211
  },
7126
7212
  _hover: {
7127
7213
  outline: "2px solid",
7128
- outlineColor: "core.outline"
7214
+ outlineColor: "outline.core"
7129
7215
  }
7130
7216
  }
7131
7217
  },
@@ -7134,14 +7220,14 @@ var inputRecipe = react.defineRecipe({
7134
7220
  core: {
7135
7221
  backgroundColor: "transparent",
7136
7222
  outline: "1px solid",
7137
- outlineColor: "core.outline",
7223
+ outlineColor: "outline.core",
7138
7224
  _hover: {
7139
7225
  outline: "2px solid",
7140
- outlineColor: "core.outline.hover",
7226
+ outlineColor: "outline.core.hover",
7141
7227
  _active: {
7142
7228
  outline: "1px solid",
7143
7229
  outlineColor: "outline.disabled",
7144
- backgroundColor: "core.surface.active"
7230
+ backgroundColor: "surface.core.active"
7145
7231
  }
7146
7232
  },
7147
7233
  _focus: {
@@ -7151,17 +7237,17 @@ var inputRecipe = react.defineRecipe({
7151
7237
  },
7152
7238
  floating: {
7153
7239
  boxShadow: "sm",
7154
- bg: "floating.surface",
7240
+ bg: "surface.floating",
7155
7241
  outline: "1px solid",
7156
- outlineColor: "floating.outline",
7242
+ outlineColor: "outline.floating",
7157
7243
  _hover: {
7158
7244
  outline: "1px solid",
7159
- outlineColor: "floating.outline.hover"
7245
+ outlineColor: "outline.floating.hover"
7160
7246
  },
7161
7247
  _active: {
7162
7248
  outline: "1px solid",
7163
- outlineColor: "floating.outline.active",
7164
- backgroundColor: "floating.surface.active"
7249
+ outlineColor: "outline.neutral",
7250
+ backgroundColor: "surface.floating.active"
7165
7251
  },
7166
7252
  focus: {
7167
7253
  outline: "1px solid",
@@ -7204,7 +7290,7 @@ var linkRecipe = react.defineRecipe({
7204
7290
  variants: {
7205
7291
  variant: {
7206
7292
  primary: {
7207
- color: "core.text",
7293
+ color: "text.core",
7208
7294
  _hover: {
7209
7295
  color: "text",
7210
7296
  _active: {
@@ -7267,29 +7353,29 @@ var pressableCardRecipe = react.defineRecipe({
7267
7353
  boxShadow: "0px 1px 3px 0px var(--shadow-color)",
7268
7354
  shadowColor: "surface.disabled",
7269
7355
  border: "sm",
7270
- borderColor: "floating.outline",
7271
- backgroundColor: "floating.surface",
7356
+ borderColor: "outline.floating",
7357
+ backgroundColor: "surface.floating",
7272
7358
  _hover: {
7273
7359
  boxShadow: "0px 2px 6px 0px var(--shadow-color)",
7274
- backgroundColor: "floating.surface.hover",
7275
- borderColor: "floating.outline.hover",
7360
+ backgroundColor: "surface.floating.hover",
7361
+ borderColor: "outline.floating.hover",
7276
7362
  _active: {
7277
7363
  boxShadow: "none",
7278
- backgroundColor: "floating.surface.active",
7279
- borderColor: "floating.outline.active"
7364
+ backgroundColor: "surface.floating.active",
7365
+ borderColor: "outline.neutral"
7280
7366
  }
7281
7367
  }
7282
7368
  },
7283
7369
  core: {
7284
- outlineColor: "core.outline",
7370
+ outlineColor: "outline.core",
7285
7371
  outlineWidth: tokens22__namespace.default.size.stroke.sm,
7286
7372
  outlineStyle: "solid",
7287
7373
  _hover: {
7288
- outlineColor: "core.outline.hover",
7374
+ outlineColor: "outline.core.hover",
7289
7375
  outlineWidth: tokens22__namespace.default.size.stroke.md,
7290
7376
  outlineStyle: "solid",
7291
7377
  _active: {
7292
- backgroundColor: "core.surface.active",
7378
+ backgroundColor: "surface.core.active",
7293
7379
  outlineWidth: tokens22__namespace.default.size.stroke.sm
7294
7380
  }
7295
7381
  }
@@ -7297,12 +7383,12 @@ var pressableCardRecipe = react.defineRecipe({
7297
7383
  accent: {
7298
7384
  boxShadow: "0px 1px 3px 0px var(--shadow-color)",
7299
7385
  shadowColor: "surface.disabled",
7300
- background: "alert.success.surface",
7386
+ background: "surface.success",
7301
7387
  _hover: {
7302
- background: "alert.success.surface.hover",
7388
+ background: "surface.success.hover",
7303
7389
  boxShadow: "0px 2px 6px 0px var(--shadow-color)",
7304
7390
  _active: {
7305
- background: "alert.success.surface.active",
7391
+ background: "surface.success.active",
7306
7392
  boxShadow: "none"
7307
7393
  }
7308
7394
  }
@@ -7421,7 +7507,7 @@ var skeletonRecipe = react.defineRecipe({
7421
7507
  },
7422
7508
  none: {
7423
7509
  animation: "none",
7424
- background: "surface.color.grey"
7510
+ background: "surface.neutral"
7425
7511
  }
7426
7512
  }
7427
7513
  }
@@ -7433,29 +7519,29 @@ var staticCardRecipe = react.defineRecipe({
7433
7519
  variants: {
7434
7520
  colorPalette: {
7435
7521
  white: {
7436
- backgroundColor: "surface.color.neutral",
7522
+ backgroundColor: "surface",
7437
7523
  color: "text"
7438
7524
  },
7439
7525
  grey: {
7440
- backgroundColor: "surface.color.grey"
7526
+ backgroundColor: "surface.neutral"
7441
7527
  },
7442
7528
  yellow: {
7443
- backgroundColor: "surface.color.cream"
7529
+ backgroundColor: "surface.warning"
7444
7530
  },
7445
7531
  darkYellow: {
7446
- backgroundColor: "surface.color.yellow"
7532
+ backgroundColor: "surface.notice"
7447
7533
  },
7448
7534
  red: {
7449
- backgroundColor: "surface.color.red"
7535
+ backgroundColor: "surface.critical"
7450
7536
  },
7451
7537
  green: {
7452
- backgroundColor: "surface.color.green"
7538
+ backgroundColor: "surface.success"
7453
7539
  },
7454
7540
  blue: {
7455
- backgroundColor: "surface.color.blue"
7541
+ backgroundColor: "surface.info"
7456
7542
  },
7457
7543
  orange: {
7458
- backgroundColor: "surface.color.orange"
7544
+ backgroundColor: "surface.caution"
7459
7545
  }
7460
7546
  }
7461
7547
  },
@@ -7513,7 +7599,7 @@ var vyUtviklingColors = react.defineSemanticTokens.colors({
7513
7599
  ...tokens4__default.default.color["vy-utvikling"].color.vyUtvikling
7514
7600
  });
7515
7601
  var cargonetColors = react.defineSemanticTokens.colors({
7516
- ...tokens4__default.default.color.cargonet.color.cargonet
7602
+ ...tokens4__default.default.color["cargonet"].color.cargonet
7517
7603
  });
7518
7604
  var radii = react.defineSemanticTokens.radii({
7519
7605
  none: { value: tokens22__namespace.default.size["border-radius"].none },
@@ -7851,7 +7937,7 @@ var accordionSlotRecipe = react.defineSlotRecipe({
7851
7937
  borderRadius: "sm",
7852
7938
  display: "flex",
7853
7939
  justifyContent: "space-between",
7854
- color: "core.text",
7940
+ color: "text.core",
7855
7941
  textAlign: "left",
7856
7942
  width: "full",
7857
7943
  alignItems: "center",
@@ -7907,10 +7993,10 @@ var accordionSlotRecipe = react.defineSlotRecipe({
7907
7993
  },
7908
7994
  itemTrigger: {
7909
7995
  "&:hover": {
7910
- background: "ghost.surface.hover"
7996
+ background: "surface.ghost.hover"
7911
7997
  },
7912
7998
  "&:active": {
7913
- backgroundColor: "ghost.surface.active"
7999
+ backgroundColor: "surface.ghost.active"
7914
8000
  }
7915
8001
  }
7916
8002
  },
@@ -7918,7 +8004,7 @@ var accordionSlotRecipe = react.defineSlotRecipe({
7918
8004
  item: {
7919
8005
  outline: "solid",
7920
8006
  outlineWidth: tokens22__namespace.default.size.stroke.sm,
7921
- outlineColor: "core.outline"
8007
+ outlineColor: "outline.core"
7922
8008
  },
7923
8009
  itemTrigger: {
7924
8010
  _expanded: {
@@ -7926,12 +8012,12 @@ var accordionSlotRecipe = react.defineSlotRecipe({
7926
8012
  },
7927
8013
  "&:hover": {
7928
8014
  outlineWidth: tokens22__namespace.default.size.stroke.md,
7929
- outlineColor: "core.outline",
8015
+ outlineColor: "outline.core",
7930
8016
  outline: "2px solid",
7931
8017
  outlineOffset: 0
7932
8018
  },
7933
8019
  "&:active": {
7934
- backgroundColor: "core.surface.active",
8020
+ backgroundColor: "surface.core.active",
7935
8021
  outlineWidth: tokens22__namespace.default.size.stroke.sm,
7936
8022
  outline: "none"
7937
8023
  }
@@ -7944,7 +8030,7 @@ var accordionSlotRecipe = react.defineSlotRecipe({
7944
8030
  item: {
7945
8031
  borderRadius: "none",
7946
8032
  borderBottom: "1px solid",
7947
- borderBottomColor: "floating.outline.active"
8033
+ borderBottomColor: "outline.neutral"
7948
8034
  }
7949
8035
  },
7950
8036
  floating: {
@@ -7952,7 +8038,7 @@ var accordionSlotRecipe = react.defineSlotRecipe({
7952
8038
  outline: "1px solid",
7953
8039
  outlineWidth: tokens22__namespace.default.size.stroke.sm,
7954
8040
  boxShadow: "sm",
7955
- outlineColor: "floating.outline"
8041
+ outlineColor: "outline.floating"
7956
8042
  },
7957
8043
  itemTrigger: {
7958
8044
  _expanded: {
@@ -7961,11 +8047,11 @@ var accordionSlotRecipe = react.defineSlotRecipe({
7961
8047
  "&:hover": {
7962
8048
  outlineWidth: tokens22__namespace.default.size.stroke.md,
7963
8049
  outline: "1px solid",
7964
- outlineColor: "floating.outline.hover",
8050
+ outlineColor: "outline.floating.hover",
7965
8051
  outlineOffset: 1
7966
8052
  },
7967
8053
  "&:active": {
7968
- backgroundColor: "floating.surface.active",
8054
+ backgroundColor: "surface.floating.active",
7969
8055
  outlineWidth: tokens22__namespace.default.size.stroke.sm,
7970
8056
  outline: "none"
7971
8057
  }
@@ -7976,21 +8062,21 @@ var accordionSlotRecipe = react.defineSlotRecipe({
7976
8062
  });
7977
8063
  var createVariant = (variant) => ({
7978
8064
  root: {
7979
- borderColor: `alert.${variant}.outline`,
7980
- background: `alert.${variant}.surface`
8065
+ borderColor: `outline.${variant}`,
8066
+ background: `surface.${variant}`
7981
8067
  },
7982
8068
  description: {
7983
- color: `alert.${variant}.text.secondary`
8069
+ color: `text.${variant}.subtle`
7984
8070
  },
7985
8071
  title: {
7986
- color: `alert.${variant}.text`
8072
+ color: `text.${variant}`
7987
8073
  },
7988
8074
  closeButton: {
7989
- color: `alert.${variant}.text`,
8075
+ color: `text.${variant}`,
7990
8076
  _hover: {
7991
- bg: `alert.${variant}.surface.hover`,
8077
+ bg: `surface.${variant}.hover`,
7992
8078
  _active: {
7993
- bg: `alert.${variant}.surface.active`
8079
+ bg: `surface.${variant}.active`
7994
8080
  }
7995
8081
  }
7996
8082
  }
@@ -8025,13 +8111,13 @@ var alertSlotRecipe = react.defineSlotRecipe({
8025
8111
  },
8026
8112
  variants: {
8027
8113
  variant: {
8028
- important: createVariant("important"),
8029
- alt: createVariant("alt"),
8030
- error: createVariant("error"),
8114
+ important: createVariant("warning"),
8115
+ alt: createVariant("notice"),
8116
+ error: createVariant("critical"),
8031
8117
  success: createVariant("success"),
8032
8118
  info: createVariant("info"),
8033
8119
  neutral: createVariant("neutral"),
8034
- "error-secondary": createVariant("error-secondary"),
8120
+ "error-secondary": createVariant("caution"),
8035
8121
  service: createVariant("service")
8036
8122
  }
8037
8123
  },
@@ -8061,117 +8147,117 @@ var alertExpandableSlotRecipe = react.defineSlotRecipe({
8061
8147
  variant: {
8062
8148
  important: {
8063
8149
  itemContent: {
8064
- color: "alert.important.text.secondary"
8150
+ color: "text.warning.subtle"
8065
8151
  },
8066
8152
  itemTrigger: {
8067
8153
  "&:hover": {
8068
- bg: "alert.important.surface.hover",
8154
+ bg: "surface.warning.hover",
8069
8155
  outline: "1px solid",
8070
- outlineColor: "alert.important.outline.hover",
8156
+ outlineColor: "outline.warning.hover",
8071
8157
  outlineOffset: "0px"
8072
8158
  },
8073
8159
  "&:active": {
8074
- bg: "alert.important.surface.active"
8160
+ bg: "surface.warning.active"
8075
8161
  }
8076
8162
  },
8077
8163
  root: {
8078
- borderColor: "alert.important.outline",
8079
- bg: "alert.important.surface"
8164
+ borderColor: "outline.warning",
8165
+ bg: "surface.warning"
8080
8166
  },
8081
8167
  title: {
8082
- color: "alert.important.text"
8168
+ color: "text.warning"
8083
8169
  }
8084
8170
  },
8085
8171
  success: {
8086
8172
  itemContent: {
8087
- color: "alert.success.text.secondary"
8173
+ color: "text.success.subtle"
8088
8174
  },
8089
8175
  itemTrigger: {
8090
8176
  "&:hover": {
8091
- bg: "alert.success.surface.hover",
8177
+ bg: "surface.success.hover",
8092
8178
  outline: "1px solid",
8093
8179
  outlineOffset: "0px",
8094
- outlineColor: "alert.success.outline.hover",
8180
+ outlineColor: "outline.success.hover",
8095
8181
  "&:active": {
8096
- bg: "alert.success.surface.active"
8182
+ bg: "surface.success.active"
8097
8183
  }
8098
8184
  }
8099
8185
  },
8100
8186
  root: {
8101
- borderColor: "alert.success.outline",
8102
- bg: "alert.success.surface"
8187
+ borderColor: "outline.success",
8188
+ bg: "surface.success"
8103
8189
  },
8104
8190
  title: {
8105
- color: "alert.success.text"
8191
+ color: "text.success"
8106
8192
  }
8107
8193
  },
8108
8194
  alt: {
8109
8195
  itemContent: {
8110
- color: "alert.alt.text.secondary"
8196
+ color: "text.notice.subtle"
8111
8197
  },
8112
8198
  itemTrigger: {
8113
8199
  "&:hover": {
8114
- bg: "alert.alt.surface.hover",
8200
+ bg: "surface.notice.hover",
8115
8201
  outlineOffset: "0px",
8116
8202
  outline: "1px solid",
8117
- outlineColor: "alert.alt.outline.hover",
8203
+ outlineColor: "outline.notice.hover",
8118
8204
  "&:active": {
8119
- bg: "alert.alt.surface.active"
8205
+ bg: "surface.notice.active"
8120
8206
  }
8121
8207
  }
8122
8208
  },
8123
8209
  root: {
8124
- borderColor: "alert.alt.outline",
8125
- bg: "alert.alt.surface"
8210
+ borderColor: "outline.notice",
8211
+ bg: "surface.notice"
8126
8212
  },
8127
8213
  title: {
8128
- color: "alert.alt.text"
8214
+ color: "text.notice"
8129
8215
  }
8130
8216
  },
8131
8217
  info: {
8132
8218
  itemContent: {
8133
- color: "alert.info.text.secondary"
8219
+ color: "text.info.subtle"
8134
8220
  },
8135
8221
  itemTrigger: {
8136
8222
  "&:hover": {
8137
- bg: "alert.info.surface.hover",
8223
+ bg: "surface.info.hover",
8138
8224
  outlineOffset: "0px",
8139
8225
  outline: "1px solid",
8140
- outlineColor: "alert.info.outline.hover",
8226
+ outlineColor: "outline.info.hover",
8141
8227
  "&:active": {
8142
- bg: "alert.info.surface.active"
8228
+ bg: "surface.info.active"
8143
8229
  }
8144
8230
  }
8145
8231
  },
8146
8232
  root: {
8147
- borderColor: "alert.info.outline",
8148
- bg: "alert.info.surface"
8233
+ borderColor: "outline.info",
8234
+ bg: "surface.info"
8149
8235
  },
8150
8236
  title: {
8151
- color: "alert.info.text"
8237
+ color: "text.info"
8152
8238
  }
8153
8239
  },
8154
8240
  error: {
8155
8241
  itemContent: {
8156
- color: "alert.error.text.secondary"
8242
+ color: "text.critical.subtle"
8157
8243
  },
8158
8244
  itemTrigger: {
8159
8245
  "&:hover": {
8160
- bg: "alert.error.surface.hover",
8246
+ bg: "surface.critical.hover",
8161
8247
  outlineOffset: "0px",
8162
8248
  outline: "1px solid",
8163
- outlineColor: "alert.error.outline.hover",
8249
+ outlineColor: "outline.critical.hover",
8164
8250
  "&:active": {
8165
- bg: "alert.error.surface.active"
8251
+ bg: "surface.critical.active"
8166
8252
  }
8167
8253
  }
8168
8254
  },
8169
8255
  root: {
8170
- borderColor: "alert.error.outline",
8171
- bg: "alert.error.surface"
8256
+ borderColor: "outline.critical",
8257
+ bg: "surface.critical"
8172
8258
  },
8173
8259
  title: {
8174
- color: "alert.error.text"
8260
+ color: "text.critical"
8175
8261
  }
8176
8262
  }
8177
8263
  }
@@ -8187,10 +8273,10 @@ var alertServiceSlotRecipe = react.defineSlotRecipe({
8187
8273
  transitionDuration: "fast",
8188
8274
  borderTopRadius: "none",
8189
8275
  borderBottomRadius: "md",
8190
- backgroundColor: "alert.service.surface",
8276
+ backgroundColor: "surface.service",
8191
8277
  outline: "1px solid",
8192
- outlineColor: "alert.service.outline",
8193
- color: "text.inverted",
8278
+ outlineColor: "outline.service",
8279
+ color: "text.brand",
8194
8280
  boxShadow: "sm"
8195
8281
  },
8196
8282
  itemTrigger: {
@@ -8202,15 +8288,15 @@ var alertServiceSlotRecipe = react.defineSlotRecipe({
8202
8288
  borderBottomRadius: "md",
8203
8289
  borderTopRadius: "none",
8204
8290
  width: "full",
8205
- color: "text.inverted",
8291
+ color: "text.brand",
8206
8292
  "&:hover": {
8207
- backgroundColor: "alert.service.surface.hover"
8293
+ backgroundColor: "surface.service.hover"
8208
8294
  },
8209
8295
  "&:active": {
8210
- backgroundColor: "alert.service.surface.active"
8296
+ backgroundColor: "surface.service.active"
8211
8297
  },
8212
8298
  _icon: {
8213
- color: "text"
8299
+ color: "icon.brand"
8214
8300
  }
8215
8301
  },
8216
8302
  itemTriggerTitle: {
@@ -8220,7 +8306,7 @@ var alertServiceSlotRecipe = react.defineSlotRecipe({
8220
8306
  fontWeight: "400",
8221
8307
  fontSize: ["mobile.xs", "desktop.xs"],
8222
8308
  textWrap: "nowrap",
8223
- color: "alert.service.text.secondary"
8309
+ color: "text.service.subtle"
8224
8310
  },
8225
8311
  itemContent: {
8226
8312
  paddingX: ["2", "3"],
@@ -8230,14 +8316,14 @@ var alertServiceSlotRecipe = react.defineSlotRecipe({
8230
8316
  itemBody: {
8231
8317
  marginX: "auto",
8232
8318
  padding: "0 !important",
8233
- color: "alert.service.text.secondary",
8319
+ color: "text.service.subtle",
8234
8320
  gap: 0,
8235
8321
  flexDirection: "column",
8236
8322
  display: "flex",
8237
8323
  "& > p": {
8238
8324
  width: "full",
8239
8325
  borderBottom: "1px dashed",
8240
- borderColor: "outline.inverted",
8326
+ borderColor: "outline.neutral",
8241
8327
  paddingY: ["1", "1.5"],
8242
8328
  _first: {
8243
8329
  paddingTop: 0
@@ -8320,7 +8406,7 @@ var comboboxSlotRecipe = react.defineSlotRecipe({
8320
8406
  borderRadius: "sm",
8321
8407
  flex: "1",
8322
8408
  _highlighted: {
8323
- bg: "ghost.surface.active"
8409
+ bg: "surface.ghost.active"
8324
8410
  },
8325
8411
  _disabled: {
8326
8412
  pointerEvents: "none",
@@ -8328,13 +8414,13 @@ var comboboxSlotRecipe = react.defineSlotRecipe({
8328
8414
  color: "text.disabled"
8329
8415
  },
8330
8416
  _hover: {
8331
- bg: "ghost.surface.hover"
8417
+ bg: "surface.ghost.hover"
8332
8418
  },
8333
8419
  _pressed: {
8334
- bg: "ghost.surface.active"
8420
+ bg: "surface.ghost.active"
8335
8421
  },
8336
8422
  _focus: {
8337
- bg: "ghost.surface.active"
8423
+ bg: "surface.ghost.active"
8338
8424
  }
8339
8425
  },
8340
8426
  empty: {
@@ -8353,7 +8439,7 @@ var comboboxSlotRecipe = react.defineSlotRecipe({
8353
8439
  itemGroupLabel: {
8354
8440
  px: "3",
8355
8441
  py: "0.5",
8356
- color: "floating.text",
8442
+ color: "text.floating",
8357
8443
  fontFeatureSettings: "liga off",
8358
8444
  fontSize: ["mobile.sm, desktop.sm"],
8359
8445
  fontWeight: "bold"
@@ -8389,11 +8475,11 @@ var breadcrumbSlotRecipe = react.defineSlotRecipe({
8389
8475
  core: {
8390
8476
  link: {
8391
8477
  _hover: {
8392
- outlineColor: "core.outline.hover",
8478
+ outlineColor: "outline.core.hover",
8393
8479
  outlineWidth: tokens22__namespace.default.size.stroke.md,
8394
8480
  outlineStyle: "solid",
8395
8481
  _active: {
8396
- backgroundColor: "core.surface.active",
8482
+ backgroundColor: "surface.core.active",
8397
8483
  outline: "none"
8398
8484
  }
8399
8485
  }
@@ -8402,9 +8488,9 @@ var breadcrumbSlotRecipe = react.defineSlotRecipe({
8402
8488
  ghost: {
8403
8489
  link: {
8404
8490
  _hover: {
8405
- backgroundColor: "ghost.surface.hover",
8491
+ backgroundColor: "surface.ghost.hover",
8406
8492
  _active: {
8407
- backgroundColor: "ghost.surface.active"
8493
+ backgroundColor: "surface.ghost.active"
8408
8494
  }
8409
8495
  }
8410
8496
  }
@@ -8426,10 +8512,10 @@ var checkboxSlotRecipe = react.defineSlotRecipe({
8426
8512
  gap: 1.5,
8427
8513
  _hover: {
8428
8514
  "& > input:enabled:not([aria-invalid]) + .spor-checkbox__control": {
8429
- borderColor: "core.outline.hover"
8515
+ borderColor: "outline.core.hover"
8430
8516
  },
8431
8517
  "& > input:enabled:checked:not([aria-invalid]) + .spor-checkbox__control": {
8432
- background: "brand.surface.hover"
8518
+ background: "surface.brand.hover"
8433
8519
  }
8434
8520
  }
8435
8521
  },
@@ -8451,19 +8537,14 @@ var checkboxSlotRecipe = react.defineSlotRecipe({
8451
8537
  transitionProperty: "background, border-color",
8452
8538
  transitionDuration: "moderate",
8453
8539
  border: "2px solid",
8454
- borderColor: "core.outline",
8540
+ borderColor: "outline.core",
8455
8541
  borderRadius: "xs",
8456
8542
  _checked: {
8457
- color: "brand.icon",
8458
- borderColor: "brand.surface",
8459
- background: "brand.surface",
8543
+ color: "icon.brand",
8544
+ borderColor: "surface.brand",
8545
+ background: "surface.brand",
8460
8546
  _focus: {
8461
- borderColor: "brand.surface.active"
8462
- },
8463
- _disabled: {
8464
- background: "surface.disabled",
8465
- color: "text.disabled",
8466
- borderColor: "currentColor"
8547
+ borderColor: "surface.brand.active"
8467
8548
  },
8468
8549
  _invalid: {
8469
8550
  backgroundColor: "outline.error",
@@ -8471,8 +8552,9 @@ var checkboxSlotRecipe = react.defineSlotRecipe({
8471
8552
  }
8472
8553
  },
8473
8554
  _disabled: {
8474
- // borderColor: coreText("disabled").color,
8475
- borderColor: "text.disabled"
8555
+ background: "surface.disabled",
8556
+ borderColor: "outline.disabled",
8557
+ color: "text.disabled"
8476
8558
  },
8477
8559
  _invalid: {
8478
8560
  borderColor: "outline.error"
@@ -8482,7 +8564,7 @@ var checkboxSlotRecipe = react.defineSlotRecipe({
8482
8564
  outlineColor: "outline.focus",
8483
8565
  outlineOffset: tokens22__namespace.default.size.stroke.md,
8484
8566
  outlineWidth: tokens22__namespace.default.size.stroke.md,
8485
- borderColor: "core.outline",
8567
+ borderColor: "outline.core",
8486
8568
  borderWidth: tokens22__namespace.default.size.stroke.md
8487
8569
  }
8488
8570
  },
@@ -8506,16 +8588,16 @@ var choiceChipSlotRecipe = react.defineSlotRecipe({
8506
8588
  paddingInlineStart: "2",
8507
8589
  paddingInlineEnd: "2",
8508
8590
  outline: "1px solid",
8509
- outlineColor: "core.outline",
8591
+ outlineColor: "outline.core",
8510
8592
  _checked: {
8511
- backgroundColor: "brand.surface",
8593
+ backgroundColor: "surface.brand",
8512
8594
  borderRadius: "sm",
8513
8595
  outline: "none",
8514
- color: "brand.text",
8596
+ color: "text.brand",
8515
8597
  _hover: {
8516
- backgroundColor: "brand.surface.hover",
8598
+ backgroundColor: "surface.brand.hover",
8517
8599
  _active: {
8518
- backgroundColor: "brand.surface.active"
8600
+ backgroundColor: "surface.brand.active"
8519
8601
  }
8520
8602
  }
8521
8603
  },
@@ -8612,47 +8694,47 @@ var choiceChipSlotRecipe = react.defineSlotRecipe({
8612
8694
  variant: {
8613
8695
  core: {
8614
8696
  root: {
8615
- color: "core.text",
8616
- outlineColor: "core.outline",
8697
+ color: "text.core",
8698
+ outlineColor: "outline.core",
8617
8699
  _hover: {
8618
8700
  outline: "2px solid",
8619
- outlineColor: "core.outline.hover",
8701
+ outlineColor: "outline.core.hover",
8620
8702
  _active: {
8621
8703
  outline: "1px solid",
8622
- outlineColor: "core.outline",
8623
- backgroundColor: "core.surface.active"
8704
+ outlineColor: "outline.core",
8705
+ backgroundColor: "surface.core.active"
8624
8706
  }
8625
8707
  }
8626
8708
  }
8627
8709
  },
8628
8710
  accent: {
8629
8711
  root: {
8630
- backgroundColor: "accent.surface",
8631
- color: "accent.text",
8712
+ backgroundColor: "surface.accent",
8713
+ color: "text.accent",
8632
8714
  outline: "none",
8633
8715
  _hover: {
8634
- backgroundColor: "accent.surface.hover",
8716
+ backgroundColor: "surface.accent.hover",
8635
8717
  _active: {
8636
- backgroundColor: "accent.surface.active"
8718
+ backgroundColor: "surface.accent.active"
8637
8719
  }
8638
8720
  }
8639
8721
  }
8640
8722
  },
8641
8723
  floating: {
8642
8724
  root: {
8643
- backgroundColor: "floating.surface",
8725
+ backgroundColor: "surface.floating",
8644
8726
  outline: "1px solid",
8645
- outlineColor: "floating.outline",
8646
- color: "floating.text",
8727
+ outlineColor: "outline.floating",
8728
+ color: "text.floating",
8647
8729
  boxShadow: "sm",
8648
8730
  _hover: {
8649
- backgroundColor: "floating.surface.hover",
8731
+ backgroundColor: "surface.floating.hover",
8650
8732
  outline: "1px solid",
8651
- outlineColor: "floating.outline.hover",
8733
+ outlineColor: "outline.floating.hover",
8652
8734
  _active: {
8653
- backgroundColor: "floating.surface.active",
8735
+ backgroundColor: "surface.floating.active",
8654
8736
  outline: "1px solid",
8655
- outlineColor: "floating.outline"
8737
+ outlineColor: "outline.floating"
8656
8738
  }
8657
8739
  }
8658
8740
  }
@@ -8730,7 +8812,7 @@ var datePickerSlotRecipe = react.defineSlotRecipe({
8730
8812
  },
8731
8813
  dateTimeSegment: {
8732
8814
  _focus: {
8733
- backgroundColor: "ghost.surface.active",
8815
+ backgroundColor: "surface.ghost.active",
8734
8816
  color: "text"
8735
8817
  }
8736
8818
  },
@@ -8746,10 +8828,10 @@ var datePickerSlotRecipe = react.defineSlotRecipe({
8746
8828
  transitionProperty: "box-shadow, background-color",
8747
8829
  right: "0.5rem",
8748
8830
  _hover: {
8749
- backgroundColor: "ghost.surface.hover"
8831
+ backgroundColor: "surface.ghost.hover"
8750
8832
  },
8751
8833
  _active: {
8752
- backgroundColor: "ghost.surface.active"
8834
+ backgroundColor: "surface.ghost.active"
8753
8835
  },
8754
8836
  _invalid: {
8755
8837
  outline: "2px solid",
@@ -8760,11 +8842,11 @@ var datePickerSlotRecipe = react.defineSlotRecipe({
8760
8842
  backgroundColor: "surface"
8761
8843
  },
8762
8844
  calendarPopover: {
8763
- color: "core.text",
8845
+ color: "text.core",
8764
8846
  outline: "1px solid",
8765
- outlineColor: "floating.outline",
8847
+ outlineColor: "outline.floating",
8766
8848
  boxShadow: "md",
8767
- backgroundColor: "floating.surface",
8849
+ backgroundColor: "surface.floating",
8768
8850
  minHeight: "min-content"
8769
8851
  },
8770
8852
  rangeCalendarPopover: {
@@ -8772,11 +8854,11 @@ var datePickerSlotRecipe = react.defineSlotRecipe({
8772
8854
  maxWidth: "100vw"
8773
8855
  },
8774
8856
  weekdays: {
8775
- color: "core.text",
8857
+ color: "text.core",
8776
8858
  fontWeight: "bold"
8777
8859
  },
8778
8860
  weekend: {
8779
- color: "accent.text",
8861
+ color: "text.accent",
8780
8862
  fontWeight: "bold"
8781
8863
  },
8782
8864
  cell: {
@@ -8790,12 +8872,12 @@ var datePickerSlotRecipe = react.defineSlotRecipe({
8790
8872
  top: 0,
8791
8873
  bottom: 0,
8792
8874
  zIndex: -1,
8793
- backgroundColor: "brand.surface"
8875
+ backgroundColor: "surface.brand"
8794
8876
  }
8795
8877
  }
8796
8878
  },
8797
8879
  dateCell: {
8798
- color: "core.text",
8880
+ color: "text.core",
8799
8881
  borderRadius: "xl",
8800
8882
  position: "relative",
8801
8883
  transition: ".1s ease-in-out",
@@ -8804,10 +8886,10 @@ var datePickerSlotRecipe = react.defineSlotRecipe({
8804
8886
  height: [6, 7],
8805
8887
  transitionProperty: "common",
8806
8888
  _hover: {
8807
- backgroundColor: "ghost.surface.hover"
8889
+ backgroundColor: "surface.ghost.hover"
8808
8890
  },
8809
8891
  _active: {
8810
- backgroundColor: "ghost.surface.active"
8892
+ backgroundColor: "surface.ghost.active"
8811
8893
  },
8812
8894
  _disabled: {
8813
8895
  backgroundColor: "surface.disabled",
@@ -8815,16 +8897,16 @@ var datePickerSlotRecipe = react.defineSlotRecipe({
8815
8897
  pointerEvents: "none"
8816
8898
  },
8817
8899
  _selected: {
8818
- backgroundColor: "brand.surface",
8819
- color: "brand.text",
8900
+ backgroundColor: "surface.brand",
8901
+ color: "text.brand",
8820
8902
  _active: {
8821
- backgroundColor: "brand.surface.active",
8822
- color: "brand.text"
8903
+ backgroundColor: "surface.brand.active",
8904
+ color: "text.brand"
8823
8905
  }
8824
8906
  },
8825
8907
  "&[data-today]": {
8826
8908
  outline: "1px solid",
8827
- outlineColor: "core.outline"
8909
+ outlineColor: "outline.core"
8828
8910
  },
8829
8911
  "&[data-unavailable]": {
8830
8912
  pointerEvents: "none",
@@ -8839,14 +8921,14 @@ var datePickerSlotRecipe = react.defineSlotRecipe({
8839
8921
  core: {
8840
8922
  wrapper: {
8841
8923
  outline: "1px solid",
8842
- outlineColor: "core.outline",
8924
+ outlineColor: "outline.core",
8843
8925
  _hover: {
8844
8926
  outline: "2px solid",
8845
- outlineColor: "core.outline.hover",
8927
+ outlineColor: "outline.core.hover",
8846
8928
  _active: {
8847
- backgroundColor: "ghost.surface.active",
8929
+ backgroundColor: "surface.ghost.active",
8848
8930
  outline: "1px solid",
8849
- outlineColor: "core.outline"
8931
+ outlineColor: "outline.core"
8850
8932
  },
8851
8933
  "&[data-active]": {
8852
8934
  outline: "2px solid",
@@ -8864,17 +8946,17 @@ var datePickerSlotRecipe = react.defineSlotRecipe({
8864
8946
  },
8865
8947
  floating: {
8866
8948
  wrapper: {
8867
- bg: "floating.surface",
8949
+ bg: "surface.floating",
8868
8950
  outline: "1px solid",
8869
- outlineColor: "floating.outline",
8951
+ outlineColor: "outline.floating",
8870
8952
  boxShadow: "sm",
8871
8953
  _hover: {
8872
8954
  outline: "1px solid",
8873
- outlineColor: "floating.outline.hover",
8955
+ outlineColor: "outline.floating.hover",
8874
8956
  _active: {
8875
- backgroundColor: "ghost.surface.active",
8957
+ backgroundColor: "surface.ghost.active",
8876
8958
  outline: "1px solid",
8877
- outlineColor: "core.outline"
8959
+ outlineColor: "outline.core"
8878
8960
  },
8879
8961
  "&[data-active]": {
8880
8962
  outline: "2px solid",
@@ -8894,11 +8976,11 @@ var datePickerSlotRecipe = react.defineSlotRecipe({
8894
8976
  wrapper: {
8895
8977
  _hover: {
8896
8978
  outline: "2px solid",
8897
- outlineColor: "core.outline.hover",
8979
+ outlineColor: "outline.core.hover",
8898
8980
  _active: {
8899
- backgroundColor: "ghost.surface.active",
8981
+ backgroundColor: "surface.ghost.active",
8900
8982
  outline: "1px solid",
8901
- outlineColor: "core.outline"
8983
+ outlineColor: "outline.core"
8902
8984
  },
8903
8985
  "&[data-active]": {
8904
8986
  outline: "2px solid",
@@ -9358,13 +9440,13 @@ var fieldSlotRecipe = react.defineSlotRecipe({
9358
9440
  },
9359
9441
  helperText: {
9360
9442
  marginTop: 2,
9361
- color: "text.tertiary",
9443
+ color: "text.subtle",
9362
9444
  lineHeight: "normal",
9363
9445
  fontSize: "sm"
9364
9446
  },
9365
9447
  errorText: {
9366
9448
  borderRadius: "xs",
9367
- backgroundColor: "alert.error.surface",
9449
+ backgroundColor: "surface.critical",
9368
9450
  color: "text",
9369
9451
  paddingX: 1.5,
9370
9452
  paddingY: 1,
@@ -9382,7 +9464,7 @@ var fieldSlotRecipe = react.defineSlotRecipe({
9382
9464
  left: "1em",
9383
9465
  width: "0.5rem",
9384
9466
  height: "0.5rem",
9385
- backgroundColor: "alert.error.surface",
9467
+ backgroundColor: "surface.critical",
9386
9468
  transform: "translateY(-50%) rotate(45deg)",
9387
9469
  pointerEvents: "none"
9388
9470
  }
@@ -9443,12 +9525,12 @@ var floatingActionButtonSlotRecipe = react.defineSlotRecipe({
9443
9525
  variant: {
9444
9526
  brand: {
9445
9527
  root: {
9446
- backgroundColor: "brand.surface",
9447
- color: "brand.text",
9528
+ backgroundColor: "surface.brand",
9529
+ color: "text.brand",
9448
9530
  _hover: {
9449
- backgroundColor: "brand.surface.hover",
9531
+ backgroundColor: "surface.brand.hover",
9450
9532
  _active: {
9451
- backgroundColor: "brand.surface.active"
9533
+ backgroundColor: "surface.brand.active"
9452
9534
  }
9453
9535
  }
9454
9536
  }
@@ -9457,29 +9539,29 @@ var floatingActionButtonSlotRecipe = react.defineSlotRecipe({
9457
9539
  root: {
9458
9540
  backgroundColor: "transparent",
9459
9541
  outline: "1px solid",
9460
- outlineColor: "core.outline",
9461
- color: "core.text",
9542
+ outlineColor: "outline.core",
9543
+ color: "text.core",
9462
9544
  _hover: {
9463
9545
  backgroundColor: "transparent",
9464
9546
  outline: "2px solid",
9465
- outlineColor: "core.outline",
9547
+ outlineColor: "outline.core",
9466
9548
  _active: {
9467
9549
  outline: "1px solid",
9468
- outlineColor: "core.outline",
9469
- backgroundColor: "core.surface.active"
9550
+ outlineColor: "outline.core",
9551
+ backgroundColor: "surface.core.active"
9470
9552
  }
9471
9553
  }
9472
9554
  }
9473
9555
  },
9474
9556
  accent: {
9475
9557
  root: {
9476
- backgroundColor: "accent.surface",
9477
- color: "accent.text",
9558
+ backgroundColor: "surface.accent",
9559
+ color: "text.accent",
9478
9560
  _hover: {
9479
- backgroundColor: "accent.surface.hover",
9480
- color: "accent.text",
9561
+ backgroundColor: "surface.accent.hover",
9562
+ color: "text.accent",
9481
9563
  _active: {
9482
- backgroundColor: "accent.surface.active"
9564
+ backgroundColor: "surface.accent.active"
9483
9565
  }
9484
9566
  }
9485
9567
  }
@@ -9799,42 +9881,42 @@ var inputChipSlotRecipe = react.defineSlotRecipe({
9799
9881
  borderColor: "outline",
9800
9882
  "&:hover": {
9801
9883
  outline: "2px solid",
9802
- outlineColor: "core.outline.hover"
9884
+ outlineColor: "outline.core.hover"
9803
9885
  },
9804
9886
  "&:active": {
9805
9887
  outline: "none",
9806
- backgroundColor: "core.surface.active"
9888
+ backgroundColor: "surface.core.active"
9807
9889
  }
9808
9890
  }
9809
9891
  },
9810
9892
  accent: {
9811
9893
  root: {
9812
- backgroundColor: "accent.surface",
9894
+ backgroundColor: "surface.accent",
9813
9895
  color: "text.highlight",
9814
9896
  "& svg": {
9815
9897
  color: "icon.highlight"
9816
9898
  },
9817
9899
  "&:hover": {
9818
- backgroundColor: "accent.surface.hover"
9900
+ backgroundColor: "surface.accent.hover"
9819
9901
  },
9820
9902
  "&:active": {
9821
- backgroundColor: "accent.surface.active",
9903
+ backgroundColor: "surface.accent.active",
9822
9904
  outline: "none"
9823
9905
  }
9824
9906
  }
9825
9907
  },
9826
9908
  brand: {
9827
9909
  root: {
9828
- backgroundColor: "brand.surface",
9829
- color: "text.inverted",
9910
+ backgroundColor: "surface.brand",
9911
+ color: "text.brand",
9830
9912
  "& svg": {
9831
- color: "icon.inverted"
9913
+ color: "icon.brand"
9832
9914
  },
9833
9915
  "&:hover": {
9834
- backgroundColor: "brand.surface.hover"
9916
+ backgroundColor: "surface.brand.hover"
9835
9917
  },
9836
9918
  "&:active": {
9837
- backgroundColor: "brand.surface.active",
9919
+ backgroundColor: "surface.brand.active",
9838
9920
  outline: "none"
9839
9921
  }
9840
9922
  }
@@ -10061,18 +10143,18 @@ var listBoxSlotRecipe = react.defineSlotRecipe({
10061
10143
  marginY: 1,
10062
10144
  marginX: 1,
10063
10145
  borderRadius: "sm",
10064
- color: "ghost.text",
10146
+ color: "text.ghost",
10065
10147
  cursor: "pointer",
10066
10148
  listStyle: "none",
10067
10149
  _active: {
10068
- backgroundColor: "ghost.surface.active"
10150
+ backgroundColor: "surface.ghost.active"
10069
10151
  },
10070
10152
  _hover: {
10071
- backgroundColor: "accent.surface",
10072
- color: "accent.text"
10153
+ backgroundColor: "surface.accent",
10154
+ color: "text.accent"
10073
10155
  },
10074
10156
  _selected: {
10075
- backgroundColor: "ghost.surface.active"
10157
+ backgroundColor: "surface.ghost.active"
10076
10158
  },
10077
10159
  _focus: {
10078
10160
  outline: "2px solid",
@@ -10082,9 +10164,9 @@ var listBoxSlotRecipe = react.defineSlotRecipe({
10082
10164
  label: {},
10083
10165
  description: {
10084
10166
  fontSize: ["mobile.xs", "desktop.xs"],
10085
- color: "ghost.text",
10167
+ color: "text.ghost",
10086
10168
  "[aria-selected='true'] &": {
10087
- color: "ghost.text"
10169
+ color: "text.ghost"
10088
10170
  }
10089
10171
  }
10090
10172
  },
@@ -10093,13 +10175,13 @@ var listBoxSlotRecipe = react.defineSlotRecipe({
10093
10175
  core: {
10094
10176
  root: {
10095
10177
  outline: "1px solid",
10096
- outlineColor: "core.outline"
10178
+ outlineColor: "outline.core"
10097
10179
  }
10098
10180
  },
10099
10181
  floating: {
10100
10182
  root: {
10101
10183
  outline: "1px solid",
10102
- outlineColor: "floating.outline"
10184
+ outlineColor: "outline.floating"
10103
10185
  }
10104
10186
  }
10105
10187
  }
@@ -10124,7 +10206,7 @@ var mediaControllerSlotRecipe = react.defineSlotRecipe({
10124
10206
  display: "flex",
10125
10207
  padding: 1,
10126
10208
  alignSelf: "center",
10127
- color: "brand.surface",
10209
+ color: "surface.brand",
10128
10210
  outlineOffset: "2px"
10129
10211
  },
10130
10212
  icon: {
@@ -10137,14 +10219,14 @@ var mediaControllerSlotRecipe = react.defineSlotRecipe({
10137
10219
  play: {
10138
10220
  root: {
10139
10221
  padding: 0,
10140
- color: "brand.text",
10141
- backgroundColor: "brand.surface",
10222
+ color: "text.brand",
10223
+ backgroundColor: "surface.brand",
10142
10224
  _hover: {
10143
- color: "brand.text",
10144
- backgroundColor: "brand.surface.hover",
10225
+ color: "text.brand",
10226
+ backgroundColor: "surface.brand.hover",
10145
10227
  _active: {
10146
- color: "brand.text",
10147
- backgroundColor: "brand.surface.active"
10228
+ color: "text.brand",
10229
+ backgroundColor: "surface.brand.active"
10148
10230
  }
10149
10231
  },
10150
10232
  _disabled: {
@@ -10157,9 +10239,9 @@ var mediaControllerSlotRecipe = react.defineSlotRecipe({
10157
10239
  jumpSkip: {
10158
10240
  root: {
10159
10241
  _hover: {
10160
- backgroundColor: "ghost.surface.hover",
10242
+ backgroundColor: "surface.ghost.hover",
10161
10243
  _active: {
10162
- backgroundColor: "ghost.surface.active"
10244
+ backgroundColor: "surface.ghost.active"
10163
10245
  }
10164
10246
  },
10165
10247
  _disabled: {
@@ -10269,16 +10351,16 @@ var menuSlotRecipe = react.defineSlotRecipe({
10269
10351
  justifyContent: "space-between",
10270
10352
  gap: 1.5,
10271
10353
  _hover: {
10272
- backgroundColor: "accent.surface.hover"
10354
+ backgroundColor: "surface.accent.hover"
10273
10355
  },
10274
10356
  "&:active": {
10275
- backgroundColor: "accent.surface.active"
10357
+ backgroundColor: "surface.accent.active"
10276
10358
  },
10277
10359
  _checked: {
10278
- backgroundColor: "accent.surface"
10360
+ backgroundColor: "surface.accent"
10279
10361
  },
10280
10362
  _highlighted: {
10281
- backgroundColor: "ghost.surface.hover"
10363
+ backgroundColor: "surface.ghost.hover"
10282
10364
  }
10283
10365
  },
10284
10366
  itemGroupLabel: {
@@ -10315,19 +10397,19 @@ var menuSlotRecipe = react.defineSlotRecipe({
10315
10397
  core: {
10316
10398
  content: {
10317
10399
  border: "1px solid",
10318
- borderColor: "core.outline"
10400
+ borderColor: "outline.core"
10319
10401
  }
10320
10402
  },
10321
10403
  accent: {
10322
10404
  content: {
10323
10405
  border: "1px solid",
10324
- borderColor: "core.outline"
10406
+ borderColor: "outline.core"
10325
10407
  }
10326
10408
  },
10327
10409
  floating: {
10328
10410
  content: {
10329
10411
  border: "sm",
10330
- borderColor: "floating.outline",
10412
+ borderColor: "outline.floating",
10331
10413
  boxShadow: "lg"
10332
10414
  }
10333
10415
  }
@@ -10415,7 +10497,7 @@ var numericStepperRecipe = react.defineSlotRecipe({
10415
10497
  textAlign: "center",
10416
10498
  transitionProperty: "common",
10417
10499
  transitionDuration: "fast",
10418
- color: "core.text",
10500
+ color: "text.core",
10419
10501
  backgroundColor: "transparent",
10420
10502
  _focus: {
10421
10503
  backgroundColor: "surface",
@@ -10423,7 +10505,7 @@ var numericStepperRecipe = react.defineSlotRecipe({
10423
10505
  outlineColor: "outline.focus"
10424
10506
  },
10425
10507
  _active: {
10426
- backgroundColor: "accent.surface.active"
10508
+ backgroundColor: "surface.accent.active"
10427
10509
  },
10428
10510
  _disabled: {
10429
10511
  pointerEvents: "none",
@@ -10431,7 +10513,7 @@ var numericStepperRecipe = react.defineSlotRecipe({
10431
10513
  },
10432
10514
  _hover: {
10433
10515
  outline: "1px solid",
10434
- outlineColor: "core.outline"
10516
+ outlineColor: "outline.core"
10435
10517
  }
10436
10518
  },
10437
10519
  text: {
@@ -10441,7 +10523,7 @@ var numericStepperRecipe = react.defineSlotRecipe({
10441
10523
  paddingX: 1,
10442
10524
  textAlign: "center",
10443
10525
  width: "4ch",
10444
- color: "core.text"
10526
+ color: "text.core"
10445
10527
  },
10446
10528
  button: {
10447
10529
  outlineOffset: "-2px",
@@ -10475,18 +10557,18 @@ var paginationSlotRecipe = react.defineSlotRecipe({
10475
10557
  width: "5",
10476
10558
  fontSize: "xs",
10477
10559
  borderRadius: "xl",
10478
- color: "core.text",
10560
+ color: "text.core",
10479
10561
  cursor: "pointer",
10480
10562
  _hover: {
10481
- background: "ghost.surface.hover",
10563
+ background: "surface.ghost.hover",
10482
10564
  _active: {
10483
- background: "ghost.surface.active"
10565
+ background: "surface.ghost.active"
10484
10566
  }
10485
10567
  },
10486
10568
  _selected: {
10487
10569
  cursor: "default",
10488
10570
  fontWeight: "bold",
10489
- backgroundColor: "core.surface.active"
10571
+ backgroundColor: "surface.core.active"
10490
10572
  }
10491
10573
  },
10492
10574
  list: {
@@ -10506,11 +10588,11 @@ var popoverSlotRecipe = react.defineSlotRecipe({
10506
10588
  position: "relative",
10507
10589
  display: "flex",
10508
10590
  flexDirection: "row-reverse",
10509
- color: "text.inverted",
10591
+ color: "text.brand",
10510
10592
  gap: "0.625rem",
10511
10593
  padding: "0.563rem 0.75rem",
10512
10594
  textStyle: "sm",
10513
- bg: "surface.tertiary",
10595
+ bg: "surface.brand",
10514
10596
  boxShadow: "lg",
10515
10597
  borderRadius: "sm",
10516
10598
  zIndex: "popover",
@@ -10527,14 +10609,14 @@ var popoverSlotRecipe = react.defineSlotRecipe({
10527
10609
  }
10528
10610
  },
10529
10611
  body: {
10530
- color: "text.inverted",
10612
+ color: "text.brand",
10531
10613
  alignItems: "center",
10532
10614
  borderRadius: "sm",
10533
10615
  zIndex: "inherit",
10534
10616
  maxWidth: "20em"
10535
10617
  },
10536
10618
  arrow: {
10537
- "--arrow-background": "colors.surface.tertiary",
10619
+ "--arrow-background": "colors.surface.brand",
10538
10620
  "--arrow-size": "6px"
10539
10621
  }
10540
10622
  },
@@ -10578,7 +10660,7 @@ var progressBarRecipe = react.defineSlotRecipe({
10578
10660
  },
10579
10661
  background: {
10580
10662
  display: "flex",
10581
- backgroundColor: "accent.surface.hover",
10663
+ backgroundColor: "surface.accent.hover",
10582
10664
  borderRadius: "sm",
10583
10665
  boxPack: "start",
10584
10666
  justifyContent: "flex-start",
@@ -10589,7 +10671,7 @@ var progressBarRecipe = react.defineSlotRecipe({
10589
10671
  borderRadius: "sm"
10590
10672
  },
10591
10673
  progress: {
10592
- backgroundColor: "brand.surface.active",
10674
+ backgroundColor: "surface.brand.active",
10593
10675
  borderRadius: "sm",
10594
10676
  maxWidth: "100%",
10595
10677
  transition: "width .2s ease-out"
@@ -10619,7 +10701,7 @@ var progressIndicatorRecipe = react.defineSlotRecipe({
10619
10701
  width: 1,
10620
10702
  fill: "icon.disabled",
10621
10703
  "&[aria-current='step']": {
10622
- fill: "brand.surface"
10704
+ fill: "surface.brand"
10623
10705
  }
10624
10706
  }
10625
10707
  }
@@ -10659,17 +10741,17 @@ var radioGroupSlotRecipe = react.defineSlotRecipe({
10659
10741
  justifyContent: "center",
10660
10742
  verticalAlign: "top",
10661
10743
  borderWidth: "2px",
10662
- borderColor: "core.outline",
10744
+ borderColor: "outline.core",
10663
10745
  borderRadius: "xl",
10664
10746
  width: 4,
10665
10747
  height: 4,
10666
10748
  _checked: {
10667
- borderColor: "brand.surface"
10749
+ borderColor: "surface.brand"
10668
10750
  },
10669
10751
  _hover: {
10670
- borderColor: "brand.surface.hover",
10752
+ borderColor: "surface.brand.hover",
10671
10753
  "& .dot": {
10672
- backgroundColor: "brand.surface.hover"
10754
+ backgroundColor: "surface.brand.hover"
10673
10755
  }
10674
10756
  },
10675
10757
  _disabled: {
@@ -10690,7 +10772,7 @@ var radioGroupSlotRecipe = react.defineSlotRecipe({
10690
10772
  height: "full",
10691
10773
  width: "full",
10692
10774
  borderRadius: "xl",
10693
- backgroundColor: "brand.surface",
10775
+ backgroundColor: "surface.brand",
10694
10776
  scale: "0.5"
10695
10777
  }
10696
10778
  }
@@ -10742,15 +10824,15 @@ var radioCardSlotRecipe = react.defineSlotRecipe({
10742
10824
  variant: {
10743
10825
  core: {
10744
10826
  item: {
10745
- outlineColor: "core.outline",
10827
+ outlineColor: "outline.core",
10746
10828
  outlineWidth: tokens22__namespace.default.size.stroke.sm,
10747
10829
  outlineStyle: "solid",
10748
10830
  _hover: {
10749
- outlineColor: "core.outline.hover",
10831
+ outlineColor: "outline.core.hover",
10750
10832
  outlineWidth: tokens22__namespace.default.size.stroke.md,
10751
10833
  outlineStyle: "solid",
10752
10834
  _active: {
10753
- backgroundColor: "core.surface.active",
10835
+ backgroundColor: "surface.core.active",
10754
10836
  outlineWidth: tokens22__namespace.default.size.stroke.sm
10755
10837
  }
10756
10838
  },
@@ -10758,7 +10840,7 @@ var radioCardSlotRecipe = react.defineSlotRecipe({
10758
10840
  outlineColor: "outline.focus",
10759
10841
  outlineWidth: tokens22__namespace.default.size.stroke.md,
10760
10842
  outlineStyle: "solid",
10761
- backgroundColor: "core.surface.active",
10843
+ backgroundColor: "surface.core.active",
10762
10844
  _focusVisible: {
10763
10845
  outlineStyle: "double",
10764
10846
  outlineWidth: `calc(3 * ${tokens22__namespace.default.size.stroke.md})`
@@ -10772,15 +10854,15 @@ var radioCardSlotRecipe = react.defineSlotRecipe({
10772
10854
  boxShadow: "0px 1px 3px 0px var(--shadow-color)",
10773
10855
  shadowColor: "surface.disabled",
10774
10856
  border: "sm",
10775
- borderColor: "floating.outline",
10776
- background: "floating.surface",
10857
+ borderColor: "outline.floating",
10858
+ background: "surface.floating",
10777
10859
  _hover: {
10778
- background: "floating.surface.hover",
10779
- borderColor: "floating.outline.hover",
10860
+ background: "surface.floating.hover",
10861
+ borderColor: "outline.floating.hover",
10780
10862
  boxShadow: "0px 2px 6px 0px var(--shadow-color)",
10781
10863
  _active: {
10782
- background: "floating.surface.active",
10783
- borderColor: "floating.outline.active",
10864
+ background: "surface.floating.active",
10865
+ borderColor: "outline.neutral",
10784
10866
  boxShadow: "none"
10785
10867
  }
10786
10868
  },
@@ -10788,7 +10870,7 @@ var radioCardSlotRecipe = react.defineSlotRecipe({
10788
10870
  outlineColor: "outline.focus",
10789
10871
  outlineWidth: tokens22__namespace.default.size.stroke.md,
10790
10872
  outlineStyle: "solid",
10791
- backgroundColor: "core.surface.active",
10873
+ backgroundColor: "surface.core.active",
10792
10874
  _focusVisible: {
10793
10875
  outlineStyle: "double",
10794
10876
  outlineWidth: `calc(3 * ${tokens22__namespace.default.size.stroke.md})`
@@ -10868,7 +10950,7 @@ var selectSlotRecipe = react.defineSlotRecipe({
10868
10950
  color: {
10869
10951
  base: "text",
10870
10952
  _disabled: "text.disabled",
10871
- _invalid: "text.secondary"
10953
+ _invalid: "text.highlight"
10872
10954
  },
10873
10955
  _icon: {
10874
10956
  width: 3,
@@ -10905,14 +10987,14 @@ var selectSlotRecipe = react.defineSlotRecipe({
10905
10987
  justifyContent: "space-between",
10906
10988
  gap: 1,
10907
10989
  borderRadius: "sm",
10908
- color: "ghost.text",
10990
+ color: "text.ghost",
10909
10991
  cursor: "pointer",
10910
10992
  outline: "none",
10911
10993
  "&[data-highlighted]:hover": {
10912
10994
  outlineOffset: "2px",
10913
10995
  outline: "2px solid",
10914
10996
  outlineColor: "outline.focus",
10915
- backgroundColor: "accent.surface.hover"
10997
+ backgroundColor: "surface.accent.hover"
10916
10998
  },
10917
10999
  "&[data-highlighted]": {
10918
11000
  outlineOffset: "2px",
@@ -10920,7 +11002,7 @@ var selectSlotRecipe = react.defineSlotRecipe({
10920
11002
  outlineColor: "outline.focus"
10921
11003
  },
10922
11004
  _active: {
10923
- backgroundColor: "accent.surface.active"
11005
+ backgroundColor: "surface.accent.active"
10924
11006
  },
10925
11007
  _highlighted: {
10926
11008
  _active: {
@@ -10928,12 +11010,12 @@ var selectSlotRecipe = react.defineSlotRecipe({
10928
11010
  }
10929
11011
  },
10930
11012
  _hover: {
10931
- backgroundColor: "accent.surface.hover",
11013
+ backgroundColor: "surface.accent.hover",
10932
11014
  outline: "2px solid core.outline",
10933
11015
  outlineOffset: "2px"
10934
11016
  },
10935
11017
  _selected: {
10936
- backgroundColor: "accent.surface"
11018
+ backgroundColor: "surface.accent"
10937
11019
  },
10938
11020
  _icon: {
10939
11021
  width: 3,
@@ -10968,9 +11050,9 @@ var selectSlotRecipe = react.defineSlotRecipe({
10968
11050
  valueText: {},
10969
11051
  itemDescription: {
10970
11052
  fontSize: ["mobile.xs", "desktop.xs"],
10971
- color: "ghost.text",
11053
+ color: "text.ghost",
10972
11054
  "[aria-selected='true'] &": {
10973
- color: "ghost.text"
11055
+ color: "text.ghost"
10974
11056
  }
10975
11057
  }
10976
11058
  },
@@ -10979,13 +11061,13 @@ var selectSlotRecipe = react.defineSlotRecipe({
10979
11061
  core: {
10980
11062
  control: {
10981
11063
  outline: "1px solid",
10982
- outlineColor: "core.outline",
11064
+ outlineColor: "outline.core",
10983
11065
  _hover: {
10984
11066
  outline: "2px solid",
10985
- outlineColor: "core.outline"
11067
+ outlineColor: "outline.core"
10986
11068
  },
10987
11069
  _active: {
10988
- backgroundColor: "brand.surface.active"
11070
+ backgroundColor: "surface.brand.active"
10989
11071
  },
10990
11072
  _disabled: {
10991
11073
  pointerEvents: "none",
@@ -10997,13 +11079,13 @@ var selectSlotRecipe = react.defineSlotRecipe({
10997
11079
  floating: {
10998
11080
  control: {
10999
11081
  outline: "1px solid",
11000
- outlineColor: "floating.outline",
11082
+ outlineColor: "outline.floating",
11001
11083
  _hover: {
11002
11084
  outline: "2px solid",
11003
- outlineColor: "floating.outline"
11085
+ outlineColor: "outline.floating"
11004
11086
  },
11005
11087
  _active: {
11006
- backgroundColor: "brand.surface.active"
11088
+ backgroundColor: "surface.brand.active"
11007
11089
  },
11008
11090
  _disabled: {
11009
11091
  pointerEvents: "none",
@@ -11017,7 +11099,7 @@ var selectSlotRecipe = react.defineSlotRecipe({
11017
11099
  rightSideSquare: {
11018
11100
  control: {
11019
11101
  outline: "1px solid",
11020
- outlineColor: "core.outline"
11102
+ outlineColor: "outline.core"
11021
11103
  },
11022
11104
  trigger: {
11023
11105
  _focus: {
@@ -11028,7 +11110,7 @@ var selectSlotRecipe = react.defineSlotRecipe({
11028
11110
  leftSideSquare: {
11029
11111
  control: {
11030
11112
  outline: "1px solid",
11031
- outlineColor: "core.outline"
11113
+ outlineColor: "outline.core"
11032
11114
  },
11033
11115
  trigger: {
11034
11116
  _focus: {
@@ -11096,7 +11178,7 @@ var stepperSlotRecipe = react.defineSlotRecipe({
11096
11178
  },
11097
11179
  accent: {
11098
11180
  root: {
11099
- backgroundColor: "accent.bg"
11181
+ backgroundColor: "bg.accent"
11100
11182
  },
11101
11183
  stepButton: {
11102
11184
  color: {
@@ -11104,13 +11186,13 @@ var stepperSlotRecipe = react.defineSlotRecipe({
11104
11186
  _dark: "whiteAlpha.900"
11105
11187
  },
11106
11188
  _disabled: {
11107
- color: "core.text"
11189
+ color: "text.core"
11108
11190
  },
11109
11191
  _currentStep: {
11110
- color: "accent.text"
11192
+ color: "text.accent"
11111
11193
  },
11112
11194
  _hover: {
11113
- backgroundColor: "accent.surface.hover",
11195
+ backgroundColor: "surface.accent.hover",
11114
11196
  _disabled: {
11115
11197
  backgroundColor: "transparent"
11116
11198
  }
@@ -11118,7 +11200,7 @@ var stepperSlotRecipe = react.defineSlotRecipe({
11118
11200
  },
11119
11201
  backButton: {
11120
11202
  _hover: {
11121
- backgroundColor: "brand.surface.hover"
11203
+ backgroundColor: "surface.brand.hover"
11122
11204
  }
11123
11205
  }
11124
11206
  }
@@ -11152,7 +11234,7 @@ var switchSlotRecipe = react.defineSlotRecipe({
11152
11234
  justifyContent: "center",
11153
11235
  width: "var(--switch-height)",
11154
11236
  height: "var(--switch-height)",
11155
- backgroundColor: "core.icon",
11237
+ backgroundColor: "icon.core",
11156
11238
  _disabled: {
11157
11239
  backgroundColor: "icon.disabled",
11158
11240
  _checked: {
@@ -11161,7 +11243,7 @@ var switchSlotRecipe = react.defineSlotRecipe({
11161
11243
  },
11162
11244
  _checked: {
11163
11245
  translate: "var(--switch-x) 0",
11164
- backgroundColor: "brand.icon"
11246
+ backgroundColor: "icon.brand"
11165
11247
  }
11166
11248
  },
11167
11249
  label: {
@@ -11190,13 +11272,13 @@ var switchSlotRecipe = react.defineSlotRecipe({
11190
11272
  transitionDuration: "fast",
11191
11273
  outline: "1px solid",
11192
11274
  outlineOffset: "-1px",
11193
- outlineColor: "core.outline",
11275
+ outlineColor: "outline.core",
11194
11276
  _hover: {
11195
11277
  outline: "2px solid",
11196
- outlineColor: "core.outline.hover",
11278
+ outlineColor: "outline.core.hover",
11197
11279
  _checked: {
11198
11280
  outlineColor: "transparent",
11199
- backgroundColor: "brand.surface.hover"
11281
+ backgroundColor: "surface.brand.hover"
11200
11282
  }
11201
11283
  },
11202
11284
  _focusVisible: {
@@ -11205,7 +11287,7 @@ var switchSlotRecipe = react.defineSlotRecipe({
11205
11287
  outlineStyle: "double"
11206
11288
  },
11207
11289
  _checked: {
11208
- backgroundColor: "brand.surface",
11290
+ backgroundColor: "surface.brand",
11209
11291
  outline: "none",
11210
11292
  _focusVisible: {
11211
11293
  outlineOffset: "1px",
@@ -11304,10 +11386,10 @@ var tableSlotRecipe = react.defineSlotRecipe({
11304
11386
  backgroundColor: "bg"
11305
11387
  },
11306
11388
  header: {
11307
- backgroundColor: "bg.tertiary"
11389
+ backgroundColor: "bg.brand"
11308
11390
  },
11309
11391
  columnHeader: {
11310
- color: "text.secondary"
11392
+ color: "text.highlight"
11311
11393
  }
11312
11394
  },
11313
11395
  grey: {
@@ -11516,26 +11598,26 @@ var tabsSlotRecipe = react.defineSlotRecipe({
11516
11598
  variant: {
11517
11599
  core: {
11518
11600
  list: {
11519
- color: "core.text",
11601
+ color: "text.core",
11520
11602
  border: "sm"
11521
11603
  },
11522
11604
  trigger: {
11523
- color: "core.text",
11605
+ color: "text.core",
11524
11606
  border: "md",
11525
11607
  borderColor: "transparent",
11526
11608
  _hover: {
11527
11609
  outline: "2px solid",
11528
- outlineColor: "core.outline.hover",
11610
+ outlineColor: "outline.core.hover",
11529
11611
  outlineOffset: "-2px"
11530
11612
  },
11531
11613
  _active: {
11532
- backgroundColor: "brand.surface.active",
11533
- color: "brand.text",
11614
+ backgroundColor: "surface.brand.active",
11615
+ color: "text.brand",
11534
11616
  outline: "none"
11535
11617
  },
11536
11618
  _selected: {
11537
- backgroundColor: "brand.surface",
11538
- color: "brand.text",
11619
+ backgroundColor: "surface.brand",
11620
+ color: "text.brand",
11539
11621
  _hover: {
11540
11622
  outline: "none"
11541
11623
  }
@@ -11548,28 +11630,28 @@ var tabsSlotRecipe = react.defineSlotRecipe({
11548
11630
  },
11549
11631
  accent: {
11550
11632
  list: {
11551
- backgroundColor: "accent.bg",
11552
- color: "accent.text"
11633
+ backgroundColor: "bg.accent",
11634
+ color: "text.accent"
11553
11635
  },
11554
11636
  trigger: {
11555
- color: "accent.text",
11637
+ color: "text.accent",
11556
11638
  _disabled: {
11557
11639
  backgroundColor: "surface.disabled",
11558
11640
  color: "icon.disabled"
11559
11641
  },
11560
11642
  _hover: {
11561
- backgroundColor: "accent.surface.hover",
11643
+ backgroundColor: "surface.accent.hover",
11562
11644
  _active: {
11563
- backgroundColor: "brand.surface.active",
11564
- color: "brand.text"
11645
+ backgroundColor: "surface.brand.active",
11646
+ color: "text.brand"
11565
11647
  }
11566
11648
  },
11567
11649
  _selected: {
11568
- backgroundColor: "brand.surface",
11569
- color: "brand.text",
11650
+ backgroundColor: "surface.brand",
11651
+ color: "text.brand",
11570
11652
  _hover: {
11571
- backgroundColor: "brand.surface.hover",
11572
- color: "brand.text",
11653
+ backgroundColor: "surface.brand.hover",
11654
+ color: "text.brand",
11573
11655
  outline: "none"
11574
11656
  }
11575
11657
  }
@@ -11617,7 +11699,7 @@ var tabsSlotRecipe = react.defineSlotRecipe({
11617
11699
  paddingX: 3,
11618
11700
  _focus: {
11619
11701
  border: "md",
11620
- borderColor: "accent.surface"
11702
+ borderColor: "surface.accent"
11621
11703
  }
11622
11704
  }
11623
11705
  }
@@ -11648,13 +11730,13 @@ var toastSlotRecipe = react.defineSlotRecipe({
11648
11730
  boxShadow: "xl",
11649
11731
  color: "text",
11650
11732
  "&[data-type=success]": {
11651
- backgroundColor: "alert.success.surface"
11733
+ backgroundColor: "surface.success"
11652
11734
  },
11653
11735
  "&[data-type=error]": {
11654
- backgroundColor: "alert.error.surface"
11736
+ backgroundColor: "surface.critical"
11655
11737
  },
11656
11738
  "&[data-type=info]": {
11657
- backgroundColor: "alert.info.surface"
11739
+ backgroundColor: "surface.info"
11658
11740
  }
11659
11741
  },
11660
11742
  title: {