@m4l/styles 2.0.4 → 3.1.0
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.
- package/{config-CoeBxEZB.js → config-B8bZIPuH.js} +2 -1
- package/config.d.ts +5 -0
- package/index.d.ts +1 -1
- package/index.js +30 -41
- package/package.json +1 -1
- package/theme/defaultThemeOptions-BlJvKCE6.js +24 -0
- package/theme/index.d.ts +0 -3
- package/theme/overrides/M4LExtendedComponents/M4LAccordion.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LAccountPopover.d.ts +17 -17
- package/theme/overrides/M4LExtendedComponents/M4LAppBar.d.ts +7 -12
- package/theme/overrides/M4LExtendedComponents/M4LAppBarCommercial.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.d.ts +33 -33
- package/theme/overrides/M4LExtendedComponents/M4LBadge.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LButton.d.ts +7 -7
- package/theme/overrides/M4LExtendedComponents/M4LCommonActions.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LErrorLabel.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LFieldLabel.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LGridLayout.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LHamburgerMenuCommercial.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LIconButton.d.ts +4 -4
- package/theme/overrides/M4LExtendedComponents/M4LImageButton.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LPaperForm.d.ts +6 -6
- package/theme/overrides/M4LExtendedComponents/M4LPeriod.d.ts +41 -41
- package/theme/overrides/M4LExtendedComponents/M4LPopover.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LScrollBar.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LTab.d.ts +7 -7
- package/theme/overrides/M4LExtendedComponents/M4LTabs.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LTooltip.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LanguagePopover.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LoadingButton.d.ts +15 -15
- package/theme/overrides/M4LExtendedComponents/M4LoadingError.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/{index-CyXBfJc_.js → index-Cf72RC_D.js} +478 -523
- package/theme/overrides/M4LRHFComponents/M4LRHFCheckbox.d.ts +1 -1
- package/theme/overrides/M4LRHFComponents/M4LRHFColorPicker.d.ts +1 -1
- package/theme/overrides/M4LRHFComponents/M4LRHFDateTime.d.ts +1 -1
- package/theme/overrides/M4LRHFComponents/M4LRHFTextField.d.ts +2 -2
- package/theme/overrides/M4LRHFComponents/{index-D-E6fugB.js → index-BRZVeOM5.js} +161 -155
- package/theme/overrides/MUIComponents/Avatar.d.ts +1 -1
- package/theme/overrides/MUIComponents/Button.d.ts +1 -1
- package/theme/overrides/MUIComponents/ButtonGroup.d.ts +1 -1
- package/theme/overrides/MUIComponents/Pagination.d.ts +1 -1
- package/theme/overrides/MUIComponents/Paper.d.ts +1 -1
- package/theme/overrides/MUIComponents/ToggleButton.d.ts +2 -2
- package/theme/overrides/MUIComponents/{index-oLVtA5nq.js → index-XoLdmZP6.js} +74 -71
- package/theme/overrides/{index-DeiTY8li.js → index-DrDgOdnk.js} +3 -3
- package/theme/palette/baseColors.d.ts +2 -0
- package/theme/palette/baseOpacityColors.d.ts +2 -0
- package/theme/palette/commonColors.d.ts +2 -0
- package/theme/palette/greyPalette.d.ts +2 -0
- package/theme/palette/index.d.ts +6 -0
- package/theme/palette/palette.d.ts +6 -0
- package/theme/palette/presetColors.d.ts +5 -0
- package/theme/palette/stateColors.d.ts +2 -0
- package/theme/palette-DM0gXxA2.js +584 -0
- package/theme/{shadows-C9Ji2xrX.js → shadows-GTYqExFA.js} +18 -20
- package/types/augmentations.d.ts +144 -137
- package/types/types.d.ts +52 -25
- package/utils/getColorPresets-CXZaM9oS.js +14 -0
- package/utils/getColorPresets.d.ts +4 -9
- package/utils/index.d.ts +0 -1
- package/vite-env.d.ts +3 -3
- package/theme/defaultThemeOptions-CNJ2UmWH.js +0 -31
- package/theme/palette-CR1CkF2l.js +0 -439
- package/theme/palette.d.ts +0 -231
- package/utils/getColorPresets-B12zVrZ8.js +0 -85
- package/utils/getColorState-CGc0yrt5.js +0 -263
- package/utils/getColorState.d.ts +0 -26
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Theme, CssVarsTheme } from '@mui/material/styles';
|
|
2
|
-
export default function Avatar(theme: Omit<Theme,
|
|
2
|
+
export default function Avatar(theme: Omit<Theme, 'palette' | 'applyStyles'> & CssVarsTheme): {
|
|
3
3
|
MuiAvatar: {
|
|
4
4
|
styleOverrides: {
|
|
5
5
|
borderTop: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Theme, CssVarsTheme } from '@mui/material/styles';
|
|
2
|
-
export default function Button(theme: Omit<Theme,
|
|
2
|
+
export default function Button(theme: Omit<Theme, 'palette' | 'applyStyles'> & CssVarsTheme): {
|
|
3
3
|
MuiButton: {
|
|
4
4
|
styleOverrides: {
|
|
5
5
|
root: {
|
|
@@ -4,7 +4,7 @@ export default function ButtonGroup(theme: Omit<Theme, "palette" | "applyStyles"
|
|
|
4
4
|
variants: ({
|
|
5
5
|
props: {
|
|
6
6
|
variant: string;
|
|
7
|
-
color: "
|
|
7
|
+
color: "info" | "success" | "warning" | "error" | "primary" | "secondary";
|
|
8
8
|
};
|
|
9
9
|
style: {
|
|
10
10
|
boxShadow: string | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Theme, CssVarsTheme } from '@mui/material/styles';
|
|
2
|
-
export default function Pagination(theme: Omit<Theme,
|
|
2
|
+
export default function Pagination(theme: Omit<Theme, 'palette' | 'applyStyles'> & CssVarsTheme): {
|
|
3
3
|
MuiPaginationItem: {
|
|
4
4
|
styleOverrides: {
|
|
5
5
|
root: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Theme, CssVarsTheme } from '@mui/material/styles';
|
|
2
|
-
export default function Paper(theme: Omit<Theme,
|
|
2
|
+
export default function Paper(theme: Omit<Theme, 'palette' | 'applyStyles'> & CssVarsTheme): {
|
|
3
3
|
MuiPaper: {
|
|
4
4
|
defaultProps: {
|
|
5
5
|
elevation: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Theme, CssVarsTheme } from '@mui/material/styles';
|
|
2
|
-
import { ColorSchema } from '
|
|
3
|
-
export default function ToggleButton(theme: Omit<Theme,
|
|
2
|
+
import { ColorSchema } from '../../../types';
|
|
3
|
+
export default function ToggleButton(theme: Omit<Theme, 'palette' | 'applyStyles'> & CssVarsTheme): {
|
|
4
4
|
MuiToggleButton: {
|
|
5
5
|
variants: ({
|
|
6
6
|
props: {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { alpha as
|
|
1
|
+
import { alpha as t } from "@mui/material";
|
|
2
2
|
import { alpha as a } from "@mui/material/styles";
|
|
3
3
|
function d(r) {
|
|
4
4
|
return {
|
|
5
5
|
MuiAvatar: {
|
|
6
6
|
styleOverrides: {
|
|
7
7
|
borderTop: "1.5px",
|
|
8
|
-
borderColor: r.vars.palette.
|
|
8
|
+
borderColor: r.vars.palette.border.default,
|
|
9
9
|
colorDefault: {
|
|
10
10
|
color: r.vars.palette.text.secondary,
|
|
11
11
|
backgroundColor: r.vars.palette.grey[400]
|
|
@@ -75,7 +75,7 @@ function l(r) {
|
|
|
75
75
|
// outlined
|
|
76
76
|
outlinedInherit: {
|
|
77
77
|
borderRadius: "4px",
|
|
78
|
-
border: `1px solid ${r.vars.palette.
|
|
78
|
+
border: `1px solid ${r.vars.palette.border.line}`,
|
|
79
79
|
"&:hover": {
|
|
80
80
|
backgroundColor: r.vars.palette.action.hover,
|
|
81
81
|
borderRadius: "4px"
|
|
@@ -92,7 +92,7 @@ function l(r) {
|
|
|
92
92
|
}
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function p(r) {
|
|
96
96
|
return {
|
|
97
97
|
MuiIconButton: {
|
|
98
98
|
// defaultProps: {
|
|
@@ -122,7 +122,7 @@ function u(r) {
|
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
|
-
function
|
|
125
|
+
function u(r) {
|
|
126
126
|
return {
|
|
127
127
|
MuiFab: {
|
|
128
128
|
defaultProps: {
|
|
@@ -277,7 +277,7 @@ function y(r) {
|
|
|
277
277
|
},
|
|
278
278
|
head: {
|
|
279
279
|
color: r.vars.palette.text.secondary,
|
|
280
|
-
backgroundColor: r.vars.palette.background.
|
|
280
|
+
backgroundColor: r.vars.palette.background.main,
|
|
281
281
|
"&:first-of-type": {
|
|
282
282
|
paddingLeft: r.spacing(3),
|
|
283
283
|
borderTopLeftRadius: r.shape.borderRadius,
|
|
@@ -293,7 +293,7 @@ function y(r) {
|
|
|
293
293
|
},
|
|
294
294
|
stickyHeader: {
|
|
295
295
|
backgroundColor: r.vars.palette.background.paper,
|
|
296
|
-
backgroundImage: `linear-gradient(to bottom, ${r.vars.palette.background.
|
|
296
|
+
backgroundImage: `linear-gradient(to bottom, ${r.vars.palette.background.main} 0%, ${r.vars.palette.background.main} 100%)`
|
|
297
297
|
},
|
|
298
298
|
body: {
|
|
299
299
|
"&:first-of-type": {
|
|
@@ -342,7 +342,7 @@ function y(r) {
|
|
|
342
342
|
}
|
|
343
343
|
};
|
|
344
344
|
}
|
|
345
|
-
function
|
|
345
|
+
function M(r) {
|
|
346
346
|
return {
|
|
347
347
|
MuiBadge: {
|
|
348
348
|
styleOverrides: {
|
|
@@ -357,7 +357,7 @@ function f(r) {
|
|
|
357
357
|
}
|
|
358
358
|
};
|
|
359
359
|
}
|
|
360
|
-
function
|
|
360
|
+
function f(r) {
|
|
361
361
|
return {
|
|
362
362
|
MuiPaper: {
|
|
363
363
|
defaultProps: {
|
|
@@ -366,7 +366,7 @@ function M(r) {
|
|
|
366
366
|
variants: [
|
|
367
367
|
{
|
|
368
368
|
props: { variant: "outlined" },
|
|
369
|
-
style: { borderColor: r.vars.palette.
|
|
369
|
+
style: { borderColor: r.vars.palette.border.line }
|
|
370
370
|
}
|
|
371
371
|
],
|
|
372
372
|
styleOverrides: {
|
|
@@ -382,20 +382,20 @@ function M(r) {
|
|
|
382
382
|
...r.colorSchemes.finalTheme.typography.action
|
|
383
383
|
},
|
|
384
384
|
"& .MuiStack-root .MuiMenuItem-root:hover": {
|
|
385
|
-
color: r.vars.palette.
|
|
385
|
+
color: r.vars.palette.primary?.hover,
|
|
386
386
|
transition: "all .5s",
|
|
387
|
-
backgroundColor: r.vars.palette.
|
|
387
|
+
backgroundColor: r.vars.palette.primary?.activeOpacity
|
|
388
388
|
},
|
|
389
389
|
"& .MuiStack-root .MuiMenuItem-root.Mui-selected": {
|
|
390
|
-
color: r.vars.palette.
|
|
390
|
+
color: r.vars.palette.primary?.active,
|
|
391
391
|
transition: "all .5s",
|
|
392
|
-
backgroundColor: r.vars.palette.
|
|
392
|
+
backgroundColor: r.vars.palette.primary?.activeOpacity
|
|
393
393
|
},
|
|
394
394
|
"& .MuiStack-root .MuiMenuItem-root:focus": {
|
|
395
|
-
color: r.vars.palette.
|
|
395
|
+
color: r.vars.palette.primary?.focus,
|
|
396
396
|
transition: "all .5s",
|
|
397
397
|
backgroundColor: r.vars.palette.background.default,
|
|
398
|
-
boxShadow: `0 0 0 1px ${r.vars.palette.
|
|
398
|
+
boxShadow: `0 0 0 1px ${r.vars.palette.primary?.focus}`
|
|
399
399
|
},
|
|
400
400
|
/* Autocomplete Listbox */
|
|
401
401
|
"& .MuiAutocomplete-listbox .MuiAutocomplete-option": {
|
|
@@ -405,20 +405,20 @@ function M(r) {
|
|
|
405
405
|
...r.colorSchemes.finalTheme.typography.action
|
|
406
406
|
},
|
|
407
407
|
"& .MuiAutocomplete-listbox .MuiAutocomplete-option:hover": {
|
|
408
|
-
color: r.vars.palette.
|
|
408
|
+
color: r.vars.palette.primary?.hover,
|
|
409
409
|
transition: "all .5s",
|
|
410
|
-
backgroundColor: r.vars.palette.
|
|
410
|
+
backgroundColor: r.vars.palette.primary?.activeOpacity
|
|
411
411
|
},
|
|
412
412
|
"& .MuiAutocomplete-listbox .MuiAutocomplete-option.Mui-selected": {
|
|
413
|
-
color: r.vars.palette.
|
|
413
|
+
color: r.vars.palette.primary?.active,
|
|
414
414
|
transition: "all .5s",
|
|
415
|
-
backgroundColor: r.vars.palette.
|
|
415
|
+
backgroundColor: r.vars.palette.primary?.activeOpacity
|
|
416
416
|
},
|
|
417
417
|
"& .MuiAutocomplete-listbox .MuiAutocomplete-option:active": {
|
|
418
|
-
color: r.vars.palette.
|
|
418
|
+
color: r.vars.palette.primary?.focus,
|
|
419
419
|
transition: "all .5s",
|
|
420
420
|
backgroundColor: r.vars.palette.background.default,
|
|
421
|
-
boxShadow: `0 0 0 1px ${r.vars.palette.
|
|
421
|
+
boxShadow: `0 0 0 1px ${r.vars.palette.primary?.focus}`
|
|
422
422
|
}
|
|
423
423
|
}
|
|
424
424
|
}
|
|
@@ -465,7 +465,7 @@ function h(r) {
|
|
|
465
465
|
styleOverrides: {
|
|
466
466
|
underline: {
|
|
467
467
|
"&:before": {
|
|
468
|
-
borderBottomColor: r.vars.palette.
|
|
468
|
+
borderBottomColor: r.vars.palette.border.line
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
471
|
}
|
|
@@ -473,9 +473,9 @@ function h(r) {
|
|
|
473
473
|
MuiFilledInput: {
|
|
474
474
|
styleOverrides: {
|
|
475
475
|
root: {
|
|
476
|
-
backgroundColor: r.vars.palette.
|
|
476
|
+
backgroundColor: r.vars.palette.border.line,
|
|
477
477
|
"&:hover": {
|
|
478
|
-
backgroundColor: r.vars.palette.
|
|
478
|
+
backgroundColor: r.vars.palette.border.line
|
|
479
479
|
},
|
|
480
480
|
"&.Mui-focused": {
|
|
481
481
|
backgroundColor: r.vars.palette.action.focus
|
|
@@ -486,7 +486,7 @@ function h(r) {
|
|
|
486
486
|
},
|
|
487
487
|
underline: {
|
|
488
488
|
"&:before": {
|
|
489
|
-
borderBottomColor: r.vars.palette.
|
|
489
|
+
borderBottomColor: r.vars.palette.border.line
|
|
490
490
|
}
|
|
491
491
|
}
|
|
492
492
|
}
|
|
@@ -501,7 +501,7 @@ function h(r) {
|
|
|
501
501
|
padding: r.spacing(1.5, 1.5)
|
|
502
502
|
},
|
|
503
503
|
"& .MuiOutlinedInput-notchedOutline": {
|
|
504
|
-
borderColor: r.vars.palette.
|
|
504
|
+
borderColor: r.vars.palette.border.line,
|
|
505
505
|
fontSize: "0.875rem",
|
|
506
506
|
height: "auto",
|
|
507
507
|
minHeight: "24px",
|
|
@@ -553,7 +553,7 @@ function k(r) {
|
|
|
553
553
|
}
|
|
554
554
|
};
|
|
555
555
|
}
|
|
556
|
-
function
|
|
556
|
+
function m(r) {
|
|
557
557
|
const o = r.colorSchemes.finalTheme.palette.mode === "light";
|
|
558
558
|
return {
|
|
559
559
|
MuiDrawer: {
|
|
@@ -562,13 +562,13 @@ function S(r) {
|
|
|
562
562
|
"&.M4LSideBar-drawer": {
|
|
563
563
|
test: "root",
|
|
564
564
|
"& .MuiPaper-root": {
|
|
565
|
-
background: r.vars.palette.background.
|
|
565
|
+
background: r.vars.palette.background.main,
|
|
566
566
|
display: "flex",
|
|
567
567
|
flexDirection: "row"
|
|
568
568
|
}
|
|
569
569
|
/* "& .MuiPaper-root": {
|
|
570
570
|
borderRadius: "4px",
|
|
571
|
-
backgroundColor: theme.vars.palette.
|
|
571
|
+
backgroundColor: theme.vars.palette.primary.activeOpacity,
|
|
572
572
|
padding: "8px",
|
|
573
573
|
}, */
|
|
574
574
|
}
|
|
@@ -576,13 +576,13 @@ function S(r) {
|
|
|
576
576
|
modal: {
|
|
577
577
|
'&[role="presentation"]': {
|
|
578
578
|
"& .MuiDrawer-paperAnchorLeft": {
|
|
579
|
-
boxShadow: `8px 24px 24px 12px ${
|
|
579
|
+
boxShadow: `8px 24px 24px 12px ${t(
|
|
580
580
|
r.colorSchemes.finalTheme.palette.grey[900],
|
|
581
581
|
o ? 0.16 : 0.48
|
|
582
582
|
)}`
|
|
583
583
|
},
|
|
584
584
|
"& .MuiDrawer-paperAnchorRight": {
|
|
585
|
-
boxShadow: `-8px 24px 24px 12px ${
|
|
585
|
+
boxShadow: `-8px 24px 24px 12px ${t(
|
|
586
586
|
r.colorSchemes.finalTheme.palette.grey[900],
|
|
587
587
|
o ? 0.16 : 0.48
|
|
588
588
|
)}`
|
|
@@ -593,7 +593,7 @@ function S(r) {
|
|
|
593
593
|
}
|
|
594
594
|
};
|
|
595
595
|
}
|
|
596
|
-
function
|
|
596
|
+
function S(r) {
|
|
597
597
|
const o = r.colorSchemes.finalTheme.palette.mode === "light";
|
|
598
598
|
return {
|
|
599
599
|
MuiSlider: {
|
|
@@ -666,7 +666,7 @@ function w(r) {
|
|
|
666
666
|
}
|
|
667
667
|
};
|
|
668
668
|
}
|
|
669
|
-
function
|
|
669
|
+
function O(r) {
|
|
670
670
|
const o = r.colorSchemes.finalTheme.palette.mode === "light";
|
|
671
671
|
return {
|
|
672
672
|
MuiTooltip: {
|
|
@@ -681,7 +681,7 @@ function T(r) {
|
|
|
681
681
|
}
|
|
682
682
|
};
|
|
683
683
|
}
|
|
684
|
-
function
|
|
684
|
+
function T(r) {
|
|
685
685
|
return {
|
|
686
686
|
MuiPopover: {
|
|
687
687
|
styleOverrides: {
|
|
@@ -713,7 +713,7 @@ function B(r) {
|
|
|
713
713
|
},
|
|
714
714
|
"& .MuiDataGrid-toolbarContainer": {
|
|
715
715
|
padding: r.spacing(2),
|
|
716
|
-
backgroundColor: r.vars.palette.background.
|
|
716
|
+
backgroundColor: r.vars.palette.background.main,
|
|
717
717
|
"& .MuiButton-root": {
|
|
718
718
|
marginRight: r.spacing(1.5),
|
|
719
719
|
color: r.vars.palette.text.primary,
|
|
@@ -763,7 +763,7 @@ function B(r) {
|
|
|
763
763
|
...r.colorSchemes.finalTheme.typography.body,
|
|
764
764
|
padding: r.spacing(0.75, 1),
|
|
765
765
|
borderRadius: r.shape.borderRadius,
|
|
766
|
-
backgroundColor: r.vars.palette.background.
|
|
766
|
+
backgroundColor: r.vars.palette.background.main
|
|
767
767
|
},
|
|
768
768
|
"& .MuiSvgIcon-root": {
|
|
769
769
|
right: 4
|
|
@@ -813,16 +813,16 @@ function I(r) {
|
|
|
813
813
|
};
|
|
814
814
|
}
|
|
815
815
|
function L(r) {
|
|
816
|
-
const o = a(r.colorSchemes.finalTheme.palette.grey[900], 0.48),
|
|
816
|
+
const o = a(r.colorSchemes.finalTheme.palette.grey[900], 0.48), i = a(r.colorSchemes.finalTheme.palette.grey[900], 1);
|
|
817
817
|
return {
|
|
818
818
|
MuiBackdrop: {
|
|
819
819
|
styleOverrides: {
|
|
820
820
|
root: {
|
|
821
821
|
background: [
|
|
822
822
|
"rgb(22,28,36)",
|
|
823
|
-
`-moz-linear-gradient(75deg, ${o} 0%, ${
|
|
824
|
-
`-webkit-linear-gradient(75deg, ${o} 0%, ${
|
|
825
|
-
`linear-gradient(75deg, ${o} 0%, ${
|
|
823
|
+
`-moz-linear-gradient(75deg, ${o} 0%, ${i} 100%)`,
|
|
824
|
+
`-webkit-linear-gradient(75deg, ${o} 0%, ${i} 100%)`,
|
|
825
|
+
`linear-gradient(75deg, ${o} 0%, ${i} 100%)`
|
|
826
826
|
],
|
|
827
827
|
"&.MuiBackdrop-invisible": {
|
|
828
828
|
background: "transparent"
|
|
@@ -832,7 +832,7 @@ function L(r) {
|
|
|
832
832
|
}
|
|
833
833
|
};
|
|
834
834
|
}
|
|
835
|
-
function
|
|
835
|
+
function P(r) {
|
|
836
836
|
const o = r.colorSchemes.finalTheme.palette.mode === "light";
|
|
837
837
|
return {
|
|
838
838
|
MuiLinearProgress: {
|
|
@@ -854,7 +854,7 @@ function D(r) {
|
|
|
854
854
|
}
|
|
855
855
|
};
|
|
856
856
|
}
|
|
857
|
-
function
|
|
857
|
+
function z(r) {
|
|
858
858
|
return {
|
|
859
859
|
MuiTimelineDot: {
|
|
860
860
|
styleOverrides: {
|
|
@@ -872,7 +872,7 @@ function P(r) {
|
|
|
872
872
|
}
|
|
873
873
|
};
|
|
874
874
|
}
|
|
875
|
-
function
|
|
875
|
+
function A(r) {
|
|
876
876
|
return {
|
|
877
877
|
MuiCheckbox: {
|
|
878
878
|
// defaultProps: {
|
|
@@ -916,7 +916,7 @@ function z(r) {
|
|
|
916
916
|
}
|
|
917
917
|
};
|
|
918
918
|
}
|
|
919
|
-
function
|
|
919
|
+
function $(r) {
|
|
920
920
|
return {
|
|
921
921
|
MuiAccordion: {
|
|
922
922
|
styleOverrides: {
|
|
@@ -993,7 +993,7 @@ function A(r) {
|
|
|
993
993
|
}
|
|
994
994
|
};
|
|
995
995
|
}
|
|
996
|
-
function
|
|
996
|
+
function D(r) {
|
|
997
997
|
return {
|
|
998
998
|
MuiTypography: {
|
|
999
999
|
defaultProps: {
|
|
@@ -1035,7 +1035,7 @@ function G(r) {
|
|
|
1035
1035
|
}
|
|
1036
1036
|
},
|
|
1037
1037
|
outlined: {
|
|
1038
|
-
border: `1px solid ${r.vars.palette.
|
|
1038
|
+
border: `1px solid ${r.vars.palette.border.line}`
|
|
1039
1039
|
},
|
|
1040
1040
|
outlinedPrimary: {
|
|
1041
1041
|
"&.Mui-selected": {
|
|
@@ -1060,8 +1060,8 @@ function H(r) {
|
|
|
1060
1060
|
};
|
|
1061
1061
|
}
|
|
1062
1062
|
function F(r) {
|
|
1063
|
-
const o = (
|
|
1064
|
-
props: { variant: "contained", color:
|
|
1063
|
+
const o = (i) => ({
|
|
1064
|
+
props: { variant: "contained", color: i },
|
|
1065
1065
|
style: { boxShadow: r.customShadows?.primary }
|
|
1066
1066
|
});
|
|
1067
1067
|
return {
|
|
@@ -1179,12 +1179,15 @@ function _(r) {
|
|
|
1179
1179
|
}
|
|
1180
1180
|
};
|
|
1181
1181
|
}
|
|
1182
|
-
const
|
|
1182
|
+
const e = (r, o) => ({
|
|
1183
1183
|
props: { color: o },
|
|
1184
1184
|
style: {
|
|
1185
1185
|
"&:hover": {
|
|
1186
1186
|
borderColor: a(r.colorSchemes.finalTheme.palette[o].main, 0.48),
|
|
1187
|
-
backgroundColor: a(
|
|
1187
|
+
backgroundColor: a(
|
|
1188
|
+
r.colorSchemes.finalTheme.palette[o].main,
|
|
1189
|
+
r.vars.palette.action.hoverOpacity
|
|
1190
|
+
)
|
|
1188
1191
|
},
|
|
1189
1192
|
"&.Mui-selected": {
|
|
1190
1193
|
borderColor: a(r.colorSchemes.finalTheme.palette[o].main, 0.48)
|
|
@@ -1203,12 +1206,12 @@ function j(r) {
|
|
|
1203
1206
|
}
|
|
1204
1207
|
}
|
|
1205
1208
|
},
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1209
|
+
e(r, "primary"),
|
|
1210
|
+
e(r, "secondary"),
|
|
1211
|
+
e(r, "info"),
|
|
1212
|
+
e(r, "success"),
|
|
1213
|
+
e(r, "warning"),
|
|
1214
|
+
e(r, "error")
|
|
1212
1215
|
]
|
|
1213
1216
|
},
|
|
1214
1217
|
MuiToggleButtonGroup: {
|
|
@@ -1216,7 +1219,7 @@ function j(r) {
|
|
|
1216
1219
|
root: {
|
|
1217
1220
|
borderRadius: r.shape.borderRadius,
|
|
1218
1221
|
backgroundColor: r.vars.palette.background.paper,
|
|
1219
|
-
border: `solid 1px ${r.vars.palette.
|
|
1222
|
+
border: `solid 1px ${r.vars.palette.border.line}`,
|
|
1220
1223
|
"& .MuiToggleButton-root": {
|
|
1221
1224
|
margin: 4,
|
|
1222
1225
|
borderColor: "transparent !important",
|
|
@@ -1283,34 +1286,34 @@ const q = (r) => ({
|
|
|
1283
1286
|
});
|
|
1284
1287
|
export {
|
|
1285
1288
|
d as A,
|
|
1286
|
-
|
|
1289
|
+
M as B,
|
|
1287
1290
|
c as C,
|
|
1288
|
-
|
|
1289
|
-
|
|
1291
|
+
m as D,
|
|
1292
|
+
u as F,
|
|
1290
1293
|
h as I,
|
|
1291
1294
|
b as L,
|
|
1292
1295
|
g as M,
|
|
1293
|
-
|
|
1296
|
+
f as P,
|
|
1294
1297
|
k as R,
|
|
1295
1298
|
C as S,
|
|
1296
1299
|
y as T,
|
|
1297
1300
|
x as a,
|
|
1298
1301
|
v as b,
|
|
1299
1302
|
l as c,
|
|
1300
|
-
|
|
1301
|
-
|
|
1303
|
+
p as d,
|
|
1304
|
+
S as e,
|
|
1302
1305
|
R as f,
|
|
1303
|
-
|
|
1304
|
-
|
|
1306
|
+
O as g,
|
|
1307
|
+
T as h,
|
|
1305
1308
|
w as i,
|
|
1306
|
-
|
|
1309
|
+
A as j,
|
|
1307
1310
|
B as k,
|
|
1308
1311
|
I as l,
|
|
1309
|
-
|
|
1312
|
+
z as m,
|
|
1310
1313
|
L as n,
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
+
P as o,
|
|
1315
|
+
$ as p,
|
|
1316
|
+
D as q,
|
|
1314
1317
|
G as r,
|
|
1315
1318
|
F as s,
|
|
1316
1319
|
H as t,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { F as s, C as o, M as r, L, I as M, a as n, R as i, B as p, b as l, T as c, P as d, S as u, c as g, d as B, A as F, e as P, D as A, f as T, g as b, h as C, i as S, j as y, k as I, l as R, m as v, n as H, o as k, p as D, q as f, r as x, s as w, t as G, u as V, v as j, w as E, x as N, y as O, z as q } from "./MUIComponents/index-
|
|
2
|
-
import { M as z, a as U, b as J, c as K, d as Q, e as W, f as X, g as Y, h as Z } from "./M4LRHFComponents/index-
|
|
3
|
-
import { M as _, a as $, b as t, c as m, d as e, e as h, f as aa, g as sa, h as oa, i as ra, j as La, k as Ma, l as na, m as ia, n as pa, o as la, p as ca, q as da, r as ua, s as ga, t as Ba, u as Fa, v as Pa, w as Aa, x as Ta, y as ba, z as Ca, A as Sa, B as ya, C as Ia, D as Ra, E as va, F as Ha, G as ka, H as Da, I as fa, J as xa, K as wa, L as Ga, N as Va, O as ja, P as Ea, Q as Na, R as Oa, S as qa, T as za, U as Ua, V as Ja, W as Ka, X as Qa, Y as Wa, Z as Xa, _ as Ya } from "./M4LExtendedComponents/index-
|
|
1
|
+
import { F as s, C as o, M as r, L, I as M, a as n, R as i, B as p, b as l, T as c, P as d, S as u, c as g, d as B, A as F, e as P, D as A, f as T, g as b, h as C, i as S, j as y, k as I, l as R, m as v, n as H, o as k, p as D, q as f, r as x, s as w, t as G, u as V, v as j, w as E, x as N, y as O, z as q } from "./MUIComponents/index-XoLdmZP6.js";
|
|
2
|
+
import { M as z, a as U, b as J, c as K, d as Q, e as W, f as X, g as Y, h as Z } from "./M4LRHFComponents/index-BRZVeOM5.js";
|
|
3
|
+
import { M as _, a as $, b as t, c as m, d as e, e as h, f as aa, g as sa, h as oa, i as ra, j as La, k as Ma, l as na, m as ia, n as pa, o as la, p as ca, q as da, r as ua, s as ga, t as Ba, u as Fa, v as Pa, w as Aa, x as Ta, y as ba, z as Ca, A as Sa, B as ya, C as Ia, D as Ra, E as va, F as Ha, G as ka, H as Da, I as fa, J as xa, K as wa, L as Ga, N as Va, O as ja, P as Ea, Q as Na, R as Oa, S as qa, T as za, U as Ua, V as Ja, W as Ka, X as Qa, Y as Wa, Z as Xa, _ as Ya } from "./M4LExtendedComponents/index-Cf72RC_D.js";
|
|
4
4
|
function ta(a) {
|
|
5
5
|
return Object.assign(
|
|
6
6
|
s(a),
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { BASE_COLORS } from './baseColors';
|
|
2
|
+
export { BASE_OPACITY_COLORS } from './baseOpacityColors';
|
|
3
|
+
export { COMMON_COLORS } from './commonColors';
|
|
4
|
+
export { GREY_PALETTE } from './greyPalette';
|
|
5
|
+
export { presetsOptions } from './presetColors';
|
|
6
|
+
export * from './palette';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { PresetActionsPalettes, PresetPalettes, PresetsOptions } from '../../types';
|
|
2
|
+
export declare const PRESET_COLORS: PresetPalettes;
|
|
3
|
+
export declare const PRESET_ACTION_COLORS_LIGHT: PresetActionsPalettes;
|
|
4
|
+
export declare const PRESET_ACTION_COLORS_DARK: PresetActionsPalettes;
|
|
5
|
+
export declare const presetsOptions: PresetsOptions;
|