@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
@@ -1,5 +1,5 @@
1
1
  import { alpha as r } from "@mui/material/styles";
2
- function a(s, B) {
2
+ function F(s, B) {
3
3
  return `linear-gradient(to bottom, ${s}, ${B})`;
4
4
  }
5
5
  const e = {
@@ -95,7 +95,7 @@ const e = {
95
95
  10: "#FFD8D8",
96
96
  20: "#F59292",
97
97
  30: "#F66A6A",
98
- 40: "#F64141",
98
+ 40: "#F15B50",
99
99
  50: "#F71919",
100
100
  60: "#D31616",
101
101
  70: "#AF1212",
@@ -127,15 +127,15 @@ const e = {
127
127
  marbleLight: {
128
128
  10: "#FFFFFF",
129
129
  20: "#F7FCFC",
130
- 30: "#F9FBFB",
130
+ 30: "#F4F5F5",
131
131
  40: "#F0F4F4",
132
- 50: "#EAEFF0",
132
+ 50: "#E6E8EA",
133
133
  60: "#E1E9EA",
134
134
  70: "#E2E7E9",
135
135
  80: "#fff0",
136
136
  90: "#fff0"
137
137
  },
138
- ashBlak: {
138
+ onyx: {
139
139
  10: "#364040",
140
140
  20: "#323B3B",
141
141
  30: "#2A3232",
@@ -145,8 +145,30 @@ const e = {
145
145
  70: "#090A0A",
146
146
  80: "#fff0",
147
147
  90: "#fff0"
148
+ },
149
+ mint: {
150
+ 10: "#9BB4CA",
151
+ 20: "#A1BDD9",
152
+ 30: "#A6C5E2",
153
+ 40: "#BCD6F0",
154
+ 50: "#C8E1F9",
155
+ 60: "#BFDBF8",
156
+ 70: "#C3DEFE",
157
+ 80: "#DFE7F2",
158
+ 90: "#F1F2F4"
159
+ },
160
+ oxford: {
161
+ 10: "#F7F8F9",
162
+ 20: "#DCDFE4",
163
+ 30: "#B3B9C4",
164
+ 40: "#8590A2",
165
+ 50: "#758195",
166
+ 60: "#626F86",
167
+ 70: "#44546F",
168
+ 80: "#2C3E5D",
169
+ 90: "#091E42"
148
170
  }
149
- }, c = {
171
+ }, d = {
150
172
  patronus: {
151
173
  4: r(e.patronusBlue[50], 0.08),
152
174
  12: r(e.patronusBlue[50], 0.12),
@@ -218,35 +240,52 @@ const e = {
218
240
  48: r(e.marbleLight[10], 0.48),
219
241
  60: r(e.marbleLight[10], 0.6),
220
242
  72: r(e.marbleLight[10], 0.72)
243
+ },
244
+ mint: {
245
+ 4: r(e.mint[40], 0.04),
246
+ 12: r(e.mint[20], 0.08),
247
+ 24: r(e.mint[50], 0.1),
248
+ 36: r(e.mint[30], 0.14),
249
+ 48: r(e.mint[70], 0.18),
250
+ 60: r(e.mint[60], 0.28),
251
+ 72: r(e.mint[10], 0.5)
252
+ },
253
+ oxford: {
254
+ 4: r(e.oxford[90], 0.32),
255
+ 12: r(e.oxford[90], 0.04),
256
+ 24: r(e.oxford[90], 0.16),
257
+ 36: r(e.oxford[90], 0.31),
258
+ 48: r(e.oxford[90], 0.49),
259
+ 60: r(e.oxford[90], 0.1)
221
260
  }
222
- }, t = {
261
+ }, a = {
223
262
  lighter: e.patronusBlue[60],
224
263
  light: e.patronusBlue[40],
225
264
  main: e.patronusBlue[50],
226
265
  dark: e.patronusBlue[30],
227
266
  darker: e.patronusBlue[10],
228
267
  contrastText: e.marbleLight[10]
229
- }, d = {
268
+ }, c = {
230
269
  lighter: "#fff0",
231
270
  light: "#fff0",
232
271
  main: "#fff0",
233
272
  dark: "#fff0",
234
273
  darker: "#fff0"
235
- }, o = {
274
+ }, t = {
236
275
  lighter: "#fff0",
237
276
  light: "#fff0",
238
277
  main: e.crayonBlue[50],
239
278
  dark: "#fff0",
240
279
  darker: "#fff0",
241
280
  opacity: r(e.crayonBlue[50], 0.08)
242
- }, l = {
281
+ }, n = {
243
282
  lighter: "#fff0",
244
283
  light: "#fff0",
245
284
  main: e.acidGreen[60],
246
285
  dark: "#fff0",
247
286
  darker: "#fff0",
248
287
  opacity: r(e.acidGreen[60], 0.08)
249
- }, n = {
288
+ }, l = {
250
289
  lighter: "#fff0",
251
290
  light: "#fff0",
252
291
  main: e.middleYellow[60],
@@ -260,7 +299,7 @@ const e = {
260
299
  dark: "#fff0",
261
300
  darker: "#fff0",
262
301
  opacity: r(e.flameRed[40], 0.08)
263
- }, F = {
302
+ }, o = {
264
303
  0: "#FFFFFF",
265
304
  100: "#F9FAFB",
266
305
  200: "#F4F6F8",
@@ -279,13 +318,13 @@ const e = {
279
318
  50048: r("#919EAB", 0.48),
280
319
  50056: r("#919EAB", 0.56),
281
320
  50080: r("#919EAB", 0.8)
321
+ }, E = {
322
+ primary: F(a.light, a.main),
323
+ info: F(t.light, t.main),
324
+ success: F(n.light, n.main),
325
+ warning: F(l.light, l.main),
326
+ error: F(i.light, i.main)
282
327
  }, u = {
283
- primary: a(t.light, t.main),
284
- info: a(o.light, o.main),
285
- success: a(l.light, l.main),
286
- warning: a(n.light, n.main),
287
- error: a(i.light, i.main)
288
- }, g = {
289
328
  violet: ["#826AF9", "#9E86FF", "#D0AEFF", "#F7D2FF"],
290
329
  blue: ["#2D99FF", "#83CFFF", "#A5F3FF", "#CCFAFF"],
291
330
  green: ["#2CD9C5", "#60F1C8", "#A4F7CC", "#C0F2DC"],
@@ -294,60 +333,61 @@ const e = {
294
333
  }, A = {
295
334
  normal: e.crayonBlue[50],
296
335
  hover: e.crayonBlue[70]
297
- }, E = {
336
+ }, g = {
298
337
  normal: e.acidGreen[60],
299
338
  hover: e.acidGreen[70]
300
339
  }, C = {
301
340
  normal: e.flameRed[40],
302
341
  hover: e.flameRed[60]
303
- }, D = {
342
+ }, m = {
304
343
  normal: e.middleYellow[60],
305
344
  hover: e.middleYellow[70]
306
- }, m = {
345
+ }, D = {
307
346
  default: r(e.coolGrey[50], 0.24),
308
347
  transition: r(e.coolGrey[50], 0.08)
309
- }, h = {
348
+ }, b = {
310
349
  info: { ...A },
311
- success: { ...E },
350
+ success: { ...g },
312
351
  error: { ...C },
313
- warning: { ...D },
314
- skeleton: { ...m }
352
+ warning: { ...m },
353
+ skeleton: { ...D }
315
354
  }, f = {
316
355
  common: { black: "#000", white: "#fff" },
317
- primary: { ...t },
356
+ primary: { ...a },
318
357
  state: {
319
- ...h
358
+ ...b
320
359
  },
321
360
  patronus: { ...e },
322
- opacity: { ...c },
323
- secondary: { ...d, contrastText: "#fff" },
324
- info: { ...o, contrastText: "#fff" },
325
- success: { ...l, contrastText: F[800] },
326
- warning: { ...n, contrastText: F[800] },
361
+ opacity: { ...d },
362
+ secondary: { ...c, contrastText: "#fff" },
363
+ info: { ...t, contrastText: "#fff" },
364
+ success: { ...n, contrastText: o[800] },
365
+ warning: { ...l, contrastText: o[800] },
327
366
  error: { ...i, contrastText: "#fff" },
328
- grey: F,
329
- gradients: u,
330
- chart: g,
331
- divider: F[50024],
367
+ grey: o,
368
+ gradients: E,
369
+ chart: u,
332
370
  action: {
333
371
  hoverOpacity: 0.08,
334
372
  disabledOpacity: 0.48
335
373
  }
336
- }, p = {
374
+ }, y = {
337
375
  light: {
338
376
  ...f,
339
377
  mode: "light",
340
378
  text: {
341
- primary: e.ashBlak[10],
379
+ primary: e.onyx[10],
342
380
  secondary: e.coolGrey[60],
343
- disabled: e.coolGrey[30]
381
+ disabled: e.oxford[30]
344
382
  },
345
383
  background: {
346
384
  paper: "#fff0",
347
- default: e.marbleLight[20],
348
- neutral: e.marbleLight[50],
349
- background: e.marbleLight[70]
385
+ default: e.marbleLight[10],
386
+ neutral: e.marbleLight[40],
387
+ background: e.marbleLight[60],
388
+ header: e.marbleLight[30]
350
389
  },
390
+ divider: e.coolGrey[20],
351
391
  grid: { sectionHeader: "#F6F7F9", divider: "#EDEFF2", rowHover: "#FAFBFC" }
352
392
  },
353
393
  dark: {
@@ -360,15 +400,18 @@ const e = {
360
400
  },
361
401
  background: {
362
402
  paper: "#fff0",
363
- default: e.ashBlak[20],
364
- neutral: e.ashBlak[30],
365
- background: e.ashBlak[50]
403
+ default: e.onyx[40],
404
+ neutral: e.onyx[50],
405
+ background: e.onyx[60],
406
+ header: e.onyx[30]
366
407
  },
408
+ divider: e.coolGrey[80],
367
409
  grid: { sectionHeader: "#29313A", divider: "#3E464F", rowHover: "#1F262F" }
368
410
  }
369
411
  };
370
412
  export {
413
+ d as O,
371
414
  e as P,
372
- h as S,
373
- p
415
+ b as S,
416
+ y as p
374
417
  };
@@ -1,6 +1,6 @@
1
1
  export declare type ColorSchema = 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error';
2
- export declare type PatronusColors = 'patronusBlue' | 'crayonBlue' | 'middleYellow' | 'acidGreen' | 'grassGreen' | 'desertBeige' | 'turquiBlue' | 'blazeOrange' | 'flameRed' | 'coolGrey' | 'brown' | 'marbleLight' | 'ashBlak';
3
- export declare type PatronusOpacityColors = 'patronus' | 'turqui' | 'grass' | 'brown' | 'beige' | 'orange' | 'cool' | 'marbel';
2
+ export declare type PatronusColors = 'patronusBlue' | 'crayonBlue' | 'middleYellow' | 'acidGreen' | 'grassGreen' | 'desertBeige' | 'turquiBlue' | 'blazeOrange' | 'flameRed' | 'coolGrey' | 'brown' | 'marbleLight' | 'onyx' | 'mint' | 'oxford';
3
+ export declare type PatronusOpacityColors = 'patronus' | 'turqui' | 'grass' | 'brown' | 'beige' | 'orange' | 'cool' | 'marbel' | 'mint' | 'oxford';
4
4
  export interface PatronusColorOptions {
5
5
  10: string;
6
6
  20: string;
@@ -18,8 +18,8 @@ export interface PatronusOpacityOptions {
18
18
  24: string;
19
19
  36: string;
20
20
  48: string;
21
- 60: string;
22
- 72: string;
21
+ 60?: string;
22
+ 72?: string;
23
23
  }
24
24
  export declare type PatronusConstantColors = Record<PatronusColors, PatronusColorOptions>;
25
25
  export declare const PATRONUSCOLORS: PatronusConstantColors;
@@ -87,7 +87,9 @@ export declare const palette: {
87
87
  readonly default: string;
88
88
  readonly neutral: string;
89
89
  readonly background: string;
90
+ readonly header: string;
90
91
  };
92
+ readonly divider: string;
91
93
  readonly grid: {
92
94
  readonly sectionHeader: "#F6F7F9";
93
95
  readonly divider: "#EDEFF2";
@@ -140,10 +142,14 @@ export declare const palette: {
140
142
  coolGrey: PatronusColorOptions;
141
143
  brown: PatronusColorOptions;
142
144
  marbleLight: PatronusColorOptions;
143
- ashBlak: PatronusColorOptions;
145
+ onyx: PatronusColorOptions;
146
+ mint: PatronusColorOptions;
147
+ oxford: PatronusColorOptions;
144
148
  };
145
149
  readonly opacity: {
146
150
  brown: PatronusOpacityOptions;
151
+ mint: PatronusOpacityOptions;
152
+ oxford: PatronusOpacityOptions;
147
153
  patronus: PatronusOpacityOptions;
148
154
  turqui: PatronusOpacityOptions;
149
155
  grass: PatronusOpacityOptions;
@@ -230,7 +236,6 @@ export declare const palette: {
230
236
  yellow: string[];
231
237
  red: string[];
232
238
  };
233
- readonly divider: string;
234
239
  readonly action: {
235
240
  hoverOpacity: number;
236
241
  disabledOpacity: number;
@@ -248,7 +253,9 @@ export declare const palette: {
248
253
  readonly default: string;
249
254
  readonly neutral: string;
250
255
  readonly background: string;
256
+ readonly header: string;
251
257
  };
258
+ readonly divider: string;
252
259
  readonly grid: {
253
260
  readonly sectionHeader: "#29313A";
254
261
  readonly divider: "#3E464F";
@@ -301,10 +308,14 @@ export declare const palette: {
301
308
  coolGrey: PatronusColorOptions;
302
309
  brown: PatronusColorOptions;
303
310
  marbleLight: PatronusColorOptions;
304
- ashBlak: PatronusColorOptions;
311
+ onyx: PatronusColorOptions;
312
+ mint: PatronusColorOptions;
313
+ oxford: PatronusColorOptions;
305
314
  };
306
315
  readonly opacity: {
307
316
  brown: PatronusOpacityOptions;
317
+ mint: PatronusOpacityOptions;
318
+ oxford: PatronusOpacityOptions;
308
319
  patronus: PatronusOpacityOptions;
309
320
  turqui: PatronusOpacityOptions;
310
321
  grass: PatronusOpacityOptions;
@@ -391,7 +402,6 @@ export declare const palette: {
391
402
  yellow: string[];
392
403
  red: string[];
393
404
  };
394
- readonly divider: string;
395
405
  readonly action: {
396
406
  hoverOpacity: number;
397
407
  disabledOpacity: number;
@@ -1,7 +1,7 @@
1
- import { alpha as a } from "@mui/material/styles";
2
- import { p as e, P as r } from "./palette.104051a7.js";
3
- const s = e.light.grey[500], n = "#000000", o = (t) => {
4
- const p = a(t, 0.2), x = a(t, 0.14), $ = a(t, 0.12);
1
+ import { alpha as o } from "@mui/material/styles";
2
+ import { p as e, P as r } from "./palette.31d770bc.js";
3
+ const a = e.light.grey[500], s = "#000000", n = (t) => {
4
+ const p = o(t, 0.2), x = o(t, 0.14), $ = o(t, 0.12);
5
5
  return [
6
6
  "none",
7
7
  `0px 2px 1px -1px ${p},0px 1px 1px 0px ${x},0px 1px 3px 0px ${$}`,
@@ -31,39 +31,39 @@ const s = e.light.grey[500], n = "#000000", o = (t) => {
31
31
  ];
32
32
  }, i = (t) => {
33
33
  const p = {
34
- info: `0px 2px 8px 0px ${a(r.patronusBlue[50], 0.2)}`,
35
- secondary: `0px 2px 8px 0px ${a(e.light.secondary.main, 0.24)}`,
36
- success: `0px 2px 8px 0px ${a(r.acidGreen[50], 0.2)}`,
37
- warning: `0px 2px 8px 0px ${a(r.middleYellow[50], 0.2)}`,
38
- error: `0px 2px 8px 0px ${a(r.flameRed[50], 0.2)}`,
39
- card: `0 0 2px 0 ${a(e.light.grey[500], 0.2)}, 0 12px 24px -4px ${a(
34
+ info: `0px 2px 8px 0px ${o(r.patronusBlue[50], 0.2)}`,
35
+ secondary: `0px 2px 8px 0px ${o(e.light.secondary.main, 0.24)}`,
36
+ success: `0px 2px 8px 0px ${o(r.acidGreen[50], 0.2)}`,
37
+ warning: `0px 2px 8px 0px ${o(r.middleYellow[50], 0.2)}`,
38
+ error: `0px 2px 8px 0px ${o(r.flameRed[50], 0.2)}`,
39
+ card: `0 0 2px 0 ${o(e.light.grey[500], 0.2)}, 0 12px 24px -4px ${o(
40
40
  e.light.grey[500],
41
41
  0.12
42
42
  )}`,
43
- dialog: `-40px 40px 80px -8px ${a(e.light.common.black, 0.24)}`,
44
- dropdown: `0 0 2px 0 ${a(e.light.grey[500], 0.24)}, -20px 20px 40px -4px ${a(
43
+ dialog: `-40px 40px 80px -8px ${o(e.light.common.black, 0.24)}`,
44
+ dropdown: `0 0 2px 0 ${o(e.light.grey[500], 0.24)}, -20px 20px 40px -4px ${o(
45
45
  e.light.grey[500],
46
46
  0.24
47
47
  )}`
48
48
  };
49
49
  return t === "light" ? {
50
- z1: `0px 1px 2px ${a(r.coolGrey[70], 0.12)}`,
51
- z2: `0px 2px 2px 1px ${a(r.coolGrey[70], 0.12)}`,
52
- z3: `0px 4px 8px ${a(r.coolGrey[70], 0.16)}`,
53
- z4: `0px 8px 16px 1px ${a(r.coolGrey[70], 0.16)}`,
50
+ z1: `0px 1px 2px ${o(r.coolGrey[70], 0.12)}`,
51
+ z2: `0px 2px 2px 1px ${o(r.coolGrey[70], 0.12)}`,
52
+ z3: `0px 4px 8px ${o(r.coolGrey[70], 0.16)}`,
53
+ z4: `0px 8px 16px 1px ${o(r.coolGrey[70], 0.16)}`,
54
54
  ...p
55
55
  } : {
56
- z1: `0px 1px 2px ${a(r.ashBlak[50], 0.4)}`,
57
- z2: `0px 2px 2px 1px ${a(r.ashBlak[50], 0.4)}`,
58
- z3: `0px 4px 8px 1px ${a(r.ashBlak[60], 0.4)}`,
59
- z4: `0px 8px 16px 4px ${a(r.ashBlak[60], 0.4)}`,
56
+ z1: `0px 1px 2px ${o(r.onyx[50], 0.4)}`,
57
+ z2: `0px 2px 2px 1px ${o(r.onyx[50], 0.4)}`,
58
+ z3: `0px 4px 8px 1px ${o(r.onyx[60], 0.4)}`,
59
+ z4: `0px 8px 16px 4px ${o(r.onyx[60], 0.4)}`,
60
60
  ...p
61
61
  };
62
- }, h = {
63
- light: o(s),
64
- dark: o(n)
62
+ }, g = {
63
+ light: n(a),
64
+ dark: n(s)
65
65
  };
66
66
  export {
67
67
  i as c,
68
- h as s
68
+ g as s
69
69
  };
@@ -0,0 +1,122 @@
1
+ import { r as e, p as t } from "../utils/getFontValue.88831637.js";
2
+ const i = "Segoe UI, Poppins, sans-serif", g = {
3
+ fontFamily: i,
4
+ fontWeightRegular: 400,
5
+ fontWeightMedium: 600,
6
+ fontWeightBold: 700,
7
+ h1: {
8
+ fontWeight: 600,
9
+ lineHeight: 1.5,
10
+ ...e({ sm: 38, md: 40, lg: 40 })
11
+ },
12
+ h2: {
13
+ fontWeight: 600,
14
+ lineHeight: 1,
15
+ ...e({ sm: 40, md: 44, lg: 48 })
16
+ },
17
+ h3: {
18
+ fontWeight: 600,
19
+ lineHeight: 1.5,
20
+ ...e({ sm: 30, md: 32, lg: 32 })
21
+ },
22
+ h4: {
23
+ fontWeight: 600,
24
+ lineHeight: 1.5,
25
+ ...e({ sm: 20, md: 24, lg: 24 })
26
+ },
27
+ h5: {
28
+ fontWeight: 500,
29
+ lineHeight: "28px",
30
+ letterSpacing: "-0.01em",
31
+ ...e({ sm: 22, md: 24, lg: 24 })
32
+ },
33
+ h6: {
34
+ fontWeight: 500,
35
+ lineHeight: "24px",
36
+ letterSpacing: "-0.08em",
37
+ ...e({ sm: 18, md: 18, lg: 18 })
38
+ },
39
+ subtitle: {
40
+ fontWeight: 400,
41
+ lineHeight: "20px",
42
+ letterSpacing: "-0.006em",
43
+ ...e({ sm: 18, md: 15, lg: 15 })
44
+ },
45
+ subtitleDens: {
46
+ fontWeight: 600,
47
+ lineHeight: "24px",
48
+ letterSpacing: "-0.006em",
49
+ ...e({ sm: 18, md: 15, lg: 15 })
50
+ },
51
+ paragraph: {
52
+ fontWeight: 400,
53
+ lineHeight: "16px",
54
+ letterSpacing: "-0.003em",
55
+ ...e({ sm: 16, md: 13, lg: 13 })
56
+ },
57
+ paragraphDens: {
58
+ fontWeight: 600,
59
+ lineHeight: "20px",
60
+ letterSpacing: "-0.003em",
61
+ ...e({ sm: 16, md: 13, lg: 13 })
62
+ },
63
+ subtitle1: {
64
+ fontWeight: 600,
65
+ lineHeight: 1.5,
66
+ fontSize: t(14)
67
+ },
68
+ subtitle2: {
69
+ fontWeight: 600,
70
+ lineHeight: 1.5,
71
+ fontSize: t(12)
72
+ },
73
+ body: {
74
+ fontWeight: 400,
75
+ lineHeight: "16px",
76
+ ...e({ sm: 14, md: 11, lg: 11 })
77
+ },
78
+ bodyDens: {
79
+ fontWeight: 600,
80
+ lineHeight: "16px",
81
+ ...e({ sm: 14, md: 11, lg: 11 })
82
+ },
83
+ body0: {
84
+ lineHeight: 1.5,
85
+ fontWeight: 400,
86
+ fontSize: t(16)
87
+ },
88
+ body1: {
89
+ lineHeight: 1.5,
90
+ fontWeight: 400,
91
+ fontSize: t(14)
92
+ },
93
+ body2: {
94
+ lineHeight: 1.5,
95
+ fontWeight: 400,
96
+ fontSize: t(12)
97
+ },
98
+ caption: {
99
+ lineHeight: 1.5,
100
+ fontSize: t(11)
101
+ },
102
+ overline: {
103
+ fontWeight: 700,
104
+ lineHeight: 1.5,
105
+ fontSize: t(12),
106
+ textTransform: "uppercase"
107
+ },
108
+ button: {
109
+ fontWeight: 700,
110
+ lineHeight: 24 / 14,
111
+ fontSize: t(14),
112
+ textTransform: "capitalize"
113
+ },
114
+ action: {
115
+ fontWeight: 600,
116
+ lineHeight: "16px",
117
+ ...e({ sm: 14, md: 12, lg: 12 })
118
+ }
119
+ };
120
+ export {
121
+ g as t
122
+ };
@@ -4,6 +4,7 @@ export declare type FontProps = {
4
4
  lineHeight: string;
5
5
  letterSpacing: string;
6
6
  };
7
+ export declare type M4LTypographyVariants = 'h1' | 'h3' | 'h5' | 'subtitle' | 'subtitleDens' | 'paragraph' | 'paragraphDens' | 'body' | 'bodyDens' | 'action';
7
8
  export interface TypographyVariants {
8
9
  subtitle: FontProps;
9
10
  subtitleDens: FontProps;
@@ -14,7 +15,7 @@ export interface TypographyVariants {
14
15
  action: FontProps;
15
16
  }
16
17
  export declare const typography: {
17
- readonly fontFamily: "Poppins, sans-serif";
18
+ readonly fontFamily: "Segoe UI, Poppins, sans-serif";
18
19
  readonly fontWeightRegular: 400;
19
20
  readonly fontWeightMedium: 600;
20
21
  readonly fontWeightBold: 700;
@@ -80,8 +81,9 @@ export declare const typography: {
80
81
  readonly '@media (min-width:1200px)': {
81
82
  fontSize: string;
82
83
  };
83
- readonly fontWeight: 600;
84
- readonly lineHeight: 1.5;
84
+ readonly fontWeight: 500;
85
+ readonly lineHeight: "28px";
86
+ readonly letterSpacing: "-0.01em";
85
87
  };
86
88
  readonly h6: {
87
89
  readonly '@media (min-width:0px)': {
@@ -93,8 +95,9 @@ export declare const typography: {
93
95
  readonly '@media (min-width:1200px)': {
94
96
  fontSize: string;
95
97
  };
96
- readonly fontWeight: 600;
97
- readonly lineHeight: number;
98
+ readonly fontWeight: 500;
99
+ readonly lineHeight: "24px";
100
+ readonly letterSpacing: "-0.08em";
98
101
  };
99
102
  readonly subtitle: {
100
103
  readonly '@media (min-width:0px)': {
@@ -107,7 +110,8 @@ export declare const typography: {
107
110
  fontSize: string;
108
111
  };
109
112
  readonly fontWeight: 400;
110
- readonly lineHeight: 1.5;
113
+ readonly lineHeight: "20px";
114
+ readonly letterSpacing: "-0.006em";
111
115
  };
112
116
  readonly subtitleDens: {
113
117
  readonly '@media (min-width:0px)': {
@@ -120,7 +124,8 @@ export declare const typography: {
120
124
  fontSize: string;
121
125
  };
122
126
  readonly fontWeight: 600;
123
- readonly lineHeight: 1.5;
127
+ readonly lineHeight: "24px";
128
+ readonly letterSpacing: "-0.006em";
124
129
  };
125
130
  readonly paragraph: {
126
131
  readonly '@media (min-width:0px)': {
@@ -133,7 +138,8 @@ export declare const typography: {
133
138
  fontSize: string;
134
139
  };
135
140
  readonly fontWeight: 400;
136
- readonly lineHeight: 1.429;
141
+ readonly lineHeight: "16px";
142
+ readonly letterSpacing: "-0.003em";
137
143
  };
138
144
  readonly paragraphDens: {
139
145
  readonly '@media (min-width:0px)': {
@@ -146,7 +152,8 @@ export declare const typography: {
146
152
  fontSize: string;
147
153
  };
148
154
  readonly fontWeight: 600;
149
- readonly lineHeight: 1.429;
155
+ readonly lineHeight: "20px";
156
+ readonly letterSpacing: "-0.003em";
150
157
  };
151
158
  readonly subtitle1: {
152
159
  readonly fontWeight: 600;
@@ -169,7 +176,7 @@ export declare const typography: {
169
176
  fontSize: string;
170
177
  };
171
178
  readonly fontWeight: 400;
172
- readonly lineHeight: 1.143;
179
+ readonly lineHeight: "16px";
173
180
  };
174
181
  readonly bodyDens: {
175
182
  readonly '@media (min-width:0px)': {
@@ -182,7 +189,7 @@ export declare const typography: {
182
189
  fontSize: string;
183
190
  };
184
191
  readonly fontWeight: 600;
185
- readonly lineHeight: 1.143;
192
+ readonly lineHeight: "16px";
186
193
  };
187
194
  readonly body0: {
188
195
  readonly lineHeight: 1.5;
@@ -225,7 +232,7 @@ export declare const typography: {
225
232
  readonly '@media (min-width:1200px)': {
226
233
  fontSize: string;
227
234
  };
228
- readonly fontWeight: 500;
229
- readonly lineHeight: 1.667;
235
+ readonly fontWeight: 600;
236
+ readonly lineHeight: "16px";
230
237
  };
231
238
  };
@@ -99,7 +99,7 @@ declare module '@mui/material/styles' {
99
99
  action: React.CSSProperties;
100
100
  }
101
101
 
102
- interface TypeBackground {
102
+ interface TypeBackground {
103
103
  neutral: string;
104
104
  autofill: string;
105
105
  header: string;
@@ -1,4 +1,4 @@
1
- import { P as r } from "../theme/palette.104051a7.js";
1
+ import { P as r } from "../theme/palette.31d770bc.js";
2
2
  const e = [
3
3
  {
4
4
  name: "patronus",