@lolmath/ui 2.4.0 → 2.4.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
@@ -876,10 +876,19 @@ function Tabs({ onSelectionChange, ...rest }) {
876
876
  }
877
877
  ) });
878
878
  }
879
- function TabList({ ...rest }) {
880
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_react_aria_components12.TabList, { ...rest, className: () => "flex gap-0 -ml-4" });
879
+ function TabList({
880
+ className,
881
+ ...rest
882
+ }) {
883
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
884
+ import_react_aria_components12.TabList,
885
+ {
886
+ ...rest,
887
+ className: (values) => (0, import_tailwind_merge14.twMerge)("flex gap-0 -ml-4", resolveClassname(className, values))
888
+ }
889
+ );
881
890
  }
882
- function Tab({ children, ...rest }) {
891
+ function Tab({ children, className, ...rest }) {
883
892
  const { id } = useTabsContext();
884
893
  return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
885
894
  import_react_aria_components12.Tab,
@@ -889,7 +898,8 @@ function Tab({ children, ...rest }) {
889
898
  "font-beaufort text-lol-gold-300 uppercase font-medium text-xs tracking-widest px-4 relative py-1 cursor-pointer select-none",
890
899
  (values.isSelected || values.isHovered) && "text-lol-gold-50",
891
900
  values.isPressed && "text-lol-gold-500",
892
- values.isDisabled && "text-lol-gray-500 cursor-default"
901
+ values.isDisabled && "text-lol-gray-500 cursor-default",
902
+ resolveClassname(className, values)
893
903
  ),
894
904
  children: (values) => /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_jsx_runtime14.Fragment, { children: [
895
905
  typeof children === "function" ? children(values) : children,