@m4l/styles 3.2.3 → 6.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.d.ts +1 -1
- package/index.js +20 -20
- package/package.json +1 -1
- package/theme/index-BZonCMpk.js +196 -0
- package/theme/index.d.ts +2 -1
- package/theme/ourTheme.d.ts +2 -0
- package/theme/overrides/M4LExtendedComponents/{index-C4PXddLa.js → index-BO_x8lkT.js} +256 -255
- package/theme/overrides/M4LRHFComponents/{index-BRZVeOM5.js → index-Dv4h8DSV.js} +34 -34
- package/theme/overrides/MUIComponents/Avatar.d.ts +1 -1
- package/theme/overrides/MUIComponents/Input.d.ts +1 -1
- package/theme/overrides/MUIComponents/Progress.d.ts +1 -1
- package/theme/overrides/MUIComponents/ToggleButton.d.ts +2 -2
- package/theme/overrides/MUIComponents/{index-XoLdmZP6.js → index-DrBJTI1s.js} +61 -62
- package/theme/overrides/{index-B9xZa27y.js → index-DLjfQaz-.js} +9 -9
- package/theme/palette/baseOpacityColors.d.ts +3 -0
- package/theme/palette/defaultColors.d.ts +14 -0
- package/theme/palette/index.d.ts +0 -1
- package/theme/palette/presetColors.d.ts +18 -4
- package/theme/palette/semanticColors.d.ts +16 -0
- package/theme/palette-voCQl3kP.js +792 -0
- package/theme/{shadows-GTYqExFA.js → shadows-Cek_1mpN.js} +1 -1
- package/theme/sizes/baseBorderRadius.d.ts +6 -0
- package/theme/sizes/baseSizes.d.ts +5 -0
- package/theme/sizes/index.d.ts +1 -0
- package/theme/sizes/pointerQr.d.ts +21 -0
- package/theme/sizes/size.d.ts +2 -0
- package/theme/sizes/types.d.ts +73 -0
- package/types/augmentations.d.ts +159 -155
- package/types/types.d.ts +70 -33
- package/utils/{getColorPresets-CXZaM9oS.js → getColorPresets-DgmrCj5l.js} +1 -1
- package/utils/getColorPresets.d.ts +4 -4
- package/utils/getColorState.d.ts +2 -2
- package/utils/getPaletteByPreset.d.ts +127 -0
- package/utils/index.d.ts +1 -0
- package/vite-env.d.ts +3 -3
- package/theme/defaultThemeOptions-BlJvKCE6.js +0 -24
- package/theme/defaultThemeOptions.d.ts +0 -1
- package/theme/index-l0sNRNKZ.js +0 -1
- package/theme/palette/palette.d.ts +0 -6
- package/theme/palette/stateColors.d.ts +0 -2
- package/theme/palette-DM0gXxA2.js +0 -584
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { alpha as
|
|
1
|
+
import { alpha as i } 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]
|
|
@@ -20,7 +20,7 @@ function d(r) {
|
|
|
20
20
|
"&:first-of-type": {
|
|
21
21
|
fontSize: 14,
|
|
22
22
|
color: r.vars.palette.primary.main,
|
|
23
|
-
backgroundColor: r.vars.palette.primary.
|
|
23
|
+
backgroundColor: r.vars.palette.primary.light
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -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.default}`,
|
|
79
79
|
"&:hover": {
|
|
80
80
|
backgroundColor: r.vars.palette.action.hover,
|
|
81
81
|
borderRadius: "4px"
|
|
@@ -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.surface,
|
|
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.surface} 0%, ${r.vars.palette.background.surface} 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 f(r) {
|
|
346
346
|
return {
|
|
347
347
|
MuiBadge: {
|
|
348
348
|
styleOverrides: {
|
|
@@ -357,7 +357,7 @@ function M(r) {
|
|
|
357
357
|
}
|
|
358
358
|
};
|
|
359
359
|
}
|
|
360
|
-
function
|
|
360
|
+
function M(r) {
|
|
361
361
|
return {
|
|
362
362
|
MuiPaper: {
|
|
363
363
|
defaultProps: {
|
|
@@ -366,7 +366,7 @@ function f(r) {
|
|
|
366
366
|
variants: [
|
|
367
367
|
{
|
|
368
368
|
props: { variant: "outlined" },
|
|
369
|
-
style: { borderColor: r.vars.palette
|
|
369
|
+
style: { borderColor: r.vars.palette?.border.default }
|
|
370
370
|
}
|
|
371
371
|
],
|
|
372
372
|
styleOverrides: {
|
|
@@ -384,18 +384,18 @@ function f(r) {
|
|
|
384
384
|
"& .MuiStack-root .MuiMenuItem-root:hover": {
|
|
385
385
|
color: r.vars.palette.primary?.hover,
|
|
386
386
|
transition: "all .5s",
|
|
387
|
-
backgroundColor: r.vars.palette.primary
|
|
387
|
+
backgroundColor: r.vars.palette.primary.opacity
|
|
388
388
|
},
|
|
389
389
|
"& .MuiStack-root .MuiMenuItem-root.Mui-selected": {
|
|
390
|
-
color: r.vars.palette.primary
|
|
390
|
+
color: r.vars.palette.primary.focusActive,
|
|
391
391
|
transition: "all .5s",
|
|
392
|
-
backgroundColor: r.vars.palette.primary
|
|
392
|
+
backgroundColor: r.vars.palette.primary.opacity
|
|
393
393
|
},
|
|
394
394
|
"& .MuiStack-root .MuiMenuItem-root:focus": {
|
|
395
|
-
color: r.vars.palette.primary
|
|
395
|
+
color: r.vars.palette.primary.focusActive,
|
|
396
396
|
transition: "all .5s",
|
|
397
397
|
backgroundColor: r.vars.palette.background.default,
|
|
398
|
-
boxShadow: `0 0 0 1px ${r.vars.palette.primary
|
|
398
|
+
boxShadow: `0 0 0 1px ${r.vars.palette.primary.focusActive}`
|
|
399
399
|
},
|
|
400
400
|
/* Autocomplete Listbox */
|
|
401
401
|
"& .MuiAutocomplete-listbox .MuiAutocomplete-option": {
|
|
@@ -407,18 +407,18 @@ function f(r) {
|
|
|
407
407
|
"& .MuiAutocomplete-listbox .MuiAutocomplete-option:hover": {
|
|
408
408
|
color: r.vars.palette.primary?.hover,
|
|
409
409
|
transition: "all .5s",
|
|
410
|
-
backgroundColor: r.vars.palette.primary
|
|
410
|
+
backgroundColor: r.vars.palette.primary.opacity
|
|
411
411
|
},
|
|
412
412
|
"& .MuiAutocomplete-listbox .MuiAutocomplete-option.Mui-selected": {
|
|
413
|
-
color: r.vars.palette.primary
|
|
413
|
+
color: r.vars.palette.primary.focusActive,
|
|
414
414
|
transition: "all .5s",
|
|
415
|
-
backgroundColor: r.vars.palette.primary
|
|
415
|
+
backgroundColor: r.vars.palette.primary.opacity
|
|
416
416
|
},
|
|
417
417
|
"& .MuiAutocomplete-listbox .MuiAutocomplete-option:active": {
|
|
418
|
-
color: r.vars.palette.primary
|
|
418
|
+
color: r.vars.palette.primary.focusActive,
|
|
419
419
|
transition: "all .5s",
|
|
420
420
|
backgroundColor: r.vars.palette.background.default,
|
|
421
|
-
boxShadow: `0 0 0 1px ${r.vars.palette.primary
|
|
421
|
+
boxShadow: `0 0 0 1px ${r.vars.palette.primary.focusActive}`
|
|
422
422
|
}
|
|
423
423
|
}
|
|
424
424
|
}
|
|
@@ -442,7 +442,7 @@ function h(r) {
|
|
|
442
442
|
styleOverrides: {
|
|
443
443
|
root: {
|
|
444
444
|
height: "auto",
|
|
445
|
-
backgroundColor: r.vars.palette.background
|
|
445
|
+
backgroundColor: r.vars.palette.background?.default,
|
|
446
446
|
...r.colorSchemes.finalTheme.typography.body2,
|
|
447
447
|
borderRadius: "2px",
|
|
448
448
|
padding: "4px",
|
|
@@ -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?.default
|
|
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?.default,
|
|
477
477
|
"&:hover": {
|
|
478
|
-
backgroundColor: r.vars.palette
|
|
478
|
+
backgroundColor: r.vars.palette?.border?.default
|
|
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?.default
|
|
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?.default,
|
|
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 S(r) {
|
|
557
557
|
const o = r.colorSchemes.finalTheme.palette.mode === "light";
|
|
558
558
|
return {
|
|
559
559
|
MuiDrawer: {
|
|
@@ -562,13 +562,13 @@ function m(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.surface,
|
|
566
566
|
display: "flex",
|
|
567
567
|
flexDirection: "row"
|
|
568
568
|
}
|
|
569
569
|
/* "& .MuiPaper-root": {
|
|
570
570
|
borderRadius: "4px",
|
|
571
|
-
backgroundColor: theme.vars.palette.primary.
|
|
571
|
+
backgroundColor: theme.vars.palette.primary.primaryOpacity,
|
|
572
572
|
padding: "8px",
|
|
573
573
|
}, */
|
|
574
574
|
}
|
|
@@ -576,13 +576,13 @@ function m(r) {
|
|
|
576
576
|
modal: {
|
|
577
577
|
'&[role="presentation"]': {
|
|
578
578
|
"& .MuiDrawer-paperAnchorLeft": {
|
|
579
|
-
boxShadow: `8px 24px 24px 12px ${
|
|
579
|
+
boxShadow: `8px 24px 24px 12px ${i(
|
|
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 ${i(
|
|
586
586
|
r.colorSchemes.finalTheme.palette.grey[900],
|
|
587
587
|
o ? 0.16 : 0.48
|
|
588
588
|
)}`
|
|
@@ -593,7 +593,7 @@ function m(r) {
|
|
|
593
593
|
}
|
|
594
594
|
};
|
|
595
595
|
}
|
|
596
|
-
function
|
|
596
|
+
function m(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 T(r) {
|
|
670
670
|
const o = r.colorSchemes.finalTheme.palette.mode === "light";
|
|
671
671
|
return {
|
|
672
672
|
MuiTooltip: {
|
|
@@ -681,7 +681,7 @@ function O(r) {
|
|
|
681
681
|
}
|
|
682
682
|
};
|
|
683
683
|
}
|
|
684
|
-
function
|
|
684
|
+
function O(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.surface,
|
|
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.surface
|
|
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), t = 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%, ${t} 100%)`,
|
|
824
|
+
`-webkit-linear-gradient(75deg, ${o} 0%, ${t} 100%)`,
|
|
825
|
+
`linear-gradient(75deg, ${o} 0%, ${t} 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 A(r) {
|
|
836
836
|
const o = r.colorSchemes.finalTheme.palette.mode === "light";
|
|
837
837
|
return {
|
|
838
838
|
MuiLinearProgress: {
|
|
@@ -845,7 +845,7 @@ function P(r) {
|
|
|
845
845
|
borderRadius: 4
|
|
846
846
|
},
|
|
847
847
|
colorPrimary: {
|
|
848
|
-
backgroundColor: r.vars.palette.primary[o ? "
|
|
848
|
+
backgroundColor: r.vars.palette.primary[o ? "light" : "dark"]
|
|
849
849
|
},
|
|
850
850
|
buffer: {
|
|
851
851
|
backgroundColor: "transparent"
|
|
@@ -854,7 +854,7 @@ function P(r) {
|
|
|
854
854
|
}
|
|
855
855
|
};
|
|
856
856
|
}
|
|
857
|
-
function
|
|
857
|
+
function P(r) {
|
|
858
858
|
return {
|
|
859
859
|
MuiTimelineDot: {
|
|
860
860
|
styleOverrides: {
|
|
@@ -872,7 +872,7 @@ function z(r) {
|
|
|
872
872
|
}
|
|
873
873
|
};
|
|
874
874
|
}
|
|
875
|
-
function
|
|
875
|
+
function z(r) {
|
|
876
876
|
return {
|
|
877
877
|
MuiCheckbox: {
|
|
878
878
|
// defaultProps: {
|
|
@@ -952,7 +952,7 @@ function $(r) {
|
|
|
952
952
|
borderRadius: r.spacing(0.5),
|
|
953
953
|
height: r.spacing(4.5),
|
|
954
954
|
minHeight: r.spacing(4.5),
|
|
955
|
-
backgroundColor: r.vars.palette.
|
|
955
|
+
backgroundColor: r.vars.palette.primary.opacity,
|
|
956
956
|
paddingLeft: r.spacing(2),
|
|
957
957
|
paddingRight: r.spacing(2),
|
|
958
958
|
marginBottom: "0px",
|
|
@@ -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.default}`
|
|
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 = (t) => ({
|
|
1064
|
+
props: { variant: "contained", color: t },
|
|
1065
1065
|
style: { boxShadow: r.customShadows?.primary }
|
|
1066
1066
|
});
|
|
1067
1067
|
return {
|
|
@@ -1207,7 +1207,6 @@ function j(r) {
|
|
|
1207
1207
|
}
|
|
1208
1208
|
},
|
|
1209
1209
|
e(r, "primary"),
|
|
1210
|
-
e(r, "secondary"),
|
|
1211
1210
|
e(r, "info"),
|
|
1212
1211
|
e(r, "success"),
|
|
1213
1212
|
e(r, "warning"),
|
|
@@ -1219,7 +1218,7 @@ function j(r) {
|
|
|
1219
1218
|
root: {
|
|
1220
1219
|
borderRadius: r.shape.borderRadius,
|
|
1221
1220
|
backgroundColor: r.vars.palette.background.paper,
|
|
1222
|
-
border: `solid 1px ${r.vars.palette
|
|
1221
|
+
border: `solid 1px ${r.vars.palette?.border.default}`,
|
|
1223
1222
|
"& .MuiToggleButton-root": {
|
|
1224
1223
|
margin: 4,
|
|
1225
1224
|
borderColor: "transparent !important",
|
|
@@ -1286,32 +1285,32 @@ const q = (r) => ({
|
|
|
1286
1285
|
});
|
|
1287
1286
|
export {
|
|
1288
1287
|
d as A,
|
|
1289
|
-
|
|
1288
|
+
f as B,
|
|
1290
1289
|
c as C,
|
|
1291
|
-
|
|
1290
|
+
S as D,
|
|
1292
1291
|
u as F,
|
|
1293
|
-
|
|
1292
|
+
x as I,
|
|
1294
1293
|
b as L,
|
|
1295
1294
|
g as M,
|
|
1296
|
-
|
|
1295
|
+
M as P,
|
|
1297
1296
|
k as R,
|
|
1298
1297
|
C as S,
|
|
1299
1298
|
y as T,
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1299
|
+
v as a,
|
|
1300
|
+
l as b,
|
|
1301
|
+
h as c,
|
|
1303
1302
|
p as d,
|
|
1304
|
-
|
|
1303
|
+
m as e,
|
|
1305
1304
|
R as f,
|
|
1306
|
-
|
|
1307
|
-
|
|
1305
|
+
T as g,
|
|
1306
|
+
O as h,
|
|
1308
1307
|
w as i,
|
|
1309
|
-
|
|
1308
|
+
z as j,
|
|
1310
1309
|
B as k,
|
|
1311
1310
|
I as l,
|
|
1312
|
-
|
|
1311
|
+
P as m,
|
|
1313
1312
|
L as n,
|
|
1314
|
-
|
|
1313
|
+
A as o,
|
|
1315
1314
|
$ as p,
|
|
1316
1315
|
D as q,
|
|
1317
1316
|
G as r,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { F as s, C as o, M as r, L,
|
|
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
|
|
1
|
+
import { F as s, C as o, M as r, L, c as M, I as i, R as n, B as p, a as l, T as c, P as d, S as u, b 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 R, l as v, m as H, n as I, 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-DrBJTI1s.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-Dv4h8DSV.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 ia, m as na, 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 Ra, D as va, E as Ha, F as Ia, 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-BO_x8lkT.js";
|
|
4
4
|
function ta(a) {
|
|
5
5
|
return Object.assign(
|
|
6
6
|
s(a),
|
|
@@ -9,8 +9,8 @@ function ta(a) {
|
|
|
9
9
|
r(a),
|
|
10
10
|
L(a),
|
|
11
11
|
M(a),
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
i(),
|
|
13
|
+
n(a),
|
|
14
14
|
p(),
|
|
15
15
|
l(a),
|
|
16
16
|
c(a),
|
|
@@ -29,11 +29,11 @@ function ta(a) {
|
|
|
29
29
|
C(),
|
|
30
30
|
S(),
|
|
31
31
|
y(a),
|
|
32
|
-
I(a),
|
|
33
32
|
R(a),
|
|
34
33
|
v(a),
|
|
35
|
-
// TreeView(theme),
|
|
36
34
|
H(a),
|
|
35
|
+
// TreeView(theme),
|
|
36
|
+
I(a),
|
|
37
37
|
k(a),
|
|
38
38
|
D(a),
|
|
39
39
|
f(a),
|
|
@@ -67,8 +67,8 @@ function ta(a) {
|
|
|
67
67
|
Y(a),
|
|
68
68
|
La(a),
|
|
69
69
|
Ma(a),
|
|
70
|
-
na(a),
|
|
71
70
|
ia(a),
|
|
71
|
+
na(a),
|
|
72
72
|
pa(a),
|
|
73
73
|
la(a),
|
|
74
74
|
ca(a),
|
|
@@ -84,10 +84,10 @@ function ta(a) {
|
|
|
84
84
|
Ca(a),
|
|
85
85
|
Sa(a),
|
|
86
86
|
ya(a),
|
|
87
|
-
Ia(a),
|
|
88
87
|
Ra(a),
|
|
89
88
|
va(a),
|
|
90
89
|
Ha(a),
|
|
90
|
+
Ia(a),
|
|
91
91
|
ka(a),
|
|
92
92
|
Da(),
|
|
93
93
|
fa(a),
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PaletteColor } from "@mui/material/styles";
|
|
2
|
+
import { DefaultPresetColor } from "../../types";
|
|
3
|
+
/**
|
|
4
|
+
* Opción de paleta default, se usa para construir la opcion de variable semántica default
|
|
5
|
+
*/
|
|
6
|
+
export declare const PRESET_DEFAULT: DefaultPresetColor;
|
|
7
|
+
/**
|
|
8
|
+
* Opción de paleta default en modo light, se usa para colorear componentes con la variante semántica de tipo default
|
|
9
|
+
*/
|
|
10
|
+
export declare const DEFAULT_COLOR_LIGHT: Omit<PaletteColor, 'focusVisible' | 'contrastText'>;
|
|
11
|
+
/**
|
|
12
|
+
* Opción de paleta default en modo dark, se usa para colorear componentes con la variante semántica de tipo default
|
|
13
|
+
*/
|
|
14
|
+
export declare const DEFAULT_COLOR_DARK: Omit<PaletteColor, 'focusVisible' | 'contrastText'>;
|
package/theme/palette/index.d.ts
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { ThemePaletteColors, ThemePaletteColors as OursColorPalette, ThemePresetColors, PresetsOptions } from '../../types';
|
|
2
|
+
/**
|
|
3
|
+
* Conjunto de paletas de colores usados para construir el tema seleccionado por el usario en la aplación.
|
|
4
|
+
* Sus opciones pueden ser patronus, turqui, grass, brown y blaze.
|
|
5
|
+
*/
|
|
6
|
+
export declare const PRESET_COLORS: ThemePresetColors;
|
|
7
|
+
/**
|
|
8
|
+
* Colección de temas de color en modo light, se usan para aportar el color en los componentes de la apliación web.
|
|
9
|
+
* Se tiene en cuanta cuando la variable semántica aplicada al componente es de tipo primary.
|
|
10
|
+
* Sus opciones pueden ser patronus, turqui, grass, brown y blaze.
|
|
11
|
+
*/
|
|
12
|
+
export declare const PRIMARY_COLORS_LIGHT: ThemePaletteColors;
|
|
13
|
+
/**
|
|
14
|
+
* Colección de temas de color en modo dark, se usan para aportar el color en los componentes de la apliación web.
|
|
15
|
+
* Se tiene en cuanta cuando la variable semántica aplicada al componente es de tipo primary.
|
|
16
|
+
* Sus opciones pueden ser patronus, turqui, grass, brown y blaze.
|
|
17
|
+
*/
|
|
18
|
+
export declare const PRIMARY_COLORS_DARK: OursColorPalette;
|
|
5
19
|
export declare const presetsOptions: PresetsOptions;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { SemanticPresetColors, SemanticsPaletteColors } from '../../types';
|
|
2
|
+
/**
|
|
3
|
+
* Paleta semántica predefinida, se usa para construir las opciones de variable semántica.
|
|
4
|
+
* Puden ser de tipo success, error, warning, info
|
|
5
|
+
*/
|
|
6
|
+
export declare const PRESET_SEMANTICS_COLORS: SemanticPresetColors;
|
|
7
|
+
/**
|
|
8
|
+
* Opciones de paleta semántica en modo light, se usan para aportar el color en los componentes de la apliación web.
|
|
9
|
+
* Se tiene en cuanta cuando la variable semántica aplicada al componente es de tipo warning, error, success o info.
|
|
10
|
+
*/
|
|
11
|
+
export declare const SEMANTIC_COLORS_LIGHT: SemanticsPaletteColors;
|
|
12
|
+
/**
|
|
13
|
+
* Opciones de paleta semántica en modo dark, se usan para aportar el color en los componentes de la apliación web.
|
|
14
|
+
* Se tiene en cuanta cuando la variable semántica aplicada al componente es de tipo warning, error, success o info.
|
|
15
|
+
*/
|
|
16
|
+
export declare const SEMANTIC_COLORS_DARK: SemanticsPaletteColors;
|