@vygruppen/spor-react 12.10.0 → 12.10.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 (38) hide show
  1. package/.turbo/turbo-build.log +12 -12
  2. package/.turbo/turbo-postinstall.log +1 -1
  3. package/CHANGELOG.md +8 -0
  4. package/dist/index.cjs +86 -130
  5. package/dist/index.cjs.map +1 -1
  6. package/dist/index.d.cts +8 -39
  7. package/dist/index.d.ts +8 -39
  8. package/dist/index.mjs +86 -130
  9. package/dist/index.mjs.map +1 -1
  10. package/package.json +5 -4
  11. package/src/dialog/Drawer.tsx +2 -2
  12. package/src/linjetag/LineIcon.tsx +4 -2
  13. package/src/linjetag/TravelTag.tsx +2 -1
  14. package/src/loader/DarkFullScreenLoader.tsx +2 -1
  15. package/src/loader/LightFullScreenLoader.tsx +1 -7
  16. package/src/loader/LightInlineLoader.tsx +1 -7
  17. package/src/theme/recipes/badge.ts +1 -1
  18. package/src/theme/recipes/close-button.ts +2 -2
  19. package/src/theme/recipes/link.ts +3 -3
  20. package/src/theme/recipes/pressable-card.ts +0 -1
  21. package/src/theme/recipes/skeleton.ts +1 -1
  22. package/src/theme/slot-recipes/alert-service.ts +1 -1
  23. package/src/theme/slot-recipes/checkbox.ts +2 -3
  24. package/src/theme/slot-recipes/choice-chip.ts +7 -7
  25. package/src/theme/slot-recipes/datepicker.ts +1 -2
  26. package/src/theme/slot-recipes/dialog.ts +1 -0
  27. package/src/theme/slot-recipes/drawer.ts +1 -0
  28. package/src/theme/slot-recipes/field.ts +4 -3
  29. package/src/theme/slot-recipes/floating-action-button.ts +1 -1
  30. package/src/theme/slot-recipes/line-icon.ts +3 -36
  31. package/src/theme/slot-recipes/radio-card.ts +0 -1
  32. package/src/theme/slot-recipes/select.ts +0 -1
  33. package/src/theme/slot-recipes/switch.ts +2 -4
  34. package/src/theme/slot-recipes/table.ts +0 -1
  35. package/src/theme/slot-recipes/tabs.ts +3 -4
  36. package/src/theme/slot-recipes/toast.ts +0 -9
  37. package/src/theme/slot-recipes/travel-tag.ts +11 -9
  38. package/src/toast/toast.tsx +1 -1
package/dist/index.mjs CHANGED
@@ -228,7 +228,8 @@ var DarkFullScreenLoader = ({
228
228
  Center,
229
229
  {
230
230
  height: "100%",
231
- background: "darkTeal",
231
+ background: "bg",
232
+ className: "dark",
232
233
  role: "status",
233
234
  "aria-live": "polite",
234
235
  ...props,
@@ -268,40 +269,20 @@ var LightFullScreenLoader = ({
268
269
  maxWidth,
269
270
  ...props
270
271
  }) => {
271
- return /* @__PURE__ */ jsxs(
272
- Center,
273
- {
274
- height: "100%",
275
- background: "white",
276
- role: "status",
277
- "aria-live": "polite",
278
- ...props,
279
- children: [
280
- /* @__PURE__ */ jsx(Box, { width, maxWidth, children: /* @__PURE__ */ jsx(ClientOnly, { children: /* @__PURE__ */ jsx(Lottie, { animationData: fullScreenLoaderBlackData }) }) }),
281
- /* @__PURE__ */ jsx(VisuallyHidden, { children: "Loading..." })
282
- ]
283
- }
284
- );
272
+ return /* @__PURE__ */ jsxs(Center, { height: "100%", role: "status", "aria-live": "polite", ...props, children: [
273
+ /* @__PURE__ */ jsx(Box, { width, maxWidth, children: /* @__PURE__ */ jsx(ClientOnly, { children: /* @__PURE__ */ jsx(Lottie, { animationData: fullScreenLoaderBlackData }) }) }),
274
+ /* @__PURE__ */ jsx(VisuallyHidden, { children: "Loading..." })
275
+ ] });
285
276
  };
286
277
  var LightInlineLoader = ({
287
278
  width,
288
279
  maxWidth,
289
280
  ...props
290
281
  }) => {
291
- return /* @__PURE__ */ jsxs(
292
- Center,
293
- {
294
- height: "100%",
295
- background: "white",
296
- role: "status",
297
- "aria-live": "polite",
298
- ...props,
299
- children: [
300
- /* @__PURE__ */ jsx(Box, { width, maxWidth, children: /* @__PURE__ */ jsx(ClientOnly, { children: /* @__PURE__ */ jsx(Lottie, { animationData: inlineLoaderLightData }) }) }),
301
- /* @__PURE__ */ jsx(VisuallyHidden, { children: "Loading..." })
302
- ]
303
- }
304
- );
282
+ return /* @__PURE__ */ jsxs(Center, { height: "100%", role: "status", "aria-live": "polite", ...props, children: [
283
+ /* @__PURE__ */ jsx(Box, { width, maxWidth, children: /* @__PURE__ */ jsx(ClientOnly, { children: /* @__PURE__ */ jsx(Lottie, { animationData: inlineLoaderLightData }) }) }),
284
+ /* @__PURE__ */ jsx(VisuallyHidden, { children: "Loading..." })
285
+ ] });
305
286
  };
306
287
  var LightSpinner = ({
307
288
  children,
@@ -679,7 +660,7 @@ var badgeRecipie = defineRecipe({
679
660
  backgroundColor: "surface.color.orange",
680
661
  color: "alert.error.text.secondary",
681
662
  "& svg": {
682
- color: "alert.error.icon.secondary"
663
+ color: "alert.error-secondary.icon"
683
664
  }
684
665
  },
685
666
  red: {
@@ -2385,7 +2366,7 @@ var CloseDrawerLine = forwardRef((props, ref) => {
2385
2366
  top: 0,
2386
2367
  marginY: 2,
2387
2368
  marginX: "auto",
2388
- backgroundColor: "silver",
2369
+ backgroundColor: "floating.outline.active",
2389
2370
  borderRadius: "xs",
2390
2371
  ...props,
2391
2372
  ref
@@ -3765,6 +3746,28 @@ var StaticCard = forwardRef(
3765
3746
  }
3766
3747
  );
3767
3748
  StaticCard.displayName = "StaticCard";
3749
+
3750
+ // ../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
3751
+ function r(e) {
3752
+ var t, f, n = "";
3753
+ if ("string" == typeof e || "number" == typeof e)
3754
+ n += e;
3755
+ else if ("object" == typeof e)
3756
+ if (Array.isArray(e)) {
3757
+ var o = e.length;
3758
+ for (t = 0; t < o; t++)
3759
+ e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
3760
+ } else
3761
+ for (f in e)
3762
+ e[f] && (n && (n += " "), n += f);
3763
+ return n;
3764
+ }
3765
+ function clsx() {
3766
+ for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++)
3767
+ (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
3768
+ return n;
3769
+ }
3770
+ var clsx_default = clsx;
3768
3771
  var icons = {
3769
3772
  "local-train": {
3770
3773
  sm: TrainFill18Icon,
@@ -3831,9 +3834,9 @@ var LineIcon = forwardRef(
3831
3834
  return variant === "walk" && target === "travelTag" ? 0 : 0.5;
3832
3835
  };
3833
3836
  const Icon3 = getCorrectIcon({
3834
- variant: variant === "custom" && "customIconVariant" in rest ? rest.customIconVariant : (
3835
- // eslint-disable-next-line unicorn/no-nested-ternary
3836
- variant === "custom" ? "local-train" : variant
3837
+ variant: (
3838
+ // eslint-disable-next-line no-nested-ternary
3839
+ variant === "custom" && "customIconVariant" in rest ? rest.customIconVariant : variant === "custom" ? "local-train" : variant
3837
3840
  ),
3838
3841
  size
3839
3842
  });
@@ -3852,6 +3855,7 @@ var LineIcon = forwardRef(
3852
3855
  borderColor: variant === "walk" ? "core.outline" : "transparent",
3853
3856
  "aria-label": label,
3854
3857
  ref,
3858
+ className: clsx_default("light", rest.className),
3855
3859
  children: /* @__PURE__ */ jsx(Icon3, { css: styles.icon })
3856
3860
  }
3857
3861
  );
@@ -3912,8 +3916,8 @@ var TravelTag = forwardRef(
3912
3916
  css: styles.container,
3913
3917
  "aria-disabled": disabled,
3914
3918
  ref,
3919
+ className: clsx_default("light", rest.className),
3915
3920
  ...rest,
3916
- backgroundColor: disabled ? "surface.disabled" : backgroundColor,
3917
3921
  children: [
3918
3922
  /* @__PURE__ */ jsx(
3919
3923
  LineIcon,
@@ -5065,7 +5069,7 @@ var createToast = ({
5065
5069
  text,
5066
5070
  variant,
5067
5071
  id,
5068
- duration = 6e3
5072
+ duration = 6e5
5069
5073
  }) => toaster.create({
5070
5074
  description: text,
5071
5075
  type: variant,
@@ -5495,12 +5499,12 @@ var closeButtonRecipe = defineRecipe({
5495
5499
  transitionDuration: "normal",
5496
5500
  borderRadius: "md",
5497
5501
  backgroundColor: "transparent",
5498
- color: "darkGrey",
5502
+ color: "text",
5499
5503
  fontWeight: "normal",
5500
5504
  _hover: {
5501
5505
  background: "ghost.surface.hover",
5502
5506
  _disabled: {
5503
- color: "dimGrey"
5507
+ color: "icon.disabled"
5504
5508
  },
5505
5509
  _active: {
5506
5510
  background: "ghost.surface.active"
@@ -5658,17 +5662,17 @@ var linkRecipe = defineRecipe({
5658
5662
  primary: {
5659
5663
  color: "core.text",
5660
5664
  _hover: {
5661
- color: "text.default",
5665
+ color: "text",
5662
5666
  _active: {
5663
5667
  color: "text.disabled"
5664
5668
  }
5665
5669
  }
5666
5670
  },
5667
5671
  secondary: {
5668
- color: "text.hightlight",
5672
+ color: "text.highlight",
5669
5673
  padding: "2px",
5670
5674
  _hover: {
5671
- color: "text.hightlight",
5675
+ color: "text.highlight",
5672
5676
  _active: {
5673
5677
  color: "text.disabled"
5674
5678
  }
@@ -5752,7 +5756,6 @@ var pressableCardRecipe = defineRecipe({
5752
5756
  outlineColor: "core.outline",
5753
5757
  outlineWidth: tokens23__default.size.stroke.sm,
5754
5758
  outlineStyle: "solid",
5755
- backgroundColor: "core.surface",
5756
5759
  _hover: {
5757
5760
  outlineColor: "core.outline.hover",
5758
5761
  outlineWidth: tokens23__default.size.stroke.md,
@@ -5910,7 +5913,7 @@ var skeletonRecipe = defineRecipe({
5910
5913
  },
5911
5914
  none: {
5912
5915
  animation: "none",
5913
- background: "steel"
5916
+ background: "surface.color.grey"
5914
5917
  }
5915
5918
  }
5916
5919
  }
@@ -6663,7 +6666,7 @@ var alertServiceSlotRecipe = defineSlotRecipe({
6663
6666
  backgroundColor: "alert.service.surface.active"
6664
6667
  },
6665
6668
  _icon: {
6666
- color: "darkGrey"
6669
+ color: "text"
6667
6670
  }
6668
6671
  },
6669
6672
  itemTriggerTitle: {
@@ -6769,7 +6772,6 @@ var checkboxSlotRecipe = defineSlotRecipe({
6769
6772
  indicator: {
6770
6773
  width: "100%",
6771
6774
  height: "100%",
6772
- borderColor: "white",
6773
6775
  marginTop: -1,
6774
6776
  transform: "scale(1)",
6775
6777
  opacity: 0,
@@ -6800,8 +6802,8 @@ var checkboxSlotRecipe = defineSlotRecipe({
6800
6802
  borderColor: "currentColor"
6801
6803
  },
6802
6804
  _invalid: {
6803
- backgroundColor: "brightRed",
6804
- borderColor: "brightRed"
6805
+ backgroundColor: "outline.error",
6806
+ borderColor: "outline.error"
6805
6807
  }
6806
6808
  },
6807
6809
  _disabled: {
@@ -6841,7 +6843,7 @@ var choiceChipSlotRecipe = defineSlotRecipe({
6841
6843
  paddingInlineStart: "2",
6842
6844
  paddingInlineEnd: "2",
6843
6845
  outline: "1px solid",
6844
- outlineColor: "base.outline",
6846
+ outlineColor: "core.outline",
6845
6847
  _checked: {
6846
6848
  backgroundColor: "brand.surface",
6847
6849
  borderRadius: "sm",
@@ -6866,19 +6868,19 @@ var choiceChipSlotRecipe = defineSlotRecipe({
6866
6868
  color: "text.disabled",
6867
6869
  outline: "none",
6868
6870
  _hover: {
6869
- backgroundColor: "core.surface.disabled",
6871
+ backgroundColor: "surface.disabled",
6870
6872
  boxShadow: "none",
6871
- color: "core.text.disabled"
6873
+ color: "text.disabled"
6872
6874
  },
6873
6875
  _checked: {
6874
6876
  cursor: "not-allowed",
6875
6877
  boxShadow: "none",
6876
- color: "core.text.disabled",
6877
- backgroundColor: "core.surface.disabled",
6878
+ color: "text.disabled",
6879
+ backgroundColor: "surface.disabled",
6878
6880
  _hover: {
6879
- backgroundColor: "core.surface.disabled",
6881
+ backgroundColor: "surface.disabled",
6880
6882
  boxShadow: "none",
6881
- color: "core.text.disabled"
6883
+ color: "text.disabled"
6882
6884
  }
6883
6885
  }
6884
6886
  }
@@ -7042,7 +7044,7 @@ var datePickerSlotRecipe = defineSlotRecipe({
7042
7044
  dateTimeSegment: {
7043
7045
  _focus: {
7044
7046
  backgroundColor: "ghost.surface.active",
7045
- color: "text.default"
7047
+ color: "text"
7046
7048
  }
7047
7049
  },
7048
7050
  box: {
@@ -7150,7 +7152,6 @@ var datePickerSlotRecipe = defineSlotRecipe({
7150
7152
  wrapper: {
7151
7153
  outline: "1px solid",
7152
7154
  outlineColor: "core.outline",
7153
- backgroundColor: "core.surface",
7154
7155
  _hover: {
7155
7156
  outline: "2px solid",
7156
7157
  outlineColor: "core.outline.hover",
@@ -7218,6 +7219,7 @@ var dialogSlotRecipe = defineSlotRecipe({
7218
7219
  className: "spor-dialog",
7219
7220
  base: {
7220
7221
  backdrop: {
7222
+ // eslint-disable-next-line spor/use-semantic-tokens
7221
7223
  background: "blackAlpha.500",
7222
7224
  position: "fixed",
7223
7225
  left: 0,
@@ -7438,6 +7440,7 @@ var drawerSlotRecipe = defineSlotRecipe({
7438
7440
  className: "spor-drawer",
7439
7441
  base: {
7440
7442
  backdrop: {
7443
+ // eslint-disable-next-line spor/use-semantic-tokens
7441
7444
  bg: "blackAlpha.500",
7442
7445
  position: "fixed",
7443
7446
  insetInlineStart: 0,
@@ -7643,6 +7646,7 @@ var fieldSlotRecipe = defineSlotRecipe({
7643
7646
  },
7644
7647
  requiredIndicator: {
7645
7648
  marginStart: 1,
7649
+ // eslint-disable-next-line spor/use-semantic-tokens
7646
7650
  color: "brightRed"
7647
7651
  },
7648
7652
  label: {
@@ -7656,8 +7660,8 @@ var fieldSlotRecipe = defineSlotRecipe({
7656
7660
  },
7657
7661
  errorText: {
7658
7662
  borderRadius: "xs",
7659
- backgroundColor: "lightRed",
7660
- color: "darkGrey",
7663
+ backgroundColor: "alert.error.surface",
7664
+ color: "text",
7661
7665
  paddingX: 1.5,
7662
7666
  paddingY: 1,
7663
7667
  textStyle: "xs",
@@ -7674,7 +7678,7 @@ var fieldSlotRecipe = defineSlotRecipe({
7674
7678
  left: "1em",
7675
7679
  width: "0.5rem",
7676
7680
  height: "0.5rem",
7677
- backgroundColor: "lightRed",
7681
+ backgroundColor: "alert.error.surface",
7678
7682
  transform: "translateY(-50%) rotate(45deg)",
7679
7683
  pointerEvents: "none"
7680
7684
  }
@@ -7754,7 +7758,7 @@ var floatingActionButtonSlotRecipe = defineSlotRecipe({
7754
7758
  _hover: {
7755
7759
  backgroundColor: "transparent",
7756
7760
  outline: "2px solid",
7757
- outlineColor: "core.outline.light",
7761
+ outlineColor: "core.outline",
7758
7762
  _active: {
7759
7763
  outline: "1px solid",
7760
7764
  outlineColor: "core.outline",
@@ -7817,6 +7821,9 @@ var travelTagSlotRecipe = defineSlotRecipe({
7817
7821
  display: "flex",
7818
7822
  alignItems: "center",
7819
7823
  padding: 0.5,
7824
+ _disabled: {
7825
+ background: "surface.disabled"
7826
+ },
7820
7827
  width: "fit-content",
7821
7828
  transitionDuration: "fast",
7822
7829
  transitionProperty: "common",
@@ -7832,13 +7839,13 @@ var travelTagSlotRecipe = defineSlotRecipe({
7832
7839
  }
7833
7840
  },
7834
7841
  textContainer: {
7835
- color: "darkGrey",
7842
+ color: "text",
7836
7843
  paddingRight: 0.5,
7837
7844
  whiteSpace: "nowrap"
7838
7845
  },
7839
7846
  title: {
7840
7847
  fontWeight: "bold",
7841
- color: "brand.text.inverted",
7848
+ color: "text",
7842
7849
  "[aria-disabled=true] &": {
7843
7850
  color: "text.disabled"
7844
7851
  }
@@ -7862,24 +7869,21 @@ var travelTagSlotRecipe = defineSlotRecipe({
7862
7869
  critical: {
7863
7870
  container: {
7864
7871
  border: "1px solid",
7865
- borderColor: "error.text"
7872
+ borderColor: "outline.error"
7866
7873
  },
7867
7874
  deviationIcon: {
7868
- color: "brightRed"
7875
+ color: "outline.error"
7869
7876
  }
7870
7877
  },
7871
7878
  major: {
7872
7879
  container: {
7873
7880
  border: "1px solid",
7881
+ // eslint-disable-next-line spor/use-semantic-tokens
7874
7882
  borderColor: "golden"
7875
7883
  }
7876
7884
  },
7877
7885
  minor: {},
7878
- info: {
7879
- deviationIcon: {
7880
- color: "ocean"
7881
- }
7882
- },
7886
+ info: {},
7883
7887
  none: {}
7884
7888
  },
7885
7889
  variant: {
@@ -8070,22 +8074,13 @@ var lineIconSlotRecipe = defineSlotRecipe({
8070
8074
  iconContainer: {
8071
8075
  display: "flex",
8072
8076
  justifyContent: "center",
8073
- alignItems: "center",
8074
- "[aria-disabled=true] &": {
8075
- backgroundColor: "surface.disabled"
8076
- }
8077
+ alignItems: "center"
8077
8078
  },
8078
8079
  icon: {
8079
- color: "white",
8080
- "[aria-disabled=true] &": {
8081
- color: "icon.disabled"
8082
- }
8080
+ color: "bg"
8083
8081
  },
8084
8082
  title: {
8085
- color: "darkGrey",
8086
- "[aria-disabled=true] &": {
8087
- color: "text.disabled"
8088
- }
8083
+ color: "text"
8089
8084
  }
8090
8085
  },
8091
8086
  variants: {
@@ -8143,39 +8138,15 @@ var lineIconSlotRecipe = defineSlotRecipe({
8143
8138
  "alt-transport": {
8144
8139
  iconContainer: {
8145
8140
  backgroundColor: "linjetag.altTransport"
8146
- },
8147
- icon: {
8148
- color: "darkGrey",
8149
- "[aria-disabled=true] &": {
8150
- color: "white"
8151
- }
8152
8141
  }
8153
8142
  },
8154
8143
  walk: {
8155
8144
  title: {
8156
8145
  color: "text"
8157
- },
8158
- icon: {
8159
- color: "linjetag.walkLight",
8160
- "[aria-disabled=true] &": {
8161
- color: "icon.disabled"
8162
- }
8163
- },
8164
- _disabled: {
8165
- icon: {
8166
- color: "text.disabled"
8167
- },
8168
- title: {
8169
- color: "text.disabled"
8170
- }
8171
8146
  }
8172
8147
  },
8173
8148
  custom: {
8174
- iconContainer: {
8175
- _disabled: {
8176
- backgroundColor: "surface.disabled"
8177
- }
8178
- }
8149
+ iconContainer: {}
8179
8150
  }
8180
8151
  },
8181
8152
  size: {
@@ -8824,7 +8795,6 @@ var radioCardSlotRecipe = defineSlotRecipe({
8824
8795
  outlineColor: "core.outline",
8825
8796
  outlineWidth: tokens23__default.size.stroke.sm,
8826
8797
  outlineStyle: "solid",
8827
- backgroundColor: "core.surface",
8828
8798
  _hover: {
8829
8799
  outlineColor: "core.outline.hover",
8830
8800
  outlineWidth: tokens23__default.size.stroke.md,
@@ -9000,8 +8970,7 @@ var selectSlotRecipe = defineSlotRecipe({
9000
8970
  outlineColor: "outline.focus"
9001
8971
  },
9002
8972
  _active: {
9003
- backgroundColor: "ghost.surface.active",
9004
- color: "green"
8973
+ backgroundColor: "ghost.surface.active"
9005
8974
  },
9006
8975
  _highlighted: {
9007
8976
  _active: {
@@ -9278,9 +9247,8 @@ var switchSlotRecipe = defineSlotRecipe({
9278
9247
  height: "var(--switch-height)",
9279
9248
  transitionProperty: "common",
9280
9249
  transitionDuration: "fast",
9281
- outline: "1px solid",
9282
- outlineColor: "core.outline.default",
9283
- backgroundColor: "core.background",
9250
+ outline: "2px solid",
9251
+ outlineColor: "core.outline",
9284
9252
  _hover: {
9285
9253
  outline: "2px solid",
9286
9254
  outlineColor: "core.outline.hover",
@@ -9304,7 +9272,6 @@ var switchSlotRecipe = defineSlotRecipe({
9304
9272
  },
9305
9273
  _disabled: {
9306
9274
  pointerEvents: "none",
9307
- backgroundColor: "core.disabled",
9308
9275
  outlineColor: "outline.disabled",
9309
9276
  _checked: {
9310
9277
  backgroundColor: "icon.disabled",
@@ -9407,7 +9374,6 @@ var tableSlotRecipe = defineSlotRecipe({
9407
9374
  backgroundColor: "bg"
9408
9375
  },
9409
9376
  columnHeader: {
9410
- color: "brand.text.inverted",
9411
9377
  backgroundColor: "surface.disabled",
9412
9378
  _hover: {
9413
9379
  backgroundColor: "surface.disabled"
@@ -9609,7 +9575,6 @@ var tabsSlotRecipe = defineSlotRecipe({
9609
9575
  variant: {
9610
9576
  core: {
9611
9577
  list: {
9612
- backgroundColor: "core.surface",
9613
9578
  color: "core.text",
9614
9579
  border: "sm"
9615
9580
  },
@@ -9619,7 +9584,7 @@ var tabsSlotRecipe = defineSlotRecipe({
9619
9584
  borderColor: "transparent",
9620
9585
  _hover: {
9621
9586
  outline: "2px solid",
9622
- outlineColor: "core.surface.hover",
9587
+ outlineColor: "core.outline.hover",
9623
9588
  outlineOffset: "-2px"
9624
9589
  },
9625
9590
  _active: {
@@ -9636,7 +9601,7 @@ var tabsSlotRecipe = defineSlotRecipe({
9636
9601
  },
9637
9602
  _disabled: {
9638
9603
  backgroundColor: "surface.disabled",
9639
- color: "brand.text.disabled"
9604
+ color: "surface.disabled"
9640
9605
  }
9641
9606
  }
9642
9607
  },
@@ -9649,7 +9614,7 @@ var tabsSlotRecipe = defineSlotRecipe({
9649
9614
  color: "accent.text",
9650
9615
  _disabled: {
9651
9616
  backgroundColor: "surface.disabled",
9652
- color: "accent.text.disabled"
9617
+ color: "icon.disabled"
9653
9618
  },
9654
9619
  _hover: {
9655
9620
  backgroundColor: "accent.surface.hover",
@@ -9742,22 +9707,13 @@ var toastSlotRecipe = defineSlotRecipe({
9742
9707
  boxShadow: "xl",
9743
9708
  color: "text",
9744
9709
  "&[data-type=success]": {
9745
- backgroundColor: "alert.success.surface",
9746
- "& svg": {
9747
- color: "primaryGreen"
9748
- }
9710
+ backgroundColor: "alert.success.surface"
9749
9711
  },
9750
9712
  "&[data-type=error]": {
9751
- backgroundColor: "alert.error.surface",
9752
- "& svg": {
9753
- color: "brightRed"
9754
- }
9713
+ backgroundColor: "alert.error.surface"
9755
9714
  },
9756
9715
  "&[data-type=info]": {
9757
- backgroundColor: "alert.info.surface",
9758
- "& svg": {
9759
- color: "darkBlue"
9760
- }
9716
+ backgroundColor: "alert.info.surface"
9761
9717
  }
9762
9718
  },
9763
9719
  title: {