react-table-edit 1.2.59 → 1.2.60

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
@@ -876,7 +876,7 @@ var SelectTable = (0, import_react4.forwardRef)((props, ref) => {
876
876
  e.preventDefault();
877
877
  },
878
878
  tag: "div",
879
- style: { width: width ? width : "auto" },
879
+ style: { width: width ? width : selectTableRef?.current?.clientWidth ? selectTableRef?.current?.clientWidth : "auto" },
880
880
  className: (0, import_classnames2.default)("select-table-control", { "r-select-is-disabled": isDisabled }, { "r-select-is-open": dropdownOpen }, { "r-select-is-focus": isFocus }, { "r-select-is-invalid": invalid }),
881
881
  children: [
882
882
  /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "select-table-container", children: [
package/dist/index.mjs CHANGED
@@ -829,7 +829,7 @@ var SelectTable = forwardRef((props, ref) => {
829
829
  e.preventDefault();
830
830
  },
831
831
  tag: "div",
832
- style: { width: width ? width : "auto" },
832
+ style: { width: width ? width : selectTableRef?.current?.clientWidth ? selectTableRef?.current?.clientWidth : "auto" },
833
833
  className: classnames("select-table-control", { "r-select-is-disabled": isDisabled }, { "r-select-is-open": dropdownOpen }, { "r-select-is-focus": isFocus }, { "r-select-is-invalid": invalid }),
834
834
  children: [
835
835
  /* @__PURE__ */ jsxs3("div", { className: "select-table-container", children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-table-edit",
3
- "version": "1.2.59",
3
+ "version": "1.2.60",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",