@luminix/mui-cms 0.1.22 → 0.2.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/mui-cms.js CHANGED
@@ -4964,9 +4964,14 @@ class mi extends Mn {
4964
4964
  translateFormLabels() {
4965
4965
  Er.reducer(
4966
4966
  "getDefaultInputProps",
4967
- (t) => (Array.isArray(t) ? t.map((n) => {
4968
- n != null && n.label && (n.label = Y.t(n.label));
4969
- }) : t != null && t.label && (t.label = Y.t(t.label)), t),
4967
+ (t) => Array.isArray(t) ? t.map((n) => ({
4968
+ ...n,
4969
+ label: n != null && n.label ? Y.t(n.label) : n == null ? void 0 : n.label
4970
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
4971
+ })) : {
4972
+ ...t,
4973
+ label: t != null && t.label ? Y.t(t.label) : t == null ? void 0 : t.label
4974
+ },
4970
4975
  99
4971
4976
  );
4972
4977
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luminix/mui-cms",
3
- "version": "0.1.22",
3
+ "version": "0.2.1",
4
4
  "type": "module",
5
5
  "main": "bundle/mui-cms.js",
6
6
  "module": "dist/mui-cms.js",
@@ -18,8 +18,8 @@
18
18
  "@emotion/react": "^11.13.0",
19
19
  "@emotion/styled": "^11.13.0",
20
20
  "@fontsource/roboto": "^5.0.12",
21
- "@luminix/core": "^0.3.8",
22
- "@luminix/react": "^0.3.23",
21
+ "@luminix/core": "^0.4.0",
22
+ "@luminix/react": "^0.4.0",
23
23
  "@luminix/support": "^0.4.9",
24
24
  "@mui/icons-material": "^5.16.5",
25
25
  "@mui/material": "^5.16.5",