react-table-edit 1.1.0 → 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 CHANGED
@@ -1079,7 +1079,7 @@ var SelectTable = (0, import_react6.forwardRef)((props, ref) => {
1079
1079
  },
1080
1080
  tag: "div",
1081
1081
  style: {
1082
- width: width ? width : selectTableRef?.current?.clientWidth
1082
+ width: width ? width : selectTableRef?.current?.clientWidth ?? "100%"
1083
1083
  },
1084
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 }),
1085
1085
  children: [
package/dist/index.mjs CHANGED
@@ -1040,7 +1040,7 @@ var SelectTable = forwardRef((props, ref) => {
1040
1040
  },
1041
1041
  tag: "div",
1042
1042
  style: {
1043
- width: width ? width : selectTableRef?.current?.clientWidth
1043
+ width: width ? width : selectTableRef?.current?.clientWidth ?? "100%"
1044
1044
  },
1045
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 }),
1046
1046
  children: [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-table-edit",
3
3
  "license": "MIT",
4
- "version": "1.1.0",
4
+ "version": "1.1.1",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
7
7
  "types": "dist/index.d.ts",