@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.cjs CHANGED
@@ -587,7 +587,10 @@ var TabsList = React18__namespace.forwardRef(
587
587
  ref,
588
588
  role: "tablist",
589
589
  onKeyDown: handleKeyDown,
590
- className: cn("flex gap-1 border-b border-border", className),
590
+ className: cn(
591
+ "flex gap-1 border-b border-border overflow-x-auto whitespace-nowrap [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
592
+ className
593
+ ),
591
594
  ...props
592
595
  }
593
596
  );
@@ -610,7 +613,7 @@ var TabsTrigger = React18__namespace.forwardRef(
610
613
  tabIndex: active ? 0 : -1,
611
614
  onClick: () => setValue(value),
612
615
  className: cn(
613
- "relative px-[0.9rem] py-2.5 text-sm font-semibold cursor-pointer transition-colors duration-150 outline-none",
616
+ "relative px-[0.9rem] py-2.5 text-sm font-semibold cursor-pointer transition-colors duration-150 outline-none shrink-0 whitespace-nowrap",
614
617
  "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:rounded-sm",
615
618
  "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",
616
619
  active ? "text-foreground after:bg-primary" : "text-muted-foreground hover:text-foreground after:bg-transparent",