@m4l/styles 0.0.49 → 1.0.0

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 (122) hide show
  1. package/index.js +42 -32
  2. package/package.json +2 -2
  3. package/theme/defaultThemeOptions.0976e58a.js +34 -0
  4. package/theme/defaultThemeOptions.d.ts +1 -5
  5. package/theme/index.5da3436d.js +7 -0
  6. package/theme/index.d.ts +1 -1
  7. package/theme/overrides/M4LExtendedComponents/M4LAccordion.d.ts +2 -2
  8. package/theme/overrides/M4LExtendedComponents/M4LAccountPopover.d.ts +2 -2
  9. package/theme/overrides/M4LExtendedComponents/M4LAppBar.d.ts +2 -65
  10. package/theme/overrides/M4LExtendedComponents/M4LAppBarCommercial.d.ts +2 -2
  11. package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.d.ts +418 -2
  12. package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.d.ts +4 -2
  13. package/theme/overrides/M4LExtendedComponents/M4LAvatar.d.ts +22 -1
  14. package/theme/overrides/M4LExtendedComponents/M4LBadge.d.ts +2 -2
  15. package/theme/overrides/M4LExtendedComponents/M4LButton.d.ts +2 -2
  16. package/theme/overrides/M4LExtendedComponents/M4LCheckBox.d.ts +2 -2
  17. package/theme/overrides/M4LExtendedComponents/M4LCommonActions.d.ts +2 -2
  18. package/theme/overrides/M4LExtendedComponents/M4LDataGrid.d.ts +2 -2
  19. package/theme/overrides/M4LExtendedComponents/M4LDynamicFilter.d.ts +2 -2
  20. package/theme/overrides/M4LExtendedComponents/M4LErrorLabel.d.ts +2 -2
  21. package/theme/overrides/M4LExtendedComponents/M4LFieldLabel.d.ts +2 -2
  22. package/theme/overrides/M4LExtendedComponents/M4LFormatter.d.ts +2 -2
  23. package/theme/overrides/M4LExtendedComponents/M4LGridLayout.d.ts +2 -2
  24. package/theme/overrides/M4LExtendedComponents/M4LHamburgerMenuCommercial.d.ts +2 -2
  25. package/theme/overrides/M4LExtendedComponents/M4LIcon.d.ts +2 -2
  26. package/theme/overrides/M4LExtendedComponents/M4LIconButton.d.ts +2 -2
  27. package/theme/overrides/M4LExtendedComponents/M4LImage.d.ts +2 -2
  28. package/theme/overrides/M4LExtendedComponents/M4LImageButton.d.ts +2 -2
  29. package/theme/overrides/M4LExtendedComponents/M4LMFLoader.d.ts +2 -2
  30. package/theme/overrides/M4LExtendedComponents/M4LMasterDetailLayout.d.ts +2 -2
  31. package/theme/overrides/M4LExtendedComponents/M4LMenuActions.d.ts +2 -2
  32. package/theme/overrides/M4LExtendedComponents/M4LModalDialog.d.ts +2 -2
  33. package/theme/overrides/M4LExtendedComponents/M4LModuleLayout.d.ts +2 -2
  34. package/theme/overrides/M4LExtendedComponents/M4LNavLink.d.ts +2 -2
  35. package/theme/overrides/M4LExtendedComponents/M4LNoItemSelected.d.ts +2 -2
  36. package/theme/overrides/M4LExtendedComponents/M4LPDFViewer.d.ts +2 -2
  37. package/theme/overrides/M4LExtendedComponents/M4LPager.d.ts +2 -2
  38. package/theme/overrides/M4LExtendedComponents/M4LPaperForm.d.ts +2 -2
  39. package/theme/overrides/M4LExtendedComponents/M4LPeriod.d.ts +2 -2
  40. package/theme/overrides/M4LExtendedComponents/M4LPopover.d.ts +2 -2
  41. package/theme/overrides/M4LExtendedComponents/M4LPrintingSystem.d.ts +2 -2
  42. package/theme/overrides/M4LExtendedComponents/M4LPropertyValue.d.ts +2 -2
  43. package/theme/overrides/M4LExtendedComponents/M4LRHFormProvider.d.ts +2 -2
  44. package/theme/overrides/M4LExtendedComponents/M4LScrollBar.d.ts +2 -2
  45. package/theme/overrides/M4LExtendedComponents/M4LSectionCommercial.d.ts +2 -2
  46. package/theme/overrides/M4LExtendedComponents/M4LSideBar.d.ts +2 -2
  47. package/theme/overrides/M4LExtendedComponents/M4LSplitLayout.d.ts +2 -2
  48. package/theme/overrides/M4LExtendedComponents/M4LStack.d.ts +2 -2
  49. package/theme/overrides/M4LExtendedComponents/M4LTab.d.ts +2 -2
  50. package/theme/overrides/M4LExtendedComponents/M4LTabContent.d.ts +2 -2
  51. package/theme/overrides/M4LExtendedComponents/M4LTabs.d.ts +2 -2
  52. package/theme/overrides/M4LExtendedComponents/M4LToastContainer.d.ts +2 -2
  53. package/theme/overrides/M4LExtendedComponents/M4LTooltip.d.ts +2 -2
  54. package/theme/overrides/M4LExtendedComponents/M4LTopBar.d.ts +2 -2
  55. package/theme/overrides/M4LExtendedComponents/M4LTypography.d.ts +2 -2
  56. package/theme/overrides/M4LExtendedComponents/M4LanguagePopover.d.ts +2 -2
  57. package/theme/overrides/M4LExtendedComponents/M4LinearProgressIndeterminate.d.ts +2 -2
  58. package/theme/overrides/M4LExtendedComponents/M4LoadingButton.d.ts +2 -2
  59. package/theme/overrides/M4LExtendedComponents/M4LoadingError.d.ts +2 -2
  60. package/theme/overrides/M4LExtendedComponents/{index.0ba2f034.js → index.21814c8d.js} +819 -799
  61. package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.d.ts +25 -15
  62. package/theme/overrides/M4LRHFComponents/M4LRHFAutocompleteAsync.d.ts +2 -2
  63. package/theme/overrides/M4LRHFComponents/M4LRHFCheckbox.d.ts +2 -2
  64. package/theme/overrides/M4LRHFComponents/M4LRHFColorPicker.d.ts +2 -2
  65. package/theme/overrides/M4LRHFComponents/M4LRHFDateTime.d.ts +2 -2
  66. package/theme/overrides/M4LRHFComponents/M4LRHFPeriod.d.ts +2 -2
  67. package/theme/overrides/M4LRHFComponents/M4LRHFTextField.d.ts +2 -2
  68. package/theme/overrides/M4LRHFComponents/M4LRHFTextFieldPassword.d.ts +2 -2
  69. package/theme/overrides/M4LRHFComponents/M4LRHFUploadImage.d.ts +2 -2
  70. package/theme/overrides/M4LRHFComponents/{index.f37c2406.js → index.3599b255.js} +143 -133
  71. package/theme/overrides/MUIComponents/Accordion.d.ts +2 -2
  72. package/theme/overrides/MUIComponents/Autocomplete.d.ts +2 -2
  73. package/theme/overrides/MUIComponents/Avatar.d.ts +2 -2
  74. package/theme/overrides/MUIComponents/Backdrop.d.ts +2 -2
  75. package/theme/overrides/MUIComponents/Badge.d.ts +2 -2
  76. package/theme/overrides/MUIComponents/Breadcrumbs.d.ts +2 -2
  77. package/theme/overrides/MUIComponents/Button.d.ts +2 -2
  78. package/theme/overrides/MUIComponents/ButtonGroup.d.ts +2 -2
  79. package/theme/overrides/MUIComponents/Card.d.ts +2 -2
  80. package/theme/overrides/MUIComponents/Checkbox.d.ts +2 -2
  81. package/theme/overrides/MUIComponents/CmpDisenoTest.d.ts +2 -2
  82. package/theme/overrides/MUIComponents/ControlLabel.d.ts +2 -2
  83. package/theme/overrides/MUIComponents/CssBaseline.d.ts +2 -2
  84. package/theme/overrides/MUIComponents/DataGrid.d.ts +2 -2
  85. package/theme/overrides/MUIComponents/Drawer.d.ts +2 -2
  86. package/theme/overrides/MUIComponents/Fab.d.ts +2 -2
  87. package/theme/overrides/MUIComponents/IconButton.d.ts +2 -2
  88. package/theme/overrides/MUIComponents/Input.d.ts +2 -2
  89. package/theme/overrides/MUIComponents/InputLabel.d.ts +2 -2
  90. package/theme/overrides/MUIComponents/Link.d.ts +2 -2
  91. package/theme/overrides/MUIComponents/List.d.ts +2 -2
  92. package/theme/overrides/MUIComponents/LoadingButton.d.ts +2 -2
  93. package/theme/overrides/MUIComponents/Menu.d.ts +2 -2
  94. package/theme/overrides/MUIComponents/Pagination.d.ts +2 -2
  95. package/theme/overrides/MUIComponents/Paper.d.ts +2 -2
  96. package/theme/overrides/MUIComponents/Popover.d.ts +2 -2
  97. package/theme/overrides/MUIComponents/Progress.d.ts +2 -2
  98. package/theme/overrides/MUIComponents/Radio.d.ts +2 -2
  99. package/theme/overrides/MUIComponents/Skeleton.d.ts +2 -2
  100. package/theme/overrides/MUIComponents/Slider.d.ts +2 -2
  101. package/theme/overrides/MUIComponents/Stepper.d.ts +2 -2
  102. package/theme/overrides/MUIComponents/SvgIcon.d.ts +2 -2
  103. package/theme/overrides/MUIComponents/Switch.d.ts +2 -2
  104. package/theme/overrides/MUIComponents/Table.d.ts +2 -2
  105. package/theme/overrides/MUIComponents/Timeline.d.ts +2 -2
  106. package/theme/overrides/MUIComponents/ToggleButton.d.ts +2 -2
  107. package/theme/overrides/MUIComponents/Tooltip.d.ts +2 -2
  108. package/theme/overrides/MUIComponents/Typography.d.ts +2 -2
  109. package/theme/overrides/MUIComponents/{index.d2b98b86.js → index.7fb80545.js} +189 -189
  110. package/theme/overrides/{index.32aa77da.js → index.9323564e.js} +3 -3
  111. package/theme/overrides/index.d.ts +2 -2
  112. package/theme/{palette.0590e8a6.js → palette.287635f2.js} +64 -45
  113. package/theme/palette.d.ts +165 -347
  114. package/theme/{shadows.86540b18.js → shadows.e0c009ff.js} +1 -1
  115. package/theme/{typography.ed54f014.js → typography.2a9a38a6.js} +9 -8
  116. package/theme/typography.d.ts +4 -0
  117. package/types/augmentations.d.ts +42 -19
  118. package/utils/{getColorPresets.2a91ffaf.js → getColorPresets.a96a4046.js} +24 -18
  119. package/utils/getColorPresets.d.ts +8 -72
  120. package/utils/{getColorState.7b9634af.js → getColorState.b50b5b1e.js} +19 -7
  121. package/theme/defaultThemeOptions.656b9eff.js +0 -30
  122. package/theme/index.bc975e94.js +0 -7
@@ -1,3 +1,4 @@
1
+ import { Color } from '@mui/material';
1
2
  export declare type ColorSchema = 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error';
2
3
  export declare type PatronusColors = 'patronusBlue' | 'crayonBlue' | 'middleYellow' | 'acidGreen' | 'grassGreen' | 'desertBeige' | 'turquiBlue' | 'blazeOrange' | 'flameRed' | 'coolGrey' | 'brown' | 'marbleLight' | 'onyx' | 'mint' | 'oxford';
3
4
  export declare type PatronusOpacityColors = 'patronus' | 'turqui' | 'grass' | 'brown' | 'beige' | 'orange' | 'cool' | 'marbel' | 'mint' | 'oxford';
@@ -24,26 +25,54 @@ export interface PatronusOpacityOptions {
24
25
  export declare type PatronusConstantColors = Record<PatronusColors, PatronusColorOptions>;
25
26
  export declare const PATRONUSCOLORS: PatronusConstantColors;
26
27
  export declare const OPACITYCOLORS: Record<PatronusOpacityColors, PatronusOpacityOptions>;
27
- export declare const GREY: {
28
- 0: string;
29
- 100: string;
30
- 200: string;
31
- 300: string;
32
- 400: string;
33
- 500: string;
34
- 600: string;
35
- 700: string;
36
- 800: string;
37
- 900: string;
38
- 5008: string;
39
- 50012: string;
40
- 50016: string;
41
- 50024: string;
42
- 50032: string;
43
- 50048: string;
44
- 50056: string;
45
- 50080: string;
28
+ export declare const PRIMARY: {
29
+ lighter: string;
30
+ light: string;
31
+ main: string;
32
+ dark: string;
33
+ darker: string;
34
+ contrastText: string;
46
35
  };
36
+ export declare const SECONDARY: {
37
+ lighter: string;
38
+ light: string;
39
+ main: string;
40
+ dark: string;
41
+ darker: string;
42
+ };
43
+ export declare const INFO: {
44
+ lighter: string;
45
+ light: string;
46
+ main: string;
47
+ dark: string;
48
+ darker: string;
49
+ opacity: string;
50
+ };
51
+ export declare const SUCCESS: {
52
+ lighter: string;
53
+ light: string;
54
+ main: string;
55
+ dark: string;
56
+ darker: string;
57
+ opacity: string;
58
+ };
59
+ export declare const WARNING: {
60
+ lighter: string;
61
+ light: string;
62
+ main: string;
63
+ dark: string;
64
+ darker: string;
65
+ opacity: string;
66
+ };
67
+ export declare const ERROR: {
68
+ lighter: string;
69
+ light: string;
70
+ main: string;
71
+ dark: string;
72
+ darker: string;
73
+ opacity: string;
74
+ };
75
+ export declare const GREY: Color;
47
76
  export interface StateDefault {
48
77
  normal: string;
49
78
  hover: string;
@@ -74,340 +103,129 @@ export declare const STATEDEFAULT: {
74
103
  transition: string;
75
104
  };
76
105
  };
77
- export declare const palette: {
78
- readonly light: {
79
- readonly mode: "light";
80
- readonly text: {
81
- readonly primary: string;
82
- readonly secondary: string;
83
- readonly disabled: string;
84
- readonly bgPrimary: string;
85
- };
86
- readonly background: {
87
- readonly paper: "#fff0";
88
- readonly default: string;
89
- readonly neutral: string;
90
- readonly background: string;
91
- readonly header: string;
92
- };
93
- readonly divider: string;
94
- readonly grid: {
95
- readonly sectionHeader: "#F6F7F9";
96
- readonly divider: "#EDEFF2";
97
- readonly rowHover: "#FAFBFC";
98
- };
99
- readonly common: {
100
- black: string;
101
- white: string;
102
- };
103
- readonly primary: {
104
- lighter: string;
105
- light: string;
106
- main: string;
107
- dark: string;
108
- darker: string;
109
- contrastText: string;
110
- };
111
- readonly state: {
112
- info: {
113
- normal: string;
114
- hover: string;
115
- };
116
- success: {
117
- normal: string;
118
- hover: string;
119
- };
120
- error: {
121
- normal: string;
122
- hover: string;
123
- };
124
- warning: {
125
- normal: string;
126
- hover: string;
127
- };
128
- skeleton: {
129
- default: string;
130
- transition: string;
131
- };
132
- };
133
- readonly patronus: {
134
- patronusBlue: PatronusColorOptions;
135
- crayonBlue: PatronusColorOptions;
136
- middleYellow: PatronusColorOptions;
137
- acidGreen: PatronusColorOptions;
138
- grassGreen: PatronusColorOptions;
139
- desertBeige: PatronusColorOptions;
140
- turquiBlue: PatronusColorOptions;
141
- blazeOrange: PatronusColorOptions;
142
- flameRed: PatronusColorOptions;
143
- coolGrey: PatronusColorOptions;
144
- brown: PatronusColorOptions;
145
- marbleLight: PatronusColorOptions;
146
- onyx: PatronusColorOptions;
147
- mint: PatronusColorOptions;
148
- oxford: PatronusColorOptions;
149
- };
150
- readonly opacity: {
151
- brown: PatronusOpacityOptions;
152
- mint: PatronusOpacityOptions;
153
- oxford: PatronusOpacityOptions;
154
- patronus: PatronusOpacityOptions;
155
- turqui: PatronusOpacityOptions;
156
- grass: PatronusOpacityOptions;
157
- beige: PatronusOpacityOptions;
158
- orange: PatronusOpacityOptions;
159
- cool: PatronusOpacityOptions;
160
- marbel: PatronusOpacityOptions;
161
- };
162
- readonly secondary: {
163
- contrastText: string;
164
- lighter: string;
165
- light: string;
166
- main: string;
167
- dark: string;
168
- darker: string;
169
- };
170
- readonly info: {
171
- contrastText: string;
172
- lighter: string;
173
- light: string;
174
- main: string;
175
- dark: string;
176
- darker: string;
177
- opacity: string;
178
- };
179
- readonly success: {
180
- contrastText: string;
181
- lighter: string;
182
- light: string;
183
- main: string;
184
- dark: string;
185
- darker: string;
186
- opacity: string;
187
- };
188
- readonly warning: {
189
- contrastText: string;
190
- lighter: string;
191
- light: string;
192
- main: string;
193
- dark: string;
194
- darker: string;
195
- opacity: string;
196
- };
197
- readonly error: {
198
- contrastText: string;
199
- lighter: string;
200
- light: string;
201
- main: string;
202
- dark: string;
203
- darker: string;
204
- opacity: string;
205
- };
206
- readonly grey: {
207
- 0: string;
208
- 100: string;
209
- 200: string;
210
- 300: string;
211
- 400: string;
212
- 500: string;
213
- 600: string;
214
- 700: string;
215
- 800: string;
216
- 900: string;
217
- 5008: string;
218
- 50012: string;
219
- 50016: string;
220
- 50024: string;
221
- 50032: string;
222
- 50048: string;
223
- 50056: string;
224
- 50080: string;
225
- };
226
- readonly gradients: {
227
- primary: string;
228
- info: string;
229
- success: string;
230
- warning: string;
231
- error: string;
232
- };
233
- readonly chart: {
234
- violet: string[];
235
- blue: string[];
236
- green: string[];
237
- yellow: string[];
238
- red: string[];
239
- };
240
- readonly action: {
241
- hoverOpacity: number;
242
- disabledOpacity: number;
243
- };
106
+ export declare const COMMON: {
107
+ common: {
108
+ black: string;
109
+ white: string;
244
110
  };
245
- readonly dark: {
246
- readonly mode: "dark";
247
- readonly text: {
248
- readonly primary: string;
249
- readonly secondary: string;
250
- readonly disabled: string;
251
- readonly bgPrimary: string;
252
- };
253
- readonly background: {
254
- readonly paper: "#fff0";
255
- readonly default: string;
256
- readonly neutral: string;
257
- readonly background: string;
258
- readonly header: string;
259
- };
260
- readonly divider: string;
261
- readonly grid: {
262
- readonly sectionHeader: "#29313A";
263
- readonly divider: "#3E464F";
264
- readonly rowHover: "#1F262F";
265
- };
266
- readonly common: {
267
- black: string;
268
- white: string;
269
- };
270
- readonly primary: {
271
- lighter: string;
272
- light: string;
273
- main: string;
274
- dark: string;
275
- darker: string;
276
- contrastText: string;
277
- };
278
- readonly state: {
279
- info: {
280
- normal: string;
281
- hover: string;
282
- };
283
- success: {
284
- normal: string;
285
- hover: string;
286
- };
287
- error: {
288
- normal: string;
289
- hover: string;
290
- };
291
- warning: {
292
- normal: string;
293
- hover: string;
294
- };
295
- skeleton: {
296
- default: string;
297
- transition: string;
298
- };
299
- };
300
- readonly patronus: {
301
- patronusBlue: PatronusColorOptions;
302
- crayonBlue: PatronusColorOptions;
303
- middleYellow: PatronusColorOptions;
304
- acidGreen: PatronusColorOptions;
305
- grassGreen: PatronusColorOptions;
306
- desertBeige: PatronusColorOptions;
307
- turquiBlue: PatronusColorOptions;
308
- blazeOrange: PatronusColorOptions;
309
- flameRed: PatronusColorOptions;
310
- coolGrey: PatronusColorOptions;
311
- brown: PatronusColorOptions;
312
- marbleLight: PatronusColorOptions;
313
- onyx: PatronusColorOptions;
314
- mint: PatronusColorOptions;
315
- oxford: PatronusColorOptions;
316
- };
317
- readonly opacity: {
318
- brown: PatronusOpacityOptions;
319
- mint: PatronusOpacityOptions;
320
- oxford: PatronusOpacityOptions;
321
- patronus: PatronusOpacityOptions;
322
- turqui: PatronusOpacityOptions;
323
- grass: PatronusOpacityOptions;
324
- beige: PatronusOpacityOptions;
325
- orange: PatronusOpacityOptions;
326
- cool: PatronusOpacityOptions;
327
- marbel: PatronusOpacityOptions;
328
- };
329
- readonly secondary: {
330
- contrastText: string;
331
- lighter: string;
332
- light: string;
333
- main: string;
334
- dark: string;
335
- darker: string;
336
- };
337
- readonly info: {
338
- contrastText: string;
339
- lighter: string;
340
- light: string;
341
- main: string;
342
- dark: string;
343
- darker: string;
344
- opacity: string;
345
- };
346
- readonly success: {
347
- contrastText: string;
348
- lighter: string;
349
- light: string;
350
- main: string;
351
- dark: string;
352
- darker: string;
353
- opacity: string;
354
- };
355
- readonly warning: {
356
- contrastText: string;
357
- lighter: string;
358
- light: string;
359
- main: string;
360
- dark: string;
361
- darker: string;
362
- opacity: string;
363
- };
364
- readonly error: {
365
- contrastText: string;
366
- lighter: string;
367
- light: string;
368
- main: string;
369
- dark: string;
370
- darker: string;
371
- opacity: string;
111
+ primary: {
112
+ lighter: string;
113
+ light: string;
114
+ main: string;
115
+ dark: string;
116
+ darker: string;
117
+ contrastText: string;
118
+ };
119
+ state: {
120
+ info: {
121
+ normal: string;
122
+ hover: string;
372
123
  };
373
- readonly grey: {
374
- 0: string;
375
- 100: string;
376
- 200: string;
377
- 300: string;
378
- 400: string;
379
- 500: string;
380
- 600: string;
381
- 700: string;
382
- 800: string;
383
- 900: string;
384
- 5008: string;
385
- 50012: string;
386
- 50016: string;
387
- 50024: string;
388
- 50032: string;
389
- 50048: string;
390
- 50056: string;
391
- 50080: string;
124
+ success: {
125
+ normal: string;
126
+ hover: string;
392
127
  };
393
- readonly gradients: {
394
- primary: string;
395
- info: string;
396
- success: string;
397
- warning: string;
398
- error: string;
128
+ error: {
129
+ normal: string;
130
+ hover: string;
399
131
  };
400
- readonly chart: {
401
- violet: string[];
402
- blue: string[];
403
- green: string[];
404
- yellow: string[];
405
- red: string[];
132
+ warning: {
133
+ normal: string;
134
+ hover: string;
406
135
  };
407
- readonly action: {
408
- hoverOpacity: number;
409
- disabledOpacity: number;
136
+ skeleton: {
137
+ default: string;
138
+ transition: string;
410
139
  };
411
140
  };
141
+ patronus: {
142
+ brown: PatronusColorOptions;
143
+ patronusBlue: PatronusColorOptions;
144
+ crayonBlue: PatronusColorOptions;
145
+ middleYellow: PatronusColorOptions;
146
+ acidGreen: PatronusColorOptions;
147
+ grassGreen: PatronusColorOptions;
148
+ desertBeige: PatronusColorOptions;
149
+ turquiBlue: PatronusColorOptions;
150
+ blazeOrange: PatronusColorOptions;
151
+ flameRed: PatronusColorOptions;
152
+ coolGrey: PatronusColorOptions;
153
+ marbleLight: PatronusColorOptions;
154
+ onyx: PatronusColorOptions;
155
+ mint: PatronusColorOptions;
156
+ oxford: PatronusColorOptions;
157
+ };
158
+ opacity: {
159
+ patronus: PatronusOpacityOptions;
160
+ turqui: PatronusOpacityOptions;
161
+ grass: PatronusOpacityOptions;
162
+ brown: PatronusOpacityOptions;
163
+ mint: PatronusOpacityOptions;
164
+ oxford: PatronusOpacityOptions;
165
+ beige: PatronusOpacityOptions;
166
+ orange: PatronusOpacityOptions;
167
+ cool: PatronusOpacityOptions;
168
+ marbel: PatronusOpacityOptions;
169
+ };
170
+ secondary: {
171
+ contrastText: string;
172
+ lighter: string;
173
+ light: string;
174
+ main: string;
175
+ dark: string;
176
+ darker: string;
177
+ };
178
+ info: {
179
+ contrastText: string;
180
+ lighter: string;
181
+ light: string;
182
+ main: string;
183
+ dark: string;
184
+ darker: string;
185
+ opacity: string;
186
+ };
187
+ success: {
188
+ contrastText: string;
189
+ lighter: string;
190
+ light: string;
191
+ main: string;
192
+ dark: string;
193
+ darker: string;
194
+ opacity: string;
195
+ };
196
+ warning: {
197
+ contrastText: string;
198
+ lighter: string;
199
+ light: string;
200
+ main: string;
201
+ dark: string;
202
+ darker: string;
203
+ opacity: string;
204
+ };
205
+ error: {
206
+ contrastText: string;
207
+ lighter: string;
208
+ light: string;
209
+ main: string;
210
+ dark: string;
211
+ darker: string;
212
+ opacity: string;
213
+ };
214
+ grey: Color;
215
+ gradients: {
216
+ primary: string;
217
+ info: string;
218
+ success: string;
219
+ warning: string;
220
+ error: string;
221
+ };
222
+ chart: {
223
+ violet: string[];
224
+ blue: string[];
225
+ green: string[];
226
+ yellow: string[];
227
+ red: string[];
228
+ };
412
229
  };
230
+ export declare const palette: any;
413
231
  export default palette;
@@ -1,5 +1,5 @@
1
1
  import { alpha as r } from "@mui/material/styles";
2
- import { p as a, P as e } from "./palette.0590e8a6.js";
2
+ import { p as a, P as e } from "./palette.287635f2.js";
3
3
  const s = a.light.grey[500], o = "#000000", n = (t) => {
4
4
  const p = r(t, 0.2), x = r(t, 0.14), $ = r(t, 0.12);
5
5
  return [
@@ -1,14 +1,15 @@
1
+ import { createTheme as i } from "@mui/material";
1
2
  import "@mui/material/styles";
2
3
  import "@mui/material/useMediaQuery";
3
- import "../utils/getColorPresets.2a91ffaf.js";
4
+ import "../utils/getColorPresets.a96a4046.js";
4
5
  import "@mui/system";
5
- import "./defaultThemeOptions.656b9eff.js";
6
- import "./shadows.86540b18.js";
7
- import "./palette.0590e8a6.js";
8
- import "@mui/material";
6
+ import "./defaultThemeOptions.0976e58a.js";
7
+ import "./shadows.e0c009ff.js";
8
+ import "./palette.287635f2.js";
9
9
  import { r as t, p as e } from "../utils/getFontValue.88831637.js";
10
- const i = "Segoe UI, Poppins, sans-serif", r = {
11
- fontFamily: i,
10
+ const n = "Segoe UI, Poppins, sans-serif", g = i(), W = {
11
+ ...g.typography,
12
+ fontFamily: n,
12
13
  fontWeightRegular: 400,
13
14
  fontWeightMedium: 600,
14
15
  fontWeightBold: 700,
@@ -126,5 +127,5 @@ const i = "Segoe UI, Poppins, sans-serif", r = {
126
127
  }
127
128
  };
128
129
  export {
129
- r as t
130
+ W as t
130
131
  };
@@ -235,4 +235,8 @@ export declare const typography: {
235
235
  readonly fontWeight: 600;
236
236
  readonly lineHeight: "16px";
237
237
  };
238
+ readonly fontSize: number;
239
+ readonly fontWeightLight: import("csstype").Property.FontWeight | undefined;
240
+ readonly htmlFontSize: number;
241
+ readonly pxToRem: (px: number) => string;
238
242
  };
@@ -1,7 +1,8 @@
1
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
+ import { Breakpoints, ColorSystemOptions } from '@mui/material';
5
+ import { CssVarsTheme } from '@mui/material/styles';
5
6
 
6
7
  declare module '@mui/material' {
7
8
  interface Color {
@@ -19,6 +20,17 @@ declare module '@mui/material' {
19
20
 
20
21
  declare module '@mui/material/styles/createPalette' {
21
22
 
23
+
24
+ }
25
+
26
+ // declare module '@mui/core/Typography' {
27
+ // interface TypographyProps {
28
+ // variant?: 'subtitle';
29
+ // }
30
+ // }
31
+
32
+ declare module '@mui/material/styles' {
33
+
22
34
  interface SimplePaletteColorOptions {
23
35
  lighter?: string;
24
36
  darker?: string;
@@ -35,6 +47,7 @@ declare module '@mui/material/styles/createPalette' {
35
47
  DarkSelected?: string;
36
48
  DarkSelectedHover?: string;
37
49
  opacity?: string;
50
+ name?: string;
38
51
  }
39
52
  interface Palette {
40
53
  gradients?: GradientsPaletteOptions;
@@ -44,6 +57,7 @@ declare module '@mui/material/styles/createPalette' {
44
57
  opacity: Record<PatronusOpacityColors, PatronusOpacityOptions>;
45
58
  state: ColorStateOptions /* Organizar cada caso con los valores específicos. */;
46
59
  representative: string;
60
+ mode: 'light' | 'dark';
47
61
  /* info: AgumentationInfoOptions; */
48
62
  }
49
63
 
@@ -58,26 +72,40 @@ declare module '@mui/material/styles/createPalette' {
58
72
  opacity: Record<PatronusOpacityColors, PatronusOpacityOptions>;
59
73
  state: ColorStateOptions /* Organizar cada caso con los valores específicos. */;
60
74
  representative: string;
75
+ mode: 'light' | 'dark';
61
76
  }
62
- }
63
77
 
64
- // declare module '@mui/core/Typography' {
65
- // interface TypographyProps {
66
- // variant?: 'subtitle';
67
- // }
68
- // }
78
+ interface ColorSchemeOverrides {
79
+ finalTheme?: true;
80
+ }
69
81
 
70
- declare module '@mui/material/styles' {
71
- interface Theme {
72
- stretch?: boolean;
82
+ interface Theme extends CssVarsTheme {
83
+ stretch: boolean;
73
84
  customShadows: CustomShadowOptions;
85
+ breakpoints: Breakpoints;
74
86
  }
75
87
 
76
- interface ThemeOptions {
77
- stretch?: boolean;
78
- customShadows?: CustomShadowOptions;
88
+ interface ThemeVars {
89
+ customShadows: CustomShadowOptions;
79
90
  }
80
91
 
92
+ interface ColorSystem {
93
+ typography: TypographyVariants;
94
+ }
95
+
96
+ interface TypeBackground {
97
+ neutral: string;
98
+ autofill: string;
99
+ header: string;
100
+ background: string;
101
+ }
102
+
103
+ }
104
+
105
+
106
+
107
+ declare module '@mui/material/styles' {
108
+
81
109
  interface TypographyVariants {
82
110
  subtitle: Record<string, any>;
83
111
  subtitleDens: Record<string, any>;
@@ -99,12 +127,7 @@ declare module '@mui/material/styles' {
99
127
  action: React.CSSProperties;
100
128
  }
101
129
 
102
- interface TypeBackground {
103
- neutral: string;
104
- autofill: string;
105
- header: string;
106
- background: string;
107
- }
130
+
108
131
 
109
132
  }
110
133