@kjaniec-dev/ui 0.7.0 → 0.7.1

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
@@ -565,7 +565,10 @@ var TabsList = React18.forwardRef(
565
565
  ref,
566
566
  role: "tablist",
567
567
  onKeyDown: handleKeyDown,
568
- className: cn("flex gap-1 border-b border-border", className),
568
+ className: cn(
569
+ "flex gap-1 border-b border-border overflow-x-auto whitespace-nowrap [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
570
+ className
571
+ ),
569
572
  ...props
570
573
  }
571
574
  );
@@ -588,7 +591,7 @@ var TabsTrigger = React18.forwardRef(
588
591
  tabIndex: active ? 0 : -1,
589
592
  onClick: () => setValue(value),
590
593
  className: cn(
591
- "relative px-[0.9rem] py-2.5 text-sm font-semibold cursor-pointer transition-colors duration-150 outline-none",
594
+ "relative px-[0.9rem] py-2.5 text-sm font-semibold cursor-pointer transition-colors duration-150 outline-none shrink-0 whitespace-nowrap",
592
595
  "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:rounded-sm",
593
596
  "after:content-[''] after:absolute after:left-[0.9rem] after:right-[0.9rem] after:-bottom-px after:h-0.5 after:rounded-sm after:transition-colors",
594
597
  active ? "text-foreground after:bg-primary" : "text-muted-foreground hover:text-foreground after:bg-transparent",