@moontra/moonui 2.4.3 → 2.4.4

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.js CHANGED
@@ -9432,10 +9432,10 @@ var SelectTrigger = t__namespace.forwardRef(({ className, children, variant = "s
9432
9432
  size === "md" && "h-10 text-sm px-3",
9433
9433
  size === "lg" && "h-12 text-base px-4",
9434
9434
  /* Visual variants */
9435
- variant === "standard" && "border border-gray-300 dark:border-gray-700 bg-background dark:bg-gray-900 hover:border-gray-400 dark:hover:border-gray-600 focus-visible:ring-2 focus-visible:ring-primary/30 dark:focus-visible:ring-primary/50 focus-visible:border-primary dark:focus-visible:border-primary",
9436
- variant === "outline" && "border border-gray-300 dark:border-gray-700 bg-transparent hover:border-gray-400 dark:hover:border-gray-600 focus-visible:ring-2 focus-visible:ring-primary/30 dark:focus-visible:ring-primary/50 focus-visible:border-primary dark:focus-visible:border-primary",
9437
- variant === "ghost" && "border-none bg-gray-100 dark:bg-gray-800 hover:bg-gray-200 dark:hover:bg-gray-700 focus-visible:ring-2 focus-visible:ring-primary/30 dark:focus-visible:ring-primary/50",
9438
- variant === "underline" && "border-t-0 border-l-0 border-r-0 border-b border-gray-300 dark:border-gray-600 rounded-none px-0 hover:border-gray-400 dark:hover:border-gray-500 focus-visible:ring-0 focus-visible:border-b-2 focus-visible:border-primary dark:focus-visible:border-primary",
9435
+ variant === "standard" && "border border-gray-300 dark:border-gray-700 bg-background dark:bg-gray-800/80 dark:shadow-inner dark:shadow-gray-950/10 dark:text-gray-200 hover:border-gray-400 dark:hover:border-gray-600 focus-visible:ring-2 focus-visible:ring-primary/30 dark:focus-visible:ring-primary/20 focus-visible:border-primary dark:focus-visible:border-primary/80",
9436
+ variant === "outline" && "border border-gray-300 dark:border-gray-700 bg-transparent dark:text-gray-200 hover:border-gray-400 dark:hover:border-gray-600 focus-visible:ring-2 focus-visible:ring-primary/30 dark:focus-visible:ring-primary/20 focus-visible:border-primary dark:focus-visible:border-primary/80",
9437
+ variant === "ghost" && "border-none bg-gray-100 dark:bg-gray-800 dark:shadow-inner dark:shadow-gray-950/10 dark:text-gray-200 hover:bg-gray-200 dark:hover:bg-gray-700 focus-visible:ring-2 focus-visible:ring-primary/30 dark:focus-visible:ring-primary/20",
9438
+ variant === "underline" && "border-t-0 border-l-0 border-r-0 border-b border-gray-300 dark:border-gray-600 rounded-none px-0 dark:text-gray-200 dark:bg-transparent hover:border-gray-400 dark:hover:border-gray-500 focus-visible:ring-0 focus-visible:border-b-2 focus-visible:border-primary dark:focus-visible:border-primary/80",
9439
9439
  className
9440
9440
  ),
9441
9441
  ...props,
@@ -9494,7 +9494,7 @@ var SelectContent = t__namespace.forwardRef(({ className, children, position = "
9494
9494
  [
9495
9495
  "relative z-50 max-h-96 min-w-[8rem] overflow-hidden",
9496
9496
  "rounded-md border border-gray-200 dark:border-gray-700",
9497
- "bg-white dark:bg-gray-900 text-foreground",
9497
+ "bg-background dark:bg-gray-800/80 backdrop-blur-sm text-foreground dark:text-gray-200",
9498
9498
  "shadow-lg dark:shadow-gray-900/20",
9499
9499
  "data-[state=open]:animate-in data-[state=closed]:animate-out",
9500
9500
  "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
@@ -9537,7 +9537,10 @@ var SelectItem = t__namespace.forwardRef(({ className, children, variant = "defa
9537
9537
  {
9538
9538
  ref,
9539
9539
  className: cn(
9540
- "relative flex w-full cursor-default select-none items-center rounded-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
9540
+ "moonui-theme",
9541
+ "relative flex w-full cursor-default select-none items-center rounded-sm outline-none",
9542
+ "data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
9543
+ "transition-colors duration-150",
9541
9544
  /* Size variants */
9542
9545
  size === "sm" && "py-1 pl-7 pr-2 text-xs",
9543
9546
  size === "md" && "py-1.5 pl-8 pr-2 text-sm",