@moontra/moonui 2.4.8 → 2.4.9

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
@@ -2554,7 +2554,7 @@ var tabsListVariants = classVarianceAuthority.cva(
2554
2554
  true: "w-full"
2555
2555
  },
2556
2556
  scrollable: {
2557
- true: "overflow-x-auto overflow-y-hidden flex-nowrap hide-scrollbar snap-x snap-mandatory",
2557
+ true: "overflow-x-auto overflow-y-hidden flex-nowrap hide-scrollbar snap-x snap-mandatory px-4",
2558
2558
  false: "flex-wrap"
2559
2559
  }
2560
2560
  },
@@ -2566,14 +2566,16 @@ var tabsListVariants = classVarianceAuthority.cva(
2566
2566
  }
2567
2567
  }
2568
2568
  );
2569
- var TabsList = t__namespace.forwardRef(({ className, variant, orientation, fullWidth, scrollable, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
2570
- TabsPrimitive__namespace.List,
2571
- {
2572
- ref,
2573
- className: cn("moonui-theme", tabsListVariants({ variant, orientation, fullWidth, scrollable, className })),
2574
- ...props
2575
- }
2576
- ));
2569
+ var TabsList = t__namespace.forwardRef(({ className, variant, orientation, fullWidth, scrollable, ...props }, ref) => {
2570
+ return /* @__PURE__ */ jsxRuntime.jsx(
2571
+ TabsPrimitive__namespace.List,
2572
+ {
2573
+ ref,
2574
+ className: cn("moonui-theme", tabsListVariants({ variant, orientation, fullWidth, scrollable, className })),
2575
+ ...props
2576
+ }
2577
+ );
2578
+ });
2577
2579
  TabsList.displayName = TabsPrimitive__namespace.List.displayName;
2578
2580
  var tabsTriggerVariants = classVarianceAuthority.cva(
2579
2581
  "inline-flex items-center justify-center whitespace-nowrap flex-shrink-0 font-medium ring-offset-background transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
@@ -2582,7 +2584,7 @@ var tabsTriggerVariants = classVarianceAuthority.cva(
2582
2584
  variant: {
2583
2585
  default: "rounded-md data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm dark:data-[state=active]:bg-gray-900 dark:data-[state=active]:text-gray-100 dark:data-[state=active]:shadow-gray-950/10",
2584
2586
  underline: "rounded-none border-b-2 border-transparent pb-2 data-[state=active]:border-primary data-[state=active]:bg-transparent data-[state=active]:text-foreground dark:data-[state=active]:border-primary/80 dark:data-[state=active]:text-gray-100",
2585
- pills: "rounded-full bg-muted hover:bg-muted/80 data-[state=active]:bg-primary data-[state=active]:text-primary-foreground dark:bg-gray-800 dark:hover:bg-gray-700 dark:data-[state=active]:bg-primary/90 dark:data-[state=active]:text-white",
2587
+ pills: "rounded-full bg-gray-100 hover:bg-gray-200/80 border border-gray-300 data-[state=active]:bg-primary data-[state=active]:text-primary-foreground data-[state=active]:border-primary dark:bg-gray-800 dark:hover:bg-gray-700 dark:border-gray-700 dark:data-[state=active]:bg-primary/90 dark:data-[state=active]:text-white dark:data-[state=active]:border-primary",
2586
2588
  cards: "rounded-md bg-muted/50 hover:bg-muted data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-md dark:bg-gray-800/50 dark:hover:bg-gray-700/50 dark:data-[state=active]:bg-gray-900 dark:data-[state=active]:text-gray-100 dark:data-[state=active]:shadow-gray-950/20",
2587
2589
  minimal: "rounded-sm bg-transparent hover:bg-muted/30 data-[state=active]:bg-transparent data-[state=active]:text-foreground data-[state=active]:underline data-[state=active]:underline-offset-4 dark:hover:bg-gray-800/30 dark:data-[state=active]:text-gray-200"
2588
2590
  },