@m4l/styles 0.0.8 → 0.0.10

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 (25) hide show
  1. package/index.js +2009 -507
  2. package/package.json +1 -1
  3. package/theme/defaultThemeOptions.d.ts +2 -1
  4. package/theme/overrides/M4LExtendedComponents/M4LButton.d.ts +200 -2
  5. package/theme/overrides/M4LExtendedComponents/M4LErrorLabel.d.ts +14 -3
  6. package/theme/overrides/M4LExtendedComponents/M4LIcon.d.ts +33 -2
  7. package/theme/overrides/M4LExtendedComponents/M4LIconButton.d.ts +130 -2
  8. package/theme/overrides/M4LExtendedComponents/M4LImage.d.ts +30 -1
  9. package/theme/overrides/M4LExtendedComponents/M4LImageButton.d.ts +3 -3
  10. package/theme/overrides/M4LExtendedComponents/M4LNavLink.d.ts +14 -2
  11. package/theme/overrides/M4LExtendedComponents/M4LPopover.d.ts +48 -1
  12. package/theme/overrides/M4LExtendedComponents/M4LSideBar.d.ts +1093 -0
  13. package/theme/overrides/M4LExtendedComponents/M4LTypography.d.ts +2 -1
  14. package/theme/overrides/M4LExtendedComponents/M4LanguagePopover.d.ts +1 -3
  15. package/theme/overrides/M4LExtendedComponents/M4LoadingButton.d.ts +214 -2
  16. package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.d.ts +125 -3
  17. package/theme/overrides/M4LRHFComponents/M4LRHFAutocompleteAsync.d.ts +2 -2
  18. package/theme/overrides/M4LRHFComponents/M4LRHFCheckbox.d.ts +8 -6
  19. package/theme/overrides/M4LRHFComponents/M4LRHFTextField.d.ts +125 -2
  20. package/theme/overrides/M4LRHFComponents/M4LRHFTextFieldPassword.d.ts +3 -8
  21. package/theme/overrides/MUIComponents/Drawer.d.ts +1078 -0
  22. package/theme/overrides/MUIComponents/Input.d.ts +0 -6
  23. package/theme/overrides/MUIComponents/Paper.d.ts +10 -10
  24. package/types/augmentations.d.ts +11 -7
  25. package/types/types.d.ts +1 -0
@@ -1,10 +1,4 @@
1
1
  import { Theme } from '@mui/material/styles';
2
- declare module '@mui/material/styles/createPalette' {
3
- interface TypeBackground {
4
- neutral: string;
5
- autofill: string;
6
- }
7
- }
8
2
  export default function Input(theme: Theme): {
9
3
  MuiFormControl: {
10
4
  styleOverrides: {
@@ -23,17 +23,17 @@ export default function Paper(theme: Theme): {
23
23
  borderRadius: string;
24
24
  };
25
25
  '& .MuiStack-root .MuiMenuItem-root:hover': {
26
- color: any;
26
+ color: string;
27
27
  transition: string;
28
- backgroundColor: any;
28
+ backgroundColor: string;
29
29
  };
30
30
  '& .MuiStack-root .MuiMenuItem-root.Mui-selected': {
31
- color: any;
31
+ color: string;
32
32
  transition: string;
33
- backgroundColor: any;
33
+ backgroundColor: string;
34
34
  };
35
35
  '& .MuiStack-root .MuiMenuItem-root:focus': {
36
- color: any;
36
+ color: string;
37
37
  transition: string;
38
38
  backgroundColor: string;
39
39
  boxShadow: string;
@@ -44,17 +44,17 @@ export default function Paper(theme: Theme): {
44
44
  borderRadius: string;
45
45
  };
46
46
  '& .MuiAutocomplete-listbox .MuiAutocomplete-option:hover': {
47
- color: any;
47
+ color: string;
48
48
  transition: string;
49
- backgroundColor: any;
49
+ backgroundColor: string;
50
50
  };
51
51
  '& .MuiAutocomplete-listbox .MuiAutocomplete-option.Mui-selected': {
52
- color: any;
52
+ color: string;
53
53
  transition: string;
54
- backgroundColor: any;
54
+ backgroundColor: string;
55
55
  };
56
56
  '& .MuiAutocomplete-listbox .MuiAutocomplete-option:active': {
57
- color: any;
57
+ color: string;
58
58
  transition: string;
59
59
  backgroundColor: string;
60
60
  boxShadow: string;
@@ -1,7 +1,7 @@
1
1
  import { PatronusConstantColors } from '../theme/palette';
2
- import { CustomShadowOptions } from '../theme';
2
+ import { ColorStateOptions, CustomShadowOptions } from '../theme';
3
3
  import { ChartPaletteOptions, GradientsPaletteOptions, GridPaletteOptions } from './types';
4
- import { ColorStateOptions } from '../../utils/getColorState';
4
+
5
5
 
6
6
  declare module '@mui/material' {
7
7
  interface Color {
@@ -18,11 +18,7 @@ declare module '@mui/material' {
18
18
  }
19
19
 
20
20
  declare module '@mui/material/styles/createPalette' {
21
- interface TypeBackground {
22
- neutral: string;
23
- autofill: string;
24
- header: string;
25
- }
21
+
26
22
  interface SimplePaletteColorOptions {
27
23
  lighter?: string;
28
24
  darker?: string;
@@ -46,6 +42,7 @@ declare module '@mui/material/styles/createPalette' {
46
42
  grid?: GridPaletteOptions;
47
43
  patronus?: PatronusConstantColors;
48
44
  state: ColorStateOptions /* Organizar cada caso con los valores específicos. */;
45
+ representative: string;
49
46
  /* info: AgumentationInfoOptions; */
50
47
  }
51
48
  interface PaletteOptions {
@@ -92,6 +89,13 @@ declare module '@mui/material/styles' {
92
89
  bodyDens: React.CSSProperties;
93
90
  action: React.CSSProperties;
94
91
  }
92
+
93
+ interface TypeBackground {
94
+ neutral: string;
95
+ autofill: string;
96
+ header: string;
97
+ background: string;
98
+ }
95
99
  }
96
100
 
97
101
  declare module '@mui/material/Typography' {
package/types/types.d.ts CHANGED
@@ -21,3 +21,4 @@ export interface GradientsPaletteOptions {
21
21
  warning: string;
22
22
  error: string;
23
23
  }
24
+