master-components-react-ts 2.4.0 → 2.4.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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1101,7 +1101,7 @@ const nn = "mc__Dropdown-module__dropdownWrapper", rn = "mc__Dropdown-module__dr
1101
1101
  se.stopPropagation(), !s && !d?.disabled && _e(d);
1102
1102
  },
1103
1103
  children: [
1104
- s && /* @__PURE__ */ e("div", { className: ae.itemCheckbox, style: O ?? {}, children: /* @__PURE__ */ e(
1104
+ s && !d.noCheckbox && /* @__PURE__ */ e("div", { className: ae.itemCheckbox, style: O ?? {}, children: /* @__PURE__ */ e(
1105
1105
  Ve,
1106
1106
  {
1107
1107
  multipleChecked: d.id === "SELECT_ALL",
@@ -2228,7 +2228,7 @@ const ct = ({
2228
2228
  if (t && g.current.value === "") {
2229
2229
  let _ = Array.isArray(t) ? {
2230
2230
  start: M(t[0], o),
2231
- end: t.length > 1 ? M(t[1], o) : ""
2231
+ end: t.length > 1 && t[1] && t[1].length > 0 ? M(t[1], o) : ""
2232
2232
  } : M(t, o).format(o);
2233
2233
  g.current.value = t, g.current.state = !0, _ && ye(_, !1, !0);
2234
2234
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "master-components-react-ts",
3
3
  "private": false,
4
- "version": "2.4.0",
4
+ "version": "2.4.2",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",