@moontra/moonui 6.10.0 → 6.11.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.mjs CHANGED
@@ -6907,10 +6907,10 @@ var tooltipVariants = cva(
6907
6907
  variant: {
6908
6908
  default: "bg-primary text-primary-foreground",
6909
6909
  secondary: "bg-secondary text-secondary-foreground",
6910
- success: "bg-green-500 text-white border-green-600",
6911
- warning: "bg-yellow-500 text-white border-yellow-600",
6910
+ success: "bg-success text-success-foreground border-success",
6911
+ warning: "bg-warning text-warning-foreground border-warning",
6912
6912
  destructive: "bg-destructive text-destructive-foreground",
6913
- info: "bg-blue-500 text-white border-blue-600"
6913
+ info: "bg-info text-info-foreground border-info"
6914
6914
  },
6915
6915
  size: {
6916
6916
  sm: "px-2 py-1 text-xs",
@@ -8292,9 +8292,9 @@ var toastVariants = cva(
8292
8292
  variant: {
8293
8293
  default: "border bg-background text-foreground",
8294
8294
  destructive: "destructive group border-destructive bg-destructive text-destructive-foreground",
8295
- success: "border-green-200 bg-green-50 text-green-900 dark:border-green-800 dark:bg-green-900/20 dark:text-green-100",
8296
- warning: "border-orange-200 bg-orange-50 text-orange-900 dark:border-orange-800 dark:bg-orange-900/20 dark:text-orange-100",
8297
- info: "border-blue-200 bg-blue-50 text-blue-900 dark:border-blue-800 dark:bg-blue-900/20 dark:text-blue-100"
8295
+ success: "border-success-subtle-foreground/20 bg-success-subtle text-success-subtle-foreground",
8296
+ warning: "border-warning-subtle-foreground/20 bg-warning-subtle text-warning-subtle-foreground",
8297
+ info: "border-info-subtle-foreground/20 bg-info-subtle text-info-subtle-foreground"
8298
8298
  }
8299
8299
  },
8300
8300
  defaultVariants: {
@@ -8330,7 +8330,7 @@ var ToastClose = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE
8330
8330
  {
8331
8331
  ref,
8332
8332
  className: cn(
8333
- "absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",
8333
+ "absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-destructive-foreground/70 group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive-foreground/40 group-[.destructive]:focus:ring-offset-destructive",
8334
8334
  className
8335
8335
  ),
8336
8336
  "toast-close": "",