@vygruppen/spor-react 12.4.3 → 12.4.4

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.
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { useSlotRecipe, Accordion as Accordion$1, Stack, Box, HStack, Progress, defineRecipe, chakra, Text, useRecipe, Circle, Skeleton as Skeleton$1, Button as Button$1, Group as Group$1, Badge as Badge$1, Code as Code$1, Clipboard as Clipboard$1, IconButton as IconButton$1, useDisclosure, Alert as Alert$1, Span, Flex, Breadcrumb as Breadcrumb$1, ClientOnly as ClientOnly$1, Field, defineStyle, defineSlotRecipe, PopoverAnchor, useFieldContext, Popover as Popover$1, Portal, Dialog, createContext as createContext$1, Drawer as Drawer$1, Grid, GridItem, usePopoverContext, Checkbox as Checkbox$1, CheckboxGroup as CheckboxGroup$1, CheckboxCard, Fieldset as Fieldset$1, Input as Input$1, InputElement, NativeSelect as NativeSelect$1, useControllableState, createListCollection, RadioGroup as RadioGroup$1, Select as Select$1, useSelectContext, Switch as Switch$1, Textarea as Textarea$1, RadioCard as RadioCard$1, Separator as Separator$1, Link, List as List$1, Center, Pagination as Pagination$1, usePaginationContext, createToaster, Tabs as Tabs$1, Table as Table$1, defineSemanticTokens, defineTokens, defineAnimationStyles, defineGlobalStyles, defineTextStyles, createSystem, defaultBaseConfig, VisuallyHidden, defineConfig, ListItem, ChakraProvider, Toaster as Toaster$1, Toast, Icon } from '@chakra-ui/react';
1
+ import { useSlotRecipe, Accordion as Accordion$1, Stack, Box, HStack, Progress, defineRecipe, chakra, Text, useRecipe, Circle, Skeleton as Skeleton$1, Button as Button$1, Group as Group$1, Badge as Badge$1, Code as Code$1, Clipboard as Clipboard$1, IconButton as IconButton$1, useDisclosure, Alert as Alert$1, Span, Flex, Breadcrumb as Breadcrumb$1, ClientOnly as ClientOnly$1, Field, defineStyle, defineSlotRecipe, PopoverAnchor, useFieldContext, Popover as Popover$1, Portal, Dialog, createContext as createContext$1, Drawer as Drawer$1, Grid, GridItem, usePopoverContext, Checkbox as Checkbox$1, CheckboxGroup as CheckboxGroup$1, CheckboxCard, Fieldset as Fieldset$1, Input as Input$1, InputElement, NativeSelect as NativeSelect$1, useControllableState, createListCollection, RadioGroup as RadioGroup$1, Select as Select$1, useSelectContext, Switch as Switch$1, Textarea as Textarea$1, RadioCard as RadioCard$1, Separator as Separator$1, Link, List as List$1, Center, PopoverCloseTrigger, Pagination as Pagination$1, usePaginationContext, createToaster, Tabs as Tabs$1, Table as Table$1, defineSemanticTokens, defineTokens, defineAnimationStyles, defineGlobalStyles, defineTextStyles, createSystem, defaultBaseConfig, VisuallyHidden, defineConfig, ListItem, ChakraProvider, Toaster as Toaster$1, Toast, Icon } from '@chakra-ui/react';
2
2
  export { Box, BreadcrumbCurrentLink, BreadcrumbEllipsis, BreadcrumbLink, Center, Collapsible, Container, Em, Flex, For, FormatByte, FormatNumber, Grid, GridItem, HStack, Image, Kbd, LocaleProvider, Portal, Show, SimpleGrid, Spacer, Span, Stack, TableBody, TableCaption, TableCell, TableColumn, TableColumnHeader, TableFooter, TableHeader, TableRoot, TableRow, VStack, VisuallyHidden, createListCollection, createSystem, defineConfig, defineRecipe, defineStyle, useBreakpointValue, useCheckbox, useClipboard, useControllableProp, useDisclosure, useMediaQuery, useToken } from '@chakra-ui/react';
3
3
  import { DropdownDownFill24Icon, CopyOutline18Icon, CheckmarkFill18Icon, CloseFill18Icon, CloseFill30Icon, CloseFill24Icon, ServiceFill24Icon, QuestionFill24Icon, ErrorOutline24Icon, ErrorFill24Icon, AltTransportFill24Icon, WarningFill24Icon, SuccessFill24Icon, InformationFill24Icon, DropdownDownFill18Icon, DropdownRightFill18Icon, CalendarOutline24Icon, ArrowLeftFill24Icon, CloseOutline24Icon, SearchOutline24Icon, InformationFill18Icon, WarningFill18Icon, ErrorFill18Icon, Forward15MediaControllerFill30Icon, Backward15MediaControllerFill30Icon, PauseMediaControllerFill24Icon, PlayMediaControllerFill24Icon, NextMediaControllerFill30Icon, PreviousMediaControllerFill30Icon, ArrowRightFill18Icon, DropdownLeftOutline18Icon, DropdownRightOutline18Icon, WalkFill30Icon, WalkFill24Icon, WalkFill18Icon, AltTransportFill30Icon, AltTransportFill18Icon, TramFill30Icon, TramFill24Icon, TramFill18Icon, SubwayFill30Icon, SubwayFill24Icon, SubwayFill18Icon, FerryFill30Icon, FerryFill24Icon, FerryFill18Icon, BusFill30Icon, BusFill24Icon, BusFill18Icon, ExpressBusFill30Icon, ExpressBusFill24Icon, ExpressBusFill18Icon, TrainFill30Icon, TrainFill24Icon, TrainFill18Icon, LinkOutOutline24Icon, ArrowLeftOutline24Icon, ArrowRightOutline24Icon, DropdownLeftFill18Icon, SuccessFill18Icon } from '@vygruppen/spor-icon-react';
4
4
  import * as React28 from 'react';
@@ -18,17 +18,11 @@ import { popoverAnatomy as popoverAnatomy$1 } from '@ark-ui/react/popover';
18
18
  import { GregorianCalendar, createCalendar, getLocalTimeZone, endOfMonth, getWeeksInMonth, isSameMonth, isToday, parseTime } from '@internationalized/date';
19
19
  export { Time } from '@internationalized/date';
20
20
  import { getSupportedCallingCodes } from 'awesome-phonenumber';
21
- import tokens20__default from '@vygruppen/spor-design-tokens';
22
- import * as tokens20 from '@vygruppen/spor-design-tokens';
23
- export { tokens20 as tokens };
24
- import { usePopoverContext as usePopoverContext$1, PopoverCloseTrigger } from '@ark-ui/react';
21
+ import tokens22__default from '@vygruppen/spor-design-tokens';
22
+ import * as tokens22 from '@vygruppen/spor-design-tokens';
23
+ export { tokens22 as tokens };
25
24
  import { Global } from '@emotion/react';
26
- import cargonetJson from '@vygruppen/spor-design-tokens/tokens/color/cargonet.json' assert { type: 'json' };
27
- import vyDigitalJson from '@vygruppen/spor-design-tokens/tokens/color/vy-digital.json' assert { type: 'json' };
28
- import VyUtviklingJson from '@vygruppen/spor-design-tokens/tokens/color/vy-utvikling.json' assert { type: 'json' };
29
- import aliasJson from '@vygruppen/spor-design-tokens/tokens/color/alias.json' assert { type: 'json' };
30
- import linjetagJson from '@vygruppen/spor-design-tokens/tokens/color/linjetag.json' assert { type: 'json' };
31
- import paletteJson from '@vygruppen/spor-design-tokens/tokens/color/palette.json' assert { type: 'json' };
25
+ import tokens4 from '@vygruppen/spor-design-tokens/raw-tokens';
32
26
 
33
27
  // src/accordion/Accordion.tsx
34
28
 
@@ -36,8 +30,9 @@ import paletteJson from '@vygruppen/spor-design-tokens/tokens/color/palette.json
36
30
  var warnAboutMismatchingIcon = ({
37
31
  icon
38
32
  }) => {
33
+ var _a5, _b4;
39
34
  if (process.env.NODE_ENV !== "production") {
40
- const displayName = icon?.type?.render?.displayName;
35
+ const displayName = (_b4 = (_a5 = icon == null ? void 0 : icon.type) == null ? void 0 : _a5.render) == null ? void 0 : _b4.displayName;
41
36
  if (!displayName) {
42
37
  return;
43
38
  }
@@ -803,6 +798,7 @@ var badgeRecipie = defineRecipe({
803
798
  });
804
799
 
805
800
  // src/theme/recipes/code.ts
801
+ var _a;
806
802
  var codeRecipie = defineRecipe({
807
803
  base: {
808
804
  fontFamily: "monospace",
@@ -811,7 +807,7 @@ var codeRecipie = defineRecipe({
811
807
  paddingX: 1
812
808
  },
813
809
  variants: {
814
- colorPalette: badgeRecipie.variants?.colorPalette ?? {}
810
+ colorPalette: ((_a = badgeRecipie.variants) == null ? void 0 : _a.colorPalette) ?? {}
815
811
  }
816
812
  });
817
813
  var StyledCode = chakra(Code$1, codeRecipie);
@@ -1128,7 +1124,7 @@ var Alert = forwardRef((props, ref) => {
1128
1124
  const { open, onClose } = useDisclosure({ defaultOpen: true });
1129
1125
  const handleAlertClose = () => {
1130
1126
  onClose();
1131
- onAlertClose?.();
1127
+ onAlertClose == null ? void 0 : onAlertClose();
1132
1128
  };
1133
1129
  const recipe = useSlotRecipe({ key: "alert" });
1134
1130
  const styles = recipe({ variant: props.variant });
@@ -1964,7 +1960,8 @@ function CalendarCell({
1964
1960
  stateProps["data-unavailable"] = true;
1965
1961
  }
1966
1962
  useEffect(() => {
1967
- ref.current?.addEventListener(
1963
+ var _a5;
1964
+ (_a5 = ref.current) == null ? void 0 : _a5.addEventListener(
1968
1965
  "touchend",
1969
1966
  (event) => {
1970
1967
  event.preventDefault();
@@ -2010,7 +2007,7 @@ var getCurrentTime = () => {
2010
2007
  return parseTime(now.toTimeString().split(" ")[0]);
2011
2008
  };
2012
2009
  var getTimestampFromTime = (time) => {
2013
- return `${time?.hour ?? 0}:${time?.minute ?? 0}`;
2010
+ return `${(time == null ? void 0 : time.hour) ?? 0}:${(time == null ? void 0 : time.minute) ?? 0}`;
2014
2011
  };
2015
2012
  var weekDays = {
2016
2013
  nb: ["Ma", "Ti", "On", "To", "Fr", "L\xF8", "S\xF8"],
@@ -2314,6 +2311,7 @@ function createCalendar2(identifier) {
2314
2311
  }
2315
2312
  var DateField = forwardRef(
2316
2313
  ({ labelId, ...props }, externalRef) => {
2314
+ var _a5;
2317
2315
  const locale = useCurrentLocale();
2318
2316
  const recipe = useSlotRecipe({
2319
2317
  key: "datePicker",
@@ -2359,7 +2357,7 @@ var DateField = forwardRef(
2359
2357
  "input",
2360
2358
  {
2361
2359
  type: "hidden",
2362
- value: state.value?.toString() ?? "",
2360
+ value: ((_a5 = state.value) == null ? void 0 : _a5.toString()) ?? "",
2363
2361
  name: props.name
2364
2362
  }
2365
2363
  )
@@ -2445,8 +2443,8 @@ var DatePicker = forwardRef(
2445
2443
  ...props,
2446
2444
  shouldCloseOnSelect: true,
2447
2445
  errorMessage: errorText,
2448
- isRequired: props.isRequired ?? chakraFieldProps?.required,
2449
- validationState: chakraFieldProps?.invalid ? "invalid" : "valid"
2446
+ isRequired: props.isRequired ?? (chakraFieldProps == null ? void 0 : chakraFieldProps.required),
2447
+ validationState: (chakraFieldProps == null ? void 0 : chakraFieldProps.invalid) ? "invalid" : "valid"
2450
2448
  });
2451
2449
  const internalRef = useRef(null);
2452
2450
  const ref = externalRef ?? internalRef;
@@ -2582,8 +2580,8 @@ function DateRangePicker({
2582
2580
  shouldCloseOnSelect: true,
2583
2581
  isInvalid: invalid,
2584
2582
  errorMessage: errorText,
2585
- isRequired: props.required ?? fieldContextPRops?.required,
2586
- validationState: fieldContextPRops?.invalid ? "invalid" : "valid"
2583
+ isRequired: props.required ?? (fieldContextPRops == null ? void 0 : fieldContextPRops.required),
2584
+ validationState: (fieldContextPRops == null ? void 0 : fieldContextPRops.invalid) ? "invalid" : "valid"
2587
2585
  });
2588
2586
  const ref = useRef(null);
2589
2587
  const uniqueId = useId$1();
@@ -2759,7 +2757,7 @@ var TimePicker = ({
2759
2757
  )}`;
2760
2758
  const inputLabel = label ?? t(texts11.time);
2761
2759
  const ariaLabel = `${inputLabel} \u2013 ${t(
2762
- texts11.selectedTimeIs(`${dateTime?.hour ?? 0} ${dateTime?.minute ?? 0}`)
2760
+ texts11.selectedTimeIs(`${(dateTime == null ? void 0 : dateTime.hour) ?? 0} ${(dateTime == null ? void 0 : dateTime.minute) ?? 0}`)
2763
2761
  )}`;
2764
2762
  return /* @__PURE__ */ jsx(Field3, { as: "time", ...boxProps, children: /* @__PURE__ */ jsxs(
2765
2763
  StyledField,
@@ -3107,6 +3105,7 @@ var Popover = forwardRef(
3107
3105
  hasBackdrop = true,
3108
3106
  containerPadding = 12
3109
3107
  }, ref) => {
3108
+ var _a5;
3110
3109
  const internalRef = useRef(null);
3111
3110
  const popoverRef = ref ?? internalRef;
3112
3111
  const { popoverProps, underlayProps } = usePopover(
@@ -3127,7 +3126,7 @@ var Popover = forwardRef(
3127
3126
  {
3128
3127
  ...popoverProps,
3129
3128
  ref: popoverRef,
3130
- minWidth: triggerRef.current?.clientWidth ?? "auto",
3129
+ minWidth: ((_a5 = triggerRef.current) == null ? void 0 : _a5.clientWidth) ?? "auto",
3131
3130
  children: [
3132
3131
  /* @__PURE__ */ jsx(DismissButton, { onDismiss: state.close }),
3133
3132
  children,
@@ -3509,7 +3508,8 @@ function Option({ item, state }) {
3509
3508
  dataFields["data-focus-visible"] = true;
3510
3509
  }
3511
3510
  useEffect(() => {
3512
- ref?.current?.addEventListener(
3511
+ var _a5;
3512
+ (_a5 = ref == null ? void 0 : ref.current) == null ? void 0 : _a5.addEventListener(
3513
3513
  "touchend",
3514
3514
  (event) => {
3515
3515
  event.preventDefault();
@@ -3527,6 +3527,7 @@ var useOptionContext = () => {
3527
3527
  return useContext(OptionContext);
3528
3528
  };
3529
3529
  function ListBoxSection({ section, state }) {
3530
+ var _a5, _b4;
3530
3531
  const { itemProps, headingProps, groupProps } = useListBoxSection({
3531
3532
  heading: section.rendered,
3532
3533
  "aria-label": section["aria-label"]
@@ -3548,7 +3549,7 @@ function ListBoxSection({ section, state }) {
3548
3549
  children: section.rendered
3549
3550
  }
3550
3551
  ),
3551
- /* @__PURE__ */ jsx(List, { ...groupProps, padding: 0, listStyleType: "none", children: [...state.collection.getChildren?.(section.key) ?? []].map(
3552
+ /* @__PURE__ */ jsx(List, { ...groupProps, padding: 0, listStyleType: "none", children: [...((_b4 = (_a5 = state.collection).getChildren) == null ? void 0 : _b4.call(_a5, section.key)) ?? []].map(
3552
3553
  (item) => /* @__PURE__ */ jsx(Option, { item, state }, item.key)
3553
3554
  ) })
3554
3555
  ] }) });
@@ -3688,6 +3689,7 @@ function coreText(state) {
3688
3689
  }
3689
3690
 
3690
3691
  // src/theme/slot-recipes/native-select.ts
3692
+ var _a2, _b;
3691
3693
  var nativeSelectSlotRecipe = defineSlotRecipe({
3692
3694
  slots: NativeSelectAnatomy.keys(),
3693
3695
  className: "spor-nativeSelect",
@@ -3726,12 +3728,12 @@ var nativeSelectSlotRecipe = defineSlotRecipe({
3726
3728
  variant: {
3727
3729
  core: {
3728
3730
  field: {
3729
- ...inputRecipe.variants?.variant.core
3731
+ ...(_a2 = inputRecipe.variants) == null ? void 0 : _a2.variant.core
3730
3732
  }
3731
3733
  },
3732
3734
  floating: {
3733
3735
  field: {
3734
- ...inputRecipe.variants?.variant.floating
3736
+ ...(_b = inputRecipe.variants) == null ? void 0 : _b.variant.floating
3735
3737
  }
3736
3738
  }
3737
3739
  }
@@ -3874,7 +3876,8 @@ var NumericStepper = React28__default.forwardRef((props, ref) => {
3874
3876
  });
3875
3877
  const clampedStepSize = Math.max(Math.min(stepSize, 10), 1);
3876
3878
  const focusOnAddButton = () => {
3877
- addButtonRef.current?.focus();
3879
+ var _a5;
3880
+ (_a5 = addButtonRef.current) == null ? void 0 : _a5.focus();
3878
3881
  };
3879
3882
  return /* @__PURE__ */ jsxs(Field3, { css: styles.root, width: "auto", ...rest, ref, children: [
3880
3883
  /* @__PURE__ */ jsx(
@@ -4131,7 +4134,10 @@ var CountryCodeSelect = forwardRef((props, ref) => {
4131
4134
  const { t } = useTranslation();
4132
4135
  if (props.allowedCountryCodes) {
4133
4136
  callingCodes.items = callingCodes.items.filter(
4134
- (callingCode) => props.allowedCountryCodes?.some((code) => code === callingCode.label)
4137
+ (callingCode) => {
4138
+ var _a5;
4139
+ return (_a5 = props.allowedCountryCodes) == null ? void 0 : _a5.some((code) => code === callingCode.label);
4140
+ }
4135
4141
  );
4136
4142
  }
4137
4143
  return /* @__PURE__ */ jsx(
@@ -4570,16 +4576,16 @@ var pressableCardRecipe = defineRecipe({
4570
4576
  },
4571
4577
  core: {
4572
4578
  outlineColor: "core.outline",
4573
- outlineWidth: tokens20__default.size.stroke.sm,
4579
+ outlineWidth: tokens22__default.size.stroke.sm,
4574
4580
  outlineStyle: "solid",
4575
4581
  backgroundColor: "core.surface",
4576
4582
  _hover: {
4577
4583
  outlineColor: "core.outline.hover",
4578
- outlineWidth: tokens20__default.size.stroke.md,
4584
+ outlineWidth: tokens22__default.size.stroke.md,
4579
4585
  outlineStyle: "solid",
4580
4586
  _active: {
4581
4587
  backgroundColor: "core.surface.active",
4582
- outlineWidth: tokens20__default.size.stroke.sm
4588
+ outlineWidth: tokens22__default.size.stroke.sm
4583
4589
  }
4584
4590
  }
4585
4591
  },
@@ -4835,7 +4841,8 @@ var icons = {
4835
4841
  walk: { sm: WalkFill18Icon, md: WalkFill24Icon, lg: WalkFill30Icon }
4836
4842
  };
4837
4843
  var getCorrectIcon = ({ variant, size }) => {
4838
- return icons[variant]?.[size] ?? Box;
4844
+ var _a5;
4845
+ return ((_a5 = icons[variant]) == null ? void 0 : _a5[size]) ?? Box;
4839
4846
  };
4840
4847
  var LineIcon = forwardRef(
4841
4848
  function LineIcon2({
@@ -4993,7 +5000,7 @@ var ExternalIcon = ({ label }) => /* @__PURE__ */ jsxs(Fragment, { children: [
4993
5000
  var TextLink = forwardRef(
4994
5001
  ({ children, external, href, ...props }, ref) => {
4995
5002
  const { t } = useTranslation();
4996
- const isExternal = external ?? Boolean(href?.startsWith("http://") || href?.startsWith("https://"));
5003
+ const isExternal = external ?? Boolean((href == null ? void 0 : href.startsWith("http://")) || (href == null ? void 0 : href.startsWith("https://")));
4997
5004
  const externalLabel = t ? t(texts18.externalLink) : texts18.externalLink.en;
4998
5005
  if (props.asChild && isValidElement(children)) {
4999
5006
  return /* @__PURE__ */ jsx(Link, { href, ...props, ref, children: cloneElement(children, {
@@ -5648,7 +5655,7 @@ var NudgeContent = forwardRef(
5648
5655
  ({ showCloseButton = true, children, ...props }, ref) => {
5649
5656
  const [currentStep, setCurrentStep] = useState(1);
5650
5657
  const childrenArray = React28__default.Children.toArray(children);
5651
- const { open } = usePopoverContext$1();
5658
+ const { open } = usePopoverContext();
5652
5659
  useEffect(() => {
5653
5660
  setCurrentStep(1);
5654
5661
  }, [children, open]);
@@ -6009,7 +6016,7 @@ var texts24 = createTexts({
6009
6016
  });
6010
6017
  var fontFaces = `
6011
6018
  @font-face {
6012
- font-family: ${tokens20__default.asset.font["vy-sans"]["light"].name};
6019
+ font-family: ${tokens22__default.asset.font["vy-sans"]["light"].name};
6013
6020
  src: url("https://www.vy.no/styles/font/VySans-Light.woff2") format("woff2"),
6014
6021
  url("https://www.vy.no/styles/font/VySans-Light.woff") format("woff");
6015
6022
  font-style: normal;
@@ -6017,7 +6024,7 @@ var fontFaces = `
6017
6024
  font-display: swap
6018
6025
  }
6019
6026
  @font-face {
6020
- font-family: ${tokens20__default.asset.font["vy-sans"]["light-italic"].name};
6027
+ font-family: ${tokens22__default.asset.font["vy-sans"]["light-italic"].name};
6021
6028
  src: url("https://www.vy.no/styles/font/VySans-LightItalic.woff2")
6022
6029
  format("woff2"),
6023
6030
  url("https://www.vy.no/styles/font/VySans-LightItalic.woff") format("woff");
@@ -6026,7 +6033,7 @@ var fontFaces = `
6026
6033
  font-display: swap
6027
6034
  }
6028
6035
  @font-face {
6029
- font-family: ${tokens20__default.asset.font["vy-sans"]["medium"].name};
6036
+ font-family: ${tokens22__default.asset.font["vy-sans"]["medium"].name};
6030
6037
  src: url("https://www.vy.no/styles/font/VySans-Regular.woff2") format("woff2"),
6031
6038
  url("https://www.vy.no/styles/font/VySans-Regular.woff") format("woff");
6032
6039
  font-style: normal;
@@ -6034,7 +6041,7 @@ var fontFaces = `
6034
6041
  font-display: swap
6035
6042
  }
6036
6043
  @font-face {
6037
- font-family: ${tokens20__default.asset.font["vy-sans"]["medium-italic"].name};
6044
+ font-family: ${tokens22__default.asset.font["vy-sans"]["medium-italic"].name};
6038
6045
  src: url("https://www.vy.no/styles/font/VySans-RegularItalic.woff2")
6039
6046
  format("woff2"),
6040
6047
  url("https://www.vy.no/styles/font/VySans-RegularItalic.woff")
@@ -6044,7 +6051,7 @@ var fontFaces = `
6044
6051
  font-display: swap
6045
6052
  }
6046
6053
  @font-face {
6047
- font-family: ${tokens20__default.asset.font["vy-sans"]["bold"].name};
6054
+ font-family: ${tokens22__default.asset.font["vy-sans"]["bold"].name};
6048
6055
  src: url("https://www.vy.no/styles/font/VySans-Bold.woff2") format("woff2"),
6049
6056
  url("https://www.vy.no/styles/font/VySans-Bold.woff") format("woff");
6050
6057
  font-style: normal;
@@ -6052,7 +6059,7 @@ var fontFaces = `
6052
6059
  font-display: swap
6053
6060
  }
6054
6061
  @font-face {
6055
- font-family: ${tokens20__default.asset.font["vy-sans"]["bold-italic"].name};
6062
+ font-family: ${tokens22__default.asset.font["vy-sans"]["bold-italic"].name};
6056
6063
  src: url("https://www.vy.no/styles/font/VySans-BoldItalic.woff2")
6057
6064
  format("woff2"),
6058
6065
  url("https://www.vy.no/styles/font/VySans-BoldItalic.woff") format("woff");
@@ -6061,7 +6068,7 @@ var fontFaces = `
6061
6068
  font-display: swap
6062
6069
  }
6063
6070
  @font-face {
6064
- font-family: ${tokens20__default.asset.font["vy-display"].name};
6071
+ font-family: ${tokens22__default.asset.font["vy-display"].name};
6065
6072
  src: url("https://www.vy.no/styles/font/VyDisplay-Medium.woff2")
6066
6073
  format("woff2"),
6067
6074
  url("https://www.vy.no/styles/font/VyDisplay-Medium.woff") format("woff");
@@ -6093,7 +6100,7 @@ var createToast = ({
6093
6100
  }) => toaster.create({
6094
6101
  description: text,
6095
6102
  type: variant,
6096
- id,
6103
+ id: id ?? crypto.randomUUID(),
6097
6104
  duration
6098
6105
  });
6099
6106
  var Toaster = () => {
@@ -6570,7 +6577,7 @@ var buttonRecipe = defineRecipe({
6570
6577
  background: "surface.disabled"
6571
6578
  },
6572
6579
  _focus: {
6573
- outlineOffset: tokens20__default.size.stroke.md
6580
+ outlineOffset: tokens22__default.size.stroke.md
6574
6581
  }
6575
6582
  },
6576
6583
  variants: {
@@ -6598,19 +6605,19 @@ var buttonRecipe = defineRecipe({
6598
6605
  tertiary: {
6599
6606
  color: "core.text",
6600
6607
  outline: "solid",
6601
- outlineWidth: tokens20__default.size.stroke.sm,
6608
+ outlineWidth: tokens22__default.size.stroke.sm,
6602
6609
  outlineColor: "core.outline",
6603
6610
  _hover: {
6604
- outlineWidth: tokens20__default.size.stroke.md,
6611
+ outlineWidth: tokens22__default.size.stroke.md,
6605
6612
  outlineColor: "core.outline.hover",
6606
6613
  _active: {
6607
6614
  background: "core.surface.active",
6608
- outlineWidth: tokens20__default.size.stroke.sm,
6615
+ outlineWidth: tokens22__default.size.stroke.sm,
6609
6616
  outlineColor: "core.outline"
6610
6617
  }
6611
6618
  },
6612
6619
  _focus: {
6613
- outlineWidth: tokens20__default.size.stroke.sm
6620
+ outlineWidth: tokens22__default.size.stroke.sm
6614
6621
  }
6615
6622
  },
6616
6623
  ghost: {
@@ -6795,6 +6802,7 @@ var linkRecipe = defineRecipe({
6795
6802
  }
6796
6803
  }
6797
6804
  });
6805
+ var _a3, _b2;
6798
6806
  var textareaRecipe = defineRecipe({
6799
6807
  className: "spor-textarea",
6800
6808
  base: {
@@ -6811,10 +6819,10 @@ var textareaRecipe = defineRecipe({
6811
6819
  variants: {
6812
6820
  variant: {
6813
6821
  core: {
6814
- ...inputRecipe.variants?.variant.core
6822
+ ...(_a3 = inputRecipe.variants) == null ? void 0 : _a3.variant.core
6815
6823
  },
6816
6824
  floating: {
6817
- ...inputRecipe.variants?.variant.floating
6825
+ ...(_b2 = inputRecipe.variants) == null ? void 0 : _b2.variant.floating
6818
6826
  }
6819
6827
  }
6820
6828
  }
@@ -6837,23 +6845,23 @@ var recipes = {
6837
6845
  textarea: textareaRecipe
6838
6846
  };
6839
6847
  var vyDigitalColors = defineSemanticTokens.colors({
6840
- ...vyDigitalJson.color.vyDigital
6848
+ ...tokens4.color["vy-digital"].color.vyDigital
6841
6849
  });
6842
6850
  var vyUtviklingColors = defineSemanticTokens.colors({
6843
- ...VyUtviklingJson.color.vyUtvikling
6851
+ ...tokens4.color["vy-utvikling"].color.vyUtvikling
6844
6852
  });
6845
6853
  var cargonetColors = defineSemanticTokens.colors({
6846
- ...cargonetJson.color.cargonet
6854
+ ...tokens4.color.cargonet.color.cargonet
6847
6855
  });
6848
6856
  var radii = defineSemanticTokens.radii({
6849
- none: { value: tokens20__default.size["border-radius"].none },
6850
- xxs: { value: tokens20__default.size["border-radius"].xxs },
6851
- xs: { value: tokens20__default.size["border-radius"].xs },
6852
- sm: { value: tokens20__default.size["border-radius"].sm },
6853
- md: { value: tokens20__default.size["border-radius"].md },
6854
- lg: { value: tokens20__default.size["border-radius"].lg },
6855
- xl: { value: tokens20__default.size["border-radius"].xl },
6856
- "2xl": { value: tokens20__default.size["border-radius"]["2xl"] },
6857
+ none: { value: tokens22__default.size["border-radius"].none },
6858
+ xxs: { value: tokens22__default.size["border-radius"].xxs },
6859
+ xs: { value: tokens22__default.size["border-radius"].xs },
6860
+ sm: { value: tokens22__default.size["border-radius"].sm },
6861
+ md: { value: tokens22__default.size["border-radius"].md },
6862
+ lg: { value: tokens22__default.size["border-radius"].lg },
6863
+ xl: { value: tokens22__default.size["border-radius"].xl },
6864
+ "2xl": { value: tokens22__default.size["border-radius"]["2xl"] },
6857
6865
  round: { value: "50%" }
6858
6866
  });
6859
6867
  var shadows = defineSemanticTokens.shadows({
@@ -6861,13 +6869,13 @@ var shadows = defineSemanticTokens.shadows({
6861
6869
  value: "none"
6862
6870
  },
6863
6871
  sm: {
6864
- value: tokens20__default.depth.shadow.sm.value
6872
+ value: tokens22__default.depth.shadow.sm.value
6865
6873
  },
6866
6874
  md: {
6867
- value: tokens20__default.depth.shadow.md.value
6875
+ value: tokens22__default.depth.shadow.md.value
6868
6876
  },
6869
6877
  lg: {
6870
- value: tokens20__default.depth.shadow.lg.value
6878
+ value: tokens22__default.depth.shadow.lg.value
6871
6879
  }
6872
6880
  });
6873
6881
 
@@ -7370,7 +7378,7 @@ var breadcrumbSlotRecipe = defineSlotRecipe({
7370
7378
  link: {
7371
7379
  _hover: {
7372
7380
  outlineColor: "core.outline.hover",
7373
- outlineWidth: tokens20__default.size.stroke.md,
7381
+ outlineWidth: tokens22__default.size.stroke.md,
7374
7382
  outlineStyle: "solid",
7375
7383
  _active: {
7376
7384
  backgroundColor: "core.surface.active",
@@ -7462,10 +7470,10 @@ var checkboxSlotRecipe = defineSlotRecipe({
7462
7470
  _focus: {
7463
7471
  outlineStyle: "solid",
7464
7472
  outlineColor: "outline.focus",
7465
- outlineOffset: tokens20__default.size.stroke.md,
7466
- outlineWidth: tokens20__default.size.stroke.md,
7473
+ outlineOffset: tokens22__default.size.stroke.md,
7474
+ outlineWidth: tokens22__default.size.stroke.md,
7467
7475
  borderColor: "core.outline",
7468
- borderWidth: tokens20__default.size.stroke.md
7476
+ borderWidth: tokens22__default.size.stroke.md
7469
7477
  }
7470
7478
  },
7471
7479
  label: {
@@ -8119,7 +8127,7 @@ var floatingActionButtonSlotRecipe = defineSlotRecipe({
8119
8127
  position: "fixed",
8120
8128
  zIndex: "dropdown",
8121
8129
  _focus: {
8122
- outlineOffset: tokens20__default.size.stroke.lg,
8130
+ outlineOffset: tokens22__default.size.stroke.lg,
8123
8131
  outlineColor: "outline.focus"
8124
8132
  },
8125
8133
  _disabled: {
@@ -8419,6 +8427,7 @@ var travelTagSlotRecipe = defineSlotRecipe({
8419
8427
  });
8420
8428
 
8421
8429
  // src/theme/slot-recipes/info-tag.ts
8430
+ var _a4, _b3, _c, _d;
8422
8431
  var infoTagSlotRecipe = defineSlotRecipe({
8423
8432
  slots: infoTagAnatomy.keys(),
8424
8433
  className: "spor-info-tag",
@@ -8451,21 +8460,21 @@ var infoTagSlotRecipe = defineSlotRecipe({
8451
8460
  }
8452
8461
  },
8453
8462
  size: {
8454
- ...travelTagSlotRecipe.variants?.size,
8463
+ ...(_a4 = travelTagSlotRecipe.variants) == null ? void 0 : _a4.size,
8455
8464
  sm: {
8456
- ...travelTagSlotRecipe.variants?.size.sm,
8465
+ ...(_b3 = travelTagSlotRecipe.variants) == null ? void 0 : _b3.size.sm,
8457
8466
  iconContainer: {
8458
8467
  borderRadius: "0.375rem"
8459
8468
  }
8460
8469
  },
8461
8470
  md: {
8462
- ...travelTagSlotRecipe.variants?.size.md,
8471
+ ...(_c = travelTagSlotRecipe.variants) == null ? void 0 : _c.size.md,
8463
8472
  iconContainer: {
8464
8473
  borderRadius: "0.375rem"
8465
8474
  }
8466
8475
  },
8467
8476
  lg: {
8468
- ...travelTagSlotRecipe.variants?.size.lg,
8477
+ ...(_d = travelTagSlotRecipe.variants) == null ? void 0 : _d.size.lg,
8469
8478
  iconContainer: {
8470
8479
  borderRadius: "sm"
8471
8480
  }
@@ -9123,26 +9132,26 @@ var radioCardSlotRecipe = defineSlotRecipe({
9123
9132
  core: {
9124
9133
  item: {
9125
9134
  outlineColor: "core.outline",
9126
- outlineWidth: tokens20__default.size.stroke.sm,
9135
+ outlineWidth: tokens22__default.size.stroke.sm,
9127
9136
  outlineStyle: "solid",
9128
9137
  backgroundColor: "core.surface",
9129
9138
  _hover: {
9130
9139
  outlineColor: "core.outline.hover",
9131
- outlineWidth: tokens20__default.size.stroke.md,
9140
+ outlineWidth: tokens22__default.size.stroke.md,
9132
9141
  outlineStyle: "solid",
9133
9142
  _active: {
9134
9143
  backgroundColor: "core.surface.active",
9135
- outlineWidth: tokens20__default.size.stroke.sm
9144
+ outlineWidth: tokens22__default.size.stroke.sm
9136
9145
  }
9137
9146
  },
9138
9147
  _checked: {
9139
9148
  outlineColor: "outline.focus",
9140
- outlineWidth: tokens20__default.size.stroke.md,
9149
+ outlineWidth: tokens22__default.size.stroke.md,
9141
9150
  outlineStyle: "solid",
9142
9151
  backgroundColor: "core.surface.active",
9143
9152
  _focusVisible: {
9144
9153
  outlineStyle: "double",
9145
- outlineWidth: `calc(3 * ${tokens20__default.size.stroke.md})`
9154
+ outlineWidth: `calc(3 * ${tokens22__default.size.stroke.md})`
9146
9155
  // space for double outline
9147
9156
  }
9148
9157
  }
@@ -9167,12 +9176,12 @@ var radioCardSlotRecipe = defineSlotRecipe({
9167
9176
  },
9168
9177
  _checked: {
9169
9178
  outlineColor: "outline.focus",
9170
- outlineWidth: tokens20__default.size.stroke.md,
9179
+ outlineWidth: tokens22__default.size.stroke.md,
9171
9180
  outlineStyle: "solid",
9172
9181
  backgroundColor: "core.surface.active",
9173
9182
  _focusVisible: {
9174
9183
  outlineStyle: "double",
9175
- outlineWidth: `calc(3 * ${tokens20__default.size.stroke.md})`
9184
+ outlineWidth: `calc(3 * ${tokens22__default.size.stroke.md})`
9176
9185
  // space for double outline
9177
9186
  }
9178
9187
  }
@@ -9637,7 +9646,7 @@ var switchSlotRecipe = defineSlotRecipe({
9637
9646
  backgroundColor: "brand.surface",
9638
9647
  _focusVisible: {
9639
9648
  outlineStyle: "double",
9640
- outlineWidth: `calc(3 * ${tokens20__default.size.stroke.md})`
9649
+ outlineWidth: `calc(3 * ${tokens22__default.size.stroke.md})`
9641
9650
  // space for double outline
9642
9651
  }
9643
9652
  },
@@ -10013,28 +10022,28 @@ var borders = defineTokens.borders({
10013
10022
  value: "0"
10014
10023
  },
10015
10024
  sm: {
10016
- value: `${tokens20__default.size.stroke.sm} solid`
10025
+ value: `${tokens22__default.size.stroke.sm} solid`
10017
10026
  },
10018
10027
  "sm-dashed": {
10019
- value: `${tokens20__default.size.stroke.sm} dashed`
10028
+ value: `${tokens22__default.size.stroke.sm} dashed`
10020
10029
  },
10021
10030
  md: {
10022
- value: `${tokens20__default.size.stroke.md} solid`
10031
+ value: `${tokens22__default.size.stroke.md} solid`
10023
10032
  },
10024
10033
  "md-dashed": {
10025
- value: `${tokens20__default.size.stroke.md} dashed`
10034
+ value: `${tokens22__default.size.stroke.md} dashed`
10026
10035
  },
10027
10036
  lg: {
10028
- value: `${tokens20__default.size.stroke.lg} solid`
10037
+ value: `${tokens22__default.size.stroke.lg} solid`
10029
10038
  },
10030
10039
  "lg-dashed": {
10031
- value: `${tokens20__default.size.stroke.lg} dashed`
10040
+ value: `${tokens22__default.size.stroke.lg} dashed`
10032
10041
  }
10033
10042
  });
10034
10043
  var colors = defineTokens.colors({
10035
- ...aliasJson.color.alias,
10036
- ...paletteJson.color.palette,
10037
- linjetag: linjetagJson.color.linjetag
10044
+ ...tokens4.color.alias.color.alias,
10045
+ ...tokens4.color.palette.color.palette,
10046
+ linjetag: tokens4.color.linjetag.color.linjetag
10038
10047
  });
10039
10048
  var cursor = defineTokens.cursor({
10040
10049
  button: {
@@ -10100,29 +10109,29 @@ var easings = defineTokens.easings({
10100
10109
  }
10101
10110
  });
10102
10111
  var fontSizes = defineTokens.fontSizes({
10103
- "2xs": { value: tokens20__default.size.font.xs.mobile },
10104
- xs: { value: tokens20__default.size.font.sm.mobile },
10105
- sm: { value: tokens20__default.size.font.md.mobile },
10106
- md: { value: tokens20__default.size.font.lg.mobile },
10107
- lg: { value: tokens20__default.size.font.xl.mobile },
10108
- xl: { value: tokens20__default.size.font.xxl.mobile },
10109
- "2xl": { value: tokens20__default.size.font.xl.desktop },
10110
- "3xl": { value: tokens20__default.size.font.xxl.desktop },
10112
+ "2xs": { value: tokens22__default.size.font.xs.mobile },
10113
+ xs: { value: tokens22__default.size.font.sm.mobile },
10114
+ sm: { value: tokens22__default.size.font.md.mobile },
10115
+ md: { value: tokens22__default.size.font.lg.mobile },
10116
+ lg: { value: tokens22__default.size.font.xl.mobile },
10117
+ xl: { value: tokens22__default.size.font.xxl.mobile },
10118
+ "2xl": { value: tokens22__default.size.font.xl.desktop },
10119
+ "3xl": { value: tokens22__default.size.font.xxl.desktop },
10111
10120
  mobile: {
10112
- xs: { value: tokens20__default.size.font.xs.mobile },
10113
- sm: { value: tokens20__default.size.font.sm.mobile },
10114
- md: { value: tokens20__default.size.font.md.mobile },
10115
- lg: { value: tokens20__default.size.font.lg.mobile },
10116
- xl: { value: tokens20__default.size.font.xl.mobile },
10117
- xxl: { value: tokens20__default.size.font.xxl.mobile }
10121
+ xs: { value: tokens22__default.size.font.xs.mobile },
10122
+ sm: { value: tokens22__default.size.font.sm.mobile },
10123
+ md: { value: tokens22__default.size.font.md.mobile },
10124
+ lg: { value: tokens22__default.size.font.lg.mobile },
10125
+ xl: { value: tokens22__default.size.font.xl.mobile },
10126
+ xxl: { value: tokens22__default.size.font.xxl.mobile }
10118
10127
  },
10119
10128
  desktop: {
10120
- xs: { value: tokens20__default.size.font.xs.desktop },
10121
- sm: { value: tokens20__default.size.font.sm.desktop },
10122
- md: { value: tokens20__default.size.font.md.desktop },
10123
- lg: { value: tokens20__default.size.font.lg.desktop },
10124
- xl: { value: tokens20__default.size.font.xl.desktop },
10125
- xxl: { value: tokens20__default.size.font.xxl.desktop }
10129
+ xs: { value: tokens22__default.size.font.xs.desktop },
10130
+ sm: { value: tokens22__default.size.font.sm.desktop },
10131
+ md: { value: tokens22__default.size.font.md.desktop },
10132
+ lg: { value: tokens22__default.size.font.lg.desktop },
10133
+ xl: { value: tokens22__default.size.font.xl.desktop },
10134
+ xxl: { value: tokens22__default.size.font.xxl.desktop }
10126
10135
  }
10127
10136
  });
10128
10137
  var fontWeights = defineTokens.fontWeights({
@@ -10155,9 +10164,9 @@ var fontWeights = defineTokens.fontWeights({
10155
10164
  }
10156
10165
  });
10157
10166
  var fonts = defineTokens.fonts({
10158
- body: { value: `${tokens20__default.font.family.body}, arial, sans-serif` },
10159
- heading: { value: `${tokens20__default.font.family.heading}, arial, sans-serif` },
10160
- mono: { value: `${tokens20__default.font.family.monospace}, monospace` }
10167
+ body: { value: `${tokens22__default.font.family.body}, arial, sans-serif` },
10168
+ heading: { value: `${tokens22__default.font.family.heading}, arial, sans-serif` },
10169
+ mono: { value: `${tokens22__default.font.family.monospace}, monospace` }
10161
10170
  });
10162
10171
  var letterSpacings = defineTokens.letterSpacings({
10163
10172
  tighter: {
@@ -10194,31 +10203,31 @@ var lineHeights = defineTokens.lineHeights({
10194
10203
  }
10195
10204
  });
10196
10205
  var radii2 = defineTokens.radii({
10197
- none: { value: tokens20__default.size["border-radius"].none },
10198
- xs: { value: tokens20__default.size["border-radius"].xs },
10199
- sm: { value: tokens20__default.size["border-radius"].sm },
10200
- md: { value: tokens20__default.size["border-radius"].md },
10201
- lg: { value: tokens20__default.size["border-radius"].lg },
10202
- xl: { value: tokens20__default.size["border-radius"].xl },
10203
- "2xl": { value: tokens20__default.size["border-radius"]["2xl"] },
10206
+ none: { value: tokens22__default.size["border-radius"].none },
10207
+ xs: { value: tokens22__default.size["border-radius"].xs },
10208
+ sm: { value: tokens22__default.size["border-radius"].sm },
10209
+ md: { value: tokens22__default.size["border-radius"].md },
10210
+ lg: { value: tokens22__default.size["border-radius"].lg },
10211
+ xl: { value: tokens22__default.size["border-radius"].xl },
10212
+ "2xl": { value: tokens22__default.size["border-radius"]["2xl"] },
10204
10213
  round: { value: "50%" }
10205
10214
  });
10206
10215
  var spacing = defineTokens.spacing({
10207
- 0: { value: tokens20__default.size.spacing["0"] },
10208
- 0.5: { value: tokens20__default.size.spacing["0.5"] },
10209
- 1: { value: tokens20__default.size.spacing["1"] },
10210
- 1.5: { value: tokens20__default.size.spacing["1.5"] },
10211
- 2: { value: tokens20__default.size.spacing["2"] },
10212
- 3: { value: tokens20__default.size.spacing["3"] },
10213
- 4: { value: tokens20__default.size.spacing["4"] },
10214
- 5: { value: tokens20__default.size.spacing["5"] },
10215
- 6: { value: tokens20__default.size.spacing["6"] },
10216
- 7: { value: tokens20__default.size.spacing["7"] },
10217
- 8: { value: tokens20__default.size.spacing["8"] },
10218
- 9: { value: tokens20__default.size.spacing["9"] },
10219
- 10: { value: tokens20__default.size.spacing["10"] },
10220
- 11: { value: tokens20__default.size.spacing["11"] },
10221
- 12: { value: tokens20__default.size.spacing["12"] }
10216
+ 0: { value: tokens22__default.size.spacing["0"] },
10217
+ 0.5: { value: tokens22__default.size.spacing["0.5"] },
10218
+ 1: { value: tokens22__default.size.spacing["1"] },
10219
+ 1.5: { value: tokens22__default.size.spacing["1.5"] },
10220
+ 2: { value: tokens22__default.size.spacing["2"] },
10221
+ 3: { value: tokens22__default.size.spacing["3"] },
10222
+ 4: { value: tokens22__default.size.spacing["4"] },
10223
+ 5: { value: tokens22__default.size.spacing["5"] },
10224
+ 6: { value: tokens22__default.size.spacing["6"] },
10225
+ 7: { value: tokens22__default.size.spacing["7"] },
10226
+ 8: { value: tokens22__default.size.spacing["8"] },
10227
+ 9: { value: tokens22__default.size.spacing["9"] },
10228
+ 10: { value: tokens22__default.size.spacing["10"] },
10229
+ 11: { value: tokens22__default.size.spacing["11"] },
10230
+ 12: { value: tokens22__default.size.spacing["12"] }
10222
10231
  });
10223
10232
 
10224
10233
  // src/theme/tokens/sizes.ts
@@ -10255,10 +10264,10 @@ var namedSizes = defineTokens.sizes({
10255
10264
  });
10256
10265
  var container = defineTokens.sizes({
10257
10266
  base: { value: 0 },
10258
- sm: { value: tokens20__default.size.breakpoint.sm },
10259
- md: { value: tokens20__default.size.breakpoint.md },
10260
- lg: { value: tokens20__default.size.breakpoint.lg },
10261
- xl: { value: tokens20__default.size.breakpoint.xl }
10267
+ sm: { value: tokens22__default.size.breakpoint.sm },
10268
+ md: { value: tokens22__default.size.breakpoint.md },
10269
+ lg: { value: tokens22__default.size.breakpoint.lg },
10270
+ xl: { value: tokens22__default.size.breakpoint.xl }
10262
10271
  });
10263
10272
  var sizes = {
10264
10273
  ...largeSizes,
@@ -10267,22 +10276,22 @@ var sizes = {
10267
10276
  container
10268
10277
  };
10269
10278
  var zIndex = defineTokens.zIndex({
10270
- hide: { value: tokens20__default.depth["z-index"].hide },
10279
+ hide: { value: tokens22__default.depth["z-index"].hide },
10271
10280
  auto: { value: "auto" },
10272
- base: { value: tokens20__default.depth["z-index"].base },
10273
- docked: { value: tokens20__default.depth["z-index"].docked },
10274
- dropdown: { value: tokens20__default.depth["z-index"].dropdown },
10275
- sticky: { value: tokens20__default.depth["z-index"].sticky },
10276
- banner: { value: tokens20__default.depth["z-index"].banner },
10277
- overlay: { value: tokens20__default.depth["z-index"].overlay },
10278
- modal: { value: tokens20__default.depth["z-index"].modal },
10279
- popover: { value: tokens20__default.depth["z-index"].popover },
10280
- skipLink: { value: tokens20__default.depth["z-index"].skipLink },
10281
- toast: { value: tokens20__default.depth["z-index"].toast }
10281
+ base: { value: tokens22__default.depth["z-index"].base },
10282
+ docked: { value: tokens22__default.depth["z-index"].docked },
10283
+ dropdown: { value: tokens22__default.depth["z-index"].dropdown },
10284
+ sticky: { value: tokens22__default.depth["z-index"].sticky },
10285
+ banner: { value: tokens22__default.depth["z-index"].banner },
10286
+ overlay: { value: tokens22__default.depth["z-index"].overlay },
10287
+ modal: { value: tokens22__default.depth["z-index"].modal },
10288
+ popover: { value: tokens22__default.depth["z-index"].popover },
10289
+ skipLink: { value: tokens22__default.depth["z-index"].skipLink },
10290
+ toast: { value: tokens22__default.depth["z-index"].toast }
10282
10291
  });
10283
10292
 
10284
10293
  // src/theme/tokens/index.ts
10285
- var tokens18 = {
10294
+ var tokens20 = {
10286
10295
  aspectRatios,
10287
10296
  animations,
10288
10297
  blurs,
@@ -10351,10 +10360,10 @@ var animationStyles = defineAnimationStyles({
10351
10360
  });
10352
10361
  var breakpoints = {
10353
10362
  base: "0px",
10354
- sm: tokens20__default.size.breakpoint.sm,
10355
- md: tokens20__default.size.breakpoint.md,
10356
- lg: tokens20__default.size.breakpoint.lg,
10357
- xl: tokens20__default.size.breakpoint.xl
10363
+ sm: tokens22__default.size.breakpoint.sm,
10364
+ md: tokens22__default.size.breakpoint.md,
10365
+ lg: tokens22__default.size.breakpoint.lg,
10366
+ xl: tokens22__default.size.breakpoint.xl
10358
10367
  };
10359
10368
 
10360
10369
  // src/theme/tokens/config.ts
@@ -10644,85 +10653,85 @@ var textStyles = defineTextStyles({
10644
10653
  xxl: {
10645
10654
  value: {
10646
10655
  fontSize: [
10647
- tokens20__default.font.style.xxl["font-size"].mobile,
10656
+ tokens22__default.font.style.xxl["font-size"].mobile,
10648
10657
  null,
10649
10658
  null,
10650
- tokens20__default.font.style.xxl["font-size"].desktop
10659
+ tokens22__default.font.style.xxl["font-size"].desktop
10651
10660
  ],
10652
- fontFamily: tokens20__default.font.style.xxl["font-family"],
10653
- lineHeight: tokens20__default.font.style.xxl["line-height"]
10661
+ fontFamily: tokens22__default.font.style.xxl["font-family"],
10662
+ lineHeight: tokens22__default.font.style.xxl["line-height"]
10654
10663
  }
10655
10664
  },
10656
10665
  "xl-display": {
10657
10666
  value: {
10658
10667
  fontSize: [
10659
- tokens20__default.font.style["xl-display"]["font-size"].mobile,
10668
+ tokens22__default.font.style["xl-display"]["font-size"].mobile,
10660
10669
  null,
10661
10670
  null,
10662
- tokens20__default.font.style["xl-display"]["font-size"].desktop
10671
+ tokens22__default.font.style["xl-display"]["font-size"].desktop
10663
10672
  ],
10664
- fontFamily: tokens20__default.font.style["xl-display"]["font-family"],
10665
- lineHeight: tokens20__default.font.style["xl-display"]["line-height"]
10673
+ fontFamily: tokens22__default.font.style["xl-display"]["font-family"],
10674
+ lineHeight: tokens22__default.font.style["xl-display"]["line-height"]
10666
10675
  }
10667
10676
  },
10668
10677
  "xl-sans": {
10669
10678
  value: {
10670
10679
  fontSize: [
10671
- tokens20__default.font.style["xl-sans"]["font-size"].mobile,
10680
+ tokens22__default.font.style["xl-sans"]["font-size"].mobile,
10672
10681
  null,
10673
10682
  null,
10674
- tokens20__default.font.style["xl-sans"]["font-size"].desktop
10683
+ tokens22__default.font.style["xl-sans"]["font-size"].desktop
10675
10684
  ],
10676
- fontFamily: tokens20__default.font.style["xl-sans"]["font-family"],
10677
- lineHeight: tokens20__default.font.style["xl-sans"]["line-height"]
10685
+ fontFamily: tokens22__default.font.style["xl-sans"]["font-family"],
10686
+ lineHeight: tokens22__default.font.style["xl-sans"]["line-height"]
10678
10687
  }
10679
10688
  },
10680
10689
  lg: {
10681
10690
  value: {
10682
10691
  fontSize: [
10683
- tokens20__default.font.style.lg["font-size"].mobile,
10692
+ tokens22__default.font.style.lg["font-size"].mobile,
10684
10693
  null,
10685
10694
  null,
10686
- tokens20__default.font.style.lg["font-size"].desktop
10695
+ tokens22__default.font.style.lg["font-size"].desktop
10687
10696
  ],
10688
- fontFamily: tokens20__default.font.style.lg["font-family"],
10689
- lineHeight: tokens20__default.font.style.lg["line-height"]
10697
+ fontFamily: tokens22__default.font.style.lg["font-family"],
10698
+ lineHeight: tokens22__default.font.style.lg["line-height"]
10690
10699
  }
10691
10700
  },
10692
10701
  md: {
10693
10702
  value: {
10694
10703
  fontSize: [
10695
- tokens20__default.font.style.md["font-size"].mobile,
10704
+ tokens22__default.font.style.md["font-size"].mobile,
10696
10705
  null,
10697
10706
  null,
10698
- tokens20__default.font.style.md["font-size"].desktop
10707
+ tokens22__default.font.style.md["font-size"].desktop
10699
10708
  ],
10700
- fontFamily: tokens20__default.font.style.md["font-family"],
10701
- lineHeight: tokens20__default.font.style.md["line-height"]
10709
+ fontFamily: tokens22__default.font.style.md["font-family"],
10710
+ lineHeight: tokens22__default.font.style.md["line-height"]
10702
10711
  }
10703
10712
  },
10704
10713
  sm: {
10705
10714
  value: {
10706
10715
  fontSize: [
10707
- tokens20__default.font.style.sm["font-size"].mobile,
10716
+ tokens22__default.font.style.sm["font-size"].mobile,
10708
10717
  null,
10709
10718
  null,
10710
- tokens20__default.font.style.sm["font-size"].desktop
10719
+ tokens22__default.font.style.sm["font-size"].desktop
10711
10720
  ],
10712
- fontFamily: tokens20__default.font.style.sm["font-family"],
10713
- lineHeight: tokens20__default.font.style.sm["line-height"]
10721
+ fontFamily: tokens22__default.font.style.sm["font-family"],
10722
+ lineHeight: tokens22__default.font.style.sm["line-height"]
10714
10723
  }
10715
10724
  },
10716
10725
  xs: {
10717
10726
  value: {
10718
10727
  fontSize: [
10719
- tokens20__default.font.style.xs["font-size"].mobile,
10728
+ tokens22__default.font.style.xs["font-size"].mobile,
10720
10729
  null,
10721
10730
  null,
10722
- tokens20__default.font.style.xs["font-size"].desktop
10731
+ tokens22__default.font.style.xs["font-size"].desktop
10723
10732
  ],
10724
- fontFamily: tokens20__default.font.style.xs["font-family"],
10725
- lineHeight: tokens20__default.font.style.xs["line-height"]
10733
+ fontFamily: tokens22__default.font.style.xs["font-family"],
10734
+ lineHeight: tokens22__default.font.style.xs["line-height"]
10726
10735
  }
10727
10736
  }
10728
10737
  });
@@ -10733,7 +10742,7 @@ var generateTheme = (brand) => {
10733
10742
  theme: {
10734
10743
  breakpoints,
10735
10744
  keyframes,
10736
- tokens: tokens18,
10745
+ tokens: tokens20,
10737
10746
  semanticTokens: semanticTokens[brand],
10738
10747
  recipes,
10739
10748
  slotRecipes,