@nuvia/components 1.2.0 → 1.4.0
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.cjs +12 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +12 -9
- package/dist/index.js.map +1 -1
- package/dist/ui/alert-dialog.cjs +3 -3
- package/dist/ui/alert-dialog.cjs.map +1 -1
- package/dist/ui/alert-dialog.js +3 -3
- package/dist/ui/alert-dialog.js.map +1 -1
- package/dist/ui/badge.cjs +3 -3
- package/dist/ui/badge.cjs.map +1 -1
- package/dist/ui/badge.js +3 -3
- package/dist/ui/badge.js.map +1 -1
- package/dist/ui/button.cjs +3 -3
- package/dist/ui/button.cjs.map +1 -1
- package/dist/ui/button.js +3 -3
- package/dist/ui/button.js.map +1 -1
- package/dist/ui/calendar.cjs +3 -3
- package/dist/ui/calendar.cjs.map +1 -1
- package/dist/ui/calendar.js +3 -3
- package/dist/ui/calendar.js.map +1 -1
- package/dist/ui/carousel.cjs +3 -3
- package/dist/ui/carousel.cjs.map +1 -1
- package/dist/ui/carousel.js +3 -3
- package/dist/ui/carousel.js.map +1 -1
- package/dist/ui/chip.cjs +2 -2
- package/dist/ui/chip.cjs.map +1 -1
- package/dist/ui/chip.js +2 -2
- package/dist/ui/chip.js.map +1 -1
- package/dist/ui/combobox.cjs +3 -3
- package/dist/ui/combobox.cjs.map +1 -1
- package/dist/ui/combobox.js +3 -3
- package/dist/ui/combobox.js.map +1 -1
- package/dist/ui/multi-combobox.cjs +3 -3
- package/dist/ui/multi-combobox.cjs.map +1 -1
- package/dist/ui/multi-combobox.js +3 -3
- package/dist/ui/multi-combobox.js.map +1 -1
- package/dist/ui/pagination.cjs +3 -3
- package/dist/ui/pagination.cjs.map +1 -1
- package/dist/ui/pagination.js +3 -3
- package/dist/ui/pagination.js.map +1 -1
- package/dist/ui/sidebar.cjs +7 -4
- package/dist/ui/sidebar.cjs.map +1 -1
- package/dist/ui/sidebar.js +7 -4
- package/dist/ui/sidebar.js.map +1 -1
- package/dist/ui/skeleton.cjs +4 -1
- package/dist/ui/skeleton.cjs.map +1 -1
- package/dist/ui/skeleton.js +4 -1
- package/dist/ui/skeleton.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -133,12 +133,12 @@ var AlertDescription = React36.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
133
133
|
));
|
|
134
134
|
AlertDescription.displayName = "AlertDescription";
|
|
135
135
|
var buttonVariants = cva(
|
|
136
|
-
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-xl text-sm font-medium focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-[#5A6FC0] disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
136
|
+
"inline-flex cursor-pointer items-center justify-center gap-2 whitespace-nowrap rounded-xl text-sm font-medium focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-[#5A6FC0] disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
137
137
|
{
|
|
138
138
|
variants: {
|
|
139
139
|
variant: {
|
|
140
|
-
default: "bg-foreground-primary-medium text-white shadow hover:bg-primary
|
|
141
|
-
destructive: "bg-destructive text-destructive-foreground hover:bg-destructive
|
|
140
|
+
default: "bg-foreground-primary-medium text-white shadow hover:bg-primary-hover",
|
|
141
|
+
destructive: "bg-destructive text-destructive-foreground hover:bg-destructive-hover",
|
|
142
142
|
outline: "border border-input bg-background hover:bg-secondary hover:text-accent-foreground text-foreground-secondary-heavy",
|
|
143
143
|
secondary: "bg-background-secondary-light hover:background-secondary-light/40 text-foreground-secondary-heavy",
|
|
144
144
|
ghost: "text-foreground-secondary-heavy hover:bg-background-secondary-light",
|
|
@@ -313,9 +313,9 @@ var badgeVariants = cva(
|
|
|
313
313
|
{
|
|
314
314
|
variants: {
|
|
315
315
|
variant: {
|
|
316
|
-
default: "border-transparent bg-primary text-primary-foreground hover:bg-primary
|
|
317
|
-
secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary
|
|
318
|
-
destructive: "border-transparent bg-destructive text-destructive-foreground hover:bg-destructive
|
|
316
|
+
default: "border-transparent bg-primary text-primary-foreground hover:bg-primary-hover",
|
|
317
|
+
secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary-hover",
|
|
318
|
+
destructive: "border-transparent bg-destructive text-destructive-foreground hover:bg-destructive-hover",
|
|
319
319
|
outline: "text-foreground"
|
|
320
320
|
}
|
|
321
321
|
},
|
|
@@ -941,8 +941,8 @@ var chipVariants = cva(
|
|
|
941
941
|
{
|
|
942
942
|
variants: {
|
|
943
943
|
variant: {
|
|
944
|
-
default: "bg-primary text-primary-foreground shadow hover:bg-primary
|
|
945
|
-
destructive: "bg-destructive text-destructive-foreground hover:bg-destructive
|
|
944
|
+
default: "bg-primary text-primary-foreground shadow hover:bg-primary-hover",
|
|
945
|
+
destructive: "bg-destructive text-destructive-foreground hover:bg-destructive-hover",
|
|
946
946
|
outline: "border border-input bg-secondary/40 hover:bg-accent hover:bg-secondary/90",
|
|
947
947
|
secondary: "bg-secondary/50 hover:bg-secondary dark:bg-secondary/25 text-secondary-foreground dark:hover:bg-secondary/40",
|
|
948
948
|
ghost: "hover:bg-accent hover:text-accent-foreground",
|
|
@@ -2943,7 +2943,10 @@ function Skeleton({
|
|
|
2943
2943
|
return /* @__PURE__ */ jsx(
|
|
2944
2944
|
"div",
|
|
2945
2945
|
{
|
|
2946
|
-
className: cn(
|
|
2946
|
+
className: cn(
|
|
2947
|
+
"animate-pulse rounded-xl bg-background-primary-light ",
|
|
2948
|
+
className
|
|
2949
|
+
),
|
|
2947
2950
|
...props
|
|
2948
2951
|
}
|
|
2949
2952
|
);
|