@youngonesworks/ui 0.1.112 → 0.1.114

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.
@@ -3,7 +3,7 @@ interface ITab {
3
3
  name: string;
4
4
  value: string;
5
5
  rightSection?: ReactElement | undefined;
6
- clickFnc: (val: string) => void;
6
+ clickFnc?: (val: string) => void;
7
7
  requiredPermissions?: string[];
8
8
  }
9
9
  interface TabsWrapperProps {
package/dist/index.cjs CHANGED
@@ -2815,7 +2815,7 @@ const TableHeaderItem = ({ children, smallPadding, className,...props }) => /* @
2815
2815
  const TableHeaderRow = ({ children,...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
2816
2816
  "data-testid": "tableHeaderRow",
2817
2817
  "data-component": "tableHeaderRow",
2818
- className: "table-row xl:border-0 xl:border-b xl:border-solid xl:border-gray-300",
2818
+ className: "table-row xl:border-0 xl:border-b xl:border-solid xl:border-gray-200",
2819
2819
  ...props,
2820
2820
  children
2821
2821
  });
@@ -2919,7 +2919,7 @@ const TabContent = (0, react.forwardRef)(({ tab, setActiveTab, activeTab }, ref)
2919
2919
  tabContent: tab.name,
2920
2920
  rightSection: tab?.rightSection || undefined,
2921
2921
  clickFnc: () => {
2922
- tab.clickFnc(tab.value);
2922
+ tab.clickFnc && tab.clickFnc(tab.value);
2923
2923
  setActiveTab(tab.value);
2924
2924
  }
2925
2925
  }));