@vygruppen/spor-react 13.0.2 → 13.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/.turbo/turbo-build.log +25 -25
  2. package/.turbo/turbo-postinstall.log +4 -4
  3. package/CHANGELOG.md +21 -0
  4. package/dist/index.cjs +554 -397
  5. package/dist/index.cjs.map +1 -1
  6. package/dist/index.d.cts +194 -181
  7. package/dist/index.d.ts +194 -181
  8. package/dist/index.mjs +556 -399
  9. package/dist/index.mjs.map +1 -1
  10. package/package.json +4 -8
  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/InputChip.tsx +33 -0
  20. package/src/input/PasswordInput.tsx +2 -1
  21. package/src/input/Popover.tsx +9 -7
  22. package/src/input/Select.tsx +44 -7
  23. package/src/input/index.ts +1 -0
  24. package/src/linjetag/LineIcon.tsx +1 -1
  25. package/src/loader/ColorInlineLoader.tsx +2 -1
  26. package/src/loader/ColorSpinner.tsx +2 -1
  27. package/src/loader/ContentLoader.tsx +2 -1
  28. package/src/loader/DarkFullScreenLoader.tsx +2 -1
  29. package/src/loader/DarkInlineLoader.tsx +2 -1
  30. package/src/loader/DarkSpinner.tsx +2 -1
  31. package/src/loader/LightFullScreenLoader.tsx +2 -1
  32. package/src/loader/LightInlineLoader.tsx +2 -1
  33. package/src/loader/LightSpinner.tsx +2 -1
  34. package/src/loader/Lottie.tsx +3 -2
  35. package/src/loader/text.ts +15 -0
  36. package/src/stepper/StepperStep.tsx +2 -2
  37. package/src/theme/recipes/badge.ts +24 -24
  38. package/src/theme/recipes/button.ts +22 -22
  39. package/src/theme/recipes/close-button.ts +2 -2
  40. package/src/theme/recipes/input.ts +9 -9
  41. package/src/theme/recipes/link.ts +1 -1
  42. package/src/theme/recipes/pressable-card.ts +12 -12
  43. package/src/theme/recipes/skeleton.ts +1 -1
  44. package/src/theme/recipes/static-card.ts +8 -8
  45. package/src/theme/semantic-tokens/colors.ts +1 -1
  46. package/src/theme/slot-recipes/accordion.ts +10 -10
  47. package/src/theme/slot-recipes/alert-expandable.ts +35 -35
  48. package/src/theme/slot-recipes/alert-service.ts +10 -10
  49. package/src/theme/slot-recipes/alert.ts +11 -11
  50. package/src/theme/slot-recipes/anatomy.ts +2 -0
  51. package/src/theme/slot-recipes/autocomplete.ts +5 -5
  52. package/src/theme/slot-recipes/breadcrumb.ts +4 -4
  53. package/src/theme/slot-recipes/checkbox.ts +11 -17
  54. package/src/theme/slot-recipes/choice-chip.ts +21 -21
  55. package/src/theme/slot-recipes/datepicker.ts +29 -29
  56. package/src/theme/slot-recipes/field.ts +3 -3
  57. package/src/theme/slot-recipes/floating-action-button.ts +14 -14
  58. package/src/theme/slot-recipes/index.ts +2 -0
  59. package/src/theme/slot-recipes/input-chip.ts +118 -0
  60. package/src/theme/slot-recipes/listbox.ts +9 -9
  61. package/src/theme/slot-recipes/media-controller-button.ts +9 -9
  62. package/src/theme/slot-recipes/menu.ts +7 -7
  63. package/src/theme/slot-recipes/numeric-stepper.ts +4 -4
  64. package/src/theme/slot-recipes/pagination.ts +4 -4
  65. package/src/theme/slot-recipes/popover.ts +4 -4
  66. package/src/theme/slot-recipes/progress-bar.ts +2 -2
  67. package/src/theme/slot-recipes/progress-indicator.ts +1 -1
  68. package/src/theme/slot-recipes/radio-card.ts +11 -11
  69. package/src/theme/slot-recipes/radio.ts +5 -5
  70. package/src/theme/slot-recipes/select.ts +16 -16
  71. package/src/theme/slot-recipes/stepper.ts +5 -5
  72. package/src/theme/slot-recipes/switch.ts +6 -6
  73. package/src/theme/slot-recipes/table.ts +2 -2
  74. package/src/theme/slot-recipes/tabs.ts +18 -18
  75. package/src/theme/slot-recipes/toast.ts +3 -3
package/dist/index.mjs CHANGED
@@ -1,12 +1,12 @@
1
- import { Accordion as Accordion$1, defineRecipe, chakra, Code as Code$1, Clipboard as Clipboard$1, RadioCard as RadioCard$1, defineStyle, Field, Dialog, createContext as createContext$1, Drawer as Drawer$1, Combobox, Fieldset as Fieldset$1, createListCollection, Select as Select$1, List as List$1, Popover as Popover$1, createToaster, Tabs as Tabs$1, defineSemanticTokens, defineSlotRecipe, defineTokens, defineAnimationStyles, defineGlobalStyles, defineTextStyles, createSystem, defaultBaseConfig, Tooltip as Tooltip$1, IconButton as IconButton$1, defineConfig, Center, Box, ClientOnly, VisuallyHidden, useSlotRecipe, Stack, HStack, Progress, Text, useRecipe, Circle, Skeleton as Skeleton$1, Button as Button$1, Group, Badge as Badge$1, useDisclosure, Alert as Alert$1, Span, Flex, Breadcrumb as Breadcrumb$1, Separator as Separator$1, useFieldContext, PopoverAnchor, Portal, useDialogContext, InputElement, Input as Input$1, useFilter, useListCollection, useCombobox, useComboboxContext, usePopoverContext, Checkbox as Checkbox$1, CheckboxGroup as CheckboxGroup$1, CheckboxCard, ListItem, Menu as Menu$1, useMenuContext as useMenuContext$1, NativeSelect as NativeSelect$1, useControllableState, RadioGroup as RadioGroup$1, useSelectContext, Switch as Switch$1, Textarea as Textarea$1, Link, PopoverCloseTrigger, Pagination as Pagination$1, usePaginationContext, ChakraProvider, Table as Table$1, Toaster as Toaster$1, Toast } from '@chakra-ui/react';
1
+ import { Accordion as Accordion$1, defineRecipe, chakra, Code as Code$1, Clipboard as Clipboard$1, RadioCard as RadioCard$1, defineStyle, Field, Dialog, createContext as createContext$1, Drawer as Drawer$1, Combobox, Fieldset as Fieldset$1, createListCollection, Select as Select$1, List as List$1, Popover as Popover$1, createToaster, Tabs as Tabs$1, defineSemanticTokens, defineSlotRecipe, defineTokens, defineAnimationStyles, defineGlobalStyles, defineTextStyles, createSystem, defaultBaseConfig, Tooltip as Tooltip$1, IconButton as IconButton$1, defineConfig, Center, Box, ClientOnly, VisuallyHidden, useSlotRecipe, Stack, HStack, Progress, Text, useRecipe, Circle, Skeleton as Skeleton$1, Button as Button$1, Group, Badge as Badge$1, useDisclosure, Alert as Alert$1, Span, Flex, Breadcrumb as Breadcrumb$1, Separator as Separator$1, useFieldContext, PopoverAnchor, Portal, useDialogContext, InputElement, Input as Input$1, useFilter, useListCollection, useCombobox, useComboboxContext, usePopoverContext, Checkbox as Checkbox$1, CheckboxGroup as CheckboxGroup$1, CheckboxCard, Tag, ListItem, Menu as Menu$1, useMenuContext as useMenuContext$1, NativeSelect as NativeSelect$1, useControllableState, RadioGroup as RadioGroup$1, useSelectContext, Switch as Switch$1, Textarea as Textarea$1, Link, PopoverCloseTrigger, Pagination as Pagination$1, usePaginationContext, ChakraProvider, Table as Table$1, Toaster as Toaster$1, Toast } from '@chakra-ui/react';
2
2
  export { AspectRatio, Box, BreadcrumbCurrentLink, BreadcrumbEllipsis, BreadcrumbLink, Center, ClientOnly, Collapsible, Container, Em, Flex, For, FormatByte, FormatNumber, Grid, GridItem, HStack, Icon, Image, Kbd, LocaleProvider, Portal, Show, SimpleGrid, Spacer, Span, Stack, TableCaption, TableCell, TableColumn, TableColumnGroup, TableFooter, TableHeader, TableRoot, TableRow, VStack, VisuallyHidden, Wrap, createIcon, createListCollection, createSystem, defineConfig, defineRecipe, defineSlotRecipe, defineStyle, mergeConfigs, chakra as spor, useBreakpointValue, useCheckbox, useClipboard, useControllableProp, useDisclosure, useMediaQuery, useRecipe, useSlotRecipe, useToken } from '@chakra-ui/react';
3
3
  import * as spor_icon_react_star from '@vygruppen/spor-icon-react';
4
4
  import { DropdownDownFill24Icon, CloseFill18Icon, CloseFill30Icon, CloseFill24Icon, DropdownDownFill18Icon, ServiceFill24Icon, WarningFill24Icon, DropdownRightFill18Icon, CalendarOutline24Icon, DropdownLeftFill18Icon, ArrowLeftFill24Icon, ChangeDirectionOutline24Icon, CheckmarkFill18Icon, CloseOutline24Icon, SearchOutline24Icon, Forward15MediaControllerFill30Icon, Backward15MediaControllerFill30Icon, PauseMediaControllerFill24Icon, PlayMediaControllerFill24Icon, NextMediaControllerFill30Icon, PreviousMediaControllerFill30Icon, ArrowRightFill18Icon, DropdownLeftOutline18Icon, DropdownRightOutline18Icon, ArrowUpFill18Icon, ArrowDownFill18Icon, ChangeDirectionFill18Icon, CopyOutline18Icon, WalkFill30Icon, WalkFill24Icon, WalkFill18Icon, AltTransportFill30Icon, AltTransportFill24Icon, AltTransportFill18Icon, TramFill30Icon, TramFill24Icon, TramFill18Icon, SubwayFill30Icon, SubwayFill24Icon, SubwayFill18Icon, FerryFill30Icon, FerryFill24Icon, FerryFill18Icon, BusFill30Icon, BusFill24Icon, BusFill18Icon, ExpressBusFill30Icon, ExpressBusFill24Icon, ExpressBusFill18Icon, TrainFill30Icon, TrainFill24Icon, TrainFill18Icon, InformationFill24Icon, InformationFill18Icon, WarningFill18Icon, ErrorFill24Icon, ErrorFill18Icon, LinkOutOutline24Icon, LinkOutOutline18Icon, QuestionFill24Icon, ErrorOutline24Icon, SuccessFill24Icon, ArrowLeftOutline24Icon, ArrowRightOutline24Icon } from '@vygruppen/spor-icon-react';
5
5
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
6
6
  import * as React13 from 'react';
7
- import React13__default, { createContext, useId, isValidElement, cloneElement, useContext, useRef, useEffect, useImperativeHandle, useState, useLayoutEffect, useMemo } from 'react';
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.subtle",
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
  },
@@ -1088,10 +1103,10 @@ var BaseAlertIcon = ({
1088
1103
  }) => {
1089
1104
  const css = {
1090
1105
  "& path:first-of-type": {
1091
- fill: `alert.${variant}.icon`
1106
+ fill: `icon.${variant}`
1092
1107
  },
1093
1108
  "& path:not(:first-of-type)": {
1094
- fill: `alert.${variant}.surface`
1109
+ fill: `surface.${variant}`
1095
1110
  }
1096
1111
  };
1097
1112
  switch (variant) {
@@ -1279,6 +1294,7 @@ var ServiceAlert = ({
1279
1294
  css: { ...styles.root, ...css },
1280
1295
  ref,
1281
1296
  ...rest,
1297
+ className: "light",
1282
1298
  children: /* @__PURE__ */ jsxs(Accordion$1.Item, { value: defaultValue, children: [
1283
1299
  /* @__PURE__ */ jsx(Accordion$1.ItemTrigger, { css: styles.itemTrigger, children: /* @__PURE__ */ jsxs(
1284
1300
  HStack,
@@ -1307,7 +1323,7 @@ var ServiceAlert = ({
1307
1323
  ] }),
1308
1324
  /* @__PURE__ */ jsxs(Flex, { alignItems: "center", gap: [0.5, null, null, 1], children: [
1309
1325
  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" }) })
1326
+ /* @__PURE__ */ jsx(Accordion$1.ItemIndicator, { children: /* @__PURE__ */ jsx(DropdownDownFill24Icon, { color: "icon.brand" }) })
1311
1327
  ] })
1312
1328
  ]
1313
1329
  }
@@ -1672,18 +1688,18 @@ var cellStyles = {
1672
1688
  },
1673
1689
  // Selection edge (single-mode selected OR range start/end)
1674
1690
  "&[data-edge]": {
1675
- backgroundColor: "brand.surface",
1676
- color: "text.inverted"
1691
+ backgroundColor: "surface.brand",
1692
+ color: "text.brand"
1677
1693
  },
1678
1694
  // Range middle
1679
1695
  "&[data-middle]": {
1680
- backgroundColor: "surface.secondary",
1696
+ backgroundColor: "surface.subtle",
1681
1697
  color: "text"
1682
1698
  },
1683
1699
  // Hover for non-selected, non-disabled cells on devices that support hover
1684
1700
  "@media (hover: hover)": {
1685
1701
  "&:not([data-edge]):not([data-middle]):not([data-disabled]):hover": {
1686
- backgroundColor: "surface.secondary",
1702
+ backgroundColor: "surface.subtle",
1687
1703
  color: "text"
1688
1704
  }
1689
1705
  }
@@ -2086,7 +2102,7 @@ var Field3 = ({
2086
2102
  ]
2087
2103
  }
2088
2104
  ),
2089
- helperText && /* @__PURE__ */ jsx(Text3, { variant: "sm", color: "text.tertiary", children: helperText })
2105
+ helperText && /* @__PURE__ */ jsx(Text3, { variant: "sm", color: "text.subtle", children: helperText })
2090
2106
  ] });
2091
2107
  };
2092
2108
  var FieldErrorText = ({
@@ -2323,7 +2339,7 @@ var CalendarNavigator = ({
2323
2339
  fontWeight: "bold",
2324
2340
  flex: "1",
2325
2341
  textAlign: "center",
2326
- color: "core.text",
2342
+ color: "text.core",
2327
2343
  children: capitalize(title)
2328
2344
  }
2329
2345
  ),
@@ -3122,7 +3138,7 @@ var CloseDrawerLine = ({
3122
3138
  top: 0,
3123
3139
  marginY: 2,
3124
3140
  marginX: "auto",
3125
- backgroundColor: "floating.outline.active",
3141
+ backgroundColor: "outline.neutral",
3126
3142
  borderRadius: "xs",
3127
3143
  ...props,
3128
3144
  ref
@@ -3593,7 +3609,7 @@ var CardSelectContent = ({
3593
3609
  p: "2",
3594
3610
  bg: "bg",
3595
3611
  border: "sm",
3596
- borderColor: "floating.outline",
3612
+ borderColor: "outline.floating",
3597
3613
  borderRadius: "sm",
3598
3614
  ...props,
3599
3615
  children
@@ -3601,9 +3617,9 @@ var CardSelectContent = ({
3601
3617
  ) }) }) }) });
3602
3618
  };
3603
3619
  var bgActiveStyleMap = {
3604
- core: "core.surface.active",
3605
- ghost: "ghost.surface.active",
3606
- floating: "floating.surface.active"
3620
+ core: "surface.core.active",
3621
+ ghost: "surface.ghost.active",
3622
+ floating: "surface.floating.active"
3607
3623
  };
3608
3624
  var CardSelectTrigger = ({
3609
3625
  ref,
@@ -3688,9 +3704,15 @@ var Popover = ({
3688
3704
  hasBackdrop = true,
3689
3705
  containerPadding = 12
3690
3706
  }) => {
3691
- var _a6;
3692
3707
  const internalRef = useRef(null);
3693
3708
  const popoverRef = ref ?? internalRef;
3709
+ useLayoutEffect(() => {
3710
+ var _a6;
3711
+ const element = typeof popoverRef === "object" ? popoverRef == null ? void 0 : popoverRef.current : null;
3712
+ if (element) {
3713
+ element.style.minWidth = `${((_a6 = triggerRef.current) == null ? void 0 : _a6.clientWidth) ?? 0}px`;
3714
+ }
3715
+ });
3694
3716
  const { popoverProps, underlayProps } = usePopover(
3695
3717
  {
3696
3718
  triggerRef,
@@ -3704,19 +3726,11 @@ var Popover = ({
3704
3726
  },
3705
3727
  state
3706
3728
  );
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
- );
3729
+ const popoverBox = /* @__PURE__ */ jsxs(Box, { ...popoverProps, ref: popoverRef, children: [
3730
+ /* @__PURE__ */ jsx(DismissButton, { onDismiss: state.close }),
3731
+ children,
3732
+ /* @__PURE__ */ jsx(DismissButton, { onDismiss: state.close })
3733
+ ] });
3720
3734
  if (isNonModal) {
3721
3735
  return popoverBox;
3722
3736
  }
@@ -3847,7 +3861,7 @@ var Combobox2 = (props) => {
3847
3861
  "aria-controls": listboxId,
3848
3862
  borderBottomLeftRadius: state.isOpen && !loading ? 0 : borderBottomLeftRadius,
3849
3863
  borderBottomRightRadius: state.isOpen && !loading ? 0 : borderBottomRightRadius,
3850
- _active: { backgroundColor: "core.surface.active" },
3864
+ _active: { backgroundColor: "surface.core.active" },
3851
3865
  ...filteredInputProps,
3852
3866
  startElement: leftIcon,
3853
3867
  endElement: loading ? /* @__PURE__ */ jsx(
@@ -3933,6 +3947,19 @@ var FieldsetLegend = Fieldset$1.Legend;
3933
3947
  var FieldsetContent = Fieldset$1.Content;
3934
3948
  var FieldsetHelperText = Fieldset$1.HelperText;
3935
3949
  var FieldsetErrorText = Fieldset$1.ErrorText;
3950
+ var InputChip = ({
3951
+ startIcon,
3952
+ endIcon,
3953
+ children,
3954
+ ref,
3955
+ ...rest
3956
+ }) => {
3957
+ return /* @__PURE__ */ jsxs(Tag.Root, { ref, ...rest, as: "button", children: [
3958
+ startIcon && /* @__PURE__ */ jsx(Tag.StartElement, { children: /* @__PURE__ */ jsx(Box, { as: startIcon }) }),
3959
+ /* @__PURE__ */ jsx(Tag.Label, { children }),
3960
+ endIcon && /* @__PURE__ */ jsx(Tag.EndElement, { children: /* @__PURE__ */ jsx(Box, { as: endIcon }) })
3961
+ ] });
3962
+ };
3936
3963
  var ListBox = (props) => {
3937
3964
  const { loading, listBoxRef, state, maxWidth, variant, children } = props;
3938
3965
  const { listBoxProps } = useListBox(props, state, listBoxRef);
@@ -4770,7 +4797,7 @@ var Select = ({
4770
4797
  css: styles.root,
4771
4798
  position: "relative",
4772
4799
  children: [
4773
- /* @__PURE__ */ jsx(SelectTrigger, { "data-attachable": true, children: /* @__PURE__ */ jsx(SelectValueText, { withPlaceholder: label ? true : false }) }),
4800
+ /* @__PURE__ */ jsx(SelectTrigger, { "data-attachable": true, children: /* @__PURE__ */ jsx(SelectValueText, { withPlaceholder: !!label }) }),
4774
4801
  label && /* @__PURE__ */ jsx(SelectLabel, { css: styles.label, children: label }),
4775
4802
  /* @__PURE__ */ jsx(SelectContent, { css: styles.selectContent, baseStyle: css, children })
4776
4803
  ]
@@ -4785,7 +4812,7 @@ var SelectLabel = (props) => {
4785
4812
  Select$1.Label,
4786
4813
  {
4787
4814
  ...props,
4788
- "data-selected": value.length > 0 ? true : void 0
4815
+ "data-selected": value.length > 0 || void 0
4789
4816
  }
4790
4817
  );
4791
4818
  };
@@ -4796,14 +4823,19 @@ var SelectItem = ({
4796
4823
  const { item, children, description, ...rest } = props;
4797
4824
  const recipe = useSlotRecipe({ key: "select" });
4798
4825
  const styles = recipe();
4826
+ const selectContext = useSelectContext();
4827
+ const multiple = selectContext.multiple;
4828
+ const isSelected = selectContext.value.includes(item.value);
4799
4829
  return /* @__PURE__ */ jsxs(Select$1.Item, { item, ...rest, ref, css: styles.item, children: [
4830
+ multiple && /* @__PURE__ */ jsx(Checkbox$1.Root, { checked: isSelected, pointerEvents: "none", children: /* @__PURE__ */ jsx(Checkbox$1.Control, { children: /* @__PURE__ */ jsx(Checkbox$1.Indicator, {}) }) }),
4800
4831
  /* @__PURE__ */ jsxs(Box, { width: "100%", children: [
4801
4832
  /* @__PURE__ */ jsx(Select$1.ItemText, { display: "flex", children }),
4802
4833
  description && /* @__PURE__ */ jsx(Box, { "data-part": "item-description", css: styles.itemDescription, children: description })
4803
4834
  ] }),
4804
- /* @__PURE__ */ jsx(Select$1.ItemIndicator, { children: /* @__PURE__ */ jsx(CheckmarkFill18Icon, {}) })
4835
+ !multiple && /* @__PURE__ */ jsx(Select$1.ItemIndicator, { children: /* @__PURE__ */ jsx(CheckmarkFill18Icon, {}) })
4805
4836
  ] });
4806
4837
  };
4838
+ SelectItem.displayName = "SelectItem";
4807
4839
  var SelectItemGroup = function SelectItemGroup2({
4808
4840
  ref,
4809
4841
  ...props
@@ -4862,6 +4894,8 @@ var SelectValueText = function SelectValueText2({
4862
4894
  ...props
4863
4895
  }) {
4864
4896
  const { children, withPlaceholder, placeholder, ...rest } = props;
4897
+ const selectContext = useSelectContext();
4898
+ const multiple = selectContext.multiple;
4865
4899
  return /* @__PURE__ */ jsx(
4866
4900
  Select$1.ValueText,
4867
4901
  {
@@ -4875,9 +4909,20 @@ var SelectValueText = function SelectValueText2({
4875
4909
  return placeholder;
4876
4910
  if (children)
4877
4911
  return children(items);
4878
- if (items.length === 1)
4912
+ if (multiple) {
4913
+ return /* @__PURE__ */ jsx(Flex, { gap: 0.5, marginBottom: 1, children: items.map((item) => /* @__PURE__ */ jsx(
4914
+ Badge,
4915
+ {
4916
+ size: "sm",
4917
+ colorPalette: "green",
4918
+ children: select.collection.stringifyItem(item)
4919
+ },
4920
+ select.collection.stringifyItem(item)
4921
+ )) });
4922
+ }
4923
+ if (items.length === 1) {
4879
4924
  return select.collection.stringifyItem(items[0]);
4880
- return `${items.length} selected`;
4925
+ }
4881
4926
  } })
4882
4927
  }
4883
4928
  );
@@ -5132,7 +5177,7 @@ var LineIcon = function LineIcon2({
5132
5177
  css: { ...styles.iconContainer, ...style },
5133
5178
  padding: targetPadding(),
5134
5179
  borderWidth: borderContainer(),
5135
- borderColor: variant === "walk" ? "core.outline" : "transparent",
5180
+ borderColor: variant === "walk" ? "outline.core" : "transparent",
5136
5181
  "aria-label": label,
5137
5182
  ref,
5138
5183
  className: clsx_default("light", rest.className),
@@ -6572,8 +6617,8 @@ var StepperStep = ({
6572
6617
  const state = getState(stepNumber, activeStep);
6573
6618
  const recipe = useSlotRecipe({ key: "stepper" });
6574
6619
  const style = recipe({ variant });
6575
- const disabledTextColor = "text.tertiary";
6576
- const iconColor = "text.tertiary";
6620
+ const disabledTextColor = "text.subtle";
6621
+ const iconColor = "text.subtle";
6577
6622
  const disabled = state !== "active" && disabledOverride || state === "disabled";
6578
6623
  return /* @__PURE__ */ jsxs(Box, { css: style.stepContainer, "data-part": "step-container", children: [
6579
6624
  stepNumber > 1 && /* @__PURE__ */ jsx(
@@ -6877,40 +6922,40 @@ var buttonRecipe = defineRecipe({
6877
6922
  variants: {
6878
6923
  variant: {
6879
6924
  primary: {
6880
- background: "brand.surface",
6881
- color: "brand.text",
6925
+ background: "surface.brand",
6926
+ color: "text.brand",
6882
6927
  fontWeight: "bold",
6883
6928
  _hover: {
6884
- background: "brand.surface.hover",
6929
+ background: "surface.brand.hover",
6885
6930
  _active: {
6886
- background: "brand.surface.active"
6931
+ background: "surface.brand.active"
6887
6932
  }
6888
6933
  }
6889
6934
  },
6890
6935
  secondary: {
6891
- background: "accent.surface",
6892
- color: "accent.text",
6936
+ background: "surface.accent",
6937
+ color: "text.accent",
6893
6938
  fontWeight: "bold",
6894
6939
  _hover: {
6895
- background: "accent.surface.hover",
6940
+ background: "surface.accent.hover",
6896
6941
  _active: {
6897
- background: "accent.surface.active"
6942
+ background: "surface.accent.active"
6898
6943
  }
6899
6944
  }
6900
6945
  },
6901
6946
  tertiary: {
6902
- color: "core.text",
6947
+ color: "text.core",
6903
6948
  outline: "solid",
6904
6949
  fontWeight: "normal",
6905
6950
  outlineWidth: tokens22__default.size.stroke.sm,
6906
- outlineColor: "core.outline",
6951
+ outlineColor: "outline.core",
6907
6952
  _hover: {
6908
6953
  outlineWidth: tokens22__default.size.stroke.md,
6909
- outlineColor: "core.outline.hover",
6954
+ outlineColor: "outline.core.hover",
6910
6955
  _active: {
6911
- background: "core.surface.active",
6956
+ background: "surface.core.active",
6912
6957
  outlineWidth: tokens22__default.size.stroke.sm,
6913
- outlineColor: "core.outline"
6958
+ outlineColor: "outline.core"
6914
6959
  }
6915
6960
  },
6916
6961
  _focus: {
@@ -6918,28 +6963,28 @@ var buttonRecipe = defineRecipe({
6918
6963
  }
6919
6964
  },
6920
6965
  ghost: {
6921
- color: "ghost.text",
6966
+ color: "text.ghost",
6922
6967
  fontWeight: "bold",
6923
6968
  _hover: {
6924
- background: "ghost.surface.hover",
6969
+ background: "surface.ghost.hover",
6925
6970
  _active: {
6926
- background: "ghost.surface.active"
6971
+ background: "surface.ghost.active"
6927
6972
  }
6928
6973
  }
6929
6974
  },
6930
6975
  floating: {
6931
- color: "floating.text",
6932
- background: "floating.surface",
6976
+ color: "text.floating",
6977
+ background: "surface.floating",
6933
6978
  fontWeight: "bold",
6934
6979
  border: "sm",
6935
- borderColor: "floating.outline",
6980
+ borderColor: "outline.floating",
6936
6981
  boxShadow: "0px 1px 3px 0px var(--spor-colors-surface-disabled, rgba(0, 0, 0, 0.10))",
6937
6982
  _hover: {
6938
- borderColor: "floating.outline.hover",
6983
+ borderColor: "outline.floating.hover",
6939
6984
  _active: {
6940
- background: "core.surface.active",
6985
+ background: "surface.core.active",
6941
6986
  boxShadow: "none",
6942
- borderColor: "floating.outline"
6987
+ borderColor: "outline.floating"
6943
6988
  }
6944
6989
  }
6945
6990
  }
@@ -6994,12 +7039,12 @@ var closeButtonRecipe = defineRecipe({
6994
7039
  color: "text",
6995
7040
  fontWeight: "normal",
6996
7041
  _hover: {
6997
- background: "ghost.surface.hover",
7042
+ background: "surface.ghost.hover",
6998
7043
  _disabled: {
6999
7044
  color: "icon.disabled"
7000
7045
  },
7001
7046
  _active: {
7002
- background: "ghost.surface.active"
7047
+ background: "surface.ghost.active"
7003
7048
  }
7004
7049
  }
7005
7050
  },
@@ -7074,7 +7119,7 @@ var inputRecipe = defineRecipe({
7074
7119
  },
7075
7120
  _hover: {
7076
7121
  outline: "2px solid",
7077
- outlineColor: "core.outline"
7122
+ outlineColor: "outline.core"
7078
7123
  }
7079
7124
  }
7080
7125
  },
@@ -7083,14 +7128,14 @@ var inputRecipe = defineRecipe({
7083
7128
  core: {
7084
7129
  backgroundColor: "transparent",
7085
7130
  outline: "1px solid",
7086
- outlineColor: "core.outline",
7131
+ outlineColor: "outline.core",
7087
7132
  _hover: {
7088
7133
  outline: "2px solid",
7089
- outlineColor: "core.outline.hover",
7134
+ outlineColor: "outline.core.hover",
7090
7135
  _active: {
7091
7136
  outline: "1px solid",
7092
7137
  outlineColor: "outline.disabled",
7093
- backgroundColor: "core.surface.active"
7138
+ backgroundColor: "surface.core.active"
7094
7139
  }
7095
7140
  },
7096
7141
  _focus: {
@@ -7100,17 +7145,17 @@ var inputRecipe = defineRecipe({
7100
7145
  },
7101
7146
  floating: {
7102
7147
  boxShadow: "sm",
7103
- bg: "floating.surface",
7148
+ bg: "surface.floating",
7104
7149
  outline: "1px solid",
7105
- outlineColor: "floating.outline",
7150
+ outlineColor: "outline.floating",
7106
7151
  _hover: {
7107
7152
  outline: "1px solid",
7108
- outlineColor: "floating.outline.hover"
7153
+ outlineColor: "outline.floating.hover"
7109
7154
  },
7110
7155
  _active: {
7111
7156
  outline: "1px solid",
7112
- outlineColor: "floating.outline.active",
7113
- backgroundColor: "floating.surface.active"
7157
+ outlineColor: "outline.neutral",
7158
+ backgroundColor: "surface.floating.active"
7114
7159
  },
7115
7160
  focus: {
7116
7161
  outline: "1px solid",
@@ -7153,7 +7198,7 @@ var linkRecipe = defineRecipe({
7153
7198
  variants: {
7154
7199
  variant: {
7155
7200
  primary: {
7156
- color: "core.text",
7201
+ color: "text.core",
7157
7202
  _hover: {
7158
7203
  color: "text",
7159
7204
  _active: {
@@ -7216,29 +7261,29 @@ var pressableCardRecipe = defineRecipe({
7216
7261
  boxShadow: "0px 1px 3px 0px var(--shadow-color)",
7217
7262
  shadowColor: "surface.disabled",
7218
7263
  border: "sm",
7219
- borderColor: "floating.outline",
7220
- backgroundColor: "floating.surface",
7264
+ borderColor: "outline.floating",
7265
+ backgroundColor: "surface.floating",
7221
7266
  _hover: {
7222
7267
  boxShadow: "0px 2px 6px 0px var(--shadow-color)",
7223
- backgroundColor: "floating.surface.hover",
7224
- borderColor: "floating.outline.hover",
7268
+ backgroundColor: "surface.floating.hover",
7269
+ borderColor: "outline.floating.hover",
7225
7270
  _active: {
7226
7271
  boxShadow: "none",
7227
- backgroundColor: "floating.surface.active",
7228
- borderColor: "floating.outline.active"
7272
+ backgroundColor: "surface.floating.active",
7273
+ borderColor: "outline.neutral"
7229
7274
  }
7230
7275
  }
7231
7276
  },
7232
7277
  core: {
7233
- outlineColor: "core.outline",
7278
+ outlineColor: "outline.core",
7234
7279
  outlineWidth: tokens22__default.size.stroke.sm,
7235
7280
  outlineStyle: "solid",
7236
7281
  _hover: {
7237
- outlineColor: "core.outline.hover",
7282
+ outlineColor: "outline.core.hover",
7238
7283
  outlineWidth: tokens22__default.size.stroke.md,
7239
7284
  outlineStyle: "solid",
7240
7285
  _active: {
7241
- backgroundColor: "core.surface.active",
7286
+ backgroundColor: "surface.core.active",
7242
7287
  outlineWidth: tokens22__default.size.stroke.sm
7243
7288
  }
7244
7289
  }
@@ -7246,12 +7291,12 @@ var pressableCardRecipe = defineRecipe({
7246
7291
  accent: {
7247
7292
  boxShadow: "0px 1px 3px 0px var(--shadow-color)",
7248
7293
  shadowColor: "surface.disabled",
7249
- background: "alert.success.surface",
7294
+ background: "surface.success",
7250
7295
  _hover: {
7251
- background: "alert.success.surface.hover",
7296
+ background: "surface.success.hover",
7252
7297
  boxShadow: "0px 2px 6px 0px var(--shadow-color)",
7253
7298
  _active: {
7254
- background: "alert.success.surface.active",
7299
+ background: "surface.success.active",
7255
7300
  boxShadow: "none"
7256
7301
  }
7257
7302
  }
@@ -7370,7 +7415,7 @@ var skeletonRecipe = defineRecipe({
7370
7415
  },
7371
7416
  none: {
7372
7417
  animation: "none",
7373
- background: "surface.color.grey"
7418
+ background: "surface.neutral"
7374
7419
  }
7375
7420
  }
7376
7421
  }
@@ -7382,29 +7427,29 @@ var staticCardRecipe = defineRecipe({
7382
7427
  variants: {
7383
7428
  colorPalette: {
7384
7429
  white: {
7385
- backgroundColor: "surface.color.neutral",
7430
+ backgroundColor: "surface",
7386
7431
  color: "text"
7387
7432
  },
7388
7433
  grey: {
7389
- backgroundColor: "surface.color.grey"
7434
+ backgroundColor: "surface.neutral"
7390
7435
  },
7391
7436
  yellow: {
7392
- backgroundColor: "surface.color.cream"
7437
+ backgroundColor: "surface.warning"
7393
7438
  },
7394
7439
  darkYellow: {
7395
- backgroundColor: "surface.color.yellow"
7440
+ backgroundColor: "surface.notice"
7396
7441
  },
7397
7442
  red: {
7398
- backgroundColor: "surface.color.red"
7443
+ backgroundColor: "surface.critical"
7399
7444
  },
7400
7445
  green: {
7401
- backgroundColor: "surface.color.green"
7446
+ backgroundColor: "surface.success"
7402
7447
  },
7403
7448
  blue: {
7404
- backgroundColor: "surface.color.blue"
7449
+ backgroundColor: "surface.info"
7405
7450
  },
7406
7451
  orange: {
7407
- backgroundColor: "surface.color.orange"
7452
+ backgroundColor: "surface.caution"
7408
7453
  }
7409
7454
  }
7410
7455
  },
@@ -7462,7 +7507,7 @@ var vyUtviklingColors = defineSemanticTokens.colors({
7462
7507
  ...tokens4.color["vy-utvikling"].color.vyUtvikling
7463
7508
  });
7464
7509
  var cargonetColors = defineSemanticTokens.colors({
7465
- ...tokens4.color.cargonet.color.cargonet
7510
+ ...tokens4.color["cargonet"].color.cargonet
7466
7511
  });
7467
7512
  var radii = defineSemanticTokens.radii({
7468
7513
  none: { value: tokens22__default.size["border-radius"].none },
@@ -7769,6 +7814,7 @@ var comboboxAnatomy = comboboxAnatomy$1.extendWith(
7769
7814
  "indicatorGroup",
7770
7815
  "empty"
7771
7816
  );
7817
+ var tagAnatomy = createAnatomy("tag").parts("root");
7772
7818
  var menuAnatomy = createAnatomy("menu").parts(
7773
7819
  "trigger",
7774
7820
  "content",
@@ -7799,7 +7845,7 @@ var accordionSlotRecipe = defineSlotRecipe({
7799
7845
  borderRadius: "sm",
7800
7846
  display: "flex",
7801
7847
  justifyContent: "space-between",
7802
- color: "core.text",
7848
+ color: "text.core",
7803
7849
  textAlign: "left",
7804
7850
  width: "full",
7805
7851
  alignItems: "center",
@@ -7855,10 +7901,10 @@ var accordionSlotRecipe = defineSlotRecipe({
7855
7901
  },
7856
7902
  itemTrigger: {
7857
7903
  "&:hover": {
7858
- background: "ghost.surface.hover"
7904
+ background: "surface.ghost.hover"
7859
7905
  },
7860
7906
  "&:active": {
7861
- backgroundColor: "ghost.surface.active"
7907
+ backgroundColor: "surface.ghost.active"
7862
7908
  }
7863
7909
  }
7864
7910
  },
@@ -7866,7 +7912,7 @@ var accordionSlotRecipe = defineSlotRecipe({
7866
7912
  item: {
7867
7913
  outline: "solid",
7868
7914
  outlineWidth: tokens22__default.size.stroke.sm,
7869
- outlineColor: "core.outline"
7915
+ outlineColor: "outline.core"
7870
7916
  },
7871
7917
  itemTrigger: {
7872
7918
  _expanded: {
@@ -7874,12 +7920,12 @@ var accordionSlotRecipe = defineSlotRecipe({
7874
7920
  },
7875
7921
  "&:hover": {
7876
7922
  outlineWidth: tokens22__default.size.stroke.md,
7877
- outlineColor: "core.outline",
7923
+ outlineColor: "outline.core",
7878
7924
  outline: "2px solid",
7879
7925
  outlineOffset: 0
7880
7926
  },
7881
7927
  "&:active": {
7882
- backgroundColor: "core.surface.active",
7928
+ backgroundColor: "surface.core.active",
7883
7929
  outlineWidth: tokens22__default.size.stroke.sm,
7884
7930
  outline: "none"
7885
7931
  }
@@ -7892,7 +7938,7 @@ var accordionSlotRecipe = defineSlotRecipe({
7892
7938
  item: {
7893
7939
  borderRadius: "none",
7894
7940
  borderBottom: "1px solid",
7895
- borderBottomColor: "floating.outline.active"
7941
+ borderBottomColor: "outline.neutral"
7896
7942
  }
7897
7943
  },
7898
7944
  floating: {
@@ -7900,7 +7946,7 @@ var accordionSlotRecipe = defineSlotRecipe({
7900
7946
  outline: "1px solid",
7901
7947
  outlineWidth: tokens22__default.size.stroke.sm,
7902
7948
  boxShadow: "sm",
7903
- outlineColor: "floating.outline"
7949
+ outlineColor: "outline.floating"
7904
7950
  },
7905
7951
  itemTrigger: {
7906
7952
  _expanded: {
@@ -7909,11 +7955,11 @@ var accordionSlotRecipe = defineSlotRecipe({
7909
7955
  "&:hover": {
7910
7956
  outlineWidth: tokens22__default.size.stroke.md,
7911
7957
  outline: "1px solid",
7912
- outlineColor: "floating.outline.hover",
7958
+ outlineColor: "outline.floating.hover",
7913
7959
  outlineOffset: 1
7914
7960
  },
7915
7961
  "&:active": {
7916
- backgroundColor: "floating.surface.active",
7962
+ backgroundColor: "surface.floating.active",
7917
7963
  outlineWidth: tokens22__default.size.stroke.sm,
7918
7964
  outline: "none"
7919
7965
  }
@@ -7924,21 +7970,21 @@ var accordionSlotRecipe = defineSlotRecipe({
7924
7970
  });
7925
7971
  var createVariant = (variant) => ({
7926
7972
  root: {
7927
- borderColor: `alert.${variant}.outline`,
7928
- background: `alert.${variant}.surface`
7973
+ borderColor: `outline.${variant}`,
7974
+ background: `surface.${variant}`
7929
7975
  },
7930
7976
  description: {
7931
- color: `alert.${variant}.text.secondary`
7977
+ color: `text.${variant}.subtle`
7932
7978
  },
7933
7979
  title: {
7934
- color: `alert.${variant}.text`
7980
+ color: `text.${variant}`
7935
7981
  },
7936
7982
  closeButton: {
7937
- color: `alert.${variant}.text`,
7983
+ color: `text.${variant}`,
7938
7984
  _hover: {
7939
- bg: `alert.${variant}.surface.hover`,
7985
+ bg: `surface.${variant}.hover`,
7940
7986
  _active: {
7941
- bg: `alert.${variant}.surface.active`
7987
+ bg: `surface.${variant}.active`
7942
7988
  }
7943
7989
  }
7944
7990
  }
@@ -7973,13 +8019,13 @@ var alertSlotRecipe = defineSlotRecipe({
7973
8019
  },
7974
8020
  variants: {
7975
8021
  variant: {
7976
- important: createVariant("important"),
7977
- alt: createVariant("alt"),
7978
- error: createVariant("error"),
8022
+ important: createVariant("warning"),
8023
+ alt: createVariant("notice"),
8024
+ error: createVariant("critical"),
7979
8025
  success: createVariant("success"),
7980
8026
  info: createVariant("info"),
7981
8027
  neutral: createVariant("neutral"),
7982
- "error-secondary": createVariant("error-secondary"),
8028
+ "error-secondary": createVariant("caution"),
7983
8029
  service: createVariant("service")
7984
8030
  }
7985
8031
  },
@@ -8009,117 +8055,117 @@ var alertExpandableSlotRecipe = defineSlotRecipe({
8009
8055
  variant: {
8010
8056
  important: {
8011
8057
  itemContent: {
8012
- color: "alert.important.text.secondary"
8058
+ color: "text.warning.subtle"
8013
8059
  },
8014
8060
  itemTrigger: {
8015
8061
  "&:hover": {
8016
- bg: "alert.important.surface.hover",
8062
+ bg: "surface.warning.hover",
8017
8063
  outline: "1px solid",
8018
- outlineColor: "alert.important.outline.hover",
8064
+ outlineColor: "outline.warning.hover",
8019
8065
  outlineOffset: "0px"
8020
8066
  },
8021
8067
  "&:active": {
8022
- bg: "alert.important.surface.active"
8068
+ bg: "surface.warning.active"
8023
8069
  }
8024
8070
  },
8025
8071
  root: {
8026
- borderColor: "alert.important.outline",
8027
- bg: "alert.important.surface"
8072
+ borderColor: "outline.warning",
8073
+ bg: "surface.warning"
8028
8074
  },
8029
8075
  title: {
8030
- color: "alert.important.text"
8076
+ color: "text.warning"
8031
8077
  }
8032
8078
  },
8033
8079
  success: {
8034
8080
  itemContent: {
8035
- color: "alert.success.text.secondary"
8081
+ color: "text.success.subtle"
8036
8082
  },
8037
8083
  itemTrigger: {
8038
8084
  "&:hover": {
8039
- bg: "alert.success.surface.hover",
8085
+ bg: "surface.success.hover",
8040
8086
  outline: "1px solid",
8041
8087
  outlineOffset: "0px",
8042
- outlineColor: "alert.success.outline.hover",
8088
+ outlineColor: "outline.success.hover",
8043
8089
  "&:active": {
8044
- bg: "alert.success.surface.active"
8090
+ bg: "surface.success.active"
8045
8091
  }
8046
8092
  }
8047
8093
  },
8048
8094
  root: {
8049
- borderColor: "alert.success.outline",
8050
- bg: "alert.success.surface"
8095
+ borderColor: "outline.success",
8096
+ bg: "surface.success"
8051
8097
  },
8052
8098
  title: {
8053
- color: "alert.success.text"
8099
+ color: "text.success"
8054
8100
  }
8055
8101
  },
8056
8102
  alt: {
8057
8103
  itemContent: {
8058
- color: "alert.alt.text.secondary"
8104
+ color: "text.notice.subtle"
8059
8105
  },
8060
8106
  itemTrigger: {
8061
8107
  "&:hover": {
8062
- bg: "alert.alt.surface.hover",
8108
+ bg: "surface.notice.hover",
8063
8109
  outlineOffset: "0px",
8064
8110
  outline: "1px solid",
8065
- outlineColor: "alert.alt.outline.hover",
8111
+ outlineColor: "outline.notice.hover",
8066
8112
  "&:active": {
8067
- bg: "alert.alt.surface.active"
8113
+ bg: "surface.notice.active"
8068
8114
  }
8069
8115
  }
8070
8116
  },
8071
8117
  root: {
8072
- borderColor: "alert.alt.outline",
8073
- bg: "alert.alt.surface"
8118
+ borderColor: "outline.notice",
8119
+ bg: "surface.notice"
8074
8120
  },
8075
8121
  title: {
8076
- color: "alert.alt.text"
8122
+ color: "text.notice"
8077
8123
  }
8078
8124
  },
8079
8125
  info: {
8080
8126
  itemContent: {
8081
- color: "alert.info.text.secondary"
8127
+ color: "text.info.subtle"
8082
8128
  },
8083
8129
  itemTrigger: {
8084
8130
  "&:hover": {
8085
- bg: "alert.info.surface.hover",
8131
+ bg: "surface.info.hover",
8086
8132
  outlineOffset: "0px",
8087
8133
  outline: "1px solid",
8088
- outlineColor: "alert.info.outline.hover",
8134
+ outlineColor: "outline.info.hover",
8089
8135
  "&:active": {
8090
- bg: "alert.info.surface.active"
8136
+ bg: "surface.info.active"
8091
8137
  }
8092
8138
  }
8093
8139
  },
8094
8140
  root: {
8095
- borderColor: "alert.info.outline",
8096
- bg: "alert.info.surface"
8141
+ borderColor: "outline.info",
8142
+ bg: "surface.info"
8097
8143
  },
8098
8144
  title: {
8099
- color: "alert.info.text"
8145
+ color: "text.info"
8100
8146
  }
8101
8147
  },
8102
8148
  error: {
8103
8149
  itemContent: {
8104
- color: "alert.error.text.secondary"
8150
+ color: "text.critical.subtle"
8105
8151
  },
8106
8152
  itemTrigger: {
8107
8153
  "&:hover": {
8108
- bg: "alert.error.surface.hover",
8154
+ bg: "surface.critical.hover",
8109
8155
  outlineOffset: "0px",
8110
8156
  outline: "1px solid",
8111
- outlineColor: "alert.error.outline.hover",
8157
+ outlineColor: "outline.critical.hover",
8112
8158
  "&:active": {
8113
- bg: "alert.error.surface.active"
8159
+ bg: "surface.critical.active"
8114
8160
  }
8115
8161
  }
8116
8162
  },
8117
8163
  root: {
8118
- borderColor: "alert.error.outline",
8119
- bg: "alert.error.surface"
8164
+ borderColor: "outline.critical",
8165
+ bg: "surface.critical"
8120
8166
  },
8121
8167
  title: {
8122
- color: "alert.error.text"
8168
+ color: "text.critical"
8123
8169
  }
8124
8170
  }
8125
8171
  }
@@ -8135,10 +8181,10 @@ var alertServiceSlotRecipe = defineSlotRecipe({
8135
8181
  transitionDuration: "fast",
8136
8182
  borderTopRadius: "none",
8137
8183
  borderBottomRadius: "md",
8138
- backgroundColor: "alert.service.surface",
8184
+ backgroundColor: "surface.service",
8139
8185
  outline: "1px solid",
8140
- outlineColor: "alert.service.outline",
8141
- color: "text.inverted",
8186
+ outlineColor: "outline.service",
8187
+ color: "text.brand",
8142
8188
  boxShadow: "sm"
8143
8189
  },
8144
8190
  itemTrigger: {
@@ -8150,15 +8196,15 @@ var alertServiceSlotRecipe = defineSlotRecipe({
8150
8196
  borderBottomRadius: "md",
8151
8197
  borderTopRadius: "none",
8152
8198
  width: "full",
8153
- color: "text.inverted",
8199
+ color: "text.brand",
8154
8200
  "&:hover": {
8155
- backgroundColor: "alert.service.surface.hover"
8201
+ backgroundColor: "surface.service.hover"
8156
8202
  },
8157
8203
  "&:active": {
8158
- backgroundColor: "alert.service.surface.active"
8204
+ backgroundColor: "surface.service.active"
8159
8205
  },
8160
8206
  _icon: {
8161
- color: "text"
8207
+ color: "icon.brand"
8162
8208
  }
8163
8209
  },
8164
8210
  itemTriggerTitle: {
@@ -8168,7 +8214,7 @@ var alertServiceSlotRecipe = defineSlotRecipe({
8168
8214
  fontWeight: "400",
8169
8215
  fontSize: ["mobile.xs", "desktop.xs"],
8170
8216
  textWrap: "nowrap",
8171
- color: "alert.service.text.secondary"
8217
+ color: "text.service.subtle"
8172
8218
  },
8173
8219
  itemContent: {
8174
8220
  paddingX: ["2", "3"],
@@ -8178,14 +8224,14 @@ var alertServiceSlotRecipe = defineSlotRecipe({
8178
8224
  itemBody: {
8179
8225
  marginX: "auto",
8180
8226
  padding: "0 !important",
8181
- color: "alert.service.text.secondary",
8227
+ color: "text.service.subtle",
8182
8228
  gap: 0,
8183
8229
  flexDirection: "column",
8184
8230
  display: "flex",
8185
8231
  "& > p": {
8186
8232
  width: "full",
8187
8233
  borderBottom: "1px dashed",
8188
- borderColor: "outline.inverted",
8234
+ borderColor: "outline.neutral",
8189
8235
  paddingY: ["1", "1.5"],
8190
8236
  _first: {
8191
8237
  paddingTop: 0
@@ -8268,7 +8314,7 @@ var comboboxSlotRecipe = defineSlotRecipe({
8268
8314
  borderRadius: "sm",
8269
8315
  flex: "1",
8270
8316
  _highlighted: {
8271
- bg: "ghost.surface.active"
8317
+ bg: "surface.ghost.active"
8272
8318
  },
8273
8319
  _disabled: {
8274
8320
  pointerEvents: "none",
@@ -8276,13 +8322,13 @@ var comboboxSlotRecipe = defineSlotRecipe({
8276
8322
  color: "text.disabled"
8277
8323
  },
8278
8324
  _hover: {
8279
- bg: "ghost.surface.hover"
8325
+ bg: "surface.ghost.hover"
8280
8326
  },
8281
8327
  _pressed: {
8282
- bg: "ghost.surface.active"
8328
+ bg: "surface.ghost.active"
8283
8329
  },
8284
8330
  _focus: {
8285
- bg: "ghost.surface.active"
8331
+ bg: "surface.ghost.active"
8286
8332
  }
8287
8333
  },
8288
8334
  empty: {
@@ -8301,7 +8347,7 @@ var comboboxSlotRecipe = defineSlotRecipe({
8301
8347
  itemGroupLabel: {
8302
8348
  px: "3",
8303
8349
  py: "0.5",
8304
- color: "floating.text",
8350
+ color: "text.floating",
8305
8351
  fontFeatureSettings: "liga off",
8306
8352
  fontSize: ["mobile.sm, desktop.sm"],
8307
8353
  fontWeight: "bold"
@@ -8337,11 +8383,11 @@ var breadcrumbSlotRecipe = defineSlotRecipe({
8337
8383
  core: {
8338
8384
  link: {
8339
8385
  _hover: {
8340
- outlineColor: "core.outline.hover",
8386
+ outlineColor: "outline.core.hover",
8341
8387
  outlineWidth: tokens22__default.size.stroke.md,
8342
8388
  outlineStyle: "solid",
8343
8389
  _active: {
8344
- backgroundColor: "core.surface.active",
8390
+ backgroundColor: "surface.core.active",
8345
8391
  outline: "none"
8346
8392
  }
8347
8393
  }
@@ -8350,9 +8396,9 @@ var breadcrumbSlotRecipe = defineSlotRecipe({
8350
8396
  ghost: {
8351
8397
  link: {
8352
8398
  _hover: {
8353
- backgroundColor: "ghost.surface.hover",
8399
+ backgroundColor: "surface.ghost.hover",
8354
8400
  _active: {
8355
- backgroundColor: "ghost.surface.active"
8401
+ backgroundColor: "surface.ghost.active"
8356
8402
  }
8357
8403
  }
8358
8404
  }
@@ -8374,10 +8420,10 @@ var checkboxSlotRecipe = defineSlotRecipe({
8374
8420
  gap: 1.5,
8375
8421
  _hover: {
8376
8422
  "& > input:enabled:not([aria-invalid]) + .spor-checkbox__control": {
8377
- borderColor: "core.outline.hover"
8423
+ borderColor: "outline.core.hover"
8378
8424
  },
8379
8425
  "& > input:enabled:checked:not([aria-invalid]) + .spor-checkbox__control": {
8380
- background: "brand.surface.hover"
8426
+ background: "surface.brand.hover"
8381
8427
  }
8382
8428
  }
8383
8429
  },
@@ -8399,19 +8445,14 @@ var checkboxSlotRecipe = defineSlotRecipe({
8399
8445
  transitionProperty: "background, border-color",
8400
8446
  transitionDuration: "moderate",
8401
8447
  border: "2px solid",
8402
- borderColor: "core.outline",
8448
+ borderColor: "outline.core",
8403
8449
  borderRadius: "xs",
8404
8450
  _checked: {
8405
- color: "brand.icon",
8406
- borderColor: "brand.surface",
8407
- background: "brand.surface",
8451
+ color: "icon.brand",
8452
+ borderColor: "surface.brand",
8453
+ background: "surface.brand",
8408
8454
  _focus: {
8409
- borderColor: "brand.surface.active"
8410
- },
8411
- _disabled: {
8412
- background: "surface.disabled",
8413
- color: "text.disabled",
8414
- borderColor: "currentColor"
8455
+ borderColor: "surface.brand.active"
8415
8456
  },
8416
8457
  _invalid: {
8417
8458
  backgroundColor: "outline.error",
@@ -8419,8 +8460,9 @@ var checkboxSlotRecipe = defineSlotRecipe({
8419
8460
  }
8420
8461
  },
8421
8462
  _disabled: {
8422
- // borderColor: coreText("disabled").color,
8423
- borderColor: "text.disabled"
8463
+ background: "surface.disabled",
8464
+ borderColor: "outline.disabled",
8465
+ color: "text.disabled"
8424
8466
  },
8425
8467
  _invalid: {
8426
8468
  borderColor: "outline.error"
@@ -8430,7 +8472,7 @@ var checkboxSlotRecipe = defineSlotRecipe({
8430
8472
  outlineColor: "outline.focus",
8431
8473
  outlineOffset: tokens22__default.size.stroke.md,
8432
8474
  outlineWidth: tokens22__default.size.stroke.md,
8433
- borderColor: "core.outline",
8475
+ borderColor: "outline.core",
8434
8476
  borderWidth: tokens22__default.size.stroke.md
8435
8477
  }
8436
8478
  },
@@ -8454,16 +8496,16 @@ var choiceChipSlotRecipe = defineSlotRecipe({
8454
8496
  paddingInlineStart: "2",
8455
8497
  paddingInlineEnd: "2",
8456
8498
  outline: "1px solid",
8457
- outlineColor: "core.outline",
8499
+ outlineColor: "outline.core",
8458
8500
  _checked: {
8459
- backgroundColor: "brand.surface",
8501
+ backgroundColor: "surface.brand",
8460
8502
  borderRadius: "sm",
8461
8503
  outline: "none",
8462
- color: "brand.text",
8504
+ color: "text.brand",
8463
8505
  _hover: {
8464
- backgroundColor: "brand.surface.hover",
8506
+ backgroundColor: "surface.brand.hover",
8465
8507
  _active: {
8466
- backgroundColor: "brand.surface.active"
8508
+ backgroundColor: "surface.brand.active"
8467
8509
  }
8468
8510
  }
8469
8511
  },
@@ -8560,47 +8602,47 @@ var choiceChipSlotRecipe = defineSlotRecipe({
8560
8602
  variant: {
8561
8603
  core: {
8562
8604
  root: {
8563
- color: "core.text",
8564
- outlineColor: "core.outline",
8605
+ color: "text.core",
8606
+ outlineColor: "outline.core",
8565
8607
  _hover: {
8566
8608
  outline: "2px solid",
8567
- outlineColor: "core.outline.hover",
8609
+ outlineColor: "outline.core.hover",
8568
8610
  _active: {
8569
8611
  outline: "1px solid",
8570
- outlineColor: "core.outline",
8571
- backgroundColor: "core.surface.active"
8612
+ outlineColor: "outline.core",
8613
+ backgroundColor: "surface.core.active"
8572
8614
  }
8573
8615
  }
8574
8616
  }
8575
8617
  },
8576
8618
  accent: {
8577
8619
  root: {
8578
- backgroundColor: "accent.surface",
8579
- color: "accent.text",
8620
+ backgroundColor: "surface.accent",
8621
+ color: "text.accent",
8580
8622
  outline: "none",
8581
8623
  _hover: {
8582
- backgroundColor: "accent.surface.hover",
8624
+ backgroundColor: "surface.accent.hover",
8583
8625
  _active: {
8584
- backgroundColor: "accent.surface.active"
8626
+ backgroundColor: "surface.accent.active"
8585
8627
  }
8586
8628
  }
8587
8629
  }
8588
8630
  },
8589
8631
  floating: {
8590
8632
  root: {
8591
- backgroundColor: "floating.surface",
8633
+ backgroundColor: "surface.floating",
8592
8634
  outline: "1px solid",
8593
- outlineColor: "floating.outline",
8594
- color: "floating.text",
8635
+ outlineColor: "outline.floating",
8636
+ color: "text.floating",
8595
8637
  boxShadow: "sm",
8596
8638
  _hover: {
8597
- backgroundColor: "floating.surface.hover",
8639
+ backgroundColor: "surface.floating.hover",
8598
8640
  outline: "1px solid",
8599
- outlineColor: "floating.outline.hover",
8641
+ outlineColor: "outline.floating.hover",
8600
8642
  _active: {
8601
- backgroundColor: "floating.surface.active",
8643
+ backgroundColor: "surface.floating.active",
8602
8644
  outline: "1px solid",
8603
- outlineColor: "floating.outline"
8645
+ outlineColor: "outline.floating"
8604
8646
  }
8605
8647
  }
8606
8648
  }
@@ -8678,7 +8720,7 @@ var datePickerSlotRecipe = defineSlotRecipe({
8678
8720
  },
8679
8721
  dateTimeSegment: {
8680
8722
  _focus: {
8681
- backgroundColor: "ghost.surface.active",
8723
+ backgroundColor: "surface.ghost.active",
8682
8724
  color: "text"
8683
8725
  }
8684
8726
  },
@@ -8694,10 +8736,10 @@ var datePickerSlotRecipe = defineSlotRecipe({
8694
8736
  transitionProperty: "box-shadow, background-color",
8695
8737
  right: "0.5rem",
8696
8738
  _hover: {
8697
- backgroundColor: "ghost.surface.hover"
8739
+ backgroundColor: "surface.ghost.hover"
8698
8740
  },
8699
8741
  _active: {
8700
- backgroundColor: "ghost.surface.active"
8742
+ backgroundColor: "surface.ghost.active"
8701
8743
  },
8702
8744
  _invalid: {
8703
8745
  outline: "2px solid",
@@ -8708,11 +8750,11 @@ var datePickerSlotRecipe = defineSlotRecipe({
8708
8750
  backgroundColor: "surface"
8709
8751
  },
8710
8752
  calendarPopover: {
8711
- color: "core.text",
8753
+ color: "text.core",
8712
8754
  outline: "1px solid",
8713
- outlineColor: "floating.outline",
8755
+ outlineColor: "outline.floating",
8714
8756
  boxShadow: "md",
8715
- backgroundColor: "floating.surface",
8757
+ backgroundColor: "surface.floating",
8716
8758
  minHeight: "min-content"
8717
8759
  },
8718
8760
  rangeCalendarPopover: {
@@ -8720,11 +8762,11 @@ var datePickerSlotRecipe = defineSlotRecipe({
8720
8762
  maxWidth: "100vw"
8721
8763
  },
8722
8764
  weekdays: {
8723
- color: "core.text",
8765
+ color: "text.core",
8724
8766
  fontWeight: "bold"
8725
8767
  },
8726
8768
  weekend: {
8727
- color: "accent.text",
8769
+ color: "text.accent",
8728
8770
  fontWeight: "bold"
8729
8771
  },
8730
8772
  cell: {
@@ -8738,12 +8780,12 @@ var datePickerSlotRecipe = defineSlotRecipe({
8738
8780
  top: 0,
8739
8781
  bottom: 0,
8740
8782
  zIndex: -1,
8741
- backgroundColor: "brand.surface"
8783
+ backgroundColor: "surface.brand"
8742
8784
  }
8743
8785
  }
8744
8786
  },
8745
8787
  dateCell: {
8746
- color: "core.text",
8788
+ color: "text.core",
8747
8789
  borderRadius: "xl",
8748
8790
  position: "relative",
8749
8791
  transition: ".1s ease-in-out",
@@ -8752,10 +8794,10 @@ var datePickerSlotRecipe = defineSlotRecipe({
8752
8794
  height: [6, 7],
8753
8795
  transitionProperty: "common",
8754
8796
  _hover: {
8755
- backgroundColor: "ghost.surface.hover"
8797
+ backgroundColor: "surface.ghost.hover"
8756
8798
  },
8757
8799
  _active: {
8758
- backgroundColor: "ghost.surface.active"
8800
+ backgroundColor: "surface.ghost.active"
8759
8801
  },
8760
8802
  _disabled: {
8761
8803
  backgroundColor: "surface.disabled",
@@ -8763,16 +8805,16 @@ var datePickerSlotRecipe = defineSlotRecipe({
8763
8805
  pointerEvents: "none"
8764
8806
  },
8765
8807
  _selected: {
8766
- backgroundColor: "brand.surface",
8767
- color: "brand.text",
8808
+ backgroundColor: "surface.brand",
8809
+ color: "text.brand",
8768
8810
  _active: {
8769
- backgroundColor: "brand.surface.active",
8770
- color: "brand.text"
8811
+ backgroundColor: "surface.brand.active",
8812
+ color: "text.brand"
8771
8813
  }
8772
8814
  },
8773
8815
  "&[data-today]": {
8774
8816
  outline: "1px solid",
8775
- outlineColor: "core.outline"
8817
+ outlineColor: "outline.core"
8776
8818
  },
8777
8819
  "&[data-unavailable]": {
8778
8820
  pointerEvents: "none",
@@ -8787,14 +8829,14 @@ var datePickerSlotRecipe = defineSlotRecipe({
8787
8829
  core: {
8788
8830
  wrapper: {
8789
8831
  outline: "1px solid",
8790
- outlineColor: "core.outline",
8832
+ outlineColor: "outline.core",
8791
8833
  _hover: {
8792
8834
  outline: "2px solid",
8793
- outlineColor: "core.outline.hover",
8835
+ outlineColor: "outline.core.hover",
8794
8836
  _active: {
8795
- backgroundColor: "ghost.surface.active",
8837
+ backgroundColor: "surface.ghost.active",
8796
8838
  outline: "1px solid",
8797
- outlineColor: "core.outline"
8839
+ outlineColor: "outline.core"
8798
8840
  },
8799
8841
  "&[data-active]": {
8800
8842
  outline: "2px solid",
@@ -8812,17 +8854,17 @@ var datePickerSlotRecipe = defineSlotRecipe({
8812
8854
  },
8813
8855
  floating: {
8814
8856
  wrapper: {
8815
- bg: "floating.surface",
8857
+ bg: "surface.floating",
8816
8858
  outline: "1px solid",
8817
- outlineColor: "floating.outline",
8859
+ outlineColor: "outline.floating",
8818
8860
  boxShadow: "sm",
8819
8861
  _hover: {
8820
8862
  outline: "1px solid",
8821
- outlineColor: "floating.outline.hover",
8863
+ outlineColor: "outline.floating.hover",
8822
8864
  _active: {
8823
- backgroundColor: "ghost.surface.active",
8865
+ backgroundColor: "surface.ghost.active",
8824
8866
  outline: "1px solid",
8825
- outlineColor: "core.outline"
8867
+ outlineColor: "outline.core"
8826
8868
  },
8827
8869
  "&[data-active]": {
8828
8870
  outline: "2px solid",
@@ -8842,11 +8884,11 @@ var datePickerSlotRecipe = defineSlotRecipe({
8842
8884
  wrapper: {
8843
8885
  _hover: {
8844
8886
  outline: "2px solid",
8845
- outlineColor: "core.outline.hover",
8887
+ outlineColor: "outline.core.hover",
8846
8888
  _active: {
8847
- backgroundColor: "ghost.surface.active",
8889
+ backgroundColor: "surface.ghost.active",
8848
8890
  outline: "1px solid",
8849
- outlineColor: "core.outline"
8891
+ outlineColor: "outline.core"
8850
8892
  },
8851
8893
  "&[data-active]": {
8852
8894
  outline: "2px solid",
@@ -9306,13 +9348,13 @@ var fieldSlotRecipe = defineSlotRecipe({
9306
9348
  },
9307
9349
  helperText: {
9308
9350
  marginTop: 2,
9309
- color: "text.tertiary",
9351
+ color: "text.subtle",
9310
9352
  lineHeight: "normal",
9311
9353
  fontSize: "sm"
9312
9354
  },
9313
9355
  errorText: {
9314
9356
  borderRadius: "xs",
9315
- backgroundColor: "alert.error.surface",
9357
+ backgroundColor: "surface.critical",
9316
9358
  color: "text",
9317
9359
  paddingX: 1.5,
9318
9360
  paddingY: 1,
@@ -9330,7 +9372,7 @@ var fieldSlotRecipe = defineSlotRecipe({
9330
9372
  left: "1em",
9331
9373
  width: "0.5rem",
9332
9374
  height: "0.5rem",
9333
- backgroundColor: "alert.error.surface",
9375
+ backgroundColor: "surface.critical",
9334
9376
  transform: "translateY(-50%) rotate(45deg)",
9335
9377
  pointerEvents: "none"
9336
9378
  }
@@ -9391,12 +9433,12 @@ var floatingActionButtonSlotRecipe = defineSlotRecipe({
9391
9433
  variant: {
9392
9434
  brand: {
9393
9435
  root: {
9394
- backgroundColor: "brand.surface",
9395
- color: "brand.text",
9436
+ backgroundColor: "surface.brand",
9437
+ color: "text.brand",
9396
9438
  _hover: {
9397
- backgroundColor: "brand.surface.hover",
9439
+ backgroundColor: "surface.brand.hover",
9398
9440
  _active: {
9399
- backgroundColor: "brand.surface.active"
9441
+ backgroundColor: "surface.brand.active"
9400
9442
  }
9401
9443
  }
9402
9444
  }
@@ -9405,29 +9447,29 @@ var floatingActionButtonSlotRecipe = defineSlotRecipe({
9405
9447
  root: {
9406
9448
  backgroundColor: "transparent",
9407
9449
  outline: "1px solid",
9408
- outlineColor: "core.outline",
9409
- color: "core.text",
9450
+ outlineColor: "outline.core",
9451
+ color: "text.core",
9410
9452
  _hover: {
9411
9453
  backgroundColor: "transparent",
9412
9454
  outline: "2px solid",
9413
- outlineColor: "core.outline",
9455
+ outlineColor: "outline.core",
9414
9456
  _active: {
9415
9457
  outline: "1px solid",
9416
- outlineColor: "core.outline",
9417
- backgroundColor: "core.surface.active"
9458
+ outlineColor: "outline.core",
9459
+ backgroundColor: "surface.core.active"
9418
9460
  }
9419
9461
  }
9420
9462
  }
9421
9463
  },
9422
9464
  accent: {
9423
9465
  root: {
9424
- backgroundColor: "accent.surface",
9425
- color: "accent.text",
9466
+ backgroundColor: "surface.accent",
9467
+ color: "text.accent",
9426
9468
  _hover: {
9427
- backgroundColor: "accent.surface.hover",
9428
- color: "accent.text",
9469
+ backgroundColor: "surface.accent.hover",
9470
+ color: "text.accent",
9429
9471
  _active: {
9430
- backgroundColor: "accent.surface.active"
9472
+ backgroundColor: "surface.accent.active"
9431
9473
  }
9432
9474
  }
9433
9475
  }
@@ -9719,6 +9761,120 @@ var infoTagSlotRecipe = defineSlotRecipe({
9719
9761
  size: "md"
9720
9762
  }
9721
9763
  });
9764
+ var inputChipSlotRecipe = defineSlotRecipe({
9765
+ slots: tagAnatomy.keys(),
9766
+ className: "chakra-tag",
9767
+ base: {
9768
+ root: {
9769
+ display: "flex",
9770
+ direction: "row",
9771
+ width: "fit-content",
9772
+ height: "fit-content",
9773
+ alignItems: "center",
9774
+ justifyContent: "center",
9775
+ gap: "1",
9776
+ outline: "none",
9777
+ "&:focus": {
9778
+ outline: "2px solid",
9779
+ outlineColor: "outline.focus"
9780
+ }
9781
+ }
9782
+ },
9783
+ variants: {
9784
+ variant: {
9785
+ core: {
9786
+ root: {
9787
+ backgroundColor: "surface",
9788
+ border: "1px solid",
9789
+ borderColor: "outline",
9790
+ "&:hover": {
9791
+ outline: "2px solid",
9792
+ outlineColor: "outline.core.hover"
9793
+ },
9794
+ "&:active": {
9795
+ outline: "none",
9796
+ backgroundColor: "surface.core.active"
9797
+ }
9798
+ }
9799
+ },
9800
+ accent: {
9801
+ root: {
9802
+ backgroundColor: "surface.accent",
9803
+ color: "text.highlight",
9804
+ "& svg": {
9805
+ color: "icon.highlight"
9806
+ },
9807
+ "&:hover": {
9808
+ backgroundColor: "surface.accent.hover"
9809
+ },
9810
+ "&:active": {
9811
+ backgroundColor: "surface.accent.active",
9812
+ outline: "none"
9813
+ }
9814
+ }
9815
+ },
9816
+ brand: {
9817
+ root: {
9818
+ backgroundColor: "surface.brand",
9819
+ color: "text.brand",
9820
+ "& svg": {
9821
+ color: "icon.brand"
9822
+ },
9823
+ "&:hover": {
9824
+ backgroundColor: "surface.brand.hover"
9825
+ },
9826
+ "&:active": {
9827
+ backgroundColor: "surface.brand.active",
9828
+ outline: "none"
9829
+ }
9830
+ }
9831
+ }
9832
+ },
9833
+ size: {
9834
+ xs: {
9835
+ root: {
9836
+ fontSize: "desktop.xs",
9837
+ paddingX: "1.5",
9838
+ paddingY: "0",
9839
+ fontWeight: "normal",
9840
+ borderRadius: "xs"
9841
+ }
9842
+ },
9843
+ sm: {
9844
+ root: {
9845
+ fontSize: "desktop.sm",
9846
+ paddingX: "2",
9847
+ paddingY: "0.5",
9848
+ fontWeight: "bold",
9849
+ borderRadius: "9px"
9850
+ }
9851
+ },
9852
+ md: {
9853
+ root: {
9854
+ padding: 5,
9855
+ fontSize: "desktop.md",
9856
+ paddingX: "2",
9857
+ paddingY: "1",
9858
+ fontWeight: "bold",
9859
+ borderRadius: "sm"
9860
+ }
9861
+ },
9862
+ lg: {
9863
+ root: {
9864
+ fontSize: "desktop.md",
9865
+ paddingX: "2",
9866
+ paddingY: "3",
9867
+ fontWeight: "bold",
9868
+ borderRadius: "md"
9869
+ }
9870
+ }
9871
+ }
9872
+ },
9873
+ defaultVariants: {
9874
+ variant: "core",
9875
+ size: "sm"
9876
+ }
9877
+ });
9722
9878
  var lineIconSlotRecipe = defineSlotRecipe({
9723
9879
  slots: linjetagAnatomy.keys(),
9724
9880
  className: "spor-line-icon",
@@ -9895,18 +10051,18 @@ var listBoxSlotRecipe = defineSlotRecipe({
9895
10051
  marginY: 1,
9896
10052
  marginX: 1,
9897
10053
  borderRadius: "sm",
9898
- color: "ghost.text",
10054
+ color: "text.ghost",
9899
10055
  cursor: "pointer",
9900
10056
  listStyle: "none",
9901
10057
  _active: {
9902
- backgroundColor: "ghost.surface.active"
10058
+ backgroundColor: "surface.ghost.active"
9903
10059
  },
9904
10060
  _hover: {
9905
- backgroundColor: "accent.surface",
9906
- color: "accent.text"
10061
+ backgroundColor: "surface.accent",
10062
+ color: "text.accent"
9907
10063
  },
9908
10064
  _selected: {
9909
- backgroundColor: "ghost.surface.active"
10065
+ backgroundColor: "surface.ghost.active"
9910
10066
  },
9911
10067
  _focus: {
9912
10068
  outline: "2px solid",
@@ -9916,9 +10072,9 @@ var listBoxSlotRecipe = defineSlotRecipe({
9916
10072
  label: {},
9917
10073
  description: {
9918
10074
  fontSize: ["mobile.xs", "desktop.xs"],
9919
- color: "ghost.text",
10075
+ color: "text.ghost",
9920
10076
  "[aria-selected='true'] &": {
9921
- color: "ghost.text"
10077
+ color: "text.ghost"
9922
10078
  }
9923
10079
  }
9924
10080
  },
@@ -9927,13 +10083,13 @@ var listBoxSlotRecipe = defineSlotRecipe({
9927
10083
  core: {
9928
10084
  root: {
9929
10085
  outline: "1px solid",
9930
- outlineColor: "core.outline"
10086
+ outlineColor: "outline.core"
9931
10087
  }
9932
10088
  },
9933
10089
  floating: {
9934
10090
  root: {
9935
10091
  outline: "1px solid",
9936
- outlineColor: "floating.outline"
10092
+ outlineColor: "outline.floating"
9937
10093
  }
9938
10094
  }
9939
10095
  }
@@ -9958,7 +10114,7 @@ var mediaControllerSlotRecipe = defineSlotRecipe({
9958
10114
  display: "flex",
9959
10115
  padding: 1,
9960
10116
  alignSelf: "center",
9961
- color: "brand.surface",
10117
+ color: "surface.brand",
9962
10118
  outlineOffset: "2px"
9963
10119
  },
9964
10120
  icon: {
@@ -9971,14 +10127,14 @@ var mediaControllerSlotRecipe = defineSlotRecipe({
9971
10127
  play: {
9972
10128
  root: {
9973
10129
  padding: 0,
9974
- color: "brand.text",
9975
- backgroundColor: "brand.surface",
10130
+ color: "text.brand",
10131
+ backgroundColor: "surface.brand",
9976
10132
  _hover: {
9977
- color: "brand.text",
9978
- backgroundColor: "brand.surface.hover",
10133
+ color: "text.brand",
10134
+ backgroundColor: "surface.brand.hover",
9979
10135
  _active: {
9980
- color: "brand.text",
9981
- backgroundColor: "brand.surface.active"
10136
+ color: "text.brand",
10137
+ backgroundColor: "surface.brand.active"
9982
10138
  }
9983
10139
  },
9984
10140
  _disabled: {
@@ -9991,9 +10147,9 @@ var mediaControllerSlotRecipe = defineSlotRecipe({
9991
10147
  jumpSkip: {
9992
10148
  root: {
9993
10149
  _hover: {
9994
- backgroundColor: "ghost.surface.hover",
10150
+ backgroundColor: "surface.ghost.hover",
9995
10151
  _active: {
9996
- backgroundColor: "ghost.surface.active"
10152
+ backgroundColor: "surface.ghost.active"
9997
10153
  }
9998
10154
  },
9999
10155
  _disabled: {
@@ -10103,16 +10259,16 @@ var menuSlotRecipe = defineSlotRecipe({
10103
10259
  justifyContent: "space-between",
10104
10260
  gap: 1.5,
10105
10261
  _hover: {
10106
- backgroundColor: "accent.surface.hover"
10262
+ backgroundColor: "surface.accent.hover"
10107
10263
  },
10108
10264
  "&:active": {
10109
- backgroundColor: "accent.surface.active"
10265
+ backgroundColor: "surface.accent.active"
10110
10266
  },
10111
10267
  _checked: {
10112
- backgroundColor: "accent.surface"
10268
+ backgroundColor: "surface.accent"
10113
10269
  },
10114
10270
  _highlighted: {
10115
- backgroundColor: "ghost.surface.hover"
10271
+ backgroundColor: "surface.ghost.hover"
10116
10272
  }
10117
10273
  },
10118
10274
  itemGroupLabel: {
@@ -10149,19 +10305,19 @@ var menuSlotRecipe = defineSlotRecipe({
10149
10305
  core: {
10150
10306
  content: {
10151
10307
  border: "1px solid",
10152
- borderColor: "core.outline"
10308
+ borderColor: "outline.core"
10153
10309
  }
10154
10310
  },
10155
10311
  accent: {
10156
10312
  content: {
10157
10313
  border: "1px solid",
10158
- borderColor: "core.outline"
10314
+ borderColor: "outline.core"
10159
10315
  }
10160
10316
  },
10161
10317
  floating: {
10162
10318
  content: {
10163
10319
  border: "sm",
10164
- borderColor: "floating.outline",
10320
+ borderColor: "outline.floating",
10165
10321
  boxShadow: "lg"
10166
10322
  }
10167
10323
  }
@@ -10249,7 +10405,7 @@ var numericStepperRecipe = defineSlotRecipe({
10249
10405
  textAlign: "center",
10250
10406
  transitionProperty: "common",
10251
10407
  transitionDuration: "fast",
10252
- color: "core.text",
10408
+ color: "text.core",
10253
10409
  backgroundColor: "transparent",
10254
10410
  _focus: {
10255
10411
  backgroundColor: "surface",
@@ -10257,7 +10413,7 @@ var numericStepperRecipe = defineSlotRecipe({
10257
10413
  outlineColor: "outline.focus"
10258
10414
  },
10259
10415
  _active: {
10260
- backgroundColor: "accent.surface.active"
10416
+ backgroundColor: "surface.accent.active"
10261
10417
  },
10262
10418
  _disabled: {
10263
10419
  pointerEvents: "none",
@@ -10265,7 +10421,7 @@ var numericStepperRecipe = defineSlotRecipe({
10265
10421
  },
10266
10422
  _hover: {
10267
10423
  outline: "1px solid",
10268
- outlineColor: "core.outline"
10424
+ outlineColor: "outline.core"
10269
10425
  }
10270
10426
  },
10271
10427
  text: {
@@ -10275,7 +10431,7 @@ var numericStepperRecipe = defineSlotRecipe({
10275
10431
  paddingX: 1,
10276
10432
  textAlign: "center",
10277
10433
  width: "4ch",
10278
- color: "core.text"
10434
+ color: "text.core"
10279
10435
  },
10280
10436
  button: {
10281
10437
  outlineOffset: "-2px",
@@ -10309,18 +10465,18 @@ var paginationSlotRecipe = defineSlotRecipe({
10309
10465
  width: "5",
10310
10466
  fontSize: "xs",
10311
10467
  borderRadius: "xl",
10312
- color: "core.text",
10468
+ color: "text.core",
10313
10469
  cursor: "pointer",
10314
10470
  _hover: {
10315
- background: "ghost.surface.hover",
10471
+ background: "surface.ghost.hover",
10316
10472
  _active: {
10317
- background: "ghost.surface.active"
10473
+ background: "surface.ghost.active"
10318
10474
  }
10319
10475
  },
10320
10476
  _selected: {
10321
10477
  cursor: "default",
10322
10478
  fontWeight: "bold",
10323
- backgroundColor: "core.surface.active"
10479
+ backgroundColor: "surface.core.active"
10324
10480
  }
10325
10481
  },
10326
10482
  list: {
@@ -10340,11 +10496,11 @@ var popoverSlotRecipe = defineSlotRecipe({
10340
10496
  position: "relative",
10341
10497
  display: "flex",
10342
10498
  flexDirection: "row-reverse",
10343
- color: "text.inverted",
10499
+ color: "text.brand",
10344
10500
  gap: "0.625rem",
10345
10501
  padding: "0.563rem 0.75rem",
10346
10502
  textStyle: "sm",
10347
- bg: "surface.tertiary",
10503
+ bg: "surface.brand",
10348
10504
  boxShadow: "lg",
10349
10505
  borderRadius: "sm",
10350
10506
  zIndex: "popover",
@@ -10361,14 +10517,14 @@ var popoverSlotRecipe = defineSlotRecipe({
10361
10517
  }
10362
10518
  },
10363
10519
  body: {
10364
- color: "text.inverted",
10520
+ color: "text.brand",
10365
10521
  alignItems: "center",
10366
10522
  borderRadius: "sm",
10367
10523
  zIndex: "inherit",
10368
10524
  maxWidth: "20em"
10369
10525
  },
10370
10526
  arrow: {
10371
- "--arrow-background": "colors.surface.tertiary",
10527
+ "--arrow-background": "colors.surface.brand",
10372
10528
  "--arrow-size": "6px"
10373
10529
  }
10374
10530
  },
@@ -10412,7 +10568,7 @@ var progressBarRecipe = defineSlotRecipe({
10412
10568
  },
10413
10569
  background: {
10414
10570
  display: "flex",
10415
- backgroundColor: "accent.surface.hover",
10571
+ backgroundColor: "surface.accent.hover",
10416
10572
  borderRadius: "sm",
10417
10573
  boxPack: "start",
10418
10574
  justifyContent: "flex-start",
@@ -10423,7 +10579,7 @@ var progressBarRecipe = defineSlotRecipe({
10423
10579
  borderRadius: "sm"
10424
10580
  },
10425
10581
  progress: {
10426
- backgroundColor: "brand.surface.active",
10582
+ backgroundColor: "surface.brand.active",
10427
10583
  borderRadius: "sm",
10428
10584
  maxWidth: "100%",
10429
10585
  transition: "width .2s ease-out"
@@ -10453,7 +10609,7 @@ var progressIndicatorRecipe = defineSlotRecipe({
10453
10609
  width: 1,
10454
10610
  fill: "icon.disabled",
10455
10611
  "&[aria-current='step']": {
10456
- fill: "brand.surface"
10612
+ fill: "surface.brand"
10457
10613
  }
10458
10614
  }
10459
10615
  }
@@ -10493,17 +10649,17 @@ var radioGroupSlotRecipe = defineSlotRecipe({
10493
10649
  justifyContent: "center",
10494
10650
  verticalAlign: "top",
10495
10651
  borderWidth: "2px",
10496
- borderColor: "core.outline",
10652
+ borderColor: "outline.core",
10497
10653
  borderRadius: "xl",
10498
10654
  width: 4,
10499
10655
  height: 4,
10500
10656
  _checked: {
10501
- borderColor: "brand.surface"
10657
+ borderColor: "surface.brand"
10502
10658
  },
10503
10659
  _hover: {
10504
- borderColor: "brand.surface.hover",
10660
+ borderColor: "surface.brand.hover",
10505
10661
  "& .dot": {
10506
- backgroundColor: "brand.surface.hover"
10662
+ backgroundColor: "surface.brand.hover"
10507
10663
  }
10508
10664
  },
10509
10665
  _disabled: {
@@ -10524,7 +10680,7 @@ var radioGroupSlotRecipe = defineSlotRecipe({
10524
10680
  height: "full",
10525
10681
  width: "full",
10526
10682
  borderRadius: "xl",
10527
- backgroundColor: "brand.surface",
10683
+ backgroundColor: "surface.brand",
10528
10684
  scale: "0.5"
10529
10685
  }
10530
10686
  }
@@ -10576,15 +10732,15 @@ var radioCardSlotRecipe = defineSlotRecipe({
10576
10732
  variant: {
10577
10733
  core: {
10578
10734
  item: {
10579
- outlineColor: "core.outline",
10735
+ outlineColor: "outline.core",
10580
10736
  outlineWidth: tokens22__default.size.stroke.sm,
10581
10737
  outlineStyle: "solid",
10582
10738
  _hover: {
10583
- outlineColor: "core.outline.hover",
10739
+ outlineColor: "outline.core.hover",
10584
10740
  outlineWidth: tokens22__default.size.stroke.md,
10585
10741
  outlineStyle: "solid",
10586
10742
  _active: {
10587
- backgroundColor: "core.surface.active",
10743
+ backgroundColor: "surface.core.active",
10588
10744
  outlineWidth: tokens22__default.size.stroke.sm
10589
10745
  }
10590
10746
  },
@@ -10592,7 +10748,7 @@ var radioCardSlotRecipe = defineSlotRecipe({
10592
10748
  outlineColor: "outline.focus",
10593
10749
  outlineWidth: tokens22__default.size.stroke.md,
10594
10750
  outlineStyle: "solid",
10595
- backgroundColor: "core.surface.active",
10751
+ backgroundColor: "surface.core.active",
10596
10752
  _focusVisible: {
10597
10753
  outlineStyle: "double",
10598
10754
  outlineWidth: `calc(3 * ${tokens22__default.size.stroke.md})`
@@ -10606,15 +10762,15 @@ var radioCardSlotRecipe = defineSlotRecipe({
10606
10762
  boxShadow: "0px 1px 3px 0px var(--shadow-color)",
10607
10763
  shadowColor: "surface.disabled",
10608
10764
  border: "sm",
10609
- borderColor: "floating.outline",
10610
- background: "floating.surface",
10765
+ borderColor: "outline.floating",
10766
+ background: "surface.floating",
10611
10767
  _hover: {
10612
- background: "floating.surface.hover",
10613
- borderColor: "floating.outline.hover",
10768
+ background: "surface.floating.hover",
10769
+ borderColor: "outline.floating.hover",
10614
10770
  boxShadow: "0px 2px 6px 0px var(--shadow-color)",
10615
10771
  _active: {
10616
- background: "floating.surface.active",
10617
- borderColor: "floating.outline.active",
10772
+ background: "surface.floating.active",
10773
+ borderColor: "outline.neutral",
10618
10774
  boxShadow: "none"
10619
10775
  }
10620
10776
  },
@@ -10622,7 +10778,7 @@ var radioCardSlotRecipe = defineSlotRecipe({
10622
10778
  outlineColor: "outline.focus",
10623
10779
  outlineWidth: tokens22__default.size.stroke.md,
10624
10780
  outlineStyle: "solid",
10625
- backgroundColor: "core.surface.active",
10781
+ backgroundColor: "surface.core.active",
10626
10782
  _focusVisible: {
10627
10783
  outlineStyle: "double",
10628
10784
  outlineWidth: `calc(3 * ${tokens22__default.size.stroke.md})`
@@ -10702,7 +10858,7 @@ var selectSlotRecipe = defineSlotRecipe({
10702
10858
  color: {
10703
10859
  base: "text",
10704
10860
  _disabled: "text.disabled",
10705
- _invalid: "text.secondary"
10861
+ _invalid: "text.highlight"
10706
10862
  },
10707
10863
  _icon: {
10708
10864
  width: 3,
@@ -10739,14 +10895,14 @@ var selectSlotRecipe = defineSlotRecipe({
10739
10895
  justifyContent: "space-between",
10740
10896
  gap: 1,
10741
10897
  borderRadius: "sm",
10742
- color: "ghost.text",
10898
+ color: "text.ghost",
10743
10899
  cursor: "pointer",
10744
10900
  outline: "none",
10745
10901
  "&[data-highlighted]:hover": {
10746
10902
  outlineOffset: "2px",
10747
10903
  outline: "2px solid",
10748
10904
  outlineColor: "outline.focus",
10749
- backgroundColor: "ghost.surface.hover"
10905
+ backgroundColor: "surface.accent.hover"
10750
10906
  },
10751
10907
  "&[data-highlighted]": {
10752
10908
  outlineOffset: "2px",
@@ -10754,7 +10910,7 @@ var selectSlotRecipe = defineSlotRecipe({
10754
10910
  outlineColor: "outline.focus"
10755
10911
  },
10756
10912
  _active: {
10757
- backgroundColor: "ghost.surface.active"
10913
+ backgroundColor: "surface.accent.active"
10758
10914
  },
10759
10915
  _highlighted: {
10760
10916
  _active: {
@@ -10762,12 +10918,12 @@ var selectSlotRecipe = defineSlotRecipe({
10762
10918
  }
10763
10919
  },
10764
10920
  _hover: {
10765
- backgroundColor: "ghost.surface.hover",
10921
+ backgroundColor: "surface.accent.hover",
10766
10922
  outline: "2px solid core.outline",
10767
10923
  outlineOffset: "2px"
10768
10924
  },
10769
10925
  _selected: {
10770
- backgroundColor: "ghost.surface.active"
10926
+ backgroundColor: "surface.accent"
10771
10927
  },
10772
10928
  _icon: {
10773
10929
  width: 3,
@@ -10802,9 +10958,9 @@ var selectSlotRecipe = defineSlotRecipe({
10802
10958
  valueText: {},
10803
10959
  itemDescription: {
10804
10960
  fontSize: ["mobile.xs", "desktop.xs"],
10805
- color: "ghost.text",
10961
+ color: "text.ghost",
10806
10962
  "[aria-selected='true'] &": {
10807
- color: "ghost.text"
10963
+ color: "text.ghost"
10808
10964
  }
10809
10965
  }
10810
10966
  },
@@ -10813,13 +10969,13 @@ var selectSlotRecipe = defineSlotRecipe({
10813
10969
  core: {
10814
10970
  control: {
10815
10971
  outline: "1px solid",
10816
- outlineColor: "core.outline",
10972
+ outlineColor: "outline.core",
10817
10973
  _hover: {
10818
10974
  outline: "2px solid",
10819
- outlineColor: "core.outline"
10975
+ outlineColor: "outline.core"
10820
10976
  },
10821
10977
  _active: {
10822
- backgroundColor: "brand.surface.active"
10978
+ backgroundColor: "surface.brand.active"
10823
10979
  },
10824
10980
  _disabled: {
10825
10981
  pointerEvents: "none",
@@ -10831,13 +10987,13 @@ var selectSlotRecipe = defineSlotRecipe({
10831
10987
  floating: {
10832
10988
  control: {
10833
10989
  outline: "1px solid",
10834
- outlineColor: "floating.outline",
10990
+ outlineColor: "outline.floating",
10835
10991
  _hover: {
10836
10992
  outline: "2px solid",
10837
- outlineColor: "floating.outline"
10993
+ outlineColor: "outline.floating"
10838
10994
  },
10839
10995
  _active: {
10840
- backgroundColor: "brand.surface.active"
10996
+ backgroundColor: "surface.brand.active"
10841
10997
  },
10842
10998
  _disabled: {
10843
10999
  pointerEvents: "none",
@@ -10851,7 +11007,7 @@ var selectSlotRecipe = defineSlotRecipe({
10851
11007
  rightSideSquare: {
10852
11008
  control: {
10853
11009
  outline: "1px solid",
10854
- outlineColor: "core.outline"
11010
+ outlineColor: "outline.core"
10855
11011
  },
10856
11012
  trigger: {
10857
11013
  _focus: {
@@ -10862,7 +11018,7 @@ var selectSlotRecipe = defineSlotRecipe({
10862
11018
  leftSideSquare: {
10863
11019
  control: {
10864
11020
  outline: "1px solid",
10865
- outlineColor: "core.outline"
11021
+ outlineColor: "outline.core"
10866
11022
  },
10867
11023
  trigger: {
10868
11024
  _focus: {
@@ -10930,7 +11086,7 @@ var stepperSlotRecipe = defineSlotRecipe({
10930
11086
  },
10931
11087
  accent: {
10932
11088
  root: {
10933
- backgroundColor: "accent.bg"
11089
+ backgroundColor: "bg.accent"
10934
11090
  },
10935
11091
  stepButton: {
10936
11092
  color: {
@@ -10938,13 +11094,13 @@ var stepperSlotRecipe = defineSlotRecipe({
10938
11094
  _dark: "whiteAlpha.900"
10939
11095
  },
10940
11096
  _disabled: {
10941
- color: "core.text"
11097
+ color: "text.core"
10942
11098
  },
10943
11099
  _currentStep: {
10944
- color: "accent.text"
11100
+ color: "text.accent"
10945
11101
  },
10946
11102
  _hover: {
10947
- backgroundColor: "accent.surface.hover",
11103
+ backgroundColor: "surface.accent.hover",
10948
11104
  _disabled: {
10949
11105
  backgroundColor: "transparent"
10950
11106
  }
@@ -10952,7 +11108,7 @@ var stepperSlotRecipe = defineSlotRecipe({
10952
11108
  },
10953
11109
  backButton: {
10954
11110
  _hover: {
10955
- backgroundColor: "brand.surface.hover"
11111
+ backgroundColor: "surface.brand.hover"
10956
11112
  }
10957
11113
  }
10958
11114
  }
@@ -10986,7 +11142,7 @@ var switchSlotRecipe = defineSlotRecipe({
10986
11142
  justifyContent: "center",
10987
11143
  width: "var(--switch-height)",
10988
11144
  height: "var(--switch-height)",
10989
- backgroundColor: "core.icon",
11145
+ backgroundColor: "icon.core",
10990
11146
  _disabled: {
10991
11147
  backgroundColor: "icon.disabled",
10992
11148
  _checked: {
@@ -10995,7 +11151,7 @@ var switchSlotRecipe = defineSlotRecipe({
10995
11151
  },
10996
11152
  _checked: {
10997
11153
  translate: "var(--switch-x) 0",
10998
- backgroundColor: "brand.icon"
11154
+ backgroundColor: "icon.brand"
10999
11155
  }
11000
11156
  },
11001
11157
  label: {
@@ -11024,13 +11180,13 @@ var switchSlotRecipe = defineSlotRecipe({
11024
11180
  transitionDuration: "fast",
11025
11181
  outline: "1px solid",
11026
11182
  outlineOffset: "-1px",
11027
- outlineColor: "core.outline",
11183
+ outlineColor: "outline.core",
11028
11184
  _hover: {
11029
11185
  outline: "2px solid",
11030
- outlineColor: "core.outline.hover",
11186
+ outlineColor: "outline.core.hover",
11031
11187
  _checked: {
11032
11188
  outlineColor: "transparent",
11033
- backgroundColor: "brand.surface.hover"
11189
+ backgroundColor: "surface.brand.hover"
11034
11190
  }
11035
11191
  },
11036
11192
  _focusVisible: {
@@ -11039,7 +11195,7 @@ var switchSlotRecipe = defineSlotRecipe({
11039
11195
  outlineStyle: "double"
11040
11196
  },
11041
11197
  _checked: {
11042
- backgroundColor: "brand.surface",
11198
+ backgroundColor: "surface.brand",
11043
11199
  outline: "none",
11044
11200
  _focusVisible: {
11045
11201
  outlineOffset: "1px",
@@ -11138,10 +11294,10 @@ var tableSlotRecipe = defineSlotRecipe({
11138
11294
  backgroundColor: "bg"
11139
11295
  },
11140
11296
  header: {
11141
- backgroundColor: "bg.tertiary"
11297
+ backgroundColor: "bg.brand"
11142
11298
  },
11143
11299
  columnHeader: {
11144
- color: "text.secondary"
11300
+ color: "text.highlight"
11145
11301
  }
11146
11302
  },
11147
11303
  grey: {
@@ -11350,26 +11506,26 @@ var tabsSlotRecipe = defineSlotRecipe({
11350
11506
  variant: {
11351
11507
  core: {
11352
11508
  list: {
11353
- color: "core.text",
11509
+ color: "text.core",
11354
11510
  border: "sm"
11355
11511
  },
11356
11512
  trigger: {
11357
- color: "core.text",
11513
+ color: "text.core",
11358
11514
  border: "md",
11359
11515
  borderColor: "transparent",
11360
11516
  _hover: {
11361
11517
  outline: "2px solid",
11362
- outlineColor: "core.outline.hover",
11518
+ outlineColor: "outline.core.hover",
11363
11519
  outlineOffset: "-2px"
11364
11520
  },
11365
11521
  _active: {
11366
- backgroundColor: "brand.surface.active",
11367
- color: "brand.text",
11522
+ backgroundColor: "surface.brand.active",
11523
+ color: "text.brand",
11368
11524
  outline: "none"
11369
11525
  },
11370
11526
  _selected: {
11371
- backgroundColor: "brand.surface",
11372
- color: "brand.text",
11527
+ backgroundColor: "surface.brand",
11528
+ color: "text.brand",
11373
11529
  _hover: {
11374
11530
  outline: "none"
11375
11531
  }
@@ -11382,28 +11538,28 @@ var tabsSlotRecipe = defineSlotRecipe({
11382
11538
  },
11383
11539
  accent: {
11384
11540
  list: {
11385
- backgroundColor: "accent.bg",
11386
- color: "accent.text"
11541
+ backgroundColor: "bg.accent",
11542
+ color: "text.accent"
11387
11543
  },
11388
11544
  trigger: {
11389
- color: "accent.text",
11545
+ color: "text.accent",
11390
11546
  _disabled: {
11391
11547
  backgroundColor: "surface.disabled",
11392
11548
  color: "icon.disabled"
11393
11549
  },
11394
11550
  _hover: {
11395
- backgroundColor: "accent.surface.hover",
11551
+ backgroundColor: "surface.accent.hover",
11396
11552
  _active: {
11397
- backgroundColor: "brand.surface.active",
11398
- color: "brand.text"
11553
+ backgroundColor: "surface.brand.active",
11554
+ color: "text.brand"
11399
11555
  }
11400
11556
  },
11401
11557
  _selected: {
11402
- backgroundColor: "brand.surface",
11403
- color: "brand.text",
11558
+ backgroundColor: "surface.brand",
11559
+ color: "text.brand",
11404
11560
  _hover: {
11405
- backgroundColor: "brand.surface.hover",
11406
- color: "brand.text",
11561
+ backgroundColor: "surface.brand.hover",
11562
+ color: "text.brand",
11407
11563
  outline: "none"
11408
11564
  }
11409
11565
  }
@@ -11451,7 +11607,7 @@ var tabsSlotRecipe = defineSlotRecipe({
11451
11607
  paddingX: 3,
11452
11608
  _focus: {
11453
11609
  border: "md",
11454
- borderColor: "accent.surface"
11610
+ borderColor: "surface.accent"
11455
11611
  }
11456
11612
  }
11457
11613
  }
@@ -11482,13 +11638,13 @@ var toastSlotRecipe = defineSlotRecipe({
11482
11638
  boxShadow: "xl",
11483
11639
  color: "text",
11484
11640
  "&[data-type=success]": {
11485
- backgroundColor: "alert.success.surface"
11641
+ backgroundColor: "surface.success"
11486
11642
  },
11487
11643
  "&[data-type=error]": {
11488
- backgroundColor: "alert.error.surface"
11644
+ backgroundColor: "surface.critical"
11489
11645
  },
11490
11646
  "&[data-type=info]": {
11491
- backgroundColor: "alert.info.surface"
11647
+ backgroundColor: "surface.info"
11492
11648
  }
11493
11649
  },
11494
11650
  title: {
@@ -11535,6 +11691,7 @@ var slotRecipes = {
11535
11691
  checkboxCard: choiceChipSlotRecipe,
11536
11692
  collapsible: collapsibleSlotRecipe,
11537
11693
  tooltip: popoverSlotRecipe,
11694
+ tag: inputChipSlotRecipe,
11538
11695
  menu: menuSlotRecipe
11539
11696
  };
11540
11697
  var animations = defineTokens.animations({
@@ -12382,6 +12539,6 @@ var TooltipContent = ({
12382
12539
  ] }) }) });
12383
12540
  };
12384
12541
 
12385
- export { Accordion, AccordionItem, AccordionItemContent, AccordionItemTrigger, Alert, AttachedInputs, Autocomplete, AutocompleteItem, AutocompleteItemGroup, AutocompleteItemGroupLabel, Badge, Brand, Breadcrumb, Button, ButtonGroup, Calendar, CalendarCell, CalendarGrid, CalendarHeader, CalendarProvider, CardSelect, CardSelectContent, CardSelectTrigger, CargonetLogo, Checkbox, CheckboxGroup, ChoiceChip, Clipboard, ClipboardButton, CloseButton, CloseDrawerLine, Code, ColorInlineLoader, ColorModeButton, ColorModeIcon, ColorModeProvider, ColorSpinner, Combobox2 as Combobox, ContentLoader, DarkFullScreenLoader, DarkInlineLoader, DarkSpinner, DatePicker, DateRangePicker, DialogActionTrigger, DialogBackdrop, DialogBody, DialogCloseTrigger, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogRoot, DialogTitle, DialogTrigger, Drawer, DrawerActionTrigger, DrawerBackTrigger, DrawerBackdrop, DrawerBody, DrawerCloseTrigger, DrawerContent, DrawerFooter, DrawerFullScreenHeader, DrawerHeader, DrawerTitle, DrawerTrigger, Expandable, ExpandableAlert, ExpandableItem, Field3 as Field, FieldErrorText, FieldLabel, Fieldset, FieldsetContent, FieldsetErrorText, FieldsetHelperText, FieldsetLegend, FloatingActionButton, Heading, IconButton, InfoTag, Input, ItemDescription, ItemLabel, JumpButton, Language, LanguageProvider, LightFullScreenLoader, LightInlineLoader, LightSpinner, LineIcon, List, ListBox, ListIndicator, ListItem2 as ListItem, Menu, MenuCheckboxItem, MenuContent, MenuItem, MenuItemGroup, MenuRadioItem, MenuRadioItemGroup, MenuSeparator, MenuTrigger, MenuTriggerItem, NativeSelect, Nudge, NudgeActions, NudgeCloseTrigger, NudgeContent, NudgeTrigger, NudgeWizardStep, NumericStepper, Pagination, PaginationEllipsis, PaginationItem, PaginationItems, PaginationNextTrigger, PaginationPrevTrigger, PasswordInput, PhoneNumberInput, PlayPauseButton, Popover2 as Popover, PopoverContent, PopoverTrigger, PressableCard, ProgressBar, ProgressIndicator, ProgressLoader, Radio, RadioCard, RadioCardGroup, RadioCardLabel, RadioGroup, RangeCalendar, ScrollCalendar, SearchInput, Select, SelectContent, SelectItem, SelectItemGroup, SelectItemText, SelectLabel, SelectRoot, SelectTrigger, SelectValueText, Separator, ServiceAlert, Skeleton, SkeletonCircle, SkeletonText, SkipButton, SporProvider, StaticCard, Stepper, StepperStep, SvgBox, Switch, Table, TableBody, TableColumnHeader, Tabs, TabsContent, TabsIndicator, TabsList, TabsTrigger, Text3 as Text, TextLink, Textarea, TimePicker, Tooltip, TooltipContent, TooltipTrigger, TravelTag, VyLogo, VyLogoPride, createTexts, createToast, fontFaces, slugify, system, themes, useCalendar, useColorMode, useColorModeValue, useMenuContext, useTableSort, useTranslation };
12542
+ export { Accordion, AccordionItem, AccordionItemContent, AccordionItemTrigger, Alert, AttachedInputs, Autocomplete, AutocompleteItem, AutocompleteItemGroup, AutocompleteItemGroupLabel, Badge, Brand, Breadcrumb, Button, ButtonGroup, Calendar, CalendarCell, CalendarGrid, CalendarHeader, CalendarProvider, CardSelect, CardSelectContent, CardSelectTrigger, CargonetLogo, Checkbox, CheckboxGroup, ChoiceChip, Clipboard, ClipboardButton, CloseButton, CloseDrawerLine, Code, ColorInlineLoader, ColorModeButton, ColorModeIcon, ColorModeProvider, ColorSpinner, Combobox2 as Combobox, ContentLoader, DarkFullScreenLoader, DarkInlineLoader, DarkSpinner, DatePicker, DateRangePicker, DialogActionTrigger, DialogBackdrop, DialogBody, DialogCloseTrigger, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogRoot, DialogTitle, DialogTrigger, Drawer, DrawerActionTrigger, DrawerBackTrigger, DrawerBackdrop, DrawerBody, DrawerCloseTrigger, DrawerContent, DrawerFooter, DrawerFullScreenHeader, DrawerHeader, DrawerTitle, DrawerTrigger, Expandable, ExpandableAlert, ExpandableItem, Field3 as Field, FieldErrorText, FieldLabel, Fieldset, FieldsetContent, FieldsetErrorText, FieldsetHelperText, FieldsetLegend, FloatingActionButton, Heading, IconButton, InfoTag, Input, InputChip, ItemDescription, ItemLabel, JumpButton, Language, LanguageProvider, LightFullScreenLoader, LightInlineLoader, LightSpinner, LineIcon, List, ListBox, ListIndicator, ListItem2 as ListItem, Menu, MenuCheckboxItem, MenuContent, MenuItem, MenuItemGroup, MenuRadioItem, MenuRadioItemGroup, MenuSeparator, MenuTrigger, MenuTriggerItem, NativeSelect, Nudge, NudgeActions, NudgeCloseTrigger, NudgeContent, NudgeTrigger, NudgeWizardStep, NumericStepper, Pagination, PaginationEllipsis, PaginationItem, PaginationItems, PaginationNextTrigger, PaginationPrevTrigger, PasswordInput, PhoneNumberInput, PlayPauseButton, Popover2 as Popover, PopoverContent, PopoverTrigger, PressableCard, ProgressBar, ProgressIndicator, ProgressLoader, Radio, RadioCard, RadioCardGroup, RadioCardLabel, RadioGroup, RangeCalendar, ScrollCalendar, SearchInput, Select, SelectContent, SelectItem, SelectItemGroup, SelectItemText, SelectLabel, SelectRoot, SelectTrigger, SelectValueText, Separator, ServiceAlert, Skeleton, SkeletonCircle, SkeletonText, SkipButton, SporProvider, StaticCard, Stepper, StepperStep, SvgBox, Switch, Table, TableBody, TableColumnHeader, Tabs, TabsContent, TabsIndicator, TabsList, TabsTrigger, Text3 as Text, TextLink, Textarea, TimePicker, Tooltip, TooltipContent, TooltipTrigger, TravelTag, VyLogo, VyLogoPride, createTexts, createToast, fontFaces, slugify, system, themes, useCalendar, useColorMode, useColorModeValue, useMenuContext, useTableSort, useTranslation };
12386
12543
  //# sourceMappingURL=out.js.map
12387
12544
  //# sourceMappingURL=index.mjs.map