@vygruppen/spor-react 10.9.2 → 11.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@ var sporLoader = require('@vygruppen/spor-loader');
11
11
  var framerMotion = require('framer-motion');
12
12
  var date = require('@internationalized/date');
13
13
  var reactSwipeable = require('react-swipeable');
14
- var tokens11 = require('@vygruppen/spor-design-tokens');
14
+ var tokens12 = require('@vygruppen/spor-design-tokens');
15
15
  var react$1 = require('@emotion/react');
16
16
  var deepmerge = require('deepmerge');
17
17
  var themeTools = require('@chakra-ui/theme-tools');
@@ -37,7 +37,7 @@ function _interopNamespace(e) {
37
37
  }
38
38
 
39
39
  var React86__namespace = /*#__PURE__*/_interopNamespace(React86);
40
- var tokens11__namespace = /*#__PURE__*/_interopNamespace(tokens11);
40
+ var tokens12__namespace = /*#__PURE__*/_interopNamespace(tokens12);
41
41
  var deepmerge__default = /*#__PURE__*/_interopDefault(deepmerge);
42
42
 
43
43
  var __create = Object.create;
@@ -227,6 +227,7 @@ var init_CardSelect = __esm({
227
227
  fontWeight = "normal",
228
228
  ...props
229
229
  }, externalRef) => {
230
+ var _a6;
230
231
  const label = "label" in props ? props.label : props["aria-label"];
231
232
  const internalRef = React86.useRef(null);
232
233
  const triggerRef = externalRef ?? internalRef;
@@ -252,7 +253,6 @@ var init_CardSelect = __esm({
252
253
  {
253
254
  type: "button",
254
255
  ref: triggerRef,
255
- fontWeight: "bold",
256
256
  sx: styles3.trigger,
257
257
  "aria-label": label,
258
258
  ...buttonProps,
@@ -272,17 +272,20 @@ var init_CardSelect = __esm({
272
272
  triggerRef,
273
273
  offset: size2 === "sm" ? 6 : 12,
274
274
  crossOffset,
275
- placement
275
+ placement,
276
+ containerPadding: 0
276
277
  },
277
278
  /* @__PURE__ */ React86__namespace.default.createElement(
278
279
  exports.StaticCard,
279
280
  {
280
281
  colorScheme: "white",
281
- size: "lg",
282
+ size: "md",
283
+ fontSize: "xs",
282
284
  border: "sm",
283
- borderColor: "grey",
285
+ borderColor: "silver",
284
286
  sx: styles3.card,
285
- ...overlayProps
287
+ ...overlayProps,
288
+ maxWidth: (((_a6 = triggerRef.current) == null ? void 0 : _a6.clientWidth) ?? 1) * 2
286
289
  },
287
290
  /* @__PURE__ */ React86__namespace.default.createElement(Dialog, { "aria-label": label }, children)
288
291
  )
@@ -1102,7 +1105,7 @@ var init_ChoiceChip = __esm({
1102
1105
  {
1103
1106
  ...getInputProps({}, ref),
1104
1107
  id,
1105
- disabled: isDisabled
1108
+ disabled: isDisabled || state2.isDisabled
1106
1109
  }
1107
1110
  ),
1108
1111
  /* @__PURE__ */ React86__namespace.default.createElement(
@@ -1114,7 +1117,7 @@ var init_ChoiceChip = __esm({
1114
1117
  "data-hover": dataAttr(state2.isHovered),
1115
1118
  "data-focus": dataAttr(state2.isFocused),
1116
1119
  "data-active": dataAttr(state2.isActive),
1117
- "data-disabled": dataAttr(state2.isDisabled)
1120
+ "data-disabled": dataAttr(isDisabled || state2.isDisabled)
1118
1121
  },
1119
1122
  icon && /* @__PURE__ */ React86__namespace.default.createElement(react.chakra.span, { __css: styles3.icon }, state2.isChecked ? icon.checked : icon.default),
1120
1123
  chipType !== "icon" && /* @__PURE__ */ React86__namespace.default.createElement(react.chakra.span, { __css: styles3.label, ...getCheckboxProps() }, children),
@@ -2074,7 +2077,7 @@ var init_RadioGroup = __esm({
2074
2077
  );
2075
2078
  }
2076
2079
  });
2077
- exports.SearchInput = void 0; var texts6;
2080
+ exports.SearchInput = void 0; var getOuterProps, texts6;
2078
2081
  var init_SearchInput = __esm({
2079
2082
  "src/input/SearchInput.tsx"() {
2080
2083
  init_input();
@@ -2086,12 +2089,13 @@ var init_SearchInput = __esm({
2086
2089
  const formControlProps = react.useFormControlContext();
2087
2090
  const autoGeneratedId = React86.useId();
2088
2091
  const inputId = props.id ?? (formControlProps == null ? void 0 : formControlProps.id) ?? autoGeneratedId;
2089
- return /* @__PURE__ */ React86__namespace.default.createElement(react.InputGroup, { position: "relative" }, /* @__PURE__ */ React86__namespace.default.createElement(exports.InputLeftElement, null, /* @__PURE__ */ React86__namespace.default.createElement(sporIconReact.SearchOutline24Icon, null)), /* @__PURE__ */ React86__namespace.default.createElement(
2092
+ const { outerProps, innerProps } = getOuterProps(props);
2093
+ return /* @__PURE__ */ React86__namespace.default.createElement(react.InputGroup, { position: "relative", ...outerProps }, /* @__PURE__ */ React86__namespace.default.createElement(exports.InputLeftElement, null, /* @__PURE__ */ React86__namespace.default.createElement(sporIconReact.SearchOutline24Icon, null)), /* @__PURE__ */ React86__namespace.default.createElement(
2090
2094
  react.Input,
2091
2095
  {
2092
2096
  paddingLeft: 7,
2093
2097
  paddingRight: 7,
2094
- ...props,
2098
+ ...innerProps,
2095
2099
  id: inputId,
2096
2100
  type: "search",
2097
2101
  css: {
@@ -2117,6 +2121,19 @@ var init_SearchInput = __esm({
2117
2121
  )));
2118
2122
  }
2119
2123
  );
2124
+ getOuterProps = (props) => {
2125
+ const layoutKeys = /* @__PURE__ */ new Set(["w, width, maxW, minW, maxWidth, minWidth"]);
2126
+ const outerProps = {};
2127
+ const innerProps = {};
2128
+ for (const key in props) {
2129
+ if (layoutKeys.has(key)) {
2130
+ outerProps[key] = props[key];
2131
+ } else {
2132
+ innerProps[key] = props[key];
2133
+ }
2134
+ }
2135
+ return { outerProps, innerProps };
2136
+ };
2120
2137
  texts6 = createTexts({
2121
2138
  label: {
2122
2139
  nb: "S\xF8k",
@@ -2284,6 +2301,7 @@ exports.RadioCard = void 0;
2284
2301
  var init_RadioCard = __esm({
2285
2302
  "src/layout/RadioCard.tsx"() {
2286
2303
  init_RadioCardGroup();
2304
+ init_dist();
2287
2305
  exports.RadioCard = react.forwardRef(
2288
2306
  ({ children, value, isDisabled, ...props }, ref) => {
2289
2307
  const context = React86.useContext(exports.RadioCardGroupContext);
@@ -2346,9 +2364,9 @@ var init_RadioCard = __esm({
2346
2364
  as: "label",
2347
2365
  name,
2348
2366
  htmlFor: inputId,
2349
- "aria-checked": isChecked,
2350
- "data-checked": isChecked,
2351
- "data-disabled": isDisabled,
2367
+ "aria-checked": dataAttr(isChecked),
2368
+ "data-checked": dataAttr(isChecked),
2369
+ "data-disabled": dataAttr(isDisabled),
2352
2370
  ...props,
2353
2371
  __css: {
2354
2372
  ...styles3.container,
@@ -2863,7 +2881,16 @@ var init_ProgressLoader = __esm({
2863
2881
  exports.Skeleton = void 0;
2864
2882
  var init_Skeleton = __esm({
2865
2883
  "src/loader/Skeleton.tsx"() {
2866
- exports.Skeleton = react.forwardRef((props, ref) => /* @__PURE__ */ React86__namespace.default.createElement(react.Skeleton, { ...props, ref }));
2884
+ exports.Skeleton = react.forwardRef((props, ref) => /* @__PURE__ */ React86__namespace.default.createElement(
2885
+ react.Skeleton,
2886
+ {
2887
+ ...props,
2888
+ ref,
2889
+ "aria-busy": "true",
2890
+ "aria-hidden": "true",
2891
+ role: "alert"
2892
+ }
2893
+ ));
2867
2894
  }
2868
2895
  });
2869
2896
  exports.SkeletonCircle = void 0;
@@ -5506,7 +5533,7 @@ var init_FullScreenDrawer = __esm({
5506
5533
  const { onClose } = react.useModalContext();
5507
5534
  const { t: t2 } = useTranslation();
5508
5535
  const [isScreenSizeMinSm] = react.useMediaQuery(
5509
- `(min-width: ${tokens11__namespace.default.size.breakpoint.sm})`
5536
+ `(min-width: ${tokens12__namespace.default.size.breakpoint.sm})`
5510
5537
  );
5511
5538
  if (isScreenSizeMinSm) {
5512
5539
  return /* @__PURE__ */ React86__namespace.default.createElement(
@@ -5516,8 +5543,7 @@ var init_FullScreenDrawer = __esm({
5516
5543
  leftIcon: /* @__PURE__ */ React86__namespace.default.createElement(sporIconReact.CloseFill24Icon, null),
5517
5544
  onClick: onClose,
5518
5545
  "aria-label": t2(texts23.close),
5519
- width: "fit-content",
5520
- marginLeft: "auto"
5546
+ width: "fit-content"
5521
5547
  },
5522
5548
  t2(texts23.close)
5523
5549
  );
@@ -5536,7 +5562,7 @@ var init_FullScreenDrawer = __esm({
5536
5562
  const { onClose } = react.useModalContext();
5537
5563
  const { t: t2 } = useTranslation();
5538
5564
  const [isScreenSizeMinSm] = react.useMediaQuery(
5539
- `(min-width: ${tokens11__namespace.default.size.breakpoint.sm})`
5565
+ `(min-width: ${tokens12__namespace.default.size.breakpoint.sm})`
5540
5566
  );
5541
5567
  if (isScreenSizeMinSm) {
5542
5568
  return /* @__PURE__ */ React86__namespace.default.createElement(
@@ -5546,8 +5572,7 @@ var init_FullScreenDrawer = __esm({
5546
5572
  leftIcon: /* @__PURE__ */ React86__namespace.default.createElement(sporIconReact.ArrowLeftFill24Icon, null),
5547
5573
  onClick: onClose,
5548
5574
  "aria-label": t2(texts23.backAriaLabel),
5549
- width: "fit-content",
5550
- marginLeft: "auto"
5575
+ width: "fit-content"
5551
5576
  },
5552
5577
  t2(texts23.back)
5553
5578
  );
@@ -10900,10 +10925,10 @@ var init_chunk_MBVM6PEK = __esm({
10900
10925
  });
10901
10926
  variantOutline3 = defineStyle((props) => {
10902
10927
  const { colorScheme: c } = props;
10903
- const borderColor = themeTools.mode(`gray.200`, `whiteAlpha.300`)(props);
10928
+ const borderColor2 = themeTools.mode(`gray.200`, `whiteAlpha.300`)(props);
10904
10929
  return {
10905
10930
  border: "1px solid",
10906
- borderColor: c === "gray" ? borderColor : "currentColor",
10931
+ borderColor: c === "gray" ? borderColor2 : "currentColor",
10907
10932
  ".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)": { marginEnd: "-1px" },
10908
10933
  ".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)": { marginBottom: "-1px" },
10909
10934
  ...runIfFn(variantGhost, props)
@@ -11954,8 +11979,8 @@ function ghostBackground(state2, props) {
11954
11979
  case "selected": {
11955
11980
  return {
11956
11981
  backgroundColor: themeTools.mode(
11957
- "ghost.surface.selected.light",
11958
- "ghost.surface.selected.dark"
11982
+ "ghost.surface.hover.light",
11983
+ "ghost.surface.hover.dark"
11959
11984
  )(props)
11960
11985
  };
11961
11986
  }
@@ -12194,10 +12219,14 @@ var init_alert_expandable = __esm({
12194
12219
  },
12195
12220
  container: {
12196
12221
  _hover: {
12222
+ backgroundColor: "cloudy",
12197
12223
  outlineColor: "sky"
12198
12224
  },
12199
12225
  _active: {
12200
12226
  backgroundColor: "icyBlue"
12227
+ },
12228
+ _focus: {
12229
+ outlineColor: "greenHaze"
12201
12230
  }
12202
12231
  }
12203
12232
  },
@@ -12207,10 +12236,14 @@ var init_alert_expandable = __esm({
12207
12236
  },
12208
12237
  container: {
12209
12238
  _hover: {
12239
+ backgroundColor: "coralGreen",
12210
12240
  outlineColor: "blueGreen"
12211
12241
  },
12212
12242
  _active: {
12213
12243
  backgroundColor: "mint"
12244
+ },
12245
+ _focus: {
12246
+ outlineColor: "greenHaze"
12214
12247
  }
12215
12248
  }
12216
12249
  },
@@ -12220,7 +12253,11 @@ var init_alert_expandable = __esm({
12220
12253
  },
12221
12254
  container: {
12222
12255
  _hover: {
12223
- outlineColor: "sunshine"
12256
+ backgroundColor: "primrose",
12257
+ outlineColor: "banana"
12258
+ },
12259
+ _focus: {
12260
+ outlineColor: "greenHaze"
12224
12261
  },
12225
12262
  _active: {
12226
12263
  backgroundColor: "cornSilk"
@@ -12233,8 +12270,12 @@ var init_alert_expandable = __esm({
12233
12270
  },
12234
12271
  container: {
12235
12272
  _hover: {
12273
+ backgroundColor: "burntYellow",
12236
12274
  outlineColor: "golden"
12237
12275
  },
12276
+ _focus: {
12277
+ outlineColor: "greenHaze"
12278
+ },
12238
12279
  _active: {
12239
12280
  backgroundColor: "sunshine"
12240
12281
  }
@@ -12246,10 +12287,14 @@ var init_alert_expandable = __esm({
12246
12287
  },
12247
12288
  container: {
12248
12289
  _hover: {
12290
+ backgroundColor: "salmon",
12249
12291
  outlineColor: "apricot"
12250
12292
  },
12251
12293
  _active: {
12252
12294
  backgroundColor: "pink"
12295
+ },
12296
+ _focus: {
12297
+ outlineColor: "greenHaze"
12253
12298
  }
12254
12299
  }
12255
12300
  },
@@ -12342,10 +12387,14 @@ var init_alert_service = __esm({
12342
12387
  service: {
12343
12388
  container: {
12344
12389
  _hover: {
12345
- outlineColor: "blueGreen"
12390
+ backgroundColor: "teal.600",
12391
+ outlineColor: "teal.600"
12392
+ },
12393
+ _focus: {
12394
+ outlineColor: "green.500"
12346
12395
  },
12347
12396
  _active: {
12348
- backgroundColor: "pine",
12397
+ backgroundColor: "teal.400",
12349
12398
  outlineColor: "pine"
12350
12399
  },
12351
12400
  color: "white"
@@ -12694,474 +12743,50 @@ var init_button2 = __esm({
12694
12743
  button_default = config7;
12695
12744
  }
12696
12745
  });
12697
- var parts4, helpers5, config8, card_select_default;
12698
- var init_card_select = __esm({
12699
- "src/theme/components/card-select.ts"() {
12700
- init_dist4();
12701
- init_dist3();
12702
- init_base_utils();
12703
- init_floating_utils();
12704
- init_focus_utils();
12705
- init_ghost_utils();
12706
- parts4 = anatomy("card-select").parts("trigger", "card");
12707
- helpers5 = createMultiStyleConfigHelpers(parts4.keys);
12708
- config8 = helpers5.defineMultiStyleConfig({
12709
- baseStyle: (props) => ({
12710
- trigger: {
12711
- appearance: "none",
12712
- display: "flex",
12713
- alignItems: "center",
12714
- transitionProperty: "outline",
12715
- transitionDuration: "fast",
12716
- ...baseText("default", props),
12717
- ...focusVisibleStyles(props)
12718
- },
12719
- card: {
12720
- borderRadius: "sm",
12721
- boxShadow: "md",
12722
- padding: 3,
12723
- ...baseText("default", props),
12724
- backgroundColor: themeTools.mode(
12725
- "white",
12726
- `color-mix(in srgb, white 10%, var(--spor-colors-bg-default-dark))`
12727
- )(props)
12728
- }
12729
- }),
12730
- variants: {
12731
- base: (props) => ({
12732
- trigger: {
12733
- ...baseBorder("default", props),
12734
- _hover: {
12735
- ...baseBorder("hover", props)
12736
- },
12737
- _active: {
12738
- ...baseBackground("active", props),
12739
- ...baseBorder("default", props)
12740
- },
12741
- _expanded: {
12742
- ...baseBackground("active", props)
12743
- }
12744
- }
12745
- }),
12746
- ghost: (props) => ({
12747
- trigger: {
12748
- _hover: {
12749
- ...ghostBackground("hover", props)
12750
- },
12751
- _active: {
12752
- ...ghostBackground("active", props)
12753
- },
12754
- _expanded: {
12755
- ...ghostBackground("selected", props)
12756
- }
12757
- }
12758
- }),
12759
- floating: (props) => ({
12760
- trigger: {
12761
- boxShadow: "sm",
12762
- ...floatingBackground("default", props),
12763
- ...floatingBorder("default", props),
12764
- transition: "all .1s ease-out",
12765
- _hover: {
12766
- ...floatingBackground("hover", props),
12767
- ...floatingBorder("hover", props)
12768
- },
12769
- _active: {
12770
- ...floatingBackground("active", props),
12771
- ...floatingBorder("active", props)
12772
- },
12773
- _expanded: {
12774
- ...floatingBackground("active", props)
12775
- }
12776
- },
12777
- card: {}
12778
- })
12779
- },
12780
- sizes: {
12781
- sm: {
12782
- trigger: {
12783
- paddingX: 1.5,
12784
- paddingY: 1,
12785
- minHeight: "1.25rem",
12786
- fontSize: "xs",
12787
- borderRadius: "sm"
12788
- }
12789
- },
12790
- md: {
12791
- trigger: {
12792
- paddingX: 2,
12793
- paddingY: 1.5,
12794
- minHeight: "2.625rem",
12795
- fontSize: "sm",
12796
- borderRadius: "sm"
12797
- }
12798
- },
12799
- lg: {
12800
- trigger: {
12801
- paddingX: 3,
12802
- paddingY: 2,
12803
- minHeight: "3.375rem",
12804
- fontSize: "sm",
12805
- borderRadius: "sm"
12806
- }
12807
- }
12808
- }
12809
- });
12810
- card_select_default = config8;
12746
+ var borders2;
12747
+ var init_borders = __esm({
12748
+ "src/theme/foundations/borders.ts"() {
12749
+ borders2 = {
12750
+ none: "0",
12751
+ sm: `${tokens12__namespace.default.size.stroke.sm} solid`,
12752
+ "sm-dashed": `${tokens12__namespace.default.size.stroke.sm} dashed`,
12753
+ md: `${tokens12__namespace.default.size.stroke.md} solid`,
12754
+ "md-dashed": `${tokens12__namespace.default.size.stroke.md} dashed`,
12755
+ lg: `${tokens12__namespace.default.size.stroke.lg} solid`,
12756
+ "lg-dashed": `${tokens12__namespace.default.size.stroke.lg} dashed`
12757
+ };
12811
12758
  }
12812
12759
  });
12813
- var helpers6, config9, checkbox_default;
12814
- var init_checkbox = __esm({
12815
- "src/theme/components/checkbox.ts"() {
12816
- init_dist4();
12817
- init_base_utils();
12818
- init_brand_utils();
12819
- init_focus_utils();
12820
- helpers6 = react.createMultiStyleConfigHelpers(checkboxAnatomy.keys);
12821
- config9 = helpers6.defineMultiStyleConfig({
12822
- baseStyle: (props) => ({
12823
- container: {
12824
- _hover: {
12825
- "input:enabled:not([aria-invalid]) + .chakra-checkbox__control": {
12826
- ...baseBackground("hover", props),
12827
- borderColor: brandBackground("hover", props).backgroundColor
12828
- },
12829
- "input:enabled[aria-invalid] + .chakra-checkbox__control": {
12830
- backgroundColor: themeTools.mode("white", "inherit")(props),
12831
- borderColor: themeTools.mode("outline.error.light", "outline.error.dark")
12832
- },
12833
- "input:enabled:checked:not([aria-invalid]) + .chakra-checkbox__control": {
12834
- ...brandBackground("hover", props),
12835
- borderColor: brandBackground("hover", props).backgroundColor
12836
- },
12837
- "input:enabled:checked[aria-invalid] + .chakra-checkbox__control": {
12838
- borderColor: themeTools.mode("outline.error.light", "outline.error.dark"),
12839
- backgroundColor: themeTools.mode("outline.error.light", "outline.error.dark")
12840
- }
12841
- }
12842
- },
12843
- icon: {
12844
- fontSize: "1em",
12845
- transitionProperty: "transform",
12846
- transitionDuration: "normal",
12847
- strokeWidth: "1.5px !important"
12848
- // Required to make the default icon look correct
12849
- },
12850
- control: {
12851
- width: 4,
12852
- height: 4,
12853
- transitionProperty: "background, border-color",
12854
- transitionDuration: "normal",
12855
- border: "2px solid",
12856
- borderColor: themeTools.mode(
12857
- "base.outline.default.light",
12858
- "base.outline.default.dark"
12859
- )(props),
12860
- borderRadius: "xs",
12861
- ...baseBackground("default", props),
12862
- ...focusVisibleStyles(props),
12863
- _checked: {
12864
- ...brandText("default", props),
12865
- ...brandBackground("default", props),
12866
- borderColor: brandBackground("default", props).backgroundColor,
12867
- _disabled: {
12868
- ...baseBackground("disabled", props),
12869
- ...baseText("disabled", props),
12870
- borderColor: "currentColor"
12871
- },
12872
- _invalid: {
12873
- backgroundColor: "brightRed",
12874
- borderColor: "brightRed"
12875
- }
12876
- },
12877
- _disabled: {
12878
- ...baseBackground("disabled", props),
12879
- borderColor: baseText("disabled", props).color
12880
- },
12881
- _invalid: {
12882
- ...baseBackground("default", props),
12883
- borderColor: "brightRed"
12884
- }
12885
- },
12886
- label: {
12887
- userSelect: "none",
12888
- _disabled: { opacity: 0.4 }
12889
- }
12890
- })
12891
- });
12892
- checkbox_default = config9;
12893
- }
12894
- });
12895
- var parts5, helpers7, config10, choice_chip_default;
12896
- var init_choice_chip = __esm({
12897
- "src/theme/components/choice-chip.ts"() {
12898
- init_accent_utils();
12899
- init_base_utils();
12900
- init_brand_utils();
12901
- init_floating_utils();
12902
- init_focus_utils();
12903
- parts5 = themeTools.anatomy("choice-chip").parts("container", "icon", "label");
12904
- helpers7 = react.createMultiStyleConfigHelpers(parts5.keys);
12905
- config10 = helpers7.defineMultiStyleConfig({
12906
- baseStyle: (props) => ({
12907
- container: {
12908
- display: "inline-flex",
12909
- alignItems: "center",
12910
- fontSize: "xs",
12911
- cursor: "pointer",
12912
- transitionProperty: "all",
12913
- borderRadius: "xl",
12914
- transitionDuration: "fast",
12915
- _checked: {
12916
- outlineColor: "transparent",
12917
- ...accentText("selected", props),
12918
- ...accentBackground("selected", props),
12919
- _hover: {
12920
- ...brandBackground("hover", props),
12921
- ...baseText("selected", props),
12922
- outlineColor: "transparent"
12923
- },
12924
- _active: {
12925
- ...baseText("selected", props),
12926
- ...brandBackground("active", props)
12927
- }
12928
- },
12929
- _disabled: {
12930
- pointerEvents: "none",
12931
- boxShadow: "none",
12932
- ...baseText("disabled", props),
12933
- ...baseBackground("disabled", props),
12934
- _hover: {
12935
- ...baseBackground("disabled", props),
12936
- boxShadow: "none",
12937
- ...baseText("disabled", props)
12938
- },
12939
- _checked: {
12940
- cursor: "not-allowed",
12941
- boxShadow: "none",
12942
- ...baseText("disabled", props),
12943
- ...baseBackground("disabled", props),
12944
- _hover: {
12945
- ...baseBackground("disabled", props),
12946
- boxShadow: "none",
12947
- ...baseText("disabled", props)
12948
- }
12949
- }
12950
- },
12951
- "input:focus-visible + &": focusVisibleStyles(props)._focusVisible
12952
- },
12953
- icon: {
12954
- marginRight: props.hasLabel ? 1 : 0
12955
- }
12956
- }),
12957
- variants: {
12958
- base: (props) => ({
12959
- container: {
12960
- ...baseBorder("default", props),
12961
- ...baseText("default", props),
12962
- _hover: {
12963
- ...baseText("default", props),
12964
- ...baseBorder("hover", props)
12965
- },
12966
- _active: {
12967
- ...baseBackground("active", props),
12968
- ...baseBorder("default", props)
12969
- }
12970
- }
12971
- }),
12972
- accent: (props) => ({
12973
- container: {
12974
- ...accentBackground("default", props),
12975
- ...accentText("default", props),
12976
- _hover: {
12977
- ...accentBackground("hover", props),
12978
- ...accentText("default", props)
12979
- },
12980
- _active: {
12981
- ...accentText("default", props),
12982
- ...accentBackground("active", props)
12983
- }
12984
- },
12985
- _active: {
12986
- ...accentText("default", props),
12987
- ...accentBackground("active", props)
12988
- }
12989
- }),
12990
- floating: (props) => ({
12991
- container: {
12992
- ...floatingBackground("default", props),
12993
- ...baseText("default", props),
12994
- ...floatingBorder("default", props),
12995
- boxShadow: "sm",
12996
- _hover: {
12997
- ...floatingBackground("hover", props),
12998
- ...floatingBorder("hover", props),
12999
- ...baseText("default", props),
13000
- boxShadow: "md"
13001
- },
13002
- _active: {
13003
- ...floatingBackground("active", props),
13004
- ...floatingBorder("active", props),
13005
- ...baseText("default", props)
13006
- }
13007
- }
13008
- })
13009
- },
13010
- sizes: {
13011
- xs: {
13012
- container: {
13013
- _checked: {
13014
- borderRadius: "0.563rem"
13015
- },
13016
- height: 5,
13017
- paddingX: 1.5
13018
- }
13019
- },
13020
- sm: {
13021
- container: {
13022
- _checked: {
13023
- borderRadius: "sm"
13024
- },
13025
- height: 6,
13026
- paddingX: 2
13027
- }
13028
- },
13029
- md: {
13030
- container: {
13031
- _checked: {
13032
- borderRadius: "sm"
13033
- },
13034
- height: 7,
13035
- paddingX: 2
13036
- }
13037
- },
13038
- lg: {
13039
- container: {
13040
- _checked: {
13041
- borderRadius: "md"
13042
- },
13043
- height: 8,
13044
- paddingX: 3
13045
- }
13046
- }
13047
- },
13048
- defaultProps: {
13049
- size: "sm"
13050
- }
13051
- });
13052
- choice_chip_default = config10;
13053
- }
13054
- });
13055
- var $size6, config11, close_button_default;
13056
- var init_close_button = __esm({
13057
- "src/theme/components/close-button.ts"() {
13058
- init_focus_utils();
13059
- init_ghost_utils();
13060
- $size6 = themeTools.cssVar("close-button-size");
13061
- config11 = react.defineStyleConfig({
13062
- baseStyle: (props) => ({
13063
- w: [$size6.reference],
13064
- h: [$size6.reference],
13065
- transitionProperty: "common",
13066
- transitionDuration: "normal",
13067
- borderRadius: "md",
13068
- backgroundColor: "transparent",
13069
- color: themeTools.mode("darkGrey", "white")(props),
13070
- fontWeight: "normal",
13071
- ...focusVisibleStyles(props),
13072
- _hover: {
13073
- ...ghostBackground("hover", props),
13074
- _disabled: {
13075
- color: "dimGrey"
13076
- }
13077
- },
13078
- _active: {
13079
- ...ghostBackground("active", props)
13080
- }
13081
- }),
13082
- sizes: {
13083
- lg: {
13084
- [$size6.variable]: "40px",
13085
- fontSize: "xs"
13086
- },
13087
- md: {
13088
- [$size6.variable]: "32px",
13089
- fontSize: "0.75rem"
13090
- },
13091
- sm: {
13092
- [$size6.variable]: "24px",
13093
- fontSize: "0.625rem"
13094
- }
13095
- },
13096
- defaultProps: {
13097
- size: "md"
13098
- }
13099
- });
13100
- close_button_default = config11;
13101
- }
13102
- });
13103
- var variants13, defaultProps2, config12, code_default;
13104
- var init_code = __esm({
13105
- "src/theme/components/code.ts"() {
13106
- init_badge();
13107
- ({ variants: variants13, defaultProps: defaultProps2 } = badge_default);
13108
- config12 = react.defineStyleConfig({
13109
- baseStyle: {
13110
- fontFamily: "monospace",
13111
- fontSize: ["mobile.xs", "desktop.xs"],
13112
- borderRadius: "xs",
13113
- paddingX: 1
13114
- },
13115
- variants: variants13,
13116
- defaultProps: defaultProps2
13117
- });
13118
- code_default = config12;
13119
- }
13120
- });
13121
- var borders2;
13122
- var init_borders = __esm({
13123
- "src/theme/foundations/borders.ts"() {
13124
- borders2 = {
13125
- none: "0",
13126
- sm: `${tokens11__namespace.default.size.stroke.sm} solid`,
13127
- "sm-dashed": `${tokens11__namespace.default.size.stroke.sm} dashed`,
13128
- md: `${tokens11__namespace.default.size.stroke.md} solid`,
13129
- "md-dashed": `${tokens11__namespace.default.size.stroke.md} dashed`,
13130
- lg: `${tokens11__namespace.default.size.stroke.lg} solid`,
13131
- "lg-dashed": `${tokens11__namespace.default.size.stroke.lg} dashed`
13132
- };
13133
- }
13134
- });
13135
- var breakpoints2;
13136
- var init_breakpoints = __esm({
13137
- "src/theme/foundations/breakpoints.ts"() {
13138
- breakpoints2 = {
13139
- base: "0px",
13140
- sm: tokens11__namespace.default.size.breakpoint.sm,
13141
- md: tokens11__namespace.default.size.breakpoint.md,
13142
- lg: tokens11__namespace.default.size.breakpoint.lg,
13143
- xl: tokens11__namespace.default.size.breakpoint.xl,
13144
- "2xl": tokens11__namespace.default.size.breakpoint.xl
13145
- };
12760
+ var breakpoints2;
12761
+ var init_breakpoints = __esm({
12762
+ "src/theme/foundations/breakpoints.ts"() {
12763
+ breakpoints2 = {
12764
+ base: "0px",
12765
+ sm: tokens12__namespace.default.size.breakpoint.sm,
12766
+ md: tokens12__namespace.default.size.breakpoint.md,
12767
+ lg: tokens12__namespace.default.size.breakpoint.lg,
12768
+ xl: tokens12__namespace.default.size.breakpoint.xl,
12769
+ "2xl": tokens12__namespace.default.size.breakpoint.xl
12770
+ };
13146
12771
  }
13147
12772
  });
13148
12773
  var colors2;
13149
12774
  var init_colors = __esm({
13150
12775
  "src/theme/foundations/colors.ts"() {
13151
12776
  colors2 = {
13152
- ...tokens11__namespace.default.color.alias,
13153
- ...tokens11__namespace.default.color.palette,
13154
- ...tokens11__namespace.default.color.vyDigital,
13155
- linjetag: tokens11__namespace.default.color.linjetag
12777
+ ...tokens12__namespace.default.color.alias,
12778
+ ...tokens12__namespace.default.color.palette,
12779
+ ...tokens12__namespace.default.color.vyDigital,
12780
+ linjetag: tokens12__namespace.default.color.linjetag
13156
12781
  };
13157
12782
  }
13158
12783
  });
13159
12784
 
13160
12785
  // src/theme/foundations/config.ts
13161
- var config13;
12786
+ var config8;
13162
12787
  var init_config = __esm({
13163
12788
  "src/theme/foundations/config.ts"() {
13164
- config13 = {
12789
+ config8 = {
13165
12790
  cssVarPrefix: "spor",
13166
12791
  initialColorMode: "light",
13167
12792
  useSystemColorMode: false
@@ -13172,9 +12797,9 @@ var fonts;
13172
12797
  var init_fonts = __esm({
13173
12798
  "src/theme/foundations/fonts.ts"() {
13174
12799
  fonts = {
13175
- body: `${tokens11__namespace.default.font.family.body}, arial, sans-serif`,
13176
- heading: `${tokens11__namespace.default.font.family.heading}, arial, sans-serif`,
13177
- mono: `${tokens11__namespace.default.font.family.monospace}, monospace`
12800
+ body: `${tokens12__namespace.default.font.family.body}, arial, sans-serif`,
12801
+ heading: `${tokens12__namespace.default.font.family.heading}, arial, sans-serif`,
12802
+ mono: `${tokens12__namespace.default.font.family.monospace}, monospace`
13178
12803
  };
13179
12804
  }
13180
12805
  });
@@ -13182,29 +12807,29 @@ var fontSizes;
13182
12807
  var init_fontSizes = __esm({
13183
12808
  "src/theme/foundations/fontSizes.ts"() {
13184
12809
  fontSizes = {
13185
- "2xs": tokens11__namespace.default.size.font.xs.mobile,
13186
- xs: tokens11__namespace.default.size.font.sm.mobile,
13187
- sm: tokens11__namespace.default.size.font.md.mobile,
13188
- md: tokens11__namespace.default.size.font.lg.mobile,
13189
- lg: tokens11__namespace.default.size.font.xl.mobile,
13190
- xl: tokens11__namespace.default.size.font.xxl.mobile,
13191
- "2xl": tokens11__namespace.default.size.font.xl.desktop,
13192
- "3xl": tokens11__namespace.default.size.font.xxl.desktop,
12810
+ "2xs": tokens12__namespace.default.size.font.xs.mobile,
12811
+ xs: tokens12__namespace.default.size.font.sm.mobile,
12812
+ sm: tokens12__namespace.default.size.font.md.mobile,
12813
+ md: tokens12__namespace.default.size.font.lg.mobile,
12814
+ lg: tokens12__namespace.default.size.font.xl.mobile,
12815
+ xl: tokens12__namespace.default.size.font.xxl.mobile,
12816
+ "2xl": tokens12__namespace.default.size.font.xl.desktop,
12817
+ "3xl": tokens12__namespace.default.size.font.xxl.desktop,
13193
12818
  mobile: {
13194
- xs: tokens11__namespace.default.size.font.xs.mobile,
13195
- sm: tokens11__namespace.default.size.font.sm.mobile,
13196
- md: tokens11__namespace.default.size.font.md.mobile,
13197
- lg: tokens11__namespace.default.size.font.lg.mobile,
13198
- xl: tokens11__namespace.default.size.font.xl.mobile,
13199
- xxl: tokens11__namespace.default.size.font.xxl.mobile
12819
+ xs: tokens12__namespace.default.size.font.xs.mobile,
12820
+ sm: tokens12__namespace.default.size.font.sm.mobile,
12821
+ md: tokens12__namespace.default.size.font.md.mobile,
12822
+ lg: tokens12__namespace.default.size.font.lg.mobile,
12823
+ xl: tokens12__namespace.default.size.font.xl.mobile,
12824
+ xxl: tokens12__namespace.default.size.font.xxl.mobile
13200
12825
  },
13201
12826
  desktop: {
13202
- xs: tokens11__namespace.default.size.font.xs.desktop,
13203
- sm: tokens11__namespace.default.size.font.sm.desktop,
13204
- md: tokens11__namespace.default.size.font.md.desktop,
13205
- lg: tokens11__namespace.default.size.font.lg.desktop,
13206
- xl: tokens11__namespace.default.size.font.xl.desktop,
13207
- xxl: tokens11__namespace.default.size.font.xxl.desktop
12827
+ xs: tokens12__namespace.default.size.font.xs.desktop,
12828
+ sm: tokens12__namespace.default.size.font.sm.desktop,
12829
+ md: tokens12__namespace.default.size.font.md.desktop,
12830
+ lg: tokens12__namespace.default.size.font.lg.desktop,
12831
+ xl: tokens12__namespace.default.size.font.xl.desktop,
12832
+ xxl: tokens12__namespace.default.size.font.xxl.desktop
13208
12833
  }
13209
12834
  };
13210
12835
  }
@@ -13225,8 +12850,8 @@ var lineHeights;
13225
12850
  var init_lineHeights = __esm({
13226
12851
  "src/theme/foundations/lineHeights.ts"() {
13227
12852
  lineHeights = {
13228
- base: tokens11__namespace.default.font.style.lg["line-height"],
13229
- normal: tokens11__namespace.default.font.style.lg["line-height"]
12853
+ base: tokens12__namespace.default.font.style.lg["line-height"],
12854
+ normal: tokens12__namespace.default.font.style.lg["line-height"]
13230
12855
  };
13231
12856
  }
13232
12857
  });
@@ -13234,13 +12859,13 @@ var radii2;
13234
12859
  var init_radii = __esm({
13235
12860
  "src/theme/foundations/radii.ts"() {
13236
12861
  radii2 = {
13237
- none: tokens11__namespace.default.size["border-radius"].none,
13238
- xs: tokens11__namespace.default.size["border-radius"].xs,
13239
- sm: tokens11__namespace.default.size["border-radius"].sm,
13240
- md: tokens11__namespace.default.size["border-radius"].md,
13241
- lg: tokens11__namespace.default.size["border-radius"].lg,
13242
- xl: tokens11__namespace.default.size["border-radius"].xl,
13243
- "2xl": tokens11__namespace.default.size["border-radius"]["2xl"],
12862
+ none: tokens12__namespace.default.size["border-radius"].none,
12863
+ xs: tokens12__namespace.default.size["border-radius"].xs,
12864
+ sm: tokens12__namespace.default.size["border-radius"].sm,
12865
+ md: tokens12__namespace.default.size["border-radius"].md,
12866
+ lg: tokens12__namespace.default.size["border-radius"].lg,
12867
+ xl: tokens12__namespace.default.size["border-radius"].xl,
12868
+ "2xl": tokens12__namespace.default.size["border-radius"]["2xl"],
13244
12869
  round: "50%"
13245
12870
  };
13246
12871
  }
@@ -13250,18 +12875,18 @@ var init_shadows = __esm({
13250
12875
  "src/theme/foundations/shadows.ts"() {
13251
12876
  shadows2 = {
13252
12877
  none: "none",
13253
- sm: tokens11__namespace.default.depth.shadow.sm.value,
13254
- md: tokens11__namespace.default.depth.shadow.md.value,
13255
- lg: tokens11__namespace.default.depth.shadow.lg.value
12878
+ sm: tokens12__namespace.default.depth.shadow.sm.value,
12879
+ md: tokens12__namespace.default.depth.shadow.md.value,
12880
+ lg: tokens12__namespace.default.depth.shadow.lg.value
13256
12881
  };
13257
12882
  }
13258
12883
  });
13259
12884
  var spacing2, space2;
13260
12885
  var init_spacing = __esm({
13261
12886
  "src/theme/foundations/spacing.ts"() {
13262
- spacing2 = Object.entries(tokens11__namespace.default.size.spacing).reduce(
13263
- (tokens16, [key, token]) => ({
13264
- ...tokens16,
12887
+ spacing2 = Object.entries(tokens12__namespace.default.size.spacing).reduce(
12888
+ (tokens17, [key, token]) => ({
12889
+ ...tokens17,
13265
12890
  [Number(key)]: token
13266
12891
  }),
13267
12892
  {}
@@ -13269,8 +12894,6 @@ var init_spacing = __esm({
13269
12894
  space2 = spacing2;
13270
12895
  }
13271
12896
  });
13272
-
13273
- // src/theme/foundations/sizes.ts
13274
12897
  var largeSizes2, container2, sizes24;
13275
12898
  var init_sizes = __esm({
13276
12899
  "src/theme/foundations/sizes.ts"() {
@@ -13295,10 +12918,11 @@ var init_sizes = __esm({
13295
12918
  "8xl": "90rem"
13296
12919
  };
13297
12920
  container2 = {
13298
- sm: "640px",
13299
- md: "768px",
13300
- lg: "1024px",
13301
- xl: "1280px"
12921
+ base: "0px",
12922
+ sm: tokens12__namespace.default.size.breakpoint.sm,
12923
+ md: tokens12__namespace.default.size.breakpoint.md,
12924
+ lg: tokens12__namespace.default.size.breakpoint.lg,
12925
+ xl: tokens12__namespace.default.size.breakpoint.xl
13302
12926
  };
13303
12927
  sizes24 = {
13304
12928
  ...spacing2,
@@ -13313,73 +12937,73 @@ var init_textStyles = __esm({
13313
12937
  textStyles = {
13314
12938
  "2xl": {
13315
12939
  fontSize: [
13316
- tokens11__namespace.default.font.style.xxl["font-size"].mobile,
12940
+ tokens12__namespace.default.font.style.xxl["font-size"].mobile,
13317
12941
  null,
13318
12942
  null,
13319
- tokens11__namespace.default.font.style.xxl["font-size"].desktop
12943
+ tokens12__namespace.default.font.style.xxl["font-size"].desktop
13320
12944
  ],
13321
- fontFamily: tokens11__namespace.default.font.style.xxl["font-family"],
13322
- lineHeight: tokens11__namespace.default.font.style.xxl["line-height"]
12945
+ fontFamily: tokens12__namespace.default.font.style.xxl["font-family"],
12946
+ lineHeight: tokens12__namespace.default.font.style.xxl["line-height"]
13323
12947
  },
13324
12948
  "xl-display": {
13325
12949
  fontSize: [
13326
- tokens11__namespace.default.font.style["xl-display"]["font-size"].mobile,
12950
+ tokens12__namespace.default.font.style["xl-display"]["font-size"].mobile,
13327
12951
  null,
13328
12952
  null,
13329
- tokens11__namespace.default.font.style["xl-display"]["font-size"].desktop
12953
+ tokens12__namespace.default.font.style["xl-display"]["font-size"].desktop
13330
12954
  ],
13331
- fontFamily: tokens11__namespace.default.font.style["xl-display"]["font-family"],
13332
- lineHeight: tokens11__namespace.default.font.style["xl-display"]["line-height"]
12955
+ fontFamily: tokens12__namespace.default.font.style["xl-display"]["font-family"],
12956
+ lineHeight: tokens12__namespace.default.font.style["xl-display"]["line-height"]
13333
12957
  },
13334
12958
  "xl-sans": {
13335
12959
  fontSize: [
13336
- tokens11__namespace.default.font.style["xl-sans"]["font-size"].mobile,
12960
+ tokens12__namespace.default.font.style["xl-sans"]["font-size"].mobile,
13337
12961
  null,
13338
12962
  null,
13339
- tokens11__namespace.default.font.style["xl-sans"]["font-size"].desktop
12963
+ tokens12__namespace.default.font.style["xl-sans"]["font-size"].desktop
13340
12964
  ],
13341
- fontFamily: tokens11__namespace.default.font.style["xl-sans"]["font-family"],
13342
- lineHeight: tokens11__namespace.default.font.style["xl-sans"]["line-height"]
12965
+ fontFamily: tokens12__namespace.default.font.style["xl-sans"]["font-family"],
12966
+ lineHeight: tokens12__namespace.default.font.style["xl-sans"]["line-height"]
13343
12967
  },
13344
12968
  lg: {
13345
12969
  fontSize: [
13346
- tokens11__namespace.default.font.style.lg["font-size"].mobile,
12970
+ tokens12__namespace.default.font.style.lg["font-size"].mobile,
13347
12971
  null,
13348
12972
  null,
13349
- tokens11__namespace.default.font.style.lg["font-size"].desktop
12973
+ tokens12__namespace.default.font.style.lg["font-size"].desktop
13350
12974
  ],
13351
- fontFamily: tokens11__namespace.default.font.style.lg["font-family"],
13352
- lineHeight: tokens11__namespace.default.font.style.lg["line-height"]
12975
+ fontFamily: tokens12__namespace.default.font.style.lg["font-family"],
12976
+ lineHeight: tokens12__namespace.default.font.style.lg["line-height"]
13353
12977
  },
13354
12978
  md: {
13355
12979
  fontSize: [
13356
- tokens11__namespace.default.font.style.md["font-size"].mobile,
12980
+ tokens12__namespace.default.font.style.md["font-size"].mobile,
13357
12981
  null,
13358
12982
  null,
13359
- tokens11__namespace.default.font.style.md["font-size"].desktop
12983
+ tokens12__namespace.default.font.style.md["font-size"].desktop
13360
12984
  ],
13361
- fontFamily: tokens11__namespace.default.font.style.md["font-family"],
13362
- lineHeight: tokens11__namespace.default.font.style.md["line-height"]
12985
+ fontFamily: tokens12__namespace.default.font.style.md["font-family"],
12986
+ lineHeight: tokens12__namespace.default.font.style.md["line-height"]
13363
12987
  },
13364
12988
  sm: {
13365
12989
  fontSize: [
13366
- tokens11__namespace.default.font.style.sm["font-size"].mobile,
12990
+ tokens12__namespace.default.font.style.sm["font-size"].mobile,
13367
12991
  null,
13368
12992
  null,
13369
- tokens11__namespace.default.font.style.sm["font-size"].desktop
12993
+ tokens12__namespace.default.font.style.sm["font-size"].desktop
13370
12994
  ],
13371
- fontFamily: tokens11__namespace.default.font.style.sm["font-family"],
13372
- lineHeight: tokens11__namespace.default.font.style.sm["line-height"]
12995
+ fontFamily: tokens12__namespace.default.font.style.sm["font-family"],
12996
+ lineHeight: tokens12__namespace.default.font.style.sm["line-height"]
13373
12997
  },
13374
12998
  xs: {
13375
12999
  fontSize: [
13376
- tokens11__namespace.default.font.style.xs["font-size"].mobile,
13000
+ tokens12__namespace.default.font.style.xs["font-size"].mobile,
13377
13001
  null,
13378
13002
  null,
13379
- tokens11__namespace.default.font.style.xs["font-size"].desktop
13003
+ tokens12__namespace.default.font.style.xs["font-size"].desktop
13380
13004
  ],
13381
- fontFamily: tokens11__namespace.default.font.style.xs["font-family"],
13382
- lineHeight: tokens11__namespace.default.font.style.xs["line-height"]
13005
+ fontFamily: tokens12__namespace.default.font.style.xs["font-family"],
13006
+ lineHeight: tokens12__namespace.default.font.style.xs["line-height"]
13383
13007
  }
13384
13008
  };
13385
13009
  }
@@ -13388,19 +13012,19 @@ var zIndices2;
13388
13012
  var init_zIndices = __esm({
13389
13013
  "src/theme/foundations/zIndices.ts"() {
13390
13014
  zIndices2 = {
13391
- hide: tokens11__namespace.default.depth["z-index"].hide,
13015
+ hide: tokens12__namespace.default.depth["z-index"].hide,
13392
13016
  auto: "auto",
13393
- base: tokens11__namespace.default.depth["z-index"].base,
13394
- docked: tokens11__namespace.default.depth["z-index"].docked,
13395
- dropdown: tokens11__namespace.default.depth["z-index"].dropdown,
13396
- sticky: tokens11__namespace.default.depth["z-index"].sticky,
13397
- banner: tokens11__namespace.default.depth["z-index"].banner,
13398
- overlay: tokens11__namespace.default.depth["z-index"].overlay,
13399
- modal: tokens11__namespace.default.depth["z-index"].modal,
13400
- popover: tokens11__namespace.default.depth["z-index"].popover,
13401
- skipLink: tokens11__namespace.default.depth["z-index"].skipLink,
13402
- toast: tokens11__namespace.default.depth["z-index"].toast,
13403
- tooltip: tokens11__namespace.default.depth["z-index"].tooltip
13017
+ base: tokens12__namespace.default.depth["z-index"].base,
13018
+ docked: tokens12__namespace.default.depth["z-index"].docked,
13019
+ dropdown: tokens12__namespace.default.depth["z-index"].dropdown,
13020
+ sticky: tokens12__namespace.default.depth["z-index"].sticky,
13021
+ banner: tokens12__namespace.default.depth["z-index"].banner,
13022
+ overlay: tokens12__namespace.default.depth["z-index"].overlay,
13023
+ modal: tokens12__namespace.default.depth["z-index"].modal,
13024
+ popover: tokens12__namespace.default.depth["z-index"].popover,
13025
+ skipLink: tokens12__namespace.default.depth["z-index"].skipLink,
13026
+ toast: tokens12__namespace.default.depth["z-index"].toast,
13027
+ tooltip: tokens12__namespace.default.depth["z-index"].tooltip
13404
13028
  };
13405
13029
  }
13406
13030
  });
@@ -13426,7 +13050,7 @@ __export(foundations_exports, {
13426
13050
  borders: () => borders2,
13427
13051
  breakpoints: () => breakpoints2,
13428
13052
  colors: () => colors2,
13429
- config: () => config13,
13053
+ config: () => config8,
13430
13054
  fontSizes: () => fontSizes,
13431
13055
  fontWeights: () => fontWeights,
13432
13056
  fonts: () => fonts,
@@ -13459,54 +13083,480 @@ var init_foundations = __esm({
13459
13083
  init_styles();
13460
13084
  }
13461
13085
  });
13462
- var parts6, $arrowBackground, helpers8, config14, datepicker_default;
13463
- var init_datepicker2 = __esm({
13464
- "src/theme/components/datepicker.ts"() {
13465
- init_foundations();
13466
- init_accent_utils();
13086
+ var parts4, helpers5, config9, card_select_default;
13087
+ var init_card_select = __esm({
13088
+ "src/theme/components/card-select.ts"() {
13089
+ init_dist4();
13090
+ init_dist3();
13467
13091
  init_base_utils();
13468
- init_brand_utils();
13469
13092
  init_floating_utils();
13470
13093
  init_focus_utils();
13471
13094
  init_ghost_utils();
13472
- init_surface_utils();
13473
- parts6 = themeTools.anatomy("datepicker").parts(
13474
- "wrapper",
13475
- "calendarTriggerButton",
13476
- "arrow",
13477
- "calendarPopover",
13478
- "calendar",
13479
- "weekdays",
13480
- "weekend",
13481
- "dateCell",
13482
- "inputLabel",
13483
- "dateTimeSegment",
13484
- "cell"
13485
- );
13486
- $arrowBackground = themeTools.cssVar("popper-arrow-bg");
13487
- helpers8 = react.createMultiStyleConfigHelpers(parts6.keys);
13488
- config14 = helpers8.defineMultiStyleConfig({
13095
+ init_foundations();
13096
+ parts4 = anatomy("card-select").parts("trigger", "card");
13097
+ helpers5 = createMultiStyleConfigHelpers(parts4.keys);
13098
+ config9 = helpers5.defineMultiStyleConfig({
13489
13099
  baseStyle: (props) => ({
13490
- wrapper: {
13491
- transitionProperty: "box-shadow",
13492
- transitionDuration: "fast",
13493
- borderRadius: "sm",
13100
+ trigger: {
13101
+ appearance: "none",
13494
13102
  display: "flex",
13495
- flex: 1,
13496
- paddingY: 0.5,
13497
13103
  alignItems: "center",
13498
- _hover: {
13499
- zIndex: zIndices2.docked
13500
- },
13501
- _disabled: {
13502
- pointerEvents: "none",
13503
- ...baseBackground("disabled", props),
13504
- ...baseBorder("disabled", props),
13505
- ...baseText("disabled", props)
13506
- },
13507
- _focusWithin: {
13508
- ...focusVisibleStyles(props)._focusVisible
13509
- }
13104
+ transitionProperty: "outline",
13105
+ transitionDuration: "fast",
13106
+ ...baseText("default", props),
13107
+ ...focusVisibleStyles(props)
13108
+ },
13109
+ card: {
13110
+ borderRadius: "sm",
13111
+ boxShadow: "xs",
13112
+ padding: 2,
13113
+ ...baseText("default", props),
13114
+ backgroundColor: themeTools.mode(
13115
+ "white",
13116
+ `color-mix(in srgb, white 10%, var(--spor-colors-bg-default-dark))`
13117
+ )(props)
13118
+ }
13119
+ }),
13120
+ variants: {
13121
+ base: (props) => ({
13122
+ trigger: {
13123
+ ...baseBorder("default", props),
13124
+ _hover: {
13125
+ ...baseBorder("hover", props)
13126
+ },
13127
+ _active: {
13128
+ ...baseBackground("active", props),
13129
+ ...baseBorder("default", props)
13130
+ },
13131
+ _expanded: {
13132
+ ...baseBackground("active", props)
13133
+ }
13134
+ }
13135
+ }),
13136
+ ghost: (props) => ({
13137
+ trigger: {
13138
+ _hover: {
13139
+ ...ghostBackground("hover", props)
13140
+ },
13141
+ _active: {
13142
+ ...ghostBackground("active", props)
13143
+ },
13144
+ _expanded: {
13145
+ ...ghostBackground("active", props),
13146
+ fontWeight: fontWeights.bold
13147
+ }
13148
+ }
13149
+ }),
13150
+ floating: (props) => ({
13151
+ trigger: {
13152
+ boxShadow: "sm",
13153
+ ...floatingBackground("default", props),
13154
+ ...floatingBorder("default", props),
13155
+ transition: "all .1s ease-out",
13156
+ _hover: {
13157
+ ...floatingBackground("hover", props),
13158
+ ...floatingBorder("hover", props)
13159
+ },
13160
+ _active: {
13161
+ ...floatingBackground("active", props),
13162
+ ...floatingBorder("active", props)
13163
+ },
13164
+ _expanded: {
13165
+ ...floatingBackground("active", props)
13166
+ }
13167
+ },
13168
+ card: {}
13169
+ })
13170
+ },
13171
+ sizes: {
13172
+ sm: {
13173
+ trigger: {
13174
+ paddingX: 1.5,
13175
+ paddingY: 1,
13176
+ minHeight: "1.25rem",
13177
+ fontSize: "xs",
13178
+ borderRadius: "lg"
13179
+ }
13180
+ },
13181
+ md: {
13182
+ trigger: {
13183
+ paddingX: 2,
13184
+ paddingY: 1.5,
13185
+ minHeight: "2.625rem",
13186
+ fontSize: "xs",
13187
+ borderRadius: "lg"
13188
+ }
13189
+ },
13190
+ lg: {
13191
+ trigger: {
13192
+ paddingX: 3,
13193
+ paddingY: 2,
13194
+ minHeight: "3.375rem",
13195
+ fontSize: "sm",
13196
+ borderRadius: "lg"
13197
+ }
13198
+ }
13199
+ }
13200
+ });
13201
+ card_select_default = config9;
13202
+ }
13203
+ });
13204
+ var helpers6, config10, checkbox_default;
13205
+ var init_checkbox = __esm({
13206
+ "src/theme/components/checkbox.ts"() {
13207
+ init_dist4();
13208
+ init_base_utils();
13209
+ init_brand_utils();
13210
+ init_focus_utils();
13211
+ helpers6 = react.createMultiStyleConfigHelpers(checkboxAnatomy.keys);
13212
+ config10 = helpers6.defineMultiStyleConfig({
13213
+ baseStyle: (props) => ({
13214
+ container: {
13215
+ _hover: {
13216
+ "input:enabled:not([aria-invalid]) + .chakra-checkbox__control": {
13217
+ ...baseBackground("hover", props),
13218
+ borderColor: brandBackground("hover", props).backgroundColor
13219
+ },
13220
+ "input:enabled[aria-invalid] + .chakra-checkbox__control": {
13221
+ backgroundColor: themeTools.mode("white", "inherit")(props),
13222
+ borderColor: themeTools.mode("outline.error.light", "outline.error.dark")
13223
+ },
13224
+ "input:enabled:checked:not([aria-invalid]) + .chakra-checkbox__control": {
13225
+ ...brandBackground("hover", props),
13226
+ borderColor: brandBackground("hover", props).backgroundColor
13227
+ },
13228
+ "input:enabled:checked[aria-invalid] + .chakra-checkbox__control": {
13229
+ borderColor: themeTools.mode("outline.error.light", "outline.error.dark"),
13230
+ backgroundColor: themeTools.mode("outline.error.light", "outline.error.dark")
13231
+ }
13232
+ }
13233
+ },
13234
+ icon: {
13235
+ fontSize: "1em",
13236
+ transitionProperty: "transform",
13237
+ transitionDuration: "normal",
13238
+ strokeWidth: "1.5px !important"
13239
+ // Required to make the default icon look correct
13240
+ },
13241
+ control: {
13242
+ width: 4,
13243
+ height: 4,
13244
+ transitionProperty: "background, border-color",
13245
+ transitionDuration: "normal",
13246
+ border: "2px solid",
13247
+ borderColor: themeTools.mode(
13248
+ "base.outline.default.light",
13249
+ "base.outline.default.dark"
13250
+ )(props),
13251
+ borderRadius: "xs",
13252
+ ...baseBackground("default", props),
13253
+ ...focusVisibleStyles(props),
13254
+ _checked: {
13255
+ ...brandText("default", props),
13256
+ ...brandBackground("default", props),
13257
+ borderColor: brandBackground("default", props).backgroundColor,
13258
+ _disabled: {
13259
+ ...baseBackground("disabled", props),
13260
+ ...baseText("disabled", props),
13261
+ borderColor: "currentColor"
13262
+ },
13263
+ _invalid: {
13264
+ backgroundColor: "brightRed",
13265
+ borderColor: "brightRed"
13266
+ }
13267
+ },
13268
+ _disabled: {
13269
+ ...baseBackground("disabled", props),
13270
+ borderColor: baseText("disabled", props).color
13271
+ },
13272
+ _invalid: {
13273
+ ...baseBackground("default", props),
13274
+ borderColor: "brightRed"
13275
+ }
13276
+ },
13277
+ label: {
13278
+ userSelect: "none",
13279
+ _disabled: { opacity: 0.4 }
13280
+ }
13281
+ })
13282
+ });
13283
+ checkbox_default = config10;
13284
+ }
13285
+ });
13286
+ var parts5, helpers7, config11, choice_chip_default;
13287
+ var init_choice_chip = __esm({
13288
+ "src/theme/components/choice-chip.ts"() {
13289
+ init_accent_utils();
13290
+ init_base_utils();
13291
+ init_brand_utils();
13292
+ init_floating_utils();
13293
+ init_focus_utils();
13294
+ parts5 = themeTools.anatomy("choice-chip").parts("container", "icon", "label");
13295
+ helpers7 = react.createMultiStyleConfigHelpers(parts5.keys);
13296
+ config11 = helpers7.defineMultiStyleConfig({
13297
+ baseStyle: (props) => ({
13298
+ container: {
13299
+ display: "inline-flex",
13300
+ alignItems: "center",
13301
+ fontSize: "xs",
13302
+ cursor: "pointer",
13303
+ transitionProperty: "all",
13304
+ borderRadius: "xl",
13305
+ transitionDuration: "fast",
13306
+ _checked: {
13307
+ outlineColor: "transparent",
13308
+ ...accentText("selected", props),
13309
+ ...accentBackground("selected", props),
13310
+ _hover: {
13311
+ ...brandBackground("hover", props),
13312
+ ...baseText("selected", props),
13313
+ outlineColor: "transparent"
13314
+ },
13315
+ _active: {
13316
+ ...baseText("selected", props),
13317
+ ...brandBackground("active", props)
13318
+ }
13319
+ },
13320
+ _disabled: {
13321
+ pointerEvents: "none",
13322
+ boxShadow: "none",
13323
+ ...baseText("disabled", props),
13324
+ ...baseBackground("disabled", props),
13325
+ _hover: {
13326
+ ...baseBackground("disabled", props),
13327
+ boxShadow: "none",
13328
+ ...baseText("disabled", props)
13329
+ },
13330
+ _checked: {
13331
+ cursor: "not-allowed",
13332
+ boxShadow: "none",
13333
+ ...baseText("disabled", props),
13334
+ ...baseBackground("disabled", props),
13335
+ _hover: {
13336
+ ...baseBackground("disabled", props),
13337
+ boxShadow: "none",
13338
+ ...baseText("disabled", props)
13339
+ }
13340
+ }
13341
+ },
13342
+ "input:focus-visible + &": focusVisibleStyles(props)._focusVisible
13343
+ },
13344
+ icon: {
13345
+ marginRight: props.hasLabel ? 1 : 0
13346
+ }
13347
+ }),
13348
+ variants: {
13349
+ base: (props) => ({
13350
+ container: {
13351
+ ...baseBorder("default", props),
13352
+ ...baseText("default", props),
13353
+ _hover: {
13354
+ ...baseText("default", props),
13355
+ ...baseBorder("hover", props)
13356
+ },
13357
+ _active: {
13358
+ ...baseBackground("active", props),
13359
+ ...baseBorder("default", props)
13360
+ }
13361
+ }
13362
+ }),
13363
+ accent: (props) => ({
13364
+ container: {
13365
+ ...accentBackground("default", props),
13366
+ ...accentText("default", props),
13367
+ _hover: {
13368
+ ...accentBackground("hover", props),
13369
+ ...accentText("default", props)
13370
+ },
13371
+ _active: {
13372
+ ...accentText("default", props),
13373
+ ...accentBackground("active", props)
13374
+ }
13375
+ },
13376
+ _active: {
13377
+ ...accentText("default", props),
13378
+ ...accentBackground("active", props)
13379
+ }
13380
+ }),
13381
+ floating: (props) => ({
13382
+ container: {
13383
+ ...floatingBackground("default", props),
13384
+ ...baseText("default", props),
13385
+ ...floatingBorder("default", props),
13386
+ boxShadow: "sm",
13387
+ _hover: {
13388
+ ...floatingBackground("hover", props),
13389
+ ...floatingBorder("hover", props),
13390
+ ...baseText("default", props),
13391
+ boxShadow: "md"
13392
+ },
13393
+ _active: {
13394
+ ...floatingBackground("active", props),
13395
+ ...floatingBorder("active", props),
13396
+ ...baseText("default", props)
13397
+ }
13398
+ }
13399
+ })
13400
+ },
13401
+ sizes: {
13402
+ xs: {
13403
+ container: {
13404
+ _checked: {
13405
+ borderRadius: "0.563rem"
13406
+ },
13407
+ height: 5,
13408
+ paddingX: 1.5
13409
+ }
13410
+ },
13411
+ sm: {
13412
+ container: {
13413
+ _checked: {
13414
+ borderRadius: "sm"
13415
+ },
13416
+ height: 6,
13417
+ paddingX: 2
13418
+ }
13419
+ },
13420
+ md: {
13421
+ container: {
13422
+ _checked: {
13423
+ borderRadius: "sm"
13424
+ },
13425
+ height: 7,
13426
+ paddingX: 2
13427
+ }
13428
+ },
13429
+ lg: {
13430
+ container: {
13431
+ _checked: {
13432
+ borderRadius: "md"
13433
+ },
13434
+ height: 8,
13435
+ paddingX: 3
13436
+ }
13437
+ }
13438
+ },
13439
+ defaultProps: {
13440
+ size: "sm"
13441
+ }
13442
+ });
13443
+ choice_chip_default = config11;
13444
+ }
13445
+ });
13446
+ var $size6, config12, close_button_default;
13447
+ var init_close_button = __esm({
13448
+ "src/theme/components/close-button.ts"() {
13449
+ init_focus_utils();
13450
+ init_ghost_utils();
13451
+ $size6 = themeTools.cssVar("close-button-size");
13452
+ config12 = react.defineStyleConfig({
13453
+ baseStyle: (props) => ({
13454
+ w: [$size6.reference],
13455
+ h: [$size6.reference],
13456
+ transitionProperty: "common",
13457
+ transitionDuration: "normal",
13458
+ borderRadius: "md",
13459
+ backgroundColor: "transparent",
13460
+ color: themeTools.mode("darkGrey", "white")(props),
13461
+ fontWeight: "normal",
13462
+ ...focusVisibleStyles(props),
13463
+ _hover: {
13464
+ ...ghostBackground("hover", props),
13465
+ _disabled: {
13466
+ color: "dimGrey"
13467
+ }
13468
+ },
13469
+ _active: {
13470
+ ...ghostBackground("active", props)
13471
+ }
13472
+ }),
13473
+ sizes: {
13474
+ lg: {
13475
+ [$size6.variable]: "40px",
13476
+ fontSize: "xs"
13477
+ },
13478
+ md: {
13479
+ [$size6.variable]: "32px",
13480
+ fontSize: "0.75rem"
13481
+ },
13482
+ sm: {
13483
+ [$size6.variable]: "24px",
13484
+ fontSize: "0.625rem"
13485
+ }
13486
+ },
13487
+ defaultProps: {
13488
+ size: "md"
13489
+ }
13490
+ });
13491
+ close_button_default = config12;
13492
+ }
13493
+ });
13494
+ var variants13, defaultProps2, config13, code_default;
13495
+ var init_code = __esm({
13496
+ "src/theme/components/code.ts"() {
13497
+ init_badge();
13498
+ ({ variants: variants13, defaultProps: defaultProps2 } = badge_default);
13499
+ config13 = react.defineStyleConfig({
13500
+ baseStyle: {
13501
+ fontFamily: "monospace",
13502
+ fontSize: ["mobile.xs", "desktop.xs"],
13503
+ borderRadius: "xs",
13504
+ paddingX: 1
13505
+ },
13506
+ variants: variants13,
13507
+ defaultProps: defaultProps2
13508
+ });
13509
+ code_default = config13;
13510
+ }
13511
+ });
13512
+ var parts6, $arrowBackground, helpers8, config14, datepicker_default;
13513
+ var init_datepicker2 = __esm({
13514
+ "src/theme/components/datepicker.ts"() {
13515
+ init_foundations();
13516
+ init_accent_utils();
13517
+ init_base_utils();
13518
+ init_brand_utils();
13519
+ init_floating_utils();
13520
+ init_focus_utils();
13521
+ init_ghost_utils();
13522
+ init_surface_utils();
13523
+ parts6 = themeTools.anatomy("datepicker").parts(
13524
+ "wrapper",
13525
+ "calendarTriggerButton",
13526
+ "arrow",
13527
+ "calendarPopover",
13528
+ "calendar",
13529
+ "weekdays",
13530
+ "weekend",
13531
+ "dateCell",
13532
+ "inputLabel",
13533
+ "dateTimeSegment",
13534
+ "cell"
13535
+ );
13536
+ $arrowBackground = themeTools.cssVar("popper-arrow-bg");
13537
+ helpers8 = react.createMultiStyleConfigHelpers(parts6.keys);
13538
+ config14 = helpers8.defineMultiStyleConfig({
13539
+ baseStyle: (props) => ({
13540
+ wrapper: {
13541
+ transitionProperty: "box-shadow",
13542
+ transitionDuration: "fast",
13543
+ borderRadius: "sm",
13544
+ display: "flex",
13545
+ flex: 1,
13546
+ paddingY: 0.5,
13547
+ alignItems: "center",
13548
+ _hover: {
13549
+ zIndex: zIndices2.docked
13550
+ },
13551
+ _disabled: {
13552
+ pointerEvents: "none",
13553
+ ...baseBackground("disabled", props),
13554
+ ...baseBorder("disabled", props),
13555
+ ...baseText("disabled", props)
13556
+ },
13557
+ _focusWithin: {
13558
+ ...focusVisibleStyles(props)._focusVisible
13559
+ }
13510
13560
  },
13511
13561
  inputLabel: {
13512
13562
  fontSize: "mobile.xs",
@@ -13652,44 +13702,49 @@ var init_datepicker2 = __esm({
13652
13702
  datepicker_default = config14;
13653
13703
  }
13654
13704
  });
13655
- var isSolid, isDashed, divider_default;
13705
+ function getSizes(size2) {
13706
+ const sizes25 = {
13707
+ sm: {
13708
+ height: "1px",
13709
+ dash: "1px",
13710
+ gap: "4px"
13711
+ },
13712
+ md: {
13713
+ height: "2px",
13714
+ dash: "3px",
13715
+ gap: "6px"
13716
+ },
13717
+ lg: {
13718
+ height: "3px",
13719
+ dash: "3px",
13720
+ gap: "9px"
13721
+ }
13722
+ };
13723
+ return sizes25[size2] || sizes25["md"];
13724
+ }
13725
+ var borderColor, divider_default;
13656
13726
  var init_divider = __esm({
13657
13727
  "src/theme/components/divider.ts"() {
13658
13728
  init_dist3();
13659
- isSolid = (props) => props.variant === "solid";
13660
- isDashed = (props) => props.variant === "dashed";
13729
+ borderColor = themeTools.mode("blackAlpha.300", "whiteAlpha.300");
13661
13730
  divider_default = defineStyleConfig({
13662
13731
  baseStyle: (props) => ({
13663
- borderColor: themeTools.mode("blackAlpha.300", "whiteAlpha.300")(props)
13732
+ borderColor: borderColor(props)
13664
13733
  }),
13665
13734
  variants: {
13666
13735
  solid: {
13667
13736
  borderStyle: "solid"
13668
13737
  },
13669
- dashed: (props) => ({
13670
- backgroundImage: `repeating-linear-gradient(90deg, ${themeTools.mode("blackAlpha.300", "whiteAlpha.300")(props)}, ${themeTools.mode("blackAlpha.300", "whiteAlpha.300")(props)} 4px, transparent 4px, transparent 10px)`,
13671
- backgroundPosition: "left bottom",
13672
- backgroundRepeat: "repeat-x",
13673
- backgroundSize: "100% 3px",
13674
- borderRadius: props.size === "sm" ? "0.5px" : props.size === "md" ? "1px" : "1.5px"
13675
- })
13676
- },
13677
- sizes: {
13678
- sm: (props) => ({
13679
- borderWidth: isSolid(props) ? "1px" : void 0,
13680
- borderRadius: isSolid(props) ? "0.5px" : void 0,
13681
- height: isDashed(props) ? "1px" : void 0
13682
- }),
13683
- md: (props) => ({
13684
- borderWidth: isSolid(props) ? "2px" : void 0,
13685
- borderRadius: isSolid(props) ? "1px" : "10px",
13686
- height: isDashed(props) ? "2px" : void 0
13687
- }),
13688
- lg: (props) => ({
13689
- borderWidth: isSolid(props) ? "3px" : void 0,
13690
- borderRadius: isSolid(props) ? "1.5px" : void 0,
13691
- height: isDashed(props) ? "3px" : void 0
13692
- })
13738
+ dashed: (props) => {
13739
+ const { height, dash, gap } = getSizes(props.size);
13740
+ return {
13741
+ height,
13742
+ backgroundImage: `linear-gradient(90deg, ${borderColor(props)}, ${borderColor(props)} ${dash}, transparent ${dash}, transparent ${gap})`,
13743
+ backgroundPosition: "left bottom",
13744
+ backgroundRepeat: "repeat-x",
13745
+ backgroundSize: `${gap} ${height}`
13746
+ };
13747
+ }
13693
13748
  },
13694
13749
  defaultProps: {
13695
13750
  variant: "solid",
@@ -16452,7 +16507,7 @@ var init_font_faces = __esm({
16452
16507
  "src/theme/font-faces.ts"() {
16453
16508
  exports.fontFaces = `
16454
16509
  @font-face {
16455
- font-family: ${tokens11__namespace.default.asset.font["vy-sans"]["light"].name};
16510
+ font-family: ${tokens12__namespace.default.asset.font["vy-sans"]["light"].name};
16456
16511
  src: url("https://www.vy.no/styles/font/VySans-Light.woff2") format("woff2"),
16457
16512
  url("https://www.vy.no/styles/font/VySans-Light.woff") format("woff");
16458
16513
  font-style: normal;
@@ -16460,7 +16515,7 @@ var init_font_faces = __esm({
16460
16515
  font-display: swap
16461
16516
  }
16462
16517
  @font-face {
16463
- font-family: ${tokens11__namespace.default.asset.font["vy-sans"]["light-italic"].name};
16518
+ font-family: ${tokens12__namespace.default.asset.font["vy-sans"]["light-italic"].name};
16464
16519
  src: url("https://www.vy.no/styles/font/VySans-LightItalic.woff2")
16465
16520
  format("woff2"),
16466
16521
  url("https://www.vy.no/styles/font/VySans-LightItalic.woff") format("woff");
@@ -16469,7 +16524,7 @@ var init_font_faces = __esm({
16469
16524
  font-display: swap
16470
16525
  }
16471
16526
  @font-face {
16472
- font-family: ${tokens11__namespace.default.asset.font["vy-sans"]["medium"].name};
16527
+ font-family: ${tokens12__namespace.default.asset.font["vy-sans"]["medium"].name};
16473
16528
  src: url("https://www.vy.no/styles/font/VySans-Regular.woff2") format("woff2"),
16474
16529
  url("https://www.vy.no/styles/font/VySans-Regular.woff") format("woff");
16475
16530
  font-style: normal;
@@ -16477,7 +16532,7 @@ var init_font_faces = __esm({
16477
16532
  font-display: swap
16478
16533
  }
16479
16534
  @font-face {
16480
- font-family: ${tokens11__namespace.default.asset.font["vy-sans"]["medium-italic"].name};
16535
+ font-family: ${tokens12__namespace.default.asset.font["vy-sans"]["medium-italic"].name};
16481
16536
  src: url("https://www.vy.no/styles/font/VySans-RegularItalic.woff2")
16482
16537
  format("woff2"),
16483
16538
  url("https://www.vy.no/styles/font/VySans-RegularItalic.woff")
@@ -16487,7 +16542,7 @@ var init_font_faces = __esm({
16487
16542
  font-display: swap
16488
16543
  }
16489
16544
  @font-face {
16490
- font-family: ${tokens11__namespace.default.asset.font["vy-sans"]["bold"].name};
16545
+ font-family: ${tokens12__namespace.default.asset.font["vy-sans"]["bold"].name};
16491
16546
  src: url("https://www.vy.no/styles/font/VySans-Bold.woff2") format("woff2"),
16492
16547
  url("https://www.vy.no/styles/font/VySans-Bold.woff") format("woff");
16493
16548
  font-style: normal;
@@ -16495,7 +16550,7 @@ var init_font_faces = __esm({
16495
16550
  font-display: swap
16496
16551
  }
16497
16552
  @font-face {
16498
- font-family: ${tokens11__namespace.default.asset.font["vy-sans"]["bold-italic"].name};
16553
+ font-family: ${tokens12__namespace.default.asset.font["vy-sans"]["bold-italic"].name};
16499
16554
  src: url("https://www.vy.no/styles/font/VySans-BoldItalic.woff2")
16500
16555
  format("woff2"),
16501
16556
  url("https://www.vy.no/styles/font/VySans-BoldItalic.woff") format("woff");
@@ -16504,7 +16559,7 @@ var init_font_faces = __esm({
16504
16559
  font-display: swap
16505
16560
  }
16506
16561
  @font-face {
16507
- font-family: ${tokens11__namespace.default.asset.font["vy-display"].name};
16562
+ font-family: ${tokens12__namespace.default.asset.font["vy-display"].name};
16508
16563
  src: url("https://www.vy.no/styles/font/VyDisplay-Medium.woff2")
16509
16564
  format("woff2"),
16510
16565
  url("https://www.vy.no/styles/font/VyDisplay-Medium.woff") format("woff");
@@ -16556,7 +16611,7 @@ var init_theme = __esm({
16556
16611
  }
16557
16612
  },
16558
16613
  ["CargoNet" /* CargoNet */]: {
16559
- colors: tokens11__namespace.default.color.cargonet
16614
+ colors: tokens12__namespace.default.color.cargonet
16560
16615
  }
16561
16616
  };
16562
16617
  }
@@ -17220,7 +17275,7 @@ Object.defineProperty(exports, 'Time', {
17220
17275
  enumerable: true,
17221
17276
  get: function () { return date.Time; }
17222
17277
  });
17223
- exports.tokens = tokens11__namespace;
17278
+ exports.tokens = tokens12__namespace;
17224
17279
  exports.Combobox = Combobox;
17225
17280
  exports.DateRangePicker = DateRangePicker;
17226
17281
  exports.DrawerHeader = exports.ModalHeader;