@m4l/styles 0.0.30 → 0.0.32

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 (69) hide show
  1. package/index.js +37 -37
  2. package/package.json +1 -1
  3. package/theme/defaultThemeOptions.b25c825e.js +27 -0
  4. package/theme/index.34d0fdea.js +1 -0
  5. package/theme/index.d.ts +1 -0
  6. package/theme/overrides/M4LExtendedComponents/M4LAccordion.d.ts +22 -15
  7. package/theme/overrides/M4LExtendedComponents/M4LAccountPopover.d.ts +106 -76
  8. package/theme/overrides/M4LExtendedComponents/M4LAppBar.d.ts +58 -3
  9. package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.d.ts +6834 -13145
  10. package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.d.ts +171 -977
  11. package/theme/overrides/M4LExtendedComponents/M4LAvatar.d.ts +0 -2
  12. package/theme/overrides/M4LExtendedComponents/M4LBadge.d.ts +5 -0
  13. package/theme/overrides/M4LExtendedComponents/M4LButton.d.ts +56 -57
  14. package/theme/overrides/M4LExtendedComponents/M4LCheckBox.d.ts +13 -12
  15. package/theme/overrides/M4LExtendedComponents/M4LDataGrid.d.ts +41 -30
  16. package/theme/overrides/M4LExtendedComponents/M4LDynamicFilter.d.ts +78 -85
  17. package/theme/overrides/M4LExtendedComponents/M4LFormatter.d.ts +19 -0
  18. package/theme/overrides/M4LExtendedComponents/M4LIconButton.d.ts +2 -2
  19. package/theme/overrides/M4LExtendedComponents/{M4LToolkitPage.d.ts → M4LMFLoader.d.ts} +6 -7
  20. package/theme/overrides/M4LExtendedComponents/M4LMasterDetailLayout.d.ts +13 -2
  21. package/theme/overrides/M4LExtendedComponents/M4LMenuActions.d.ts +17 -0
  22. package/theme/overrides/M4LExtendedComponents/M4LModalDialog.d.ts +4 -48
  23. package/theme/overrides/M4LExtendedComponents/M4LModuleLayout.d.ts +1 -0
  24. package/theme/overrides/M4LExtendedComponents/M4LPager.d.ts +0 -2
  25. package/theme/overrides/M4LExtendedComponents/M4LPaperForm.d.ts +1 -2
  26. package/theme/overrides/M4LExtendedComponents/M4LPeriod.d.ts +43 -33
  27. package/theme/overrides/M4LExtendedComponents/M4LPopover.d.ts +12 -0
  28. package/theme/overrides/M4LExtendedComponents/M4LPrintingSystem.d.ts +1000 -0
  29. package/theme/overrides/M4LExtendedComponents/M4LPropertyValue.d.ts +140 -2
  30. package/theme/overrides/M4LExtendedComponents/M4LRHFormProvider.d.ts +1 -0
  31. package/theme/overrides/M4LExtendedComponents/M4LSideBar.d.ts +91 -48
  32. package/theme/overrides/M4LExtendedComponents/M4LTab.d.ts +3 -0
  33. package/theme/overrides/M4LExtendedComponents/M4LTabContent.d.ts +1 -0
  34. package/theme/overrides/M4LExtendedComponents/M4LTabs.d.ts +16 -0
  35. package/theme/overrides/M4LExtendedComponents/M4LToastContainer.d.ts +29 -0
  36. package/theme/overrides/M4LExtendedComponents/M4LTooltip.d.ts +0 -4
  37. package/theme/overrides/M4LExtendedComponents/M4LoadingButton.d.ts +24 -20
  38. package/theme/overrides/M4LExtendedComponents/M4LoadingError.d.ts +881 -0
  39. package/theme/overrides/M4LExtendedComponents/{index.e875a5e1.js → index.15f2650a.js} +1539 -1080
  40. package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.d.ts +102 -4
  41. package/theme/overrides/M4LRHFComponents/M4LRHFColorPicker.d.ts +107 -0
  42. package/theme/overrides/M4LRHFComponents/M4LRHFDateTime.d.ts +20 -1
  43. package/theme/overrides/M4LRHFComponents/M4LRHFTextField.d.ts +5 -0
  44. package/theme/overrides/M4LRHFComponents/M4LRHFUploadImage.d.ts +2 -1
  45. package/theme/overrides/M4LRHFComponents/{index.d3125fd8.js → index.e6262889.js} +270 -38
  46. package/theme/overrides/MUIComponents/Accordion.d.ts +34 -17
  47. package/theme/overrides/MUIComponents/ControlLabel.d.ts +34 -17
  48. package/theme/overrides/MUIComponents/Input.d.ts +68 -34
  49. package/theme/overrides/MUIComponents/LoadingButton.d.ts +34 -17
  50. package/theme/overrides/MUIComponents/Table.d.ts +136 -68
  51. package/theme/overrides/MUIComponents/{index.f50cd1c7.js → index.1b2b2be2.js} +59 -138
  52. package/theme/overrides/index.158187f3.js +105 -0
  53. package/theme/{palette.104051a7.js → palette.31d770bc.js} +90 -47
  54. package/theme/palette.d.ts +18 -8
  55. package/theme/{shadows.b036a684.js → shadows.9800d84c.js} +24 -24
  56. package/theme/typography.b14a8e35.js +122 -0
  57. package/theme/typography.d.ts +20 -13
  58. package/types/augmentations.d.ts +1 -1
  59. package/utils/{getColorPresets.2693301f.js → getColorPresets.9fec9cc2.js} +1 -1
  60. package/utils/getColorState.4350ccb4.js +239 -0
  61. package/utils/getColorState.d.ts +5 -0
  62. package/theme/defaultThemeOptions.a8de2e18.js +0 -30
  63. package/theme/index.b0919dac.js +0 -7
  64. package/theme/overrides/M4LExtendedComponents/M4LToolkitDivider.d.ts +0 -18
  65. package/theme/overrides/M4LExtendedComponents/M4LToolkitSection.d.ts +0 -24
  66. package/theme/overrides/MUIComponents/Tabs.d.ts +0 -886
  67. package/theme/overrides/index.cbe0dea7.js +0 -103
  68. package/theme/typography.7591a12b.js +0 -124
  69. package/utils/getColorState.32c050bf.js +0 -208
@@ -181,84 +181,6 @@ function c(o) {
181
181
  };
182
182
  }
183
183
  function g(o) {
184
- return {
185
- MuiTabs: {
186
- styleOverrides: {
187
- root: {
188
- padding: 0,
189
- borderRadius: 4,
190
- display: "flex",
191
- flexDirection: "row",
192
- gap: 4,
193
- "& .MuiTabs-scroller": {
194
- overflow: "visible",
195
- "& .MuiTabs-flexContainer": {
196
- padding: 4,
197
- borderRadius: 4,
198
- display: "flex",
199
- flexDirection: "row",
200
- alignItems: "center",
201
- gap: 4,
202
- width: "100%",
203
- height: "36px",
204
- boxShadow: o.customShadows.z1,
205
- background: o.palette.background.default
206
- },
207
- "& .MuiTabs-indicator": {
208
- backgroundColor: "transparent"
209
- }
210
- },
211
- "&.Mui-selected": {
212
- color: o.palette.text.primary,
213
- lineHeight: "none"
214
- },
215
- "&:not(:last-of-type)": {
216
- marginRight: o.spacing(5)
217
- },
218
- "@media (min-width: 600px)": {
219
- minWidth: 40
220
- },
221
- "& .MuiButtonBase-root": {
222
- ...o.typography.subtitle2
223
- }
224
- },
225
- labelIcon: {
226
- minHeight: 48,
227
- flexDirection: "row",
228
- "& > *:first-of-type": {
229
- marginBottom: 0,
230
- marginRight: o.spacing(1)
231
- }
232
- },
233
- wrapper: {
234
- flexDirection: "row",
235
- whiteSpace: "nowrap",
236
- gap: "4px"
237
- },
238
- textColorInherit: {
239
- opacity: 1,
240
- color: o.palette.text.secondary
241
- }
242
- }
243
- },
244
- MuiTabPanel: {
245
- styleOverrides: {
246
- root: {
247
- padding: 20
248
- }
249
- }
250
- },
251
- MuiTabScrollButton: {
252
- styleOverrides: {
253
- root: {
254
- width: 48,
255
- borderRadius: "50%"
256
- }
257
- }
258
- }
259
- };
260
- }
261
- function b(o) {
262
184
  return {
263
185
  MuiMenuItem: {
264
186
  styleOverrides: {
@@ -275,7 +197,7 @@ function b(o) {
275
197
  }
276
198
  };
277
199
  }
278
- function y(o) {
200
+ function b(o) {
279
201
  return {
280
202
  MuiLink: {
281
203
  defaultProps: {
@@ -291,7 +213,7 @@ function y(o) {
291
213
  }
292
214
  };
293
215
  }
294
- function M(o) {
216
+ function y(o) {
295
217
  return {
296
218
  MuiListItemIcon: {
297
219
  styleOverrides: {
@@ -324,7 +246,7 @@ function M(o) {
324
246
  }
325
247
  };
326
248
  }
327
- function x(o) {
249
+ function M(o) {
328
250
  return {
329
251
  MuiTableRow: {
330
252
  styleOverrides: {
@@ -410,7 +332,7 @@ function x(o) {
410
332
  }
411
333
  };
412
334
  }
413
- function f(o) {
335
+ function x(o) {
414
336
  return {
415
337
  MuiBadge: {
416
338
  styleOverrides: {
@@ -490,7 +412,7 @@ function v(o) {
490
412
  }
491
413
  };
492
414
  }
493
- function k(o) {
415
+ function f(o) {
494
416
  return {
495
417
  MuiFormControl: {
496
418
  styleOverrides: {
@@ -566,8 +488,8 @@ function k(o) {
566
488
  "& .MuiOutlinedInput-notchedOutline": {
567
489
  borderColor: o.palette.grey[50032],
568
490
  fontSize: "0.875rem",
569
- height: 28,
570
- minHeight: 28,
491
+ height: 24,
492
+ minHeight: 24,
571
493
  padding: "0px",
572
494
  [o.breakpoints.down("sm")]: {
573
495
  height: 32,
@@ -587,7 +509,7 @@ function k(o) {
587
509
  }
588
510
  };
589
511
  }
590
- function w(o) {
512
+ function k(o) {
591
513
  return {
592
514
  MuiInputLabel: {
593
515
  styleOverrides: {
@@ -602,7 +524,7 @@ function w(o) {
602
524
  }
603
525
  };
604
526
  }
605
- function h(o) {
527
+ function w(o) {
606
528
  return {
607
529
  MuiRadio: {
608
530
  styleOverrides: {
@@ -710,7 +632,7 @@ function C(o) {
710
632
  }
711
633
  };
712
634
  }
713
- function O(o) {
635
+ function h(o) {
714
636
  const r = o.palette.mode === "light";
715
637
  return {
716
638
  MuiSlider: {
@@ -735,7 +657,7 @@ function O(o) {
735
657
  }
736
658
  };
737
659
  }
738
- function R(o) {
660
+ function O(o) {
739
661
  const r = o.palette.mode === "light";
740
662
  return {
741
663
  MuiSwitch: {
@@ -765,7 +687,7 @@ function R(o) {
765
687
  }
766
688
  };
767
689
  }
768
- function B(o) {
690
+ function R(o) {
769
691
  return {
770
692
  MuiSvgIcon: {
771
693
  styleOverrides: {
@@ -783,7 +705,7 @@ function B(o) {
783
705
  }
784
706
  };
785
707
  }
786
- function I(o) {
708
+ function B(o) {
787
709
  const r = o.palette.mode === "light";
788
710
  return {
789
711
  MuiTooltip: {
@@ -798,7 +720,7 @@ function I(o) {
798
720
  }
799
721
  };
800
722
  }
801
- function T(o) {
723
+ function I(o) {
802
724
  return {
803
725
  MuiPopover: {
804
726
  styleOverrides: {
@@ -807,7 +729,7 @@ function T(o) {
807
729
  }
808
730
  };
809
731
  }
810
- function m(o) {
732
+ function L(o) {
811
733
  return {
812
734
  MuiStepConnector: {
813
735
  styleOverrides: {
@@ -818,7 +740,7 @@ function m(o) {
818
740
  }
819
741
  };
820
742
  }
821
- function L(o) {
743
+ function m(o) {
822
744
  return {
823
745
  MuiDataGrid: {
824
746
  styleOverrides: {
@@ -915,7 +837,7 @@ function L(o) {
915
837
  }
916
838
  };
917
839
  }
918
- function D(o) {
840
+ function T(o) {
919
841
  return {
920
842
  MuiSkeleton: {
921
843
  defaultProps: {
@@ -929,7 +851,7 @@ function D(o) {
929
851
  }
930
852
  };
931
853
  }
932
- function P(o) {
854
+ function D(o) {
933
855
  const r = t(o.palette.grey[900], 0.48), i = t(o.palette.grey[900], 1);
934
856
  return {
935
857
  MuiBackdrop: {
@@ -949,7 +871,7 @@ function P(o) {
949
871
  }
950
872
  };
951
873
  }
952
- function z(o) {
874
+ function P(o) {
953
875
  const r = o.palette.mode === "light";
954
876
  return {
955
877
  MuiLinearProgress: {
@@ -971,7 +893,7 @@ function z(o) {
971
893
  }
972
894
  };
973
895
  }
974
- function A(o) {
896
+ function z(o) {
975
897
  return {
976
898
  MuiTimelineDot: {
977
899
  styleOverrides: {
@@ -989,7 +911,7 @@ function A(o) {
989
911
  }
990
912
  };
991
913
  }
992
- function $(o) {
914
+ function A(o) {
993
915
  return {
994
916
  MuiCheckbox: {
995
917
  styleOverrides: {
@@ -1008,7 +930,7 @@ function $(o) {
1008
930
  }
1009
931
  };
1010
932
  }
1011
- function G(o) {
933
+ function $(o) {
1012
934
  return {
1013
935
  MuiAccordion: {
1014
936
  styleOverrides: {
@@ -1083,7 +1005,7 @@ function G(o) {
1083
1005
  }
1084
1006
  };
1085
1007
  }
1086
- function W(o) {
1008
+ function G(o) {
1087
1009
  return {
1088
1010
  MuiTypography: {
1089
1011
  defaultProps: {
@@ -1102,7 +1024,7 @@ function W(o) {
1102
1024
  }
1103
1025
  };
1104
1026
  }
1105
- function H(o) {
1027
+ function W(o) {
1106
1028
  return {
1107
1029
  MuiPaginationItem: {
1108
1030
  styleOverrides: {
@@ -1148,7 +1070,7 @@ function F(o) {
1148
1070
  }
1149
1071
  };
1150
1072
  }
1151
- function _(o) {
1073
+ function H(o) {
1152
1074
  const r = (i) => ({
1153
1075
  props: { variant: "contained", color: i },
1154
1076
  style: { boxShadow: o.customShadows?.primary }
@@ -1190,7 +1112,7 @@ function _(o) {
1190
1112
  }
1191
1113
  };
1192
1114
  }
1193
- function j(o) {
1115
+ function _(o) {
1194
1116
  return {
1195
1117
  MuiCssBaseline: {
1196
1118
  styleOverrides: {
@@ -1233,7 +1155,7 @@ function j(o) {
1233
1155
  }
1234
1156
  };
1235
1157
  }
1236
- function E(o) {
1158
+ function j(o) {
1237
1159
  return {
1238
1160
  MuiAutocomplete: {
1239
1161
  styleOverrides: {
@@ -1242,7 +1164,7 @@ function E(o) {
1242
1164
  "& .MuiInputBase-root": {
1243
1165
  padding: "4px 4px 4px 8px",
1244
1166
  borderRadius: "4px",
1245
- minHeight: "28px",
1167
+ minHeight: "24px",
1246
1168
  [o.breakpoints.down("sm")]: {
1247
1169
  height: "36px",
1248
1170
  minHeight: "36px"
@@ -1280,7 +1202,7 @@ const a = (o, r) => ({
1280
1202
  }
1281
1203
  }
1282
1204
  });
1283
- function N(o) {
1205
+ function E(o) {
1284
1206
  return {
1285
1207
  MuiToggleButton: {
1286
1208
  variants: [
@@ -1316,7 +1238,7 @@ function N(o) {
1316
1238
  }
1317
1239
  };
1318
1240
  }
1319
- function q(o) {
1241
+ function N(o) {
1320
1242
  return {
1321
1243
  MuiFormControlLabel: {
1322
1244
  styleOverrides: {
@@ -1341,7 +1263,7 @@ function q(o) {
1341
1263
  }
1342
1264
  };
1343
1265
  }
1344
- function V(o) {
1266
+ function q(o) {
1345
1267
  return {
1346
1268
  MuiLoadingButton: {
1347
1269
  styleOverrides: {
@@ -1365,50 +1287,49 @@ function V(o) {
1365
1287
  }
1366
1288
  };
1367
1289
  }
1368
- const J = (o) => ({
1290
+ const V = (o) => ({
1369
1291
  M4LBruceTest: {
1370
1292
  styleOverrides: {}
1371
1293
  }
1372
1294
  });
1373
1295
  export {
1374
1296
  s as A,
1375
- f as B,
1297
+ x as B,
1376
1298
  c as C,
1377
1299
  C as D,
1378
1300
  V as E,
1379
1301
  u as F,
1380
- J as G,
1381
- k as I,
1382
- y as L,
1383
- b as M,
1302
+ f as I,
1303
+ b as L,
1304
+ g as M,
1384
1305
  v as P,
1385
- h as R,
1386
- R as S,
1387
- g as T,
1388
- w as a,
1389
- M as b,
1390
- x as c,
1391
- l as d,
1392
- p as e,
1393
- O as f,
1394
- S as g,
1395
- m as h,
1306
+ w as R,
1307
+ O as S,
1308
+ M as T,
1309
+ k as a,
1310
+ y as b,
1311
+ l as c,
1312
+ p as d,
1313
+ h as e,
1314
+ S as f,
1315
+ L as g,
1316
+ B as h,
1396
1317
  I as i,
1397
- T as j,
1398
- B as k,
1399
- $ as l,
1400
- L as m,
1401
- D as n,
1402
- A as o,
1318
+ R as j,
1319
+ A as k,
1320
+ m as l,
1321
+ T as m,
1322
+ z as n,
1323
+ D as o,
1403
1324
  P as p,
1404
- z as q,
1325
+ $ as q,
1405
1326
  G as r,
1406
1327
  W as s,
1407
1328
  H as t,
1408
- _ as u,
1409
- F as v,
1329
+ F as u,
1330
+ _ as v,
1410
1331
  j as w,
1411
- E as x,
1412
- q as y,
1413
- N as z
1332
+ N as x,
1333
+ E as y,
1334
+ q as z
1414
1335
  };
@@ -0,0 +1,105 @@
1
+ import { F as s, C as o, M as r, L, I as M, a as n, R as i, B as p, b as d, T as c, P as l, S as u, c as g, d as B, D as F, A as P, e as A, f as T, g as b, h as y, i as C, j as I, k as R, l as S, m as v, n as k, o as D, p as H, q as f, r as x, s as w, t as G, u as E, v as j, w as N, x as O, y as q, z, E as U } from "./MUIComponents/index.1b2b2be2.js";
2
+ import { M as V, a as t, b as J, c as K, d as Q, e as W, f as X, g as Y, h as Z, i as _, j as $, k as m, l as e, m as h, n as aa, o as sa, p as oa, q as ra, r as La, s as Ma, t as na, u as ia, v as pa, w as da, x as ca, y as la, z as ua, A as ga, B as Ba, C as Fa, D as Pa, E as Aa, F as Ta, G as ba, H as ya, I as Ca, J as Ia, K as Ra, L as Sa, N as va, O as ka, P as Da, Q as Ha, R as fa, S as xa, T as wa, U as Ga } from "./M4LExtendedComponents/index.15f2650a.js";
3
+ import { M as Ea, a as ja, b as Na, c as Oa, d as qa, e as za, f as Ua, g as Va, h as ta } from "./M4LRHFComponents/index.e6262889.js";
4
+ function Wa(a) {
5
+ return Object.assign(
6
+ s(a),
7
+ o(a),
8
+ r(a),
9
+ L(a),
10
+ M(a),
11
+ n(),
12
+ i(a),
13
+ p(),
14
+ d(a),
15
+ c(a),
16
+ l(a),
17
+ u(a),
18
+ g(a),
19
+ B(a),
20
+ F(a),
21
+ P(a),
22
+ A(a),
23
+ T(a),
24
+ b(a),
25
+ y(a),
26
+ C(),
27
+ I(),
28
+ R(a),
29
+ S(a),
30
+ v(a),
31
+ k(a),
32
+ D(a),
33
+ H(a),
34
+ f(a),
35
+ x(a),
36
+ w(a),
37
+ G(a),
38
+ E(a),
39
+ j(),
40
+ N(a),
41
+ O(a),
42
+ q(a),
43
+ z(a),
44
+ V(a),
45
+ U(),
46
+ t(a),
47
+ Ea(a),
48
+ ja(),
49
+ Na(a),
50
+ Oa(),
51
+ qa(a),
52
+ J(),
53
+ za(a),
54
+ Ua(),
55
+ K(a),
56
+ Q(a),
57
+ W(),
58
+ X(a),
59
+ Y(a),
60
+ Z(),
61
+ _(a),
62
+ $(a),
63
+ Va(a),
64
+ m(a),
65
+ e(a),
66
+ h(a),
67
+ aa(a),
68
+ sa(a),
69
+ oa(a),
70
+ ra(a),
71
+ La(a),
72
+ Ma(a),
73
+ na(a),
74
+ ia(),
75
+ pa(a),
76
+ da(a),
77
+ ca(),
78
+ la(a),
79
+ ua(a),
80
+ ga(a),
81
+ Ba(a),
82
+ Fa(a),
83
+ Pa(a),
84
+ Aa(a),
85
+ Ta(a),
86
+ ba(a),
87
+ ya(a),
88
+ Ca(),
89
+ Ia(a),
90
+ Ra(),
91
+ Sa(a),
92
+ va(),
93
+ ka(a),
94
+ Da(a),
95
+ Ha(a),
96
+ fa(a),
97
+ xa(a),
98
+ wa(),
99
+ ta(a),
100
+ Ga(a)
101
+ );
102
+ }
103
+ export {
104
+ Wa as f
105
+ };