@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.js CHANGED
@@ -1829,7 +1829,7 @@ var Card = ({
1829
1829
  return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
1830
1830
  "div",
1831
1831
  {
1832
- className: `bg-[hsl(var(--card))] text-[hsl(var(--card-foreground))] rounded-[--radius] border border-[hsl(var(--border))] shadow-sm ${paddingClass} ${hoverClass} ${className}`,
1832
+ className: `bg-[hsl(var(--card))] text-[hsl(var(--card-foreground))] rounded-lg border border-[hsl(var(--border))] shadow-sm ${paddingClass} ${hoverClass} ${className}`,
1833
1833
  ...props,
1834
1834
  children
1835
1835
  }
@@ -2059,12 +2059,12 @@ var Tabs = ({
2059
2059
  onChange?.(index);
2060
2060
  };
2061
2061
  return /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className, children: [
2062
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: "border-b border-[hsl(var(--border))]", children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("nav", { className: "flex gap-6", "aria-label": "Tabs", children: tabs.map((tab, index) => /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
2062
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: "border-b border-[hsl(var(--border))]", children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("nav", { className: "flex gap-4 -mb-px", "aria-label": "Tabs", children: tabs.map((tab, index) => /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
2063
2063
  "button",
2064
2064
  {
2065
2065
  onClick: () => handleTabClick(index),
2066
2066
  disabled: tab.disabled,
2067
- 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"}`,
2067
+ 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"}`,
2068
2068
  "aria-current": activeIndex === index ? "page" : void 0,
2069
2069
  children: tab.label
2070
2070
  },