singularity-components 0.1.79 → 0.1.81

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
@@ -20050,7 +20050,7 @@ function AccordionItem({
20050
20050
  AccordionPrimitive__namespace.Item,
20051
20051
  {
20052
20052
  "data-slot": "accordion-item",
20053
- className: cn("sg:border-b last:sg:border-b-0", className),
20053
+ className: cn("sg:border-b sg:last:border-b-0", className),
20054
20054
  ...props
20055
20055
  }
20056
20056
  );
@@ -20065,7 +20065,7 @@ function AccordionTrigger({
20065
20065
  {
20066
20066
  "data-slot": "accordion-trigger",
20067
20067
  className: cn(
20068
- "focus-visible:sg:border-ring focus-visible:sg:ring-ring/50 sg:flex sg:flex-1 sg:items-start sg:justify-between sg:gap-4 sg:rounded-md sg:py-4 sg:text-left sg:text-sm sg:font-medium sg:transition-all sg:outline-none hover:sg:underline focus-visible:sg:ring-[3px] disabled:sg:pointer-events-none disabled:sg:opacity-50 [&[data-state=open]>svg]:sg:rotate-180",
20068
+ "sg:focus-visible:border-ring sg:focus-visible:ring-ring/50 sg:flex sg:flex-1 sg:items-start sg:justify-between sg:gap-4 sg:rounded-md sg:py-4 sg:text-left sg:text-sm sg:font-medium sg:transition-all sg:outline-none sg:hover:underline sg:focus-visible:ring-[3px] sg:disabled:pointer-events-none sg:disabled:opacity-50 sg:[&[data-state=open]>svg]:rotate-180",
20069
20069
  className
20070
20070
  ),
20071
20071
  ...props,
@@ -20085,7 +20085,7 @@ function AccordionContent({
20085
20085
  AccordionPrimitive__namespace.Content,
20086
20086
  {
20087
20087
  "data-slot": "accordion-content",
20088
- className: "data-[state=closed]:sg:animate-accordion-up data-[state=open]:sg:animate-accordion-down sg:overflow-hidden sg:text-sm",
20088
+ className: "sg:data-[state=closed]:animate-accordion-up sg:data-[state=open]:animate-accordion-down sg:overflow-hidden sg:text-sm",
20089
20089
  ...props,
20090
20090
  children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("sg:pt-0 sg:pb-4", className), children })
20091
20091
  }
@@ -20150,14 +20150,14 @@ function AlertDescription({
20150
20150
  );
20151
20151
  }
20152
20152
  var badgeVariants = classVarianceAuthority.cva(
20153
- "sg:inline-flex sg:items-center sg:justify-center sg:rounded-md sg:border sg:px-2 sg:py-0.5 sg:text-xs sg:font-medium sg:w-fit sg:whitespace-nowrap sg:shrink-0 [&>svg]:sg:size-3 sg:gap-1 [&>svg]:sg:pointer-events-none focus-visible:sg:border-ring focus-visible:sg:ring-ring/50 focus-visible:sg:ring-[3px] aria-invalid:sg:ring-destructive/20 dark:aria-invalid:sg:ring-destructive/40 aria-invalid:sg:border-destructive sg:transition-[color,box-shadow] sg:overflow-hidden",
20153
+ "sg:inline-flex sg:items-center sg:justify-center sg:rounded-md sg:border sg:px-2 sg:py-0.5 sg:text-xs sg:font-medium sg:w-fit sg:whitespace-nowrap sg:shrink-0 sg:[&>svg]:size-3 sg:gap-1 sg:[&>svg]:pointer-events-none sg:focus-visible:border-ring sg:focus-visible:ring-ring/50 sg:focus-visible:ring-[3px] sg:aria-invalid:ring-destructive/20 sg:dark:aria-invalid:ring-destructive/40 sg:aria-invalid:border-destructive sg:transition-[color,box-shadow] sg:overflow-hidden",
20154
20154
  {
20155
20155
  variants: {
20156
20156
  variant: {
20157
- default: "sg:border-transparent sg:bg-primary sg:text-primary-foreground [a&]:hover:sg:bg-primary/90",
20158
- secondary: "sg:border-transparent sg:bg-secondary sg:text-secondary-foreground [a&]:hover:sg:bg-secondary/90",
20159
- destructive: "sg:border-transparent sg:bg-destructive sg:text-white [a&]:hover:sg:bg-destructive/90 focus-visible:sg:ring-destructive/20 dark:focus-visible:sg:ring-destructive/40 dark:sg:bg-destructive/60",
20160
- outline: "sg:text-foreground [a&]:hover:sg:bg-accent [a&]:hover:sg:text-accent-foreground"
20157
+ default: "sg:border-transparent sg:bg-primary sg:text-primary-foreground sg:[a&]:hover:bg-primary/90",
20158
+ secondary: "sg:border-transparent sg:bg-secondary sg:text-secondary-foreground sg:[a&]:hover:bg-secondary/90",
20159
+ destructive: "sg:border-transparent sg:bg-destructive sg:text-white sg:[a&]:hover:bg-destructive/90 sg:focus-visible:ring-destructive/20 sg:dark:focus-visible:ring-destructive/40 sg:dark:bg-destructive/60",
20160
+ outline: "sg:text-foreground sg:[a&]:hover:bg-accent sg:[a&]:hover:text-accent-foreground"
20161
20161
  }
20162
20162
  },
20163
20163
  defaultVariants: {
@@ -20182,21 +20182,21 @@ function Badge2({
20182
20182
  );
20183
20183
  }
20184
20184
  var buttonVariants = classVarianceAuthority.cva(
20185
- "sg:inline-flex sg:items-center sg:justify-center sg:gap-2 sg:whitespace-nowrap sg:rounded-md sg:text-sm sg:font-medium sg:transition-all disabled:sg:pointer-events-none disabled:sg:opacity-50 [&_svg]:sg:pointer-events-none [&_svg:not([class*=size-])]:sg:size-4 sg:shrink-0 [&_svg]:sg:shrink-0 sg:outline-none focus-visible:sg:border-ring focus-visible:sg:ring-ring/50 focus-visible:sg:ring-[3px] aria-invalid:sg:ring-destructive/20 dark:aria-invalid:sg:ring-destructive/40 aria-invalid:sg:border-destructive",
20185
+ "sg:inline-flex sg:items-center sg:justify-center sg:gap-2 sg:whitespace-nowrap sg:cursor-pointer sg:rounded-md sg:text-sm sg:font-medium sg:transition-all sg:disabled:pointer-events-none sg:disabled:opacity-50 sg:[&_svg]:pointer-events-none sg:[&_svg:not([class*=size-])]:size-4 sg:shrink-0 sg:[&_svg]:shrink-0 sg:outline-none sg:focus-visible:border-ring sg:focus-visible:ring-ring/50 sg:focus-visible:ring-[3px] sg:aria-invalid:ring-destructive/20 sg:dark:aria-invalid:ring-destructive/40 sg:aria-invalid:border-destructive",
20186
20186
  {
20187
20187
  variants: {
20188
20188
  variant: {
20189
- default: "sg:bg-primary sg:text-primary-foreground sg:shadow-xs hover:sg:bg-primary/90",
20190
- destructive: "sg:bg-destructive sg:text-white sg:shadow-xs hover:sg:bg-destructive/90 focus-visible:sg:ring-destructive/20 dark:focus-visible:sg:ring-destructive/40 dark:sg:bg-destructive/60",
20191
- outline: "sg:border sg:bg-background sg:shadow-xs hover:sg:bg-accent hover:sg:text-accent-foreground dark:sg:bg-input/30 dark:sg:border-input dark:hover:sg:bg-input/50",
20192
- secondary: "sg:bg-secondary sg:text-secondary-foreground sg:shadow-xs hover:sg:bg-secondary/80",
20193
- ghost: "hover:sg:bg-accent hover:sg:text-accent-foreground dark:hover:sg:bg-accent/50",
20194
- link: "sg:text-primary sg:underline-offset-4 hover:sg:underline"
20189
+ default: "sg:bg-primary sg:text-primary-foreground sg:shadow-xs sg:hover:bg-primary/90",
20190
+ destructive: "sg:bg-destructive sg:text-white sg:shadow-xs sg:hover:bg-destructive/90 sg:focus-visible:ring-destructive/20 sg:dark:focus-visible:ring-destructive/40 sg:dark:bg-destructive/60",
20191
+ outline: "sg:border sg:bg-background sg:shadow-xs sg:hover:bg-accent sg:hover:text-accent-foreground sg:dark:bg-input/30 sg:dark:border-input sg:dark:hover:bg-input/50",
20192
+ secondary: "sg:bg-secondary sg:text-secondary-foreground sg:shadow-xs sg:hover:bg-secondary/80",
20193
+ ghost: "sg:hover:bg-accent sg:hover:text-accent-foreground sg:dark:hover:bg-accent/50",
20194
+ link: "sg:text-primary sg:underline-offset-4 sg:hover:underline"
20195
20195
  },
20196
20196
  size: {
20197
- default: "sg:h-9 sg:px-4 sg:py-2 has-[>svg]:sg:px-3",
20198
- sm: "sg:h-8 sg:rounded-md sg:gap-1.5 sg:px-3 has-[>svg]:sg:px-2.5",
20199
- lg: "sg:h-10 sg:rounded-md sg:px-6 has-[>svg]:sg:px-4",
20197
+ default: "sg:h-9 sg:px-4 sg:py-2 sg:has-[>svg]:px-3",
20198
+ sm: "sg:h-8 sg:rounded-md sg:gap-1.5 sg:px-3 sg:has-[>svg]:px-2.5",
20199
+ lg: "sg:h-10 sg:rounded-md sg:px-6 sg:has-[>svg]:px-4",
20200
20200
  icon: "sg:size-9"
20201
20201
  }
20202
20202
  },
@@ -20319,9 +20319,9 @@ function Input({ className, type, ...props }) {
20319
20319
  type,
20320
20320
  "data-slot": "input",
20321
20321
  className: cn(
20322
- "file:sg:text-foreground placeholder:sg:text-muted-foreground selection:sg:bg-primary selection:sg:text-primary-foreground dark:sg:bg-input/30 sg:border-input sg:flex sg:h-9 sg:w-full sg:min-w-0 sg:rounded-md sg:border sg:bg-transparent sg:px-3 sg:py-1 sg:text-base sg:shadow-xs sg:transition-[color,box-shadow] sg:outline-none file:sg:inline-flex file:sg:h-7 file:sg:border-0 file:sg:bg-transparent file:sg:text-sm file:sg:font-medium disabled:sg:pointer-events-none disabled:sg:cursor-not-allowed disabled:sg:opacity-50 md:sg:text-sm",
20323
- "focus-visible:sg:border-ring focus-visible:sg:ring-ring/50 focus-visible:sg:ring-[3px]",
20324
- "aria-invalid:sg:ring-destructive/20 dark:aria-invalid:sg:ring-destructive/40 aria-invalid:sg:border-destructive",
20322
+ "sg:file:text-foreground sg:placeholder:text-muted-foreground sg:selection:bg-primary sg:selection:text-primary-foreground sg:dark:bg-input/30 sg:border-input sg:flex sg:h-9 sg:w-full sg:min-w-0 sg:rounded-md sg:border sg:bg-transparent sg:px-3 sg:py-1 sg:text-base sg:shadow-xs sg:transition-[color,box-shadow] sg:outline-none sg:file:inline-flex sg:file:h-7 sg:file:border-0 sg:file:bg-transparent sg:file:text-sm sg:file:font-medium sg:disabled:pointer-events-none sg:disabled:cursor-not-allowed sg:disabled:opacity-50 sg:md:text-sm",
20323
+ "sg:focus-visible:border-ring sg:focus-visible:ring-ring/50 sg:focus-visible:ring-[3px]",
20324
+ "sg:aria-invalid:ring-destructive/20 sg:dark:aria-invalid:ring-destructive/40 sg:aria-invalid:border-destructive",
20325
20325
  className
20326
20326
  ),
20327
20327
  ...props
@@ -20418,7 +20418,7 @@ function Separator({
20418
20418
  decorative,
20419
20419
  orientation,
20420
20420
  className: cn(
20421
- "sg:bg-border sg:shrink-0 sg:data-[orientation=horizontal]:h-px sg:data-[orientation=horizontal]:w-full sg:data-[orientation=vertical]:h-full sg:data-[orientation=vertical]:w-px",
20421
+ "sg:bg-border sg:shrink-0 sg:data-[orientation=horizontal]:h-px sg:data-[orientation=horizontal]:w-full sg:data-[orientation=vertical]:h-full sg:data-[orientation=vertical]:w-px sg:my-4",
20422
20422
  className
20423
20423
  ),
20424
20424
  ...props
@@ -20466,7 +20466,7 @@ function TableHeader({ className, ...props }) {
20466
20466
  "thead",
20467
20467
  {
20468
20468
  "data-slot": "table-header",
20469
- className: cn("[&_tr]:sg:border-b", className),
20469
+ className: cn("sg:[&_tr]:border-b", className),
20470
20470
  ...props
20471
20471
  }
20472
20472
  );
@@ -20476,7 +20476,7 @@ function TableBody({ className, ...props }) {
20476
20476
  "tbody",
20477
20477
  {
20478
20478
  "data-slot": "table-body",
20479
- className: cn("[&_tr:last-child]:sg:border-0", className),
20479
+ className: cn("sg:[&_tr:last-child]:border-0", className),
20480
20480
  ...props
20481
20481
  }
20482
20482
  );
@@ -20487,7 +20487,7 @@ function TableFooter({ className, ...props }) {
20487
20487
  {
20488
20488
  "data-slot": "table-footer",
20489
20489
  className: cn(
20490
- "sg:bg-muted/50 sg:border-t sg:font-medium [&>tr]:last:sg:border-b-0",
20490
+ "sg:bg-muted/50 sg:border-t sg:font-medium sg:[&>tr]:last:border-b-0",
20491
20491
  className
20492
20492
  ),
20493
20493
  ...props
@@ -20500,7 +20500,7 @@ function TableRow({ className, ...props }) {
20500
20500
  {
20501
20501
  "data-slot": "table-row",
20502
20502
  className: cn(
20503
- "hover:sg:bg-muted/50 data-[state=selected]:sg:bg-muted sg:border-b sg:transition-colors",
20503
+ "sg:hover:bg-muted/50 sg:data-[state=selected]:bg-muted sg:border-b sg:transition-colors",
20504
20504
  className
20505
20505
  ),
20506
20506
  ...props
@@ -20513,7 +20513,7 @@ function TableHead({ className, ...props }) {
20513
20513
  {
20514
20514
  "data-slot": "table-head",
20515
20515
  className: cn(
20516
- "sg:text-foreground sg:h-10 sg:px-2 sg:text-left sg:align-middle sg:font-medium sg:whitespace-nowrap [&:has([role=checkbox])]:sg:pr-0 [&>[role=checkbox]]:sg:translate-y-[2px]",
20516
+ "sg:text-foreground sg:h-10 sg:px-2 sg:text-left sg:align-middle sg:font-medium sg:whitespace-nowrap sg:[&:has([role=checkbox])]:pr-0 sg:[&>[role=checkbox]]:translate-y-[2px]",
20517
20517
  className
20518
20518
  ),
20519
20519
  ...props
@@ -20526,7 +20526,7 @@ function TableCell({ className, ...props }) {
20526
20526
  {
20527
20527
  "data-slot": "table-cell",
20528
20528
  className: cn(
20529
- "sg:p-2 sg:align-middle sg:whitespace-nowrap [&:has([role=checkbox])]:sg:pr-0 [&>[role=checkbox]]:sg:translate-y-[2px]",
20529
+ "sg:p-2 sg:align-middle sg:whitespace-nowrap sg:[&:has([role=checkbox])]:pr-0 sg:[&>[role=checkbox]]:translate-y-[2px]",
20530
20530
  className
20531
20531
  ),
20532
20532
  ...props