@evinvest/uikit 0.15.0 → 0.15.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
@@ -2708,7 +2708,9 @@ function ToggleGroupItem({
2708
2708
  "aria-pressed": on,
2709
2709
  className: cn(
2710
2710
  toggleVariants({ variant: resolvedVariant, size: resolvedSize }),
2711
- "min-w-0 flex-1 shrink-0 rounded-none shadow-none first:rounded-l-md last:rounded-r-md focus:z-10 focus-visible:z-10 data-[variant=outline]:border-l-0 data-[variant=outline]:first:border-l",
2711
+ // `flex-auto`, not shadcn's `flex-1`: the group is `w-fit`, and basis-0 items
2712
+ // make Chrome split it into equal columns, so a longer label overflows its cell.
2713
+ "min-w-0 flex-auto shrink-0 rounded-none shadow-none first:rounded-l-md last:rounded-r-md focus:z-10 focus-visible:z-10 data-[variant=outline]:border-l-0 data-[variant=outline]:first:border-l",
2712
2714
  className
2713
2715
  ),
2714
2716
  onClick: (e) => {