react-table-edit 0.9.3 → 0.9.4
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 +1 -2
- package/dist/index.mjs +1 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -659,7 +659,6 @@ var SelectTable = (0, import_react6.forwardRef)((props, ref) => {
|
|
|
659
659
|
(0, import_react6.useEffect)(() => {
|
|
660
660
|
if (inputRef && !isDisabled) {
|
|
661
661
|
inputRef.current.addEventListener("blur", function() {
|
|
662
|
-
setDropdownOpen(false);
|
|
663
662
|
setSearchTerm("");
|
|
664
663
|
setIsFocus(false);
|
|
665
664
|
});
|
|
@@ -1122,7 +1121,7 @@ var SelectTable = (0, import_react6.forwardRef)((props, ref) => {
|
|
|
1122
1121
|
}
|
|
1123
1122
|
},
|
|
1124
1123
|
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "r-select-grid", children: [
|
|
1125
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "r-select-gridtable", ref: selectMenuTableRef, style: { minWidth: selectTableRef?.current?.clientWidth, maxHeight: maxHeight ?? defaultMaxHeight }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(RenderTable, {}) }),
|
|
1124
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "r-select-gridtable", ref: selectMenuTableRef, style: { width: menuWidth, minWidth: selectTableRef?.current?.clientWidth, maxHeight: maxHeight ?? defaultMaxHeight }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(RenderTable, {}) }),
|
|
1126
1125
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: (0, import_classnames4.default)("r-select-footer", { "d-none": !(showFooter === true || handleAdd) }), children: [
|
|
1127
1126
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_reactstrap4.Button, { outline: true, color: "primary", onClick: handleAdd, className: (0, import_classnames4.default)("r-btn d-flex align-items-center", { "d-none": !handleAdd }), children: [
|
|
1128
1127
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_becoxy_icons2.Plus, { className: "me-50", fontSize: 16 }),
|
package/dist/index.mjs
CHANGED
|
@@ -623,7 +623,6 @@ var SelectTable = forwardRef((props, ref) => {
|
|
|
623
623
|
useEffect3(() => {
|
|
624
624
|
if (inputRef && !isDisabled) {
|
|
625
625
|
inputRef.current.addEventListener("blur", function() {
|
|
626
|
-
setDropdownOpen(false);
|
|
627
626
|
setSearchTerm("");
|
|
628
627
|
setIsFocus(false);
|
|
629
628
|
});
|
|
@@ -1086,7 +1085,7 @@ var SelectTable = forwardRef((props, ref) => {
|
|
|
1086
1085
|
}
|
|
1087
1086
|
},
|
|
1088
1087
|
children: /* @__PURE__ */ jsxs5("div", { className: "r-select-grid", children: [
|
|
1089
|
-
/* @__PURE__ */ jsx5("div", { className: "r-select-gridtable", ref: selectMenuTableRef, style: { minWidth: selectTableRef?.current?.clientWidth, maxHeight: maxHeight ?? defaultMaxHeight }, children: /* @__PURE__ */ jsx5(RenderTable, {}) }),
|
|
1088
|
+
/* @__PURE__ */ jsx5("div", { className: "r-select-gridtable", ref: selectMenuTableRef, style: { width: menuWidth, minWidth: selectTableRef?.current?.clientWidth, maxHeight: maxHeight ?? defaultMaxHeight }, children: /* @__PURE__ */ jsx5(RenderTable, {}) }),
|
|
1090
1089
|
/* @__PURE__ */ jsxs5("div", { className: classnames3("r-select-footer", { "d-none": !(showFooter === true || handleAdd) }), children: [
|
|
1091
1090
|
/* @__PURE__ */ jsxs5(Button, { outline: true, color: "primary", onClick: handleAdd, className: classnames3("r-btn d-flex align-items-center", { "d-none": !handleAdd }), children: [
|
|
1092
1091
|
/* @__PURE__ */ jsx5(Plus, { className: "me-50", fontSize: 16 }),
|