react-table-edit 1.0.9 → 1.1.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 +3 -2
- package/dist/index.mjs +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1078,7 +1078,9 @@ var SelectTable = (0, import_react6.forwardRef)((props, ref) => {
|
|
|
1078
1078
|
e.preventDefault();
|
|
1079
1079
|
},
|
|
1080
1080
|
tag: "div",
|
|
1081
|
-
style: {
|
|
1081
|
+
style: {
|
|
1082
|
+
width: width ? width : selectTableRef?.current?.clientWidth ?? "100%"
|
|
1083
|
+
},
|
|
1082
1084
|
className: (0, import_classnames4.default)("select-table-control", { "r-select-is-disabled": isDisabled }, { "r-select-is-open": dropdownOpen }, { "r-select-is-focus": isFocus }, { "r-select-is-invalid": invalid }),
|
|
1083
1085
|
children: [
|
|
1084
1086
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "select-table-container", children: [
|
|
@@ -3159,7 +3161,6 @@ var TableEdit = (0, import_react16.forwardRef)((props, ref) => {
|
|
|
3159
3161
|
showFooter: col.selectSettings?.showFooter,
|
|
3160
3162
|
formatOptionLabel: col.selectSettings?.formatOptionLabel,
|
|
3161
3163
|
footerComponent: col.selectSettings?.footerComponent,
|
|
3162
|
-
width: col.selectSettings?.widthPopup ? Number(col.selectSettings?.widthPopup) : void 0,
|
|
3163
3164
|
invalid: col.validate && col.validate(row[col.field], row),
|
|
3164
3165
|
maxHeight: col.selectSettings?.heightPopup ? Number(col.selectSettings?.heightPopup) : void 0,
|
|
3165
3166
|
menuWidth: col.selectSettings?.widthPopup ? Number(col.selectSettings?.widthPopup) : void 0,
|
package/dist/index.mjs
CHANGED
|
@@ -1039,7 +1039,9 @@ var SelectTable = forwardRef((props, ref) => {
|
|
|
1039
1039
|
e.preventDefault();
|
|
1040
1040
|
},
|
|
1041
1041
|
tag: "div",
|
|
1042
|
-
style: {
|
|
1042
|
+
style: {
|
|
1043
|
+
width: width ? width : selectTableRef?.current?.clientWidth ?? "100%"
|
|
1044
|
+
},
|
|
1043
1045
|
className: classnames3("select-table-control", { "r-select-is-disabled": isDisabled }, { "r-select-is-open": dropdownOpen }, { "r-select-is-focus": isFocus }, { "r-select-is-invalid": invalid }),
|
|
1044
1046
|
children: [
|
|
1045
1047
|
/* @__PURE__ */ jsxs5("div", { className: "select-table-container", children: [
|
|
@@ -3128,7 +3130,6 @@ var TableEdit = forwardRef4((props, ref) => {
|
|
|
3128
3130
|
showFooter: col.selectSettings?.showFooter,
|
|
3129
3131
|
formatOptionLabel: col.selectSettings?.formatOptionLabel,
|
|
3130
3132
|
footerComponent: col.selectSettings?.footerComponent,
|
|
3131
|
-
width: col.selectSettings?.widthPopup ? Number(col.selectSettings?.widthPopup) : void 0,
|
|
3132
3133
|
invalid: col.validate && col.validate(row[col.field], row),
|
|
3133
3134
|
maxHeight: col.selectSettings?.heightPopup ? Number(col.selectSettings?.heightPopup) : void 0,
|
|
3134
3135
|
menuWidth: col.selectSettings?.widthPopup ? Number(col.selectSettings?.widthPopup) : void 0,
|