@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,6 +1,6 @@
1
1
  import { alpha as e } from "@mui/material";
2
2
  import { alpha as t } from "@mui/material/styles";
3
- function s(o) {
3
+ function l(o) {
4
4
  return {
5
5
  MuiAvatar: {
6
6
  styleOverrides: {
@@ -25,7 +25,7 @@ function s(o) {
25
25
  }
26
26
  };
27
27
  }
28
- function l(o) {
28
+ function s(o) {
29
29
  return {
30
30
  MuiButton: {
31
31
  styleOverrides: {
@@ -174,10 +174,29 @@ function g(o) {
174
174
  MuiTabs: {
175
175
  styleOverrides: {
176
176
  root: {
177
- padding: 0,
178
- fontWeight: o.typography.fontWeightMedium,
179
- borderTopLeftRadius: o.shape.borderRadius,
180
- borderTopRightRadius: o.shape.borderRadius,
177
+ padding: 4,
178
+ borderRadius: 4,
179
+ display: "flex",
180
+ flexDirection: "row",
181
+ gap: 4,
182
+ "& .MuiTabs-scroller": {
183
+ overflow: "visible",
184
+ "& .MuiTabs-flexContainer": {
185
+ padding: 4,
186
+ borderRadius: 6,
187
+ display: "flex",
188
+ flexDirection: "row",
189
+ alignItems: "center",
190
+ gap: 4,
191
+ boxShadow: o.customShadows.z2,
192
+ background: o.palette.background.default,
193
+ borderTop: "1px solid",
194
+ borderColor: o.palette.background.background
195
+ },
196
+ "& .MuiTabs-indicator": {
197
+ backgroundColor: "transparent"
198
+ }
199
+ },
181
200
  "&.Mui-selected": {
182
201
  color: o.palette.text.primary
183
202
  },
@@ -185,7 +204,7 @@ function g(o) {
185
204
  marginRight: o.spacing(5)
186
205
  },
187
206
  "@media (min-width: 600px)": {
188
- minWidth: 48
207
+ minWidth: 40
189
208
  },
190
209
  "& .MuiButtonBase-root": {
191
210
  ...o.typography.subtitle2
@@ -201,7 +220,8 @@ function g(o) {
201
220
  },
202
221
  wrapper: {
203
222
  flexDirection: "row",
204
- whiteSpace: "nowrap"
223
+ whiteSpace: "nowrap",
224
+ gap: "4px"
205
225
  },
206
226
  textColorInherit: {
207
227
  opacity: 1,
@@ -212,7 +232,7 @@ function g(o) {
212
232
  MuiTabPanel: {
213
233
  styleOverrides: {
214
234
  root: {
215
- padding: 0
235
+ padding: 20
216
236
  }
217
237
  }
218
238
  },
@@ -661,7 +681,7 @@ function O(o) {
661
681
  }
662
682
  };
663
683
  }
664
- function h(o) {
684
+ function B(o) {
665
685
  const r = o.palette.mode === "light";
666
686
  return {
667
687
  MuiSlider: {
@@ -686,7 +706,7 @@ function h(o) {
686
706
  }
687
707
  };
688
708
  }
689
- function B(o) {
709
+ function h(o) {
690
710
  const r = o.palette.mode === "light";
691
711
  return {
692
712
  MuiSwitch: {
@@ -866,7 +886,7 @@ function D(o) {
866
886
  }
867
887
  };
868
888
  }
869
- function P(o) {
889
+ function m(o) {
870
890
  return {
871
891
  MuiSkeleton: {
872
892
  defaultProps: {
@@ -880,7 +900,7 @@ function P(o) {
880
900
  }
881
901
  };
882
902
  }
883
- function m(o) {
903
+ function P(o) {
884
904
  const r = t(o.palette.grey[900], 0.48), i = t(o.palette.grey[900], 1);
885
905
  return {
886
906
  MuiBackdrop: {
@@ -900,7 +920,7 @@ function m(o) {
900
920
  }
901
921
  };
902
922
  }
903
- function $(o) {
923
+ function z(o) {
904
924
  const r = o.palette.mode === "light";
905
925
  return {
906
926
  MuiLinearProgress: {
@@ -922,7 +942,7 @@ function $(o) {
922
942
  }
923
943
  };
924
944
  }
925
- function z(o) {
945
+ function $(o) {
926
946
  return {
927
947
  MuiTimelineDot: {
928
948
  styleOverrides: {
@@ -959,7 +979,7 @@ function A(o) {
959
979
  }
960
980
  };
961
981
  }
962
- function W(o) {
982
+ function G(o) {
963
983
  return {
964
984
  MuiAccordion: {
965
985
  styleOverrides: {
@@ -1034,7 +1054,7 @@ function W(o) {
1034
1054
  }
1035
1055
  };
1036
1056
  }
1037
- function G(o) {
1057
+ function W(o) {
1038
1058
  return {
1039
1059
  MuiTypography: {
1040
1060
  defaultProps: {
@@ -1311,7 +1331,7 @@ const J = (o) => ({
1311
1331
  }
1312
1332
  });
1313
1333
  export {
1314
- s as A,
1334
+ l as A,
1315
1335
  f as B,
1316
1336
  c as C,
1317
1337
  O as D,
@@ -1323,14 +1343,14 @@ export {
1323
1343
  b as M,
1324
1344
  x as P,
1325
1345
  S as R,
1326
- B as S,
1346
+ h as S,
1327
1347
  g as T,
1328
1348
  w as a,
1329
1349
  M as b,
1330
1350
  v as c,
1331
- l as d,
1351
+ s as d,
1332
1352
  u as e,
1333
- h as f,
1353
+ B as f,
1334
1354
  C as g,
1335
1355
  L as h,
1336
1356
  I as i,
@@ -1338,12 +1358,12 @@ export {
1338
1358
  R as k,
1339
1359
  A as l,
1340
1360
  D as m,
1341
- P as n,
1342
- z as o,
1343
- m as p,
1344
- $ as q,
1345
- W as r,
1346
- G as s,
1361
+ m as n,
1362
+ $ as o,
1363
+ P as p,
1364
+ z as q,
1365
+ G as r,
1366
+ W as s,
1347
1367
  F as t,
1348
1368
  _ as u,
1349
1369
  H as v,
@@ -0,0 +1,90 @@
1
+ import { F as s, T as o, C as r, M as L, L as n, I as M, a as i, R as p, B as d, b as l, c as u, P as c, S as g, d as B, e as A, D as F, A as P, f as b, g as T, h as v, i as y, j as I, k as R, l as C, m as D, n as f, o as H, p as k, q as S, r as x, s as w, t as j, u as E, v as G, w as q, x as z, y as O, z as V, E as N, G as U } from "./MUIComponents/index.e3d060c3.js";
2
+ import { M as t, a as J, b as K, c as Q, 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 La, r as na, s as Ma, t as ia, u as pa, v as da, w as la, x as ua, y as ca, z as ga, A as Ba, B as Aa, C as Fa, D as Pa, E as ba } from "./M4LExtendedComponents/index.bd713d88.js";
3
+ import { M as Ta, a as va, b as ya, c as Ia, d as Ra, e as Ca, f as Da, g as fa } from "./M4LRHFComponents/index.1406e2ed.js";
4
+ function xa(a) {
5
+ return Object.assign(
6
+ s(a),
7
+ o(a),
8
+ r(a),
9
+ L(a),
10
+ n(a),
11
+ M(a),
12
+ i(),
13
+ p(a),
14
+ d(),
15
+ l(a),
16
+ u(a),
17
+ c(a),
18
+ g(a),
19
+ B(a),
20
+ A(a),
21
+ F(a),
22
+ P(a),
23
+ b(a),
24
+ T(a),
25
+ v(a),
26
+ y(a),
27
+ I(),
28
+ R(),
29
+ C(a),
30
+ D(a),
31
+ f(a),
32
+ H(a),
33
+ k(a),
34
+ S(a),
35
+ x(a),
36
+ w(a),
37
+ j(a),
38
+ E(a),
39
+ G(a),
40
+ q(),
41
+ z(a),
42
+ O(a),
43
+ V(a),
44
+ N(a),
45
+ t(a),
46
+ U(),
47
+ J(a),
48
+ Ta(a),
49
+ va(),
50
+ ya(a),
51
+ Ia(),
52
+ Ra(a),
53
+ K(),
54
+ Ca(a),
55
+ Da(),
56
+ Q(a),
57
+ W(a),
58
+ X(),
59
+ Y(a),
60
+ Z(a),
61
+ _(),
62
+ $(),
63
+ m(a),
64
+ fa(a),
65
+ e(a),
66
+ h(a),
67
+ aa(a),
68
+ sa(a),
69
+ oa(a),
70
+ ra(a),
71
+ La(a),
72
+ na(),
73
+ Ma(a),
74
+ ia(a),
75
+ pa(a),
76
+ da(a),
77
+ la(),
78
+ ua(a),
79
+ ca(),
80
+ ga(a),
81
+ Ba(a),
82
+ Aa(a),
83
+ Fa(a),
84
+ Pa(a),
85
+ ba(a)
86
+ );
87
+ }
88
+ export {
89
+ xa as f
90
+ };
@@ -15,7 +15,7 @@ const e = {
15
15
  90: "#000033"
16
16
  },
17
17
  crayonBlue: {
18
- 10: "#A5C9FE",
18
+ 10: "#D9E9FF",
19
19
  20: "#88B7FC",
20
20
  30: "#6AA4F9",
21
21
  40: "#5494F3",
@@ -32,17 +32,17 @@ const e = {
32
32
  40: "#FFF039",
33
33
  50: "#FFEC08",
34
34
  60: "#E5D400",
35
- 70: "#9E9200",
35
+ 70: "#9BBA00",
36
36
  80: "#696100",
37
37
  90: "#353100"
38
38
  },
39
39
  acidGreen: {
40
- 10: "#CDFFC2",
40
+ 10: "#D6FFDF",
41
41
  20: "#A8FF97",
42
42
  30: "#83FF6B",
43
43
  40: "#5EFF40",
44
44
  50: "#39FF14",
45
- 60: "#47CC2D",
45
+ 60: "#2BCC0A",
46
46
  70: "#229E0A",
47
47
  80: "#176E05",
48
48
  90: "#0B3D00"
@@ -92,7 +92,7 @@ const e = {
92
92
  90: "#6D2A00"
93
93
  },
94
94
  flameRed: {
95
- 10: "#F4BABA",
95
+ 10: "#FFD8D8",
96
96
  20: "#F59292",
97
97
  30: "#F66A6A",
98
98
  40: "#F64141",
@@ -212,14 +212,14 @@ const e = {
212
212
  main: "#fff0",
213
213
  dark: "#fff0",
214
214
  darker: "#fff0"
215
- }, o = {
215
+ }, l = {
216
216
  lighter: "#fff0",
217
217
  light: "#fff0",
218
218
  main: e.crayonBlue[50],
219
219
  dark: "#fff0",
220
220
  darker: "#fff0",
221
221
  opacity: r(e.crayonBlue[50], 0.08)
222
- }, l = {
222
+ }, o = {
223
223
  lighter: "#fff0",
224
224
  light: "#fff0",
225
225
  main: e.acidGreen[60],
@@ -261,8 +261,8 @@ const e = {
261
261
  50080: r("#919EAB", 0.8)
262
262
  }, A = {
263
263
  primary: a(t.light, t.main),
264
- info: a(o.light, o.main),
265
- success: a(l.light, l.main),
264
+ info: a(l.light, l.main),
265
+ success: a(o.light, o.main),
266
266
  warning: a(n.light, n.main),
267
267
  error: a(f.light, f.main)
268
268
  }, B = {
@@ -271,24 +271,24 @@ const e = {
271
271
  green: ["#2CD9C5", "#60F1C8", "#A4F7CC", "#C0F2DC"],
272
272
  yellow: ["#FFE700", "#FFEF5A", "#FFF7AE", "#FFF3D6"],
273
273
  red: ["#FF6C40", "#FF8F6D", "#FFBD98", "#FFF2D4"]
274
- }, E = {
274
+ }, g = {
275
275
  normal: e.crayonBlue[50],
276
276
  hover: e.crayonBlue[70]
277
- }, g = {
277
+ }, E = {
278
278
  normal: e.acidGreen[60],
279
279
  hover: e.acidGreen[70]
280
280
  }, C = {
281
281
  normal: e.flameRed[40],
282
282
  hover: e.flameRed[60]
283
283
  }, m = {
284
- normal: e.flameRed[60],
285
- hover: e.flameRed[70]
284
+ normal: e.middleYellow[60],
285
+ hover: e.middleYellow[70]
286
286
  }, h = {
287
287
  default: r(e.coolGrey[50], 0.24),
288
288
  transition: r(e.coolGrey[50], 0.08)
289
289
  }, y = {
290
- info: { ...E },
291
- success: { ...g },
290
+ info: { ...g },
291
+ success: { ...E },
292
292
  error: { ...C },
293
293
  warning: { ...m },
294
294
  skeleton: { ...h }
@@ -301,8 +301,8 @@ const e = {
301
301
  patronus: { ...e },
302
302
  opacity: { ...d },
303
303
  secondary: { ...u, contrastText: "#fff" },
304
- info: { ...o, contrastText: "#fff" },
305
- success: { ...l, contrastText: F[800] },
304
+ info: { ...l, contrastText: "#fff" },
305
+ success: { ...o, contrastText: F[800] },
306
306
  warning: { ...n, contrastText: F[800] },
307
307
  error: { ...f, contrastText: "#fff" },
308
308
  grey: F,
@@ -1,7 +1,7 @@
1
1
  export declare type ColorSchema = 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error';
2
- declare type PatronusColors = 'patronusBlue' | 'crayonBlue' | 'middleYellow' | 'acidGreen' | 'grassGreen' | 'candyRed' | 'turquiBlue' | 'blazeOrange' | 'flameRed' | 'coolGrey' | 'marbleLight' | 'ashBlak';
3
- declare type PatronusOpacityColors = 'patronus' | 'turqui' | 'grass' | 'candy' | 'blaze' | 'cool' | 'marbel';
4
- interface PatronusColorOptions {
2
+ export declare type PatronusColors = 'patronusBlue' | 'crayonBlue' | 'middleYellow' | 'acidGreen' | 'grassGreen' | 'candyRed' | 'turquiBlue' | 'blazeOrange' | 'flameRed' | 'coolGrey' | 'marbleLight' | 'ashBlak';
3
+ export declare type PatronusOpacityColors = 'patronus' | 'turqui' | 'grass' | 'candy' | 'blaze' | 'cool' | 'marbel';
4
+ export interface PatronusColorOptions {
5
5
  10: string;
6
6
  20: string;
7
7
  30: string;
@@ -12,7 +12,7 @@ interface PatronusColorOptions {
12
12
  80: string;
13
13
  90: string;
14
14
  }
15
- interface PatronusOpacityOptions {
15
+ export interface PatronusOpacityOptions {
16
16
  4: string;
17
17
  12: string;
18
18
  24: string;
@@ -1,5 +1,5 @@
1
1
  import { alpha as a } from "@mui/material/styles";
2
- import { p as e, P as r } from "./palette.4b477f9b.js";
2
+ import { p as e, P as r } from "./palette.95c4f9c8.js";
3
3
  const s = e.light.grey[500], n = "#000000", o = (t) => {
4
4
  const p = a(t, 0.2), x = a(t, 0.14), $ = a(t, 0.12);
5
5
  return [
@@ -1,10 +1,10 @@
1
1
  import "@mui/material/styles";
2
2
  import "@mui/material/useMediaQuery";
3
- import "../utils/getColorPresets.f3113d85.js";
3
+ import "../utils/getColorPresets.d73f30ad.js";
4
4
  import "@mui/system";
5
- import "./defaultThemeOptions.364b28b6.js";
6
- import "./shadows.b2f38616.js";
7
- import "./palette.4b477f9b.js";
5
+ import "./defaultThemeOptions.d67fe64c.js";
6
+ import "./shadows.354bbb03.js";
7
+ import "./palette.95c4f9c8.js";
8
8
  import "@mui/material";
9
9
  import { r as t, p as i } from "../utils/getFontValue.88831637.js";
10
10
  const e = "Poppins, sans-serif", p = {
@@ -1,4 +1,4 @@
1
- import { PatronusConstantColors } from '../theme/palette';
1
+ import { PatronusConstantColors, PatronusOpacityColors, PatronusOpacityOptions } from '../theme/palette';
2
2
  import { ColorStateOptions, CustomShadowOptions } from '../theme';
3
3
  import { ChartPaletteOptions, GradientsPaletteOptions, GridPaletteOptions } from './types';
4
4
 
@@ -41,6 +41,7 @@ declare module '@mui/material/styles/createPalette' {
41
41
  chart: ChartPaletteOptions;
42
42
  grid?: GridPaletteOptions;
43
43
  patronus?: PatronusConstantColors;
44
+ opacity: Record<PatronusOpacityColors, PatronusOpacityOptions>;
44
45
  state: ColorStateOptions /* Organizar cada caso con los valores específicos. */;
45
46
  representative: string;
46
47
  /* info: AgumentationInfoOptions; */
@@ -50,6 +51,7 @@ declare module '@mui/material/styles/createPalette' {
50
51
  chart?: ChartPaletteOptions;
51
52
  grid?: GridPaletteOptions;
52
53
  patronus?: PatronusConstantColors;
54
+ opacity: Record<PatronusOpacityColors, PatronusOpacityOptions>;
53
55
  state: ColorStateOptions /* Organizar cada caso con los valores específicos. */;
54
56
  representative: string;
55
57
  }
@@ -1,4 +1,4 @@
1
- import { P as r } from "../theme/palette.4b477f9b.js";
1
+ import { P as r } from "../theme/palette.95c4f9c8.js";
2
2
  const e = [
3
3
  {
4
4
  name: "patronus",
@@ -0,0 +1,159 @@
1
+ import { alpha as r } from "@mui/system";
2
+ import "../theme/defaultThemeOptions.d67fe64c.js";
3
+ import "../theme/shadows.354bbb03.js";
4
+ import { P as e, S as a } from "../theme/palette.95c4f9c8.js";
5
+ import "../theme/typography.61f909b7.js";
6
+ import "@mui/material";
7
+ import "@mui/material/styles";
8
+ const b = (t, l) => {
9
+ let o = {};
10
+ switch (t) {
11
+ case "patronus":
12
+ o = {
13
+ light: {
14
+ active12: r(e?.patronusBlue[50], 0.12),
15
+ active: e?.patronusBlue[50],
16
+ focus: e?.patronusBlue[70],
17
+ hover: e?.patronusBlue[60],
18
+ overdefoult: r(e?.coolGrey[70], 0.1),
19
+ default: r(e?.coolGrey[70], 0.04),
20
+ borderDefault: r(e?.coolGrey[70], 0.24),
21
+ ...a
22
+ },
23
+ dark: {
24
+ active12: r(e?.patronusBlue[50], 0.12),
25
+ active: e?.patronusBlue[50],
26
+ focus: e?.patronusBlue[30],
27
+ hover: e?.patronusBlue[40],
28
+ overdefoult: r(e?.marbleLight[10], 0.1),
29
+ default: r(e?.marbleLight[10], 0.04),
30
+ borderDefault: r(e?.coolGrey[70], 0.6),
31
+ ...a
32
+ }
33
+ };
34
+ break;
35
+ case "turqui":
36
+ o = {
37
+ light: {
38
+ active12: r(e?.turquiBlue[50], 0.12),
39
+ active: e?.turquiBlue[50],
40
+ focus: e?.turquiBlue[70],
41
+ hover: e?.turquiBlue[60],
42
+ overdefoult: r(e?.coolGrey[70], 0.1),
43
+ default: r(e?.coolGrey[70], 0.04),
44
+ borderDefault: r(e?.coolGrey[70], 0.24),
45
+ ...a
46
+ },
47
+ dark: {
48
+ active12: r(e?.turquiBlue[50], 0.12),
49
+ active: e?.turquiBlue[50],
50
+ focus: e?.turquiBlue[30],
51
+ hover: e?.turquiBlue[40],
52
+ overdefoult: r(e?.marbleLight[10], 0.1),
53
+ default: r(e?.marbleLight[10], 0.04),
54
+ borderDefault: r(e?.coolGrey[70], 0.6),
55
+ ...a
56
+ }
57
+ };
58
+ break;
59
+ case "grass":
60
+ o = {
61
+ light: {
62
+ active12: r(e?.grassGreen[50], 0.12),
63
+ active: e?.grassGreen[50],
64
+ focus: e?.grassGreen[70],
65
+ hover: e?.grassGreen[60],
66
+ overdefoult: r(e?.coolGrey[70], 0.1),
67
+ default: r(e?.coolGrey[70], 0.04),
68
+ borderDefault: r(e?.coolGrey[70], 0.24),
69
+ ...a
70
+ },
71
+ dark: {
72
+ active12: r(e?.grassGreen[50], 0.12),
73
+ active: e?.grassGreen[50],
74
+ focus: e?.grassGreen[30],
75
+ hover: e?.grassGreen[40],
76
+ overdefoult: r(e?.marbleLight[10], 0.1),
77
+ default: r(e?.marbleLight[10], 0.04),
78
+ borderDefault: r(e?.coolGrey[70], 0.6),
79
+ ...a
80
+ }
81
+ };
82
+ break;
83
+ case "candy":
84
+ o = {
85
+ light: {
86
+ active12: r(e?.candyRed[50], 0.12),
87
+ active: e?.candyRed[50],
88
+ focus: e?.candyRed[70],
89
+ hover: e?.candyRed[60],
90
+ default: r(e?.coolGrey[70], 0.04),
91
+ borderDefault: r(e?.coolGrey[70], 0.24),
92
+ ...a
93
+ },
94
+ dark: {
95
+ active12: r(e?.candyRed[50], 0.12),
96
+ active: e?.candyRed[50],
97
+ focus: e?.candyRed[30],
98
+ hover: e?.candyRed[40],
99
+ overdefoult: r(e?.marbleLight[10], 0.1),
100
+ default: r(e?.marbleLight[10], 0.04),
101
+ borderDefault: r(e?.coolGrey[70], 0.6),
102
+ ...a
103
+ }
104
+ };
105
+ break;
106
+ case "blaze":
107
+ o = {
108
+ light: {
109
+ active12: r(e?.blazeOrange[50], 0.12),
110
+ active: e?.blazeOrange[50],
111
+ focus: e?.blazeOrange[70],
112
+ hover: e?.blazeOrange[60],
113
+ overdefoult: r(e?.coolGrey[70], 0.1),
114
+ default: r(e?.coolGrey[70], 0.04),
115
+ borderDefault: r(e?.coolGrey[70], 0.24),
116
+ ...a
117
+ },
118
+ dark: {
119
+ active12: r(e?.blazeOrange[50], 0.12),
120
+ active: e?.blazeOrange[50],
121
+ focus: e?.blazeOrange[30],
122
+ hover: e?.blazeOrange[40],
123
+ overdefoult: r(e?.marbleLight[10], 0.1),
124
+ default: r(e?.marbleLight[10], 0.04),
125
+ borderDefault: r(e?.coolGrey[70], 0.6),
126
+ ...a
127
+ }
128
+ };
129
+ break;
130
+ default:
131
+ o = {
132
+ light: {
133
+ active12: r(e?.turquiBlue[50], 0.12),
134
+ active: e?.turquiBlue[50],
135
+ focus: e?.turquiBlue[70],
136
+ hover: e?.turquiBlue[60],
137
+ overdefoult: r(e?.coolGrey[70], 0.1),
138
+ default: r(e?.coolGrey[70], 0.04),
139
+ borderDefault: r(e?.coolGrey[70], 0.24),
140
+ ...a
141
+ },
142
+ dark: {
143
+ active12: r(e?.turquiBlue[50], 0.12),
144
+ active: e?.turquiBlue[50],
145
+ focus: e?.turquiBlue[30],
146
+ hover: e?.turquiBlue[40],
147
+ overdefoult: r(e?.marbleLight[10], 0.1),
148
+ default: r(e?.marbleLight[10], 0.04),
149
+ borderDefault: r(e?.coolGrey[70], 0.6),
150
+ ...a
151
+ }
152
+ };
153
+ break;
154
+ }
155
+ return l === "light" ? { ...o.light } : { ...o.dark };
156
+ };
157
+ export {
158
+ b as g
159
+ };
@@ -5,7 +5,9 @@ export interface ColorStateOptions {
5
5
  active: string;
6
6
  focus: string;
7
7
  hover: string;
8
+ overdefoult: string;
8
9
  default: string;
10
+ borderDefault: string;
9
11
  info: StateDefault;
10
12
  success: StateDefault;
11
13
  warning: StateDefault;
@@ -1,7 +0,0 @@
1
- import "./defaultThemeOptions.364b28b6.js";
2
- import "./shadows.b2f38616.js";
3
- import "./palette.4b477f9b.js";
4
- import "./typography.1db0276b.js";
5
- import "@mui/material";
6
- import "@mui/material/styles";
7
- import "@mui/system";