@m4l/styles 0.0.47 → 0.0.48
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/index.js +37 -37
- package/package.json +1 -1
- package/theme/{defaultThemeOptions.656b9eff.js → defaultThemeOptions.348dc196.js} +8 -11
- package/theme/index.34d0fdea.js +1 -0
- package/theme/overrides/M4LExtendedComponents/M4LDynamicFilter.d.ts +8 -3
- package/theme/overrides/M4LExtendedComponents/{index.53575c95.js → index.fbdb0818.js} +112 -112
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.d.ts +37 -0
- package/theme/overrides/M4LRHFComponents/{index.02fada22.js → index.f37c2406.js} +43 -6
- package/theme/overrides/{index.8e0b0233.js → index.155beeb3.js} +2 -2
- package/theme/{typography.ed54f014.js → typography.8878fde5.js} +24 -32
- package/types/augmentations.d.ts +121 -121
- package/types/types.d.ts +24 -24
- package/utils/{getColorState.7b9634af.js → getColorState.6c23eada.js} +2 -7
- package/vite-env.d.ts +3 -3
- package/theme/index.bc975e94.js +0 -7
package/index.js
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { g as
|
|
9
|
-
import {
|
|
10
|
-
import { g as j,
|
|
11
|
-
import "@mui/material/styles";
|
|
12
|
-
import "@mui/material/useMediaQuery";
|
|
13
|
-
import "@mui/system";
|
|
1
|
+
import { g as f, m as x } from "./config.5405b46b.js";
|
|
2
|
+
import { d as g } from "./theme/defaultThemeOptions.348dc196.js";
|
|
3
|
+
import { c as u, s as d } from "./theme/shadows.86540b18.js";
|
|
4
|
+
import { P as S, p as C } from "./theme/palette.0590e8a6.js";
|
|
5
|
+
import { t as R } from "./theme/typography.8878fde5.js";
|
|
6
|
+
import { f as c } from "./theme/overrides/index.155beeb3.js";
|
|
7
|
+
import { u as T } from "./utils/useResponsive.2c45e8e0.js";
|
|
8
|
+
import { g as w } from "./utils/getColorState.6c23eada.js";
|
|
9
|
+
import { e as y, b as F, c as V, d as k, g as q, a as A, t as B } from "./utils/getColorPresets.2a91ffaf.js";
|
|
10
|
+
import { g as N, p as U, a as j, r as D } from "./utils/getFontValue.88831637.js";
|
|
14
11
|
import "@mui/material";
|
|
12
|
+
import "@mui/material/styles";
|
|
15
13
|
import "./theme/overrides/MUIComponents/index.d2b98b86.js";
|
|
16
|
-
import "./theme/overrides/M4LExtendedComponents/index.
|
|
17
|
-
import "
|
|
14
|
+
import "./theme/overrides/M4LExtendedComponents/index.fbdb0818.js";
|
|
15
|
+
import "@mui/system";
|
|
16
|
+
import "./theme/overrides/M4LRHFComponents/index.f37c2406.js";
|
|
17
|
+
import "@mui/material/useMediaQuery";
|
|
18
18
|
export {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
19
|
+
S as PATRONUSCOLORS,
|
|
20
|
+
y as blaze,
|
|
21
|
+
F as brown,
|
|
22
|
+
V as colorPresets,
|
|
23
|
+
u as createCustomShadows,
|
|
24
|
+
k as defaultPreset,
|
|
25
|
+
g as defaultThemeOptions,
|
|
26
|
+
c as fnComponentsOverrides,
|
|
27
|
+
q as getColorPresets,
|
|
28
|
+
w as getColorState,
|
|
29
|
+
N as getFontValue,
|
|
30
|
+
f as globalRemSize,
|
|
31
|
+
A as grass,
|
|
32
|
+
x as muiBreakpointsValues,
|
|
33
|
+
C as palette,
|
|
34
|
+
U as pxToRem,
|
|
35
|
+
j as remToPx,
|
|
36
|
+
D as responsiveFontSizes,
|
|
37
|
+
d as shadows,
|
|
38
|
+
B as turqui,
|
|
39
|
+
R as typography,
|
|
40
|
+
T as useResponsive
|
|
41
41
|
};
|
package/package.json
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "@mui/material/useMediaQuery";
|
|
3
|
-
import { g as r } from "../utils/getColorPresets.2a91ffaf.js";
|
|
4
|
-
import "@mui/system";
|
|
5
|
-
import { t as a } from "./typography.ed54f014.js";
|
|
1
|
+
import { t as a } from "./typography.8878fde5.js";
|
|
6
2
|
import { p as o } from "./palette.0590e8a6.js";
|
|
7
3
|
import { alpha as s } from "@mui/material";
|
|
8
|
-
import { s as
|
|
9
|
-
import { g as
|
|
10
|
-
|
|
4
|
+
import { s as e, c as p } from "./shadows.86540b18.js";
|
|
5
|
+
import { g as r } from "../utils/getColorPresets.2a91ffaf.js";
|
|
6
|
+
import { g as m } from "../utils/getColorState.6c23eada.js";
|
|
7
|
+
const f = {
|
|
11
8
|
typography: a,
|
|
12
9
|
palette: {
|
|
13
10
|
...o.dark,
|
|
@@ -17,14 +14,14 @@ const k = {
|
|
|
17
14
|
},
|
|
18
15
|
shape: { borderRadius: 8 },
|
|
19
16
|
direction: "rtl",
|
|
20
|
-
shadows:
|
|
17
|
+
shadows: e.dark,
|
|
21
18
|
customShadows: {
|
|
22
19
|
primary: `0 8px 16px 0 ${s(r("patronus").main, 0.2)}`,
|
|
23
|
-
...
|
|
20
|
+
...p("dark")
|
|
24
21
|
},
|
|
25
22
|
stretch: !0,
|
|
26
23
|
spacing: (t) => `${0.5 * t}rem`
|
|
27
24
|
};
|
|
28
25
|
export {
|
|
29
|
-
|
|
26
|
+
f as d
|
|
30
27
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -592,6 +592,7 @@ export declare const M4LDynamicFilter: (theme: Theme) => {
|
|
|
592
592
|
[x: string]: string | {
|
|
593
593
|
padding: string;
|
|
594
594
|
minWidth: string;
|
|
595
|
+
maxWidth: string;
|
|
595
596
|
minHeight: string;
|
|
596
597
|
boxShadow: string;
|
|
597
598
|
'& .M4LPopover-arrowStyle': {
|
|
@@ -601,6 +602,7 @@ export declare const M4LDynamicFilter: (theme: Theme) => {
|
|
|
601
602
|
gap: string;
|
|
602
603
|
width: string;
|
|
603
604
|
minWidth: string;
|
|
605
|
+
maxWidth: string;
|
|
604
606
|
height: string;
|
|
605
607
|
'& .M4LDynamicFilter-popoverFilterHeader': {
|
|
606
608
|
background: string;
|
|
@@ -621,7 +623,7 @@ export declare const M4LDynamicFilter: (theme: Theme) => {
|
|
|
621
623
|
};
|
|
622
624
|
'& .M4LDynamicFilter-popoverContainerFields': {
|
|
623
625
|
height: string;
|
|
624
|
-
"& .M4LDynamicFilter-containerStringFilter,\n & .M4LDynamicFilter-containerBooleanFilter,\n & .M4LDynamicFilter-containerNumberFilter,\n & .M4LDynamicFilter-containerDateTimeFilter\n ": {
|
|
626
|
+
"& .M4LDynamicFilter-containerStringFilter,\n & .M4LDynamicFilter-containerBooleanFilter,\n & .M4LDynamicFilter-containerNumberFilter,\n & .M4LDynamicFilter-containerDateTimeFilter,\n & .M4LDynamicFilter-containerSelectFilter\n ": {
|
|
625
627
|
display: string;
|
|
626
628
|
height: string;
|
|
627
629
|
flexDirection: string;
|
|
@@ -655,7 +657,7 @@ export declare const M4LDynamicFilter: (theme: Theme) => {
|
|
|
655
657
|
};
|
|
656
658
|
'& .M4LDynamicFilter-popoverContainerFields': {
|
|
657
659
|
height: string;
|
|
658
|
-
"& .M4LDynamicFilter-containerStringFilter,\n & .M4LDynamicFilter-containerBooleanFilter,\n & .M4LDynamicFilter-containerNumberFilter,\n & .M4LDynamicFilter-containerDateTimeFilter\n ": {
|
|
660
|
+
"& .M4LDynamicFilter-containerStringFilter,\n & .M4LDynamicFilter-containerBooleanFilter,\n & .M4LDynamicFilter-containerNumberFilter,\n & .M4LDynamicFilter-containerDateTimeFilter,\n & .M4LDynamicFilter-containerSelectFilter\n ": {
|
|
659
661
|
display: string;
|
|
660
662
|
height: string;
|
|
661
663
|
flexDirection: string;
|
|
@@ -676,6 +678,7 @@ export declare const M4LDynamicFilter: (theme: Theme) => {
|
|
|
676
678
|
};
|
|
677
679
|
padding?: undefined;
|
|
678
680
|
minWidth?: undefined;
|
|
681
|
+
maxWidth?: undefined;
|
|
679
682
|
minHeight?: undefined;
|
|
680
683
|
boxShadow?: undefined;
|
|
681
684
|
'& .M4LPopover-arrowStyle'?: undefined;
|
|
@@ -685,6 +688,7 @@ export declare const M4LDynamicFilter: (theme: Theme) => {
|
|
|
685
688
|
'& .M4LDynamicFilter-popoverFilterPaper': {
|
|
686
689
|
padding: string;
|
|
687
690
|
minWidth: string;
|
|
691
|
+
maxWidth: string;
|
|
688
692
|
minHeight: string;
|
|
689
693
|
boxShadow: string;
|
|
690
694
|
'& .M4LPopover-arrowStyle': {
|
|
@@ -694,6 +698,7 @@ export declare const M4LDynamicFilter: (theme: Theme) => {
|
|
|
694
698
|
gap: string;
|
|
695
699
|
width: string;
|
|
696
700
|
minWidth: string;
|
|
701
|
+
maxWidth: string;
|
|
697
702
|
height: string;
|
|
698
703
|
'& .M4LDynamicFilter-popoverFilterHeader': {
|
|
699
704
|
background: string;
|
|
@@ -714,7 +719,7 @@ export declare const M4LDynamicFilter: (theme: Theme) => {
|
|
|
714
719
|
};
|
|
715
720
|
'& .M4LDynamicFilter-popoverContainerFields': {
|
|
716
721
|
height: string;
|
|
717
|
-
"& .M4LDynamicFilter-containerStringFilter,\n & .M4LDynamicFilter-containerBooleanFilter,\n & .M4LDynamicFilter-containerNumberFilter,\n & .M4LDynamicFilter-containerDateTimeFilter\n ": {
|
|
722
|
+
"& .M4LDynamicFilter-containerStringFilter,\n & .M4LDynamicFilter-containerBooleanFilter,\n & .M4LDynamicFilter-containerNumberFilter,\n & .M4LDynamicFilter-containerDateTimeFilter,\n & .M4LDynamicFilter-containerSelectFilter\n ": {
|
|
718
723
|
display: string;
|
|
719
724
|
height: string;
|
|
720
725
|
flexDirection: string;
|