@marcoschwartz/lite-ui 0.23.0 → 0.23.2

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.mjs CHANGED
@@ -1667,7 +1667,7 @@ var Card = ({
1667
1667
  return /* @__PURE__ */ jsx83(
1668
1668
  "div",
1669
1669
  {
1670
- className: `bg-[hsl(var(--card))] text-[hsl(var(--card-foreground))] rounded-[--radius] border border-[hsl(var(--border))] shadow-sm ${paddingClass} ${hoverClass} ${className}`,
1670
+ className: `bg-[hsl(var(--card))] text-[hsl(var(--card-foreground))] rounded-lg border border-[hsl(var(--border))] shadow-sm ${paddingClass} ${hoverClass} ${className}`,
1671
1671
  ...props,
1672
1672
  children
1673
1673
  }
@@ -1897,12 +1897,12 @@ var Tabs = ({
1897
1897
  onChange?.(index);
1898
1898
  };
1899
1899
  return /* @__PURE__ */ jsxs17("div", { className, children: [
1900
- /* @__PURE__ */ jsx89("div", { className: "border-b border-[hsl(var(--border))]", children: /* @__PURE__ */ jsx89("nav", { className: "flex gap-6", "aria-label": "Tabs", children: tabs.map((tab, index) => /* @__PURE__ */ jsx89(
1900
+ /* @__PURE__ */ jsx89("div", { className: "border-b border-[hsl(var(--border))]", children: /* @__PURE__ */ jsx89("nav", { className: "flex gap-4 -mb-px", "aria-label": "Tabs", children: tabs.map((tab, index) => /* @__PURE__ */ jsx89(
1901
1901
  "button",
1902
1902
  {
1903
1903
  onClick: () => handleTabClick(index),
1904
1904
  disabled: tab.disabled,
1905
- className: `py-3 px-1 border-b-2 font-medium text-sm transition-colors ${activeIndex === index ? "border-[hsl(var(--primary))] text-[hsl(var(--foreground))]" : "border-transparent text-[hsl(var(--muted-foreground))] hover:text-[hsl(var(--foreground))] hover:border-[hsl(var(--border))]"} ${tab.disabled ? "opacity-50 cursor-not-allowed" : "cursor-pointer"}`,
1905
+ className: `py-3 border-b-2 font-medium text-sm transition-colors ${activeIndex === index ? "border-[hsl(var(--primary))] text-[hsl(var(--foreground))]" : "border-transparent text-[hsl(var(--muted-foreground))] hover:text-[hsl(var(--foreground))] hover:border-[hsl(var(--border))]"} ${tab.disabled ? "opacity-50 cursor-not-allowed" : "cursor-pointer"}`,
1906
1906
  "aria-current": activeIndex === index ? "page" : void 0,
1907
1907
  children: tab.label
1908
1908
  },