singularity-components 0.1.87 → 0.1.89

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/main.cjs CHANGED
@@ -20259,13 +20259,22 @@ var iconVariants = classVarianceAuthority.cva("", {
20259
20259
  sm: "",
20260
20260
  md: "",
20261
20261
  lg: ""
20262
+ },
20263
+ color: {
20264
+ default: "sg:text-foreground",
20265
+ black: "sg:text-black",
20266
+ white: "sg:text-white",
20267
+ gray: "sg:text-gray",
20268
+ primary: "sg:text-primary",
20269
+ secondary: "sg:text-secondary"
20262
20270
  }
20263
20271
  },
20264
20272
  defaultVariants: {
20265
- size: "md"
20273
+ size: "md",
20274
+ color: "default"
20266
20275
  }
20267
20276
  });
20268
- function Icon2({ className, size, icon, spin, ...props }) {
20277
+ function Icon2({ className, size, color, icon, spin, ...props }) {
20269
20278
  const LucideIcon2 = icons_exports[icon];
20270
20279
  let iconSize = 20;
20271
20280
  if (size == "sm") {
@@ -20277,7 +20286,10 @@ function Icon2({ className, size, icon, spin, ...props }) {
20277
20286
  LucideIcon2,
20278
20287
  {
20279
20288
  size: iconSize,
20280
- className: clsx2__default.default(className, spin && "sg:animate-spin"),
20289
+ className: cn(
20290
+ iconVariants({ color, className }),
20291
+ spin && "sg:animate-spin"
20292
+ ),
20281
20293
  ...props
20282
20294
  }
20283
20295
  );
@@ -20562,11 +20574,11 @@ var textBodyVariants = classVarianceAuthority.cva("", {
20562
20574
  },
20563
20575
  foreground: {
20564
20576
  default: "sg:text-foreground",
20565
- muted: "sg:text-muted-foreground",
20577
+ black: "sg:text-black",
20578
+ white: "sg:text-white",
20579
+ gray: "sg:text-gray",
20566
20580
  primary: "sg:text-primary",
20567
- secondary: "sg:text-secondary-foreground",
20568
- destructive: "sg:text-destructive",
20569
- accent: "sg:text-accent-foreground"
20581
+ secondary: "sg:text-secondary"
20570
20582
  },
20571
20583
  weight: {
20572
20584
  normal: "sg:font-normal",
@@ -20612,6 +20624,14 @@ var textDisplayVariants = classVarianceAuthority.cva("sg:block sg:font-bold sg:t
20612
20624
  md: "sg:text-5xl",
20613
20625
  lg: "sg:text-6xl"
20614
20626
  },
20627
+ foreground: {
20628
+ default: "sg:text-foreground",
20629
+ black: "sg:text-black",
20630
+ white: "sg:text-white",
20631
+ gray: "sg:text-gray",
20632
+ primary: "sg:text-primary",
20633
+ secondary: "sg:text-secondary"
20634
+ },
20615
20635
  gradient: {
20616
20636
  none: "",
20617
20637
  true: "sg:text-transparent sg:bg-clip-text sg:bg-gradient-to-r sg:from-blue sg:via-orange sg:to-red"
@@ -20619,6 +20639,7 @@ var textDisplayVariants = classVarianceAuthority.cva("sg:block sg:font-bold sg:t
20619
20639
  },
20620
20640
  defaultVariants: {
20621
20641
  size: "md",
20642
+ foreground: "default",
20622
20643
  gradient: "none"
20623
20644
  }
20624
20645
  });
@@ -20626,6 +20647,7 @@ var TextDisplay = ({
20626
20647
  children,
20627
20648
  size,
20628
20649
  gradient,
20650
+ foreground,
20629
20651
  className,
20630
20652
  ...props
20631
20653
  }) => {
@@ -20636,6 +20658,7 @@ var TextDisplay = ({
20636
20658
  textDisplayVariants({
20637
20659
  size,
20638
20660
  gradient,
20661
+ foreground,
20639
20662
  className
20640
20663
  })
20641
20664
  ),
@@ -20654,8 +20677,11 @@ var textHeadingVariants = classVarianceAuthority.cva("", {
20654
20677
  },
20655
20678
  foreground: {
20656
20679
  default: "sg:text-foreground",
20657
- muted: "sg:text-muted-foreground",
20658
- primary: "sg:text-primary"
20680
+ black: "sg:text-black",
20681
+ white: "sg:text-white",
20682
+ gray: "sg:text-gray",
20683
+ primary: "sg:text-primary",
20684
+ secondary: "sg:text-secondary"
20659
20685
  }
20660
20686
  },
20661
20687
  defaultVariants: {