@vygruppen/spor-react 6.1.0 → 6.2.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
@@ -662,60 +662,70 @@ var init_Button = __esm({
662
662
  init_loader();
663
663
  exports.Button = react.forwardRef((props, ref) => {
664
664
  const {
665
+ as = "button",
666
+ fontWeight,
665
667
  size: size2,
666
- variant,
667
668
  children,
668
669
  isLoading,
669
670
  isDisabled,
670
671
  leftIcon,
671
672
  rightIcon,
673
+ sx,
672
674
  ...rest
673
675
  } = props;
674
676
  const ariaLabel = useCorrectAriaLabel(props);
675
677
  const buttonGroup = react.useButtonGroup();
676
- const finalVariant = variant ?? (buttonGroup == null ? void 0 : buttonGroup.variant) ?? "primary";
677
678
  const finalSize = size2 ?? (buttonGroup == null ? void 0 : buttonGroup.size) ?? "md";
679
+ const styles3 = react.useStyleConfig("Button", {
680
+ ...buttonGroup,
681
+ ...rest,
682
+ size: finalSize,
683
+ leftIcon,
684
+ rightIcon
685
+ });
686
+ if (fontWeight) {
687
+ styles3.fontWeight = fontWeight;
688
+ }
678
689
  return /* @__PURE__ */ React69__namespace.default.createElement(
679
- react.Button,
690
+ react.Box,
680
691
  {
681
- size: finalSize,
682
- variant: finalVariant,
683
692
  ...rest,
693
+ as,
694
+ sx: { ...styles3, ...sx },
684
695
  ref,
685
696
  "aria-label": ariaLabel,
686
697
  "aria-busy": isLoading,
687
- isDisabled: isDisabled || isLoading,
688
- leftIcon: isLoading && leftIcon ? /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { visibility: isLoading ? "hidden" : "visible", "aria-hidden": "true" }, leftIcon) : leftIcon,
689
- rightIcon: isLoading && rightIcon ? /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { visibility: isLoading ? "hidden" : "visible", "aria-hidden": "true" }, rightIcon) : rightIcon,
698
+ disabled: isDisabled || isLoading,
690
699
  position: "relative"
691
700
  },
692
- isLoading && /* @__PURE__ */ React69__namespace.default.createElement(
693
- react.Center,
701
+ isLoading && /* @__PURE__ */ React69__namespace.default.createElement(react.Center, { position: "absolute", right: 0, left: 0, top: 1, bottom: 0 }, /* @__PURE__ */ React69__namespace.default.createElement(
702
+ exports.ColorInlineLoader,
694
703
  {
695
- position: "absolute",
696
- right: "0",
697
- paddingBottom: 1,
698
- left: "0",
699
- paddingTop: 2
700
- },
701
- /* @__PURE__ */ React69__namespace.default.createElement(
702
- exports.ColorInlineLoader,
703
- {
704
- maxWidth: getLoaderWidth(finalSize),
705
- width: "80%",
706
- marginX: 2,
707
- marginY: 2
708
- }
709
- )
710
- ),
704
+ maxWidth: getLoaderWidth(finalSize),
705
+ width: "80%",
706
+ marginX: 2,
707
+ marginY: 2
708
+ }
709
+ )),
711
710
  /* @__PURE__ */ React69__namespace.default.createElement(
712
- react.Box,
711
+ react.Flex,
713
712
  {
713
+ justifyContent: "space-between",
714
+ alignItems: "center",
715
+ gap: 1,
714
716
  visibility: isLoading ? "hidden" : "visible",
715
- whiteSpace: "normal",
716
- textAlign: "left"
717
+ "aria-hidden": isLoading
717
718
  },
718
- children
719
+ /* @__PURE__ */ React69__namespace.default.createElement(react.Flex, { justifyContent: "center", alignItems: "center", gap: 1 }, leftIcon, /* @__PURE__ */ React69__namespace.default.createElement(
720
+ react.Box,
721
+ {
722
+ visibility: isLoading ? "hidden" : "visible",
723
+ whiteSpace: "normal",
724
+ textAlign: "left"
725
+ },
726
+ children
727
+ )),
728
+ rightIcon
719
729
  )
720
730
  );
721
731
  });
@@ -1658,15 +1668,7 @@ var init_DateField = __esm({
1658
1668
  paddingTop: "2px"
1659
1669
  },
1660
1670
  props.label
1661
- ), /* @__PURE__ */ React69__namespace.default.createElement(react.Flex, { ...fieldProps, paddingTop: "3", paddingBottom: "0.5" }, state2.segments.map((segment, i) => /* @__PURE__ */ React69__namespace.default.createElement(
1662
- DateTimeSegment,
1663
- {
1664
- ref: i === 0 ? ref : void 0,
1665
- key: i,
1666
- segment,
1667
- state: state2
1668
- }
1669
- ))), /* @__PURE__ */ React69__namespace.default.createElement(
1671
+ ), /* @__PURE__ */ React69__namespace.default.createElement(react.Flex, { ...fieldProps, ref, paddingTop: "3", paddingBottom: "0.5" }, state2.segments.map((segment, i) => /* @__PURE__ */ React69__namespace.default.createElement(DateTimeSegment, { key: i, segment, state: state2 }))), /* @__PURE__ */ React69__namespace.default.createElement(
1670
1672
  "input",
1671
1673
  {
1672
1674
  type: "hidden",
@@ -3662,18 +3664,6 @@ var init_box_shadow_utils = __esm({
3662
3664
  };
3663
3665
  }
3664
3666
  });
3665
-
3666
- // src/theme/utils/focus-utils.ts
3667
- var focusVisible;
3668
- var init_focus_utils = __esm({
3669
- "src/theme/utils/focus-utils.ts"() {
3670
- focusVisible = ({ notFocus, focus }) => ({
3671
- _focus: focus,
3672
- _focusVisible: focus,
3673
- "&[data-focus]:not([data-focus-visible])": notFocus
3674
- });
3675
- }
3676
- });
3677
3667
  function NumericStepper({
3678
3668
  name: nameProp,
3679
3669
  id: idProp,
@@ -3791,7 +3781,6 @@ var init_NumericStepper = __esm({
3791
3781
  "src/input/NumericStepper.tsx"() {
3792
3782
  init_src();
3793
3783
  init_box_shadow_utils();
3794
- init_focus_utils();
3795
3784
  VerySmallButton = (props) => {
3796
3785
  return /* @__PURE__ */ React69__namespace.default.createElement(
3797
3786
  exports.IconButton,
@@ -3800,12 +3789,9 @@ var init_NumericStepper = __esm({
3800
3789
  size: "xs",
3801
3790
  minWidth: "24px",
3802
3791
  minHeight: "24px",
3803
- sx: focusVisible({
3804
- notFocus: { boxShadow: "none" },
3805
- focus: {
3806
- boxShadow: "inset 0 0 0 2px var(--spor-colors-pine), inset 0 0 0 3px white"
3807
- }
3808
- }),
3792
+ _focusVisible: {
3793
+ boxShadow: "inset 0 0 0 2px var(--spor-colors-pine), inset 0 0 0 3px white"
3794
+ },
3809
3795
  ...props
3810
3796
  }
3811
3797
  );
@@ -4316,8 +4302,11 @@ var init_LineIcon = __esm({
4316
4302
  sx,
4317
4303
  ...rest
4318
4304
  }) => {
4319
- const styles3 = react.useMultiStyleConfig("LineIcon", { variant, size: size2 });
4320
- const Icon = getCorrectIcon({ variant, size: size2 });
4305
+ const styles3 = react.useMultiStyleConfig("LineIcon", { variant, size: size2, ...rest });
4306
+ const Icon = getCorrectIcon({
4307
+ variant: variant === "custom" && "customIconVariant" in rest ? rest.customIconVariant : variant === "custom" ? "local-train" : variant,
4308
+ size: size2
4309
+ });
4321
4310
  if (!Icon) {
4322
4311
  return null;
4323
4312
  }
@@ -4333,10 +4322,23 @@ var init_InfoTag = __esm({
4333
4322
  variant,
4334
4323
  size: size2 = "md",
4335
4324
  title,
4336
- description
4325
+ description,
4326
+ ...customProps
4337
4327
  }) => {
4338
- const styles3 = react.useMultiStyleConfig("InfoTag", { variant, size: size2 });
4339
- return /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { sx: styles3.container }, /* @__PURE__ */ React69__namespace.default.createElement(exports.LineIcon, { variant, size: size2, sx: styles3.iconContainer }), /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { sx: styles3.textContainer }, title && /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { as: "span", sx: styles3.title }, title), title && description && " ", description && /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { as: "span", sx: styles3.description }, description)));
4328
+ const styles3 = react.useMultiStyleConfig("InfoTag", {
4329
+ variant,
4330
+ size: size2,
4331
+ ...customProps
4332
+ });
4333
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { sx: styles3.container }, /* @__PURE__ */ React69__namespace.default.createElement(
4334
+ exports.LineIcon,
4335
+ {
4336
+ variant,
4337
+ size: size2,
4338
+ sx: styles3.iconContainer,
4339
+ ...customProps
4340
+ }
4341
+ ), /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { sx: styles3.textContainer }, title && /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { as: "span", sx: styles3.title }, title), title && description && " ", description && /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { as: "span", sx: styles3.description }, description)));
4340
4342
  };
4341
4343
  }
4342
4344
  });
@@ -4357,10 +4359,20 @@ var init_TravelTag = __esm({
4357
4359
  const styles3 = react.useMultiStyleConfig("TravelTag", {
4358
4360
  variant,
4359
4361
  size: size2,
4360
- deviationLevel
4362
+ deviationLevel,
4363
+ foregroundColor: variant === "custom" ? rest.foregroundColor : void 0,
4364
+ backgroundColor: variant === "custom" ? rest.backgroundColor : void 0
4361
4365
  });
4362
4366
  const DeviationLevelIcon = getDeviationLevelIcon({ deviationLevel, size: size2 });
4363
- return /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { sx: styles3.container, "aria-disabled": isDisabled, ref, ...rest }, /* @__PURE__ */ React69__namespace.default.createElement(exports.LineIcon, { variant, size: size2, sx: styles3.iconContainer }), /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { sx: styles3.textContainer }, title && /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { as: "span", sx: styles3.title }, title), title && description && " ", description && /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { as: "span", sx: styles3.description }, description)), DeviationLevelIcon && /* @__PURE__ */ React69__namespace.default.createElement(DeviationLevelIcon, { sx: styles3.deviationIcon }));
4367
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { sx: styles3.container, "aria-disabled": isDisabled, ref, ...rest }, /* @__PURE__ */ React69__namespace.default.createElement(
4368
+ exports.LineIcon,
4369
+ {
4370
+ variant,
4371
+ size: size2,
4372
+ sx: styles3.iconContainer,
4373
+ ...rest
4374
+ }
4375
+ ), /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { sx: styles3.textContainer }, title && /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { as: "span", sx: styles3.title }, title), title && description && " ", description && /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { as: "span", sx: styles3.description }, description)), DeviationLevelIcon && /* @__PURE__ */ React69__namespace.default.createElement(DeviationLevelIcon, { sx: styles3.deviationIcon }));
4364
4376
  }
4365
4377
  );
4366
4378
  getDeviationLevelIcon = ({
@@ -11136,6 +11148,18 @@ var init_foundations = __esm({
11136
11148
  init_styles();
11137
11149
  }
11138
11150
  });
11151
+
11152
+ // src/theme/utils/focus-utils.ts
11153
+ var focusVisible;
11154
+ var init_focus_utils = __esm({
11155
+ "src/theme/utils/focus-utils.ts"() {
11156
+ focusVisible = ({ notFocus, focus }) => ({
11157
+ _focus: focus,
11158
+ _focusVisible: focus,
11159
+ "&[data-focus]:not([data-focus-visible])": notFocus
11160
+ });
11161
+ }
11162
+ });
11139
11163
  var helpers, config3, accordion_default;
11140
11164
  var init_accordion2 = __esm({
11141
11165
  "src/theme/components/accordion.ts"() {
@@ -11515,12 +11539,10 @@ var init_button2 = __esm({
11515
11539
  "src/theme/components/button.ts"() {
11516
11540
  init_foundations();
11517
11541
  init_box_shadow_utils();
11518
- init_focus_utils();
11519
11542
  config6 = react.defineStyleConfig({
11520
11543
  baseStyle: {
11521
11544
  border: 0,
11522
11545
  borderRadius: "xl",
11523
- fontWeight: "bold",
11524
11546
  transitionProperty: "common",
11525
11547
  transitionDuration: "normal",
11526
11548
  textWrap: "wrap",
@@ -11548,18 +11570,15 @@ var init_button2 = __esm({
11548
11570
  // hardcoded background color as alpha-"hack" below is not feasible for dark mode with solid background color
11549
11571
  backgroundColor: themeTools.mode("pine", "coralGreen")(props),
11550
11572
  color: themeTools.mode("white", "darkTeal")(props),
11551
- ...focusVisible({
11552
- focus: {
11553
- boxShadow: `inset 0 0 0 2px ${themeTools.mode(
11554
- colors.greenHaze,
11555
- colors.azure
11556
- )(props)}, inset 0 0 0 4px ${themeTools.mode(
11557
- colors.white,
11558
- colors.darkGrey
11559
- )(props)}`
11560
- },
11561
- notFocus: { boxShadow: "none" }
11562
- }),
11573
+ _focusVisible: {
11574
+ boxShadow: `inset 0 0 0 2px ${themeTools.mode(
11575
+ colors.greenHaze,
11576
+ colors.azure
11577
+ )(props)}, inset 0 0 0 4px ${themeTools.mode(
11578
+ colors.white,
11579
+ colors.darkGrey
11580
+ )(props)}`
11581
+ },
11563
11582
  _hover: {
11564
11583
  backgroundColor: themeTools.mode("darkTeal", "blueGreen")(props)
11565
11584
  },
@@ -11570,34 +11589,29 @@ var init_button2 = __esm({
11570
11589
  secondary: (props) => ({
11571
11590
  // FIXME: Update to use global defined background color for darkMode whenever it is available instead of alpha
11572
11591
  backgroundColor: themeTools.mode("seaMist", "primaryGreen")(props),
11573
- color: themeTools.mode("darkTeal", "white")(props),
11592
+ color: themeTools.mode("darkTeal", "seaMist")(props),
11574
11593
  // order is important here for now while we do not have global defined background color for darkMode
11575
11594
  _hover: {
11576
11595
  backgroundColor: themeTools.mode("coralGreen", "greenHaze")(props)
11577
11596
  },
11578
- ...focusVisible({
11579
- focus: {
11597
+ _focusVisible: {
11598
+ boxShadow: `inset 0 0 0 2px ${themeTools.mode(
11599
+ colors.greenHaze,
11600
+ colors.primaryGreen
11601
+ )(props)}, inset 0 0 0 4px ${themeTools.mode(
11602
+ colors.white,
11603
+ colors.darkTeal
11604
+ )(props)}`,
11605
+ _hover: {
11580
11606
  boxShadow: `inset 0 0 0 2px ${themeTools.mode(
11581
11607
  colors.greenHaze,
11582
- colors.primaryGreen
11608
+ colors.azure
11583
11609
  )(props)}, inset 0 0 0 4px ${themeTools.mode(
11584
11610
  colors.white,
11585
- colors.darkTeal
11586
- )(props)}`,
11587
- _hover: {
11588
- boxShadow: `inset 0 0 0 2px ${themeTools.mode(
11589
- colors.greenHaze,
11590
- colors.azure
11591
- )(props)}, inset 0 0 0 4px ${themeTools.mode(
11592
- colors.white,
11593
- colors.blackAlpha[500]
11594
- )(props)}`
11595
- }
11596
- },
11597
- notFocus: {
11598
- boxShadow: "none"
11611
+ colors.blackAlpha[500]
11612
+ )(props)}`
11599
11613
  }
11600
- }),
11614
+ },
11601
11615
  _active: {
11602
11616
  backgroundColor: themeTools.mode("mint", "darkTeal")(props),
11603
11617
  boxShadow: `inset 0 0 0 2px ${themeTools.mode(
@@ -11621,25 +11635,16 @@ var init_button2 = __esm({
11621
11635
  tertiary: (props) => ({
11622
11636
  backgroundColor: "transparent",
11623
11637
  color: themeTools.mode("darkGrey", "white")(props),
11624
- fontWeight: "normal",
11625
11638
  boxShadow: `inset 0 0 0 1px ${themeTools.mode(
11626
11639
  colors.blackAlpha[400],
11627
11640
  colors.whiteAlpha[400]
11628
11641
  )(props)}`,
11629
- ...focusVisible({
11630
- focus: {
11631
- boxShadow: getBoxShadowString({
11632
- borderWidth: 2,
11633
- borderColor: "azure"
11634
- })
11635
- },
11636
- notFocus: {
11637
- boxShadow: `inset 0 0 0 1px ${themeTools.mode(
11638
- colors.blackAlpha[400],
11639
- colors.whiteAlpha[400]
11640
- )(props)}`
11641
- }
11642
- }),
11642
+ _focusVisible: {
11643
+ boxShadow: getBoxShadowString({
11644
+ borderWidth: 2,
11645
+ borderColor: "azure"
11646
+ })
11647
+ },
11643
11648
  _hover: {
11644
11649
  boxShadow: `inset 0 0 0 2px currentColor`
11645
11650
  },
@@ -11654,18 +11659,12 @@ var init_button2 = __esm({
11654
11659
  ghost: (props) => ({
11655
11660
  backgroundColor: "transparent",
11656
11661
  color: themeTools.mode("darkGrey", "white")(props),
11657
- fontWeight: "normal",
11658
- ...focusVisible({
11659
- focus: {
11660
- boxShadow: getBoxShadowString({
11661
- borderColor: themeTools.mode("greenHaze", "azure")(props),
11662
- borderWidth: 2
11663
- })
11664
- },
11665
- notFocus: {
11666
- outline: "none"
11667
- }
11668
- }),
11662
+ _focusVisible: {
11663
+ boxShadow: getBoxShadowString({
11664
+ borderColor: themeTools.mode("greenHaze", "azure")(props),
11665
+ borderWidth: 2
11666
+ })
11667
+ },
11669
11668
  _hover: {
11670
11669
  backgroundColor: themeTools.mode("seaMist", "whiteAlpha.200")(props),
11671
11670
  _disabled: {
@@ -11693,49 +11692,47 @@ var init_button2 = __esm({
11693
11692
  borderWidth: 2
11694
11693
  })
11695
11694
  },
11696
- ...focusVisible({
11697
- focus: {
11695
+ _focusVisible: {
11696
+ boxShadow: getBoxShadowString({
11697
+ borderColor: themeTools.mode("greenHaze", "azure")(props),
11698
+ borderWidth: 2,
11699
+ baseShadow: "sm"
11700
+ }),
11701
+ _hover: {
11698
11702
  boxShadow: getBoxShadowString({
11699
11703
  borderColor: themeTools.mode("greenHaze", "azure")(props),
11700
11704
  borderWidth: 2,
11701
- baseShadow: "sm"
11702
- }),
11703
- _hover: {
11704
- boxShadow: getBoxShadowString({
11705
- borderColor: themeTools.mode("greenHaze", "azure")(props),
11706
- borderWidth: 2,
11707
- baseShadow: "md"
11708
- })
11709
- }
11710
- },
11711
- notFocus: {
11712
- outline: "none",
11713
- boxShadow: "sm"
11705
+ baseShadow: "md"
11706
+ })
11714
11707
  }
11715
- })
11708
+ }
11716
11709
  })
11717
11710
  },
11718
11711
  sizes: {
11719
11712
  lg: {
11720
11713
  minHeight: 8,
11721
11714
  minWidth: 8,
11722
- fontSize: "18px"
11715
+ fontSize: "18px",
11716
+ fontWeight: "bold"
11723
11717
  },
11724
11718
  md: {
11725
11719
  minHeight: 7,
11726
11720
  minWidth: 7,
11727
- fontSize: "18px"
11721
+ fontSize: "18px",
11722
+ fontWeight: "bold"
11728
11723
  },
11729
11724
  sm: {
11730
11725
  minHeight: 6,
11731
11726
  minWidth: 6,
11732
- fontSize: "16px"
11727
+ fontSize: "16px",
11728
+ fontWeight: "normal"
11733
11729
  },
11734
11730
  xs: {
11735
11731
  minHeight: 5,
11736
11732
  minWidth: 5,
11737
11733
  fontSize: "16px",
11738
- paddingX: 2
11734
+ paddingX: 2,
11735
+ fontWeight: "normal"
11739
11736
  }
11740
11737
  },
11741
11738
  defaultProps: {
@@ -11782,7 +11779,6 @@ var init_card2 = __esm({
11782
11779
  "src/theme/components/card.ts"() {
11783
11780
  init_foundations();
11784
11781
  init_box_shadow_utils();
11785
- init_focus_utils();
11786
11782
  config7 = react.defineStyleConfig({
11787
11783
  baseStyle: (props) => ({
11788
11784
  appearance: "none",
@@ -11798,21 +11794,15 @@ var init_card2 = __esm({
11798
11794
  ...getColorSchemeClickableProps(props),
11799
11795
  _hover: getColorSchemeHoverProps(props),
11800
11796
  _active: getColorSchemeActiveProps(props),
11801
- ...focusVisible({
11802
- focus: {
11803
- boxShadow: getBoxShadowString({
11804
- borderColor: themeTools.mode("greenHaze", "azure")(props),
11805
- borderWidth: 2,
11806
- isInset: false
11807
- }),
11808
- outline: "none",
11809
- _active: getColorSchemeActiveProps(props)
11810
- },
11811
- notFocus: {
11812
- ...getColorSchemeClickableProps(props),
11813
- _active: getColorSchemeActiveProps(props)
11814
- }
11815
- }),
11797
+ _focusVisible: {
11798
+ boxShadow: getBoxShadowString({
11799
+ borderColor: themeTools.mode("greenHaze", "azure")(props),
11800
+ borderWidth: 2,
11801
+ isInset: false
11802
+ }),
11803
+ outline: "none",
11804
+ _active: getColorSchemeActiveProps(props)
11805
+ },
11816
11806
  _disabled: {
11817
11807
  backgroundColor: "platinum",
11818
11808
  boxShadow: getBoxShadowString({
@@ -13529,6 +13519,11 @@ var init_travel_tag = __esm({
13529
13519
  description: {
13530
13520
  display: "none"
13531
13521
  }
13522
+ }),
13523
+ custom: (props) => ({
13524
+ container: {
13525
+ backgroundColor: props.foregroundColor
13526
+ }
13532
13527
  })
13533
13528
  },
13534
13529
  sizes: {
@@ -13889,6 +13884,11 @@ var init_line_icon = __esm({
13889
13884
  color: "osloGrey"
13890
13885
  }
13891
13886
  }
13887
+ }),
13888
+ custom: (props) => ({
13889
+ iconContainer: {
13890
+ backgroundColor: props.backgroundColor
13891
+ }
13892
13892
  })
13893
13893
  },
13894
13894
  sizes: {
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- export { Accordion, AccordionButton, AccordionIcon, AccordionItem, AccordionPanel, AttachedInputs, Badge, Box, Brand, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Button, ButtonGroup, Card, CardSelect, Center, Checkbox, CheckboxGroup, ChoiceChip, ClosableAlert, CloseButton, Code, ColorInlineLoader, ColorSpinner, Combobox, Container, ContentLoader, DarkFullScreenLoader, DarkInlineLoader, DarkMode, DarkSpinner, DatePicker, DateRangePicker, Divider, Drawer, DrawerBody, DrawerCloseButton, DrawerContent, DrawerFooter, ModalHeader as DrawerHeader, DrawerOverlay, Expandable, ExpandableAlert, ExpandableItem, Fade, Flex, FloatingActionButton, FormControl, FormErrorMessage, FormHelperText, FormLabel, Grid, GridItem, HStack, Heading, IconButton, Image, Img, InfoSelect, InfoTag, Input, InputGroup, InputLeftElement, InputRightElement, Item, ItemDescription, ItemLabel, JumpButton, Language, LanguageProvider, LightFullScreenLoader, LightInlineLoader, LightMode, LightSpinner, LineIcon, ListBox, ListItem, Modal, ModalBody, ModalCloseButton, ModalContent, ModalFooter, ModalHeader, ModalOverlay, NativeSelect, NumericStepper, OrderedList, PasswordInput, PhoneNumberInput, PlayPauseButton, Popover, PopoverAnchor, PopoverArrow, PopoverBody, PopoverCloseButton, PopoverContent, PopoverFooter, PopoverHeader, PopoverTrigger, PopoverWizardBody, Portal, ProgressBar, ProgressIndicator, ProgressLoader, Radio, RadioGroup, ScaleFade, SearchInput, Section, SimpleDrawer, SimpleGrid, SimplePopover, Skeleton, SkeletonCircle, SkeletonText, SkipButton, Slide, SlideFade, Spacer, SporProvider, Stack, StaticAlert, Stepper, StepperStep, Switch, Tab, TabList, TabPanel, TabPanels, Table, TableCaption, Tabs, Tbody, Td, Text, TextLink, Textarea, Tfoot, Th, Thead, Time, TimePicker, Tr, TravelTag, UnorderedList, VStack, VyLogo, WizardPopover, Wrap, WrapItem, brandTheme, createTexts, defineStyleConfig, extendTheme, fontFaces, theme, tokens, useBreakpointValue, useClipboard, useColorMode, useColorModePreference, useColorModeValue, useControllableProp, useDisclosure, useMediaQuery, useMergeRefs, useOutsideClick, usePrefersReducedMotion, useSize, useTheme, useToast, useToken, useTranslation } from './chunk-2L6AHVGG.mjs';
1
+ export { Accordion, AccordionButton, AccordionIcon, AccordionItem, AccordionPanel, AttachedInputs, Badge, Box, Brand, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Button, ButtonGroup, Card, CardSelect, Center, Checkbox, CheckboxGroup, ChoiceChip, ClosableAlert, CloseButton, Code, ColorInlineLoader, ColorSpinner, Combobox, Container, ContentLoader, DarkFullScreenLoader, DarkInlineLoader, DarkMode, DarkSpinner, DatePicker, DateRangePicker, Divider, Drawer, DrawerBody, DrawerCloseButton, DrawerContent, DrawerFooter, ModalHeader as DrawerHeader, DrawerOverlay, Expandable, ExpandableAlert, ExpandableItem, Fade, Flex, FloatingActionButton, FormControl, FormErrorMessage, FormHelperText, FormLabel, Grid, GridItem, HStack, Heading, IconButton, Image, Img, InfoSelect, InfoTag, Input, InputGroup, InputLeftElement, InputRightElement, Item, ItemDescription, ItemLabel, JumpButton, Language, LanguageProvider, LightFullScreenLoader, LightInlineLoader, LightMode, LightSpinner, LineIcon, ListBox, ListItem, Modal, ModalBody, ModalCloseButton, ModalContent, ModalFooter, ModalHeader, ModalOverlay, NativeSelect, NumericStepper, OrderedList, PasswordInput, PhoneNumberInput, PlayPauseButton, Popover, PopoverAnchor, PopoverArrow, PopoverBody, PopoverCloseButton, PopoverContent, PopoverFooter, PopoverHeader, PopoverTrigger, PopoverWizardBody, Portal, ProgressBar, ProgressIndicator, ProgressLoader, Radio, RadioGroup, ScaleFade, SearchInput, Section, SimpleDrawer, SimpleGrid, SimplePopover, Skeleton, SkeletonCircle, SkeletonText, SkipButton, Slide, SlideFade, Spacer, SporProvider, Stack, StaticAlert, Stepper, StepperStep, Switch, Tab, TabList, TabPanel, TabPanels, Table, TableCaption, Tabs, Tbody, Td, Text, TextLink, Textarea, Tfoot, Th, Thead, Time, TimePicker, Tr, TravelTag, UnorderedList, VStack, VyLogo, WizardPopover, Wrap, WrapItem, brandTheme, createTexts, defineStyleConfig, extendTheme, fontFaces, theme, tokens, useBreakpointValue, useClipboard, useColorMode, useColorModePreference, useColorModeValue, useControllableProp, useDisclosure, useMediaQuery, useMergeRefs, useOutsideClick, usePrefersReducedMotion, useSize, useTheme, useToast, useToken, useTranslation } from './chunk-UHSKIIAP.mjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vygruppen/spor-react",
3
- "version": "6.1.0",
3
+ "version": "6.2.1",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",