@m4l/styles 0.0.2 → 0.0.4

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 (39) hide show
  1. package/config.d.ts +13 -0
  2. package/index.d.ts +1 -0
  3. package/index.js +1141 -623
  4. package/package.json +1 -1
  5. package/theme/defaultThemeOptions.d.ts +1 -2
  6. package/theme/index.d.ts +4 -2
  7. package/theme/overrides/M4LExtendedComponents/M4LButton.d.ts +1 -5
  8. package/theme/overrides/M4LExtendedComponents/M4LIcon.d.ts +1 -2
  9. package/theme/overrides/M4LExtendedComponents/M4LImageButton.d.ts +35 -1
  10. package/theme/overrides/M4LExtendedComponents/M4LNavLink.d.ts +10 -0
  11. package/theme/overrides/M4LExtendedComponents/M4LPopover.d.ts +5 -1
  12. package/theme/overrides/M4LExtendedComponents/M4LTypography.d.ts +5 -2
  13. package/theme/overrides/M4LExtendedComponents/M4LanguagePopover.d.ts +1 -4
  14. package/theme/overrides/M4LExtendedComponents/M4LoadingButton.d.ts +6 -0
  15. package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.d.ts +10 -0
  16. package/theme/overrides/M4LRHFComponents/M4LRHFAutocompleteAsync.d.ts +10 -0
  17. package/theme/overrides/M4LRHFComponents/M4LRHFCheckbox.d.ts +46 -1
  18. package/theme/overrides/M4LRHFComponents/M4LRHFTextField.d.ts +1 -11
  19. package/theme/overrides/M4LRHFComponents/M4LRHFTextFieldPassword.d.ts +5 -2
  20. package/theme/overrides/MUIComponents/Accordion.d.ts +36 -16
  21. package/theme/overrides/MUIComponents/Autocomplete.d.ts +0 -3
  22. package/theme/overrides/MUIComponents/ButtonGroup.d.ts +8 -0
  23. package/theme/overrides/MUIComponents/ControlLabel.d.ts +36 -16
  24. package/theme/overrides/MUIComponents/DataGrid.d.ts +72 -32
  25. package/theme/overrides/MUIComponents/Fab.d.ts +1 -1
  26. package/theme/overrides/MUIComponents/Input.d.ts +72 -32
  27. package/theme/overrides/MUIComponents/LoadingButton.d.ts +36 -16
  28. package/theme/overrides/MUIComponents/Paper.d.ts +35 -0
  29. package/theme/overrides/MUIComponents/Table.d.ts +144 -64
  30. package/theme/overrides/MUIComponents/Tabs.d.ts +36 -16
  31. package/theme/overrides/MUIComponents/Typography.d.ts +5 -0
  32. package/theme/palette.d.ts +169 -30
  33. package/theme/shadows.d.ts +5 -50
  34. package/theme/typography.d.ts +146 -18
  35. package/types/types.d.ts +65 -1
  36. package/utils/getColorPresets.d.ts +9 -105
  37. package/utils/getColorState.d.ts +15 -0
  38. package/utils/getFontValue.d.ts +1 -1
  39. package/utils/index.d.ts +1 -0
@@ -104,6 +104,7 @@ export default function Tabs(theme: Theme): {
104
104
  breakInside?: import("csstype").Property.BreakInside | undefined;
105
105
  captionSide?: import("csstype").Property.CaptionSide | undefined;
106
106
  caretColor?: import("csstype").Property.CaretColor | undefined;
107
+ caretShape?: import("csstype").Property.CaretShape | undefined;
107
108
  clear?: import("csstype").Property.Clear | undefined;
108
109
  clipPath?: import("csstype").Property.ClipPath | undefined;
109
110
  color?: import("csstype").Property.Color | undefined;
@@ -118,6 +119,12 @@ export default function Tabs(theme: Theme): {
118
119
  columnSpan?: import("csstype").Property.ColumnSpan | undefined;
119
120
  columnWidth?: import("csstype").Property.ColumnWidth<string | number> | undefined;
120
121
  contain?: import("csstype").Property.Contain | undefined;
122
+ containIntrinsicBlockSize?: import("csstype").Property.ContainIntrinsicBlockSize<string | number> | undefined;
123
+ containIntrinsicHeight?: import("csstype").Property.ContainIntrinsicHeight<string | number> | undefined;
124
+ containIntrinsicInlineSize?: import("csstype").Property.ContainIntrinsicInlineSize<string | number> | undefined;
125
+ containIntrinsicWidth?: import("csstype").Property.ContainIntrinsicWidth<string | number> | undefined;
126
+ containerName?: import("csstype").Property.ContainerName | undefined;
127
+ containerType?: import("csstype").Property.ContainerType | undefined;
121
128
  content?: import("csstype").Property.Content | undefined;
122
129
  contentVisibility?: import("csstype").Property.ContentVisibility | undefined;
123
130
  counterIncrement?: import("csstype").Property.CounterIncrement | undefined;
@@ -139,6 +146,7 @@ export default function Tabs(theme: Theme): {
139
146
  fontKerning?: import("csstype").Property.FontKerning | undefined;
140
147
  fontLanguageOverride?: import("csstype").Property.FontLanguageOverride | undefined;
141
148
  fontOpticalSizing?: import("csstype").Property.FontOpticalSizing | undefined;
149
+ fontPalette?: import("csstype").Property.FontPalette | undefined;
142
150
  fontSize?: import("csstype").Property.FontSize<string | number> | undefined;
143
151
  fontSizeAdjust?: import("csstype").Property.FontSizeAdjust | undefined;
144
152
  fontSmooth?: import("csstype").Property.FontSmooth<string | number> | undefined;
@@ -149,6 +157,7 @@ export default function Tabs(theme: Theme): {
149
157
  fontVariantAlternates?: import("csstype").Property.FontVariantAlternates | undefined;
150
158
  fontVariantCaps?: import("csstype").Property.FontVariantCaps | undefined;
151
159
  fontVariantEastAsian?: import("csstype").Property.FontVariantEastAsian | undefined;
160
+ fontVariantEmoji?: import("csstype").Property.FontVariantEmoji | undefined;
152
161
  fontVariantLigatures?: import("csstype").Property.FontVariantLigatures | undefined;
153
162
  fontVariantNumeric?: import("csstype").Property.FontVariantNumeric | undefined;
154
163
  fontVariantPosition?: import("csstype").Property.FontVariantPosition | undefined;
@@ -168,6 +177,7 @@ export default function Tabs(theme: Theme): {
168
177
  hangingPunctuation?: import("csstype").Property.HangingPunctuation | undefined;
169
178
  height?: import("csstype").Property.Height<string | number> | undefined;
170
179
  hyphenateCharacter?: import("csstype").Property.HyphenateCharacter | undefined;
180
+ hyphenateLimitChars?: import("csstype").Property.HyphenateLimitChars | undefined;
171
181
  hyphens?: import("csstype").Property.Hyphens | undefined;
172
182
  imageOrientation?: import("csstype").Property.ImageOrientation | undefined;
173
183
  imageRendering?: import("csstype").Property.ImageRendering | undefined;
@@ -175,11 +185,8 @@ export default function Tabs(theme: Theme): {
175
185
  initialLetter?: import("csstype").Property.InitialLetter | undefined;
176
186
  inlineSize?: import("csstype").Property.InlineSize<string | number> | undefined;
177
187
  inputSecurity?: import("csstype").Property.InputSecurity | undefined;
178
- inset?: import("csstype").Property.Inset<string | number> | undefined;
179
- insetBlock?: import("csstype").Property.InsetBlock<string | number> | undefined;
180
188
  insetBlockEnd?: import("csstype").Property.InsetBlockEnd<string | number> | undefined;
181
189
  insetBlockStart?: import("csstype").Property.InsetBlockStart<string | number> | undefined;
182
- insetInline?: import("csstype").Property.InsetInline<string | number> | undefined;
183
190
  insetInlineEnd?: import("csstype").Property.InsetInlineEnd<string | number> | undefined;
184
191
  insetInlineStart?: import("csstype").Property.InsetInlineStart<string | number> | undefined;
185
192
  isolation?: import("csstype").Property.Isolation | undefined;
@@ -195,16 +202,15 @@ export default function Tabs(theme: Theme): {
195
202
  listStyleImage?: import("csstype").Property.ListStyleImage | undefined;
196
203
  listStylePosition?: import("csstype").Property.ListStylePosition | undefined;
197
204
  listStyleType?: import("csstype").Property.ListStyleType | undefined;
198
- marginBlock?: import("csstype").Property.MarginBlock<string | number> | undefined;
199
205
  marginBlockEnd?: import("csstype").Property.MarginBlockEnd<string | number> | undefined;
200
206
  marginBlockStart?: import("csstype").Property.MarginBlockStart<string | number> | undefined;
201
207
  marginBottom?: import("csstype").Property.MarginBottom<string | number> | undefined;
202
- marginInline?: import("csstype").Property.MarginInline<string | number> | undefined;
203
208
  marginInlineEnd?: import("csstype").Property.MarginInlineEnd<string | number> | undefined;
204
209
  marginInlineStart?: import("csstype").Property.MarginInlineStart<string | number> | undefined;
205
210
  marginLeft?: import("csstype").Property.MarginLeft<string | number> | undefined;
206
211
  marginRight?: import("csstype").Property.MarginRight<string | number> | undefined;
207
212
  marginTop?: import("csstype").Property.MarginTop<string | number> | undefined;
213
+ marginTrim?: import("csstype").Property.MarginTrim | undefined;
208
214
  maskBorderMode?: import("csstype").Property.MaskBorderMode | undefined;
209
215
  maskBorderOutset?: import("csstype").Property.MaskBorderOutset<string | number> | undefined;
210
216
  maskBorderRepeat?: import("csstype").Property.MaskBorderRepeat | undefined;
@@ -241,6 +247,7 @@ export default function Tabs(theme: Theme): {
241
247
  offsetAnchor?: import("csstype").Property.OffsetAnchor<string | number> | undefined;
242
248
  offsetDistance?: import("csstype").Property.OffsetDistance<string | number> | undefined;
243
249
  offsetPath?: import("csstype").Property.OffsetPath | undefined;
250
+ offsetPosition?: import("csstype").Property.OffsetPosition<string | number> | undefined;
244
251
  offsetRotate?: import("csstype").Property.OffsetRotate | undefined;
245
252
  offsetRotation?: import("csstype").Property.OffsetRotate | undefined;
246
253
  opacity?: import("csstype").Property.Opacity | undefined;
@@ -262,23 +269,21 @@ export default function Tabs(theme: Theme): {
262
269
  overscrollBehaviorInline?: import("csstype").Property.OverscrollBehaviorInline | undefined;
263
270
  overscrollBehaviorX?: import("csstype").Property.OverscrollBehaviorX | undefined;
264
271
  overscrollBehaviorY?: import("csstype").Property.OverscrollBehaviorY | undefined;
265
- paddingBlock?: import("csstype").Property.PaddingBlock<string | number> | undefined;
266
272
  paddingBlockEnd?: import("csstype").Property.PaddingBlockEnd<string | number> | undefined;
267
273
  paddingBlockStart?: import("csstype").Property.PaddingBlockStart<string | number> | undefined;
268
274
  paddingBottom?: import("csstype").Property.PaddingBottom<string | number> | undefined;
269
- paddingInline?: import("csstype").Property.PaddingInline<string | number> | undefined;
270
275
  paddingInlineEnd?: import("csstype").Property.PaddingInlineEnd<string | number> | undefined;
271
276
  paddingInlineStart?: import("csstype").Property.PaddingInlineStart<string | number> | undefined;
272
277
  paddingLeft?: import("csstype").Property.PaddingLeft<string | number> | undefined;
273
278
  paddingRight?: import("csstype").Property.PaddingRight<string | number> | undefined;
274
279
  paddingTop?: import("csstype").Property.PaddingTop<string | number> | undefined;
280
+ page?: import("csstype").Property.Page | undefined;
275
281
  pageBreakAfter?: import("csstype").Property.PageBreakAfter | undefined;
276
282
  pageBreakBefore?: import("csstype").Property.PageBreakBefore | undefined;
277
283
  pageBreakInside?: import("csstype").Property.PageBreakInside | undefined;
278
284
  paintOrder?: import("csstype").Property.PaintOrder | undefined;
279
285
  perspective?: import("csstype").Property.Perspective<string | number> | undefined;
280
286
  perspectiveOrigin?: import("csstype").Property.PerspectiveOrigin<string | number> | undefined;
281
- placeContent?: import("csstype").Property.PlaceContent | undefined;
282
287
  pointerEvents?: import("csstype").Property.PointerEvents | undefined;
283
288
  position?: import("csstype").Property.Position | undefined;
284
289
  printColorAdjust?: import("csstype").Property.PrintColorAdjust | undefined;
@@ -292,36 +297,31 @@ export default function Tabs(theme: Theme): {
292
297
  rubyPosition?: import("csstype").Property.RubyPosition | undefined;
293
298
  scale?: import("csstype").Property.Scale | undefined;
294
299
  scrollBehavior?: import("csstype").Property.ScrollBehavior | undefined;
295
- scrollMargin?: import("csstype").Property.ScrollMargin<string | number> | undefined;
296
- scrollMarginBlock?: import("csstype").Property.ScrollMarginBlock<string | number> | undefined;
297
300
  scrollMarginBlockEnd?: import("csstype").Property.ScrollMarginBlockEnd<string | number> | undefined;
298
301
  scrollMarginBlockStart?: import("csstype").Property.ScrollMarginBlockStart<string | number> | undefined;
299
302
  scrollMarginBottom?: import("csstype").Property.ScrollMarginBottom<string | number> | undefined;
300
- scrollMarginInline?: import("csstype").Property.ScrollMarginInline<string | number> | undefined;
301
303
  scrollMarginInlineEnd?: import("csstype").Property.ScrollMarginInlineEnd<string | number> | undefined;
302
304
  scrollMarginInlineStart?: import("csstype").Property.ScrollMarginInlineStart<string | number> | undefined;
303
305
  scrollMarginLeft?: import("csstype").Property.ScrollMarginLeft<string | number> | undefined;
304
306
  scrollMarginRight?: import("csstype").Property.ScrollMarginRight<string | number> | undefined;
305
307
  scrollMarginTop?: import("csstype").Property.ScrollMarginTop<string | number> | undefined;
306
- scrollPadding?: import("csstype").Property.ScrollPadding<string | number> | undefined;
307
- scrollPaddingBlock?: import("csstype").Property.ScrollPaddingBlock<string | number> | undefined;
308
308
  scrollPaddingBlockEnd?: import("csstype").Property.ScrollPaddingBlockEnd<string | number> | undefined;
309
309
  scrollPaddingBlockStart?: import("csstype").Property.ScrollPaddingBlockStart<string | number> | undefined;
310
310
  scrollPaddingBottom?: import("csstype").Property.ScrollPaddingBottom<string | number> | undefined;
311
- scrollPaddingInline?: import("csstype").Property.ScrollPaddingInline<string | number> | undefined;
312
311
  scrollPaddingInlineEnd?: import("csstype").Property.ScrollPaddingInlineEnd<string | number> | undefined;
313
312
  scrollPaddingInlineStart?: import("csstype").Property.ScrollPaddingInlineStart<string | number> | undefined;
314
313
  scrollPaddingLeft?: import("csstype").Property.ScrollPaddingLeft<string | number> | undefined;
315
314
  scrollPaddingRight?: import("csstype").Property.ScrollPaddingRight<string | number> | undefined;
316
315
  scrollPaddingTop?: import("csstype").Property.ScrollPaddingTop<string | number> | undefined;
317
316
  scrollSnapAlign?: import("csstype").Property.ScrollSnapAlign | undefined;
318
- scrollSnapMargin?: import("csstype").Property.ScrollMargin<string | number> | undefined;
319
317
  scrollSnapMarginBottom?: import("csstype").Property.ScrollMarginBottom<string | number> | undefined;
320
318
  scrollSnapMarginLeft?: import("csstype").Property.ScrollMarginLeft<string | number> | undefined;
321
319
  scrollSnapMarginRight?: import("csstype").Property.ScrollMarginRight<string | number> | undefined;
322
320
  scrollSnapMarginTop?: import("csstype").Property.ScrollMarginTop<string | number> | undefined;
323
321
  scrollSnapStop?: import("csstype").Property.ScrollSnapStop | undefined;
324
322
  scrollSnapType?: import("csstype").Property.ScrollSnapType | undefined;
323
+ scrollTimelineAxis?: import("csstype").Property.ScrollTimelineAxis | undefined;
324
+ scrollTimelineName?: import("csstype").Property.ScrollTimelineName | undefined;
325
325
  scrollbarColor?: import("csstype").Property.ScrollbarColor | undefined;
326
326
  scrollbarGutter?: import("csstype").Property.ScrollbarGutter | undefined;
327
327
  scrollbarWidth?: import("csstype").Property.ScrollbarWidth | undefined;
@@ -366,6 +366,7 @@ export default function Tabs(theme: Theme): {
366
366
  unicodeBidi?: import("csstype").Property.UnicodeBidi | undefined;
367
367
  userSelect?: import("csstype").Property.UserSelect | undefined;
368
368
  verticalAlign?: import("csstype").Property.VerticalAlign<string | number> | undefined;
369
+ viewTransitionName?: import("csstype").Property.ViewTransitionName | undefined;
369
370
  visibility?: import("csstype").Property.Visibility | undefined;
370
371
  whiteSpace?: import("csstype").Property.WhiteSpace | undefined;
371
372
  widows?: import("csstype").Property.Widows | undefined;
@@ -397,8 +398,11 @@ export default function Tabs(theme: Theme): {
397
398
  borderStyle?: import("csstype").Property.BorderStyle | undefined;
398
399
  borderTop?: import("csstype").Property.BorderTop<string | number> | undefined;
399
400
  borderWidth?: import("csstype").Property.BorderWidth<string | number> | undefined;
401
+ caret?: import("csstype").Property.Caret | undefined;
400
402
  columnRule?: import("csstype").Property.ColumnRule<string | number> | undefined;
401
403
  columns?: import("csstype").Property.Columns<string | number> | undefined;
404
+ containIntrinsicSize?: import("csstype").Property.ContainIntrinsicSize<string | number> | undefined;
405
+ container?: import("csstype").Property.Container | undefined;
402
406
  flex?: import("csstype").Property.Flex<string | number> | undefined;
403
407
  flexFlow?: import("csstype").Property.FlexFlow | undefined;
404
408
  font?: import("csstype").Property.Font | undefined;
@@ -408,9 +412,14 @@ export default function Tabs(theme: Theme): {
408
412
  gridColumn?: import("csstype").Property.GridColumn | undefined;
409
413
  gridRow?: import("csstype").Property.GridRow | undefined;
410
414
  gridTemplate?: import("csstype").Property.GridTemplate | undefined;
415
+ inset?: import("csstype").Property.Inset<string | number> | undefined;
416
+ insetBlock?: import("csstype").Property.InsetBlock<string | number> | undefined;
417
+ insetInline?: import("csstype").Property.InsetInline<string | number> | undefined;
411
418
  lineClamp?: import("csstype").Property.LineClamp | undefined;
412
419
  listStyle?: import("csstype").Property.ListStyle | undefined;
413
420
  margin?: import("csstype").Property.Margin<string | number> | undefined;
421
+ marginBlock?: import("csstype").Property.MarginBlock<string | number> | undefined;
422
+ marginInline?: import("csstype").Property.MarginInline<string | number> | undefined;
414
423
  mask?: import("csstype").Property.Mask<string | number> | undefined;
415
424
  maskBorder?: import("csstype").Property.MaskBorder | undefined;
416
425
  motion?: import("csstype").Property.Offset<string | number> | undefined;
@@ -419,8 +428,19 @@ export default function Tabs(theme: Theme): {
419
428
  overflow?: import("csstype").Property.Overflow | undefined;
420
429
  overscrollBehavior?: import("csstype").Property.OverscrollBehavior | undefined;
421
430
  padding?: import("csstype").Property.Padding<string | number> | undefined;
431
+ paddingBlock?: import("csstype").Property.PaddingBlock<string | number> | undefined;
432
+ paddingInline?: import("csstype").Property.PaddingInline<string | number> | undefined;
433
+ placeContent?: import("csstype").Property.PlaceContent | undefined;
422
434
  placeItems?: import("csstype").Property.PlaceItems | undefined;
423
435
  placeSelf?: import("csstype").Property.PlaceSelf | undefined;
436
+ scrollMargin?: import("csstype").Property.ScrollMargin<string | number> | undefined;
437
+ scrollMarginBlock?: import("csstype").Property.ScrollMarginBlock<string | number> | undefined;
438
+ scrollMarginInline?: import("csstype").Property.ScrollMarginInline<string | number> | undefined;
439
+ scrollPadding?: import("csstype").Property.ScrollPadding<string | number> | undefined;
440
+ scrollPaddingBlock?: import("csstype").Property.ScrollPaddingBlock<string | number> | undefined;
441
+ scrollPaddingInline?: import("csstype").Property.ScrollPaddingInline<string | number> | undefined;
442
+ scrollSnapMargin?: import("csstype").Property.ScrollMargin<string | number> | undefined;
443
+ scrollTimeline?: import("csstype").Property.ScrollTimeline | undefined;
424
444
  textDecoration?: import("csstype").Property.TextDecoration<string | number> | undefined;
425
445
  textEmphasis?: import("csstype").Property.TextEmphasis | undefined;
426
446
  transition?: import("csstype").Property.Transition<string & {}> | undefined;
@@ -434,6 +454,7 @@ export default function Tabs(theme: Theme): {
434
454
  MozAnimationTimingFunction?: import("csstype").Property.AnimationTimingFunction | undefined;
435
455
  MozAppearance?: import("csstype").Property.MozAppearance | undefined;
436
456
  MozBackfaceVisibility?: import("csstype").Property.BackfaceVisibility | undefined;
457
+ MozBinding?: import("csstype").Property.MozBinding | undefined;
437
458
  MozBorderBottomColors?: import("csstype").Property.MozBorderBottomColors | undefined;
438
459
  MozBorderEndColor?: import("csstype").Property.BorderInlineEndColor | undefined;
439
460
  MozBorderEndStyle?: import("csstype").Property.BorderInlineEndStyle | undefined;
@@ -714,7 +735,6 @@ export default function Tabs(theme: Theme): {
714
735
  MozBackgroundInlinePolicy?: import("csstype").Property.BoxDecorationBreak | undefined;
715
736
  MozBackgroundOrigin?: import("csstype").Property.BackgroundOrigin | undefined;
716
737
  MozBackgroundSize?: import("csstype").Property.BackgroundSize<string | number> | undefined;
717
- MozBinding?: import("csstype").Property.MozBinding | undefined;
718
738
  MozBorderRadius?: import("csstype").Property.BorderRadius<string | number> | undefined;
719
739
  MozBorderRadiusBottomleft?: import("csstype").Property.BorderBottomLeftRadius<string | number> | undefined;
720
740
  MozBorderRadiusBottomright?: import("csstype").Property.BorderBottomRightRadius<string | number> | undefined;
@@ -1,6 +1,11 @@
1
1
  import { Theme } from '@mui/material/styles';
2
2
  export default function Typography(theme: Theme): {
3
3
  MuiTypography: {
4
+ defaultProps: {
5
+ variantMapping: {
6
+ subtitleDens: string;
7
+ };
8
+ };
4
9
  styleOverrides: {
5
10
  paragraph: {
6
11
  marginBottom: string;
@@ -1,4 +1,29 @@
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 {
5
+ 10: string;
6
+ 20: string;
7
+ 30: string;
8
+ 40: string;
9
+ 50: string;
10
+ 60: string;
11
+ 70: string;
12
+ 80: string;
13
+ 90: string;
14
+ }
15
+ interface PatronusOpacityOptions {
16
+ 4: string;
17
+ 12: string;
18
+ 24: string;
19
+ 36: string;
20
+ 48: string;
21
+ 60: string;
22
+ 72: string;
23
+ }
24
+ export declare type PatronusConstantColors = Record<PatronusColors, PatronusColorOptions>;
25
+ export declare const PATRONUSCOLORS: PatronusConstantColors;
26
+ export declare const OPACITYCOLORS: Record<PatronusOpacityColors, PatronusOpacityOptions>;
2
27
  export declare const GREY: {
3
28
  0: string;
4
29
  100: string;
@@ -19,6 +44,36 @@ export declare const GREY: {
19
44
  50056: string;
20
45
  50080: string;
21
46
  };
47
+ export interface StateDefault {
48
+ normal: string;
49
+ hover: string;
50
+ }
51
+ export interface StateSkeleton {
52
+ default: string;
53
+ transition: string;
54
+ }
55
+ export declare const STATEDEFAULT: {
56
+ info: {
57
+ normal: string;
58
+ hover: string;
59
+ };
60
+ success: {
61
+ normal: string;
62
+ hover: string;
63
+ };
64
+ error: {
65
+ normal: string;
66
+ hover: string;
67
+ };
68
+ warning: {
69
+ normal: string;
70
+ hover: string;
71
+ };
72
+ skeleton: {
73
+ default: string;
74
+ transition: string;
75
+ };
76
+ };
22
77
  export declare const palette: {
23
78
  readonly light: {
24
79
  readonly mode: "light";
@@ -28,21 +83,10 @@ export declare const palette: {
28
83
  readonly disabled: string;
29
84
  };
30
85
  readonly background: {
31
- readonly paper: "#fff";
32
- readonly default: "#fff";
86
+ readonly paper: "#fff0";
87
+ readonly default: string;
33
88
  readonly neutral: string;
34
- readonly autocomplete: string;
35
- readonly header: "#F6F7F9";
36
- };
37
- readonly action: {
38
- readonly hover: string;
39
- readonly selected: string;
40
- readonly disabled: string;
41
- readonly disabledBackground: string;
42
- readonly focus: string;
43
- readonly hoverOpacity: number;
44
- readonly disabledOpacity: number;
45
- readonly active: string;
89
+ readonly background: string;
46
90
  };
47
91
  readonly grid: {
48
92
  readonly sectionHeader: "#F6F7F9";
@@ -54,12 +98,57 @@ export declare const palette: {
54
98
  white: string;
55
99
  };
56
100
  readonly primary: {
57
- contrastText: string;
58
101
  lighter: string;
59
102
  light: string;
60
103
  main: string;
61
104
  dark: string;
62
105
  darker: string;
106
+ contrastText: string;
107
+ };
108
+ readonly state: {
109
+ info: {
110
+ normal: string;
111
+ hover: string;
112
+ };
113
+ success: {
114
+ normal: string;
115
+ hover: string;
116
+ };
117
+ error: {
118
+ normal: string;
119
+ hover: string;
120
+ };
121
+ warning: {
122
+ normal: string;
123
+ hover: string;
124
+ };
125
+ skeleton: {
126
+ default: string;
127
+ transition: string;
128
+ };
129
+ };
130
+ readonly patronus: {
131
+ patronusBlue: PatronusColorOptions;
132
+ crayonBlue: PatronusColorOptions;
133
+ middleYellow: PatronusColorOptions;
134
+ acidGreen: PatronusColorOptions;
135
+ grassGreen: PatronusColorOptions;
136
+ candyRed: PatronusColorOptions;
137
+ turquiBlue: PatronusColorOptions;
138
+ blazeOrange: PatronusColorOptions;
139
+ flameRed: PatronusColorOptions;
140
+ coolGrey: PatronusColorOptions;
141
+ marbleLight: PatronusColorOptions;
142
+ ashBlak: PatronusColorOptions;
143
+ };
144
+ readonly opacity: {
145
+ patronus: PatronusOpacityOptions;
146
+ turqui: PatronusOpacityOptions;
147
+ grass: PatronusOpacityOptions;
148
+ candy: PatronusOpacityOptions;
149
+ blaze: PatronusOpacityOptions;
150
+ cool: PatronusOpacityOptions;
151
+ marbel: PatronusOpacityOptions;
63
152
  };
64
153
  readonly secondary: {
65
154
  contrastText: string;
@@ -76,6 +165,7 @@ export declare const palette: {
76
165
  main: string;
77
166
  dark: string;
78
167
  darker: string;
168
+ opacity: string;
79
169
  };
80
170
  readonly success: {
81
171
  contrastText: string;
@@ -84,6 +174,7 @@ export declare const palette: {
84
174
  main: string;
85
175
  dark: string;
86
176
  darker: string;
177
+ opacity: string;
87
178
  };
88
179
  readonly warning: {
89
180
  contrastText: string;
@@ -92,6 +183,7 @@ export declare const palette: {
92
183
  main: string;
93
184
  dark: string;
94
185
  darker: string;
186
+ opacity: string;
95
187
  };
96
188
  readonly error: {
97
189
  contrastText: string;
@@ -100,6 +192,7 @@ export declare const palette: {
100
192
  main: string;
101
193
  dark: string;
102
194
  darker: string;
195
+ opacity: string;
103
196
  };
104
197
  readonly grey: {
105
198
  0: string;
@@ -136,30 +229,23 @@ export declare const palette: {
136
229
  red: string[];
137
230
  };
138
231
  readonly divider: string;
232
+ readonly action: {
233
+ hoverOpacity: number;
234
+ disabledOpacity: number;
235
+ };
139
236
  };
140
237
  readonly dark: {
141
238
  readonly mode: "dark";
142
239
  readonly text: {
143
- readonly primary: "#fff";
240
+ readonly primary: string;
144
241
  readonly secondary: string;
145
242
  readonly disabled: string;
146
243
  };
147
244
  readonly background: {
148
- readonly paper: string;
245
+ readonly paper: "#fff0";
149
246
  readonly default: string;
150
247
  readonly neutral: string;
151
- readonly autocomplete: string;
152
- readonly header: "#29313A";
153
- };
154
- readonly action: {
155
- readonly hover: string;
156
- readonly selected: string;
157
- readonly disabled: string;
158
- readonly disabledBackground: string;
159
- readonly focus: string;
160
- readonly hoverOpacity: number;
161
- readonly disabledOpacity: number;
162
- readonly active: string;
248
+ readonly background: string;
163
249
  };
164
250
  readonly grid: {
165
251
  readonly sectionHeader: "#29313A";
@@ -171,12 +257,57 @@ export declare const palette: {
171
257
  white: string;
172
258
  };
173
259
  readonly primary: {
174
- contrastText: string;
175
260
  lighter: string;
176
261
  light: string;
177
262
  main: string;
178
263
  dark: string;
179
264
  darker: string;
265
+ contrastText: string;
266
+ };
267
+ readonly state: {
268
+ info: {
269
+ normal: string;
270
+ hover: string;
271
+ };
272
+ success: {
273
+ normal: string;
274
+ hover: string;
275
+ };
276
+ error: {
277
+ normal: string;
278
+ hover: string;
279
+ };
280
+ warning: {
281
+ normal: string;
282
+ hover: string;
283
+ };
284
+ skeleton: {
285
+ default: string;
286
+ transition: string;
287
+ };
288
+ };
289
+ readonly patronus: {
290
+ patronusBlue: PatronusColorOptions;
291
+ crayonBlue: PatronusColorOptions;
292
+ middleYellow: PatronusColorOptions;
293
+ acidGreen: PatronusColorOptions;
294
+ grassGreen: PatronusColorOptions;
295
+ candyRed: PatronusColorOptions;
296
+ turquiBlue: PatronusColorOptions;
297
+ blazeOrange: PatronusColorOptions;
298
+ flameRed: PatronusColorOptions;
299
+ coolGrey: PatronusColorOptions;
300
+ marbleLight: PatronusColorOptions;
301
+ ashBlak: PatronusColorOptions;
302
+ };
303
+ readonly opacity: {
304
+ patronus: PatronusOpacityOptions;
305
+ turqui: PatronusOpacityOptions;
306
+ grass: PatronusOpacityOptions;
307
+ candy: PatronusOpacityOptions;
308
+ blaze: PatronusOpacityOptions;
309
+ cool: PatronusOpacityOptions;
310
+ marbel: PatronusOpacityOptions;
180
311
  };
181
312
  readonly secondary: {
182
313
  contrastText: string;
@@ -193,6 +324,7 @@ export declare const palette: {
193
324
  main: string;
194
325
  dark: string;
195
326
  darker: string;
327
+ opacity: string;
196
328
  };
197
329
  readonly success: {
198
330
  contrastText: string;
@@ -201,6 +333,7 @@ export declare const palette: {
201
333
  main: string;
202
334
  dark: string;
203
335
  darker: string;
336
+ opacity: string;
204
337
  };
205
338
  readonly warning: {
206
339
  contrastText: string;
@@ -209,6 +342,7 @@ export declare const palette: {
209
342
  main: string;
210
343
  dark: string;
211
344
  darker: string;
345
+ opacity: string;
212
346
  };
213
347
  readonly error: {
214
348
  contrastText: string;
@@ -217,6 +351,7 @@ export declare const palette: {
217
351
  main: string;
218
352
  dark: string;
219
353
  darker: string;
354
+ opacity: string;
220
355
  };
221
356
  readonly grey: {
222
357
  0: string;
@@ -253,6 +388,10 @@ export declare const palette: {
253
388
  red: string[];
254
389
  };
255
390
  readonly divider: string;
391
+ readonly action: {
392
+ hoverOpacity: number;
393
+ disabledOpacity: number;
394
+ };
256
395
  };
257
396
  };
258
397
  export default palette;
@@ -1,12 +1,10 @@
1
1
  import { Shadows } from '@mui/material/styles/shadows';
2
2
  export interface CustomShadowOptions {
3
3
  z1: string;
4
- z8: string;
5
- z12: string;
6
- z16: string;
7
- z20: string;
8
- z24: string;
9
- primary: string;
4
+ z2: string;
5
+ z3: string;
6
+ z4: string;
7
+ primary?: string;
10
8
  secondary: string;
11
9
  info: string;
12
10
  success: string;
@@ -16,50 +14,7 @@ export interface CustomShadowOptions {
16
14
  dialog: string;
17
15
  dropdown: string;
18
16
  }
19
- declare module '@mui/material/styles' {
20
- interface Theme {
21
- customShadows: CustomShadowOptions;
22
- }
23
- interface ThemeOptions {
24
- customShadows?: CustomShadowOptions;
25
- }
26
- }
27
- export declare const customShadows: {
28
- light: {
29
- z1: string;
30
- z8: string;
31
- z12: string;
32
- z16: string;
33
- z20: string;
34
- z24: string;
35
- primary: string;
36
- info: string;
37
- secondary: string;
38
- success: string;
39
- warning: string;
40
- error: string;
41
- card: string;
42
- dialog: string;
43
- dropdown: string;
44
- };
45
- dark: {
46
- z1: string;
47
- z8: string;
48
- z12: string;
49
- z16: string;
50
- z20: string;
51
- z24: string;
52
- primary: string;
53
- info: string;
54
- secondary: string;
55
- success: string;
56
- warning: string;
57
- error: string;
58
- card: string;
59
- dialog: string;
60
- dropdown: string;
61
- };
62
- };
17
+ export declare const createCustomShadows: (mode: 'light' | 'dark') => CustomShadowOptions;
63
18
  export declare const shadows: {
64
19
  light: Shadows;
65
20
  dark: Shadows;