@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.
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.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/90",
192
- destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
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/80",
368
- secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
369
- destructive: "border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",
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/90",
996
- destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
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("animate-pulse rounded-xl bg-primary/10 ", className),
2997
+ className: cn(
2998
+ "animate-pulse rounded-xl bg-background-primary-light ",
2999
+ className
3000
+ ),
2998
3001
  ...props
2999
3002
  }
3000
3003
  );