@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.mjs CHANGED
@@ -6,7 +6,7 @@ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
6
6
  import * as React13 from 'react';
7
7
  import React13__default, { createContext, useContext, useId, cloneElement, isValidElement, useRef, useEffect, useImperativeHandle, useState, useLayoutEffect, useMemo } from 'react';
8
8
  import { spinnerColorData, inlineLoaderColorData, contentLoaderData, fullScreenLoaderWhiteData, inlineLoaderDarkData, spinnerLightData, spinnerDarkData, fullScreenLoaderBlackData, inlineLoaderLightData } from '@vygruppen/spor-loader';
9
- import ReactLottie from 'lottie-react';
9
+ import { useLottie } from 'lottie-react';
10
10
  import { useInterval } from 'usehooks-ts';
11
11
  export { useIsClient, useMap, useOnClickOutside } from 'usehooks-ts';
12
12
  import { useProgressBar, useCalendar as useCalendar$1, useRangeCalendar, useCalendarCell, useFocusRing, mergeProps, useCalendarGrid, useDateFormatter, VisuallyHidden as VisuallyHidden$1, useDatePicker, I18nProvider, useId as useId$1, useDateRangePicker, useFilter as useFilter$1, useComboBox, useListBox, useOption, useListBoxSection, useDateField, useTimeField, usePopover, DismissButton, Overlay, useDateSegment, useButton } from 'react-aria';
@@ -212,8 +212,23 @@ function createTexts(texts27) {
212
212
  return texts27;
213
213
  }
214
214
  function Lottie({ animationData }) {
215
- return /* @__PURE__ */ jsx(ReactLottie, { animationData });
215
+ const { View } = useLottie({ animationData });
216
+ return View;
216
217
  }
218
+
219
+ // src/loader/text.ts
220
+ var useGetLoadingText = () => {
221
+ const { t } = useTranslation();
222
+ return t(loadingText.loading);
223
+ };
224
+ var loadingText = createTexts({
225
+ loading: {
226
+ en: "Loading",
227
+ nb: "Laster",
228
+ nn: "Lastar",
229
+ sv: "Laddar"
230
+ }
231
+ });
217
232
  var ColorInlineLoader = ({
218
233
  width,
219
234
  maxWidth,
@@ -221,7 +236,7 @@ var ColorInlineLoader = ({
221
236
  }) => {
222
237
  return /* @__PURE__ */ jsxs(Center, { role: "status", "aria-live": "polite", ...props, children: [
223
238
  /* @__PURE__ */ jsx(Box, { width, maxWidth, children: /* @__PURE__ */ jsx(ClientOnly, { children: /* @__PURE__ */ jsx(Lottie, { animationData: inlineLoaderColorData }) }) }),
224
- /* @__PURE__ */ jsx(VisuallyHidden, { children: "Loading..." })
239
+ /* @__PURE__ */ jsx(VisuallyHidden, { children: useGetLoadingText() })
225
240
  ] });
226
241
  };
227
242
  var ColorSpinner = ({
@@ -232,14 +247,14 @@ var ColorSpinner = ({
232
247
  }) => {
233
248
  return /* @__PURE__ */ jsxs(Center, { flexDirection: "column", role: "status", "aria-live": "polite", ...props, children: [
234
249
  /* @__PURE__ */ jsx(Box, { width, maxWidth, children: /* @__PURE__ */ jsx(ClientOnly, { children: /* @__PURE__ */ jsx(Lottie, { animationData: spinnerColorData }) }) }),
235
- /* @__PURE__ */ jsx(VisuallyHidden, { children: "Loading..." }),
250
+ /* @__PURE__ */ jsx(VisuallyHidden, { children: useGetLoadingText() }),
236
251
  children && /* @__PURE__ */ jsx(Box, { marginTop: 3, fontWeight: "bold", children })
237
252
  ] });
238
253
  };
239
254
  var ContentLoader = ({ children, ...props }) => {
240
255
  return /* @__PURE__ */ jsxs(Box, { role: "status", "aria-live": "polite", ...props, children: [
241
256
  /* @__PURE__ */ jsx(Box, { maxWidth: "140px", marginX: "auto", children: /* @__PURE__ */ jsx(ClientOnly, { children: /* @__PURE__ */ jsx(Lottie, { animationData: contentLoaderData }) }) }),
242
- /* @__PURE__ */ jsx(VisuallyHidden, { children: "Loading..." }),
257
+ /* @__PURE__ */ jsx(VisuallyHidden, { children: useGetLoadingText() }),
243
258
  children && /* @__PURE__ */ jsx(Box, { textAlign: "center", fontWeight: "bold", children })
244
259
  ] });
245
260
  };
@@ -259,7 +274,7 @@ var DarkFullScreenLoader = ({
259
274
  ...props,
260
275
  children: [
261
276
  /* @__PURE__ */ jsx(Box, { width, maxWidth, children: /* @__PURE__ */ jsx(ClientOnly, { children: /* @__PURE__ */ jsx(Lottie, { animationData: fullScreenLoaderWhiteData }) }) }),
262
- /* @__PURE__ */ jsx(VisuallyHidden, { children: "Loading..." })
277
+ /* @__PURE__ */ jsx(VisuallyHidden, { children: useGetLoadingText() })
263
278
  ]
264
279
  }
265
280
  );
@@ -271,7 +286,7 @@ var DarkInlineLoader = ({
271
286
  }) => {
272
287
  return /* @__PURE__ */ jsxs(Center, { role: "status", "aria-live": "polite", ...props, children: [
273
288
  /* @__PURE__ */ jsx(Box, { width, maxWidth, children: /* @__PURE__ */ jsx(ClientOnly, { children: /* @__PURE__ */ jsx(Lottie, { animationData: inlineLoaderDarkData }) }) }),
274
- /* @__PURE__ */ jsx(VisuallyHidden, { children: "Loading..." })
289
+ /* @__PURE__ */ jsx(VisuallyHidden, { children: useGetLoadingText() })
275
290
  ] });
276
291
  };
277
292
  var DarkSpinner = ({
@@ -284,7 +299,7 @@ var DarkSpinner = ({
284
299
  const spinnerData = colorMode === "dark" ? spinnerLightData : spinnerDarkData;
285
300
  return /* @__PURE__ */ jsxs(Center, { flexDirection: "column", role: "status", "aria-live": "polite", ...props, children: [
286
301
  /* @__PURE__ */ jsx(Box, { width, maxWidth, children: /* @__PURE__ */ jsx(ClientOnly, { children: /* @__PURE__ */ jsx(Lottie, { animationData: spinnerData }) }) }),
287
- /* @__PURE__ */ jsx(VisuallyHidden, { children: "Loading..." }),
302
+ /* @__PURE__ */ jsx(VisuallyHidden, { children: useGetLoadingText() }),
288
303
  children && /* @__PURE__ */ jsx(Box, { marginTop: 3, fontWeight: "bold", children })
289
304
  ] });
290
305
  };
@@ -295,7 +310,7 @@ var LightFullScreenLoader = ({
295
310
  }) => {
296
311
  return /* @__PURE__ */ jsxs(Center, { height: "100%", role: "status", "aria-live": "polite", ...props, children: [
297
312
  /* @__PURE__ */ jsx(Box, { width, maxWidth, children: /* @__PURE__ */ jsx(ClientOnly, { children: /* @__PURE__ */ jsx(Lottie, { animationData: fullScreenLoaderBlackData }) }) }),
298
- /* @__PURE__ */ jsx(VisuallyHidden, { children: "Loading..." })
313
+ /* @__PURE__ */ jsx(VisuallyHidden, { children: useGetLoadingText() })
299
314
  ] });
300
315
  };
301
316
  var LightInlineLoader = ({
@@ -305,7 +320,7 @@ var LightInlineLoader = ({
305
320
  }) => {
306
321
  return /* @__PURE__ */ jsxs(Center, { height: "100%", role: "status", "aria-live": "polite", ...props, children: [
307
322
  /* @__PURE__ */ jsx(Box, { width, maxWidth, children: /* @__PURE__ */ jsx(ClientOnly, { children: /* @__PURE__ */ jsx(Lottie, { animationData: inlineLoaderLightData }) }) }),
308
- /* @__PURE__ */ jsx(VisuallyHidden, { children: "Loading..." })
323
+ /* @__PURE__ */ jsx(VisuallyHidden, { children: useGetLoadingText() })
309
324
  ] });
310
325
  };
311
326
  var LightSpinner = ({
@@ -316,7 +331,7 @@ var LightSpinner = ({
316
331
  }) => {
317
332
  return /* @__PURE__ */ jsxs(Center, { flexDirection: "column", role: "status", "aria-live": "polite", ...props, children: [
318
333
  /* @__PURE__ */ jsx(Box, { width, maxWidth, children: /* @__PURE__ */ jsx(ClientOnly, { children: /* @__PURE__ */ jsx(Lottie, { animationData: spinnerLightData }) }) }),
319
- /* @__PURE__ */ jsx(VisuallyHidden, { children: "Loading..." }),
334
+ /* @__PURE__ */ jsx(VisuallyHidden, { children: useGetLoadingText() }),
320
335
  children && /* @__PURE__ */ jsx(Box, { marginTop: 3, fontWeight: "bold", children })
321
336
  ] });
322
337
  };
@@ -571,12 +586,12 @@ var ButtonContent = ({
571
586
  ] });
572
587
  var LoadingContent = ({
573
588
  children,
574
- loadingText
589
+ loadingText: loadingText2
575
590
  }) => /* @__PURE__ */ jsxs(Fragment, { children: [
576
591
  /* @__PURE__ */ jsx(Flex, { gap: "1", visibility: "hidden", children }),
577
592
  /* @__PURE__ */ jsxs(Center, { position: "absolute", inset: "1px 0", children: [
578
593
  /* @__PURE__ */ jsx(ColorInlineLoader, { maxWidth: "8", marginX: 2, marginY: 2 }),
579
- loadingText && /* @__PURE__ */ jsx(Box, { children: loadingText })
594
+ loadingText2 && /* @__PURE__ */ jsx(Box, { children: loadingText2 })
580
595
  ] })
581
596
  ] });
582
597
  var getChildContent = (child) => {
@@ -589,7 +604,7 @@ var Button = ({
589
604
  ref,
590
605
  loading,
591
606
  disabled,
592
- loadingText,
607
+ loadingText: loadingText2,
593
608
  variant = "primary",
594
609
  size = "md",
595
610
  leftIcon,
@@ -599,11 +614,11 @@ var Button = ({
599
614
  ...rest
600
615
  }) => {
601
616
  const { t } = useTranslation();
602
- const ariaLabel = loading ? String(loadingText ?? t(texts2.loadingText)) : rest["aria-label"];
617
+ const ariaLabel = loading ? String(loadingText2 ?? t(texts2.loadingText)) : rest["aria-label"];
603
618
  const renderContent = () => {
604
619
  const content = rest.asChild ? getChildContent(children) : children;
605
620
  if (loading)
606
- return /* @__PURE__ */ jsx(LoadingContent, { size, loadingText, children: /* @__PURE__ */ jsx(ButtonContent, { leftIcon, rightIcon, children: content }) });
621
+ return /* @__PURE__ */ jsx(LoadingContent, { size, loadingText: loadingText2, children: /* @__PURE__ */ jsx(ButtonContent, { leftIcon, rightIcon, children: content }) });
607
622
  return /* @__PURE__ */ jsx(ButtonContent, { leftIcon, rightIcon, children: content });
608
623
  };
609
624
  return /* @__PURE__ */ jsx(
@@ -663,59 +678,59 @@ var badgeRecipie = defineRecipe({
663
678
  variants: {
664
679
  colorPalette: {
665
680
  neutral: {
666
- backgroundColor: "badge.surface",
667
- color: "badge.text",
681
+ backgroundColor: "surface",
682
+ color: "text",
668
683
  "& svg": {
669
- color: "badge.icon"
684
+ color: "icon"
670
685
  }
671
686
  },
672
687
  grey: {
673
- backgroundColor: "badge.grey.surface",
674
- color: "badge.grey.text",
688
+ backgroundColor: "surface.neutral",
689
+ color: "text.neutral",
675
690
  "& svg": {
676
- color: "badge.grey.icon"
691
+ color: "icon.neutral"
677
692
  }
678
693
  },
679
694
  green: {
680
- backgroundColor: "badge.green.surface",
681
- color: "badge.green.text",
695
+ backgroundColor: "surface.success",
696
+ color: "text.success",
682
697
  "& svg": {
683
- color: "badge.green.icon"
698
+ color: "icon.success"
684
699
  }
685
700
  },
686
701
  blue: {
687
- backgroundColor: "badge.blue.surface",
688
- color: "badge.blue.text",
702
+ backgroundColor: "surface.info",
703
+ color: "text.info",
689
704
  "& svg": {
690
- color: "badge.blue.icon"
705
+ color: "icon.info"
691
706
  }
692
707
  },
693
708
  cream: {
694
- backgroundColor: "badge.cream.surface",
695
- color: "badge.cream.text",
709
+ backgroundColor: "surface.warning",
710
+ color: "text.warning",
696
711
  "& svg": {
697
- color: "badge.cream.icon"
712
+ color: "icon.warning"
698
713
  }
699
714
  },
700
715
  yellow: {
701
- backgroundColor: "badge.yellow.surface",
702
- color: "badge.yellow.text",
716
+ backgroundColor: "surface.notice",
717
+ color: "text.notice",
703
718
  "& svg": {
704
- color: "badge.yellow.icon"
719
+ color: "icon.notice"
705
720
  }
706
721
  },
707
722
  orange: {
708
- backgroundColor: "badge.orange.surface",
709
- color: "badge.orange.text",
723
+ backgroundColor: "surface.caution",
724
+ color: "text.caution",
710
725
  "& svg": {
711
- color: "badge.orange.icon"
726
+ color: "icon.caution"
712
727
  }
713
728
  },
714
729
  red: {
715
- backgroundColor: "badge.red.surface",
716
- color: "badge.red.text",
730
+ backgroundColor: "surface.critical",
731
+ color: "text.critical",
717
732
  "& svg": {
718
- color: "badge.red.icon"
733
+ color: "icon.critical"
719
734
  }
720
735
  }
721
736
  },
@@ -760,10 +775,19 @@ var badgeRecipie = defineRecipe({
760
775
  colorPalette: "blue",
761
776
  inverted: true,
762
777
  css: {
763
- backgroundColor: "badge.blue.surface.inverted",
764
- color: "badge.blue.text.inverted",
778
+ backgroundColor: {
779
+ _light: "darkBlue",
780
+ _dark: "lightBlue"
781
+ },
782
+ color: {
783
+ _light: "icyBlue",
784
+ _dark: "royal"
785
+ },
765
786
  "& svg": {
766
- color: "badge.blue.icon.inverted"
787
+ color: {
788
+ _light: "royal",
789
+ _dark: "icyBlue"
790
+ }
767
791
  }
768
792
  }
769
793
  },
@@ -771,10 +795,19 @@ var badgeRecipie = defineRecipe({
771
795
  colorPalette: "green",
772
796
  inverted: true,
773
797
  css: {
774
- backgroundColor: "badge.green.surface.inverted",
775
- color: "badge.green.text.inverted",
798
+ backgroundColor: {
799
+ _light: "darkTeal",
800
+ _dark: "seaMist"
801
+ },
802
+ color: {
803
+ _light: "mint",
804
+ _dark: "jungle"
805
+ },
776
806
  "& svg": {
777
- color: "badge.green.icon.inverted"
807
+ color: {
808
+ _light: "mint",
809
+ _dark: "jungle"
810
+ }
778
811
  }
779
812
  }
780
813
  },
@@ -782,10 +815,19 @@ var badgeRecipie = defineRecipe({
782
815
  colorPalette: "grey",
783
816
  inverted: true,
784
817
  css: {
785
- backgroundColor: "badge.grey.surface.inverted",
786
- color: "badge.grey.text.inverted",
818
+ backgroundColor: {
819
+ _light: "carbon",
820
+ _dark: "platinum"
821
+ },
822
+ color: {
823
+ _light: "white",
824
+ _dark: "darkGrey"
825
+ },
787
826
  "& svg": {
788
- color: "badge.grey.icon.inverted"
827
+ color: {
828
+ _light: "white",
829
+ _dark: "darkGrey"
830
+ }
789
831
  }
790
832
  }
791
833
  },
@@ -794,10 +836,19 @@ var badgeRecipie = defineRecipe({
794
836
  colorPalette: "cream",
795
837
  inverted: true,
796
838
  css: {
797
- backgroundColor: "badge.cream.surface.inverted",
798
- color: "badge.cream.text.inverted",
839
+ backgroundColor: {
840
+ _light: "coffee",
841
+ _dark: "blonde"
842
+ },
843
+ color: {
844
+ _light: "cornsilk",
845
+ _dark: "coffee"
846
+ },
799
847
  "& svg": {
800
- color: "badge.cream.icon.inverted"
848
+ color: {
849
+ _light: "cornsilk",
850
+ _dark: "coffee"
851
+ }
801
852
  }
802
853
  }
803
854
  },
@@ -805,10 +856,19 @@ var badgeRecipie = defineRecipe({
805
856
  colorPalette: "yellow",
806
857
  inverted: true,
807
858
  css: {
808
- backgroundColor: "badge.yellow.surface.inverted",
809
- color: "badge.yellow.text.inverted",
859
+ backgroundColor: {
860
+ _light: "bronze",
861
+ _dark: "banana"
862
+ },
863
+ color: {
864
+ _light: "cornsilk",
865
+ _dark: "coffee"
866
+ },
810
867
  "& svg": {
811
- color: "badge.yellow.icon.inverted"
868
+ color: {
869
+ _light: "cornsilk",
870
+ _dark: "coffee"
871
+ }
812
872
  }
813
873
  }
814
874
  },
@@ -816,10 +876,19 @@ var badgeRecipie = defineRecipe({
816
876
  colorPalette: "orange",
817
877
  inverted: true,
818
878
  css: {
819
- backgroundColor: "badge.orange.surface.inverted",
820
- color: "badge.orange.text.inverted",
879
+ backgroundColor: {
880
+ _light: "wood",
881
+ _dark: "champagne"
882
+ },
883
+ color: {
884
+ _light: "bisque",
885
+ _dark: "wood"
886
+ },
821
887
  "& svg": {
822
- color: "badge.orange.icon.inverted"
888
+ color: {
889
+ _light: "bisque",
890
+ _dark: "wood"
891
+ }
823
892
  }
824
893
  }
825
894
  },
@@ -827,10 +896,19 @@ var badgeRecipie = defineRecipe({
827
896
  colorPalette: "red",
828
897
  inverted: true,
829
898
  css: {
830
- backgroundColor: "badge.red.surface.inverted",
831
- color: "badge.red.text.inverted",
899
+ backgroundColor: {
900
+ _light: "burgundy",
901
+ _dark: "lightRed"
902
+ },
903
+ color: {
904
+ _light: "pink",
905
+ _dark: "maroon"
906
+ },
832
907
  "& svg": {
833
- color: "badge.red.icon.inverted"
908
+ color: {
909
+ _light: "pink",
910
+ _dark: "maroon"
911
+ }
834
912
  }
835
913
  }
836
914
  },
@@ -839,10 +917,19 @@ var badgeRecipie = defineRecipe({
839
917
  colorPalette: "neutral",
840
918
  inverted: true,
841
919
  css: {
842
- backgroundColor: "badge.surface.inverted",
843
- color: "badge.text.inverted",
920
+ backgroundColor: {
921
+ _light: "ink",
922
+ _dark: "white"
923
+ },
924
+ color: {
925
+ _light: "white",
926
+ _dark: "darkGrey"
927
+ },
844
928
  "& svg": {
845
- color: "badge.icon.inverted"
929
+ color: {
930
+ _light: "white",
931
+ _dark: "darkGrey"
932
+ }
846
933
  }
847
934
  }
848
935
  }
@@ -1088,10 +1175,10 @@ var BaseAlertIcon = ({
1088
1175
  }) => {
1089
1176
  const css = {
1090
1177
  "& path:first-of-type": {
1091
- fill: `alert.${variant}.icon`
1178
+ fill: `icon.${variant}`
1092
1179
  },
1093
1180
  "& path:not(:first-of-type)": {
1094
- fill: `alert.${variant}.surface`
1181
+ fill: `surface.${variant}`
1095
1182
  }
1096
1183
  };
1097
1184
  switch (variant) {
@@ -1279,6 +1366,7 @@ var ServiceAlert = ({
1279
1366
  css: { ...styles.root, ...css },
1280
1367
  ref,
1281
1368
  ...rest,
1369
+ className: "light",
1282
1370
  children: /* @__PURE__ */ jsxs(Accordion$1.Item, { value: defaultValue, children: [
1283
1371
  /* @__PURE__ */ jsx(Accordion$1.ItemTrigger, { css: styles.itemTrigger, children: /* @__PURE__ */ jsxs(
1284
1372
  HStack,
@@ -1307,7 +1395,7 @@ var ServiceAlert = ({
1307
1395
  ] }),
1308
1396
  /* @__PURE__ */ jsxs(Flex, { alignItems: "center", gap: [0.5, null, null, 1], children: [
1309
1397
  notification && /* @__PURE__ */ jsx(Text, { css: styles.notificationText, children: t(texts5.notification(notification)) }),
1310
- /* @__PURE__ */ jsx(Accordion$1.ItemIndicator, { children: /* @__PURE__ */ jsx(DropdownDownFill24Icon, { color: "icon.inverted" }) })
1398
+ /* @__PURE__ */ jsx(Accordion$1.ItemIndicator, { children: /* @__PURE__ */ jsx(DropdownDownFill24Icon, { color: "icon.brand" }) })
1311
1399
  ] })
1312
1400
  ]
1313
1401
  }
@@ -1672,18 +1760,18 @@ var cellStyles = {
1672
1760
  },
1673
1761
  // Selection edge (single-mode selected OR range start/end)
1674
1762
  "&[data-edge]": {
1675
- backgroundColor: "brand.surface",
1676
- color: "text.inverted"
1763
+ backgroundColor: "surface.brand",
1764
+ color: "text.brand"
1677
1765
  },
1678
1766
  // Range middle
1679
1767
  "&[data-middle]": {
1680
- backgroundColor: "surface.secondary",
1768
+ backgroundColor: "surface.subtle",
1681
1769
  color: "text"
1682
1770
  },
1683
1771
  // Hover for non-selected, non-disabled cells on devices that support hover
1684
1772
  "@media (hover: hover)": {
1685
1773
  "&:not([data-edge]):not([data-middle]):not([data-disabled]):hover": {
1686
- backgroundColor: "surface.secondary",
1774
+ backgroundColor: "surface.subtle",
1687
1775
  color: "text"
1688
1776
  }
1689
1777
  }
@@ -2086,7 +2174,7 @@ var Field3 = ({
2086
2174
  ]
2087
2175
  }
2088
2176
  ),
2089
- helperText && /* @__PURE__ */ jsx(Text3, { variant: "sm", color: "text.tertiary", children: helperText })
2177
+ helperText && /* @__PURE__ */ jsx(Text3, { variant: "sm", color: "text.subtle", children: helperText })
2090
2178
  ] });
2091
2179
  };
2092
2180
  var FieldErrorText = ({
@@ -2323,7 +2411,7 @@ var CalendarNavigator = ({
2323
2411
  fontWeight: "bold",
2324
2412
  flex: "1",
2325
2413
  textAlign: "center",
2326
- color: "core.text",
2414
+ color: "text.core",
2327
2415
  children: capitalize(title)
2328
2416
  }
2329
2417
  ),
@@ -3122,7 +3210,7 @@ var CloseDrawerLine = ({
3122
3210
  top: 0,
3123
3211
  marginY: 2,
3124
3212
  marginX: "auto",
3125
- backgroundColor: "floating.outline.active",
3213
+ backgroundColor: "outline.neutral",
3126
3214
  borderRadius: "xs",
3127
3215
  ...props,
3128
3216
  ref
@@ -3593,7 +3681,7 @@ var CardSelectContent = ({
3593
3681
  p: "2",
3594
3682
  bg: "bg",
3595
3683
  border: "sm",
3596
- borderColor: "floating.outline",
3684
+ borderColor: "outline.floating",
3597
3685
  borderRadius: "sm",
3598
3686
  ...props,
3599
3687
  children
@@ -3601,9 +3689,9 @@ var CardSelectContent = ({
3601
3689
  ) }) }) }) });
3602
3690
  };
3603
3691
  var bgActiveStyleMap = {
3604
- core: "core.surface.active",
3605
- ghost: "ghost.surface.active",
3606
- floating: "floating.surface.active"
3692
+ core: "surface.core.active",
3693
+ ghost: "surface.ghost.active",
3694
+ floating: "surface.floating.active"
3607
3695
  };
3608
3696
  var CardSelectTrigger = ({
3609
3697
  ref,
@@ -3688,9 +3776,15 @@ var Popover = ({
3688
3776
  hasBackdrop = true,
3689
3777
  containerPadding = 12
3690
3778
  }) => {
3691
- var _a6;
3692
3779
  const internalRef = useRef(null);
3693
3780
  const popoverRef = ref ?? internalRef;
3781
+ useLayoutEffect(() => {
3782
+ var _a6;
3783
+ const element = typeof popoverRef === "object" ? popoverRef == null ? void 0 : popoverRef.current : null;
3784
+ if (element) {
3785
+ element.style.minWidth = `${((_a6 = triggerRef.current) == null ? void 0 : _a6.clientWidth) ?? 0}px`;
3786
+ }
3787
+ });
3694
3788
  const { popoverProps, underlayProps } = usePopover(
3695
3789
  {
3696
3790
  triggerRef,
@@ -3704,19 +3798,11 @@ var Popover = ({
3704
3798
  },
3705
3799
  state
3706
3800
  );
3707
- const popoverBox = /* @__PURE__ */ jsxs(
3708
- Box,
3709
- {
3710
- ...popoverProps,
3711
- ref: popoverRef,
3712
- minWidth: ((_a6 = triggerRef.current) == null ? void 0 : _a6.clientWidth) ?? "auto",
3713
- children: [
3714
- /* @__PURE__ */ jsx(DismissButton, { onDismiss: state.close }),
3715
- children,
3716
- /* @__PURE__ */ jsx(DismissButton, { onDismiss: state.close })
3717
- ]
3718
- }
3719
- );
3801
+ const popoverBox = /* @__PURE__ */ jsxs(Box, { ...popoverProps, ref: popoverRef, children: [
3802
+ /* @__PURE__ */ jsx(DismissButton, { onDismiss: state.close }),
3803
+ children,
3804
+ /* @__PURE__ */ jsx(DismissButton, { onDismiss: state.close })
3805
+ ] });
3720
3806
  if (isNonModal) {
3721
3807
  return popoverBox;
3722
3808
  }
@@ -3847,7 +3933,7 @@ var Combobox2 = (props) => {
3847
3933
  "aria-controls": listboxId,
3848
3934
  borderBottomLeftRadius: state.isOpen && !loading ? 0 : borderBottomLeftRadius,
3849
3935
  borderBottomRightRadius: state.isOpen && !loading ? 0 : borderBottomRightRadius,
3850
- _active: { backgroundColor: "core.surface.active" },
3936
+ _active: { backgroundColor: "surface.core.active" },
3851
3937
  ...filteredInputProps,
3852
3938
  startElement: leftIcon,
3853
3939
  endElement: loading ? /* @__PURE__ */ jsx(
@@ -4091,6 +4177,7 @@ var MenuTrigger = ({
4091
4177
  size,
4092
4178
  children,
4093
4179
  ref,
4180
+ withChevron = true,
4094
4181
  ...props
4095
4182
  }) => {
4096
4183
  const { variant } = useMenuContext();
@@ -4110,7 +4197,7 @@ var MenuTrigger = ({
4110
4197
  variant: getButtonVariant(),
4111
4198
  size,
4112
4199
  ...props,
4113
- rightIcon: /* @__PURE__ */ jsx(
4200
+ rightIcon: withChevron && /* @__PURE__ */ jsx(
4114
4201
  ChevronIcon,
4115
4202
  {
4116
4203
  transform: open ? "rotate(180deg)" : void 0,
@@ -5163,7 +5250,7 @@ var LineIcon = function LineIcon2({
5163
5250
  css: { ...styles.iconContainer, ...style },
5164
5251
  padding: targetPadding(),
5165
5252
  borderWidth: borderContainer(),
5166
- borderColor: variant === "walk" ? "core.outline" : "transparent",
5253
+ borderColor: variant === "walk" ? "outline.core" : "transparent",
5167
5254
  "aria-label": label,
5168
5255
  ref,
5169
5256
  className: clsx_default("light", rest.className),
@@ -6603,8 +6690,8 @@ var StepperStep = ({
6603
6690
  const state = getState(stepNumber, activeStep);
6604
6691
  const recipe = useSlotRecipe({ key: "stepper" });
6605
6692
  const style = recipe({ variant });
6606
- const disabledTextColor = "text.tertiary";
6607
- const iconColor = "text.tertiary";
6693
+ const disabledTextColor = "text.subtle";
6694
+ const iconColor = "text.subtle";
6608
6695
  const disabled = state !== "active" && disabledOverride || state === "disabled";
6609
6696
  return /* @__PURE__ */ jsxs(Box, { css: style.stepContainer, "data-part": "step-container", children: [
6610
6697
  stepNumber > 1 && /* @__PURE__ */ jsx(
@@ -6908,40 +6995,40 @@ var buttonRecipe = defineRecipe({
6908
6995
  variants: {
6909
6996
  variant: {
6910
6997
  primary: {
6911
- background: "brand.surface",
6912
- color: "brand.text",
6998
+ background: "surface.brand",
6999
+ color: "text.brand",
6913
7000
  fontWeight: "bold",
6914
7001
  _hover: {
6915
- background: "brand.surface.hover",
7002
+ background: "surface.brand.hover",
6916
7003
  _active: {
6917
- background: "brand.surface.active"
7004
+ background: "surface.brand.active"
6918
7005
  }
6919
7006
  }
6920
7007
  },
6921
7008
  secondary: {
6922
- background: "accent.surface",
6923
- color: "accent.text",
7009
+ background: "surface.accent",
7010
+ color: "text.accent",
6924
7011
  fontWeight: "bold",
6925
7012
  _hover: {
6926
- background: "accent.surface.hover",
7013
+ background: "surface.accent.hover",
6927
7014
  _active: {
6928
- background: "accent.surface.active"
7015
+ background: "surface.accent.active"
6929
7016
  }
6930
7017
  }
6931
7018
  },
6932
7019
  tertiary: {
6933
- color: "core.text",
7020
+ color: "text.core",
6934
7021
  outline: "solid",
6935
7022
  fontWeight: "normal",
6936
7023
  outlineWidth: tokens22__default.size.stroke.sm,
6937
- outlineColor: "core.outline",
7024
+ outlineColor: "outline.core",
6938
7025
  _hover: {
6939
7026
  outlineWidth: tokens22__default.size.stroke.md,
6940
- outlineColor: "core.outline.hover",
7027
+ outlineColor: "outline.core.hover",
6941
7028
  _active: {
6942
- background: "core.surface.active",
7029
+ background: "surface.core.active",
6943
7030
  outlineWidth: tokens22__default.size.stroke.sm,
6944
- outlineColor: "core.outline"
7031
+ outlineColor: "outline.core"
6945
7032
  }
6946
7033
  },
6947
7034
  _focus: {
@@ -6949,28 +7036,28 @@ var buttonRecipe = defineRecipe({
6949
7036
  }
6950
7037
  },
6951
7038
  ghost: {
6952
- color: "ghost.text",
7039
+ color: "text.ghost",
6953
7040
  fontWeight: "bold",
6954
7041
  _hover: {
6955
- background: "ghost.surface.hover",
7042
+ background: "surface.ghost.hover",
6956
7043
  _active: {
6957
- background: "ghost.surface.active"
7044
+ background: "surface.ghost.active"
6958
7045
  }
6959
7046
  }
6960
7047
  },
6961
7048
  floating: {
6962
- color: "floating.text",
6963
- background: "floating.surface",
7049
+ color: "text.floating",
7050
+ background: "surface.floating",
6964
7051
  fontWeight: "bold",
6965
7052
  border: "sm",
6966
- borderColor: "floating.outline",
7053
+ borderColor: "outline.floating",
6967
7054
  boxShadow: "0px 1px 3px 0px var(--spor-colors-surface-disabled, rgba(0, 0, 0, 0.10))",
6968
7055
  _hover: {
6969
- borderColor: "floating.outline.hover",
7056
+ borderColor: "outline.floating.hover",
6970
7057
  _active: {
6971
- background: "core.surface.active",
7058
+ background: "surface.core.active",
6972
7059
  boxShadow: "none",
6973
- borderColor: "floating.outline"
7060
+ borderColor: "outline.floating"
6974
7061
  }
6975
7062
  }
6976
7063
  }
@@ -7025,12 +7112,12 @@ var closeButtonRecipe = defineRecipe({
7025
7112
  color: "text",
7026
7113
  fontWeight: "normal",
7027
7114
  _hover: {
7028
- background: "ghost.surface.hover",
7115
+ background: "surface.ghost.hover",
7029
7116
  _disabled: {
7030
7117
  color: "icon.disabled"
7031
7118
  },
7032
7119
  _active: {
7033
- background: "ghost.surface.active"
7120
+ background: "surface.ghost.active"
7034
7121
  }
7035
7122
  }
7036
7123
  },
@@ -7105,7 +7192,7 @@ var inputRecipe = defineRecipe({
7105
7192
  },
7106
7193
  _hover: {
7107
7194
  outline: "2px solid",
7108
- outlineColor: "core.outline"
7195
+ outlineColor: "outline.core"
7109
7196
  }
7110
7197
  }
7111
7198
  },
@@ -7114,14 +7201,14 @@ var inputRecipe = defineRecipe({
7114
7201
  core: {
7115
7202
  backgroundColor: "transparent",
7116
7203
  outline: "1px solid",
7117
- outlineColor: "core.outline",
7204
+ outlineColor: "outline.core",
7118
7205
  _hover: {
7119
7206
  outline: "2px solid",
7120
- outlineColor: "core.outline.hover",
7207
+ outlineColor: "outline.core.hover",
7121
7208
  _active: {
7122
7209
  outline: "1px solid",
7123
7210
  outlineColor: "outline.disabled",
7124
- backgroundColor: "core.surface.active"
7211
+ backgroundColor: "surface.core.active"
7125
7212
  }
7126
7213
  },
7127
7214
  _focus: {
@@ -7131,17 +7218,17 @@ var inputRecipe = defineRecipe({
7131
7218
  },
7132
7219
  floating: {
7133
7220
  boxShadow: "sm",
7134
- bg: "floating.surface",
7221
+ bg: "surface.floating",
7135
7222
  outline: "1px solid",
7136
- outlineColor: "floating.outline",
7223
+ outlineColor: "outline.floating",
7137
7224
  _hover: {
7138
7225
  outline: "1px solid",
7139
- outlineColor: "floating.outline.hover"
7226
+ outlineColor: "outline.floating.hover"
7140
7227
  },
7141
7228
  _active: {
7142
7229
  outline: "1px solid",
7143
- outlineColor: "floating.outline.active",
7144
- backgroundColor: "floating.surface.active"
7230
+ outlineColor: "outline.neutral",
7231
+ backgroundColor: "surface.floating.active"
7145
7232
  },
7146
7233
  focus: {
7147
7234
  outline: "1px solid",
@@ -7184,7 +7271,7 @@ var linkRecipe = defineRecipe({
7184
7271
  variants: {
7185
7272
  variant: {
7186
7273
  primary: {
7187
- color: "core.text",
7274
+ color: "text.core",
7188
7275
  _hover: {
7189
7276
  color: "text",
7190
7277
  _active: {
@@ -7247,29 +7334,29 @@ var pressableCardRecipe = defineRecipe({
7247
7334
  boxShadow: "0px 1px 3px 0px var(--shadow-color)",
7248
7335
  shadowColor: "surface.disabled",
7249
7336
  border: "sm",
7250
- borderColor: "floating.outline",
7251
- backgroundColor: "floating.surface",
7337
+ borderColor: "outline.floating",
7338
+ backgroundColor: "surface.floating",
7252
7339
  _hover: {
7253
7340
  boxShadow: "0px 2px 6px 0px var(--shadow-color)",
7254
- backgroundColor: "floating.surface.hover",
7255
- borderColor: "floating.outline.hover",
7341
+ backgroundColor: "surface.floating.hover",
7342
+ borderColor: "outline.floating.hover",
7256
7343
  _active: {
7257
7344
  boxShadow: "none",
7258
- backgroundColor: "floating.surface.active",
7259
- borderColor: "floating.outline.active"
7345
+ backgroundColor: "surface.floating.active",
7346
+ borderColor: "outline.neutral"
7260
7347
  }
7261
7348
  }
7262
7349
  },
7263
7350
  core: {
7264
- outlineColor: "core.outline",
7351
+ outlineColor: "outline.core",
7265
7352
  outlineWidth: tokens22__default.size.stroke.sm,
7266
7353
  outlineStyle: "solid",
7267
7354
  _hover: {
7268
- outlineColor: "core.outline.hover",
7355
+ outlineColor: "outline.core.hover",
7269
7356
  outlineWidth: tokens22__default.size.stroke.md,
7270
7357
  outlineStyle: "solid",
7271
7358
  _active: {
7272
- backgroundColor: "core.surface.active",
7359
+ backgroundColor: "surface.core.active",
7273
7360
  outlineWidth: tokens22__default.size.stroke.sm
7274
7361
  }
7275
7362
  }
@@ -7277,12 +7364,12 @@ var pressableCardRecipe = defineRecipe({
7277
7364
  accent: {
7278
7365
  boxShadow: "0px 1px 3px 0px var(--shadow-color)",
7279
7366
  shadowColor: "surface.disabled",
7280
- background: "alert.success.surface",
7367
+ background: "surface.success",
7281
7368
  _hover: {
7282
- background: "alert.success.surface.hover",
7369
+ background: "surface.success.hover",
7283
7370
  boxShadow: "0px 2px 6px 0px var(--shadow-color)",
7284
7371
  _active: {
7285
- background: "alert.success.surface.active",
7372
+ background: "surface.success.active",
7286
7373
  boxShadow: "none"
7287
7374
  }
7288
7375
  }
@@ -7401,7 +7488,7 @@ var skeletonRecipe = defineRecipe({
7401
7488
  },
7402
7489
  none: {
7403
7490
  animation: "none",
7404
- background: "surface.color.grey"
7491
+ background: "surface.neutral"
7405
7492
  }
7406
7493
  }
7407
7494
  }
@@ -7413,29 +7500,29 @@ var staticCardRecipe = defineRecipe({
7413
7500
  variants: {
7414
7501
  colorPalette: {
7415
7502
  white: {
7416
- backgroundColor: "surface.color.neutral",
7503
+ backgroundColor: "surface",
7417
7504
  color: "text"
7418
7505
  },
7419
7506
  grey: {
7420
- backgroundColor: "surface.color.grey"
7507
+ backgroundColor: "surface.neutral"
7421
7508
  },
7422
7509
  yellow: {
7423
- backgroundColor: "surface.color.cream"
7510
+ backgroundColor: "surface.warning"
7424
7511
  },
7425
7512
  darkYellow: {
7426
- backgroundColor: "surface.color.yellow"
7513
+ backgroundColor: "surface.notice"
7427
7514
  },
7428
7515
  red: {
7429
- backgroundColor: "surface.color.red"
7516
+ backgroundColor: "surface.critical"
7430
7517
  },
7431
7518
  green: {
7432
- backgroundColor: "surface.color.green"
7519
+ backgroundColor: "surface.success"
7433
7520
  },
7434
7521
  blue: {
7435
- backgroundColor: "surface.color.blue"
7522
+ backgroundColor: "surface.info"
7436
7523
  },
7437
7524
  orange: {
7438
- backgroundColor: "surface.color.orange"
7525
+ backgroundColor: "surface.caution"
7439
7526
  }
7440
7527
  }
7441
7528
  },
@@ -7493,7 +7580,7 @@ var vyUtviklingColors = defineSemanticTokens.colors({
7493
7580
  ...tokens4.color["vy-utvikling"].color.vyUtvikling
7494
7581
  });
7495
7582
  var cargonetColors = defineSemanticTokens.colors({
7496
- ...tokens4.color.cargonet.color.cargonet
7583
+ ...tokens4.color["cargonet"].color.cargonet
7497
7584
  });
7498
7585
  var radii = defineSemanticTokens.radii({
7499
7586
  none: { value: tokens22__default.size["border-radius"].none },
@@ -7831,7 +7918,7 @@ var accordionSlotRecipe = defineSlotRecipe({
7831
7918
  borderRadius: "sm",
7832
7919
  display: "flex",
7833
7920
  justifyContent: "space-between",
7834
- color: "core.text",
7921
+ color: "text.core",
7835
7922
  textAlign: "left",
7836
7923
  width: "full",
7837
7924
  alignItems: "center",
@@ -7887,10 +7974,10 @@ var accordionSlotRecipe = defineSlotRecipe({
7887
7974
  },
7888
7975
  itemTrigger: {
7889
7976
  "&:hover": {
7890
- background: "ghost.surface.hover"
7977
+ background: "surface.ghost.hover"
7891
7978
  },
7892
7979
  "&:active": {
7893
- backgroundColor: "ghost.surface.active"
7980
+ backgroundColor: "surface.ghost.active"
7894
7981
  }
7895
7982
  }
7896
7983
  },
@@ -7898,7 +7985,7 @@ var accordionSlotRecipe = defineSlotRecipe({
7898
7985
  item: {
7899
7986
  outline: "solid",
7900
7987
  outlineWidth: tokens22__default.size.stroke.sm,
7901
- outlineColor: "core.outline"
7988
+ outlineColor: "outline.core"
7902
7989
  },
7903
7990
  itemTrigger: {
7904
7991
  _expanded: {
@@ -7906,12 +7993,12 @@ var accordionSlotRecipe = defineSlotRecipe({
7906
7993
  },
7907
7994
  "&:hover": {
7908
7995
  outlineWidth: tokens22__default.size.stroke.md,
7909
- outlineColor: "core.outline",
7996
+ outlineColor: "outline.core",
7910
7997
  outline: "2px solid",
7911
7998
  outlineOffset: 0
7912
7999
  },
7913
8000
  "&:active": {
7914
- backgroundColor: "core.surface.active",
8001
+ backgroundColor: "surface.core.active",
7915
8002
  outlineWidth: tokens22__default.size.stroke.sm,
7916
8003
  outline: "none"
7917
8004
  }
@@ -7924,7 +8011,7 @@ var accordionSlotRecipe = defineSlotRecipe({
7924
8011
  item: {
7925
8012
  borderRadius: "none",
7926
8013
  borderBottom: "1px solid",
7927
- borderBottomColor: "floating.outline.active"
8014
+ borderBottomColor: "outline.neutral"
7928
8015
  }
7929
8016
  },
7930
8017
  floating: {
@@ -7932,7 +8019,7 @@ var accordionSlotRecipe = defineSlotRecipe({
7932
8019
  outline: "1px solid",
7933
8020
  outlineWidth: tokens22__default.size.stroke.sm,
7934
8021
  boxShadow: "sm",
7935
- outlineColor: "floating.outline"
8022
+ outlineColor: "outline.floating"
7936
8023
  },
7937
8024
  itemTrigger: {
7938
8025
  _expanded: {
@@ -7941,11 +8028,11 @@ var accordionSlotRecipe = defineSlotRecipe({
7941
8028
  "&:hover": {
7942
8029
  outlineWidth: tokens22__default.size.stroke.md,
7943
8030
  outline: "1px solid",
7944
- outlineColor: "floating.outline.hover",
8031
+ outlineColor: "outline.floating.hover",
7945
8032
  outlineOffset: 1
7946
8033
  },
7947
8034
  "&:active": {
7948
- backgroundColor: "floating.surface.active",
8035
+ backgroundColor: "surface.floating.active",
7949
8036
  outlineWidth: tokens22__default.size.stroke.sm,
7950
8037
  outline: "none"
7951
8038
  }
@@ -7956,21 +8043,21 @@ var accordionSlotRecipe = defineSlotRecipe({
7956
8043
  });
7957
8044
  var createVariant = (variant) => ({
7958
8045
  root: {
7959
- borderColor: `alert.${variant}.outline`,
7960
- background: `alert.${variant}.surface`
8046
+ borderColor: `outline.${variant}`,
8047
+ background: `surface.${variant}`
7961
8048
  },
7962
8049
  description: {
7963
- color: `alert.${variant}.text.secondary`
8050
+ color: `text.${variant}.subtle`
7964
8051
  },
7965
8052
  title: {
7966
- color: `alert.${variant}.text`
8053
+ color: `text.${variant}`
7967
8054
  },
7968
8055
  closeButton: {
7969
- color: `alert.${variant}.text`,
8056
+ color: `text.${variant}`,
7970
8057
  _hover: {
7971
- bg: `alert.${variant}.surface.hover`,
8058
+ bg: `surface.${variant}.hover`,
7972
8059
  _active: {
7973
- bg: `alert.${variant}.surface.active`
8060
+ bg: `surface.${variant}.active`
7974
8061
  }
7975
8062
  }
7976
8063
  }
@@ -8005,13 +8092,13 @@ var alertSlotRecipe = defineSlotRecipe({
8005
8092
  },
8006
8093
  variants: {
8007
8094
  variant: {
8008
- important: createVariant("important"),
8009
- alt: createVariant("alt"),
8010
- error: createVariant("error"),
8095
+ important: createVariant("warning"),
8096
+ alt: createVariant("notice"),
8097
+ error: createVariant("critical"),
8011
8098
  success: createVariant("success"),
8012
8099
  info: createVariant("info"),
8013
8100
  neutral: createVariant("neutral"),
8014
- "error-secondary": createVariant("error-secondary"),
8101
+ "error-secondary": createVariant("caution"),
8015
8102
  service: createVariant("service")
8016
8103
  }
8017
8104
  },
@@ -8041,117 +8128,117 @@ var alertExpandableSlotRecipe = defineSlotRecipe({
8041
8128
  variant: {
8042
8129
  important: {
8043
8130
  itemContent: {
8044
- color: "alert.important.text.secondary"
8131
+ color: "text.warning.subtle"
8045
8132
  },
8046
8133
  itemTrigger: {
8047
8134
  "&:hover": {
8048
- bg: "alert.important.surface.hover",
8135
+ bg: "surface.warning.hover",
8049
8136
  outline: "1px solid",
8050
- outlineColor: "alert.important.outline.hover",
8137
+ outlineColor: "outline.warning.hover",
8051
8138
  outlineOffset: "0px"
8052
8139
  },
8053
8140
  "&:active": {
8054
- bg: "alert.important.surface.active"
8141
+ bg: "surface.warning.active"
8055
8142
  }
8056
8143
  },
8057
8144
  root: {
8058
- borderColor: "alert.important.outline",
8059
- bg: "alert.important.surface"
8145
+ borderColor: "outline.warning",
8146
+ bg: "surface.warning"
8060
8147
  },
8061
8148
  title: {
8062
- color: "alert.important.text"
8149
+ color: "text.warning"
8063
8150
  }
8064
8151
  },
8065
8152
  success: {
8066
8153
  itemContent: {
8067
- color: "alert.success.text.secondary"
8154
+ color: "text.success.subtle"
8068
8155
  },
8069
8156
  itemTrigger: {
8070
8157
  "&:hover": {
8071
- bg: "alert.success.surface.hover",
8158
+ bg: "surface.success.hover",
8072
8159
  outline: "1px solid",
8073
8160
  outlineOffset: "0px",
8074
- outlineColor: "alert.success.outline.hover",
8161
+ outlineColor: "outline.success.hover",
8075
8162
  "&:active": {
8076
- bg: "alert.success.surface.active"
8163
+ bg: "surface.success.active"
8077
8164
  }
8078
8165
  }
8079
8166
  },
8080
8167
  root: {
8081
- borderColor: "alert.success.outline",
8082
- bg: "alert.success.surface"
8168
+ borderColor: "outline.success",
8169
+ bg: "surface.success"
8083
8170
  },
8084
8171
  title: {
8085
- color: "alert.success.text"
8172
+ color: "text.success"
8086
8173
  }
8087
8174
  },
8088
8175
  alt: {
8089
8176
  itemContent: {
8090
- color: "alert.alt.text.secondary"
8177
+ color: "text.notice.subtle"
8091
8178
  },
8092
8179
  itemTrigger: {
8093
8180
  "&:hover": {
8094
- bg: "alert.alt.surface.hover",
8181
+ bg: "surface.notice.hover",
8095
8182
  outlineOffset: "0px",
8096
8183
  outline: "1px solid",
8097
- outlineColor: "alert.alt.outline.hover",
8184
+ outlineColor: "outline.notice.hover",
8098
8185
  "&:active": {
8099
- bg: "alert.alt.surface.active"
8186
+ bg: "surface.notice.active"
8100
8187
  }
8101
8188
  }
8102
8189
  },
8103
8190
  root: {
8104
- borderColor: "alert.alt.outline",
8105
- bg: "alert.alt.surface"
8191
+ borderColor: "outline.notice",
8192
+ bg: "surface.notice"
8106
8193
  },
8107
8194
  title: {
8108
- color: "alert.alt.text"
8195
+ color: "text.notice"
8109
8196
  }
8110
8197
  },
8111
8198
  info: {
8112
8199
  itemContent: {
8113
- color: "alert.info.text.secondary"
8200
+ color: "text.info.subtle"
8114
8201
  },
8115
8202
  itemTrigger: {
8116
8203
  "&:hover": {
8117
- bg: "alert.info.surface.hover",
8204
+ bg: "surface.info.hover",
8118
8205
  outlineOffset: "0px",
8119
8206
  outline: "1px solid",
8120
- outlineColor: "alert.info.outline.hover",
8207
+ outlineColor: "outline.info.hover",
8121
8208
  "&:active": {
8122
- bg: "alert.info.surface.active"
8209
+ bg: "surface.info.active"
8123
8210
  }
8124
8211
  }
8125
8212
  },
8126
8213
  root: {
8127
- borderColor: "alert.info.outline",
8128
- bg: "alert.info.surface"
8214
+ borderColor: "outline.info",
8215
+ bg: "surface.info"
8129
8216
  },
8130
8217
  title: {
8131
- color: "alert.info.text"
8218
+ color: "text.info"
8132
8219
  }
8133
8220
  },
8134
8221
  error: {
8135
8222
  itemContent: {
8136
- color: "alert.error.text.secondary"
8223
+ color: "text.critical.subtle"
8137
8224
  },
8138
8225
  itemTrigger: {
8139
8226
  "&:hover": {
8140
- bg: "alert.error.surface.hover",
8227
+ bg: "surface.critical.hover",
8141
8228
  outlineOffset: "0px",
8142
8229
  outline: "1px solid",
8143
- outlineColor: "alert.error.outline.hover",
8230
+ outlineColor: "outline.critical.hover",
8144
8231
  "&:active": {
8145
- bg: "alert.error.surface.active"
8232
+ bg: "surface.critical.active"
8146
8233
  }
8147
8234
  }
8148
8235
  },
8149
8236
  root: {
8150
- borderColor: "alert.error.outline",
8151
- bg: "alert.error.surface"
8237
+ borderColor: "outline.critical",
8238
+ bg: "surface.critical"
8152
8239
  },
8153
8240
  title: {
8154
- color: "alert.error.text"
8241
+ color: "text.critical"
8155
8242
  }
8156
8243
  }
8157
8244
  }
@@ -8167,10 +8254,10 @@ var alertServiceSlotRecipe = defineSlotRecipe({
8167
8254
  transitionDuration: "fast",
8168
8255
  borderTopRadius: "none",
8169
8256
  borderBottomRadius: "md",
8170
- backgroundColor: "alert.service.surface",
8257
+ backgroundColor: "surface.service",
8171
8258
  outline: "1px solid",
8172
- outlineColor: "alert.service.outline",
8173
- color: "text.inverted",
8259
+ outlineColor: "outline.service",
8260
+ color: "text.brand",
8174
8261
  boxShadow: "sm"
8175
8262
  },
8176
8263
  itemTrigger: {
@@ -8182,15 +8269,15 @@ var alertServiceSlotRecipe = defineSlotRecipe({
8182
8269
  borderBottomRadius: "md",
8183
8270
  borderTopRadius: "none",
8184
8271
  width: "full",
8185
- color: "text.inverted",
8272
+ color: "text.brand",
8186
8273
  "&:hover": {
8187
- backgroundColor: "alert.service.surface.hover"
8274
+ backgroundColor: "surface.service.hover"
8188
8275
  },
8189
8276
  "&:active": {
8190
- backgroundColor: "alert.service.surface.active"
8277
+ backgroundColor: "surface.service.active"
8191
8278
  },
8192
8279
  _icon: {
8193
- color: "text"
8280
+ color: "icon.brand"
8194
8281
  }
8195
8282
  },
8196
8283
  itemTriggerTitle: {
@@ -8200,7 +8287,7 @@ var alertServiceSlotRecipe = defineSlotRecipe({
8200
8287
  fontWeight: "400",
8201
8288
  fontSize: ["mobile.xs", "desktop.xs"],
8202
8289
  textWrap: "nowrap",
8203
- color: "alert.service.text.secondary"
8290
+ color: "text.service.subtle"
8204
8291
  },
8205
8292
  itemContent: {
8206
8293
  paddingX: ["2", "3"],
@@ -8210,14 +8297,14 @@ var alertServiceSlotRecipe = defineSlotRecipe({
8210
8297
  itemBody: {
8211
8298
  marginX: "auto",
8212
8299
  padding: "0 !important",
8213
- color: "alert.service.text.secondary",
8300
+ color: "text.service.subtle",
8214
8301
  gap: 0,
8215
8302
  flexDirection: "column",
8216
8303
  display: "flex",
8217
8304
  "& > p": {
8218
8305
  width: "full",
8219
8306
  borderBottom: "1px dashed",
8220
- borderColor: "outline.inverted",
8307
+ borderColor: "outline.neutral",
8221
8308
  paddingY: ["1", "1.5"],
8222
8309
  _first: {
8223
8310
  paddingTop: 0
@@ -8300,7 +8387,7 @@ var comboboxSlotRecipe = defineSlotRecipe({
8300
8387
  borderRadius: "sm",
8301
8388
  flex: "1",
8302
8389
  _highlighted: {
8303
- bg: "ghost.surface.active"
8390
+ bg: "surface.ghost.active"
8304
8391
  },
8305
8392
  _disabled: {
8306
8393
  pointerEvents: "none",
@@ -8308,13 +8395,13 @@ var comboboxSlotRecipe = defineSlotRecipe({
8308
8395
  color: "text.disabled"
8309
8396
  },
8310
8397
  _hover: {
8311
- bg: "ghost.surface.hover"
8398
+ bg: "surface.ghost.hover"
8312
8399
  },
8313
8400
  _pressed: {
8314
- bg: "ghost.surface.active"
8401
+ bg: "surface.ghost.active"
8315
8402
  },
8316
8403
  _focus: {
8317
- bg: "ghost.surface.active"
8404
+ bg: "surface.ghost.active"
8318
8405
  }
8319
8406
  },
8320
8407
  empty: {
@@ -8333,7 +8420,7 @@ var comboboxSlotRecipe = defineSlotRecipe({
8333
8420
  itemGroupLabel: {
8334
8421
  px: "3",
8335
8422
  py: "0.5",
8336
- color: "floating.text",
8423
+ color: "text.floating",
8337
8424
  fontFeatureSettings: "liga off",
8338
8425
  fontSize: ["mobile.sm, desktop.sm"],
8339
8426
  fontWeight: "bold"
@@ -8369,11 +8456,11 @@ var breadcrumbSlotRecipe = defineSlotRecipe({
8369
8456
  core: {
8370
8457
  link: {
8371
8458
  _hover: {
8372
- outlineColor: "core.outline.hover",
8459
+ outlineColor: "outline.core.hover",
8373
8460
  outlineWidth: tokens22__default.size.stroke.md,
8374
8461
  outlineStyle: "solid",
8375
8462
  _active: {
8376
- backgroundColor: "core.surface.active",
8463
+ backgroundColor: "surface.core.active",
8377
8464
  outline: "none"
8378
8465
  }
8379
8466
  }
@@ -8382,9 +8469,9 @@ var breadcrumbSlotRecipe = defineSlotRecipe({
8382
8469
  ghost: {
8383
8470
  link: {
8384
8471
  _hover: {
8385
- backgroundColor: "ghost.surface.hover",
8472
+ backgroundColor: "surface.ghost.hover",
8386
8473
  _active: {
8387
- backgroundColor: "ghost.surface.active"
8474
+ backgroundColor: "surface.ghost.active"
8388
8475
  }
8389
8476
  }
8390
8477
  }
@@ -8406,10 +8493,10 @@ var checkboxSlotRecipe = defineSlotRecipe({
8406
8493
  gap: 1.5,
8407
8494
  _hover: {
8408
8495
  "& > input:enabled:not([aria-invalid]) + .spor-checkbox__control": {
8409
- borderColor: "core.outline.hover"
8496
+ borderColor: "outline.core.hover"
8410
8497
  },
8411
8498
  "& > input:enabled:checked:not([aria-invalid]) + .spor-checkbox__control": {
8412
- background: "brand.surface.hover"
8499
+ background: "surface.brand.hover"
8413
8500
  }
8414
8501
  }
8415
8502
  },
@@ -8431,19 +8518,14 @@ var checkboxSlotRecipe = defineSlotRecipe({
8431
8518
  transitionProperty: "background, border-color",
8432
8519
  transitionDuration: "moderate",
8433
8520
  border: "2px solid",
8434
- borderColor: "core.outline",
8521
+ borderColor: "outline.core",
8435
8522
  borderRadius: "xs",
8436
8523
  _checked: {
8437
- color: "brand.icon",
8438
- borderColor: "brand.surface",
8439
- background: "brand.surface",
8524
+ color: "icon.brand",
8525
+ borderColor: "surface.brand",
8526
+ background: "surface.brand",
8440
8527
  _focus: {
8441
- borderColor: "brand.surface.active"
8442
- },
8443
- _disabled: {
8444
- background: "surface.disabled",
8445
- color: "text.disabled",
8446
- borderColor: "currentColor"
8528
+ borderColor: "surface.brand.active"
8447
8529
  },
8448
8530
  _invalid: {
8449
8531
  backgroundColor: "outline.error",
@@ -8451,8 +8533,9 @@ var checkboxSlotRecipe = defineSlotRecipe({
8451
8533
  }
8452
8534
  },
8453
8535
  _disabled: {
8454
- // borderColor: coreText("disabled").color,
8455
- borderColor: "text.disabled"
8536
+ background: "surface.disabled",
8537
+ borderColor: "outline.disabled",
8538
+ color: "text.disabled"
8456
8539
  },
8457
8540
  _invalid: {
8458
8541
  borderColor: "outline.error"
@@ -8462,7 +8545,7 @@ var checkboxSlotRecipe = defineSlotRecipe({
8462
8545
  outlineColor: "outline.focus",
8463
8546
  outlineOffset: tokens22__default.size.stroke.md,
8464
8547
  outlineWidth: tokens22__default.size.stroke.md,
8465
- borderColor: "core.outline",
8548
+ borderColor: "outline.core",
8466
8549
  borderWidth: tokens22__default.size.stroke.md
8467
8550
  }
8468
8551
  },
@@ -8486,16 +8569,16 @@ var choiceChipSlotRecipe = defineSlotRecipe({
8486
8569
  paddingInlineStart: "2",
8487
8570
  paddingInlineEnd: "2",
8488
8571
  outline: "1px solid",
8489
- outlineColor: "core.outline",
8572
+ outlineColor: "outline.core",
8490
8573
  _checked: {
8491
- backgroundColor: "brand.surface",
8574
+ backgroundColor: "surface.brand",
8492
8575
  borderRadius: "sm",
8493
8576
  outline: "none",
8494
- color: "brand.text",
8577
+ color: "text.brand",
8495
8578
  _hover: {
8496
- backgroundColor: "brand.surface.hover",
8579
+ backgroundColor: "surface.brand.hover",
8497
8580
  _active: {
8498
- backgroundColor: "brand.surface.active"
8581
+ backgroundColor: "surface.brand.active"
8499
8582
  }
8500
8583
  }
8501
8584
  },
@@ -8592,47 +8675,47 @@ var choiceChipSlotRecipe = defineSlotRecipe({
8592
8675
  variant: {
8593
8676
  core: {
8594
8677
  root: {
8595
- color: "core.text",
8596
- outlineColor: "core.outline",
8678
+ color: "text.core",
8679
+ outlineColor: "outline.core",
8597
8680
  _hover: {
8598
8681
  outline: "2px solid",
8599
- outlineColor: "core.outline.hover",
8682
+ outlineColor: "outline.core.hover",
8600
8683
  _active: {
8601
8684
  outline: "1px solid",
8602
- outlineColor: "core.outline",
8603
- backgroundColor: "core.surface.active"
8685
+ outlineColor: "outline.core",
8686
+ backgroundColor: "surface.core.active"
8604
8687
  }
8605
8688
  }
8606
8689
  }
8607
8690
  },
8608
8691
  accent: {
8609
8692
  root: {
8610
- backgroundColor: "accent.surface",
8611
- color: "accent.text",
8693
+ backgroundColor: "surface.accent",
8694
+ color: "text.accent",
8612
8695
  outline: "none",
8613
8696
  _hover: {
8614
- backgroundColor: "accent.surface.hover",
8697
+ backgroundColor: "surface.accent.hover",
8615
8698
  _active: {
8616
- backgroundColor: "accent.surface.active"
8699
+ backgroundColor: "surface.accent.active"
8617
8700
  }
8618
8701
  }
8619
8702
  }
8620
8703
  },
8621
8704
  floating: {
8622
8705
  root: {
8623
- backgroundColor: "floating.surface",
8706
+ backgroundColor: "surface.floating",
8624
8707
  outline: "1px solid",
8625
- outlineColor: "floating.outline",
8626
- color: "floating.text",
8708
+ outlineColor: "outline.floating",
8709
+ color: "text.floating",
8627
8710
  boxShadow: "sm",
8628
8711
  _hover: {
8629
- backgroundColor: "floating.surface.hover",
8712
+ backgroundColor: "surface.floating.hover",
8630
8713
  outline: "1px solid",
8631
- outlineColor: "floating.outline.hover",
8714
+ outlineColor: "outline.floating.hover",
8632
8715
  _active: {
8633
- backgroundColor: "floating.surface.active",
8716
+ backgroundColor: "surface.floating.active",
8634
8717
  outline: "1px solid",
8635
- outlineColor: "floating.outline"
8718
+ outlineColor: "outline.floating"
8636
8719
  }
8637
8720
  }
8638
8721
  }
@@ -8710,7 +8793,7 @@ var datePickerSlotRecipe = defineSlotRecipe({
8710
8793
  },
8711
8794
  dateTimeSegment: {
8712
8795
  _focus: {
8713
- backgroundColor: "ghost.surface.active",
8796
+ backgroundColor: "surface.ghost.active",
8714
8797
  color: "text"
8715
8798
  }
8716
8799
  },
@@ -8726,10 +8809,10 @@ var datePickerSlotRecipe = defineSlotRecipe({
8726
8809
  transitionProperty: "box-shadow, background-color",
8727
8810
  right: "0.5rem",
8728
8811
  _hover: {
8729
- backgroundColor: "ghost.surface.hover"
8812
+ backgroundColor: "surface.ghost.hover"
8730
8813
  },
8731
8814
  _active: {
8732
- backgroundColor: "ghost.surface.active"
8815
+ backgroundColor: "surface.ghost.active"
8733
8816
  },
8734
8817
  _invalid: {
8735
8818
  outline: "2px solid",
@@ -8740,11 +8823,11 @@ var datePickerSlotRecipe = defineSlotRecipe({
8740
8823
  backgroundColor: "surface"
8741
8824
  },
8742
8825
  calendarPopover: {
8743
- color: "core.text",
8826
+ color: "text.core",
8744
8827
  outline: "1px solid",
8745
- outlineColor: "floating.outline",
8828
+ outlineColor: "outline.floating",
8746
8829
  boxShadow: "md",
8747
- backgroundColor: "floating.surface",
8830
+ backgroundColor: "surface.floating",
8748
8831
  minHeight: "min-content"
8749
8832
  },
8750
8833
  rangeCalendarPopover: {
@@ -8752,11 +8835,11 @@ var datePickerSlotRecipe = defineSlotRecipe({
8752
8835
  maxWidth: "100vw"
8753
8836
  },
8754
8837
  weekdays: {
8755
- color: "core.text",
8838
+ color: "text.core",
8756
8839
  fontWeight: "bold"
8757
8840
  },
8758
8841
  weekend: {
8759
- color: "accent.text",
8842
+ color: "text.accent",
8760
8843
  fontWeight: "bold"
8761
8844
  },
8762
8845
  cell: {
@@ -8770,12 +8853,12 @@ var datePickerSlotRecipe = defineSlotRecipe({
8770
8853
  top: 0,
8771
8854
  bottom: 0,
8772
8855
  zIndex: -1,
8773
- backgroundColor: "brand.surface"
8856
+ backgroundColor: "surface.brand"
8774
8857
  }
8775
8858
  }
8776
8859
  },
8777
8860
  dateCell: {
8778
- color: "core.text",
8861
+ color: "text.core",
8779
8862
  borderRadius: "xl",
8780
8863
  position: "relative",
8781
8864
  transition: ".1s ease-in-out",
@@ -8784,10 +8867,10 @@ var datePickerSlotRecipe = defineSlotRecipe({
8784
8867
  height: [6, 7],
8785
8868
  transitionProperty: "common",
8786
8869
  _hover: {
8787
- backgroundColor: "ghost.surface.hover"
8870
+ backgroundColor: "surface.ghost.hover"
8788
8871
  },
8789
8872
  _active: {
8790
- backgroundColor: "ghost.surface.active"
8873
+ backgroundColor: "surface.ghost.active"
8791
8874
  },
8792
8875
  _disabled: {
8793
8876
  backgroundColor: "surface.disabled",
@@ -8795,16 +8878,16 @@ var datePickerSlotRecipe = defineSlotRecipe({
8795
8878
  pointerEvents: "none"
8796
8879
  },
8797
8880
  _selected: {
8798
- backgroundColor: "brand.surface",
8799
- color: "brand.text",
8881
+ backgroundColor: "surface.brand",
8882
+ color: "text.brand",
8800
8883
  _active: {
8801
- backgroundColor: "brand.surface.active",
8802
- color: "brand.text"
8884
+ backgroundColor: "surface.brand.active",
8885
+ color: "text.brand"
8803
8886
  }
8804
8887
  },
8805
8888
  "&[data-today]": {
8806
8889
  outline: "1px solid",
8807
- outlineColor: "core.outline"
8890
+ outlineColor: "outline.core"
8808
8891
  },
8809
8892
  "&[data-unavailable]": {
8810
8893
  pointerEvents: "none",
@@ -8819,14 +8902,14 @@ var datePickerSlotRecipe = defineSlotRecipe({
8819
8902
  core: {
8820
8903
  wrapper: {
8821
8904
  outline: "1px solid",
8822
- outlineColor: "core.outline",
8905
+ outlineColor: "outline.core",
8823
8906
  _hover: {
8824
8907
  outline: "2px solid",
8825
- outlineColor: "core.outline.hover",
8908
+ outlineColor: "outline.core.hover",
8826
8909
  _active: {
8827
- backgroundColor: "ghost.surface.active",
8910
+ backgroundColor: "surface.ghost.active",
8828
8911
  outline: "1px solid",
8829
- outlineColor: "core.outline"
8912
+ outlineColor: "outline.core"
8830
8913
  },
8831
8914
  "&[data-active]": {
8832
8915
  outline: "2px solid",
@@ -8844,17 +8927,17 @@ var datePickerSlotRecipe = defineSlotRecipe({
8844
8927
  },
8845
8928
  floating: {
8846
8929
  wrapper: {
8847
- bg: "floating.surface",
8930
+ bg: "surface.floating",
8848
8931
  outline: "1px solid",
8849
- outlineColor: "floating.outline",
8932
+ outlineColor: "outline.floating",
8850
8933
  boxShadow: "sm",
8851
8934
  _hover: {
8852
8935
  outline: "1px solid",
8853
- outlineColor: "floating.outline.hover",
8936
+ outlineColor: "outline.floating.hover",
8854
8937
  _active: {
8855
- backgroundColor: "ghost.surface.active",
8938
+ backgroundColor: "surface.ghost.active",
8856
8939
  outline: "1px solid",
8857
- outlineColor: "core.outline"
8940
+ outlineColor: "outline.core"
8858
8941
  },
8859
8942
  "&[data-active]": {
8860
8943
  outline: "2px solid",
@@ -8874,11 +8957,11 @@ var datePickerSlotRecipe = defineSlotRecipe({
8874
8957
  wrapper: {
8875
8958
  _hover: {
8876
8959
  outline: "2px solid",
8877
- outlineColor: "core.outline.hover",
8960
+ outlineColor: "outline.core.hover",
8878
8961
  _active: {
8879
- backgroundColor: "ghost.surface.active",
8962
+ backgroundColor: "surface.ghost.active",
8880
8963
  outline: "1px solid",
8881
- outlineColor: "core.outline"
8964
+ outlineColor: "outline.core"
8882
8965
  },
8883
8966
  "&[data-active]": {
8884
8967
  outline: "2px solid",
@@ -9338,13 +9421,13 @@ var fieldSlotRecipe = defineSlotRecipe({
9338
9421
  },
9339
9422
  helperText: {
9340
9423
  marginTop: 2,
9341
- color: "text.tertiary",
9424
+ color: "text.subtle",
9342
9425
  lineHeight: "normal",
9343
9426
  fontSize: "sm"
9344
9427
  },
9345
9428
  errorText: {
9346
9429
  borderRadius: "xs",
9347
- backgroundColor: "alert.error.surface",
9430
+ backgroundColor: "surface.critical",
9348
9431
  color: "text",
9349
9432
  paddingX: 1.5,
9350
9433
  paddingY: 1,
@@ -9362,7 +9445,7 @@ var fieldSlotRecipe = defineSlotRecipe({
9362
9445
  left: "1em",
9363
9446
  width: "0.5rem",
9364
9447
  height: "0.5rem",
9365
- backgroundColor: "alert.error.surface",
9448
+ backgroundColor: "surface.critical",
9366
9449
  transform: "translateY(-50%) rotate(45deg)",
9367
9450
  pointerEvents: "none"
9368
9451
  }
@@ -9423,12 +9506,12 @@ var floatingActionButtonSlotRecipe = defineSlotRecipe({
9423
9506
  variant: {
9424
9507
  brand: {
9425
9508
  root: {
9426
- backgroundColor: "brand.surface",
9427
- color: "brand.text",
9509
+ backgroundColor: "surface.brand",
9510
+ color: "text.brand",
9428
9511
  _hover: {
9429
- backgroundColor: "brand.surface.hover",
9512
+ backgroundColor: "surface.brand.hover",
9430
9513
  _active: {
9431
- backgroundColor: "brand.surface.active"
9514
+ backgroundColor: "surface.brand.active"
9432
9515
  }
9433
9516
  }
9434
9517
  }
@@ -9437,29 +9520,29 @@ var floatingActionButtonSlotRecipe = defineSlotRecipe({
9437
9520
  root: {
9438
9521
  backgroundColor: "transparent",
9439
9522
  outline: "1px solid",
9440
- outlineColor: "core.outline",
9441
- color: "core.text",
9523
+ outlineColor: "outline.core",
9524
+ color: "text.core",
9442
9525
  _hover: {
9443
9526
  backgroundColor: "transparent",
9444
9527
  outline: "2px solid",
9445
- outlineColor: "core.outline",
9528
+ outlineColor: "outline.core",
9446
9529
  _active: {
9447
9530
  outline: "1px solid",
9448
- outlineColor: "core.outline",
9449
- backgroundColor: "core.surface.active"
9531
+ outlineColor: "outline.core",
9532
+ backgroundColor: "surface.core.active"
9450
9533
  }
9451
9534
  }
9452
9535
  }
9453
9536
  },
9454
9537
  accent: {
9455
9538
  root: {
9456
- backgroundColor: "accent.surface",
9457
- color: "accent.text",
9539
+ backgroundColor: "surface.accent",
9540
+ color: "text.accent",
9458
9541
  _hover: {
9459
- backgroundColor: "accent.surface.hover",
9460
- color: "accent.text",
9542
+ backgroundColor: "surface.accent.hover",
9543
+ color: "text.accent",
9461
9544
  _active: {
9462
- backgroundColor: "accent.surface.active"
9545
+ backgroundColor: "surface.accent.active"
9463
9546
  }
9464
9547
  }
9465
9548
  }
@@ -9779,42 +9862,42 @@ var inputChipSlotRecipe = defineSlotRecipe({
9779
9862
  borderColor: "outline",
9780
9863
  "&:hover": {
9781
9864
  outline: "2px solid",
9782
- outlineColor: "core.outline.hover"
9865
+ outlineColor: "outline.core.hover"
9783
9866
  },
9784
9867
  "&:active": {
9785
9868
  outline: "none",
9786
- backgroundColor: "core.surface.active"
9869
+ backgroundColor: "surface.core.active"
9787
9870
  }
9788
9871
  }
9789
9872
  },
9790
9873
  accent: {
9791
9874
  root: {
9792
- backgroundColor: "accent.surface",
9875
+ backgroundColor: "surface.accent",
9793
9876
  color: "text.highlight",
9794
9877
  "& svg": {
9795
9878
  color: "icon.highlight"
9796
9879
  },
9797
9880
  "&:hover": {
9798
- backgroundColor: "accent.surface.hover"
9881
+ backgroundColor: "surface.accent.hover"
9799
9882
  },
9800
9883
  "&:active": {
9801
- backgroundColor: "accent.surface.active",
9884
+ backgroundColor: "surface.accent.active",
9802
9885
  outline: "none"
9803
9886
  }
9804
9887
  }
9805
9888
  },
9806
9889
  brand: {
9807
9890
  root: {
9808
- backgroundColor: "brand.surface",
9809
- color: "text.inverted",
9891
+ backgroundColor: "surface.brand",
9892
+ color: "text.brand",
9810
9893
  "& svg": {
9811
- color: "icon.inverted"
9894
+ color: "icon.brand"
9812
9895
  },
9813
9896
  "&:hover": {
9814
- backgroundColor: "brand.surface.hover"
9897
+ backgroundColor: "surface.brand.hover"
9815
9898
  },
9816
9899
  "&:active": {
9817
- backgroundColor: "brand.surface.active",
9900
+ backgroundColor: "surface.brand.active",
9818
9901
  outline: "none"
9819
9902
  }
9820
9903
  }
@@ -10041,18 +10124,18 @@ var listBoxSlotRecipe = defineSlotRecipe({
10041
10124
  marginY: 1,
10042
10125
  marginX: 1,
10043
10126
  borderRadius: "sm",
10044
- color: "ghost.text",
10127
+ color: "text.ghost",
10045
10128
  cursor: "pointer",
10046
10129
  listStyle: "none",
10047
10130
  _active: {
10048
- backgroundColor: "ghost.surface.active"
10131
+ backgroundColor: "surface.ghost.active"
10049
10132
  },
10050
10133
  _hover: {
10051
- backgroundColor: "accent.surface",
10052
- color: "accent.text"
10134
+ backgroundColor: "surface.accent",
10135
+ color: "text.accent"
10053
10136
  },
10054
10137
  _selected: {
10055
- backgroundColor: "ghost.surface.active"
10138
+ backgroundColor: "surface.ghost.active"
10056
10139
  },
10057
10140
  _focus: {
10058
10141
  outline: "2px solid",
@@ -10062,9 +10145,9 @@ var listBoxSlotRecipe = defineSlotRecipe({
10062
10145
  label: {},
10063
10146
  description: {
10064
10147
  fontSize: ["mobile.xs", "desktop.xs"],
10065
- color: "ghost.text",
10148
+ color: "text.ghost",
10066
10149
  "[aria-selected='true'] &": {
10067
- color: "ghost.text"
10150
+ color: "text.ghost"
10068
10151
  }
10069
10152
  }
10070
10153
  },
@@ -10073,13 +10156,13 @@ var listBoxSlotRecipe = defineSlotRecipe({
10073
10156
  core: {
10074
10157
  root: {
10075
10158
  outline: "1px solid",
10076
- outlineColor: "core.outline"
10159
+ outlineColor: "outline.core"
10077
10160
  }
10078
10161
  },
10079
10162
  floating: {
10080
10163
  root: {
10081
10164
  outline: "1px solid",
10082
- outlineColor: "floating.outline"
10165
+ outlineColor: "outline.floating"
10083
10166
  }
10084
10167
  }
10085
10168
  }
@@ -10104,7 +10187,7 @@ var mediaControllerSlotRecipe = defineSlotRecipe({
10104
10187
  display: "flex",
10105
10188
  padding: 1,
10106
10189
  alignSelf: "center",
10107
- color: "brand.surface",
10190
+ color: "surface.brand",
10108
10191
  outlineOffset: "2px"
10109
10192
  },
10110
10193
  icon: {
@@ -10117,14 +10200,14 @@ var mediaControllerSlotRecipe = defineSlotRecipe({
10117
10200
  play: {
10118
10201
  root: {
10119
10202
  padding: 0,
10120
- color: "brand.text",
10121
- backgroundColor: "brand.surface",
10203
+ color: "text.brand",
10204
+ backgroundColor: "surface.brand",
10122
10205
  _hover: {
10123
- color: "brand.text",
10124
- backgroundColor: "brand.surface.hover",
10206
+ color: "text.brand",
10207
+ backgroundColor: "surface.brand.hover",
10125
10208
  _active: {
10126
- color: "brand.text",
10127
- backgroundColor: "brand.surface.active"
10209
+ color: "text.brand",
10210
+ backgroundColor: "surface.brand.active"
10128
10211
  }
10129
10212
  },
10130
10213
  _disabled: {
@@ -10137,9 +10220,9 @@ var mediaControllerSlotRecipe = defineSlotRecipe({
10137
10220
  jumpSkip: {
10138
10221
  root: {
10139
10222
  _hover: {
10140
- backgroundColor: "ghost.surface.hover",
10223
+ backgroundColor: "surface.ghost.hover",
10141
10224
  _active: {
10142
- backgroundColor: "ghost.surface.active"
10225
+ backgroundColor: "surface.ghost.active"
10143
10226
  }
10144
10227
  },
10145
10228
  _disabled: {
@@ -10249,16 +10332,16 @@ var menuSlotRecipe = defineSlotRecipe({
10249
10332
  justifyContent: "space-between",
10250
10333
  gap: 1.5,
10251
10334
  _hover: {
10252
- backgroundColor: "accent.surface.hover"
10335
+ backgroundColor: "surface.accent.hover"
10253
10336
  },
10254
10337
  "&:active": {
10255
- backgroundColor: "accent.surface.active"
10338
+ backgroundColor: "surface.accent.active"
10256
10339
  },
10257
10340
  _checked: {
10258
- backgroundColor: "accent.surface"
10341
+ backgroundColor: "surface.accent"
10259
10342
  },
10260
10343
  _highlighted: {
10261
- backgroundColor: "ghost.surface.hover"
10344
+ backgroundColor: "surface.ghost.hover"
10262
10345
  }
10263
10346
  },
10264
10347
  itemGroupLabel: {
@@ -10295,19 +10378,19 @@ var menuSlotRecipe = defineSlotRecipe({
10295
10378
  core: {
10296
10379
  content: {
10297
10380
  border: "1px solid",
10298
- borderColor: "core.outline"
10381
+ borderColor: "outline.core"
10299
10382
  }
10300
10383
  },
10301
10384
  accent: {
10302
10385
  content: {
10303
10386
  border: "1px solid",
10304
- borderColor: "core.outline"
10387
+ borderColor: "outline.core"
10305
10388
  }
10306
10389
  },
10307
10390
  floating: {
10308
10391
  content: {
10309
10392
  border: "sm",
10310
- borderColor: "floating.outline",
10393
+ borderColor: "outline.floating",
10311
10394
  boxShadow: "lg"
10312
10395
  }
10313
10396
  }
@@ -10395,7 +10478,7 @@ var numericStepperRecipe = defineSlotRecipe({
10395
10478
  textAlign: "center",
10396
10479
  transitionProperty: "common",
10397
10480
  transitionDuration: "fast",
10398
- color: "core.text",
10481
+ color: "text.core",
10399
10482
  backgroundColor: "transparent",
10400
10483
  _focus: {
10401
10484
  backgroundColor: "surface",
@@ -10403,7 +10486,7 @@ var numericStepperRecipe = defineSlotRecipe({
10403
10486
  outlineColor: "outline.focus"
10404
10487
  },
10405
10488
  _active: {
10406
- backgroundColor: "accent.surface.active"
10489
+ backgroundColor: "surface.accent.active"
10407
10490
  },
10408
10491
  _disabled: {
10409
10492
  pointerEvents: "none",
@@ -10411,7 +10494,7 @@ var numericStepperRecipe = defineSlotRecipe({
10411
10494
  },
10412
10495
  _hover: {
10413
10496
  outline: "1px solid",
10414
- outlineColor: "core.outline"
10497
+ outlineColor: "outline.core"
10415
10498
  }
10416
10499
  },
10417
10500
  text: {
@@ -10421,7 +10504,7 @@ var numericStepperRecipe = defineSlotRecipe({
10421
10504
  paddingX: 1,
10422
10505
  textAlign: "center",
10423
10506
  width: "4ch",
10424
- color: "core.text"
10507
+ color: "text.core"
10425
10508
  },
10426
10509
  button: {
10427
10510
  outlineOffset: "-2px",
@@ -10455,18 +10538,18 @@ var paginationSlotRecipe = defineSlotRecipe({
10455
10538
  width: "5",
10456
10539
  fontSize: "xs",
10457
10540
  borderRadius: "xl",
10458
- color: "core.text",
10541
+ color: "text.core",
10459
10542
  cursor: "pointer",
10460
10543
  _hover: {
10461
- background: "ghost.surface.hover",
10544
+ background: "surface.ghost.hover",
10462
10545
  _active: {
10463
- background: "ghost.surface.active"
10546
+ background: "surface.ghost.active"
10464
10547
  }
10465
10548
  },
10466
10549
  _selected: {
10467
10550
  cursor: "default",
10468
10551
  fontWeight: "bold",
10469
- backgroundColor: "core.surface.active"
10552
+ backgroundColor: "surface.core.active"
10470
10553
  }
10471
10554
  },
10472
10555
  list: {
@@ -10486,11 +10569,11 @@ var popoverSlotRecipe = defineSlotRecipe({
10486
10569
  position: "relative",
10487
10570
  display: "flex",
10488
10571
  flexDirection: "row-reverse",
10489
- color: "text.inverted",
10572
+ color: "text.brand",
10490
10573
  gap: "0.625rem",
10491
10574
  padding: "0.563rem 0.75rem",
10492
10575
  textStyle: "sm",
10493
- bg: "surface.tertiary",
10576
+ bg: "surface.brand",
10494
10577
  boxShadow: "lg",
10495
10578
  borderRadius: "sm",
10496
10579
  zIndex: "popover",
@@ -10507,14 +10590,14 @@ var popoverSlotRecipe = defineSlotRecipe({
10507
10590
  }
10508
10591
  },
10509
10592
  body: {
10510
- color: "text.inverted",
10593
+ color: "text.brand",
10511
10594
  alignItems: "center",
10512
10595
  borderRadius: "sm",
10513
10596
  zIndex: "inherit",
10514
10597
  maxWidth: "20em"
10515
10598
  },
10516
10599
  arrow: {
10517
- "--arrow-background": "colors.surface.tertiary",
10600
+ "--arrow-background": "colors.surface.brand",
10518
10601
  "--arrow-size": "6px"
10519
10602
  }
10520
10603
  },
@@ -10558,7 +10641,7 @@ var progressBarRecipe = defineSlotRecipe({
10558
10641
  },
10559
10642
  background: {
10560
10643
  display: "flex",
10561
- backgroundColor: "accent.surface.hover",
10644
+ backgroundColor: "surface.accent.hover",
10562
10645
  borderRadius: "sm",
10563
10646
  boxPack: "start",
10564
10647
  justifyContent: "flex-start",
@@ -10569,7 +10652,7 @@ var progressBarRecipe = defineSlotRecipe({
10569
10652
  borderRadius: "sm"
10570
10653
  },
10571
10654
  progress: {
10572
- backgroundColor: "brand.surface.active",
10655
+ backgroundColor: "surface.brand.active",
10573
10656
  borderRadius: "sm",
10574
10657
  maxWidth: "100%",
10575
10658
  transition: "width .2s ease-out"
@@ -10599,7 +10682,7 @@ var progressIndicatorRecipe = defineSlotRecipe({
10599
10682
  width: 1,
10600
10683
  fill: "icon.disabled",
10601
10684
  "&[aria-current='step']": {
10602
- fill: "brand.surface"
10685
+ fill: "surface.brand"
10603
10686
  }
10604
10687
  }
10605
10688
  }
@@ -10639,17 +10722,17 @@ var radioGroupSlotRecipe = defineSlotRecipe({
10639
10722
  justifyContent: "center",
10640
10723
  verticalAlign: "top",
10641
10724
  borderWidth: "2px",
10642
- borderColor: "core.outline",
10725
+ borderColor: "outline.core",
10643
10726
  borderRadius: "xl",
10644
10727
  width: 4,
10645
10728
  height: 4,
10646
10729
  _checked: {
10647
- borderColor: "brand.surface"
10730
+ borderColor: "surface.brand"
10648
10731
  },
10649
10732
  _hover: {
10650
- borderColor: "brand.surface.hover",
10733
+ borderColor: "surface.brand.hover",
10651
10734
  "& .dot": {
10652
- backgroundColor: "brand.surface.hover"
10735
+ backgroundColor: "surface.brand.hover"
10653
10736
  }
10654
10737
  },
10655
10738
  _disabled: {
@@ -10670,7 +10753,7 @@ var radioGroupSlotRecipe = defineSlotRecipe({
10670
10753
  height: "full",
10671
10754
  width: "full",
10672
10755
  borderRadius: "xl",
10673
- backgroundColor: "brand.surface",
10756
+ backgroundColor: "surface.brand",
10674
10757
  scale: "0.5"
10675
10758
  }
10676
10759
  }
@@ -10722,15 +10805,15 @@ var radioCardSlotRecipe = defineSlotRecipe({
10722
10805
  variant: {
10723
10806
  core: {
10724
10807
  item: {
10725
- outlineColor: "core.outline",
10808
+ outlineColor: "outline.core",
10726
10809
  outlineWidth: tokens22__default.size.stroke.sm,
10727
10810
  outlineStyle: "solid",
10728
10811
  _hover: {
10729
- outlineColor: "core.outline.hover",
10812
+ outlineColor: "outline.core.hover",
10730
10813
  outlineWidth: tokens22__default.size.stroke.md,
10731
10814
  outlineStyle: "solid",
10732
10815
  _active: {
10733
- backgroundColor: "core.surface.active",
10816
+ backgroundColor: "surface.core.active",
10734
10817
  outlineWidth: tokens22__default.size.stroke.sm
10735
10818
  }
10736
10819
  },
@@ -10738,7 +10821,7 @@ var radioCardSlotRecipe = defineSlotRecipe({
10738
10821
  outlineColor: "outline.focus",
10739
10822
  outlineWidth: tokens22__default.size.stroke.md,
10740
10823
  outlineStyle: "solid",
10741
- backgroundColor: "core.surface.active",
10824
+ backgroundColor: "surface.core.active",
10742
10825
  _focusVisible: {
10743
10826
  outlineStyle: "double",
10744
10827
  outlineWidth: `calc(3 * ${tokens22__default.size.stroke.md})`
@@ -10752,15 +10835,15 @@ var radioCardSlotRecipe = defineSlotRecipe({
10752
10835
  boxShadow: "0px 1px 3px 0px var(--shadow-color)",
10753
10836
  shadowColor: "surface.disabled",
10754
10837
  border: "sm",
10755
- borderColor: "floating.outline",
10756
- background: "floating.surface",
10838
+ borderColor: "outline.floating",
10839
+ background: "surface.floating",
10757
10840
  _hover: {
10758
- background: "floating.surface.hover",
10759
- borderColor: "floating.outline.hover",
10841
+ background: "surface.floating.hover",
10842
+ borderColor: "outline.floating.hover",
10760
10843
  boxShadow: "0px 2px 6px 0px var(--shadow-color)",
10761
10844
  _active: {
10762
- background: "floating.surface.active",
10763
- borderColor: "floating.outline.active",
10845
+ background: "surface.floating.active",
10846
+ borderColor: "outline.neutral",
10764
10847
  boxShadow: "none"
10765
10848
  }
10766
10849
  },
@@ -10768,7 +10851,7 @@ var radioCardSlotRecipe = defineSlotRecipe({
10768
10851
  outlineColor: "outline.focus",
10769
10852
  outlineWidth: tokens22__default.size.stroke.md,
10770
10853
  outlineStyle: "solid",
10771
- backgroundColor: "core.surface.active",
10854
+ backgroundColor: "surface.core.active",
10772
10855
  _focusVisible: {
10773
10856
  outlineStyle: "double",
10774
10857
  outlineWidth: `calc(3 * ${tokens22__default.size.stroke.md})`
@@ -10848,7 +10931,7 @@ var selectSlotRecipe = defineSlotRecipe({
10848
10931
  color: {
10849
10932
  base: "text",
10850
10933
  _disabled: "text.disabled",
10851
- _invalid: "text.secondary"
10934
+ _invalid: "text.highlight"
10852
10935
  },
10853
10936
  _icon: {
10854
10937
  width: 3,
@@ -10885,14 +10968,14 @@ var selectSlotRecipe = defineSlotRecipe({
10885
10968
  justifyContent: "space-between",
10886
10969
  gap: 1,
10887
10970
  borderRadius: "sm",
10888
- color: "ghost.text",
10971
+ color: "text.ghost",
10889
10972
  cursor: "pointer",
10890
10973
  outline: "none",
10891
10974
  "&[data-highlighted]:hover": {
10892
10975
  outlineOffset: "2px",
10893
10976
  outline: "2px solid",
10894
10977
  outlineColor: "outline.focus",
10895
- backgroundColor: "accent.surface.hover"
10978
+ backgroundColor: "surface.accent.hover"
10896
10979
  },
10897
10980
  "&[data-highlighted]": {
10898
10981
  outlineOffset: "2px",
@@ -10900,7 +10983,7 @@ var selectSlotRecipe = defineSlotRecipe({
10900
10983
  outlineColor: "outline.focus"
10901
10984
  },
10902
10985
  _active: {
10903
- backgroundColor: "accent.surface.active"
10986
+ backgroundColor: "surface.accent.active"
10904
10987
  },
10905
10988
  _highlighted: {
10906
10989
  _active: {
@@ -10908,12 +10991,12 @@ var selectSlotRecipe = defineSlotRecipe({
10908
10991
  }
10909
10992
  },
10910
10993
  _hover: {
10911
- backgroundColor: "accent.surface.hover",
10994
+ backgroundColor: "surface.accent.hover",
10912
10995
  outline: "2px solid core.outline",
10913
10996
  outlineOffset: "2px"
10914
10997
  },
10915
10998
  _selected: {
10916
- backgroundColor: "accent.surface"
10999
+ backgroundColor: "surface.accent"
10917
11000
  },
10918
11001
  _icon: {
10919
11002
  width: 3,
@@ -10948,9 +11031,9 @@ var selectSlotRecipe = defineSlotRecipe({
10948
11031
  valueText: {},
10949
11032
  itemDescription: {
10950
11033
  fontSize: ["mobile.xs", "desktop.xs"],
10951
- color: "ghost.text",
11034
+ color: "text.ghost",
10952
11035
  "[aria-selected='true'] &": {
10953
- color: "ghost.text"
11036
+ color: "text.ghost"
10954
11037
  }
10955
11038
  }
10956
11039
  },
@@ -10959,13 +11042,13 @@ var selectSlotRecipe = defineSlotRecipe({
10959
11042
  core: {
10960
11043
  control: {
10961
11044
  outline: "1px solid",
10962
- outlineColor: "core.outline",
11045
+ outlineColor: "outline.core",
10963
11046
  _hover: {
10964
11047
  outline: "2px solid",
10965
- outlineColor: "core.outline"
11048
+ outlineColor: "outline.core"
10966
11049
  },
10967
11050
  _active: {
10968
- backgroundColor: "brand.surface.active"
11051
+ backgroundColor: "surface.brand.active"
10969
11052
  },
10970
11053
  _disabled: {
10971
11054
  pointerEvents: "none",
@@ -10977,13 +11060,13 @@ var selectSlotRecipe = defineSlotRecipe({
10977
11060
  floating: {
10978
11061
  control: {
10979
11062
  outline: "1px solid",
10980
- outlineColor: "floating.outline",
11063
+ outlineColor: "outline.floating",
10981
11064
  _hover: {
10982
11065
  outline: "2px solid",
10983
- outlineColor: "floating.outline"
11066
+ outlineColor: "outline.floating"
10984
11067
  },
10985
11068
  _active: {
10986
- backgroundColor: "brand.surface.active"
11069
+ backgroundColor: "surface.brand.active"
10987
11070
  },
10988
11071
  _disabled: {
10989
11072
  pointerEvents: "none",
@@ -10997,7 +11080,7 @@ var selectSlotRecipe = defineSlotRecipe({
10997
11080
  rightSideSquare: {
10998
11081
  control: {
10999
11082
  outline: "1px solid",
11000
- outlineColor: "core.outline"
11083
+ outlineColor: "outline.core"
11001
11084
  },
11002
11085
  trigger: {
11003
11086
  _focus: {
@@ -11008,7 +11091,7 @@ var selectSlotRecipe = defineSlotRecipe({
11008
11091
  leftSideSquare: {
11009
11092
  control: {
11010
11093
  outline: "1px solid",
11011
- outlineColor: "core.outline"
11094
+ outlineColor: "outline.core"
11012
11095
  },
11013
11096
  trigger: {
11014
11097
  _focus: {
@@ -11076,7 +11159,7 @@ var stepperSlotRecipe = defineSlotRecipe({
11076
11159
  },
11077
11160
  accent: {
11078
11161
  root: {
11079
- backgroundColor: "accent.bg"
11162
+ backgroundColor: "bg.accent"
11080
11163
  },
11081
11164
  stepButton: {
11082
11165
  color: {
@@ -11084,13 +11167,13 @@ var stepperSlotRecipe = defineSlotRecipe({
11084
11167
  _dark: "whiteAlpha.900"
11085
11168
  },
11086
11169
  _disabled: {
11087
- color: "core.text"
11170
+ color: "text.core"
11088
11171
  },
11089
11172
  _currentStep: {
11090
- color: "accent.text"
11173
+ color: "text.accent"
11091
11174
  },
11092
11175
  _hover: {
11093
- backgroundColor: "accent.surface.hover",
11176
+ backgroundColor: "surface.accent.hover",
11094
11177
  _disabled: {
11095
11178
  backgroundColor: "transparent"
11096
11179
  }
@@ -11098,7 +11181,7 @@ var stepperSlotRecipe = defineSlotRecipe({
11098
11181
  },
11099
11182
  backButton: {
11100
11183
  _hover: {
11101
- backgroundColor: "brand.surface.hover"
11184
+ backgroundColor: "surface.brand.hover"
11102
11185
  }
11103
11186
  }
11104
11187
  }
@@ -11132,7 +11215,7 @@ var switchSlotRecipe = defineSlotRecipe({
11132
11215
  justifyContent: "center",
11133
11216
  width: "var(--switch-height)",
11134
11217
  height: "var(--switch-height)",
11135
- backgroundColor: "core.icon",
11218
+ backgroundColor: "icon.core",
11136
11219
  _disabled: {
11137
11220
  backgroundColor: "icon.disabled",
11138
11221
  _checked: {
@@ -11141,7 +11224,7 @@ var switchSlotRecipe = defineSlotRecipe({
11141
11224
  },
11142
11225
  _checked: {
11143
11226
  translate: "var(--switch-x) 0",
11144
- backgroundColor: "brand.icon"
11227
+ backgroundColor: "icon.brand"
11145
11228
  }
11146
11229
  },
11147
11230
  label: {
@@ -11170,13 +11253,13 @@ var switchSlotRecipe = defineSlotRecipe({
11170
11253
  transitionDuration: "fast",
11171
11254
  outline: "1px solid",
11172
11255
  outlineOffset: "-1px",
11173
- outlineColor: "core.outline",
11256
+ outlineColor: "outline.core",
11174
11257
  _hover: {
11175
11258
  outline: "2px solid",
11176
- outlineColor: "core.outline.hover",
11259
+ outlineColor: "outline.core.hover",
11177
11260
  _checked: {
11178
11261
  outlineColor: "transparent",
11179
- backgroundColor: "brand.surface.hover"
11262
+ backgroundColor: "surface.brand.hover"
11180
11263
  }
11181
11264
  },
11182
11265
  _focusVisible: {
@@ -11185,7 +11268,7 @@ var switchSlotRecipe = defineSlotRecipe({
11185
11268
  outlineStyle: "double"
11186
11269
  },
11187
11270
  _checked: {
11188
- backgroundColor: "brand.surface",
11271
+ backgroundColor: "surface.brand",
11189
11272
  outline: "none",
11190
11273
  _focusVisible: {
11191
11274
  outlineOffset: "1px",
@@ -11284,10 +11367,10 @@ var tableSlotRecipe = defineSlotRecipe({
11284
11367
  backgroundColor: "bg"
11285
11368
  },
11286
11369
  header: {
11287
- backgroundColor: "bg.tertiary"
11370
+ backgroundColor: "bg.brand"
11288
11371
  },
11289
11372
  columnHeader: {
11290
- color: "text.secondary"
11373
+ color: "text.highlight"
11291
11374
  }
11292
11375
  },
11293
11376
  grey: {
@@ -11496,26 +11579,26 @@ var tabsSlotRecipe = defineSlotRecipe({
11496
11579
  variant: {
11497
11580
  core: {
11498
11581
  list: {
11499
- color: "core.text",
11582
+ color: "text.core",
11500
11583
  border: "sm"
11501
11584
  },
11502
11585
  trigger: {
11503
- color: "core.text",
11586
+ color: "text.core",
11504
11587
  border: "md",
11505
11588
  borderColor: "transparent",
11506
11589
  _hover: {
11507
11590
  outline: "2px solid",
11508
- outlineColor: "core.outline.hover",
11591
+ outlineColor: "outline.core.hover",
11509
11592
  outlineOffset: "-2px"
11510
11593
  },
11511
11594
  _active: {
11512
- backgroundColor: "brand.surface.active",
11513
- color: "brand.text",
11595
+ backgroundColor: "surface.brand.active",
11596
+ color: "text.brand",
11514
11597
  outline: "none"
11515
11598
  },
11516
11599
  _selected: {
11517
- backgroundColor: "brand.surface",
11518
- color: "brand.text",
11600
+ backgroundColor: "surface.brand",
11601
+ color: "text.brand",
11519
11602
  _hover: {
11520
11603
  outline: "none"
11521
11604
  }
@@ -11528,28 +11611,28 @@ var tabsSlotRecipe = defineSlotRecipe({
11528
11611
  },
11529
11612
  accent: {
11530
11613
  list: {
11531
- backgroundColor: "accent.bg",
11532
- color: "accent.text"
11614
+ backgroundColor: "bg.accent",
11615
+ color: "text.accent"
11533
11616
  },
11534
11617
  trigger: {
11535
- color: "accent.text",
11618
+ color: "text.accent",
11536
11619
  _disabled: {
11537
11620
  backgroundColor: "surface.disabled",
11538
11621
  color: "icon.disabled"
11539
11622
  },
11540
11623
  _hover: {
11541
- backgroundColor: "accent.surface.hover",
11624
+ backgroundColor: "surface.accent.hover",
11542
11625
  _active: {
11543
- backgroundColor: "brand.surface.active",
11544
- color: "brand.text"
11626
+ backgroundColor: "surface.brand.active",
11627
+ color: "text.brand"
11545
11628
  }
11546
11629
  },
11547
11630
  _selected: {
11548
- backgroundColor: "brand.surface",
11549
- color: "brand.text",
11631
+ backgroundColor: "surface.brand",
11632
+ color: "text.brand",
11550
11633
  _hover: {
11551
- backgroundColor: "brand.surface.hover",
11552
- color: "brand.text",
11634
+ backgroundColor: "surface.brand.hover",
11635
+ color: "text.brand",
11553
11636
  outline: "none"
11554
11637
  }
11555
11638
  }
@@ -11597,7 +11680,7 @@ var tabsSlotRecipe = defineSlotRecipe({
11597
11680
  paddingX: 3,
11598
11681
  _focus: {
11599
11682
  border: "md",
11600
- borderColor: "accent.surface"
11683
+ borderColor: "surface.accent"
11601
11684
  }
11602
11685
  }
11603
11686
  }
@@ -11628,13 +11711,13 @@ var toastSlotRecipe = defineSlotRecipe({
11628
11711
  boxShadow: "xl",
11629
11712
  color: "text",
11630
11713
  "&[data-type=success]": {
11631
- backgroundColor: "alert.success.surface"
11714
+ backgroundColor: "surface.success"
11632
11715
  },
11633
11716
  "&[data-type=error]": {
11634
- backgroundColor: "alert.error.surface"
11717
+ backgroundColor: "surface.critical"
11635
11718
  },
11636
11719
  "&[data-type=info]": {
11637
- backgroundColor: "alert.info.surface"
11720
+ backgroundColor: "surface.info"
11638
11721
  }
11639
11722
  },
11640
11723
  title: {