react-table-edit 1.0.7 → 1.0.9

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
@@ -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: "100%" },
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: [
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: "100%" },
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: [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-table-edit",
3
3
  "license": "MIT",
4
- "version": "1.0.7",
4
+ "version": "1.0.9",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
7
7
  "types": "dist/index.d.ts",