@zidsa/zidmui 2.1.6 → 2.1.7
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/dist/react/cjs/theme/components/app-bar.js +153 -0
- package/dist/react/cjs/theme/components/app-bar.js.map +1 -0
- package/dist/react/cjs/theme/components/autocomplete.js +14 -0
- package/dist/react/cjs/theme/components/autocomplete.js.map +1 -0
- package/dist/react/cjs/theme/components/card.js +31 -0
- package/dist/react/cjs/theme/components/card.js.map +1 -0
- package/dist/react/cjs/theme/components/drawer.js +37 -0
- package/dist/react/cjs/theme/components/drawer.js.map +1 -0
- package/dist/react/cjs/theme/components/form-control-label.js +14 -0
- package/dist/react/cjs/theme/components/form-control-label.js.map +1 -0
- package/dist/react/cjs/theme/components/form-helper-text.js +46 -0
- package/dist/react/cjs/theme/components/form-helper-text.js.map +1 -0
- package/dist/react/cjs/theme/components/form-label.js +31 -0
- package/dist/react/cjs/theme/components/form-label.js.map +1 -0
- package/dist/react/cjs/theme/components/icon.js +77 -0
- package/dist/react/cjs/theme/components/icon.js.map +1 -0
- package/dist/react/cjs/theme/components/menu.js +26 -0
- package/dist/react/cjs/theme/components/menu.js.map +1 -0
- package/dist/react/cjs/theme/components/paper.js +11 -0
- package/dist/react/cjs/theme/components/paper.js.map +1 -0
- package/dist/react/cjs/theme/components/select.js +32 -0
- package/dist/react/cjs/theme/components/select.js.map +1 -0
- package/dist/react/cjs/theme/components/switch.js +1 -0
- package/dist/react/cjs/theme/components/switch.js.map +1 -1
- package/dist/react/cjs/theme/components/table.js +45 -0
- package/dist/react/cjs/theme/components/table.js.map +1 -0
- package/dist/react/cjs/theme/components.js +27 -1
- package/dist/react/cjs/theme/components.js.map +1 -1
- package/dist/react/es/theme/components/app-bar.js +153 -0
- package/dist/react/es/theme/components/app-bar.js.map +1 -0
- package/dist/react/es/theme/components/autocomplete.js +14 -0
- package/dist/react/es/theme/components/autocomplete.js.map +1 -0
- package/dist/react/es/theme/components/card.js +31 -0
- package/dist/react/es/theme/components/card.js.map +1 -0
- package/dist/react/es/theme/components/drawer.js +37 -0
- package/dist/react/es/theme/components/drawer.js.map +1 -0
- package/dist/react/es/theme/components/form-control-label.js +14 -0
- package/dist/react/es/theme/components/form-control-label.js.map +1 -0
- package/dist/react/es/theme/components/form-helper-text.js +46 -0
- package/dist/react/es/theme/components/form-helper-text.js.map +1 -0
- package/dist/react/es/theme/components/form-label.js +31 -0
- package/dist/react/es/theme/components/form-label.js.map +1 -0
- package/dist/react/es/theme/components/icon.js +77 -0
- package/dist/react/es/theme/components/icon.js.map +1 -0
- package/dist/react/es/theme/components/menu.js +26 -0
- package/dist/react/es/theme/components/menu.js.map +1 -0
- package/dist/react/es/theme/components/paper.js +11 -0
- package/dist/react/es/theme/components/paper.js.map +1 -0
- package/dist/react/es/theme/components/select.js +32 -0
- package/dist/react/es/theme/components/select.js.map +1 -0
- package/dist/react/es/theme/components/switch.js +1 -0
- package/dist/react/es/theme/components/switch.js.map +1 -1
- package/dist/react/es/theme/components/table.js +45 -0
- package/dist/react/es/theme/components/table.js.map +1 -0
- package/dist/react/es/theme/components.js +27 -1
- package/dist/react/es/theme/components.js.map +1 -1
- package/dist/react/types/theme/components/app-bar.d.ts +2 -0
- package/dist/react/types/theme/components/autocomplete.d.ts +2 -0
- package/dist/react/types/theme/components/card.d.ts +2 -0
- package/dist/react/types/theme/components/drawer.d.ts +2 -0
- package/dist/react/types/theme/components/form-control-label.d.ts +2 -0
- package/dist/react/types/theme/components/form-helper-text.d.ts +2 -0
- package/dist/react/types/theme/components/form-label.d.ts +2 -0
- package/dist/react/types/theme/components/icon.d.ts +2 -0
- package/dist/react/types/theme/components/menu.d.ts +3 -0
- package/dist/react/types/theme/components/paper.d.ts +2 -0
- package/dist/react/types/theme/components/select.d.ts +2 -0
- package/dist/react/types/theme/components/table.d.ts +3 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const palette = require("../palette.js");
|
|
4
|
+
const shadows = require("../shadows.js");
|
|
5
|
+
const MuiAppBar = {
|
|
6
|
+
styleOverrides: {
|
|
7
|
+
root: ({ theme }) => ({
|
|
8
|
+
boxShadow: shadows.shadows?.[4],
|
|
9
|
+
input: {
|
|
10
|
+
fontSize: 14,
|
|
11
|
+
"&:-webkit-autofill": {
|
|
12
|
+
transitionDelay: "9999s !important"
|
|
13
|
+
},
|
|
14
|
+
"&::-webkit-input-placeholder": {
|
|
15
|
+
opacity: 1,
|
|
16
|
+
color: theme.palette.text.secondary
|
|
17
|
+
},
|
|
18
|
+
"&::-moz-placeholder": {
|
|
19
|
+
opacity: 1,
|
|
20
|
+
color: theme.palette.text.secondary
|
|
21
|
+
},
|
|
22
|
+
"&:-ms-input-placeholder": {
|
|
23
|
+
opacity: 1,
|
|
24
|
+
color: theme.palette.text.secondary
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"& form": {
|
|
28
|
+
margin: 0,
|
|
29
|
+
maxWidth: 564,
|
|
30
|
+
width: "100%",
|
|
31
|
+
"& .MuiFormControl-root": {
|
|
32
|
+
marginTop: 0
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
//
|
|
36
|
+
variants: [
|
|
37
|
+
{
|
|
38
|
+
props: { color: "primary" },
|
|
39
|
+
style: ({ theme: theme2 }) => ({
|
|
40
|
+
"& .MuiButtonBase-root.menuIcon > .MuiSvgIcon-root, .MuiButtonBase-root.searchIcon > .MuiSvgIcon-root": {
|
|
41
|
+
color: theme2.palette.common.white_states.main
|
|
42
|
+
},
|
|
43
|
+
input: {
|
|
44
|
+
color: theme2.palette.primary.contrastText,
|
|
45
|
+
"&::-webkit-input-placeholder": {
|
|
46
|
+
opacity: 1,
|
|
47
|
+
color: theme2.palette.primary.contrastText
|
|
48
|
+
},
|
|
49
|
+
"&::-moz-placeholder": {
|
|
50
|
+
opacity: 1,
|
|
51
|
+
color: theme2.palette.primary.contrastText
|
|
52
|
+
},
|
|
53
|
+
"&:-ms-input-placeholder": {
|
|
54
|
+
opacity: 1,
|
|
55
|
+
color: theme2.palette.primary.contrastText
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"& .MuiTextField-root": {
|
|
59
|
+
"& .MuiOutlinedInput-root": {
|
|
60
|
+
"& fieldset": {
|
|
61
|
+
border: "none",
|
|
62
|
+
background: theme2.palette.common.white_states.focusVisible
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
})
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
props: { color: "default" },
|
|
70
|
+
style: ({ theme: theme2 }) => ({
|
|
71
|
+
"& .MuiTextField-root": {
|
|
72
|
+
"& .MuiOutlinedInput-root": {
|
|
73
|
+
"& fieldset": {
|
|
74
|
+
border: "none",
|
|
75
|
+
background: theme2.palette.common.black_states.selected
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
})
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
props: { color: "secondary" },
|
|
83
|
+
style: ({ theme: theme2 }) => ({
|
|
84
|
+
"& .MuiButtonBase-root.menuIcon > .MuiSvgIcon-root, .MuiButtonBase-root.searchIcon > .MuiSvgIcon-root": {
|
|
85
|
+
color: theme2.palette.common.white_states.main
|
|
86
|
+
},
|
|
87
|
+
input: {
|
|
88
|
+
opacity: 1,
|
|
89
|
+
color: theme2.palette.primary.contrastText,
|
|
90
|
+
"&::-webkit-input-placeholder": {
|
|
91
|
+
opacity: 1,
|
|
92
|
+
color: theme2.palette.primary.contrastText
|
|
93
|
+
},
|
|
94
|
+
"&::-moz-placeholder, &:-ms-input-placeholder": {
|
|
95
|
+
opacity: 1,
|
|
96
|
+
color: theme2.palette.primary.contrastText
|
|
97
|
+
},
|
|
98
|
+
"&:-ms-input-placeholder": {
|
|
99
|
+
opacity: 1,
|
|
100
|
+
color: theme2.palette.primary.contrastText
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"& .MuiTextField-root": {
|
|
104
|
+
"& .MuiOutlinedInput-root": {
|
|
105
|
+
"& fieldset": {
|
|
106
|
+
border: "none",
|
|
107
|
+
background: theme2.palette.common.white_states.focus
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
})
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
props: { color: "inherit" },
|
|
115
|
+
style: ({ theme: theme2 }) => ({
|
|
116
|
+
"& .MuiTextField-root": {
|
|
117
|
+
"& .MuiOutlinedInput-root": {
|
|
118
|
+
"& fieldset": {
|
|
119
|
+
border: "none",
|
|
120
|
+
background: theme2.palette.common.black_states.hover
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
})
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
props: { color: "transparent" },
|
|
128
|
+
style: ({ theme: theme2 }) => ({
|
|
129
|
+
backgroundColor: palette.palette?.background?.default,
|
|
130
|
+
boxShadow: shadows.shadows?.[0],
|
|
131
|
+
borderBottom: `1px solid ${theme2.palette?.outlined?.outlined_2}`,
|
|
132
|
+
"& .MuiTextField-root": {
|
|
133
|
+
"& .MuiOutlinedInput-root": {
|
|
134
|
+
"& fieldset": {
|
|
135
|
+
borderColor: theme2.palette?.outlined?.outlined,
|
|
136
|
+
background: theme2.palette?.common?.black_states?.hover
|
|
137
|
+
},
|
|
138
|
+
"&.Mui-focused fieldset": {
|
|
139
|
+
borderColor: theme2.palette.primary.main
|
|
140
|
+
},
|
|
141
|
+
"&:active fieldset": {
|
|
142
|
+
borderColor: theme2.palette.primary.main
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
})
|
|
147
|
+
}
|
|
148
|
+
]
|
|
149
|
+
})
|
|
150
|
+
}
|
|
151
|
+
};
|
|
152
|
+
exports.MuiAppBar = MuiAppBar;
|
|
153
|
+
//# sourceMappingURL=app-bar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-bar.js","sources":["../../../../../src/theme/components/app-bar.ts"],"sourcesContent":["import { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\nimport { palette } from '../palette';\nimport { shadows } from '../shadows';\n\n//\n//\n\nexport const MuiAppBar: Components<Theme & CssVarsTheme>['MuiAppBar'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n boxShadow: shadows?.[4],\n input: {\n fontSize: 14,\n '&:-webkit-autofill': {\n transitionDelay: '9999s !important',\n },\n '&::-webkit-input-placeholder': {\n opacity: 1,\n color: theme.palette.text.secondary,\n },\n '&::-moz-placeholder': {\n opacity: 1,\n color: theme.palette.text.secondary,\n },\n '&:-ms-input-placeholder': {\n opacity: 1,\n color: theme.palette.text.secondary,\n },\n },\n '& form': {\n margin: 0,\n maxWidth: 564,\n width: '100%',\n '& .MuiFormControl-root': {\n marginTop: 0,\n },\n },\n //\n variants: [\n {\n props: { color: 'primary' },\n style: ({ theme }) => ({\n '& .MuiButtonBase-root.menuIcon > .MuiSvgIcon-root, .MuiButtonBase-root.searchIcon > .MuiSvgIcon-root':\n {\n color: theme.palette.common.white_states.main,\n },\n input: {\n color: theme.palette.primary.contrastText,\n '&::-webkit-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n '&::-moz-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n '&:-ms-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n },\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n border: 'none',\n background: theme.palette.common.white_states.focusVisible,\n },\n },\n },\n }),\n },\n {\n props: { color: 'default' },\n style: ({ theme }) => ({\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n border: 'none',\n background: theme.palette.common.black_states.selected,\n },\n },\n },\n }),\n },\n {\n props: { color: 'secondary' },\n style: ({ theme }) => ({\n '& .MuiButtonBase-root.menuIcon > .MuiSvgIcon-root, .MuiButtonBase-root.searchIcon > .MuiSvgIcon-root':\n {\n color: theme.palette.common.white_states.main,\n },\n input: {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n '&::-webkit-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n '&::-moz-placeholder, &:-ms-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n '&:-ms-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n },\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n border: 'none',\n background: theme.palette.common.white_states.focus,\n },\n },\n },\n }),\n },\n {\n props: { color: 'inherit' },\n style: ({ theme }) => ({\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n border: 'none',\n background: theme.palette.common.black_states.hover,\n },\n },\n },\n }),\n },\n {\n props: { color: 'transparent' },\n style: ({ theme }) => ({\n backgroundColor: palette?.background?.default,\n boxShadow: shadows?.[0],\n borderBottom: `1px solid ${theme.palette?.outlined?.outlined_2}`,\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n borderColor: theme.palette?.outlined?.outlined,\n background: theme.palette?.common?.black_states?.hover,\n },\n '&.Mui-focused fieldset': {\n borderColor: theme.palette.primary.main,\n },\n '&:active fieldset': {\n borderColor: theme.palette.primary.main,\n },\n },\n },\n }),\n },\n ],\n }),\n },\n};\n"],"names":["shadows","theme","palette"],"mappings":";;;;AAQO,MAAM,YAA2D;AAAA,EACtE,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,WAAWA,QAAAA,UAAU,CAAC;AAAA,MACtB,OAAO;AAAA,QACL,UAAU;AAAA,QACV,sBAAsB;AAAA,UACpB,iBAAiB;AAAA,QAAA;AAAA,QAEnB,gCAAgC;AAAA,UAC9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BAAiBC,QAAAA,SAAS,YAAY;AAAA,YACtC,WAAWF,QAAAA,UAAU,CAAC;AAAA,YACtB,cAAc,aAAaC,OAAM,SAAS,UAAU,UAAU;AAAA,YAC9D,wBAAwB;AAAA,cACtB,4BAA4B;AAAA,gBAC1B,cAAc;AAAA,kBACZ,aAAaA,OAAM,SAAS,UAAU;AAAA,kBACtC,YAAYA,OAAM,SAAS,QAAQ,cAAc;AAAA,gBAAA;AAAA,gBAEnD,0BAA0B;AAAA,kBACxB,aAAaA,OAAM,QAAQ,QAAQ;AAAA,gBAAA;AAAA,gBAErC,qBAAqB;AAAA,kBACnB,aAAaA,OAAM,QAAQ,QAAQ;AAAA,gBAAA;AAAA,cACrC;AAAA,YACF;AAAA,UACF;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAEJ;;"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const MuiAutocomplete = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: () => ({
|
|
6
|
+
"& .MuiOutlinedInput-root": {
|
|
7
|
+
paddingTop: 0,
|
|
8
|
+
paddingBottom: 0
|
|
9
|
+
}
|
|
10
|
+
})
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
exports.MuiAutocomplete = MuiAutocomplete;
|
|
14
|
+
//# sourceMappingURL=autocomplete.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autocomplete.js","sources":["../../../../../src/theme/components/autocomplete.ts"],"sourcesContent":["import { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\n//\n//\n\nexport const MuiAutocomplete: Components<\n Omit<Theme, 'components' | 'palette'> & CssVarsTheme\n>['MuiAutocomplete'] = {\n styleOverrides: {\n root: () => ({\n '& .MuiOutlinedInput-root': {\n paddingTop: 0,\n paddingBottom: 0,\n },\n }),\n },\n};\n"],"names":[],"mappings":";;AAKO,MAAM,kBAEU;AAAA,EACrB,gBAAgB;AAAA,IACd,MAAM,OAAO;AAAA,MACX,4BAA4B;AAAA,QAC1B,YAAY;AAAA,QACZ,eAAe;AAAA,MAAA;AAAA,IACjB;AAAA,EACF;AAEJ;;"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const MuiCard = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: () => ({
|
|
6
|
+
borderRadius: 16,
|
|
7
|
+
"& > .MuiCardContent-root:last-child": {
|
|
8
|
+
paddingBottom: 16
|
|
9
|
+
},
|
|
10
|
+
"& .MuiCardContent-root .MuiCardContent-root": {
|
|
11
|
+
borderRadius: 8,
|
|
12
|
+
border: "1px solid #F2F2F2",
|
|
13
|
+
padding: 16
|
|
14
|
+
},
|
|
15
|
+
"& .MuiCardContent-root .MuiCardContent-root .MuiCardContent-root": {
|
|
16
|
+
borderRadius: 4,
|
|
17
|
+
backgroundColor: "#F8F8F8",
|
|
18
|
+
border: "none"
|
|
19
|
+
},
|
|
20
|
+
form: {
|
|
21
|
+
marginBottom: 0
|
|
22
|
+
},
|
|
23
|
+
"& .MuiList-root:last-child .MuiListItem-root:last-of-type": {
|
|
24
|
+
borderBottom: "none",
|
|
25
|
+
paddingBottom: 0
|
|
26
|
+
}
|
|
27
|
+
})
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
exports.MuiCard = MuiCard;
|
|
31
|
+
//# sourceMappingURL=card.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card.js","sources":["../../../../../src/theme/components/card.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\n//\n//\n\nexport const MuiCard: Components<Omit<Theme, 'components' | 'palette'> & CssVarsTheme>['MuiCard'] =\n {\n styleOverrides: {\n root: () => ({\n borderRadius: 16,\n\n '& > .MuiCardContent-root:last-child': {\n paddingBottom: 16,\n },\n\n '& .MuiCardContent-root .MuiCardContent-root': {\n borderRadius: 8,\n border: '1px solid #F2F2F2',\n padding: 16,\n },\n\n '& .MuiCardContent-root .MuiCardContent-root .MuiCardContent-root': {\n borderRadius: 4,\n backgroundColor: '#F8F8F8',\n border: 'none',\n },\n\n form: {\n marginBottom: 0,\n },\n\n '& .MuiList-root:last-child .MuiListItem-root:last-of-type': {\n borderBottom: 'none',\n paddingBottom: 0,\n },\n }),\n },\n };\n"],"names":[],"mappings":";;AAMO,MAAM,UACX;AAAA,EACE,gBAAgB;AAAA,IACd,MAAM,OAAO;AAAA,MACX,cAAc;AAAA,MAEd,uCAAuC;AAAA,QACrC,eAAe;AAAA,MAAA;AAAA,MAGjB,+CAA+C;AAAA,QAC7C,cAAc;AAAA,QACd,QAAQ;AAAA,QACR,SAAS;AAAA,MAAA;AAAA,MAGX,oEAAoE;AAAA,QAClE,cAAc;AAAA,QACd,iBAAiB;AAAA,QACjB,QAAQ;AAAA,MAAA;AAAA,MAGV,MAAM;AAAA,QACJ,cAAc;AAAA,MAAA;AAAA,MAGhB,8DAA8D;AAAA,QAC5D,cAAc;AAAA,QACd,eAAe;AAAA,MAAA;AAAA,IACjB;AAAA,EACF;AAEJ;;"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const MuiDrawer = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: {
|
|
6
|
+
overflow: "hidden"
|
|
7
|
+
},
|
|
8
|
+
paper: {
|
|
9
|
+
padding: "16px 0 0 0"
|
|
10
|
+
},
|
|
11
|
+
modal: {
|
|
12
|
+
maxHeight: "100vh"
|
|
13
|
+
},
|
|
14
|
+
paperAnchorLeft: {
|
|
15
|
+
width: 390,
|
|
16
|
+
maxWidth: "calc(100vw - 24px)",
|
|
17
|
+
borderRadius: "0 16px 16px 0"
|
|
18
|
+
},
|
|
19
|
+
paperAnchorRight: {
|
|
20
|
+
width: 390,
|
|
21
|
+
maxWidth: "calc(100vw - 24px)",
|
|
22
|
+
borderRadius: "16px 0 0 16px"
|
|
23
|
+
},
|
|
24
|
+
paperAnchorTop: {
|
|
25
|
+
height: 390,
|
|
26
|
+
maxHeight: "calc(100vh - 24px)",
|
|
27
|
+
borderRadius: "0 0 16px 16px"
|
|
28
|
+
},
|
|
29
|
+
paperAnchorBottom: {
|
|
30
|
+
height: 390,
|
|
31
|
+
maxHeight: "calc(100vh - 24px)",
|
|
32
|
+
borderRadius: "16px 16px 0 0"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
exports.MuiDrawer = MuiDrawer;
|
|
37
|
+
//# sourceMappingURL=drawer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drawer.js","sources":["../../../../../src/theme/components/drawer.ts"],"sourcesContent":["import { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\nexport const MuiDrawer: Components<\n Omit<Theme, 'components' | 'palette'> & CssVarsTheme\n>['MuiDrawer'] = {\n styleOverrides: {\n root: {\n overflow: 'hidden',\n },\n paper: {\n padding: '16px 0 0 0',\n },\n modal: {\n maxHeight: '100vh',\n },\n\n paperAnchorLeft: {\n width: 390,\n maxWidth: 'calc(100vw - 24px)',\n borderRadius: '0 16px 16px 0',\n },\n\n paperAnchorRight: {\n width: 390,\n maxWidth: 'calc(100vw - 24px)',\n borderRadius: '16px 0 0 16px',\n },\n\n paperAnchorTop: {\n height: 390,\n maxHeight: 'calc(100vh - 24px)',\n borderRadius: '0 0 16px 16px',\n },\n\n paperAnchorBottom: {\n height: 390,\n maxHeight: 'calc(100vh - 24px)',\n borderRadius: '16px 16px 0 0',\n },\n },\n};\n"],"names":[],"mappings":";;AAEO,MAAM,YAEI;AAAA,EACf,gBAAgB;AAAA,IACd,MAAM;AAAA,MACJ,UAAU;AAAA,IAAA;AAAA,IAEZ,OAAO;AAAA,MACL,SAAS;AAAA,IAAA;AAAA,IAEX,OAAO;AAAA,MACL,WAAW;AAAA,IAAA;AAAA,IAGb,iBAAiB;AAAA,MACf,OAAO;AAAA,MACP,UAAU;AAAA,MACV,cAAc;AAAA,IAAA;AAAA,IAGhB,kBAAkB;AAAA,MAChB,OAAO;AAAA,MACP,UAAU;AAAA,MACV,cAAc;AAAA,IAAA;AAAA,IAGhB,gBAAgB;AAAA,MACd,QAAQ;AAAA,MACR,WAAW;AAAA,MACX,cAAc;AAAA,IAAA;AAAA,IAGhB,mBAAmB;AAAA,MACjB,QAAQ;AAAA,MACR,WAAW;AAAA,MACX,cAAc;AAAA,IAAA;AAAA,EAChB;AAEJ;;"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const MuiFormControlLabel = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
marginInline: 0,
|
|
7
|
+
".MuiFormControlLabel-label": {
|
|
8
|
+
...theme.typography.body2
|
|
9
|
+
}
|
|
10
|
+
})
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
exports.MuiFormControlLabel = MuiFormControlLabel;
|
|
14
|
+
//# sourceMappingURL=form-control-label.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-control-label.js","sources":["../../../../../src/theme/components/form-control-label.ts"],"sourcesContent":["import { Components, CssVarsTheme, Theme } from '@mui/material';\n\n//\n//\n\nexport const MuiFormControlLabel: Components<Theme & CssVarsTheme>['MuiFormControlLabel'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n marginInline: 0,\n '.MuiFormControlLabel-label': {\n ...theme.typography.body2,\n },\n }),\n },\n};\n"],"names":[],"mappings":";;AAKO,MAAM,sBAA+E;AAAA,EAC1F,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,cAAc;AAAA,MACd,8BAA8B;AAAA,QAC5B,GAAG,MAAM,WAAW;AAAA,MAAA;AAAA,IACtB;AAAA,EACF;AAEJ;;"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const MuiFormHelperText = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
...theme.typography.caption,
|
|
7
|
+
marginInline: 0,
|
|
8
|
+
marginTop: theme.spacing(1),
|
|
9
|
+
color: "inherit",
|
|
10
|
+
[`&.MuiFormHelperText-root`]: {
|
|
11
|
+
color: theme.palette.text.tertiary
|
|
12
|
+
},
|
|
13
|
+
[`&.MuiFormHelperText-filled`]: {
|
|
14
|
+
color: theme.palette.text.tertiary,
|
|
15
|
+
"&.Mui-error": {
|
|
16
|
+
color: theme.palette.error.main
|
|
17
|
+
},
|
|
18
|
+
"&.Mui-disabled": {
|
|
19
|
+
color: theme.palette.text.disabled
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"&.Mui-focused": {
|
|
23
|
+
// color: 'inherit',
|
|
24
|
+
"&.Mui-error": {
|
|
25
|
+
color: theme.palette.error.main
|
|
26
|
+
},
|
|
27
|
+
"&.Mui-disabled": {
|
|
28
|
+
color: theme.palette.text.disabled
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
[`&.Mui-error`]: {
|
|
32
|
+
color: theme.palette.error.main
|
|
33
|
+
},
|
|
34
|
+
variants: [
|
|
35
|
+
{
|
|
36
|
+
props: { error: true },
|
|
37
|
+
style: {
|
|
38
|
+
color: theme.palette.error.main
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
})
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
exports.MuiFormHelperText = MuiFormHelperText;
|
|
46
|
+
//# sourceMappingURL=form-helper-text.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-helper-text.js","sources":["../../../../../src/theme/components/form-helper-text.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\nexport const MuiFormHelperText: Components<Theme & CssVarsTheme>['MuiFormHelperText'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n ...theme.typography.caption,\n\n marginInline: 0,\n marginTop: theme.spacing(1),\n color: 'inherit',\n [`&.MuiFormHelperText-root`]: {\n color: theme.palette.text.tertiary,\n },\n [`&.MuiFormHelperText-filled`]: {\n color: theme.palette.text.tertiary,\n '&.Mui-error': {\n color: theme.palette.error.main,\n },\n '&.Mui-disabled': {\n color: theme.palette.text.disabled,\n },\n },\n '&.Mui-focused': {\n // color: 'inherit',\n '&.Mui-error': {\n color: theme.palette.error.main,\n },\n '&.Mui-disabled': {\n color: theme.palette.text.disabled,\n },\n },\n [`&.Mui-error`]: {\n color: theme.palette.error.main,\n },\n variants: [\n {\n props: { error: true },\n style: {\n color: theme.palette.error.main,\n },\n },\n ],\n }),\n },\n};\n"],"names":[],"mappings":";;AAGO,MAAM,oBAA2E;AAAA,EACtF,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,GAAG,MAAM,WAAW;AAAA,MAEpB,cAAc;AAAA,MACd,WAAW,MAAM,QAAQ,CAAC;AAAA,MAC1B,OAAO;AAAA,MACP,CAAC,0BAA0B,GAAG;AAAA,QAC5B,OAAO,MAAM,QAAQ,KAAK;AAAA,MAAA;AAAA,MAE5B,CAAC,4BAA4B,GAAG;AAAA,QAC9B,OAAO,MAAM,QAAQ,KAAK;AAAA,QAC1B,eAAe;AAAA,UACb,OAAO,MAAM,QAAQ,MAAM;AAAA,QAAA;AAAA,QAE7B,kBAAkB;AAAA,UAChB,OAAO,MAAM,QAAQ,KAAK;AAAA,QAAA;AAAA,MAC5B;AAAA,MAEF,iBAAiB;AAAA;AAAA,QAEf,eAAe;AAAA,UACb,OAAO,MAAM,QAAQ,MAAM;AAAA,QAAA;AAAA,QAE7B,kBAAkB;AAAA,UAChB,OAAO,MAAM,QAAQ,KAAK;AAAA,QAAA;AAAA,MAC5B;AAAA,MAEF,CAAC,aAAa,GAAG;AAAA,QACf,OAAO,MAAM,QAAQ,MAAM;AAAA,MAAA;AAAA,MAE7B,UAAU;AAAA,QACR;AAAA,UACE,OAAO,EAAE,OAAO,KAAA;AAAA,UAChB,OAAO;AAAA,YACL,OAAO,MAAM,QAAQ,MAAM;AAAA,UAAA;AAAA,QAC7B;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAEJ;;"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const MuiFormLabel = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
...theme.typography.body1,
|
|
7
|
+
marginBottom: theme.spacing(1),
|
|
8
|
+
color: "inherit",
|
|
9
|
+
[`&.MuiFormLabel-filled`]: {
|
|
10
|
+
color: "inherit",
|
|
11
|
+
"&.Mui-error": {
|
|
12
|
+
color: theme.palette.error.main
|
|
13
|
+
},
|
|
14
|
+
"&.Mui-disabled": {
|
|
15
|
+
color: theme.palette.text.disabled
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"&.Mui-focused": {
|
|
19
|
+
color: "inherit",
|
|
20
|
+
"&.Mui-error": {
|
|
21
|
+
color: theme.palette.error.main
|
|
22
|
+
},
|
|
23
|
+
"&.Mui-disabled": {
|
|
24
|
+
color: theme.palette.text.disabled
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
})
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
exports.MuiFormLabel = MuiFormLabel;
|
|
31
|
+
//# sourceMappingURL=form-label.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-label.js","sources":["../../../../../src/theme/components/form-label.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\nexport const MuiFormLabel: Components<Theme & CssVarsTheme>['MuiFormLabel'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n ...theme.typography.body1,\n\n marginBottom: theme.spacing(1),\n color: 'inherit',\n [`&.MuiFormLabel-filled`]: {\n color: 'inherit',\n '&.Mui-error': {\n color: theme.palette.error.main,\n },\n '&.Mui-disabled': {\n color: theme.palette.text.disabled,\n },\n },\n '&.Mui-focused': {\n color: 'inherit',\n '&.Mui-error': {\n color: theme.palette.error.main,\n },\n '&.Mui-disabled': {\n color: theme.palette.text.disabled,\n },\n },\n }),\n },\n};\n"],"names":[],"mappings":";;AAGO,MAAM,eAAiE;AAAA,EAC5E,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,GAAG,MAAM,WAAW;AAAA,MAEpB,cAAc,MAAM,QAAQ,CAAC;AAAA,MAC7B,OAAO;AAAA,MACP,CAAC,uBAAuB,GAAG;AAAA,QACzB,OAAO;AAAA,QACP,eAAe;AAAA,UACb,OAAO,MAAM,QAAQ,MAAM;AAAA,QAAA;AAAA,QAE7B,kBAAkB;AAAA,UAChB,OAAO,MAAM,QAAQ,KAAK;AAAA,QAAA;AAAA,MAC5B;AAAA,MAEF,iBAAiB;AAAA,QACf,OAAO;AAAA,QACP,eAAe;AAAA,UACb,OAAO,MAAM,QAAQ,MAAM;AAAA,QAAA;AAAA,QAE7B,kBAAkB;AAAA,UAChB,OAAO,MAAM,QAAQ,KAAK;AAAA,QAAA;AAAA,MAC5B;AAAA,IACF;AAAA,EACF;AAEJ;;"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const MuiIcon = {
|
|
4
|
+
defaultProps: {
|
|
5
|
+
fontSize: "medium",
|
|
6
|
+
color: "primary"
|
|
7
|
+
},
|
|
8
|
+
styleOverrides: {
|
|
9
|
+
root: ({ theme }) => ({
|
|
10
|
+
display: "flex",
|
|
11
|
+
alignItems: "center",
|
|
12
|
+
justifyContent: "center",
|
|
13
|
+
borderRadius: "50%",
|
|
14
|
+
variants: [
|
|
15
|
+
{
|
|
16
|
+
props: { fontSize: "large" },
|
|
17
|
+
style: {
|
|
18
|
+
minWidth: theme.spacing(6),
|
|
19
|
+
minHeight: theme.spacing(6)
|
|
20
|
+
},
|
|
21
|
+
"> svg": {
|
|
22
|
+
width: theme.spacing(3),
|
|
23
|
+
height: theme.spacing(3)
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
props: { fontSize: "medium" },
|
|
28
|
+
style: {
|
|
29
|
+
minWidth: theme.spacing(5),
|
|
30
|
+
minHeight: theme.spacing(5)
|
|
31
|
+
},
|
|
32
|
+
"> svg": {
|
|
33
|
+
width: theme.spacing(2.5),
|
|
34
|
+
height: theme.spacing(2.5)
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
props: { fontSize: "small" },
|
|
39
|
+
style: {
|
|
40
|
+
minWidth: theme.spacing(4),
|
|
41
|
+
minHeight: theme.spacing(4),
|
|
42
|
+
"> svg": {
|
|
43
|
+
width: theme.spacing(2),
|
|
44
|
+
height: theme.spacing(2)
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
props: { color: "primary" },
|
|
50
|
+
style: {
|
|
51
|
+
backgroundColor: "transparent",
|
|
52
|
+
color: theme.palette._components.iconButton.primary.text,
|
|
53
|
+
border: `1px solid ${theme.palette._components.button.primary.contained}`
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
props: { color: "secondary" },
|
|
58
|
+
style: {
|
|
59
|
+
backgroundColor: "transparent",
|
|
60
|
+
color: theme.palette._components.iconButton.secondary.text,
|
|
61
|
+
border: `1px solid ${theme.palette._components.button.secondary.border}`
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
props: { color: "error" },
|
|
66
|
+
style: {
|
|
67
|
+
backgroundColor: "transparent",
|
|
68
|
+
color: theme.palette._components.button.error.focused,
|
|
69
|
+
border: `1px solid ${theme.palette._components.button.error.border}`
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
})
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
exports.MuiIcon = MuiIcon;
|
|
77
|
+
//# sourceMappingURL=icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon.js","sources":["../../../../../src/theme/components/icon.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\n//\n//\n\nexport const MuiIcon: Components<Omit<Theme, 'components' | 'palette'> & CssVarsTheme>['MuiIcon'] =\n {\n defaultProps: {\n fontSize: 'medium',\n color: 'primary',\n },\n styleOverrides: {\n root: ({ theme }) => ({\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: '50%',\n variants: [\n {\n props: { fontSize: 'large' },\n style: {\n minWidth: theme.spacing(6),\n minHeight: theme.spacing(6),\n },\n '> svg': {\n width: theme.spacing(3),\n height: theme.spacing(3),\n },\n },\n {\n props: { fontSize: 'medium' },\n style: {\n minWidth: theme.spacing(5),\n minHeight: theme.spacing(5),\n },\n '> svg': {\n width: theme.spacing(2.5),\n height: theme.spacing(2.5),\n },\n },\n {\n props: { fontSize: 'small' },\n style: {\n minWidth: theme.spacing(4),\n minHeight: theme.spacing(4),\n '> svg': {\n width: theme.spacing(2),\n height: theme.spacing(2),\n },\n },\n },\n {\n props: { color: 'primary' },\n style: {\n backgroundColor: 'transparent',\n color: theme.palette._components.iconButton.primary.text,\n border: `1px solid ${theme.palette._components.button.primary.contained}`,\n },\n },\n {\n props: { color: 'secondary' },\n style: {\n backgroundColor: 'transparent',\n color: theme.palette._components.iconButton.secondary.text,\n border: `1px solid ${theme.palette._components.button.secondary.border}`,\n },\n },\n {\n props: { color: 'error' },\n style: {\n backgroundColor: 'transparent',\n color: theme.palette._components.button.error.focused,\n border: `1px solid ${theme.palette._components.button.error.border}`,\n },\n },\n ],\n }),\n },\n };\n"],"names":[],"mappings":";;AAMO,MAAM,UACX;AAAA,EACE,cAAc;AAAA,IACZ,UAAU;AAAA,IACV,OAAO;AAAA,EAAA;AAAA,EAET,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,SAAS;AAAA,MACT,YAAY;AAAA,MACZ,gBAAgB;AAAA,MAChB,cAAc;AAAA,MACd,UAAU;AAAA,QACR;AAAA,UACE,OAAO,EAAE,UAAU,QAAA;AAAA,UACnB,OAAO;AAAA,YACL,UAAU,MAAM,QAAQ,CAAC;AAAA,YACzB,WAAW,MAAM,QAAQ,CAAC;AAAA,UAAA;AAAA,UAE5B,SAAS;AAAA,YACP,OAAO,MAAM,QAAQ,CAAC;AAAA,YACtB,QAAQ,MAAM,QAAQ,CAAC;AAAA,UAAA;AAAA,QACzB;AAAA,QAEF;AAAA,UACE,OAAO,EAAE,UAAU,SAAA;AAAA,UACnB,OAAO;AAAA,YACL,UAAU,MAAM,QAAQ,CAAC;AAAA,YACzB,WAAW,MAAM,QAAQ,CAAC;AAAA,UAAA;AAAA,UAE5B,SAAS;AAAA,YACP,OAAO,MAAM,QAAQ,GAAG;AAAA,YACxB,QAAQ,MAAM,QAAQ,GAAG;AAAA,UAAA;AAAA,QAC3B;AAAA,QAEF;AAAA,UACE,OAAO,EAAE,UAAU,QAAA;AAAA,UACnB,OAAO;AAAA,YACL,UAAU,MAAM,QAAQ,CAAC;AAAA,YACzB,WAAW,MAAM,QAAQ,CAAC;AAAA,YAC1B,SAAS;AAAA,cACP,OAAO,MAAM,QAAQ,CAAC;AAAA,cACtB,QAAQ,MAAM,QAAQ,CAAC;AAAA,YAAA;AAAA,UACzB;AAAA,QACF;AAAA,QAEF;AAAA,UACE,OAAO,EAAE,OAAO,UAAA;AAAA,UAChB,OAAO;AAAA,YACL,iBAAiB;AAAA,YACjB,OAAO,MAAM,QAAQ,YAAY,WAAW,QAAQ;AAAA,YACpD,QAAQ,aAAa,MAAM,QAAQ,YAAY,OAAO,QAAQ,SAAS;AAAA,UAAA;AAAA,QACzE;AAAA,QAEF;AAAA,UACE,OAAO,EAAE,OAAO,YAAA;AAAA,UAChB,OAAO;AAAA,YACL,iBAAiB;AAAA,YACjB,OAAO,MAAM,QAAQ,YAAY,WAAW,UAAU;AAAA,YACtD,QAAQ,aAAa,MAAM,QAAQ,YAAY,OAAO,UAAU,MAAM;AAAA,UAAA;AAAA,QACxE;AAAA,QAEF;AAAA,UACE,OAAO,EAAE,OAAO,QAAA;AAAA,UAChB,OAAO;AAAA,YACL,iBAAiB;AAAA,YACjB,OAAO,MAAM,QAAQ,YAAY,OAAO,MAAM;AAAA,YAC9C,QAAQ,aAAa,MAAM,QAAQ,YAAY,OAAO,MAAM,MAAM;AAAA,UAAA;AAAA,QACpE;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAEJ;;"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const MuiMenu = {
|
|
4
|
+
defaultProps: {
|
|
5
|
+
disableRestoreFocus: true,
|
|
6
|
+
disableAutoFocusItem: true
|
|
7
|
+
},
|
|
8
|
+
styleOverrides: {
|
|
9
|
+
paper: ({ theme }) => ({
|
|
10
|
+
borderRadius: theme.spacing(1.5),
|
|
11
|
+
marginTop: theme.spacing(1),
|
|
12
|
+
borderStyle: "solid",
|
|
13
|
+
borderWidth: 1,
|
|
14
|
+
borderColor: theme.palette.outlined?.outlined
|
|
15
|
+
})
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
const MuiMenuItem = {
|
|
19
|
+
defaultProps: {
|
|
20
|
+
disableRipple: true,
|
|
21
|
+
disableTouchRipple: true
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
exports.MuiMenu = MuiMenu;
|
|
25
|
+
exports.MuiMenuItem = MuiMenuItem;
|
|
26
|
+
//# sourceMappingURL=menu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu.js","sources":["../../../../../src/theme/components/menu.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\nexport const MuiMenu: Components<Theme & CssVarsTheme>['MuiMenu'] = {\n defaultProps: {\n disableRestoreFocus: true,\n disableAutoFocusItem: true,\n },\n styleOverrides: {\n paper: ({ theme }) => ({\n borderRadius: theme.spacing(1.5),\n marginTop: theme.spacing(1),\n borderStyle: 'solid',\n borderWidth: 1,\n borderColor: theme.palette.outlined?.outlined,\n }),\n },\n};\n\nexport const MuiMenuItem: Components<Theme & CssVarsTheme>['MuiMenuItem'] = {\n defaultProps: {\n disableRipple: true,\n disableTouchRipple: true,\n },\n};\n"],"names":[],"mappings":";;AAGO,MAAM,UAAuD;AAAA,EAClE,cAAc;AAAA,IACZ,qBAAqB;AAAA,IACrB,sBAAsB;AAAA,EAAA;AAAA,EAExB,gBAAgB;AAAA,IACd,OAAO,CAAC,EAAE,aAAa;AAAA,MACrB,cAAc,MAAM,QAAQ,GAAG;AAAA,MAC/B,WAAW,MAAM,QAAQ,CAAC;AAAA,MAC1B,aAAa;AAAA,MACb,aAAa;AAAA,MACb,aAAa,MAAM,QAAQ,UAAU;AAAA,IAAA;AAAA,EACvC;AAEJ;AAEO,MAAM,cAA+D;AAAA,EAC1E,cAAc;AAAA,IACZ,eAAe;AAAA,IACf,oBAAoB;AAAA,EAAA;AAExB;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paper.js","sources":["../../../../../src/theme/components/paper.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\n//\n//\n\nexport const MuiPaper: Components<\n Omit<Theme, 'components' | 'palette'> & CssVarsTheme\n>['MuiPaper'] = {\n styleOverrides: {\n root: {\n border: '1px solid #F2F2F2',\n },\n },\n};\n"],"names":[],"mappings":";;AAMO,MAAM,WAEG;AAAA,EACd,gBAAgB;AAAA,IACd,MAAM;AAAA,MACJ,QAAQ;AAAA,IAAA;AAAA,EACV;AAEJ;;"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const MuiSelect = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
icon: ({ theme }) => ({
|
|
6
|
+
"&.MuiSvgIcon-root": {
|
|
7
|
+
marginRight: theme.spacing(0.5)
|
|
8
|
+
}
|
|
9
|
+
}),
|
|
10
|
+
select: ({ theme }) => ({
|
|
11
|
+
"&.MuiSelect-outlined": {
|
|
12
|
+
"&.MuiInputBase-input": {
|
|
13
|
+
"&.MuiOutlinedInput-input": {
|
|
14
|
+
padding: theme.spacing(1, 5, 1, 2),
|
|
15
|
+
boxSizing: "border-box",
|
|
16
|
+
minHeight: theme.spacing(6),
|
|
17
|
+
display: "flex",
|
|
18
|
+
alignItems: "center"
|
|
19
|
+
},
|
|
20
|
+
"&.MuiInputBase-inputSizeSmall": {
|
|
21
|
+
minHeight: theme.spacing(5)
|
|
22
|
+
},
|
|
23
|
+
"&.MuiInputBase-inputAdornedStart": {
|
|
24
|
+
padding: theme.spacing(1, 5, 1, 0)
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
})
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
exports.MuiSelect = MuiSelect;
|
|
32
|
+
//# sourceMappingURL=select.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select.js","sources":["../../../../../src/theme/components/select.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\n//\n//\n\nexport const MuiSelect: Components<Theme & CssVarsTheme>['MuiSelect'] = {\n styleOverrides: {\n icon: ({ theme }) => ({\n '&.MuiSvgIcon-root': {\n marginRight: theme.spacing(0.5),\n },\n }),\n select: ({ theme }) => ({\n '&.MuiSelect-outlined': {\n '&.MuiInputBase-input': {\n '&.MuiOutlinedInput-input': {\n padding: theme.spacing(1, 5, 1, 2),\n boxSizing: 'border-box',\n minHeight: theme.spacing(6),\n display: 'flex',\n alignItems: 'center',\n },\n\n '&.MuiInputBase-inputSizeSmall': {\n minHeight: theme.spacing(5),\n },\n\n '&.MuiInputBase-inputAdornedStart': {\n padding: theme.spacing(1, 5, 1, 0),\n },\n },\n },\n }),\n },\n};\n"],"names":[],"mappings":";;AAMO,MAAM,YAA2D;AAAA,EACtE,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,qBAAqB;AAAA,QACnB,aAAa,MAAM,QAAQ,GAAG;AAAA,MAAA;AAAA,IAChC;AAAA,IAEF,QAAQ,CAAC,EAAE,aAAa;AAAA,MACtB,wBAAwB;AAAA,QACtB,wBAAwB;AAAA,UACtB,4BAA4B;AAAA,YAC1B,SAAS,MAAM,QAAQ,GAAG,GAAG,GAAG,CAAC;AAAA,YACjC,WAAW;AAAA,YACX,WAAW,MAAM,QAAQ,CAAC;AAAA,YAC1B,SAAS;AAAA,YACT,YAAY;AAAA,UAAA;AAAA,UAGd,iCAAiC;AAAA,YAC/B,WAAW,MAAM,QAAQ,CAAC;AAAA,UAAA;AAAA,UAG5B,oCAAoC;AAAA,YAClC,SAAS,MAAM,QAAQ,GAAG,GAAG,GAAG,CAAC;AAAA,UAAA;AAAA,QACnC;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAEJ;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"switch.js","sources":["../../../../../src/theme/components/switch.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material';\n\nconst createSwitchActiveStyles = (theme: CssVarsTheme, colorKey: 'primary' | 'error') => {\n const toggleCircleSize = theme.spacing(1.83);\n const pressedToggleCircleSize = theme.spacing(2.25);\n const transformValue = theme.spacing(0.5);\n\n return {\n '&:active': {\n '& .MuiSwitch-switchBase.Mui-checked + .MuiSwitch-track': {\n backgroundColor: theme.palette._components.switch?.[colorKey]?.pressedBackground,\n boxShadow: 'none',\n },\n '& .MuiSwitch-switchBase:not(.Mui-checked)': {\n '& + .MuiSwitch-track': {\n boxShadow: 'none',\n },\n '& .MuiSwitch-thumb': {\n width: `${pressedToggleCircleSize}`,\n transform: 'translateX(0)',\n borderRadius: toggleCircleSize,\n },\n },\n '& .MuiSwitch-switchBase.Mui-checked': {\n '& + .MuiSwitch-track': {\n boxShadow: 'none',\n },\n '& .MuiSwitch-thumb': {\n width: `${pressedToggleCircleSize}`,\n transform: `translateX(-${transformValue})`,\n borderRadius: toggleCircleSize,\n },\n },\n },\n };\n};\n\nexport const MuiSwitch: Components<\n Omit<Theme, 'components' | 'palette'> & CssVarsTheme\n>['MuiSwitch'] = {\n defaultProps: {\n disableRipple: true,\n disableTouchRipple: true,\n },\n variants: [\n {\n props: { color: 'primary' },\n style: ({ theme }) => ({\n ...createSwitchActiveStyles(theme, 'primary'),\n '& .MuiSwitch-switchBase.Mui-checked': {\n '& + .MuiSwitch-track': {\n backgroundColor: theme.palette._components.switch?.primary?.activeBackground,\n },\n },\n }),\n },\n {\n props: { color: 'error' },\n style: ({ theme }) => ({\n ...createSwitchActiveStyles(theme, 'error'),\n '& .MuiSwitch-switchBase.Mui-checked': {\n '& + .MuiSwitch-track': {\n backgroundColor: theme.palette._components.switch?.error?.activeBackground,\n },\n },\n }),\n },\n ],\n styleOverrides: {\n root: ({ theme }) => {\n const toggleSwitchWidth = theme.spacing(4);\n const toggleSwitchHeight = theme.spacing(2.5);\n const toggleCircleSize = theme.spacing(1.83);\n const innerMargin = theme.spacing(0.33);\n const shadowValue = theme.spacing(0, 0, 0, 0.25);\n const transformValue = theme.spacing(1.51); // 4 - 1.83 - 0.33 * 2 = 1.51\n\n return {\n width: toggleSwitchWidth,\n height: toggleSwitchHeight,\n padding: 0,\n overflow: 'visible',\n marginInlineEnd: theme.spacing(1),\n '&:hover': {\n '& .MuiSwitch-switchBase:not(.Mui-checked)': {\n '& + .MuiSwitch-track': {\n boxShadow: `${shadowValue} ${theme.palette._components.switch?.shadow}`,\n },\n },\n '& .MuiSwitch-switchBase.Mui-disabled + .MuiSwitch-track': {\n boxShadow: 'none',\n },\n },\n '& .MuiSwitch-switchBase': {\n padding: 0,\n margin: innerMargin,\n width: toggleCircleSize,\n transitionDuration: '300ms',\n '&.Mui-checked': {\n transform: `translateX(${transformValue})`,\n color: theme.palette._components?.switch?.knobFillEnabled,\n '& + .MuiSwitch-track': {\n opacity: 1,\n boxShadow: 'none',\n },\n '&.Mui-disabled + .MuiSwitch-track': {\n opacity: 0.5,\n },\n },\n '&.Mui-focusVisible .MuiSwitch-thumb': {\n color: theme.palette._components?.switch?.color,\n boxShadow: `${shadowValue} ${theme.palette._components?.switch?.background}`,\n },\n '&.Mui-disabled .MuiSwitch-thumb': {\n color: theme.palette._components?.switch?.knobFillEnabled,\n },\n '&.Mui-disabled + .MuiSwitch-track': {\n opacity: 0.7,\n boxShadow: 'none',\n },\n },\n '& .MuiSwitch-thumb': {\n boxSizing: 'border-box',\n width: toggleCircleSize,\n height: toggleCircleSize,\n borderRadius: toggleCircleSize,\n borderWidth: theme.spacing(0.08375),\n borderStyle: 'solid',\n borderColor: theme.palette._components.switch.knowFillDisabled,\n boxShadow: theme.shadows[2],\n transition: theme.transitions.create(['transform'], {\n duration: 300,\n }),\n },\n '& .MuiSwitch-track': {\n borderRadius: theme.spacing(8.25),\n backgroundColor: theme.palette._components.switch?.slideFill,\n opacity: 1,\n transition: theme.transitions.create(['background-color'], {\n duration: 500,\n }),\n boxShadow: `${shadowValue} transparent`,\n },\n };\n },\n },\n};\n"],"names":[],"mappings":";;AAGA,MAAM,2BAA2B,CAAC,OAAqB,aAAkC;AACvF,QAAM,mBAAmB,MAAM,QAAQ,IAAI;AAC3C,QAAM,0BAA0B,MAAM,QAAQ,IAAI;AAClD,QAAM,iBAAiB,MAAM,QAAQ,GAAG;AAExC,SAAO;AAAA,IACL,YAAY;AAAA,MACV,0DAA0D;AAAA,QACxD,iBAAiB,MAAM,QAAQ,YAAY,SAAS,QAAQ,GAAG;AAAA,QAC/D,WAAW;AAAA,MAAA;AAAA,MAEb,6CAA6C;AAAA,QAC3C,wBAAwB;AAAA,UACtB,WAAW;AAAA,QAAA;AAAA,QAEb,sBAAsB;AAAA,UACpB,OAAO,GAAG,uBAAuB;AAAA,UACjC,WAAW;AAAA,UACX,cAAc;AAAA,QAAA;AAAA,MAChB;AAAA,MAEF,uCAAuC;AAAA,QACrC,wBAAwB;AAAA,UACtB,WAAW;AAAA,QAAA;AAAA,QAEb,sBAAsB;AAAA,UACpB,OAAO,GAAG,uBAAuB;AAAA,UACjC,WAAW,eAAe,cAAc;AAAA,UACxC,cAAc;AAAA,QAAA;AAAA,MAChB;AAAA,IACF;AAAA,EACF;AAEJ;AAEO,MAAM,YAEI;AAAA,EACf,cAAc;AAAA,IACZ,eAAe;AAAA,IACf,oBAAoB;AAAA,EAAA;AAAA,EAEtB,UAAU;AAAA,IACR;AAAA,MACE,OAAO,EAAE,OAAO,UAAA;AAAA,MAChB,OAAO,CAAC,EAAE,aAAa;AAAA,QACrB,GAAG,yBAAyB,OAAO,SAAS;AAAA,QAC5C,uCAAuC;AAAA,UACrC,wBAAwB;AAAA,YACtB,iBAAiB,MAAM,QAAQ,YAAY,QAAQ,SAAS;AAAA,UAAA;AAAA,QAC9D;AAAA,MACF;AAAA,I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,UACX;AAAA,UAEF,uCAAuC;AAAA,YACrC,OAAO,MAAM,QAAQ,aAAa,QAAQ;AAAA,YAC1C,WAAW,GAAG,WAAW,IAAI,MAAM,QAAQ,aAAa,QAAQ,UAAU;AAAA,UAAA;AAAA,UAE5E,mCAAmC;AAAA,YACjC,OAAO,MAAM,QAAQ,aAAa,QAAQ;AAAA,UAAA;AAAA,UAE5C,qCAAqC;AAAA,YACnC,SAAS;AAAA,YACT,WAAW;AAAA,UAAA;AAAA,QACb;AAAA,QAEF,sBAAsB;AAAA,UACpB,WAAW;AAAA,UACX,OAAO;AAAA,UACP,QAAQ;AAAA,UACR,cAAc;AAAA,UACd,aAAa,MAAM,QAAQ,OAAO;AAAA,UAClC,aAAa;AAAA,UACb,aAAa,MAAM,QAAQ,YAAY,OAAO;AAAA,UAC9C,WAAW,MAAM,QAAQ,CAAC;AAAA,UAC1B,YAAY,MAAM,YAAY,OAAO,CAAC,WAAW,GAAG;AAAA,YAClD,UAAU;AAAA,UAAA,CACX;AAAA,QAAA;AAAA,QAEH,sBAAsB;AAAA,UACpB,cAAc,MAAM,QAAQ,IAAI;AAAA,UAChC,iBAAiB,MAAM,QAAQ,YAAY,QAAQ;AAAA,UACnD,SAAS;AAAA,UACT,YAAY,MAAM,YAAY,OAAO,CAAC,kBAAkB,GAAG;AAAA,YACzD,UAAU;AAAA,UAAA,CACX;AAAA,UACD,WAAW,GAAG,WAAW;AAAA,QAAA;AAAA,MAC3B;AAAA,IAEJ;AAAA,EAAA;AAEJ;;"}
|
|
1
|
+
{"version":3,"file":"switch.js","sources":["../../../../../src/theme/components/switch.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material';\n\nconst createSwitchActiveStyles = (theme: CssVarsTheme, colorKey: 'primary' | 'error') => {\n const toggleCircleSize = theme.spacing(1.83);\n const pressedToggleCircleSize = theme.spacing(2.25);\n const transformValue = theme.spacing(0.5);\n\n return {\n '&:active': {\n '& .MuiSwitch-switchBase.Mui-checked + .MuiSwitch-track': {\n backgroundColor: theme.palette._components.switch?.[colorKey]?.pressedBackground,\n boxShadow: 'none',\n },\n '& .MuiSwitch-switchBase:not(.Mui-checked)': {\n '& + .MuiSwitch-track': {\n boxShadow: 'none',\n },\n '& .MuiSwitch-thumb': {\n width: `${pressedToggleCircleSize}`,\n transform: 'translateX(0)',\n borderRadius: toggleCircleSize,\n },\n },\n '& .MuiSwitch-switchBase.Mui-checked': {\n '& + .MuiSwitch-track': {\n boxShadow: 'none',\n },\n '& .MuiSwitch-thumb': {\n width: `${pressedToggleCircleSize}`,\n transform: `translateX(-${transformValue})`,\n borderRadius: toggleCircleSize,\n },\n },\n },\n };\n};\n\nexport const MuiSwitch: Components<\n Omit<Theme, 'components' | 'palette'> & CssVarsTheme\n>['MuiSwitch'] = {\n defaultProps: {\n disableRipple: true,\n disableTouchRipple: true,\n },\n variants: [\n {\n props: { color: 'primary' },\n style: ({ theme }) => ({\n ...createSwitchActiveStyles(theme, 'primary'),\n '& .MuiSwitch-switchBase.Mui-checked': {\n '& + .MuiSwitch-track': {\n backgroundColor: theme.palette._components.switch?.primary?.activeBackground,\n },\n },\n }),\n },\n {\n props: { color: 'error' },\n style: ({ theme }) => ({\n ...createSwitchActiveStyles(theme, 'error'),\n '& .MuiSwitch-switchBase.Mui-checked': {\n '& + .MuiSwitch-track': {\n backgroundColor: theme.palette._components.switch?.error?.activeBackground,\n },\n },\n }),\n },\n ],\n styleOverrides: {\n root: ({ theme }) => {\n const toggleSwitchWidth = theme.spacing(4);\n const toggleSwitchHeight = theme.spacing(2.5);\n const toggleCircleSize = theme.spacing(1.83);\n const innerMargin = theme.spacing(0.33);\n const shadowValue = theme.spacing(0, 0, 0, 0.25);\n const transformValue = theme.spacing(1.51); // 4 - 1.83 - 0.33 * 2 = 1.51\n\n return {\n width: toggleSwitchWidth,\n height: toggleSwitchHeight,\n padding: 0,\n overflow: 'visible',\n marginInlineStart: theme.spacing(0),\n marginInlineEnd: theme.spacing(1),\n '&:hover': {\n '& .MuiSwitch-switchBase:not(.Mui-checked)': {\n '& + .MuiSwitch-track': {\n boxShadow: `${shadowValue} ${theme.palette._components.switch?.shadow}`,\n },\n },\n '& .MuiSwitch-switchBase.Mui-disabled + .MuiSwitch-track': {\n boxShadow: 'none',\n },\n },\n '& .MuiSwitch-switchBase': {\n padding: 0,\n margin: innerMargin,\n width: toggleCircleSize,\n transitionDuration: '300ms',\n '&.Mui-checked': {\n transform: `translateX(${transformValue})`,\n color: theme.palette._components?.switch?.knobFillEnabled,\n '& + .MuiSwitch-track': {\n opacity: 1,\n boxShadow: 'none',\n },\n '&.Mui-disabled + .MuiSwitch-track': {\n opacity: 0.5,\n },\n },\n '&.Mui-focusVisible .MuiSwitch-thumb': {\n color: theme.palette._components?.switch?.color,\n boxShadow: `${shadowValue} ${theme.palette._components?.switch?.background}`,\n },\n '&.Mui-disabled .MuiSwitch-thumb': {\n color: theme.palette._components?.switch?.knobFillEnabled,\n },\n '&.Mui-disabled + .MuiSwitch-track': {\n opacity: 0.7,\n boxShadow: 'none',\n },\n },\n '& .MuiSwitch-thumb': {\n boxSizing: 'border-box',\n width: toggleCircleSize,\n height: toggleCircleSize,\n borderRadius: toggleCircleSize,\n borderWidth: theme.spacing(0.08375),\n borderStyle: 'solid',\n borderColor: theme.palette._components.switch.knowFillDisabled,\n boxShadow: theme.shadows[2],\n transition: theme.transitions.create(['transform'], {\n duration: 300,\n }),\n },\n '& .MuiSwitch-track': {\n borderRadius: theme.spacing(8.25),\n backgroundColor: theme.palette._components.switch?.slideFill,\n opacity: 1,\n transition: theme.transitions.create(['background-color'], {\n duration: 500,\n }),\n boxShadow: `${shadowValue} transparent`,\n },\n };\n },\n },\n};\n"],"names":[],"mappings":";;AAGA,MAAM,2BAA2B,CAAC,OAAqB,aAAkC;AACvF,QAAM,mBAAmB,MAAM,QAAQ,IAAI;AAC3C,QAAM,0BAA0B,MAAM,QAAQ,IAAI;AAClD,QAAM,iBAA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