@m4l/styles 0.0.16 → 0.0.18

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 (45) hide show
  1. package/index.js +10 -10
  2. package/package.json +2 -1
  3. package/theme/{defaultThemeOptions.364b28b6.js → defaultThemeOptions.d67fe64c.js} +7 -7
  4. package/theme/index.efa44d2d.js +7 -0
  5. package/theme/overrides/M4LExtendedComponents/M4LAccordion.d.ts +53 -0
  6. package/theme/overrides/M4LExtendedComponents/M4LAccountPopover.d.ts +42 -4
  7. package/theme/overrides/M4LExtendedComponents/M4LAppBar.d.ts +77 -96
  8. package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.d.ts +206 -59
  9. package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.d.ts +1960 -37
  10. package/theme/overrides/M4LExtendedComponents/M4LBadge.d.ts +10 -0
  11. package/theme/overrides/M4LExtendedComponents/M4LButton.d.ts +10 -15
  12. package/theme/overrides/M4LExtendedComponents/M4LCommonActions.d.ts +5 -1
  13. package/theme/overrides/M4LExtendedComponents/M4LDynamicFilter.d.ts +9 -10
  14. package/theme/overrides/M4LExtendedComponents/M4LMasterDetailLayout.d.ts +7 -6
  15. package/theme/overrides/M4LExtendedComponents/M4LModalDialog.d.ts +927 -0
  16. package/theme/overrides/M4LExtendedComponents/M4LPaperForm.d.ts +42 -0
  17. package/theme/overrides/M4LExtendedComponents/M4LPeriod.d.ts +146 -0
  18. package/theme/overrides/M4LExtendedComponents/M4LPropertyValue.d.ts +10 -0
  19. package/theme/overrides/M4LExtendedComponents/M4LRHFormProvider.d.ts +13 -0
  20. package/theme/overrides/M4LExtendedComponents/M4LSplitLayout.d.ts +5 -0
  21. package/theme/overrides/M4LExtendedComponents/M4LTab.d.ts +47 -0
  22. package/theme/overrides/M4LExtendedComponents/M4LTooltip.d.ts +26 -0
  23. package/theme/overrides/M4LExtendedComponents/M4LinearProgressIndeterminate.d.ts +56 -0
  24. package/theme/overrides/M4LExtendedComponents/M4LoadingButton.d.ts +8 -3
  25. package/theme/overrides/M4LExtendedComponents/{index.9d7c79cc.js → index.bd713d88.js} +1198 -226
  26. package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.d.ts +1 -0
  27. package/theme/overrides/M4LRHFComponents/M4LRHFAutocompleteAsync.d.ts +0 -1
  28. package/theme/overrides/M4LRHFComponents/M4LRHFPeriod.d.ts +10 -0
  29. package/theme/overrides/M4LRHFComponents/M4LRHFTextField.d.ts +16 -0
  30. package/theme/overrides/M4LRHFComponents/M4LRHFUploadImage.d.ts +172 -0
  31. package/theme/overrides/M4LRHFComponents/{index.b7f8e30c.js → index.1406e2ed.js} +209 -11
  32. package/theme/overrides/MUIComponents/Tabs.d.ts +23 -3
  33. package/theme/overrides/MUIComponents/{index.56660771.js → index.e3d060c3.js} +47 -27
  34. package/theme/overrides/index.6b7aec0f.js +90 -0
  35. package/theme/{palette.4b477f9b.js → palette.95c4f9c8.js} +17 -17
  36. package/theme/palette.d.ts +4 -4
  37. package/theme/{shadows.b2f38616.js → shadows.354bbb03.js} +1 -1
  38. package/theme/{typography.1db0276b.js → typography.61f909b7.js} +4 -4
  39. package/types/augmentations.d.ts +3 -1
  40. package/utils/{getColorPresets.f3113d85.js → getColorPresets.d73f30ad.js} +1 -1
  41. package/utils/getColorState.bde51cf7.js +159 -0
  42. package/utils/getColorState.d.ts +2 -0
  43. package/theme/index.cd1bedc8.js +0 -7
  44. package/theme/overrides/index.ff2a1a5a.js +0 -78
  45. package/utils/getColorState.456150fd.js +0 -136
@@ -1,78 +0,0 @@
1
- import { F as s, T as o, C as r, M as n, L, I as i, a as M, R as p, B as u, b as c, c as l, P as d, S as g, d as B, e as A, D as b, A as T, f as F, g as v, h as y, i as C, j as I, k as P, l as f, m as k, n as D, o as R, p as S, q as x, r as H, s as t, t as w, u as j, v as G, w as q, x as E, y as O, z, E as N, G as V } from "./MUIComponents/index.56660771.js";
2
- import { M as J, a as K, b as Q, c as U, d as W, e as X, f as Y, g as Z, h as _, i as $, j as m, k as e, l as h, m as aa, n as sa, o as oa, p as ra, q as na, r as La, s as ia, t as Ma, u as pa } from "./M4LExtendedComponents/index.9d7c79cc.js";
3
- import { M as ua, a as ca, b as la, c as da, d as ga, e as Ba } from "./M4LRHFComponents/index.b7f8e30c.js";
4
- function Fa(a) {
5
- return Object.assign(
6
- s(a),
7
- o(a),
8
- r(a),
9
- n(a),
10
- L(a),
11
- i(a),
12
- M(),
13
- p(a),
14
- u(),
15
- c(a),
16
- l(a),
17
- d(a),
18
- g(a),
19
- B(a),
20
- A(a),
21
- b(a),
22
- T(a),
23
- F(a),
24
- v(a),
25
- y(a),
26
- C(a),
27
- I(),
28
- P(),
29
- f(a),
30
- k(a),
31
- D(a),
32
- R(a),
33
- S(a),
34
- x(a),
35
- H(a),
36
- t(a),
37
- w(a),
38
- j(a),
39
- G(a),
40
- q(),
41
- E(a),
42
- O(a),
43
- z(a),
44
- N(a),
45
- J(a),
46
- V(),
47
- K(a),
48
- ua(a),
49
- ca(),
50
- la(a),
51
- da(),
52
- ga(a),
53
- Q(a),
54
- U(a),
55
- W(),
56
- X(a),
57
- Y(a),
58
- Z(),
59
- _(a),
60
- Ba(a),
61
- $(a),
62
- m(a),
63
- e(a),
64
- h(a),
65
- aa(a),
66
- sa(a),
67
- oa(a),
68
- ra(),
69
- na(),
70
- La(a),
71
- ia(a),
72
- Ma(a),
73
- pa()
74
- );
75
- }
76
- export {
77
- Fa as f
78
- };
@@ -1,136 +0,0 @@
1
- import { alpha as a } from "@mui/system";
2
- import "../theme/defaultThemeOptions.364b28b6.js";
3
- import "../theme/shadows.b2f38616.js";
4
- import { P as e, S as r } from "../theme/palette.4b477f9b.js";
5
- import "../theme/typography.1db0276b.js";
6
- import "@mui/material";
7
- import "@mui/material/styles";
8
- const g = (u, l) => {
9
- let t = {};
10
- switch (u) {
11
- case "patronus":
12
- t = {
13
- light: {
14
- active12: a(e?.patronusBlue[50], 0.12),
15
- active: e?.patronusBlue[50],
16
- focus: e?.patronusBlue[70],
17
- hover: e?.patronusBlue[60],
18
- default: a(e?.coolGrey[70], 0.04),
19
- ...r
20
- },
21
- dark: {
22
- active12: a(e?.patronusBlue[50], 0.12),
23
- active: e?.patronusBlue[50],
24
- focus: e?.patronusBlue[30],
25
- hover: e?.patronusBlue[40],
26
- default: a(e?.marbleLight[10], 0.04),
27
- ...r
28
- }
29
- };
30
- break;
31
- case "turqui":
32
- t = {
33
- light: {
34
- active12: a(e?.turquiBlue[50], 0.12),
35
- active: e?.turquiBlue[50],
36
- focus: e?.turquiBlue[70],
37
- hover: e?.turquiBlue[60],
38
- default: a(e?.coolGrey[70], 0.12),
39
- ...r
40
- },
41
- dark: {
42
- active12: a(e?.turquiBlue[50], 0.12),
43
- active: e?.turquiBlue[50],
44
- focus: e?.turquiBlue[30],
45
- hover: e?.turquiBlue[40],
46
- default: a(e?.marbleLight[10], 0.12),
47
- ...r
48
- }
49
- };
50
- break;
51
- case "grass":
52
- t = {
53
- light: {
54
- active12: a(e?.grassGreen[50], 0.12),
55
- active: e?.grassGreen[50],
56
- focus: e?.grassGreen[70],
57
- hover: e?.grassGreen[60],
58
- default: a(e?.coolGrey[70], 0.12),
59
- ...r
60
- },
61
- dark: {
62
- active12: a(e?.grassGreen[50], 0.12),
63
- active: e?.grassGreen[50],
64
- focus: e?.grassGreen[30],
65
- hover: e?.grassGreen[40],
66
- default: a(e?.marbleLight[10], 0.12),
67
- ...r
68
- }
69
- };
70
- break;
71
- case "candy":
72
- t = {
73
- light: {
74
- active12: a(e?.candyRed[50], 0.12),
75
- active: e?.candyRed[50],
76
- focus: e?.candyRed[70],
77
- hover: e?.candyRed[60],
78
- default: a(e?.coolGrey[70], 0.12),
79
- ...r
80
- },
81
- dark: {
82
- active12: a(e?.candyRed[50], 0.12),
83
- active: e?.candyRed[50],
84
- focus: e?.candyRed[30],
85
- hover: e?.candyRed[40],
86
- default: a(e?.marbleLight[10], 0.12),
87
- ...r
88
- }
89
- };
90
- break;
91
- case "blaze":
92
- t = {
93
- light: {
94
- active12: a(e?.blazeOrange[50], 0.12),
95
- active: e?.blazeOrange[50],
96
- focus: e?.blazeOrange[70],
97
- hover: e?.blazeOrange[60],
98
- default: a(e?.coolGrey[70], 0.12),
99
- ...r
100
- },
101
- dark: {
102
- active12: a(e?.blazeOrange[50], 0.12),
103
- active: e?.blazeOrange[50],
104
- focus: e?.blazeOrange[30],
105
- hover: e?.blazeOrange[40],
106
- default: a(e?.marbleLight[10], 0.12),
107
- ...r
108
- }
109
- };
110
- break;
111
- default:
112
- t = {
113
- light: {
114
- active12: a(e?.turquiBlue[50], 0.12),
115
- active: e?.turquiBlue[50],
116
- focus: e?.turquiBlue[70],
117
- hover: e?.turquiBlue[60],
118
- default: a(e?.coolGrey[70], 0.12),
119
- ...r
120
- },
121
- dark: {
122
- active12: a(e?.turquiBlue[50], 0.12),
123
- active: e?.turquiBlue[50],
124
- focus: e?.turquiBlue[30],
125
- hover: e?.turquiBlue[40],
126
- default: a(e?.marbleLight[10], 0.12),
127
- ...r
128
- }
129
- };
130
- break;
131
- }
132
- return l === "light" ? { ...t.light } : { ...t.dark };
133
- };
134
- export {
135
- g
136
- };