@vygruppen/spor-react 12.8.6 → 12.8.7

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
@@ -3929,7 +3929,7 @@ var ExternalIcon = ({
3929
3929
  label,
3930
3930
  size
3931
3931
  }) => /* @__PURE__ */ jsxs(Fragment, { children: [
3932
- size === "lg" || size === "md" ? /* @__PURE__ */ jsx(LinkOutOutline24Icon, { "aria-hidden": true }) : /* @__PURE__ */ jsx(LinkOutOutline18Icon, { "aria-hidden": true }),
3932
+ size === "lg" || size === "md" ? /* @__PURE__ */ jsx(LinkOutOutline24Icon, { "aria-hidden": true, display: "inline" }) : /* @__PURE__ */ jsx(LinkOutOutline18Icon, { "aria-hidden": true, display: "inline" }),
3933
3933
  /* @__PURE__ */ jsx(VisuallyHidden, { children: label })
3934
3934
  ] });
3935
3935
  var TextLink = forwardRef(
@@ -5594,32 +5594,22 @@ var inputRecipe = defineRecipe({
5594
5594
  });
5595
5595
  var linkRecipe = defineRecipe({
5596
5596
  base: {
5597
- transitionProperty: "common",
5598
- transitionDuration: "fast",
5599
- transitionTimingFunction: "ease-out",
5600
- cursor: "pointer",
5601
- backgroundImage: "linear-gradient(currentColor, currentColor)",
5602
- backgroundSize: "100% 1px",
5603
- backgroundPosition: "0 100%",
5604
- backgroundRepeat: "no-repeat",
5605
- borderRadius: "none",
5606
- paddingX: "2px",
5607
- paddingY: "0",
5597
+ display: "inline",
5608
5598
  color: "inherit",
5609
- display: "inline-flex",
5610
- alignItems: "center",
5611
- gap: "0",
5612
- position: "relative",
5613
- boxDecorationBreak: "clone",
5614
- textUnderlineOffset: "0",
5615
- "&:focus, &:focus-visible, &:active, &:hover": {
5616
- backgroundImage: "none",
5617
- backgroundSize: "100%",
5618
- outline: "none",
5619
- borderRadius: "xs"
5599
+ cursor: "pointer",
5600
+ textDecorationLine: "underline",
5601
+ textDecorationSkipInk: "none",
5602
+ textUnderlineOffset: "auto",
5603
+ textUnderlinePosition: "from-font",
5604
+ gap: "0.5",
5605
+ borderRadius: "xs",
5606
+ paddingX: "0.5",
5607
+ whiteSpace: "normal",
5608
+ wordBreak: "break-word",
5609
+ _hover: {
5610
+ textDecoration: "none"
5620
5611
  },
5621
5612
  "& svg": {
5622
- display: "inline-block",
5623
5613
  width: "1.125em",
5624
5614
  height: "1.125em",
5625
5615
  position: "relative",
@@ -6728,6 +6718,8 @@ var checkboxSlotRecipe = defineSlotRecipe({
6728
6718
  slots: checkboxAnatomy.keys(),
6729
6719
  base: {
6730
6720
  root: {
6721
+ whiteSpace: "normal",
6722
+ wordBreak: "break-word",
6731
6723
  display: "flex",
6732
6724
  gap: 1.5,
6733
6725
  _hover: {
@@ -6754,6 +6746,7 @@ var checkboxSlotRecipe = defineSlotRecipe({
6754
6746
  control: {
6755
6747
  width: 4,
6756
6748
  height: 4,
6749
+ flexShrink: 0,
6757
6750
  transitionProperty: "background, border-color",
6758
6751
  transitionDuration: "moderate",
6759
6752
  border: "2px solid",
@@ -6793,7 +6786,6 @@ var checkboxSlotRecipe = defineSlotRecipe({
6793
6786
  }
6794
6787
  },
6795
6788
  label: {
6796
- userSelect: "none",
6797
6789
  _disabled: { opacity: 0.4 }
6798
6790
  }
6799
6791
  }