infinity-ui-elements 1.8.17 → 1.8.18

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.esm.js CHANGED
@@ -1621,7 +1621,7 @@ const Checkbox = React.forwardRef(({ label, errorText, size = "medium", validati
1621
1621
  },
1622
1622
  large: {
1623
1623
  gap: "gap-3",
1624
- labelSize: "text-body-large-regular",
1624
+ labelSize: "text-body-medium-regular",
1625
1625
  iconSize: 14,
1626
1626
  },
1627
1627
  };
@@ -3677,7 +3677,7 @@ const switchVariants = cva("relative inline-flex items-center shrink-0 cursor-po
3677
3677
  isDisabled: false,
3678
3678
  },
3679
3679
  });
3680
- const switchThumbVariants = cva("inline-block rounded-full bg-neutral-00 shadow-sm transition-transform duration-200", {
3680
+ const switchThumbVariants = cva("inline-block rounded-full bg-white shadow-sm transition-transform duration-200", {
3681
3681
  variants: {
3682
3682
  size: {
3683
3683
  small: "h-[8px] w-[8px]",
@@ -3762,11 +3762,11 @@ const Switch = React.forwardRef(({ label, size = "medium", isDisabled = false, c
3762
3762
  },
3763
3763
  medium: {
3764
3764
  gap: "gap-2.5",
3765
- labelSize: "text-body-medium-regular",
3765
+ labelSize: "text-body-small-regular",
3766
3766
  },
3767
3767
  large: {
3768
3768
  gap: "gap-3",
3769
- labelSize: "text-body-large-regular",
3769
+ labelSize: "text-body-medium-regular",
3770
3770
  },
3771
3771
  };
3772
3772
  const config = sizeConfig[size];
@@ -3802,7 +3802,7 @@ const tableVariants = cva("w-full border-collapse", {
3802
3802
  size: "medium",
3803
3803
  },
3804
3804
  });
3805
- const tableHeaderVariants = cva("text-body-medium-regular text-left text-surface-ink-neutral-normal border-b border-surface-outline-neutral-muted", {
3805
+ const tableHeaderVariants = cva("text-body-medium-regular text-left text-surface-ink-neutral-normal border-b border-surface-outline-neutral-muted box-border", {
3806
3806
  variants: {
3807
3807
  size: {
3808
3808
  small: "px-3 py-2 h-[32px]",
@@ -3815,7 +3815,7 @@ const tableHeaderVariants = cva("text-body-medium-regular text-left text-surface
3815
3815
  size: "medium",
3816
3816
  },
3817
3817
  });
3818
- const tableCellVariants = cva("text-body-medium-regular border-b border-surface-outline-neutral-muted text-surface-ink-neutral-normal transition-colors duration-150", {
3818
+ const tableCellVariants = cva("text-body-medium-regular border-b border-surface-outline-neutral-muted text-surface-ink-neutral-normal transition-colors duration-150 box-border", {
3819
3819
  variants: {
3820
3820
  size: {
3821
3821
  small: "px-3 py-2 h-[40px]",