react-table-edit 1.1.1 → 1.1.2
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 -3
- package/dist/index.mjs +1 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1078,9 +1078,7 @@ var SelectTable = (0, import_react6.forwardRef)((props, ref) => {
|
|
|
1078
1078
|
e.preventDefault();
|
|
1079
1079
|
},
|
|
1080
1080
|
tag: "div",
|
|
1081
|
-
style: {
|
|
1082
|
-
width: width ? width : selectTableRef?.current?.clientWidth ?? "100%"
|
|
1083
|
-
},
|
|
1081
|
+
style: { width: width ? width : selectTableRef?.current?.clientWidth ? selectTableRef?.current?.clientWidth : "auto" },
|
|
1084
1082
|
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 }),
|
|
1085
1083
|
children: [
|
|
1086
1084
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "select-table-container", children: [
|
package/dist/index.mjs
CHANGED
|
@@ -1039,9 +1039,7 @@ var SelectTable = forwardRef((props, ref) => {
|
|
|
1039
1039
|
e.preventDefault();
|
|
1040
1040
|
},
|
|
1041
1041
|
tag: "div",
|
|
1042
|
-
style: {
|
|
1043
|
-
width: width ? width : selectTableRef?.current?.clientWidth ?? "100%"
|
|
1044
|
-
},
|
|
1042
|
+
style: { width: width ? width : selectTableRef?.current?.clientWidth ? selectTableRef?.current?.clientWidth : "auto" },
|
|
1045
1043
|
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 }),
|
|
1046
1044
|
children: [
|
|
1047
1045
|
/* @__PURE__ */ jsxs5("div", { className: "select-table-container", children: [
|