react-table-edit 1.0.7 → 1.0.8
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 +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1078,7 +1078,7 @@ var SelectTable = (0, import_react6.forwardRef)((props, ref) => {
|
|
|
1078
1078
|
e.preventDefault();
|
|
1079
1079
|
},
|
|
1080
1080
|
tag: "div",
|
|
1081
|
-
style: { width: "
|
|
1081
|
+
style: { width: width ? width + 2 : "min-content" },
|
|
1082
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 }),
|
|
1083
1083
|
children: [
|
|
1084
1084
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "select-table-container", children: [
|
|
@@ -1142,7 +1142,7 @@ var SelectTable = (0, import_react6.forwardRef)((props, ref) => {
|
|
|
1142
1142
|
className: "formula-dropdown icon-dropdown p-0",
|
|
1143
1143
|
style: {
|
|
1144
1144
|
minWidth: selectTableRef?.current?.clientWidth,
|
|
1145
|
-
width:
|
|
1145
|
+
width: menuWidth ? menuWidth + 2 : "min-content",
|
|
1146
1146
|
position: "fixed",
|
|
1147
1147
|
borderRadius: 4,
|
|
1148
1148
|
zIndex: 9999
|
package/dist/index.mjs
CHANGED
|
@@ -1039,7 +1039,7 @@ var SelectTable = forwardRef((props, ref) => {
|
|
|
1039
1039
|
e.preventDefault();
|
|
1040
1040
|
},
|
|
1041
1041
|
tag: "div",
|
|
1042
|
-
style: { width: "
|
|
1042
|
+
style: { width: width ? width + 2 : "min-content" },
|
|
1043
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 }),
|
|
1044
1044
|
children: [
|
|
1045
1045
|
/* @__PURE__ */ jsxs5("div", { className: "select-table-container", children: [
|
|
@@ -1103,7 +1103,7 @@ var SelectTable = forwardRef((props, ref) => {
|
|
|
1103
1103
|
className: "formula-dropdown icon-dropdown p-0",
|
|
1104
1104
|
style: {
|
|
1105
1105
|
minWidth: selectTableRef?.current?.clientWidth,
|
|
1106
|
-
width:
|
|
1106
|
+
width: menuWidth ? menuWidth + 2 : "min-content",
|
|
1107
1107
|
position: "fixed",
|
|
1108
1108
|
borderRadius: 4,
|
|
1109
1109
|
zIndex: 9999
|