singularity-components 0.1.80 → 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 +27 -27
- package/dist/main.cjs.map +1 -1
- package/dist/main.css +349 -0
- package/dist/main.css.map +1 -1
- package/dist/main.js +27 -27
- package/dist/main.js.map +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -20024,7 +20024,7 @@ function AccordionItem({
|
|
|
20024
20024
|
AccordionPrimitive.Item,
|
|
20025
20025
|
{
|
|
20026
20026
|
"data-slot": "accordion-item",
|
|
20027
|
-
className: cn("sg:border-b last:
|
|
20027
|
+
className: cn("sg:border-b sg:last:border-b-0", className),
|
|
20028
20028
|
...props
|
|
20029
20029
|
}
|
|
20030
20030
|
);
|
|
@@ -20039,7 +20039,7 @@ function AccordionTrigger({
|
|
|
20039
20039
|
{
|
|
20040
20040
|
"data-slot": "accordion-trigger",
|
|
20041
20041
|
className: cn(
|
|
20042
|
-
"focus-visible:
|
|
20042
|
+
"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",
|
|
20043
20043
|
className
|
|
20044
20044
|
),
|
|
20045
20045
|
...props,
|
|
@@ -20059,7 +20059,7 @@ function AccordionContent({
|
|
|
20059
20059
|
AccordionPrimitive.Content,
|
|
20060
20060
|
{
|
|
20061
20061
|
"data-slot": "accordion-content",
|
|
20062
|
-
className: "data-[state=closed]:
|
|
20062
|
+
className: "sg:data-[state=closed]:animate-accordion-up sg:data-[state=open]:animate-accordion-down sg:overflow-hidden sg:text-sm",
|
|
20063
20063
|
...props,
|
|
20064
20064
|
children: /* @__PURE__ */ jsx("div", { className: cn("sg:pt-0 sg:pb-4", className), children })
|
|
20065
20065
|
}
|
|
@@ -20124,14 +20124,14 @@ function AlertDescription({
|
|
|
20124
20124
|
);
|
|
20125
20125
|
}
|
|
20126
20126
|
var badgeVariants = cva(
|
|
20127
|
-
"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]:
|
|
20127
|
+
"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",
|
|
20128
20128
|
{
|
|
20129
20129
|
variants: {
|
|
20130
20130
|
variant: {
|
|
20131
|
-
default: "sg:border-transparent sg:bg-primary sg:text-primary-foreground [a&]:hover:
|
|
20132
|
-
secondary: "sg:border-transparent sg:bg-secondary sg:text-secondary-foreground [a&]:hover:
|
|
20133
|
-
destructive: "sg:border-transparent sg:bg-destructive sg:text-white [a&]:hover:
|
|
20134
|
-
outline: "sg:text-foreground [a&]:hover:
|
|
20131
|
+
default: "sg:border-transparent sg:bg-primary sg:text-primary-foreground sg:[a&]:hover:bg-primary/90",
|
|
20132
|
+
secondary: "sg:border-transparent sg:bg-secondary sg:text-secondary-foreground sg:[a&]:hover:bg-secondary/90",
|
|
20133
|
+
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",
|
|
20134
|
+
outline: "sg:text-foreground sg:[a&]:hover:bg-accent sg:[a&]:hover:text-accent-foreground"
|
|
20135
20135
|
}
|
|
20136
20136
|
},
|
|
20137
20137
|
defaultVariants: {
|
|
@@ -20156,21 +20156,21 @@ function Badge2({
|
|
|
20156
20156
|
);
|
|
20157
20157
|
}
|
|
20158
20158
|
var buttonVariants = cva(
|
|
20159
|
-
"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:
|
|
20159
|
+
"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",
|
|
20160
20160
|
{
|
|
20161
20161
|
variants: {
|
|
20162
20162
|
variant: {
|
|
20163
|
-
default: "sg:bg-primary sg:text-primary-foreground sg:shadow-xs hover:
|
|
20164
|
-
destructive: "sg:bg-destructive sg:text-white sg:shadow-xs hover:
|
|
20165
|
-
outline: "sg:border sg:bg-background sg:shadow-xs hover:
|
|
20166
|
-
secondary: "sg:bg-secondary sg:text-secondary-foreground sg:shadow-xs hover:
|
|
20167
|
-
ghost: "hover:
|
|
20168
|
-
link: "sg:text-primary sg:underline-offset-4 hover:
|
|
20163
|
+
default: "sg:bg-primary sg:text-primary-foreground sg:shadow-xs sg:hover:bg-primary/90",
|
|
20164
|
+
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",
|
|
20165
|
+
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",
|
|
20166
|
+
secondary: "sg:bg-secondary sg:text-secondary-foreground sg:shadow-xs sg:hover:bg-secondary/80",
|
|
20167
|
+
ghost: "sg:hover:bg-accent sg:hover:text-accent-foreground sg:dark:hover:bg-accent/50",
|
|
20168
|
+
link: "sg:text-primary sg:underline-offset-4 sg:hover:underline"
|
|
20169
20169
|
},
|
|
20170
20170
|
size: {
|
|
20171
|
-
default: "sg:h-9 sg:px-4 sg:py-2 has-[>svg]:
|
|
20172
|
-
sm: "sg:h-8 sg:rounded-md sg:gap-1.5 sg:px-3 has-[>svg]:
|
|
20173
|
-
lg: "sg:h-10 sg:rounded-md sg:px-6 has-[>svg]:
|
|
20171
|
+
default: "sg:h-9 sg:px-4 sg:py-2 sg:has-[>svg]:px-3",
|
|
20172
|
+
sm: "sg:h-8 sg:rounded-md sg:gap-1.5 sg:px-3 sg:has-[>svg]:px-2.5",
|
|
20173
|
+
lg: "sg:h-10 sg:rounded-md sg:px-6 sg:has-[>svg]:px-4",
|
|
20174
20174
|
icon: "sg:size-9"
|
|
20175
20175
|
}
|
|
20176
20176
|
},
|
|
@@ -20293,9 +20293,9 @@ function Input({ className, type, ...props }) {
|
|
|
20293
20293
|
type,
|
|
20294
20294
|
"data-slot": "input",
|
|
20295
20295
|
className: cn(
|
|
20296
|
-
"file:
|
|
20297
|
-
"focus-visible:
|
|
20298
|
-
"aria-invalid:
|
|
20296
|
+
"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",
|
|
20297
|
+
"sg:focus-visible:border-ring sg:focus-visible:ring-ring/50 sg:focus-visible:ring-[3px]",
|
|
20298
|
+
"sg:aria-invalid:ring-destructive/20 sg:dark:aria-invalid:ring-destructive/40 sg:aria-invalid:border-destructive",
|
|
20299
20299
|
className
|
|
20300
20300
|
),
|
|
20301
20301
|
...props
|
|
@@ -20440,7 +20440,7 @@ function TableHeader({ className, ...props }) {
|
|
|
20440
20440
|
"thead",
|
|
20441
20441
|
{
|
|
20442
20442
|
"data-slot": "table-header",
|
|
20443
|
-
className: cn("[&_tr]:
|
|
20443
|
+
className: cn("sg:[&_tr]:border-b", className),
|
|
20444
20444
|
...props
|
|
20445
20445
|
}
|
|
20446
20446
|
);
|
|
@@ -20450,7 +20450,7 @@ function TableBody({ className, ...props }) {
|
|
|
20450
20450
|
"tbody",
|
|
20451
20451
|
{
|
|
20452
20452
|
"data-slot": "table-body",
|
|
20453
|
-
className: cn("[&_tr:last-child]:
|
|
20453
|
+
className: cn("sg:[&_tr:last-child]:border-0", className),
|
|
20454
20454
|
...props
|
|
20455
20455
|
}
|
|
20456
20456
|
);
|
|
@@ -20461,7 +20461,7 @@ function TableFooter({ className, ...props }) {
|
|
|
20461
20461
|
{
|
|
20462
20462
|
"data-slot": "table-footer",
|
|
20463
20463
|
className: cn(
|
|
20464
|
-
"sg:bg-muted/50 sg:border-t sg:font-medium [&>tr]:last:
|
|
20464
|
+
"sg:bg-muted/50 sg:border-t sg:font-medium sg:[&>tr]:last:border-b-0",
|
|
20465
20465
|
className
|
|
20466
20466
|
),
|
|
20467
20467
|
...props
|
|
@@ -20474,7 +20474,7 @@ function TableRow({ className, ...props }) {
|
|
|
20474
20474
|
{
|
|
20475
20475
|
"data-slot": "table-row",
|
|
20476
20476
|
className: cn(
|
|
20477
|
-
"hover:
|
|
20477
|
+
"sg:hover:bg-muted/50 sg:data-[state=selected]:bg-muted sg:border-b sg:transition-colors",
|
|
20478
20478
|
className
|
|
20479
20479
|
),
|
|
20480
20480
|
...props
|
|
@@ -20487,7 +20487,7 @@ function TableHead({ className, ...props }) {
|
|
|
20487
20487
|
{
|
|
20488
20488
|
"data-slot": "table-head",
|
|
20489
20489
|
className: cn(
|
|
20490
|
-
"sg:text-foreground sg:h-10 sg:px-2 sg:text-left sg:align-middle sg:font-medium sg:whitespace-nowrap [&:has([role=checkbox])]:
|
|
20490
|
+
"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]",
|
|
20491
20491
|
className
|
|
20492
20492
|
),
|
|
20493
20493
|
...props
|
|
@@ -20500,7 +20500,7 @@ function TableCell({ className, ...props }) {
|
|
|
20500
20500
|
{
|
|
20501
20501
|
"data-slot": "table-cell",
|
|
20502
20502
|
className: cn(
|
|
20503
|
-
"sg:p-2 sg:align-middle sg:whitespace-nowrap [&:has([role=checkbox])]:
|
|
20503
|
+
"sg:p-2 sg:align-middle sg:whitespace-nowrap sg:[&:has([role=checkbox])]:pr-0 sg:[&>[role=checkbox]]:translate-y-[2px]",
|
|
20504
20504
|
className
|
|
20505
20505
|
),
|
|
20506
20506
|
...props
|