@m4l/graphics 0.1.28 → 0.1.30

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 (70) hide show
  1. package/contexts/HostThemeContext/index.9fe9854f.js +50 -0
  2. package/contexts/{index.2f4a4040.js → index.8c4de295.js} +1 -1
  3. package/hooks/index.64cf4fc4.js +34 -0
  4. package/hooks/index.d.ts +1 -1
  5. package/hooks/useHostTheme/index.d.ts +1 -1
  6. package/index.d.ts +1 -14
  7. package/index.js +38 -41
  8. package/package.json +2 -3
  9. package/utils/getColorPresets.d.ts +1 -1
  10. package/utils/index.22212127.js +113 -0
  11. package/utils/index.d.ts +3 -0
  12. package/{theme/palette.2baf72f5.js → vendor.158914a7.js} +20 -11
  13. package/contexts/HostThemeContext/index.a6a62c70.js +0 -50
  14. package/hooks/index.c13bc37e.js +0 -27
  15. package/hooks/useHostTheme/index.1c8e4ad7.js +0 -11
  16. package/m4l-graphics-0.1.28.tgz +0 -0
  17. package/theme/breakpoints.d.ts +0 -10
  18. package/theme/defaultThemeOptions.b2cdbe59.js +0 -36
  19. package/theme/defaultThemeOptions.d.ts +0 -2
  20. package/theme/overrides/Accordion.d.ts +0 -861
  21. package/theme/overrides/Autocomplete.d.ts +0 -26
  22. package/theme/overrides/Avatar.d.ts +0 -24
  23. package/theme/overrides/Backdrop.d.ts +0 -13
  24. package/theme/overrides/Badge.d.ts +0 -12
  25. package/theme/overrides/Breadcrumbs.d.ts +0 -11
  26. package/theme/overrides/Button.d.ts +0 -52
  27. package/theme/overrides/ButtonGroup.d.ts +0 -39
  28. package/theme/overrides/Card.d.ts +0 -36
  29. package/theme/overrides/Checkbox.d.ts +0 -18
  30. package/theme/overrides/ControlLabel.d.ts +0 -813
  31. package/theme/overrides/CssBaseline.d.ts +0 -42
  32. package/theme/overrides/DataGrid.d.ts +0 -1670
  33. package/theme/overrides/Dialog.d.ts +0 -55
  34. package/theme/overrides/Drawer.d.ts +0 -17
  35. package/theme/overrides/Fab.d.ts +0 -34
  36. package/theme/overrides/IconButton.d.ts +0 -23
  37. package/theme/overrides/Input.d.ts +0 -1661
  38. package/theme/overrides/InputLabel.d.ts +0 -14
  39. package/theme/overrides/Link.d.ts +0 -15
  40. package/theme/overrides/List.d.ts +0 -32
  41. package/theme/overrides/LoadingButton.d.ts +0 -811
  42. package/theme/overrides/Menu.d.ts +0 -15
  43. package/theme/overrides/Pagination.d.ts +0 -30
  44. package/theme/overrides/Paper.d.ts +0 -22
  45. package/theme/overrides/Popover.d.ts +0 -11
  46. package/theme/overrides/Progress.d.ts +0 -20
  47. package/theme/overrides/Radio.d.ts +0 -16
  48. package/theme/overrides/Skeleton.d.ts +0 -13
  49. package/theme/overrides/Slider.d.ts +0 -23
  50. package/theme/overrides/Stepper.d.ts +0 -10
  51. package/theme/overrides/SvgIcon.d.ts +0 -17
  52. package/theme/overrides/Switch.d.ts +0 -28
  53. package/theme/overrides/Table.d.ts +0 -3238
  54. package/theme/overrides/Tabs.d.ts +0 -845
  55. package/theme/overrides/Timeline.d.ts +0 -17
  56. package/theme/overrides/ToggleButton.d.ts +0 -43
  57. package/theme/overrides/Tooltip.d.ts +0 -13
  58. package/theme/overrides/Typography.d.ts +0 -13
  59. package/theme/overrides/index.d.ts +0 -2
  60. package/theme/overrides.7958c0ab.js +0 -1299
  61. package/theme/palette.d.ts +0 -323
  62. package/theme/shadows.bf8dc290.js +0 -61
  63. package/theme/shadows.d.ts +0 -67
  64. package/theme/stretch.d.ts +0 -9
  65. package/theme/typography.63fff3ec.js +0 -88
  66. package/theme/typography.d.ts +0 -132
  67. package/types/index.d.ts +0 -7
  68. package/utils/anchorEl.d.ts +0 -13
  69. package/utils/index.7ab4fc54.js +0 -159
  70. package/vendor.3b4b3674.js +0 -27
@@ -1,55 +0,0 @@
1
- import { Theme } from '@mui/material/styles';
2
- export default function Dialog(theme: Theme): {
3
- MuiDialog: {
4
- styleOverrides: {
5
- paper: {
6
- boxShadow: string;
7
- '&.MuiPaper-rounded': {
8
- borderRadius: number;
9
- };
10
- '&.MuiDialog-paperFullScreen': {
11
- borderRadius: number;
12
- };
13
- '&.MuiDialog-paper .MuiDialogActions-root': {
14
- padding: string;
15
- };
16
- '@media (max-width: 600px)': {
17
- margin: string;
18
- };
19
- '@media (max-width: 663.95px)': {
20
- '&.MuiDialog-paperWidthSm.MuiDialog-paperScrollBody': {
21
- maxWidth: string;
22
- };
23
- };
24
- };
25
- paperFullWidth: {
26
- width: string;
27
- };
28
- };
29
- };
30
- MuiDialogTitle: {
31
- styleOverrides: {
32
- root: {
33
- padding: string;
34
- };
35
- };
36
- };
37
- MuiDialogContent: {
38
- styleOverrides: {
39
- root: {
40
- borderTop: number;
41
- borderBottom: number;
42
- padding: string;
43
- };
44
- };
45
- };
46
- MuiDialogActions: {
47
- styleOverrides: {
48
- root: {
49
- '& > :not(:first-of-type)': {
50
- marginLeft: string;
51
- };
52
- };
53
- };
54
- };
55
- };
@@ -1,17 +0,0 @@
1
- import { Theme } from '@mui/material';
2
- export default function Drawer(theme: Theme): {
3
- MuiDrawer: {
4
- styleOverrides: {
5
- modal: {
6
- '&[role="presentation"]': {
7
- '& .MuiDrawer-paperAnchorLeft': {
8
- boxShadow: string;
9
- };
10
- '& .MuiDrawer-paperAnchorRight': {
11
- boxShadow: string;
12
- };
13
- };
14
- };
15
- };
16
- };
17
- };
@@ -1,34 +0,0 @@
1
- import { Theme } from '@mui/material/styles';
2
- export default function Fab(theme: Theme): {
3
- MuiFab: {
4
- defaultProps: {
5
- color: string;
6
- };
7
- styleOverrides: {
8
- root: {
9
- boxShadow: string;
10
- '&:hover': {
11
- boxShadow: string;
12
- backgroundColor: string;
13
- };
14
- };
15
- primary: {
16
- boxShadow: string;
17
- '&:hover': {
18
- backgroundColor: string;
19
- };
20
- };
21
- secondary: {
22
- boxShadow: string;
23
- '&:hover': {
24
- backgroundColor: string;
25
- };
26
- };
27
- extended: {
28
- '& svg': {
29
- marginRight: string;
30
- };
31
- };
32
- };
33
- };
34
- };
@@ -1,23 +0,0 @@
1
- import { Theme } from '@mui/material/styles';
2
- export default function IconButton(theme: Theme): {
3
- MuiIconButton: {
4
- styleOverrides: {
5
- root: {
6
- '&.MuiIconButton-sizeSmall': {
7
- height: string;
8
- width: string;
9
- margin: number;
10
- padding: number;
11
- ' > svg': {
12
- height: number;
13
- width: number;
14
- };
15
- '& .MuiBox-root': {
16
- height: number;
17
- width: number;
18
- };
19
- };
20
- };
21
- };
22
- };
23
- };