@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,15 +0,0 @@
1
- import { Theme } from '@mui/material/styles';
2
- export default function Menu(theme: Theme): {
3
- MuiMenuItem: {
4
- styleOverrides: {
5
- root: {
6
- '&.Mui-selected': {
7
- backgroundColor: string;
8
- '&:hover': {
9
- backgroundColor: string;
10
- };
11
- };
12
- };
13
- };
14
- };
15
- };
@@ -1,30 +0,0 @@
1
- import { Theme } from '@mui/material/styles';
2
- export default function Pagination(theme: Theme): {
3
- MuiPaginationItem: {
4
- styleOverrides: {
5
- root: {
6
- '&.Mui-selected': {
7
- fontWeight: import("csstype").Property.FontWeight | undefined;
8
- };
9
- };
10
- textPrimary: {
11
- '&.Mui-selected': {
12
- color: string;
13
- backgroundColor: string;
14
- '&:hover, &.Mui-focusVisible': {
15
- backgroundColor: string;
16
- };
17
- };
18
- };
19
- outlined: {
20
- border: string;
21
- };
22
- outlinedPrimary: {
23
- '&.Mui-selected': {
24
- backgroundColor: string;
25
- border: string;
26
- };
27
- };
28
- };
29
- };
30
- };
@@ -1,22 +0,0 @@
1
- import { Theme } from '@mui/material/styles';
2
- export default function Paper(theme: Theme): {
3
- MuiPaper: {
4
- defaultProps: {
5
- elevation: number;
6
- };
7
- variants: {
8
- props: {
9
- variant: string;
10
- };
11
- style: {
12
- borderColor: string;
13
- };
14
- }[];
15
- styleOverrides: {
16
- root: {
17
- backgroundImage: string;
18
- borderRadius: string;
19
- };
20
- };
21
- };
22
- };
@@ -1,11 +0,0 @@
1
- import { Theme } from '@mui/material/styles';
2
- export default function Popover(theme: Theme): {
3
- MuiPopover: {
4
- styleOverrides: {
5
- paper: {
6
- boxShadow: string;
7
- borderRadius: number;
8
- };
9
- };
10
- };
11
- };
@@ -1,20 +0,0 @@
1
- import { Theme } from '@mui/material/styles';
2
- export default function Progress(theme: Theme): {
3
- MuiLinearProgress: {
4
- styleOverrides: {
5
- root: {
6
- borderRadius: number;
7
- overflow: string;
8
- };
9
- bar: {
10
- borderRadius: number;
11
- };
12
- colorPrimary: {
13
- backgroundColor: string | undefined;
14
- };
15
- buffer: {
16
- backgroundColor: string;
17
- };
18
- };
19
- };
20
- };
@@ -1,16 +0,0 @@
1
- import { Theme } from '@mui/material/styles';
2
- export default function Radio(theme: Theme): {
3
- MuiRadio: {
4
- styleOverrides: {
5
- root: {
6
- padding: string;
7
- svg: {
8
- fontSize: number;
9
- '&[font-size=small]': {
10
- fontSize: number;
11
- };
12
- };
13
- };
14
- };
15
- };
16
- };
@@ -1,13 +0,0 @@
1
- import { Theme } from '@mui/material/styles';
2
- export default function Skeleton(theme: Theme): {
3
- MuiSkeleton: {
4
- defaultProps: {
5
- animation: string;
6
- };
7
- styleOverrides: {
8
- root: {
9
- backgroundColor: string;
10
- };
11
- };
12
- };
13
- };
@@ -1,23 +0,0 @@
1
- import { Theme } from '@mui/material/styles';
2
- export default function Slider(theme: Theme): {
3
- MuiSlider: {
4
- defaultProps: {
5
- size: string;
6
- };
7
- styleOverrides: {
8
- root: {
9
- '&.Mui-disabled': {
10
- color: string;
11
- };
12
- };
13
- markLabel: {
14
- fontSize: number;
15
- color: string;
16
- };
17
- valueLabel: {
18
- borderRadius: number;
19
- backgroundColor: string;
20
- };
21
- };
22
- };
23
- };
@@ -1,10 +0,0 @@
1
- import { Theme } from '@mui/material/styles';
2
- export default function Stepper(theme: Theme): {
3
- MuiStepConnector: {
4
- styleOverrides: {
5
- line: {
6
- borderColor: string;
7
- };
8
- };
9
- };
10
- };
@@ -1,17 +0,0 @@
1
- import { Theme } from '@mui/material/styles';
2
- export default function SvgIcon(_theme: Theme): {
3
- MuiSvgIcon: {
4
- styleOverrides: {
5
- fontSizeSmall: {
6
- width: number;
7
- height: number;
8
- fontSize: string;
9
- };
10
- fontSizeLarge: {
11
- width: number;
12
- height: number;
13
- fontSize: string;
14
- };
15
- };
16
- };
17
- };
@@ -1,28 +0,0 @@
1
- import { Theme } from '@mui/material/styles';
2
- export default function Switch(theme: Theme): {
3
- MuiSwitch: {
4
- styleOverrides: {
5
- thumb: {
6
- boxShadow: string;
7
- };
8
- track: {
9
- opacity: number;
10
- backgroundColor: string;
11
- };
12
- switchBase: {
13
- left: number;
14
- right: string;
15
- '&:not(:.Mui-checked)': {
16
- color: string;
17
- };
18
- '&.Mui-checked.Mui-disabled, &.Mui-disabled': {
19
- color: string;
20
- };
21
- '&.Mui-disabled+.MuiSwitch-track': {
22
- opacity: number;
23
- backgroundColor: string;
24
- };
25
- };
26
- };
27
- };
28
- };