react-table-edit 0.5.0 → 0.5.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
@@ -3031,7 +3031,7 @@ var TabsMenuComponent = ({
3031
3031
  setOpenModal((old) => ({ ...old, [name]: !(openModal[name] ?? false) }));
3032
3032
  };
3033
3033
  return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_react13.Fragment, { children: [
3034
- renderModal({ handleModal, windowSize, openModal, setDataItem, dataItem }),
3034
+ renderModal ? renderModal({ handleModal, windowSize, openModal, setDataItem, dataItem }) : "",
3035
3035
  /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: (0, import_classnames11.default)("tab-custom", { "tab-parent": tabParent }, { "tab-child": tabChild }), style: { width: `calc(100% - ${buttonWidth ?? 100}px` }, children: [
3036
3036
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
3037
3037
  "div",
package/dist/index.mjs CHANGED
@@ -2989,7 +2989,7 @@ var TabsMenuComponent = ({
2989
2989
  setOpenModal((old) => ({ ...old, [name]: !(openModal[name] ?? false) }));
2990
2990
  };
2991
2991
  return /* @__PURE__ */ jsxs12(Fragment14, { children: [
2992
- renderModal({ handleModal, windowSize, openModal, setDataItem, dataItem }),
2992
+ renderModal ? renderModal({ handleModal, windowSize, openModal, setDataItem, dataItem }) : "",
2993
2993
  /* @__PURE__ */ jsxs12("div", { className: classNames5("tab-custom", { "tab-parent": tabParent }, { "tab-child": tabChild }), style: { width: `calc(100% - ${buttonWidth ?? 100}px` }, children: [
2994
2994
  /* @__PURE__ */ jsx13(
2995
2995
  "div",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-table-edit",
3
3
  "license": "MIT",
4
- "version": "0.5.0",
4
+ "version": "0.5.1",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
7
7
  "types": "dist/index.d.ts",