@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.
Files changed (49) hide show
  1. package/dist/index.cjs +12 -9
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.js +12 -9
  4. package/dist/index.js.map +1 -1
  5. package/dist/ui/alert-dialog.cjs +3 -3
  6. package/dist/ui/alert-dialog.cjs.map +1 -1
  7. package/dist/ui/alert-dialog.js +3 -3
  8. package/dist/ui/alert-dialog.js.map +1 -1
  9. package/dist/ui/badge.cjs +3 -3
  10. package/dist/ui/badge.cjs.map +1 -1
  11. package/dist/ui/badge.js +3 -3
  12. package/dist/ui/badge.js.map +1 -1
  13. package/dist/ui/button.cjs +3 -3
  14. package/dist/ui/button.cjs.map +1 -1
  15. package/dist/ui/button.js +3 -3
  16. package/dist/ui/button.js.map +1 -1
  17. package/dist/ui/calendar.cjs +3 -3
  18. package/dist/ui/calendar.cjs.map +1 -1
  19. package/dist/ui/calendar.js +3 -3
  20. package/dist/ui/calendar.js.map +1 -1
  21. package/dist/ui/carousel.cjs +3 -3
  22. package/dist/ui/carousel.cjs.map +1 -1
  23. package/dist/ui/carousel.js +3 -3
  24. package/dist/ui/carousel.js.map +1 -1
  25. package/dist/ui/chip.cjs +2 -2
  26. package/dist/ui/chip.cjs.map +1 -1
  27. package/dist/ui/chip.js +2 -2
  28. package/dist/ui/chip.js.map +1 -1
  29. package/dist/ui/combobox.cjs +3 -3
  30. package/dist/ui/combobox.cjs.map +1 -1
  31. package/dist/ui/combobox.js +3 -3
  32. package/dist/ui/combobox.js.map +1 -1
  33. package/dist/ui/multi-combobox.cjs +3 -3
  34. package/dist/ui/multi-combobox.cjs.map +1 -1
  35. package/dist/ui/multi-combobox.js +3 -3
  36. package/dist/ui/multi-combobox.js.map +1 -1
  37. package/dist/ui/pagination.cjs +3 -3
  38. package/dist/ui/pagination.cjs.map +1 -1
  39. package/dist/ui/pagination.js +3 -3
  40. package/dist/ui/pagination.js.map +1 -1
  41. package/dist/ui/sidebar.cjs +7 -4
  42. package/dist/ui/sidebar.cjs.map +1 -1
  43. package/dist/ui/sidebar.js +7 -4
  44. package/dist/ui/sidebar.js.map +1 -1
  45. package/dist/ui/skeleton.cjs +4 -1
  46. package/dist/ui/skeleton.cjs.map +1 -1
  47. package/dist/ui/skeleton.js +4 -1
  48. package/dist/ui/skeleton.js.map +1 -1
  49. 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/90",
141
- destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
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/80",
317
- secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
318
- destructive: "border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",
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/90",
945
- destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
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("animate-pulse rounded-xl bg-primary/10 ", className),
2946
+ className: cn(
2947
+ "animate-pulse rounded-xl bg-background-primary-light ",
2948
+ className
2949
+ ),
2947
2950
  ...props
2948
2951
  }
2949
2952
  );