@nuvia/components 1.3.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.cjs
CHANGED
|
@@ -184,12 +184,12 @@ var AlertDescription = React36__namespace.forwardRef(({ className, ...props }, r
|
|
|
184
184
|
));
|
|
185
185
|
AlertDescription.displayName = "AlertDescription";
|
|
186
186
|
var buttonVariants = classVarianceAuthority.cva(
|
|
187
|
-
"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",
|
|
187
|
+
"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",
|
|
188
188
|
{
|
|
189
189
|
variants: {
|
|
190
190
|
variant: {
|
|
191
|
-
default: "bg-foreground-primary-medium text-white shadow hover:bg-primary
|
|
192
|
-
destructive: "bg-destructive text-destructive-foreground hover:bg-destructive
|
|
191
|
+
default: "bg-foreground-primary-medium text-white shadow hover:bg-primary-hover",
|
|
192
|
+
destructive: "bg-destructive text-destructive-foreground hover:bg-destructive-hover",
|
|
193
193
|
outline: "border border-input bg-background hover:bg-secondary hover:text-accent-foreground text-foreground-secondary-heavy",
|
|
194
194
|
secondary: "bg-background-secondary-light hover:background-secondary-light/40 text-foreground-secondary-heavy",
|
|
195
195
|
ghost: "text-foreground-secondary-heavy hover:bg-background-secondary-light",
|
|
@@ -364,9 +364,9 @@ var badgeVariants = classVarianceAuthority.cva(
|
|
|
364
364
|
{
|
|
365
365
|
variants: {
|
|
366
366
|
variant: {
|
|
367
|
-
default: "border-transparent bg-primary text-primary-foreground hover:bg-primary
|
|
368
|
-
secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary
|
|
369
|
-
destructive: "border-transparent bg-destructive text-destructive-foreground hover:bg-destructive
|
|
367
|
+
default: "border-transparent bg-primary text-primary-foreground hover:bg-primary-hover",
|
|
368
|
+
secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary-hover",
|
|
369
|
+
destructive: "border-transparent bg-destructive text-destructive-foreground hover:bg-destructive-hover",
|
|
370
370
|
outline: "text-foreground"
|
|
371
371
|
}
|
|
372
372
|
},
|
|
@@ -992,8 +992,8 @@ var chipVariants = classVarianceAuthority.cva(
|
|
|
992
992
|
{
|
|
993
993
|
variants: {
|
|
994
994
|
variant: {
|
|
995
|
-
default: "bg-primary text-primary-foreground shadow hover:bg-primary
|
|
996
|
-
destructive: "bg-destructive text-destructive-foreground hover:bg-destructive
|
|
995
|
+
default: "bg-primary text-primary-foreground shadow hover:bg-primary-hover",
|
|
996
|
+
destructive: "bg-destructive text-destructive-foreground hover:bg-destructive-hover",
|
|
997
997
|
outline: "border border-input bg-secondary/40 hover:bg-accent hover:bg-secondary/90",
|
|
998
998
|
secondary: "bg-secondary/50 hover:bg-secondary dark:bg-secondary/25 text-secondary-foreground dark:hover:bg-secondary/40",
|
|
999
999
|
ghost: "hover:bg-accent hover:text-accent-foreground",
|
|
@@ -2994,7 +2994,10 @@ function Skeleton({
|
|
|
2994
2994
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2995
2995
|
"div",
|
|
2996
2996
|
{
|
|
2997
|
-
className: cn(
|
|
2997
|
+
className: cn(
|
|
2998
|
+
"animate-pulse rounded-xl bg-background-primary-light ",
|
|
2999
|
+
className
|
|
3000
|
+
),
|
|
2998
3001
|
...props
|
|
2999
3002
|
}
|
|
3000
3003
|
);
|