@m4l/styles 0.0.9 → 0.0.10
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 +2007 -509
- package/package.json +1 -1
- package/theme/defaultThemeOptions.d.ts +2 -1
- package/theme/overrides/M4LExtendedComponents/M4LButton.d.ts +200 -2
- package/theme/overrides/M4LExtendedComponents/M4LErrorLabel.d.ts +14 -3
- package/theme/overrides/M4LExtendedComponents/M4LIcon.d.ts +33 -2
- package/theme/overrides/M4LExtendedComponents/M4LIconButton.d.ts +130 -2
- package/theme/overrides/M4LExtendedComponents/M4LImage.d.ts +30 -1
- package/theme/overrides/M4LExtendedComponents/M4LImageButton.d.ts +3 -3
- package/theme/overrides/M4LExtendedComponents/M4LNavLink.d.ts +14 -2
- package/theme/overrides/M4LExtendedComponents/M4LPopover.d.ts +48 -1
- package/theme/overrides/M4LExtendedComponents/M4LSideBar.d.ts +1093 -0
- package/theme/overrides/M4LExtendedComponents/M4LTypography.d.ts +2 -1
- package/theme/overrides/M4LExtendedComponents/M4LanguagePopover.d.ts +1 -3
- package/theme/overrides/M4LExtendedComponents/M4LoadingButton.d.ts +214 -2
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.d.ts +125 -3
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocompleteAsync.d.ts +2 -2
- package/theme/overrides/M4LRHFComponents/M4LRHFCheckbox.d.ts +8 -6
- package/theme/overrides/M4LRHFComponents/M4LRHFTextField.d.ts +125 -2
- package/theme/overrides/M4LRHFComponents/M4LRHFTextFieldPassword.d.ts +3 -8
- package/theme/overrides/MUIComponents/Drawer.d.ts +1078 -0
- package/theme/overrides/MUIComponents/Input.d.ts +0 -6
- package/theme/overrides/MUIComponents/Paper.d.ts +10 -10
- package/types/augmentations.d.ts +11 -7
- package/types/types.d.ts +1 -0
package/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { alpha as
|
|
1
|
+
import { alpha as e, useTheme as S } from "@mui/material/styles";
|
|
2
2
|
import { alpha as n } from "@mui/system";
|
|
3
|
-
import { alpha as
|
|
4
|
-
import { useResponsive as
|
|
5
|
-
function c(o,
|
|
6
|
-
return `linear-gradient(to bottom, ${o}, ${
|
|
3
|
+
import { alpha as b } from "@mui/material";
|
|
4
|
+
import { useResponsive as T } from "@m4l/graphics";
|
|
5
|
+
function c(o, r) {
|
|
6
|
+
return `linear-gradient(to bottom, ${o}, ${r})`;
|
|
7
7
|
}
|
|
8
|
-
const
|
|
8
|
+
const t = {
|
|
9
9
|
patronusBlue: {
|
|
10
10
|
10: "#CCE6FF",
|
|
11
11
|
20: "#88BCFF",
|
|
@@ -138,111 +138,111 @@ const r = {
|
|
|
138
138
|
80: "#fff0",
|
|
139
139
|
90: "#fff0"
|
|
140
140
|
}
|
|
141
|
-
},
|
|
141
|
+
}, $ = {
|
|
142
142
|
patronus: {
|
|
143
|
-
4: t
|
|
144
|
-
12: t
|
|
145
|
-
24: t
|
|
146
|
-
36: t
|
|
147
|
-
48: t
|
|
148
|
-
60: t
|
|
149
|
-
72: t
|
|
143
|
+
4: e(t.patronusBlue[50], 0.04),
|
|
144
|
+
12: e(t.patronusBlue[50], 0.12),
|
|
145
|
+
24: e(t.patronusBlue[50], 0.24),
|
|
146
|
+
36: e(t.patronusBlue[50], 0.36),
|
|
147
|
+
48: e(t.patronusBlue[50], 0.48),
|
|
148
|
+
60: e(t.patronusBlue[50], 0.6),
|
|
149
|
+
72: e(t.patronusBlue[50], 0.72)
|
|
150
150
|
},
|
|
151
151
|
turqui: {
|
|
152
|
-
4: t
|
|
153
|
-
12: t
|
|
154
|
-
24: t
|
|
155
|
-
36: t
|
|
156
|
-
48: t
|
|
157
|
-
60: t
|
|
158
|
-
72: t
|
|
152
|
+
4: e(t.turquiBlue[50], 0.04),
|
|
153
|
+
12: e(t.turquiBlue[50], 0.12),
|
|
154
|
+
24: e(t.turquiBlue[50], 0.24),
|
|
155
|
+
36: e(t.turquiBlue[50], 0.36),
|
|
156
|
+
48: e(t.turquiBlue[50], 0.48),
|
|
157
|
+
60: e(t.turquiBlue[50], 0.6),
|
|
158
|
+
72: e(t.turquiBlue[50], 0.72)
|
|
159
159
|
},
|
|
160
160
|
grass: {
|
|
161
|
-
4: t
|
|
162
|
-
12: t
|
|
163
|
-
24: t
|
|
164
|
-
36: t
|
|
165
|
-
48: t
|
|
166
|
-
60: t
|
|
167
|
-
72: t
|
|
161
|
+
4: e(t.grassGreen[50], 0.04),
|
|
162
|
+
12: e(t.grassGreen[50], 0.12),
|
|
163
|
+
24: e(t.grassGreen[50], 0.24),
|
|
164
|
+
36: e(t.grassGreen[50], 0.36),
|
|
165
|
+
48: e(t.grassGreen[50], 0.48),
|
|
166
|
+
60: e(t.grassGreen[50], 0.6),
|
|
167
|
+
72: e(t.grassGreen[50], 0.72)
|
|
168
168
|
},
|
|
169
169
|
candy: {
|
|
170
|
-
4: t
|
|
171
|
-
12: t
|
|
172
|
-
24: t
|
|
173
|
-
36: t
|
|
174
|
-
48: t
|
|
175
|
-
60: t
|
|
176
|
-
72: t
|
|
170
|
+
4: e(t.candyRed[50], 0.04),
|
|
171
|
+
12: e(t.candyRed[50], 0.12),
|
|
172
|
+
24: e(t.candyRed[50], 0.24),
|
|
173
|
+
36: e(t.candyRed[50], 0.36),
|
|
174
|
+
48: e(t.candyRed[50], 0.48),
|
|
175
|
+
60: e(t.candyRed[50], 0.6),
|
|
176
|
+
72: e(t.candyRed[50], 0.72)
|
|
177
177
|
},
|
|
178
178
|
blaze: {
|
|
179
|
-
4: t
|
|
180
|
-
12: t
|
|
181
|
-
24: t
|
|
182
|
-
36: t
|
|
183
|
-
48: t
|
|
184
|
-
60: t
|
|
185
|
-
72: t
|
|
179
|
+
4: e(t.blazeOrange[50], 0.04),
|
|
180
|
+
12: e(t.blazeOrange[50], 0.12),
|
|
181
|
+
24: e(t.blazeOrange[50], 0.24),
|
|
182
|
+
36: e(t.blazeOrange[50], 0.36),
|
|
183
|
+
48: e(t.blazeOrange[50], 0.48),
|
|
184
|
+
60: e(t.blazeOrange[50], 0.6),
|
|
185
|
+
72: e(t.blazeOrange[50], 0.72)
|
|
186
186
|
},
|
|
187
187
|
cool: {
|
|
188
|
-
4: t
|
|
189
|
-
12: t
|
|
190
|
-
24: t
|
|
191
|
-
36: t
|
|
192
|
-
48: t
|
|
193
|
-
60: t
|
|
194
|
-
72: t
|
|
188
|
+
4: e(t.coolGrey[70], 0.04),
|
|
189
|
+
12: e(t.coolGrey[70], 0.12),
|
|
190
|
+
24: e(t.coolGrey[70], 0.24),
|
|
191
|
+
36: e(t.coolGrey[70], 0.36),
|
|
192
|
+
48: e(t.coolGrey[70], 0.48),
|
|
193
|
+
60: e(t.coolGrey[70], 0.6),
|
|
194
|
+
72: e(t.coolGrey[70], 0.72)
|
|
195
195
|
},
|
|
196
196
|
marbel: {
|
|
197
|
-
4: t
|
|
198
|
-
12: t
|
|
199
|
-
24: t
|
|
200
|
-
36: t
|
|
201
|
-
48: t
|
|
202
|
-
60: t
|
|
203
|
-
72: t
|
|
197
|
+
4: e(t.marbleLight[10], 0.04),
|
|
198
|
+
12: e(t.marbleLight[10], 0.12),
|
|
199
|
+
24: e(t.marbleLight[10], 0.24),
|
|
200
|
+
36: e(t.marbleLight[10], 0.36),
|
|
201
|
+
48: e(t.marbleLight[10], 0.48),
|
|
202
|
+
60: e(t.marbleLight[10], 0.6),
|
|
203
|
+
72: e(t.marbleLight[10], 0.72)
|
|
204
204
|
}
|
|
205
|
-
},
|
|
206
|
-
lighter:
|
|
207
|
-
light:
|
|
208
|
-
main:
|
|
209
|
-
dark:
|
|
210
|
-
darker:
|
|
211
|
-
contrastText:
|
|
212
|
-
},
|
|
205
|
+
}, M = {
|
|
206
|
+
lighter: t.patronusBlue[70],
|
|
207
|
+
light: t.patronusBlue[60],
|
|
208
|
+
main: t.patronusBlue[50],
|
|
209
|
+
dark: t.patronusBlue[40],
|
|
210
|
+
darker: t.patronusBlue[20],
|
|
211
|
+
contrastText: t.marbleLight[10]
|
|
212
|
+
}, A = {
|
|
213
213
|
lighter: "#fff0",
|
|
214
214
|
light: "#fff0",
|
|
215
215
|
main: "#fff0",
|
|
216
216
|
dark: "#fff0",
|
|
217
217
|
darker: "#fff0"
|
|
218
|
-
},
|
|
218
|
+
}, f = {
|
|
219
219
|
lighter: "#fff0",
|
|
220
220
|
light: "#fff0",
|
|
221
|
-
main:
|
|
221
|
+
main: t.crayonBlue[50],
|
|
222
222
|
dark: "#fff0",
|
|
223
223
|
darker: "#fff0",
|
|
224
|
-
opacity: t
|
|
225
|
-
},
|
|
224
|
+
opacity: e(t.crayonBlue[50], 0.08)
|
|
225
|
+
}, y = {
|
|
226
226
|
lighter: "#fff0",
|
|
227
227
|
light: "#fff0",
|
|
228
|
-
main:
|
|
228
|
+
main: t.acidGreen[60],
|
|
229
229
|
dark: "#fff0",
|
|
230
230
|
darker: "#fff0",
|
|
231
|
-
opacity: t
|
|
232
|
-
},
|
|
231
|
+
opacity: e(t.acidGreen[60], 0.08)
|
|
232
|
+
}, v = {
|
|
233
233
|
lighter: "#fff0",
|
|
234
234
|
light: "#fff0",
|
|
235
|
-
main:
|
|
235
|
+
main: t.middleYellow[60],
|
|
236
236
|
dark: "#fff0",
|
|
237
237
|
darker: "#fff0",
|
|
238
|
-
opacity: t
|
|
239
|
-
},
|
|
238
|
+
opacity: e(t.middleYellow[60], 0.08)
|
|
239
|
+
}, B = {
|
|
240
240
|
lighter: "#fff0",
|
|
241
241
|
light: "#fff0",
|
|
242
|
-
main:
|
|
242
|
+
main: t.flameRed[40],
|
|
243
243
|
dark: "#fff0",
|
|
244
244
|
darker: "#fff0",
|
|
245
|
-
opacity: t
|
|
245
|
+
opacity: e(t.flameRed[40], 0.08)
|
|
246
246
|
}, x = {
|
|
247
247
|
0: "#FFFFFF",
|
|
248
248
|
100: "#F9FAFB",
|
|
@@ -254,180 +254,180 @@ const r = {
|
|
|
254
254
|
700: "#454F5B",
|
|
255
255
|
800: "#212B36",
|
|
256
256
|
900: "#161C24",
|
|
257
|
-
5008:
|
|
258
|
-
50012:
|
|
259
|
-
50016:
|
|
260
|
-
50024:
|
|
261
|
-
50032:
|
|
262
|
-
50048:
|
|
263
|
-
50056:
|
|
264
|
-
50080:
|
|
265
|
-
},
|
|
266
|
-
primary: c(
|
|
267
|
-
info: c(
|
|
268
|
-
success: c(
|
|
269
|
-
warning: c(
|
|
270
|
-
error: c(
|
|
271
|
-
},
|
|
257
|
+
5008: e("#919EAB", 0.08),
|
|
258
|
+
50012: e("#919EAB", 0.12),
|
|
259
|
+
50016: e("#919EAB", 0.16),
|
|
260
|
+
50024: e("#919EAB", 0.24),
|
|
261
|
+
50032: e("#919EAB", 0.32),
|
|
262
|
+
50048: e("#919EAB", 0.48),
|
|
263
|
+
50056: e("#919EAB", 0.56),
|
|
264
|
+
50080: e("#919EAB", 0.8)
|
|
265
|
+
}, m = {
|
|
266
|
+
primary: c(M.light, M.main),
|
|
267
|
+
info: c(f.light, f.main),
|
|
268
|
+
success: c(y.light, y.main),
|
|
269
|
+
warning: c(v.light, v.main),
|
|
270
|
+
error: c(B.light, B.main)
|
|
271
|
+
}, z = {
|
|
272
272
|
violet: ["#826AF9", "#9E86FF", "#D0AEFF", "#F7D2FF"],
|
|
273
273
|
blue: ["#2D99FF", "#83CFFF", "#A5F3FF", "#CCFAFF"],
|
|
274
274
|
green: ["#2CD9C5", "#60F1C8", "#A4F7CC", "#C0F2DC"],
|
|
275
275
|
yellow: ["#FFE700", "#FFEF5A", "#FFF7AE", "#FFF3D6"],
|
|
276
276
|
red: ["#FF6C40", "#FF8F6D", "#FFBD98", "#FFF2D4"]
|
|
277
|
-
},
|
|
278
|
-
normal:
|
|
279
|
-
hover:
|
|
277
|
+
}, D = {
|
|
278
|
+
normal: t.crayonBlue[50],
|
|
279
|
+
hover: t.crayonBlue[70]
|
|
280
|
+
}, H = {
|
|
281
|
+
normal: t.acidGreen[60],
|
|
282
|
+
hover: t.acidGreen[70]
|
|
280
283
|
}, G = {
|
|
281
|
-
normal:
|
|
282
|
-
hover:
|
|
284
|
+
normal: t.flameRed[40],
|
|
285
|
+
hover: t.flameRed[60]
|
|
283
286
|
}, E = {
|
|
284
|
-
normal:
|
|
285
|
-
hover:
|
|
286
|
-
}, H = {
|
|
287
|
-
normal: r.flameRed[60],
|
|
288
|
-
hover: r.flameRed[70]
|
|
287
|
+
normal: t.flameRed[60],
|
|
288
|
+
hover: t.flameRed[70]
|
|
289
289
|
}, P = {
|
|
290
|
-
default: t
|
|
291
|
-
transition: t
|
|
290
|
+
default: e(t.coolGrey[50], 0.24),
|
|
291
|
+
transition: e(t.coolGrey[50], 0.08)
|
|
292
292
|
}, l = {
|
|
293
|
-
info: { ...
|
|
294
|
-
success: { ...
|
|
295
|
-
error: { ...
|
|
296
|
-
warning: { ...
|
|
293
|
+
info: { ...D },
|
|
294
|
+
success: { ...H },
|
|
295
|
+
error: { ...G },
|
|
296
|
+
warning: { ...E },
|
|
297
297
|
skeleton: { ...P }
|
|
298
|
-
},
|
|
298
|
+
}, C = {
|
|
299
299
|
common: { black: "#000", white: "#fff" },
|
|
300
|
-
primary: { ...
|
|
300
|
+
primary: { ...M },
|
|
301
301
|
state: {
|
|
302
302
|
...l
|
|
303
303
|
},
|
|
304
|
-
patronus: { ...
|
|
305
|
-
opacity: {
|
|
306
|
-
secondary: { ...
|
|
307
|
-
info: { ...
|
|
308
|
-
success: { ...
|
|
309
|
-
warning: { ...
|
|
310
|
-
error: { ...
|
|
304
|
+
patronus: { ...t },
|
|
305
|
+
opacity: { ...$ },
|
|
306
|
+
secondary: { ...A, contrastText: "#fff" },
|
|
307
|
+
info: { ...f, contrastText: "#fff" },
|
|
308
|
+
success: { ...y, contrastText: x[800] },
|
|
309
|
+
warning: { ...v, contrastText: x[800] },
|
|
310
|
+
error: { ...B, contrastText: "#fff" },
|
|
311
311
|
grey: x,
|
|
312
|
-
gradients:
|
|
313
|
-
chart:
|
|
312
|
+
gradients: m,
|
|
313
|
+
chart: z,
|
|
314
314
|
divider: x[50024],
|
|
315
315
|
action: {
|
|
316
316
|
hoverOpacity: 0.08,
|
|
317
317
|
disabledOpacity: 0.48
|
|
318
318
|
}
|
|
319
|
-
},
|
|
319
|
+
}, s = {
|
|
320
320
|
light: {
|
|
321
|
-
...
|
|
321
|
+
...C,
|
|
322
322
|
mode: "light",
|
|
323
323
|
text: {
|
|
324
|
-
primary:
|
|
325
|
-
secondary:
|
|
326
|
-
disabled:
|
|
324
|
+
primary: t.ashBlak[10],
|
|
325
|
+
secondary: t.coolGrey[40],
|
|
326
|
+
disabled: t.coolGrey[10]
|
|
327
327
|
},
|
|
328
328
|
background: {
|
|
329
329
|
paper: "#fff0",
|
|
330
|
-
default:
|
|
331
|
-
neutral:
|
|
332
|
-
background:
|
|
330
|
+
default: t.marbleLight[10],
|
|
331
|
+
neutral: t.marbleLight[30],
|
|
332
|
+
background: t.marbleLight[50]
|
|
333
333
|
},
|
|
334
334
|
grid: { sectionHeader: "#F6F7F9", divider: "#EDEFF2", rowHover: "#FAFBFC" }
|
|
335
335
|
},
|
|
336
336
|
dark: {
|
|
337
|
-
...
|
|
337
|
+
...C,
|
|
338
338
|
mode: "dark",
|
|
339
339
|
text: {
|
|
340
|
-
primary:
|
|
341
|
-
secondary:
|
|
342
|
-
disabled:
|
|
340
|
+
primary: t.marbleLight[30],
|
|
341
|
+
secondary: t.coolGrey[20],
|
|
342
|
+
disabled: t.coolGrey[50]
|
|
343
343
|
},
|
|
344
344
|
background: {
|
|
345
345
|
paper: "#fff0",
|
|
346
|
-
default:
|
|
347
|
-
neutral:
|
|
348
|
-
background:
|
|
346
|
+
default: t.ashBlak[10],
|
|
347
|
+
neutral: t.ashBlak[30],
|
|
348
|
+
background: t.ashBlak[50]
|
|
349
349
|
},
|
|
350
350
|
grid: { sectionHeader: "#29313A", divider: "#3E464F", rowHover: "#1F262F" }
|
|
351
351
|
}
|
|
352
352
|
}, g = [
|
|
353
353
|
{
|
|
354
354
|
name: "patronus",
|
|
355
|
-
lighter:
|
|
356
|
-
light:
|
|
357
|
-
main:
|
|
358
|
-
dark:
|
|
359
|
-
darker:
|
|
360
|
-
contrastText:
|
|
355
|
+
lighter: t.patronusBlue[70],
|
|
356
|
+
light: t.patronusBlue[60],
|
|
357
|
+
main: t.patronusBlue[50],
|
|
358
|
+
dark: t.patronusBlue[40],
|
|
359
|
+
darker: t.patronusBlue[20],
|
|
360
|
+
contrastText: t.marbleLight[10]
|
|
361
361
|
},
|
|
362
362
|
{
|
|
363
363
|
name: "turqui",
|
|
364
|
-
lighter:
|
|
365
|
-
light:
|
|
366
|
-
main:
|
|
367
|
-
dark:
|
|
368
|
-
darker:
|
|
369
|
-
contrastText:
|
|
364
|
+
lighter: t.turquiBlue[80],
|
|
365
|
+
light: t.turquiBlue[60],
|
|
366
|
+
main: t.turquiBlue[40],
|
|
367
|
+
dark: t.turquiBlue[50],
|
|
368
|
+
darker: t.turquiBlue[20],
|
|
369
|
+
contrastText: t.marbleLight[10]
|
|
370
370
|
},
|
|
371
371
|
{
|
|
372
372
|
name: "grass",
|
|
373
|
-
lighter:
|
|
374
|
-
light:
|
|
375
|
-
main:
|
|
376
|
-
dark:
|
|
377
|
-
darker:
|
|
378
|
-
contrastText:
|
|
373
|
+
lighter: t.grassGreen[80],
|
|
374
|
+
light: t.grassGreen[50],
|
|
375
|
+
main: t.grassGreen[60],
|
|
376
|
+
dark: t.grassGreen[40],
|
|
377
|
+
darker: t.grassGreen[20],
|
|
378
|
+
contrastText: t.marbleLight[10]
|
|
379
379
|
},
|
|
380
380
|
{
|
|
381
381
|
name: "candy",
|
|
382
|
-
lighter:
|
|
383
|
-
light:
|
|
384
|
-
main:
|
|
385
|
-
dark:
|
|
386
|
-
darker:
|
|
387
|
-
contrastText:
|
|
382
|
+
lighter: t.candyRed[70],
|
|
383
|
+
light: t.candyRed[60],
|
|
384
|
+
main: t.candyRed[50],
|
|
385
|
+
dark: t.candyRed[40],
|
|
386
|
+
darker: t.candyRed[30],
|
|
387
|
+
contrastText: t.marbleLight[10]
|
|
388
388
|
},
|
|
389
389
|
{
|
|
390
390
|
name: "blaze",
|
|
391
|
-
lighter:
|
|
392
|
-
light:
|
|
393
|
-
main:
|
|
394
|
-
dark:
|
|
395
|
-
darker:
|
|
396
|
-
contrastText:
|
|
391
|
+
lighter: t.blazeOrange[80],
|
|
392
|
+
light: t.blazeOrange[50],
|
|
393
|
+
main: t.blazeOrange[60],
|
|
394
|
+
dark: t.blazeOrange[40],
|
|
395
|
+
darker: t.blazeOrange[20],
|
|
396
|
+
contrastText: t.marbleLight[10]
|
|
397
397
|
}
|
|
398
|
-
],
|
|
399
|
-
function
|
|
398
|
+
], h = g[0], W = g[1], q = g[2], N = g[3], j = g[4];
|
|
399
|
+
function _(o) {
|
|
400
400
|
try {
|
|
401
401
|
return {
|
|
402
|
-
patronus:
|
|
402
|
+
patronus: h,
|
|
403
403
|
turqui: W,
|
|
404
|
-
grass:
|
|
405
|
-
candy:
|
|
406
|
-
blaze:
|
|
404
|
+
grass: q,
|
|
405
|
+
candy: N,
|
|
406
|
+
blaze: j
|
|
407
407
|
}[o];
|
|
408
408
|
} catch {
|
|
409
409
|
}
|
|
410
|
-
return
|
|
410
|
+
return h;
|
|
411
411
|
}
|
|
412
|
-
const
|
|
412
|
+
const dt = (o, r) => {
|
|
413
413
|
let a = {};
|
|
414
414
|
switch (o) {
|
|
415
415
|
case "patronus":
|
|
416
416
|
a = {
|
|
417
417
|
light: {
|
|
418
|
-
active12: n(
|
|
419
|
-
active:
|
|
420
|
-
focus:
|
|
421
|
-
hover:
|
|
422
|
-
default: n(
|
|
418
|
+
active12: n(t.patronusBlue[50], 0.12),
|
|
419
|
+
active: t.patronusBlue[50],
|
|
420
|
+
focus: t.patronusBlue[70],
|
|
421
|
+
hover: t.patronusBlue[60],
|
|
422
|
+
default: n(t.coolGrey[70], 0.12),
|
|
423
423
|
...l
|
|
424
424
|
},
|
|
425
425
|
dark: {
|
|
426
|
-
active12: n(
|
|
427
|
-
active:
|
|
428
|
-
focus:
|
|
429
|
-
hover:
|
|
430
|
-
default: n(
|
|
426
|
+
active12: n(t.patronusBlue[50], 0.12),
|
|
427
|
+
active: t.patronusBlue[50],
|
|
428
|
+
focus: t.patronusBlue[30],
|
|
429
|
+
hover: t.patronusBlue[40],
|
|
430
|
+
default: n(t.marbleLight[10], 0.12),
|
|
431
431
|
...l
|
|
432
432
|
}
|
|
433
433
|
};
|
|
@@ -435,19 +435,19 @@ const nr = (o, e) => {
|
|
|
435
435
|
case "turqui":
|
|
436
436
|
a = {
|
|
437
437
|
light: {
|
|
438
|
-
active12: n(
|
|
439
|
-
active:
|
|
440
|
-
focus:
|
|
441
|
-
hover:
|
|
442
|
-
default: n(
|
|
438
|
+
active12: n(t.turquiBlue[50], 0.12),
|
|
439
|
+
active: t.turquiBlue[50],
|
|
440
|
+
focus: t.turquiBlue[70],
|
|
441
|
+
hover: t.turquiBlue[60],
|
|
442
|
+
default: n(t.coolGrey[70], 0.12),
|
|
443
443
|
...l
|
|
444
444
|
},
|
|
445
445
|
dark: {
|
|
446
|
-
active12: n(
|
|
447
|
-
active:
|
|
448
|
-
focus:
|
|
449
|
-
hover:
|
|
450
|
-
default: n(
|
|
446
|
+
active12: n(t.turquiBlue[50], 0.12),
|
|
447
|
+
active: t.turquiBlue[50],
|
|
448
|
+
focus: t.turquiBlue[30],
|
|
449
|
+
hover: t.turquiBlue[40],
|
|
450
|
+
default: n(t.marbleLight[10], 0.12),
|
|
451
451
|
...l
|
|
452
452
|
}
|
|
453
453
|
};
|
|
@@ -455,19 +455,19 @@ const nr = (o, e) => {
|
|
|
455
455
|
case "grass":
|
|
456
456
|
a = {
|
|
457
457
|
light: {
|
|
458
|
-
active12: n(
|
|
459
|
-
active:
|
|
460
|
-
focus:
|
|
461
|
-
hover:
|
|
462
|
-
default: n(
|
|
458
|
+
active12: n(t.grassGreen[50], 0.12),
|
|
459
|
+
active: t.grassGreen[50],
|
|
460
|
+
focus: t.grassGreen[70],
|
|
461
|
+
hover: t.grassGreen[60],
|
|
462
|
+
default: n(t.coolGrey[70], 0.12),
|
|
463
463
|
...l
|
|
464
464
|
},
|
|
465
465
|
dark: {
|
|
466
|
-
active12: n(
|
|
467
|
-
active:
|
|
468
|
-
focus:
|
|
469
|
-
hover:
|
|
470
|
-
default: n(
|
|
466
|
+
active12: n(t.grassGreen[50], 0.12),
|
|
467
|
+
active: t.grassGreen[50],
|
|
468
|
+
focus: t.grassGreen[30],
|
|
469
|
+
hover: t.grassGreen[40],
|
|
470
|
+
default: n(t.marbleLight[10], 0.12),
|
|
471
471
|
...l
|
|
472
472
|
}
|
|
473
473
|
};
|
|
@@ -475,19 +475,19 @@ const nr = (o, e) => {
|
|
|
475
475
|
case "candy":
|
|
476
476
|
a = {
|
|
477
477
|
light: {
|
|
478
|
-
active12: n(
|
|
479
|
-
active:
|
|
480
|
-
focus:
|
|
481
|
-
hover:
|
|
482
|
-
default: n(
|
|
478
|
+
active12: n(t.candyRed[50], 0.12),
|
|
479
|
+
active: t.candyRed[50],
|
|
480
|
+
focus: t.candyRed[70],
|
|
481
|
+
hover: t.candyRed[60],
|
|
482
|
+
default: n(t.coolGrey[70], 0.12),
|
|
483
483
|
...l
|
|
484
484
|
},
|
|
485
485
|
dark: {
|
|
486
|
-
active12: n(
|
|
487
|
-
active:
|
|
488
|
-
focus:
|
|
489
|
-
hover:
|
|
490
|
-
default: n(
|
|
486
|
+
active12: n(t.candyRed[50], 0.12),
|
|
487
|
+
active: t.candyRed[50],
|
|
488
|
+
focus: t.candyRed[30],
|
|
489
|
+
hover: t.candyRed[40],
|
|
490
|
+
default: n(t.marbleLight[10], 0.12),
|
|
491
491
|
...l
|
|
492
492
|
}
|
|
493
493
|
};
|
|
@@ -495,19 +495,19 @@ const nr = (o, e) => {
|
|
|
495
495
|
case "blaze":
|
|
496
496
|
a = {
|
|
497
497
|
light: {
|
|
498
|
-
active12: n(
|
|
499
|
-
active:
|
|
500
|
-
focus:
|
|
501
|
-
hover:
|
|
502
|
-
default: n(
|
|
498
|
+
active12: n(t.blazeOrange[50], 0.12),
|
|
499
|
+
active: t.blazeOrange[50],
|
|
500
|
+
focus: t.blazeOrange[70],
|
|
501
|
+
hover: t.blazeOrange[60],
|
|
502
|
+
default: n(t.coolGrey[70], 0.12),
|
|
503
503
|
...l
|
|
504
504
|
},
|
|
505
505
|
dark: {
|
|
506
|
-
active12: n(
|
|
507
|
-
active:
|
|
508
|
-
focus:
|
|
509
|
-
hover:
|
|
510
|
-
default: n(
|
|
506
|
+
active12: n(t.blazeOrange[50], 0.12),
|
|
507
|
+
active: t.blazeOrange[50],
|
|
508
|
+
focus: t.blazeOrange[30],
|
|
509
|
+
hover: t.blazeOrange[40],
|
|
510
|
+
default: n(t.marbleLight[10], 0.12),
|
|
511
511
|
...l
|
|
512
512
|
}
|
|
513
513
|
};
|
|
@@ -515,64 +515,64 @@ const nr = (o, e) => {
|
|
|
515
515
|
default:
|
|
516
516
|
a = {
|
|
517
517
|
light: {
|
|
518
|
-
active12: n(
|
|
519
|
-
active:
|
|
520
|
-
focus:
|
|
521
|
-
hover:
|
|
522
|
-
default: n(
|
|
518
|
+
active12: n(t.turquiBlue[50], 0.12),
|
|
519
|
+
active: t.turquiBlue[50],
|
|
520
|
+
focus: t.turquiBlue[70],
|
|
521
|
+
hover: t.turquiBlue[60],
|
|
522
|
+
default: n(t.coolGrey[70], 0.12),
|
|
523
523
|
...l
|
|
524
524
|
},
|
|
525
525
|
dark: {
|
|
526
|
-
active12: n(
|
|
527
|
-
active:
|
|
528
|
-
focus:
|
|
529
|
-
hover:
|
|
530
|
-
default: n(
|
|
526
|
+
active12: n(t.turquiBlue[50], 0.12),
|
|
527
|
+
active: t.turquiBlue[50],
|
|
528
|
+
focus: t.turquiBlue[30],
|
|
529
|
+
hover: t.turquiBlue[40],
|
|
530
|
+
default: n(t.marbleLight[10], 0.12),
|
|
531
531
|
...l
|
|
532
532
|
}
|
|
533
533
|
};
|
|
534
534
|
break;
|
|
535
535
|
}
|
|
536
|
-
return
|
|
536
|
+
return r === "light" ? { ...a.light } : { ...a.dark };
|
|
537
537
|
};
|
|
538
|
-
function
|
|
538
|
+
function V(o) {
|
|
539
539
|
return Math.round(parseFloat(o) * 16);
|
|
540
540
|
}
|
|
541
|
-
function
|
|
541
|
+
function d(o) {
|
|
542
542
|
return `${o / 16}rem`;
|
|
543
543
|
}
|
|
544
|
-
function p({ sm: o, md:
|
|
544
|
+
function p({ sm: o, md: r, lg: a }) {
|
|
545
545
|
return {
|
|
546
546
|
"@media (min-width:0px)": {
|
|
547
547
|
fontSize: `${o}px`
|
|
548
548
|
},
|
|
549
549
|
"@media (min-width:900px)": {
|
|
550
|
-
fontSize: `${
|
|
550
|
+
fontSize: `${r}px`
|
|
551
551
|
},
|
|
552
552
|
"@media (min-width:1200px)": {
|
|
553
553
|
fontSize: `${a}px`
|
|
554
554
|
}
|
|
555
555
|
};
|
|
556
556
|
}
|
|
557
|
-
function
|
|
558
|
-
return [...
|
|
559
|
-
const
|
|
560
|
-
return !a &&
|
|
557
|
+
function Y() {
|
|
558
|
+
return [...S().breakpoints.keys].reverse().reduce((a, i) => {
|
|
559
|
+
const L = T("up", i);
|
|
560
|
+
return !a && L ? i : a;
|
|
561
561
|
}, null) || "xs";
|
|
562
562
|
}
|
|
563
|
-
function
|
|
564
|
-
const
|
|
565
|
-
return { fontSize:
|
|
563
|
+
function st(o) {
|
|
564
|
+
const r = S(), a = Y(), i = r.breakpoints.up(a === "xl" ? "lg" : a), F = (o === "h1" || o === "h2" || o === "h3" || o === "h4" || o === "h5" || o === "h6") && r.typography[o][i] ? r.typography[o][i] : r.typography[o], k = V(F.fontSize), w = Number(r.typography[o].lineHeight) * k, { fontWeight: R, letterSpacing: O } = r.typography[o];
|
|
565
|
+
return { fontSize: k, lineHeight: w, fontWeight: R, letterSpacing: O };
|
|
566
566
|
}
|
|
567
|
-
const
|
|
568
|
-
fontFamily:
|
|
567
|
+
const U = "Poppins, sans-serif", K = {
|
|
568
|
+
fontFamily: U,
|
|
569
569
|
fontWeightRegular: 400,
|
|
570
570
|
fontWeightMedium: 600,
|
|
571
571
|
fontWeightBold: 700,
|
|
572
572
|
h1: {
|
|
573
573
|
fontWeight: 700,
|
|
574
574
|
lineHeight: 1.5,
|
|
575
|
-
...p({ sm:
|
|
575
|
+
...p({ sm: 38, md: 40, lg: 40 })
|
|
576
576
|
},
|
|
577
577
|
h2: {
|
|
578
578
|
fontWeight: 700,
|
|
@@ -582,7 +582,7 @@ const V = "Poppins, sans-serif", U = {
|
|
|
582
582
|
h3: {
|
|
583
583
|
fontWeight: 600,
|
|
584
584
|
lineHeight: 1.5,
|
|
585
|
-
...p({ sm:
|
|
585
|
+
...p({ sm: 30, md: 32, lg: 32 })
|
|
586
586
|
},
|
|
587
587
|
h4: {
|
|
588
588
|
fontWeight: 700,
|
|
@@ -592,7 +592,7 @@ const V = "Poppins, sans-serif", U = {
|
|
|
592
592
|
h5: {
|
|
593
593
|
fontWeight: 600,
|
|
594
594
|
lineHeight: 1.5,
|
|
595
|
-
...p({ sm:
|
|
595
|
+
...p({ sm: 22, md: 24, lg: 24 })
|
|
596
596
|
},
|
|
597
597
|
h6: {
|
|
598
598
|
fontWeight: 700,
|
|
@@ -612,7 +612,7 @@ const V = "Poppins, sans-serif", U = {
|
|
|
612
612
|
paragraph: {
|
|
613
613
|
fontWeight: 400,
|
|
614
614
|
lineHeight: 1.429,
|
|
615
|
-
...p({ sm: 16, md:
|
|
615
|
+
...p({ sm: 16, md: 14, lg: 14 })
|
|
616
616
|
},
|
|
617
617
|
paragraphDens: {
|
|
618
618
|
fontWeight: 600,
|
|
@@ -622,12 +622,12 @@ const V = "Poppins, sans-serif", U = {
|
|
|
622
622
|
subtitle1: {
|
|
623
623
|
fontWeight: 600,
|
|
624
624
|
lineHeight: 1.5,
|
|
625
|
-
fontSize:
|
|
625
|
+
fontSize: d(14)
|
|
626
626
|
},
|
|
627
627
|
subtitle2: {
|
|
628
628
|
fontWeight: 600,
|
|
629
629
|
lineHeight: 1.5,
|
|
630
|
-
fontSize:
|
|
630
|
+
fontSize: d(12)
|
|
631
631
|
},
|
|
632
632
|
body: {
|
|
633
633
|
fontWeight: 400,
|
|
@@ -637,37 +637,37 @@ const V = "Poppins, sans-serif", U = {
|
|
|
637
637
|
bodyDens: {
|
|
638
638
|
fontWeight: 700,
|
|
639
639
|
lineHeight: 1.143,
|
|
640
|
-
...p({ sm:
|
|
640
|
+
...p({ sm: 16, md: 12, lg: 12 })
|
|
641
641
|
},
|
|
642
642
|
body0: {
|
|
643
643
|
lineHeight: 1.5,
|
|
644
644
|
fontWeight: 400,
|
|
645
|
-
fontSize:
|
|
645
|
+
fontSize: d(16)
|
|
646
646
|
},
|
|
647
647
|
body1: {
|
|
648
648
|
lineHeight: 1.5,
|
|
649
649
|
fontWeight: 400,
|
|
650
|
-
fontSize:
|
|
650
|
+
fontSize: d(14)
|
|
651
651
|
},
|
|
652
652
|
body2: {
|
|
653
653
|
lineHeight: 1.5,
|
|
654
654
|
fontWeight: 400,
|
|
655
|
-
fontSize:
|
|
655
|
+
fontSize: d(12)
|
|
656
656
|
},
|
|
657
657
|
caption: {
|
|
658
658
|
lineHeight: 1.5,
|
|
659
|
-
fontSize:
|
|
659
|
+
fontSize: d(11)
|
|
660
660
|
},
|
|
661
661
|
overline: {
|
|
662
662
|
fontWeight: 700,
|
|
663
663
|
lineHeight: 1.5,
|
|
664
|
-
fontSize:
|
|
664
|
+
fontSize: d(12),
|
|
665
665
|
textTransform: "uppercase"
|
|
666
666
|
},
|
|
667
667
|
button: {
|
|
668
668
|
fontWeight: 700,
|
|
669
669
|
lineHeight: 24 / 14,
|
|
670
|
-
fontSize:
|
|
670
|
+
fontSize: d(14),
|
|
671
671
|
textTransform: "capitalize"
|
|
672
672
|
},
|
|
673
673
|
action: {
|
|
@@ -675,72 +675,82 @@ const V = "Poppins, sans-serif", U = {
|
|
|
675
675
|
lineHeight: 1.667,
|
|
676
676
|
...p({ sm: 14, md: 12, lg: 12 })
|
|
677
677
|
}
|
|
678
|
-
},
|
|
679
|
-
|
|
680
|
-
}, K = d.light.grey[500], J = "#000000", m = (o) => {
|
|
681
|
-
const e = t(o, 0.2), a = t(o, 0.14), i = t(o, 0.12);
|
|
678
|
+
}, J = s.light.grey[500], Q = "#000000", I = (o) => {
|
|
679
|
+
const r = e(o, 0.2), a = e(o, 0.14), i = e(o, 0.12);
|
|
682
680
|
return [
|
|
683
681
|
"none",
|
|
684
|
-
`0px 2px 1px -1px ${
|
|
685
|
-
`0px 3px 1px -2px ${
|
|
686
|
-
`0px 3px 3px -2px ${
|
|
687
|
-
`0px 2px 4px -1px ${
|
|
688
|
-
`0px 3px 5px -1px ${
|
|
689
|
-
`0px 3px 5px -1px ${
|
|
690
|
-
`0px 4px 5px -2px ${
|
|
691
|
-
`0px 5px 5px -3px ${
|
|
692
|
-
`0px 5px 6px -3px ${
|
|
693
|
-
`0px 6px 6px -3px ${
|
|
694
|
-
`0px 6px 7px -4px ${
|
|
695
|
-
`0px 7px 8px -4px ${
|
|
696
|
-
`0px 7px 8px -4px ${
|
|
697
|
-
`0px 7px 9px -4px ${
|
|
698
|
-
`0px 8px 9px -5px ${
|
|
699
|
-
`0px 8px 10px -5px ${
|
|
700
|
-
`0px 8px 11px -5px ${
|
|
701
|
-
`0px 9px 11px -5px ${
|
|
702
|
-
`0px 9px 12px -6px ${
|
|
703
|
-
`0px 10px 13px -6px ${
|
|
704
|
-
`0px 10px 13px -6px ${
|
|
705
|
-
`0px 10px 14px -6px ${
|
|
706
|
-
`0px 11px 14px -7px ${
|
|
707
|
-
`0px 11px 15px -7px ${
|
|
682
|
+
`0px 2px 1px -1px ${r},0px 1px 1px 0px ${a},0px 1px 3px 0px ${i}`,
|
|
683
|
+
`0px 3px 1px -2px ${r},0px 2px 2px 0px ${a},0px 1px 5px 0px ${i}`,
|
|
684
|
+
`0px 3px 3px -2px ${r},0px 3px 4px 0px ${a},0px 1px 8px 0px ${i}`,
|
|
685
|
+
`0px 2px 4px -1px ${r},0px 4px 5px 0px ${a},0px 1px 10px 0px ${i}`,
|
|
686
|
+
`0px 3px 5px -1px ${r},0px 5px 8px 0px ${a},0px 1px 14px 0px ${i}`,
|
|
687
|
+
`0px 3px 5px -1px ${r},0px 6px 10px 0px ${a},0px 1px 18px 0px ${i}`,
|
|
688
|
+
`0px 4px 5px -2px ${r},0px 7px 10px 1px ${a},0px 2px 16px 1px ${i}`,
|
|
689
|
+
`0px 5px 5px -3px ${r},0px 8px 10px 1px ${a},0px 3px 14px 2px ${i}`,
|
|
690
|
+
`0px 5px 6px -3px ${r},0px 9px 12px 1px ${a},0px 3px 16px 2px ${i}`,
|
|
691
|
+
`0px 6px 6px -3px ${r},0px 10px 14px 1px ${a},0px 4px 18px 3px ${i}`,
|
|
692
|
+
`0px 6px 7px -4px ${r},0px 11px 15px 1px ${a},0px 4px 20px 3px ${i}`,
|
|
693
|
+
`0px 7px 8px -4px ${r},0px 12px 17px 2px ${a},0px 5px 22px 4px ${i}`,
|
|
694
|
+
`0px 7px 8px -4px ${r},0px 13px 19px 2px ${a},0px 5px 24px 4px ${i}`,
|
|
695
|
+
`0px 7px 9px -4px ${r},0px 14px 21px 2px ${a},0px 5px 26px 4px ${i}`,
|
|
696
|
+
`0px 8px 9px -5px ${r},0px 15px 22px 2px ${a},0px 6px 28px 5px ${i}`,
|
|
697
|
+
`0px 8px 10px -5px ${r},0px 16px 24px 2px ${a},0px 6px 30px 5px ${i}`,
|
|
698
|
+
`0px 8px 11px -5px ${r},0px 17px 26px 2px ${a},0px 6px 32px 5px ${i}`,
|
|
699
|
+
`0px 9px 11px -5px ${r},0px 18px 28px 2px ${a},0px 7px 34px 6px ${i}`,
|
|
700
|
+
`0px 9px 12px -6px ${r},0px 19px 29px 2px ${a},0px 7px 36px 6px ${i}`,
|
|
701
|
+
`0px 10px 13px -6px ${r},0px 20px 31px 3px ${a},0px 8px 38px 7px ${i}`,
|
|
702
|
+
`0px 10px 13px -6px ${r},0px 21px 33px 3px ${a},0px 8px 40px 7px ${i}`,
|
|
703
|
+
`0px 10px 14px -6px ${r},0px 22px 35px 3px ${a},0px 8px 42px 7px ${i}`,
|
|
704
|
+
`0px 11px 14px -7px ${r},0px 23px 36px 3px ${a},0px 9px 44px 8px ${i}`,
|
|
705
|
+
`0px 11px 15px -7px ${r},0px 24px 38px 3px ${a},0px 9px 46px 8px ${i}`
|
|
708
706
|
];
|
|
709
|
-
},
|
|
710
|
-
const
|
|
711
|
-
info: `0px 2px 8px 0px ${t
|
|
712
|
-
secondary: `0px 2px 8px 0px ${
|
|
713
|
-
success: `0px 2px 8px 0px ${t
|
|
714
|
-
warning: `0px 2px 8px 0px ${t
|
|
715
|
-
error: `0px 2px 8px 0px ${t
|
|
716
|
-
card: `0 0 2px 0 ${
|
|
717
|
-
|
|
707
|
+
}, X = (o) => {
|
|
708
|
+
const r = {
|
|
709
|
+
info: `0px 2px 8px 0px ${e(t.patronusBlue[50], 0.2)}`,
|
|
710
|
+
secondary: `0px 2px 8px 0px ${e(s.light.secondary.main, 0.24)}`,
|
|
711
|
+
success: `0px 2px 8px 0px ${e(t.acidGreen[50], 0.2)}`,
|
|
712
|
+
warning: `0px 2px 8px 0px ${e(t.middleYellow[50], 0.2)}`,
|
|
713
|
+
error: `0px 2px 8px 0px ${e(t.flameRed[50], 0.2)}`,
|
|
714
|
+
card: `0 0 2px 0 ${e(s.light.grey[500], 0.2)}, 0 12px 24px -4px ${e(
|
|
715
|
+
s.light.grey[500],
|
|
718
716
|
0.12
|
|
719
717
|
)}`,
|
|
720
|
-
dialog: `-40px 40px 80px -8px ${
|
|
721
|
-
dropdown: `0 0 2px 0 ${
|
|
722
|
-
|
|
718
|
+
dialog: `-40px 40px 80px -8px ${e(s.light.common.black, 0.24)}`,
|
|
719
|
+
dropdown: `0 0 2px 0 ${e(s.light.grey[500], 0.24)}, -20px 20px 40px -4px ${e(
|
|
720
|
+
s.light.grey[500],
|
|
723
721
|
0.24
|
|
724
722
|
)}`
|
|
725
723
|
};
|
|
726
724
|
return o === "light" ? {
|
|
727
|
-
z1: `0px 1px 2px ${t
|
|
728
|
-
z2: `0px 2px 2px 1px ${t
|
|
729
|
-
z3: `0px 4px 8px ${t
|
|
730
|
-
z4: `0px 8px 16px 1px ${t
|
|
731
|
-
...
|
|
725
|
+
z1: `0px 1px 2px ${e(t.coolGrey[70], 0.12)}`,
|
|
726
|
+
z2: `0px 2px 2px 1px ${e(t.coolGrey[70], 0.12)}`,
|
|
727
|
+
z3: `0px 4px 8px ${e(t.coolGrey[70], 0.16)}`,
|
|
728
|
+
z4: `0px 8px 16px 1px ${e(t.coolGrey[70], 0.16)}`,
|
|
729
|
+
...r
|
|
732
730
|
} : {
|
|
733
|
-
z1: `0px 1px 2px ${t
|
|
734
|
-
z2: `0px 2px 2px 1px ${t
|
|
735
|
-
z3: `0px 4px 8px 1px ${t
|
|
736
|
-
z4: `0px 8px 16px 4px ${t
|
|
737
|
-
...
|
|
731
|
+
z1: `0px 1px 2px ${e(t.ashBlak[50], 0.4)}`,
|
|
732
|
+
z2: `0px 2px 2px 1px ${e(t.ashBlak[50], 0.4)}`,
|
|
733
|
+
z3: `0px 4px 8px 1px ${e(t.ashBlak[60], 0.4)}`,
|
|
734
|
+
z4: `0px 8px 16px 4px ${e(t.ashBlak[60], 0.4)}`,
|
|
735
|
+
...r
|
|
738
736
|
};
|
|
739
|
-
},
|
|
740
|
-
light:
|
|
741
|
-
dark:
|
|
737
|
+
}, Z = {
|
|
738
|
+
light: I(J),
|
|
739
|
+
dark: I(Q)
|
|
740
|
+
}, ut = {
|
|
741
|
+
typography: K,
|
|
742
|
+
palette: s.light,
|
|
743
|
+
shape: { borderRadius: 8 },
|
|
744
|
+
shadows: Z.light,
|
|
745
|
+
customShadows: {
|
|
746
|
+
...X("light"),
|
|
747
|
+
primary: `0 8px 16px 0 ${b(
|
|
748
|
+
_("patronus").main,
|
|
749
|
+
0.24
|
|
750
|
+
)}`
|
|
751
|
+
}
|
|
742
752
|
};
|
|
743
|
-
function
|
|
753
|
+
function oo(o) {
|
|
744
754
|
return {
|
|
745
755
|
MuiAvatar: {
|
|
746
756
|
styleOverrides: {
|
|
@@ -765,7 +775,7 @@ function Q(o) {
|
|
|
765
775
|
}
|
|
766
776
|
};
|
|
767
777
|
}
|
|
768
|
-
function
|
|
778
|
+
function to(o) {
|
|
769
779
|
return {
|
|
770
780
|
MuiButton: {
|
|
771
781
|
styleOverrides: {
|
|
@@ -780,28 +790,28 @@ function X(o) {
|
|
|
780
790
|
},
|
|
781
791
|
containedInherit: {
|
|
782
792
|
color: o.palette.grey[800],
|
|
783
|
-
boxShadow: o.customShadows
|
|
793
|
+
boxShadow: o.customShadows?.z1,
|
|
784
794
|
"&:hover": {
|
|
785
795
|
backgroundColor: o.palette.grey[400]
|
|
786
796
|
}
|
|
787
797
|
},
|
|
788
798
|
containedPrimary: {
|
|
789
|
-
boxShadow: o.customShadows
|
|
799
|
+
boxShadow: o.customShadows?.z4
|
|
790
800
|
},
|
|
791
801
|
containedSecondary: {
|
|
792
|
-
boxShadow: o.customShadows
|
|
802
|
+
boxShadow: o.customShadows?.secondary
|
|
793
803
|
},
|
|
794
804
|
containedInfo: {
|
|
795
|
-
boxShadow: o.customShadows
|
|
805
|
+
boxShadow: o.customShadows?.info
|
|
796
806
|
},
|
|
797
807
|
containedSuccess: {
|
|
798
|
-
boxShadow: o.customShadows
|
|
808
|
+
boxShadow: o.customShadows?.success
|
|
799
809
|
},
|
|
800
810
|
containedWarning: {
|
|
801
|
-
boxShadow: o.customShadows
|
|
811
|
+
boxShadow: o.customShadows?.warning
|
|
802
812
|
},
|
|
803
813
|
containedError: {
|
|
804
|
-
boxShadow: o.customShadows
|
|
814
|
+
boxShadow: o.customShadows?.error
|
|
805
815
|
},
|
|
806
816
|
outlinedInherit: {
|
|
807
817
|
border: `1px solid ${o.palette.grey[50032]}`,
|
|
@@ -818,7 +828,7 @@ function X(o) {
|
|
|
818
828
|
}
|
|
819
829
|
};
|
|
820
830
|
}
|
|
821
|
-
function
|
|
831
|
+
function eo(o) {
|
|
822
832
|
return {
|
|
823
833
|
MuiIconButton: {
|
|
824
834
|
styleOverrides: {
|
|
@@ -842,7 +852,7 @@ function Z(o) {
|
|
|
842
852
|
}
|
|
843
853
|
};
|
|
844
854
|
}
|
|
845
|
-
function
|
|
855
|
+
function ro(o) {
|
|
846
856
|
return console.log("test theme", o.palette), {
|
|
847
857
|
MuiFab: {
|
|
848
858
|
defaultProps: {
|
|
@@ -850,20 +860,20 @@ function oo(o) {
|
|
|
850
860
|
},
|
|
851
861
|
styleOverrides: {
|
|
852
862
|
root: {
|
|
853
|
-
boxShadow: o.customShadows
|
|
863
|
+
boxShadow: o.customShadows?.z4,
|
|
854
864
|
"&:hover": {
|
|
855
865
|
boxShadow: "none",
|
|
856
866
|
backgroundColor: o.palette.grey[400]
|
|
857
867
|
}
|
|
858
868
|
},
|
|
859
869
|
primary: {
|
|
860
|
-
boxShadow: o.customShadows
|
|
870
|
+
boxShadow: o.customShadows?.primary,
|
|
861
871
|
"&:hover": {
|
|
862
872
|
backgroundColor: o.palette.primary.dark
|
|
863
873
|
}
|
|
864
874
|
},
|
|
865
875
|
secondary: {
|
|
866
|
-
boxShadow: o.customShadows
|
|
876
|
+
boxShadow: o.customShadows?.secondary,
|
|
867
877
|
"&:hover": {
|
|
868
878
|
backgroundColor: o.palette.secondary.dark
|
|
869
879
|
}
|
|
@@ -877,13 +887,13 @@ function oo(o) {
|
|
|
877
887
|
}
|
|
878
888
|
};
|
|
879
889
|
}
|
|
880
|
-
function
|
|
890
|
+
function ao(o) {
|
|
881
891
|
return {
|
|
882
892
|
MuiCard: {
|
|
883
893
|
styleOverrides: {
|
|
884
894
|
root: {
|
|
885
895
|
position: "relative",
|
|
886
|
-
boxShadow: o.customShadows
|
|
896
|
+
boxShadow: o.customShadows?.card,
|
|
887
897
|
borderRadius: Number(o.shape.borderRadius) * 2,
|
|
888
898
|
zIndex: 0
|
|
889
899
|
}
|
|
@@ -909,7 +919,7 @@ function ro(o) {
|
|
|
909
919
|
}
|
|
910
920
|
};
|
|
911
921
|
}
|
|
912
|
-
function
|
|
922
|
+
function io(o) {
|
|
913
923
|
return {
|
|
914
924
|
MuiTabs: {
|
|
915
925
|
styleOverrides: {
|
|
@@ -966,7 +976,7 @@ function to(o) {
|
|
|
966
976
|
}
|
|
967
977
|
};
|
|
968
978
|
}
|
|
969
|
-
function
|
|
979
|
+
function no(o) {
|
|
970
980
|
return {
|
|
971
981
|
MuiMenuItem: {
|
|
972
982
|
styleOverrides: {
|
|
@@ -982,7 +992,7 @@ function eo(o) {
|
|
|
982
992
|
}
|
|
983
993
|
};
|
|
984
994
|
}
|
|
985
|
-
function
|
|
995
|
+
function po(o) {
|
|
986
996
|
return {
|
|
987
997
|
MuiLink: {
|
|
988
998
|
defaultProps: {
|
|
@@ -998,7 +1008,7 @@ function ao(o) {
|
|
|
998
1008
|
}
|
|
999
1009
|
};
|
|
1000
1010
|
}
|
|
1001
|
-
function
|
|
1011
|
+
function lo(o) {
|
|
1002
1012
|
return {
|
|
1003
1013
|
MuiListItemIcon: {
|
|
1004
1014
|
styleOverrides: {
|
|
@@ -1031,7 +1041,7 @@ function io(o) {
|
|
|
1031
1041
|
}
|
|
1032
1042
|
};
|
|
1033
1043
|
}
|
|
1034
|
-
function
|
|
1044
|
+
function so(o) {
|
|
1035
1045
|
return {
|
|
1036
1046
|
MuiTableRow: {
|
|
1037
1047
|
styleOverrides: {
|
|
@@ -1117,7 +1127,7 @@ function no(o) {
|
|
|
1117
1127
|
}
|
|
1118
1128
|
};
|
|
1119
1129
|
}
|
|
1120
|
-
function
|
|
1130
|
+
function uo(o) {
|
|
1121
1131
|
return {
|
|
1122
1132
|
MuiBadge: {
|
|
1123
1133
|
styleOverrides: {
|
|
@@ -1130,7 +1140,7 @@ function po(o) {
|
|
|
1130
1140
|
}
|
|
1131
1141
|
};
|
|
1132
1142
|
}
|
|
1133
|
-
function
|
|
1143
|
+
function co(o) {
|
|
1134
1144
|
return {
|
|
1135
1145
|
MuiPaper: {
|
|
1136
1146
|
defaultProps: {
|
|
@@ -1196,7 +1206,7 @@ function lo(o) {
|
|
|
1196
1206
|
}
|
|
1197
1207
|
};
|
|
1198
1208
|
}
|
|
1199
|
-
function
|
|
1209
|
+
function go(o) {
|
|
1200
1210
|
return {
|
|
1201
1211
|
MuiFormControl: {
|
|
1202
1212
|
styleOverrides: {
|
|
@@ -1278,7 +1288,7 @@ function so(o) {
|
|
|
1278
1288
|
}
|
|
1279
1289
|
};
|
|
1280
1290
|
}
|
|
1281
|
-
function
|
|
1291
|
+
function xo(o) {
|
|
1282
1292
|
return {
|
|
1283
1293
|
MuiInputLabel: {
|
|
1284
1294
|
styleOverrides: {
|
|
@@ -1293,7 +1303,7 @@ function uo(o) {
|
|
|
1293
1303
|
}
|
|
1294
1304
|
};
|
|
1295
1305
|
}
|
|
1296
|
-
function
|
|
1306
|
+
function bo(o) {
|
|
1297
1307
|
return {
|
|
1298
1308
|
MuiRadio: {
|
|
1299
1309
|
styleOverrides: {
|
|
@@ -1310,23 +1320,303 @@ function co(o) {
|
|
|
1310
1320
|
}
|
|
1311
1321
|
};
|
|
1312
1322
|
}
|
|
1313
|
-
function
|
|
1314
|
-
const
|
|
1323
|
+
function Mo(o) {
|
|
1324
|
+
const r = o.palette.mode === "light";
|
|
1315
1325
|
return {
|
|
1316
1326
|
MuiDrawer: {
|
|
1317
1327
|
styleOverrides: {
|
|
1328
|
+
root: {
|
|
1329
|
+
"&.M4LSideBar-drawer": {
|
|
1330
|
+
test: "root",
|
|
1331
|
+
"& .MuiPaper-root": {
|
|
1332
|
+
background: o.palette.background.neutral,
|
|
1333
|
+
display: "flex",
|
|
1334
|
+
flexDirection: "row"
|
|
1335
|
+
},
|
|
1336
|
+
"& .M4LSideBar-containerLogo": {
|
|
1337
|
+
display: "flex",
|
|
1338
|
+
flexDirection: "row",
|
|
1339
|
+
width: "100%",
|
|
1340
|
+
gap: "12px",
|
|
1341
|
+
boxSizing: "contentBox",
|
|
1342
|
+
padding: "16px 0px 0px 8px",
|
|
1343
|
+
position: "absolute",
|
|
1344
|
+
left: "-20px",
|
|
1345
|
+
fitContent: "100%",
|
|
1346
|
+
alignItems: "center",
|
|
1347
|
+
"& .M4LImage-root": {
|
|
1348
|
+
position: "relative",
|
|
1349
|
+
background: o.palette.background.neutral,
|
|
1350
|
+
boxShadow: o.customShadows.z3,
|
|
1351
|
+
padding: "4px",
|
|
1352
|
+
borderRadius: "6px",
|
|
1353
|
+
minWidth: "64px",
|
|
1354
|
+
minHeight: "64px"
|
|
1355
|
+
}
|
|
1356
|
+
},
|
|
1357
|
+
"& .M4LSideBar-contentGroups": {
|
|
1358
|
+
overflow: "hidden",
|
|
1359
|
+
"& .M4LSideBar-wrapperGroup": {
|
|
1360
|
+
padding: "100px 8px 0px 0px",
|
|
1361
|
+
flexDirection: "column",
|
|
1362
|
+
gap: "8px",
|
|
1363
|
+
"& .M4LSideBar-itemListMainRoot": {
|
|
1364
|
+
display: "flex",
|
|
1365
|
+
flexDirection: "column",
|
|
1366
|
+
position: "realative",
|
|
1367
|
+
"& > .MuiCollapse-root:nth-of-type(2)": {
|
|
1368
|
+
backgroundColor: "transparent",
|
|
1369
|
+
top: "-16px"
|
|
1370
|
+
},
|
|
1371
|
+
"& .MuiCollapse-root": {
|
|
1372
|
+
borderRadius: "16px 0px 4px 4px",
|
|
1373
|
+
padding: "16px 8px 8px 8px",
|
|
1374
|
+
position: "relative"
|
|
1375
|
+
},
|
|
1376
|
+
"&.M4LSideBar-itemMainActive": {
|
|
1377
|
+
"& > .MuiCollapse-root:nth-of-type(2)": {
|
|
1378
|
+
backgroundColor: o.palette.state.active12,
|
|
1379
|
+
top: "-16px"
|
|
1380
|
+
},
|
|
1381
|
+
"& .M4LSideBar-navItemMainRoot": {
|
|
1382
|
+
height: "68px"
|
|
1383
|
+
},
|
|
1384
|
+
"& .M4LSideBar-navItemRootContent": {
|
|
1385
|
+
background: o.palette.representative,
|
|
1386
|
+
"& .M4LTypography-root .MuiTypography-root": {
|
|
1387
|
+
color: o.palette.patronus?.marbleLight[10]
|
|
1388
|
+
},
|
|
1389
|
+
"& .M4LIcon-root .M4LIcon-icon": {
|
|
1390
|
+
backgroundColor: o.palette.patronus?.marbleLight[10]
|
|
1391
|
+
},
|
|
1392
|
+
"&:hover": {
|
|
1393
|
+
background: `${o.palette.representative}!important`
|
|
1394
|
+
}
|
|
1395
|
+
},
|
|
1396
|
+
"& .M4LSideBar-navItemMainTriangleTop": {
|
|
1397
|
+
position: "absolute",
|
|
1398
|
+
top: "0",
|
|
1399
|
+
left: "0",
|
|
1400
|
+
width: "16px",
|
|
1401
|
+
height: "16px",
|
|
1402
|
+
overflow: "hidden",
|
|
1403
|
+
backgroundColor: o.palette.representative,
|
|
1404
|
+
transform: "rotate(90deg)",
|
|
1405
|
+
"&::before": {
|
|
1406
|
+
content: '""',
|
|
1407
|
+
position: "absolute",
|
|
1408
|
+
width: "100%",
|
|
1409
|
+
height: "100%",
|
|
1410
|
+
backgroundColor: o.palette.background.neutral,
|
|
1411
|
+
transform: "rotate(180deg)",
|
|
1412
|
+
inset: "0",
|
|
1413
|
+
borderTopLeftRadius: "100%",
|
|
1414
|
+
transformOrigin: "center center"
|
|
1415
|
+
}
|
|
1416
|
+
},
|
|
1417
|
+
"& .M4LSideBar-navItemMainTriangleBottom": {
|
|
1418
|
+
position: "absolute",
|
|
1419
|
+
bottom: "0",
|
|
1420
|
+
left: "0",
|
|
1421
|
+
width: "16px",
|
|
1422
|
+
height: "16px",
|
|
1423
|
+
overflow: "hidden",
|
|
1424
|
+
background: o.palette.representative,
|
|
1425
|
+
transform: "rotate(180deg)",
|
|
1426
|
+
"&::before": {
|
|
1427
|
+
content: '""',
|
|
1428
|
+
position: "absolute",
|
|
1429
|
+
width: "100%",
|
|
1430
|
+
height: "100%",
|
|
1431
|
+
backgroundColor: o.palette.background.neutral,
|
|
1432
|
+
transform: "rotate(180deg)",
|
|
1433
|
+
inset: "0",
|
|
1434
|
+
borderTopLeftRadius: "100%",
|
|
1435
|
+
transformOrigin: "center center"
|
|
1436
|
+
}
|
|
1437
|
+
}
|
|
1438
|
+
},
|
|
1439
|
+
"& .M4LSideBar-navItemMainRoot": {
|
|
1440
|
+
...o.typography.body2,
|
|
1441
|
+
padding: "0px",
|
|
1442
|
+
height: "fit-content",
|
|
1443
|
+
position: "relative",
|
|
1444
|
+
display: "flex",
|
|
1445
|
+
alignItems: "center",
|
|
1446
|
+
textTransform: "capitalize",
|
|
1447
|
+
overflow: "hidden",
|
|
1448
|
+
backgroundColor: "transparent",
|
|
1449
|
+
"& .M4LSideBar-navItemRootContent": {
|
|
1450
|
+
padding: "8px 16px",
|
|
1451
|
+
border: "0px",
|
|
1452
|
+
justifyContent: "space-between",
|
|
1453
|
+
alignItems: "center",
|
|
1454
|
+
display: "flex",
|
|
1455
|
+
width: "100%",
|
|
1456
|
+
height: "36px",
|
|
1457
|
+
boxSizing: "border-box",
|
|
1458
|
+
borderRadius: "0 4px 4px 0",
|
|
1459
|
+
overflow: "hidden",
|
|
1460
|
+
transition: o.transitions.create(["width", "opacity"], {
|
|
1461
|
+
duration: o.transitions.duration.standard
|
|
1462
|
+
}),
|
|
1463
|
+
"&:hover": {
|
|
1464
|
+
backgroundColor: o.palette.state.active12,
|
|
1465
|
+
Color: o.palette.text.primary
|
|
1466
|
+
},
|
|
1467
|
+
"& .M4LSideBar-navItemRootContentIconTypo": {
|
|
1468
|
+
display: "flex",
|
|
1469
|
+
gap: "4px"
|
|
1470
|
+
}
|
|
1471
|
+
}
|
|
1472
|
+
}
|
|
1473
|
+
}
|
|
1474
|
+
}
|
|
1475
|
+
},
|
|
1476
|
+
"& .M4LSideBar-lineLeft": {
|
|
1477
|
+
height: "100%",
|
|
1478
|
+
width: "20px",
|
|
1479
|
+
backgroundColor: o.palette.representative
|
|
1480
|
+
},
|
|
1481
|
+
"& .M4LSideBar-contentDesktop, & .M4LSideBar-contentMobile": {
|
|
1482
|
+
position: "relative",
|
|
1483
|
+
width: "100%",
|
|
1484
|
+
flexGrow: "1",
|
|
1485
|
+
display: "flex",
|
|
1486
|
+
"& .M4LSideBar-collapseButton": {
|
|
1487
|
+
width: "100%",
|
|
1488
|
+
padding: "0px",
|
|
1489
|
+
"& .M4LSideBar-containerLogoButton": {
|
|
1490
|
+
width: "100%",
|
|
1491
|
+
height: "68px",
|
|
1492
|
+
justifyContent: "space-between",
|
|
1493
|
+
alignItems: "center",
|
|
1494
|
+
"& .M4LSideBar-containerLogoButtonLogo": {
|
|
1495
|
+
width: "100%",
|
|
1496
|
+
height: "100%",
|
|
1497
|
+
padding: "12px 30px"
|
|
1498
|
+
},
|
|
1499
|
+
"& .M4LSideBar-containerLogoButtonIcon": {
|
|
1500
|
+
width: "auto",
|
|
1501
|
+
height: "100%",
|
|
1502
|
+
position: "relative",
|
|
1503
|
+
display: "flex",
|
|
1504
|
+
alignItems: "center",
|
|
1505
|
+
"& .M4LIconButton-root": {
|
|
1506
|
+
width: "36px",
|
|
1507
|
+
height: "36px",
|
|
1508
|
+
borderRadius: "0px 4px 4px 0px",
|
|
1509
|
+
backgroundColor: o.palette.state.focus,
|
|
1510
|
+
"&:hover": {
|
|
1511
|
+
backgroundColor: o.palette.state.focus
|
|
1512
|
+
},
|
|
1513
|
+
"& .M4LIcon-icon": {
|
|
1514
|
+
backgroundColor: o.palette.patronus?.marbleLight[10]
|
|
1515
|
+
}
|
|
1516
|
+
},
|
|
1517
|
+
"& .M4LSideBar-collapseButtontriangleTop": {
|
|
1518
|
+
position: "absolute",
|
|
1519
|
+
top: "0",
|
|
1520
|
+
left: "0",
|
|
1521
|
+
width: "16px",
|
|
1522
|
+
height: "16px",
|
|
1523
|
+
overflow: "hidden",
|
|
1524
|
+
backgroundColor: o.palette.state.focus,
|
|
1525
|
+
transform: "rotate(90deg)",
|
|
1526
|
+
"&::before": {
|
|
1527
|
+
content: '""',
|
|
1528
|
+
position: "absolute",
|
|
1529
|
+
width: "100%",
|
|
1530
|
+
height: "100%",
|
|
1531
|
+
backgroundColor: o.palette.background.neutral,
|
|
1532
|
+
transform: "rotate(180deg)",
|
|
1533
|
+
inset: "0",
|
|
1534
|
+
borderTopLeftRadius: "100%",
|
|
1535
|
+
transformOrigin: "center center"
|
|
1536
|
+
}
|
|
1537
|
+
},
|
|
1538
|
+
"& .M4LSideBar-collapseButtontriangleBottom": {
|
|
1539
|
+
position: "absolute",
|
|
1540
|
+
bottom: "0",
|
|
1541
|
+
left: "0",
|
|
1542
|
+
width: "16px",
|
|
1543
|
+
height: "16px",
|
|
1544
|
+
ocontainerLogoButtonIconerflow: "hidden",
|
|
1545
|
+
background: o.palette.state.focus,
|
|
1546
|
+
transform: "rotate(180deg)",
|
|
1547
|
+
"&::before": {
|
|
1548
|
+
content: '""',
|
|
1549
|
+
position: "absolute",
|
|
1550
|
+
width: "100%",
|
|
1551
|
+
height: "100%",
|
|
1552
|
+
backgroundColor: o.palette.background.neutral,
|
|
1553
|
+
transform: "rotate(180deg)",
|
|
1554
|
+
inset: "0",
|
|
1555
|
+
borderTopLeftRadius: "100%",
|
|
1556
|
+
transformOrigin: "center center"
|
|
1557
|
+
}
|
|
1558
|
+
}
|
|
1559
|
+
}
|
|
1560
|
+
},
|
|
1561
|
+
"& .M4LImage-root": {
|
|
1562
|
+
display: "flex",
|
|
1563
|
+
position: "relative",
|
|
1564
|
+
padding: "8px",
|
|
1565
|
+
width: "130px",
|
|
1566
|
+
height: "44px",
|
|
1567
|
+
boxShadow: "inset 0px 4px 4px rgba(0, 0, 0, 0.25)",
|
|
1568
|
+
opacity: "30%"
|
|
1569
|
+
}
|
|
1570
|
+
}
|
|
1571
|
+
},
|
|
1572
|
+
"& .MuiCollapse-wrapperInner": {
|
|
1573
|
+
display: "flex",
|
|
1574
|
+
flexDirection: "column",
|
|
1575
|
+
gap: "16px"
|
|
1576
|
+
},
|
|
1577
|
+
"& .M4LSideBar-navListSubItemRoot:hover": {
|
|
1578
|
+
padding: "4px 8px",
|
|
1579
|
+
borderRadius: "4px",
|
|
1580
|
+
backgroundColor: o.palette.state.active12
|
|
1581
|
+
},
|
|
1582
|
+
"& .M4LSideBar-navListSubItemRoot": {
|
|
1583
|
+
padding: "4px 8px",
|
|
1584
|
+
borderRadius: "4px",
|
|
1585
|
+
"& .M4LSideBar-subItemActive": {
|
|
1586
|
+
"& .M4LSideBar-navSubItemContentBullet": {
|
|
1587
|
+
borderRadius: "5px",
|
|
1588
|
+
height: "10px",
|
|
1589
|
+
backgroundColor: o.palette.state.focus
|
|
1590
|
+
}
|
|
1591
|
+
},
|
|
1592
|
+
"& .MuiButtonBase-root": {
|
|
1593
|
+
gap: "4px",
|
|
1594
|
+
"&:hover": {
|
|
1595
|
+
backgroundColor: "transparent"
|
|
1596
|
+
}
|
|
1597
|
+
},
|
|
1598
|
+
"& .M4LSideBar-navSubItemContentBullet": {
|
|
1599
|
+
width: "4px",
|
|
1600
|
+
height: "4px",
|
|
1601
|
+
borderRadius: "100%",
|
|
1602
|
+
backgroundColor: o.palette.text.secondary,
|
|
1603
|
+
margin: "6px"
|
|
1604
|
+
}
|
|
1605
|
+
}
|
|
1606
|
+
}
|
|
1607
|
+
},
|
|
1318
1608
|
modal: {
|
|
1319
1609
|
'&[role="presentation"]': {
|
|
1320
1610
|
"& .MuiDrawer-paperAnchorLeft": {
|
|
1321
|
-
boxShadow: `8px 24px 24px 12px ${
|
|
1611
|
+
boxShadow: `8px 24px 24px 12px ${b(
|
|
1322
1612
|
o.palette.grey[900],
|
|
1323
|
-
|
|
1613
|
+
r ? 0.16 : 0.48
|
|
1324
1614
|
)}`
|
|
1325
1615
|
},
|
|
1326
1616
|
"& .MuiDrawer-paperAnchorRight": {
|
|
1327
|
-
boxShadow: `-8px 24px 24px 12px ${
|
|
1617
|
+
boxShadow: `-8px 24px 24px 12px ${b(
|
|
1328
1618
|
o.palette.grey[900],
|
|
1329
|
-
|
|
1619
|
+
r ? 0.16 : 0.48
|
|
1330
1620
|
)}`
|
|
1331
1621
|
}
|
|
1332
1622
|
}
|
|
@@ -1335,12 +1625,12 @@ function go(o) {
|
|
|
1335
1625
|
}
|
|
1336
1626
|
};
|
|
1337
1627
|
}
|
|
1338
|
-
function
|
|
1628
|
+
function fo(o) {
|
|
1339
1629
|
return {
|
|
1340
1630
|
MuiDialog: {
|
|
1341
1631
|
styleOverrides: {
|
|
1342
1632
|
paper: {
|
|
1343
|
-
boxShadow: o.customShadows
|
|
1633
|
+
boxShadow: o.customShadows?.dialog,
|
|
1344
1634
|
"&.MuiPaper-rounded": {
|
|
1345
1635
|
borderRadius: Number(o.shape.borderRadius) * 2
|
|
1346
1636
|
},
|
|
@@ -1391,8 +1681,8 @@ function xo(o) {
|
|
|
1391
1681
|
}
|
|
1392
1682
|
};
|
|
1393
1683
|
}
|
|
1394
|
-
function
|
|
1395
|
-
const
|
|
1684
|
+
function yo(o) {
|
|
1685
|
+
const r = o.palette.mode === "light";
|
|
1396
1686
|
return {
|
|
1397
1687
|
MuiSlider: {
|
|
1398
1688
|
defaultProps: {
|
|
@@ -1410,19 +1700,19 @@ function bo(o) {
|
|
|
1410
1700
|
},
|
|
1411
1701
|
valueLabel: {
|
|
1412
1702
|
borderRadius: 8,
|
|
1413
|
-
backgroundColor: o.palette.grey[
|
|
1703
|
+
backgroundColor: o.palette.grey[r ? 800 : 700]
|
|
1414
1704
|
}
|
|
1415
1705
|
}
|
|
1416
1706
|
}
|
|
1417
1707
|
};
|
|
1418
1708
|
}
|
|
1419
|
-
function
|
|
1420
|
-
const
|
|
1709
|
+
function vo(o) {
|
|
1710
|
+
const r = o.palette.mode === "light";
|
|
1421
1711
|
return {
|
|
1422
1712
|
MuiSwitch: {
|
|
1423
1713
|
styleOverrides: {
|
|
1424
1714
|
thumb: {
|
|
1425
|
-
boxShadow: o.customShadows
|
|
1715
|
+
boxShadow: o.customShadows?.z1
|
|
1426
1716
|
},
|
|
1427
1717
|
track: {
|
|
1428
1718
|
opacity: 1,
|
|
@@ -1432,10 +1722,10 @@ function yo(o) {
|
|
|
1432
1722
|
left: 0,
|
|
1433
1723
|
right: "auto",
|
|
1434
1724
|
"&:not(:.Mui-checked)": {
|
|
1435
|
-
color: o.palette.grey[
|
|
1725
|
+
color: o.palette.grey[r ? 100 : 300]
|
|
1436
1726
|
},
|
|
1437
1727
|
"&.Mui-checked.Mui-disabled, &.Mui-disabled": {
|
|
1438
|
-
color: o.palette.grey[
|
|
1728
|
+
color: o.palette.grey[r ? 400 : 600]
|
|
1439
1729
|
},
|
|
1440
1730
|
"&.Mui-disabled+.MuiSwitch-track": {
|
|
1441
1731
|
opacity: 1,
|
|
@@ -1446,7 +1736,7 @@ function yo(o) {
|
|
|
1446
1736
|
}
|
|
1447
1737
|
};
|
|
1448
1738
|
}
|
|
1449
|
-
function
|
|
1739
|
+
function Bo(o) {
|
|
1450
1740
|
return {
|
|
1451
1741
|
MuiSvgIcon: {
|
|
1452
1742
|
styleOverrides: {
|
|
@@ -1464,34 +1754,34 @@ function fo(o) {
|
|
|
1464
1754
|
}
|
|
1465
1755
|
};
|
|
1466
1756
|
}
|
|
1467
|
-
function
|
|
1468
|
-
const
|
|
1757
|
+
function Lo(o) {
|
|
1758
|
+
const r = o.palette.mode === "light";
|
|
1469
1759
|
return {
|
|
1470
1760
|
MuiTooltip: {
|
|
1471
1761
|
styleOverrides: {
|
|
1472
1762
|
tooltip: {
|
|
1473
|
-
backgroundColor: o.palette.grey[
|
|
1763
|
+
backgroundColor: o.palette.grey[r ? 800 : 700]
|
|
1474
1764
|
},
|
|
1475
1765
|
arrow: {
|
|
1476
|
-
color: o.palette.grey[
|
|
1766
|
+
color: o.palette.grey[r ? 800 : 700]
|
|
1477
1767
|
}
|
|
1478
1768
|
}
|
|
1479
1769
|
}
|
|
1480
1770
|
};
|
|
1481
1771
|
}
|
|
1482
|
-
function
|
|
1772
|
+
function ko(o) {
|
|
1483
1773
|
return {
|
|
1484
1774
|
MuiPopover: {
|
|
1485
1775
|
styleOverrides: {
|
|
1486
1776
|
paper: {
|
|
1487
|
-
boxShadow: o.customShadows
|
|
1777
|
+
boxShadow: o.customShadows?.dropdown,
|
|
1488
1778
|
borderRadius: Number(o.shape.borderRadius) * 1.5
|
|
1489
1779
|
}
|
|
1490
1780
|
}
|
|
1491
1781
|
}
|
|
1492
1782
|
};
|
|
1493
1783
|
}
|
|
1494
|
-
function
|
|
1784
|
+
function Co(o) {
|
|
1495
1785
|
return {
|
|
1496
1786
|
MuiStepConnector: {
|
|
1497
1787
|
styleOverrides: {
|
|
@@ -1502,7 +1792,7 @@ function vo(o) {
|
|
|
1502
1792
|
}
|
|
1503
1793
|
};
|
|
1504
1794
|
}
|
|
1505
|
-
function
|
|
1795
|
+
function ho(o) {
|
|
1506
1796
|
return {
|
|
1507
1797
|
MuiDataGrid: {
|
|
1508
1798
|
styleOverrides: {
|
|
@@ -1539,7 +1829,7 @@ function Bo(o) {
|
|
|
1539
1829
|
styleOverrides: {
|
|
1540
1830
|
root: {
|
|
1541
1831
|
"& .MuiDataGrid-gridMenuList": {
|
|
1542
|
-
boxShadow: o.customShadows
|
|
1832
|
+
boxShadow: o.customShadows?.z4,
|
|
1543
1833
|
borderRadius: o.shape.borderRadius
|
|
1544
1834
|
},
|
|
1545
1835
|
"& .MuiMenuItem-root": {
|
|
@@ -1599,7 +1889,7 @@ function Bo(o) {
|
|
|
1599
1889
|
}
|
|
1600
1890
|
};
|
|
1601
1891
|
}
|
|
1602
|
-
function
|
|
1892
|
+
function Io(o) {
|
|
1603
1893
|
return {
|
|
1604
1894
|
MuiSkeleton: {
|
|
1605
1895
|
defaultProps: {
|
|
@@ -1613,17 +1903,17 @@ function Fo(o) {
|
|
|
1613
1903
|
}
|
|
1614
1904
|
};
|
|
1615
1905
|
}
|
|
1616
|
-
function
|
|
1617
|
-
const
|
|
1906
|
+
function So(o) {
|
|
1907
|
+
const r = e(o.palette.grey[900], 0.48), a = e(o.palette.grey[900], 1);
|
|
1618
1908
|
return {
|
|
1619
1909
|
MuiBackdrop: {
|
|
1620
1910
|
styleOverrides: {
|
|
1621
1911
|
root: {
|
|
1622
1912
|
background: [
|
|
1623
1913
|
"rgb(22,28,36)",
|
|
1624
|
-
`-moz-linear-gradient(75deg, ${
|
|
1625
|
-
`-webkit-linear-gradient(75deg, ${
|
|
1626
|
-
`linear-gradient(75deg, ${
|
|
1914
|
+
`-moz-linear-gradient(75deg, ${r} 0%, ${a} 100%)`,
|
|
1915
|
+
`-webkit-linear-gradient(75deg, ${r} 0%, ${a} 100%)`,
|
|
1916
|
+
`linear-gradient(75deg, ${r} 0%, ${a} 100%)`
|
|
1627
1917
|
],
|
|
1628
1918
|
"&.MuiBackdrop-invisible": {
|
|
1629
1919
|
background: "transparent"
|
|
@@ -1633,8 +1923,8 @@ function ko(o) {
|
|
|
1633
1923
|
}
|
|
1634
1924
|
};
|
|
1635
1925
|
}
|
|
1636
|
-
function
|
|
1637
|
-
const
|
|
1926
|
+
function Fo(o) {
|
|
1927
|
+
const r = o.palette.mode === "light";
|
|
1638
1928
|
return {
|
|
1639
1929
|
MuiLinearProgress: {
|
|
1640
1930
|
styleOverrides: {
|
|
@@ -1646,7 +1936,7 @@ function Co(o) {
|
|
|
1646
1936
|
borderRadius: 4
|
|
1647
1937
|
},
|
|
1648
1938
|
colorPrimary: {
|
|
1649
|
-
backgroundColor: o.palette.primary[
|
|
1939
|
+
backgroundColor: o.palette.primary[r ? "lighter" : "darker"]
|
|
1650
1940
|
},
|
|
1651
1941
|
buffer: {
|
|
1652
1942
|
backgroundColor: "transparent"
|
|
@@ -1655,7 +1945,7 @@ function Co(o) {
|
|
|
1655
1945
|
}
|
|
1656
1946
|
};
|
|
1657
1947
|
}
|
|
1658
|
-
function
|
|
1948
|
+
function wo(o) {
|
|
1659
1949
|
return {
|
|
1660
1950
|
MuiTimelineDot: {
|
|
1661
1951
|
styleOverrides: {
|
|
@@ -1692,7 +1982,7 @@ function Ro(o) {
|
|
|
1692
1982
|
}
|
|
1693
1983
|
};
|
|
1694
1984
|
}
|
|
1695
|
-
function
|
|
1985
|
+
function Oo(o) {
|
|
1696
1986
|
return {
|
|
1697
1987
|
MuiAccordion: {
|
|
1698
1988
|
styleOverrides: {
|
|
@@ -1767,7 +2057,7 @@ function So(o) {
|
|
|
1767
2057
|
}
|
|
1768
2058
|
};
|
|
1769
2059
|
}
|
|
1770
|
-
function
|
|
2060
|
+
function To(o) {
|
|
1771
2061
|
return {
|
|
1772
2062
|
MuiTypography: {
|
|
1773
2063
|
defaultProps: {
|
|
@@ -1786,7 +2076,7 @@ function Lo(o) {
|
|
|
1786
2076
|
}
|
|
1787
2077
|
};
|
|
1788
2078
|
}
|
|
1789
|
-
function
|
|
2079
|
+
function $o(o) {
|
|
1790
2080
|
return {
|
|
1791
2081
|
MuiPaginationItem: {
|
|
1792
2082
|
styleOverrides: {
|
|
@@ -1798,9 +2088,9 @@ function Oo(o) {
|
|
|
1798
2088
|
textPrimary: {
|
|
1799
2089
|
"&.Mui-selected": {
|
|
1800
2090
|
color: o.palette.primary.main,
|
|
1801
|
-
backgroundColor:
|
|
2091
|
+
backgroundColor: e(o.palette.primary.main, 0.08),
|
|
1802
2092
|
"&:hover, &.Mui-focusVisible": {
|
|
1803
|
-
backgroundColor: `${
|
|
2093
|
+
backgroundColor: `${e(
|
|
1804
2094
|
o.palette.primary.main,
|
|
1805
2095
|
0.24
|
|
1806
2096
|
)} !important`
|
|
@@ -1812,15 +2102,15 @@ function Oo(o) {
|
|
|
1812
2102
|
},
|
|
1813
2103
|
outlinedPrimary: {
|
|
1814
2104
|
"&.Mui-selected": {
|
|
1815
|
-
backgroundColor:
|
|
1816
|
-
border: `1px solid ${
|
|
2105
|
+
backgroundColor: e(o.palette.primary.main, 0.08),
|
|
2106
|
+
border: `1px solid ${e(o.palette.primary.main, 0.24)}`
|
|
1817
2107
|
}
|
|
1818
2108
|
}
|
|
1819
2109
|
}
|
|
1820
2110
|
}
|
|
1821
2111
|
};
|
|
1822
2112
|
}
|
|
1823
|
-
function
|
|
2113
|
+
function Ao(o) {
|
|
1824
2114
|
return {
|
|
1825
2115
|
MuiBreadcrumbs: {
|
|
1826
2116
|
styleOverrides: {
|
|
@@ -1832,24 +2122,24 @@ function wo(o) {
|
|
|
1832
2122
|
}
|
|
1833
2123
|
};
|
|
1834
2124
|
}
|
|
1835
|
-
function
|
|
1836
|
-
const
|
|
2125
|
+
function mo(o) {
|
|
2126
|
+
const r = (a) => ({
|
|
1837
2127
|
props: { variant: "contained", color: a },
|
|
1838
|
-
style: { boxShadow: o.customShadows
|
|
2128
|
+
style: { boxShadow: o.customShadows?.primary }
|
|
1839
2129
|
});
|
|
1840
2130
|
return {
|
|
1841
2131
|
MuiButtonGroup: {
|
|
1842
2132
|
variants: [
|
|
1843
2133
|
{
|
|
1844
2134
|
props: { variant: "contained", color: "inherit" },
|
|
1845
|
-
style: { boxShadow: o.customShadows
|
|
1846
|
-
},
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
2135
|
+
style: { boxShadow: o.customShadows?.z4 }
|
|
2136
|
+
},
|
|
2137
|
+
r("primary"),
|
|
2138
|
+
r("secondary"),
|
|
2139
|
+
r("info"),
|
|
2140
|
+
r("success"),
|
|
2141
|
+
r("warning"),
|
|
2142
|
+
r("error"),
|
|
1853
2143
|
{
|
|
1854
2144
|
props: { disabled: !0 },
|
|
1855
2145
|
style: {
|
|
@@ -1874,7 +2164,7 @@ function $o(o) {
|
|
|
1874
2164
|
}
|
|
1875
2165
|
};
|
|
1876
2166
|
}
|
|
1877
|
-
function
|
|
2167
|
+
function zo(o) {
|
|
1878
2168
|
return {
|
|
1879
2169
|
MuiCssBaseline: {
|
|
1880
2170
|
styleOverrides: {
|
|
@@ -1917,7 +2207,7 @@ function Ao(o) {
|
|
|
1917
2207
|
}
|
|
1918
2208
|
};
|
|
1919
2209
|
}
|
|
1920
|
-
function
|
|
2210
|
+
function Do(o) {
|
|
1921
2211
|
return {
|
|
1922
2212
|
MuiAutocomplete: {
|
|
1923
2213
|
styleOverrides: {
|
|
@@ -1927,7 +2217,7 @@ function To(o) {
|
|
|
1927
2217
|
}
|
|
1928
2218
|
},
|
|
1929
2219
|
paper: {
|
|
1930
|
-
boxShadow: o.customShadows
|
|
2220
|
+
boxShadow: o.customShadows?.dropdown
|
|
1931
2221
|
},
|
|
1932
2222
|
listbox: {
|
|
1933
2223
|
padding: o.spacing(0, 1),
|
|
@@ -1941,19 +2231,19 @@ function To(o) {
|
|
|
1941
2231
|
}
|
|
1942
2232
|
};
|
|
1943
2233
|
}
|
|
1944
|
-
const u = (o,
|
|
1945
|
-
props: { color:
|
|
2234
|
+
const u = (o, r) => ({
|
|
2235
|
+
props: { color: r },
|
|
1946
2236
|
style: {
|
|
1947
2237
|
"&:hover": {
|
|
1948
|
-
borderColor:
|
|
1949
|
-
backgroundColor:
|
|
2238
|
+
borderColor: e(o.palette[r].main, 0.48),
|
|
2239
|
+
backgroundColor: e(o.palette[r].main, o.palette.action.hoverOpacity)
|
|
1950
2240
|
},
|
|
1951
2241
|
"&.Mui-selected": {
|
|
1952
|
-
borderColor:
|
|
2242
|
+
borderColor: e(o.palette[r].main, 0.48)
|
|
1953
2243
|
}
|
|
1954
2244
|
}
|
|
1955
2245
|
});
|
|
1956
|
-
function
|
|
2246
|
+
function Ho(o) {
|
|
1957
2247
|
return {
|
|
1958
2248
|
MuiToggleButton: {
|
|
1959
2249
|
variants: [
|
|
@@ -1989,7 +2279,7 @@ function Do(o) {
|
|
|
1989
2279
|
}
|
|
1990
2280
|
};
|
|
1991
2281
|
}
|
|
1992
|
-
function
|
|
2282
|
+
function Go(o) {
|
|
1993
2283
|
return {
|
|
1994
2284
|
MuiFormControlLabel: {
|
|
1995
2285
|
styleOverrides: {
|
|
@@ -2014,7 +2304,7 @@ function Io(o) {
|
|
|
2014
2304
|
}
|
|
2015
2305
|
};
|
|
2016
2306
|
}
|
|
2017
|
-
function
|
|
2307
|
+
function Eo(o) {
|
|
2018
2308
|
return {
|
|
2019
2309
|
MuiLoadingButton: {
|
|
2020
2310
|
styleOverrides: {
|
|
@@ -2038,36 +2328,186 @@ function zo(o) {
|
|
|
2038
2328
|
}
|
|
2039
2329
|
};
|
|
2040
2330
|
}
|
|
2041
|
-
const
|
|
2331
|
+
const Po = (o) => ({
|
|
2042
2332
|
M4LBruceTest: {
|
|
2043
2333
|
styleOverrides: {}
|
|
2044
2334
|
}
|
|
2045
|
-
}),
|
|
2335
|
+
}), Wo = (o) => ({
|
|
2046
2336
|
M4LDynamicFilter: {
|
|
2047
2337
|
styleOverrides: {}
|
|
2048
2338
|
}
|
|
2049
|
-
}),
|
|
2339
|
+
}), qo = (o) => ({
|
|
2050
2340
|
M4LRHFTextFieldPassword: {
|
|
2051
2341
|
styleOverrides: {
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
test: "root",
|
|
2055
|
-
display: "flex",
|
|
2056
|
-
flexDirection: "column",
|
|
2057
|
-
gap: o.spacing(1)
|
|
2058
|
-
}
|
|
2342
|
+
"&.M4LRHFTextFieldPassword-root": {
|
|
2343
|
+
width: "100%"
|
|
2059
2344
|
}
|
|
2060
2345
|
}
|
|
2061
2346
|
}
|
|
2062
|
-
}),
|
|
2347
|
+
}), No = (o) => ({
|
|
2063
2348
|
M4LRHFTextField: {
|
|
2064
|
-
styleOverrides: {
|
|
2349
|
+
styleOverrides: {
|
|
2350
|
+
"&.M4LRHFTextField-root": {
|
|
2351
|
+
display: "flex",
|
|
2352
|
+
flexDirection: "column",
|
|
2353
|
+
width: "100%",
|
|
2354
|
+
gap: "4px",
|
|
2355
|
+
"& .M4LRHFTextField-label": {
|
|
2356
|
+
color: o.palette.text.secondary,
|
|
2357
|
+
transition: "all .5s ease"
|
|
2358
|
+
},
|
|
2359
|
+
"& .MuiInputBase-root": {
|
|
2360
|
+
padding: "0px",
|
|
2361
|
+
"& .MuiInputBase-input": {
|
|
2362
|
+
color: o.palette.text.secondary,
|
|
2363
|
+
padding: "0px",
|
|
2364
|
+
backgroundColor: "transparent",
|
|
2365
|
+
...o.typography.body
|
|
2366
|
+
},
|
|
2367
|
+
"& .MuiInputAdornment-root": {
|
|
2368
|
+
margin: "0px",
|
|
2369
|
+
padding: "0px"
|
|
2370
|
+
},
|
|
2371
|
+
"& .M4LIcon-icon": {
|
|
2372
|
+
backgroundColor: o.palette.text.secondary,
|
|
2373
|
+
transition: "all .5s ease"
|
|
2374
|
+
},
|
|
2375
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
|
2376
|
+
border: "1px solid",
|
|
2377
|
+
borderColor: o.palette.text.secondary,
|
|
2378
|
+
borderRadius: "4px",
|
|
2379
|
+
inset: "0px",
|
|
2380
|
+
transition: "all .5s ease",
|
|
2381
|
+
"& legend": {
|
|
2382
|
+
display: "none"
|
|
2383
|
+
}
|
|
2384
|
+
}
|
|
2385
|
+
},
|
|
2386
|
+
"&:hover": {
|
|
2387
|
+
"& .M4LRHFTextField-label": {
|
|
2388
|
+
color: o.palette.state?.hover
|
|
2389
|
+
},
|
|
2390
|
+
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
2391
|
+
borderColor: o.palette.state?.hover,
|
|
2392
|
+
boxShadow: `0px 1px 8px ${n(o.palette.primary.main, 0.32)}`
|
|
2393
|
+
},
|
|
2394
|
+
"& .MuiInputBase-input": {
|
|
2395
|
+
color: o.palette.text.primary
|
|
2396
|
+
},
|
|
2397
|
+
"& .M4LIcon-icon": {
|
|
2398
|
+
backgroundColor: o.palette.state?.hover
|
|
2399
|
+
}
|
|
2400
|
+
},
|
|
2401
|
+
"&.M4LRHFTextField-isFocus": {
|
|
2402
|
+
"& .M4LRHFTextField-label": {
|
|
2403
|
+
color: o.palette.state?.active
|
|
2404
|
+
},
|
|
2405
|
+
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
2406
|
+
transition: "all .1s ease",
|
|
2407
|
+
border: "2px solid",
|
|
2408
|
+
borderColor: o.palette.state?.active,
|
|
2409
|
+
boxShadow: `0px 1px 8px ${n(o.palette.primary.main, 0.32)}`
|
|
2410
|
+
},
|
|
2411
|
+
"& .MuiInputBase-input": {
|
|
2412
|
+
color: o.palette.text.primary
|
|
2413
|
+
},
|
|
2414
|
+
"& .M4LIcon-icon": {
|
|
2415
|
+
backgroundColor: o.palette.state?.active
|
|
2416
|
+
}
|
|
2417
|
+
},
|
|
2418
|
+
"&.M4LRHFTextField-variantError": {
|
|
2419
|
+
"& .M4LRHFTextField-label": {
|
|
2420
|
+
color: o.palette.state?.error.normal
|
|
2421
|
+
},
|
|
2422
|
+
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
2423
|
+
border: "1px solid",
|
|
2424
|
+
borderColor: o.palette.state?.error.normal
|
|
2425
|
+
},
|
|
2426
|
+
"& .MuiInputBase-input": {
|
|
2427
|
+
color: o.palette.text.primary
|
|
2428
|
+
},
|
|
2429
|
+
"& .M4LIcon-icon": {
|
|
2430
|
+
backgroundColor: o.palette.state?.error.normal
|
|
2431
|
+
},
|
|
2432
|
+
"&:hover": {
|
|
2433
|
+
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
2434
|
+
boxShadow: o.customShadows?.error
|
|
2435
|
+
}
|
|
2436
|
+
},
|
|
2437
|
+
"&.M4LRHFTextField-isFocus": {
|
|
2438
|
+
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
2439
|
+
boxShadow: o.customShadows?.error
|
|
2440
|
+
}
|
|
2441
|
+
}
|
|
2442
|
+
},
|
|
2443
|
+
"&.M4LRHFTextField-isDisabled": {
|
|
2444
|
+
"& .M4LRHFTextField-label": {
|
|
2445
|
+
color: o.palette.text.disabled
|
|
2446
|
+
},
|
|
2447
|
+
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
2448
|
+
border: "1px solid",
|
|
2449
|
+
borderColor: o.palette.text.disabled,
|
|
2450
|
+
backgroundColor: o.palette.state?.default,
|
|
2451
|
+
boxShadow: "none"
|
|
2452
|
+
},
|
|
2453
|
+
"& .MuiInputBase-input": {
|
|
2454
|
+
color: o.palette.text.disabled
|
|
2455
|
+
},
|
|
2456
|
+
"& .M4LIcon-icon": {
|
|
2457
|
+
backgroundColor: o.palette.text.disabled
|
|
2458
|
+
}
|
|
2459
|
+
},
|
|
2460
|
+
"&.M4LRHFTextField-sizeSmall": {
|
|
2461
|
+
"& .MuiInputBase-input, & .MuiOutlinedInput-notchedOutline, & .M4LRHFTextField-skeleton": {
|
|
2462
|
+
height: "24px",
|
|
2463
|
+
padding: "0px 8px"
|
|
2464
|
+
}
|
|
2465
|
+
},
|
|
2466
|
+
"&.M4LRHFTextField-sizeMedium": {
|
|
2467
|
+
"& .MuiInputBase-input, & .MuiOutlinedInput-notchedOutline, & .M4LRHFTextField-skeleton": {
|
|
2468
|
+
height: "28px",
|
|
2469
|
+
padding: "0px 8px"
|
|
2470
|
+
}
|
|
2471
|
+
}
|
|
2472
|
+
}
|
|
2473
|
+
}
|
|
2065
2474
|
}
|
|
2066
|
-
}),
|
|
2475
|
+
}), jo = (o) => ({
|
|
2067
2476
|
M4LIcon: {
|
|
2068
2477
|
styleOverrides: {
|
|
2069
2478
|
["&.M4LIcon-root"]: {
|
|
2070
|
-
|
|
2479
|
+
display: "flex",
|
|
2480
|
+
justifyContent: "center",
|
|
2481
|
+
alignItems: "center",
|
|
2482
|
+
width: "fit-content",
|
|
2483
|
+
transition: "transform 0.5s ease-in-out",
|
|
2484
|
+
".M4LIcon-icon": {
|
|
2485
|
+
backgroundColor: o.palette.text.primary
|
|
2486
|
+
},
|
|
2487
|
+
".M4LIcon-sizeExtraSmall": {
|
|
2488
|
+
width: "12px",
|
|
2489
|
+
height: "12px"
|
|
2490
|
+
},
|
|
2491
|
+
".M4LIcon-sizeSmall": {
|
|
2492
|
+
width: "16px",
|
|
2493
|
+
height: "16px"
|
|
2494
|
+
},
|
|
2495
|
+
".M4LIcon-sizeMedium": {
|
|
2496
|
+
width: "20px",
|
|
2497
|
+
height: "20px"
|
|
2498
|
+
},
|
|
2499
|
+
".M4LIcon-sizeLarge": {
|
|
2500
|
+
width: "28px",
|
|
2501
|
+
height: "28px"
|
|
2502
|
+
},
|
|
2503
|
+
".M4LIcon-sizeExtraLarge": {
|
|
2504
|
+
width: "36px",
|
|
2505
|
+
height: "36px"
|
|
2506
|
+
},
|
|
2507
|
+
".M4LIcon-variantSkeleton": {
|
|
2508
|
+
borderRadius: "4px",
|
|
2509
|
+
backgroundColor: o.palette.state?.skeleton.default
|
|
2510
|
+
}
|
|
2071
2511
|
}
|
|
2072
2512
|
}
|
|
2073
2513
|
}
|
|
@@ -2075,19 +2515,145 @@ const Go = (o) => ({
|
|
|
2075
2515
|
M4LIconButton: {
|
|
2076
2516
|
styleOverrides: {
|
|
2077
2517
|
["&.M4LIconButton-root"]: {
|
|
2078
|
-
|
|
2518
|
+
position: "relative",
|
|
2519
|
+
borderRadius: "4px",
|
|
2520
|
+
display: "flex",
|
|
2521
|
+
justifyContent: "center",
|
|
2522
|
+
alignItems: "center",
|
|
2523
|
+
transition: "all .5s ease",
|
|
2524
|
+
"& .M4LIcon-root .M4LIcon-icon": {
|
|
2525
|
+
transition: "all .5s ease",
|
|
2526
|
+
backgroundColor: o.palette.text.secondary
|
|
2527
|
+
},
|
|
2528
|
+
"&::before": {
|
|
2529
|
+
boxSizing: "content-box",
|
|
2530
|
+
border: "1px solid",
|
|
2531
|
+
borderColor: o.palette.state?.focus,
|
|
2532
|
+
borderRadius: "3px",
|
|
2533
|
+
position: "absolute",
|
|
2534
|
+
transition: "all .5s ease"
|
|
2535
|
+
},
|
|
2536
|
+
".M4LIconButton-sizeExtraSmall&::before": {
|
|
2537
|
+
width: "22px",
|
|
2538
|
+
height: "22px"
|
|
2539
|
+
},
|
|
2540
|
+
".M4LIconButton-sizeSmall&::before": {
|
|
2541
|
+
width: "26px",
|
|
2542
|
+
height: "26px"
|
|
2543
|
+
},
|
|
2544
|
+
".M4LIconButton-sizeMedium&::before": {
|
|
2545
|
+
width: "30px",
|
|
2546
|
+
height: "30px"
|
|
2547
|
+
},
|
|
2548
|
+
"&.M4LIconButton-sizeExtraSmall": {
|
|
2549
|
+
width: "20px",
|
|
2550
|
+
height: "20px"
|
|
2551
|
+
},
|
|
2552
|
+
"&.M4LIconButton-sizeSmall": {
|
|
2553
|
+
width: "24px",
|
|
2554
|
+
height: "24px"
|
|
2555
|
+
},
|
|
2556
|
+
"&.M4LIconButton-sizeMedium": {
|
|
2557
|
+
width: "28px",
|
|
2558
|
+
height: "28px"
|
|
2559
|
+
},
|
|
2560
|
+
"& .MuiIconButton-root": {
|
|
2561
|
+
position: "static",
|
|
2562
|
+
borderRadius: "4px",
|
|
2563
|
+
padding: "0"
|
|
2564
|
+
},
|
|
2565
|
+
".MuiIconButton-root:hover": {
|
|
2566
|
+
backgroundColor: "transparent"
|
|
2567
|
+
},
|
|
2568
|
+
"&.M4LIconButton-variantPrimary": {
|
|
2569
|
+
backgroundColor: o.palette.state?.default,
|
|
2570
|
+
"&:hover": {
|
|
2571
|
+
backgroundColor: o.palette.state?.hover,
|
|
2572
|
+
"& .M4LIcon-icon": {
|
|
2573
|
+
backgroundColor: "#fff"
|
|
2574
|
+
}
|
|
2575
|
+
},
|
|
2576
|
+
"&:active": {
|
|
2577
|
+
backgroundColor: o.palette.state?.active,
|
|
2578
|
+
transition: "background-color .5s ease",
|
|
2579
|
+
"& .M4LIcon-icon": {
|
|
2580
|
+
backgroundColor: "#fff"
|
|
2581
|
+
}
|
|
2582
|
+
},
|
|
2583
|
+
"&.M4LIconButton-isFocus": {
|
|
2584
|
+
backgroundColor: o.palette.state?.active,
|
|
2585
|
+
"&::before": {
|
|
2586
|
+
content: "''"
|
|
2587
|
+
}
|
|
2588
|
+
}
|
|
2589
|
+
},
|
|
2590
|
+
"&.M4LIconButton-variantSecondary": {
|
|
2591
|
+
borderColor: o.palette.text.secondary,
|
|
2592
|
+
"&:hover": {
|
|
2593
|
+
border: "1px solid",
|
|
2594
|
+
borderColor: o.palette.state?.focus,
|
|
2595
|
+
"& .M4LIcon-icon": {
|
|
2596
|
+
backgroundColor: o.palette.state?.focus
|
|
2597
|
+
}
|
|
2598
|
+
},
|
|
2599
|
+
"&:active": {
|
|
2600
|
+
border: "1px solid",
|
|
2601
|
+
borderColor: o.palette.state?.active,
|
|
2602
|
+
"& .M4LIcon-icon": {
|
|
2603
|
+
backgroundColor: o.palette.state?.active
|
|
2604
|
+
}
|
|
2605
|
+
},
|
|
2606
|
+
"&.M4LIconButton-isFocus": {
|
|
2607
|
+
border: "1px solid",
|
|
2608
|
+
borderColor: o.palette.state?.active,
|
|
2609
|
+
"& .M4LIcon-icon": {
|
|
2610
|
+
backgroundColor: o.palette.state?.active
|
|
2611
|
+
},
|
|
2612
|
+
"&::before": {
|
|
2613
|
+
content: "''"
|
|
2614
|
+
}
|
|
2615
|
+
}
|
|
2616
|
+
},
|
|
2617
|
+
"&.M4LIconButton-variantLine": {
|
|
2618
|
+
"&:hover": {
|
|
2619
|
+
backgroundColor: o.palette.state?.active12,
|
|
2620
|
+
"& .M4LIcon-icon": {
|
|
2621
|
+
backgroundColor: o.palette.state?.focus
|
|
2622
|
+
}
|
|
2623
|
+
},
|
|
2624
|
+
"&:active": {
|
|
2625
|
+
backgroundColor: "transparent",
|
|
2626
|
+
"& .M4LIcon-icon": {
|
|
2627
|
+
backgroundColor: o.palette.state?.active
|
|
2628
|
+
}
|
|
2629
|
+
},
|
|
2630
|
+
"&.M4LIconButton-isFocus": {
|
|
2631
|
+
backgroundColor: "transparent",
|
|
2632
|
+
border: "1px solid",
|
|
2633
|
+
borderColor: o.palette.state?.focus,
|
|
2634
|
+
"& .M4LIcon-icon": {
|
|
2635
|
+
backgroundColor: o.palette.state?.active
|
|
2636
|
+
}
|
|
2637
|
+
}
|
|
2638
|
+
},
|
|
2639
|
+
"&.M4LIconButton-isDisabled": {
|
|
2640
|
+
"& .M4LIcon-icon": {
|
|
2641
|
+
backgroundColor: o.palette.text.disabled
|
|
2642
|
+
}
|
|
2643
|
+
},
|
|
2644
|
+
"&.M4LIconButton-root .MuiSkeleton-root": {
|
|
2645
|
+
borderRadius: "4px"
|
|
2646
|
+
}
|
|
2079
2647
|
}
|
|
2080
2648
|
}
|
|
2081
2649
|
}
|
|
2082
|
-
}),
|
|
2650
|
+
}), Vo = (o) => ({
|
|
2083
2651
|
M4LanguagePopover: {
|
|
2084
2652
|
styleOverrides: {
|
|
2085
|
-
["&.M4LanguagePopover-root"]: {
|
|
2086
|
-
test: "root"
|
|
2087
|
-
}
|
|
2653
|
+
["&.M4LanguagePopover-root"]: {}
|
|
2088
2654
|
}
|
|
2089
2655
|
}
|
|
2090
|
-
}),
|
|
2656
|
+
}), Yo = (o) => ({
|
|
2091
2657
|
M4LImageButton: {
|
|
2092
2658
|
styleOverrides: {
|
|
2093
2659
|
["&.M4LImageButton-root"]: {
|
|
@@ -2129,34 +2695,113 @@ const Go = (o) => ({
|
|
|
2129
2695
|
}
|
|
2130
2696
|
}
|
|
2131
2697
|
}
|
|
2132
|
-
}),
|
|
2698
|
+
}), Uo = (o) => ({
|
|
2133
2699
|
M4LImage: {
|
|
2134
2700
|
styleOverrides: {
|
|
2135
2701
|
["&.M4LImage-root"]: {
|
|
2136
|
-
|
|
2702
|
+
position: "relative",
|
|
2703
|
+
display: "flex",
|
|
2704
|
+
flexDirection: "column",
|
|
2705
|
+
justifyContent: "center",
|
|
2706
|
+
alignItems: "center",
|
|
2707
|
+
"& .M4LImage-img": {
|
|
2708
|
+
opacity: 0,
|
|
2709
|
+
position: "absolute",
|
|
2710
|
+
inset: "0",
|
|
2711
|
+
objectFit: "contain"
|
|
2712
|
+
},
|
|
2713
|
+
"&.M4LImage-loaded .M4LImage-img": {
|
|
2714
|
+
opacity: 1,
|
|
2715
|
+
transition: "opacity .5s",
|
|
2716
|
+
margin: "0 auto"
|
|
2717
|
+
},
|
|
2718
|
+
"& .M4LImage-skeletonImage, & .M4LImage-skeletonCircle": {
|
|
2719
|
+
opacity: 1,
|
|
2720
|
+
position: "absolute",
|
|
2721
|
+
inset: 0
|
|
2722
|
+
},
|
|
2723
|
+
"&.M4LImage-loaded .M4LImage-skeletonImage, &.M4LImage-loaded .M4LImage-skeletonCircle": {
|
|
2724
|
+
opacity: 0,
|
|
2725
|
+
transition: "opacity .3s"
|
|
2726
|
+
},
|
|
2727
|
+
"& .M4LImage-lazyLoad": {
|
|
2728
|
+
display: "flex",
|
|
2729
|
+
justifyContent: "center",
|
|
2730
|
+
alignItems: "center"
|
|
2731
|
+
}
|
|
2137
2732
|
}
|
|
2138
2733
|
}
|
|
2139
2734
|
}
|
|
2140
|
-
}),
|
|
2735
|
+
}), Ko = (o) => ({
|
|
2141
2736
|
M4LPopover: {
|
|
2142
2737
|
styleOverrides: {
|
|
2738
|
+
"&.M4LSideBar-popover": {
|
|
2739
|
+
"& .MuiPaper-root": {
|
|
2740
|
+
boxShadow: o.customShadows.z4,
|
|
2741
|
+
"& .M4LSideBar-navListSubItemRoot:hover": {
|
|
2742
|
+
padding: "4px 8px",
|
|
2743
|
+
borderRadius: "4px",
|
|
2744
|
+
backgroundColor: o.palette.state.active12
|
|
2745
|
+
},
|
|
2746
|
+
"& .M4LSideBar-navListSubItemRoot": {
|
|
2747
|
+
padding: "4px 8px",
|
|
2748
|
+
borderRadius: "4px",
|
|
2749
|
+
"& .M4LSideBar-subItemActive": {
|
|
2750
|
+
"& .M4LSideBar-navSubItemContentBullet": {
|
|
2751
|
+
borderRadius: "5px",
|
|
2752
|
+
height: "10px",
|
|
2753
|
+
backgroundColor: o.palette.state.focus
|
|
2754
|
+
}
|
|
2755
|
+
},
|
|
2756
|
+
"& .MuiButtonBase-root": {
|
|
2757
|
+
gap: "4px",
|
|
2758
|
+
"&:hover": {
|
|
2759
|
+
backgroundColor: "transparent"
|
|
2760
|
+
}
|
|
2761
|
+
},
|
|
2762
|
+
"& .M4LSideBar-navSubItemContentBullet": {
|
|
2763
|
+
width: "4px",
|
|
2764
|
+
height: "4px",
|
|
2765
|
+
borderRadius: "100%",
|
|
2766
|
+
backgroundColor: o.palette.text.secondary,
|
|
2767
|
+
margin: "6px"
|
|
2768
|
+
}
|
|
2769
|
+
}
|
|
2770
|
+
}
|
|
2771
|
+
},
|
|
2143
2772
|
["&.M4LPopover-root"]: {
|
|
2144
|
-
test: "root",
|
|
2145
2773
|
".MuiPaper-root": {
|
|
2146
2774
|
background: o.palette.background.default,
|
|
2147
2775
|
borderRadius: "6px",
|
|
2148
2776
|
Padding: "8px",
|
|
2149
2777
|
margin: "8px 0px 0px 8px",
|
|
2150
|
-
boxShadow: o.customShadows
|
|
2778
|
+
boxShadow: o.customShadows?.z3
|
|
2779
|
+
},
|
|
2780
|
+
"& .M4LanguagePopover-containerItems": {
|
|
2781
|
+
"& .M4LanguagePopover-labelItem": {
|
|
2782
|
+
...o.typography.body,
|
|
2783
|
+
color: o.palette.text.secondary
|
|
2784
|
+
},
|
|
2785
|
+
"& .MuiButtonBase-root:hover": {
|
|
2786
|
+
backgroundColor: o.palette.state?.active12
|
|
2787
|
+
},
|
|
2788
|
+
"& .MuiButtonBase-root.Mui-selected": {
|
|
2789
|
+
backgroundColor: o.palette.state?.active12,
|
|
2790
|
+
"& .M4LanguagePopover-labelItem": {
|
|
2791
|
+
color: o.palette.state?.active
|
|
2792
|
+
}
|
|
2793
|
+
}
|
|
2151
2794
|
}
|
|
2152
2795
|
}
|
|
2153
2796
|
}
|
|
2154
2797
|
}
|
|
2155
|
-
}),
|
|
2798
|
+
}), Jo = (o) => ({
|
|
2156
2799
|
M4LRHFCheckbox: {
|
|
2157
2800
|
styleOverrides: {
|
|
2158
|
-
|
|
2159
|
-
|
|
2801
|
+
"&.M4LRHFCheckbox-root": {
|
|
2802
|
+
display: "flex",
|
|
2803
|
+
flexDirection: "column",
|
|
2804
|
+
gap: o.spacing(0.5),
|
|
2160
2805
|
".M4LRHFCheckbox-checkTypography": {
|
|
2161
2806
|
display: "flex",
|
|
2162
2807
|
gap: o.spacing(2),
|
|
@@ -2213,18 +2858,30 @@ const Go = (o) => ({
|
|
|
2213
2858
|
}
|
|
2214
2859
|
}
|
|
2215
2860
|
}
|
|
2216
|
-
}),
|
|
2861
|
+
}), Qo = (o) => ({
|
|
2217
2862
|
M4LErrorLabel: {
|
|
2218
2863
|
styleOverrides: {
|
|
2219
|
-
["&.
|
|
2220
|
-
|
|
2864
|
+
["&.M4LHelperText-root"]: {
|
|
2865
|
+
"&.M4LHelperText-variantInfo .MuiTypography-root": {
|
|
2866
|
+
color: o.palette.info.main
|
|
2867
|
+
},
|
|
2868
|
+
"&.M4LHelperText-variantSuccess .MuiTypography-root": {
|
|
2869
|
+
color: o.palette.success.main
|
|
2870
|
+
},
|
|
2871
|
+
"&.M4LHelperText-variantWarning .MuiTypography-root": {
|
|
2872
|
+
color: o.palette.warning.main
|
|
2873
|
+
},
|
|
2874
|
+
"&.M4LHelperText-variantError .MuiTypography-root": {
|
|
2875
|
+
color: o.palette.error.main
|
|
2876
|
+
}
|
|
2221
2877
|
}
|
|
2222
2878
|
}
|
|
2223
2879
|
}
|
|
2224
|
-
}),
|
|
2880
|
+
}), Xo = (o) => ({
|
|
2225
2881
|
M4LTypography: {
|
|
2226
2882
|
styleOverrides: {
|
|
2227
2883
|
["&.M4LTypography-root"]: {
|
|
2884
|
+
color: o.palette.text.primary,
|
|
2228
2885
|
display: "inline",
|
|
2229
2886
|
"& .MuiTypography-root": {
|
|
2230
2887
|
margin: "unset"
|
|
@@ -2232,101 +2889,942 @@ const Go = (o) => ({
|
|
|
2232
2889
|
}
|
|
2233
2890
|
}
|
|
2234
2891
|
}
|
|
2235
|
-
}),
|
|
2892
|
+
}), Zo = (o) => ({
|
|
2236
2893
|
M4LButton: {
|
|
2237
|
-
styleOverrides: {
|
|
2894
|
+
styleOverrides: {
|
|
2895
|
+
"&.M4LButton-root": {
|
|
2896
|
+
width: "100%",
|
|
2897
|
+
display: "flex",
|
|
2898
|
+
justifyContent: "center",
|
|
2899
|
+
"& .M4LButton-skeleton ": {
|
|
2900
|
+
height: "100%!important",
|
|
2901
|
+
borderRadius: "4px"
|
|
2902
|
+
},
|
|
2903
|
+
"& .MuiButtonBase-root": {
|
|
2904
|
+
display: "flex",
|
|
2905
|
+
textTransform: "none",
|
|
2906
|
+
gap: "8px",
|
|
2907
|
+
transition: "all .5s ease",
|
|
2908
|
+
borderRadius: "4px",
|
|
2909
|
+
border: "1px solid transparent",
|
|
2910
|
+
...o.typography.action,
|
|
2911
|
+
"& .M4LIcon-icon": {
|
|
2912
|
+
transition: "all .5s ease"
|
|
2913
|
+
},
|
|
2914
|
+
"& .MuiButton-startIcon, & .MuiButton-endIcon": {
|
|
2915
|
+
margin: "0px"
|
|
2916
|
+
},
|
|
2917
|
+
"&::before": {
|
|
2918
|
+
inset: "0",
|
|
2919
|
+
border: "1px solid",
|
|
2920
|
+
borderColor: o.palette.state?.focus,
|
|
2921
|
+
borderRadius: "4px",
|
|
2922
|
+
transform: "scale(1.07, 1.36)",
|
|
2923
|
+
position: "absolute",
|
|
2924
|
+
boxSizing: "border-box"
|
|
2925
|
+
}
|
|
2926
|
+
},
|
|
2927
|
+
"&.M4LButton-isDisabled": {
|
|
2928
|
+
"& .MuiButtonBase-root": {
|
|
2929
|
+
color: `${o.palette.text.disabled}!important`,
|
|
2930
|
+
"& .M4LIcon-icon": {
|
|
2931
|
+
backgroundColor: `${o.palette.text.disabled}!important`
|
|
2932
|
+
}
|
|
2933
|
+
},
|
|
2934
|
+
"&.M4LButton-variantContained": {
|
|
2935
|
+
"& .MuiButtonBase-root": {
|
|
2936
|
+
color: o.palette.text.disabled,
|
|
2937
|
+
"& .M4LIcon-icon": {
|
|
2938
|
+
backgroundColor: o.palette.text.disabled
|
|
2939
|
+
},
|
|
2940
|
+
"&:hover": {
|
|
2941
|
+
backgroundColor: o.palette.state?.default,
|
|
2942
|
+
color: o.palette.text.disabled,
|
|
2943
|
+
"& .M4LIcon-icon": {
|
|
2944
|
+
backgroundColor: o.palette.text.disabled,
|
|
2945
|
+
color: o.palette.text.disabled
|
|
2946
|
+
}
|
|
2947
|
+
},
|
|
2948
|
+
"&:active": {
|
|
2949
|
+
backgroundColor: o.palette.state?.default,
|
|
2950
|
+
color: o.palette.text.disabled,
|
|
2951
|
+
"& .M4LIcon-icon": {
|
|
2952
|
+
backgroundColor: o.palette.text.disabled,
|
|
2953
|
+
color: o.palette.text.disabled
|
|
2954
|
+
}
|
|
2955
|
+
},
|
|
2956
|
+
"&.Mui-focusVisible": {
|
|
2957
|
+
backgroundColor: o.palette.state?.default,
|
|
2958
|
+
color: o.palette.text.disabled,
|
|
2959
|
+
"& .M4LIcon-icon": {
|
|
2960
|
+
backgroundColor: o.palette.text.disabled,
|
|
2961
|
+
color: o.palette.text.disabled
|
|
2962
|
+
},
|
|
2963
|
+
"&::before": {
|
|
2964
|
+
content: "none"
|
|
2965
|
+
}
|
|
2966
|
+
}
|
|
2967
|
+
}
|
|
2968
|
+
}
|
|
2969
|
+
},
|
|
2970
|
+
"&.M4LButton-sizeSmall": {
|
|
2971
|
+
height: "28px",
|
|
2972
|
+
"& .MuiButtonBase-root": {
|
|
2973
|
+
padding: "4px 12px"
|
|
2974
|
+
},
|
|
2975
|
+
"&.M4LButton-skeleton": {
|
|
2976
|
+
height: "28px"
|
|
2977
|
+
}
|
|
2978
|
+
},
|
|
2979
|
+
"&.M4LButton-sizeMedium": {
|
|
2980
|
+
height: "38px",
|
|
2981
|
+
"& .MuiButtonBase-root": {
|
|
2982
|
+
padding: "8px 16px"
|
|
2983
|
+
},
|
|
2984
|
+
"&.M4LButton-skeleton": {
|
|
2985
|
+
height: "38px"
|
|
2986
|
+
}
|
|
2987
|
+
},
|
|
2988
|
+
"&.M4LButton-variantContained": {
|
|
2989
|
+
"& .MuiButtonBase-root": {
|
|
2990
|
+
backgroundColor: o.palette.state?.default,
|
|
2991
|
+
color: o.palette.text.secondary,
|
|
2992
|
+
boxShadow: o.customShadows?.z1,
|
|
2993
|
+
position: "relative",
|
|
2994
|
+
"& .M4LIcon-icon": {
|
|
2995
|
+
backgroundColor: o.palette.text.secondary
|
|
2996
|
+
},
|
|
2997
|
+
"&:hover": {
|
|
2998
|
+
backgroundColor: o.palette.state?.hover,
|
|
2999
|
+
color: o.palette.patronus?.marbleLight[10],
|
|
3000
|
+
"& .M4LIcon-icon": {
|
|
3001
|
+
backgroundColor: o.palette.patronus?.marbleLight[10]
|
|
3002
|
+
}
|
|
3003
|
+
},
|
|
3004
|
+
"&:active": {
|
|
3005
|
+
backgroundColor: o.palette.state?.active,
|
|
3006
|
+
color: o.palette.patronus?.marbleLight[10],
|
|
3007
|
+
"& .M4LIcon-icon": {
|
|
3008
|
+
backgroundColor: o.palette.patronus?.marbleLight[10]
|
|
3009
|
+
}
|
|
3010
|
+
},
|
|
3011
|
+
"&.Mui-focusVisible": {
|
|
3012
|
+
backgroundColor: o.palette.state?.active,
|
|
3013
|
+
color: o.palette.patronus?.marbleLight[10],
|
|
3014
|
+
"& .M4LIcon-icon": {
|
|
3015
|
+
backgroundColor: o.palette.patronus?.marbleLight[10]
|
|
3016
|
+
},
|
|
3017
|
+
"&::before": {
|
|
3018
|
+
content: "''"
|
|
3019
|
+
}
|
|
3020
|
+
}
|
|
3021
|
+
}
|
|
3022
|
+
},
|
|
3023
|
+
"&.M4LButton-variantOutlined": {
|
|
3024
|
+
"& .MuiButtonBase-root": {
|
|
3025
|
+
border: "1px solid",
|
|
3026
|
+
borderColor: o.palette.text.secondary,
|
|
3027
|
+
color: o.palette.text.secondary,
|
|
3028
|
+
"& .M4LIcon-icon": {
|
|
3029
|
+
backgroundColor: o.palette.text.secondary
|
|
3030
|
+
},
|
|
3031
|
+
"&:hover": {
|
|
3032
|
+
borderColor: o.palette.state?.hover,
|
|
3033
|
+
color: o.palette.state?.hover,
|
|
3034
|
+
backgroundColor: o.palette.state?.active12,
|
|
3035
|
+
"& .M4LIcon-icon": {
|
|
3036
|
+
backgroundColor: o.palette.state?.hover
|
|
3037
|
+
}
|
|
3038
|
+
},
|
|
3039
|
+
"&:active": {
|
|
3040
|
+
borderColor: o.palette.state?.active,
|
|
3041
|
+
color: o.palette.state?.active,
|
|
3042
|
+
backgroundColor: "transparent",
|
|
3043
|
+
"& .M4LIcon-icon": {
|
|
3044
|
+
backgroundColor: o.palette.state?.active
|
|
3045
|
+
}
|
|
3046
|
+
},
|
|
3047
|
+
"&.Mui-focusVisible": {
|
|
3048
|
+
borderColor: o.palette.state?.active,
|
|
3049
|
+
color: o.palette.state?.active,
|
|
3050
|
+
backgroundColor: "transparent",
|
|
3051
|
+
"& .M4LIcon-icon": {
|
|
3052
|
+
backgroundColor: o.palette.state?.active
|
|
3053
|
+
},
|
|
3054
|
+
"&::before": {
|
|
3055
|
+
content: "''"
|
|
3056
|
+
}
|
|
3057
|
+
}
|
|
3058
|
+
}
|
|
3059
|
+
},
|
|
3060
|
+
"&.M4LButton-variantText": {
|
|
3061
|
+
"& .MuiButtonBase-root": {
|
|
3062
|
+
color: o.palette.text.secondary,
|
|
3063
|
+
"& .M4LIcon-icon": {
|
|
3064
|
+
backgroundColor: o.palette.text.secondary
|
|
3065
|
+
},
|
|
3066
|
+
"&:hover": {
|
|
3067
|
+
backgroundColor: o.palette.state?.active12,
|
|
3068
|
+
color: o.palette.state?.hover,
|
|
3069
|
+
"& .M4LIcon-icon": {
|
|
3070
|
+
backgroundColor: o.palette.state?.hover
|
|
3071
|
+
}
|
|
3072
|
+
},
|
|
3073
|
+
"&:active": {
|
|
3074
|
+
backgroundColor: "transparent",
|
|
3075
|
+
color: o.palette.state?.active,
|
|
3076
|
+
"& .M4LIcon-icon": {
|
|
3077
|
+
backgroundColor: o.palette.state?.active
|
|
3078
|
+
}
|
|
3079
|
+
},
|
|
3080
|
+
"&.Mui-focusVisible": {
|
|
3081
|
+
backgroundColor: "transparent",
|
|
3082
|
+
color: o.palette.state?.active,
|
|
3083
|
+
"& .M4LIcon-icon": {
|
|
3084
|
+
backgroundColor: o.palette.state?.active
|
|
3085
|
+
},
|
|
3086
|
+
"&:before": {
|
|
3087
|
+
content: "''"
|
|
3088
|
+
}
|
|
3089
|
+
}
|
|
3090
|
+
}
|
|
3091
|
+
}
|
|
3092
|
+
}
|
|
3093
|
+
}
|
|
2238
3094
|
}
|
|
2239
|
-
}),
|
|
3095
|
+
}), ot = (o) => ({
|
|
2240
3096
|
M4LRHFAutocomplete: {
|
|
2241
3097
|
styleOverrides: {
|
|
2242
|
-
|
|
2243
|
-
|
|
3098
|
+
"&.M4LRHFAutocomplete-root": {
|
|
3099
|
+
display: "flex",
|
|
3100
|
+
flexDirection: "column",
|
|
3101
|
+
width: "100%",
|
|
3102
|
+
gap: "4px",
|
|
3103
|
+
"& .M4LRHFAutocomplete-label": {
|
|
3104
|
+
color: o.palette.text.secondary,
|
|
3105
|
+
transition: "all .5s ease"
|
|
3106
|
+
},
|
|
3107
|
+
"& .MuiAutocomplete-endAdornment": {
|
|
3108
|
+
top: "unset"
|
|
3109
|
+
},
|
|
3110
|
+
"& .MuiInputBase-root": {
|
|
3111
|
+
padding: "0px",
|
|
3112
|
+
"& .MuiInputBase-input": {
|
|
3113
|
+
color: o.palette.text.secondary,
|
|
3114
|
+
padding: "0px",
|
|
3115
|
+
backgroundColor: "transparent",
|
|
3116
|
+
...o.typography.body
|
|
3117
|
+
},
|
|
3118
|
+
"& .MuiInputAdornment-root": {
|
|
3119
|
+
margin: "0px",
|
|
3120
|
+
padding: "0px"
|
|
3121
|
+
},
|
|
3122
|
+
"& .M4LIcon-icon": {
|
|
3123
|
+
backgroundColor: o.palette.text.secondary,
|
|
3124
|
+
transition: "all .5s ease"
|
|
3125
|
+
},
|
|
3126
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
|
3127
|
+
border: "1px solid",
|
|
3128
|
+
borderColor: o.palette.text.secondary,
|
|
3129
|
+
borderRadius: "4px",
|
|
3130
|
+
inset: "0px",
|
|
3131
|
+
transition: "all .5s ease",
|
|
3132
|
+
"& legend": {
|
|
3133
|
+
display: "none"
|
|
3134
|
+
}
|
|
3135
|
+
}
|
|
3136
|
+
},
|
|
3137
|
+
"&:hover": {
|
|
3138
|
+
"& .M4LRHFAutocomplete-label": {
|
|
3139
|
+
color: o.palette.state?.hover
|
|
3140
|
+
},
|
|
3141
|
+
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
3142
|
+
borderColor: o.palette.state?.hover,
|
|
3143
|
+
boxShadow: `0px 1px 8px ${e(o.palette.primary.main, 0.32)}`
|
|
3144
|
+
},
|
|
3145
|
+
"& .MuiInputBase-input": {
|
|
3146
|
+
color: o.palette.text.primary
|
|
3147
|
+
},
|
|
3148
|
+
"& .M4LIcon-icon": {
|
|
3149
|
+
backgroundColor: o.palette.state?.hover
|
|
3150
|
+
}
|
|
3151
|
+
},
|
|
3152
|
+
"&.M4LRHFAutocomplete-isFocus": {
|
|
3153
|
+
"& .M4LRHFAutocomplete-label": {
|
|
3154
|
+
color: o.palette.state?.active
|
|
3155
|
+
},
|
|
3156
|
+
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
3157
|
+
transition: "all .1s ease",
|
|
3158
|
+
border: "2px solid",
|
|
3159
|
+
borderColor: o.palette.state?.active,
|
|
3160
|
+
boxShadow: `0px 1px 8px ${e(o.palette.primary.main, 0.32)}`
|
|
3161
|
+
},
|
|
3162
|
+
"& .MuiInputBase-input": {
|
|
3163
|
+
color: o.palette.text.primary
|
|
3164
|
+
},
|
|
3165
|
+
"& .M4LIcon-icon": {
|
|
3166
|
+
backgroundColor: o.palette.state?.active
|
|
3167
|
+
}
|
|
3168
|
+
},
|
|
3169
|
+
"&.M4LRHFAutocomplete-variantError": {
|
|
3170
|
+
"& .M4LRHFAutocomplete-label": {
|
|
3171
|
+
color: o.palette.state?.error.normal
|
|
3172
|
+
},
|
|
3173
|
+
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
3174
|
+
border: "1px solid",
|
|
3175
|
+
borderColor: o.palette.state?.error.normal
|
|
3176
|
+
},
|
|
3177
|
+
"& .MuiInputBase-input": {
|
|
3178
|
+
color: o.palette.text.primary
|
|
3179
|
+
},
|
|
3180
|
+
"& .M4LIcon-icon": {
|
|
3181
|
+
backgroundColor: o.palette.state?.error.normal
|
|
3182
|
+
},
|
|
3183
|
+
"&:hover": {
|
|
3184
|
+
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
3185
|
+
boxShadow: o.customShadows?.error
|
|
3186
|
+
}
|
|
3187
|
+
},
|
|
3188
|
+
"&.M4LRHFAutocomplete-isFocus": {
|
|
3189
|
+
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
3190
|
+
boxShadow: o.customShadows?.error
|
|
3191
|
+
}
|
|
3192
|
+
}
|
|
3193
|
+
},
|
|
3194
|
+
"&.M4LRHFAutocomplete-isDisabled": {
|
|
3195
|
+
"& .M4LRHFAutocomplete-label": {
|
|
3196
|
+
color: o.palette.text.disabled
|
|
3197
|
+
},
|
|
3198
|
+
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
3199
|
+
border: "1px solid",
|
|
3200
|
+
borderColor: o.palette.text.disabled,
|
|
3201
|
+
backgroundColor: o.palette.state?.default,
|
|
3202
|
+
boxShadow: "none"
|
|
3203
|
+
},
|
|
3204
|
+
"& .MuiInputBase-input": {
|
|
3205
|
+
color: o.palette.text.disabled
|
|
3206
|
+
},
|
|
3207
|
+
"& .M4LIcon-icon": {
|
|
3208
|
+
backgroundColor: o.palette.text.disabled
|
|
3209
|
+
}
|
|
3210
|
+
},
|
|
3211
|
+
"&.M4LRHFAutocomplete-sizeSmall": {
|
|
3212
|
+
"& .MuiInputBase-input, & .MuiOutlinedInput-notchedOutline, & .M4LRHFAutocomplete-skeleton": {
|
|
3213
|
+
height: "24px",
|
|
3214
|
+
padding: "0px 8px"
|
|
3215
|
+
}
|
|
3216
|
+
},
|
|
3217
|
+
"&.M4LRHFAutocomplete-sizeMedium": {
|
|
3218
|
+
"& .MuiInputBase-input, & .MuiOutlinedInput-notchedOutline, & .M4LRHFAutocomplete-skeleton": {
|
|
3219
|
+
height: "28px",
|
|
3220
|
+
padding: "0px 8px"
|
|
3221
|
+
}
|
|
3222
|
+
}
|
|
2244
3223
|
}
|
|
2245
3224
|
}
|
|
2246
3225
|
}
|
|
2247
|
-
}),
|
|
3226
|
+
}), tt = (o) => ({
|
|
2248
3227
|
M4LRHFAutocompleteAsync: {
|
|
2249
3228
|
styleOverrides: {
|
|
2250
|
-
|
|
2251
|
-
|
|
3229
|
+
"&.M4LRHFAutocompleteAsync-root": {
|
|
3230
|
+
width: "100%"
|
|
2252
3231
|
}
|
|
2253
3232
|
}
|
|
2254
3233
|
}
|
|
2255
|
-
}),
|
|
3234
|
+
}), et = (o) => ({
|
|
2256
3235
|
M4LoadingButton: {
|
|
2257
|
-
styleOverrides: {
|
|
3236
|
+
styleOverrides: {
|
|
3237
|
+
"&.M4LoadingButton-root": {
|
|
3238
|
+
width: "100%",
|
|
3239
|
+
display: "flex",
|
|
3240
|
+
justifyContent: "center",
|
|
3241
|
+
"& .MuiLoadingButton-loading": {
|
|
3242
|
+
"& .MuiTypography-root": {
|
|
3243
|
+
color: "transparent"
|
|
3244
|
+
}
|
|
3245
|
+
},
|
|
3246
|
+
"& .MuiCircularProgress-root": {
|
|
3247
|
+
color: o.palette.primary.main
|
|
3248
|
+
},
|
|
3249
|
+
"& .MuiTypography-root": {
|
|
3250
|
+
color: o.palette.text.secondary,
|
|
3251
|
+
transition: "all .5s ease"
|
|
3252
|
+
},
|
|
3253
|
+
"& .M4LoadingButton-skeleton ": {
|
|
3254
|
+
height: "100%!important",
|
|
3255
|
+
borderRadius: "4px"
|
|
3256
|
+
},
|
|
3257
|
+
"& .MuiButtonBase-root": {
|
|
3258
|
+
display: "flex",
|
|
3259
|
+
textTransform: "none",
|
|
3260
|
+
gap: "8px",
|
|
3261
|
+
transition: "all .5s ease",
|
|
3262
|
+
borderRadius: "4px",
|
|
3263
|
+
border: "1px solid transparent",
|
|
3264
|
+
...o.typography.action,
|
|
3265
|
+
"& .M4LIcon-icon": {
|
|
3266
|
+
transition: "all .5s ease"
|
|
3267
|
+
},
|
|
3268
|
+
"& .MuiButton-startIcon, & .MuiButton-endIcon": {
|
|
3269
|
+
margin: "0px"
|
|
3270
|
+
},
|
|
3271
|
+
"&::before": {
|
|
3272
|
+
inset: "0",
|
|
3273
|
+
border: "1px solid",
|
|
3274
|
+
borderColor: o.palette.state?.focus,
|
|
3275
|
+
borderRadius: "4px",
|
|
3276
|
+
transform: "scale(1.07, 1.36)",
|
|
3277
|
+
position: "absolute",
|
|
3278
|
+
boxSizing: "border-box"
|
|
3279
|
+
}
|
|
3280
|
+
},
|
|
3281
|
+
"&.M4LoadingButton-isDisabled": {
|
|
3282
|
+
"& .MuiButtonBase-root": {
|
|
3283
|
+
color: `${o.palette.text.disabled}!important`,
|
|
3284
|
+
"& .M4LIcon-icon": {
|
|
3285
|
+
backgroundColor: `${o.palette.text.disabled}!important`
|
|
3286
|
+
}
|
|
3287
|
+
},
|
|
3288
|
+
"&.M4LoadingButton-variantContained": {
|
|
3289
|
+
"& .MuiButtonBase-root": {
|
|
3290
|
+
color: o.palette.text.disabled,
|
|
3291
|
+
"& .M4LIcon-icon": {
|
|
3292
|
+
backgroundColor: o.palette.text.disabled
|
|
3293
|
+
},
|
|
3294
|
+
"&:hover": {
|
|
3295
|
+
backgroundColor: o.palette.state?.default,
|
|
3296
|
+
color: o.palette.text.disabled,
|
|
3297
|
+
"& .M4LIcon-icon": {
|
|
3298
|
+
backgroundColor: o.palette.text.disabled,
|
|
3299
|
+
color: o.palette.text.disabled
|
|
3300
|
+
}
|
|
3301
|
+
},
|
|
3302
|
+
"&:active": {
|
|
3303
|
+
backgroundColor: o.palette.state?.default,
|
|
3304
|
+
color: o.palette.text.disabled,
|
|
3305
|
+
"& .M4LIcon-icon": {
|
|
3306
|
+
backgroundColor: o.palette.text.disabled,
|
|
3307
|
+
color: o.palette.text.disabled
|
|
3308
|
+
}
|
|
3309
|
+
},
|
|
3310
|
+
"&.Mui-focusVisible": {
|
|
3311
|
+
backgroundColor: o.palette.state?.default,
|
|
3312
|
+
color: o.palette.text.disabled,
|
|
3313
|
+
"& .M4LIcon-icon": {
|
|
3314
|
+
backgroundColor: o.palette.text.disabled,
|
|
3315
|
+
color: o.palette.text.disabled
|
|
3316
|
+
},
|
|
3317
|
+
"&::before": {
|
|
3318
|
+
content: "none"
|
|
3319
|
+
}
|
|
3320
|
+
}
|
|
3321
|
+
}
|
|
3322
|
+
}
|
|
3323
|
+
},
|
|
3324
|
+
"&.M4LoadingButton-sizeSmall": {
|
|
3325
|
+
height: "28px",
|
|
3326
|
+
"& .MuiButtonBase-root": {
|
|
3327
|
+
padding: "4px 12px"
|
|
3328
|
+
},
|
|
3329
|
+
"&.M4LoadingButton-skeleton": {
|
|
3330
|
+
height: "28px"
|
|
3331
|
+
}
|
|
3332
|
+
},
|
|
3333
|
+
"&.M4LoadingButton-sizeMedium": {
|
|
3334
|
+
height: "38px",
|
|
3335
|
+
"& .MuiButtonBase-root": {
|
|
3336
|
+
padding: "8px 16px"
|
|
3337
|
+
},
|
|
3338
|
+
"&.M4LoadingButton-skeleton": {
|
|
3339
|
+
height: "38px"
|
|
3340
|
+
}
|
|
3341
|
+
},
|
|
3342
|
+
"&.M4LoadingButton-variantContained": {
|
|
3343
|
+
"& .MuiButtonBase-root": {
|
|
3344
|
+
backgroundColor: o.palette.state?.default,
|
|
3345
|
+
color: o.palette.text.secondary,
|
|
3346
|
+
boxShadow: o.customShadows?.z1,
|
|
3347
|
+
position: "relative",
|
|
3348
|
+
"& .M4LIcon-icon": {
|
|
3349
|
+
backgroundColor: o.palette.text.secondary
|
|
3350
|
+
},
|
|
3351
|
+
"&:hover": {
|
|
3352
|
+
backgroundColor: o.palette.state?.hover,
|
|
3353
|
+
"& .M4LIcon-icon": {
|
|
3354
|
+
backgroundColor: o.palette.patronus?.marbleLight[10]
|
|
3355
|
+
},
|
|
3356
|
+
"& .MuiTypography-root": {
|
|
3357
|
+
color: o.palette.patronus?.marbleLight[10]
|
|
3358
|
+
}
|
|
3359
|
+
},
|
|
3360
|
+
"&:active": {
|
|
3361
|
+
backgroundColor: o.palette.state?.active,
|
|
3362
|
+
color: o.palette.patronus?.marbleLight[10],
|
|
3363
|
+
"& .M4LIcon-icon": {
|
|
3364
|
+
backgroundColor: o.palette.patronus?.marbleLight[10]
|
|
3365
|
+
}
|
|
3366
|
+
},
|
|
3367
|
+
"&.Mui-focusVisible": {
|
|
3368
|
+
backgroundColor: o.palette.state?.active,
|
|
3369
|
+
color: o.palette.patronus?.marbleLight[10],
|
|
3370
|
+
"& .M4LIcon-icon": {
|
|
3371
|
+
backgroundColor: o.palette.patronus?.marbleLight[10]
|
|
3372
|
+
},
|
|
3373
|
+
"&::before": {
|
|
3374
|
+
content: "''"
|
|
3375
|
+
}
|
|
3376
|
+
}
|
|
3377
|
+
}
|
|
3378
|
+
},
|
|
3379
|
+
"&.M4LoadingButton-variantOutlined": {
|
|
3380
|
+
"& .MuiButtonBase-root": {
|
|
3381
|
+
border: "1px solid",
|
|
3382
|
+
borderColor: o.palette.text.secondary,
|
|
3383
|
+
color: o.palette.text.secondary,
|
|
3384
|
+
"& .M4LIcon-icon": {
|
|
3385
|
+
backgroundColor: o.palette.text.secondary
|
|
3386
|
+
},
|
|
3387
|
+
"&:hover": {
|
|
3388
|
+
borderColor: o.palette.state?.hover,
|
|
3389
|
+
color: o.palette.state?.hover,
|
|
3390
|
+
backgroundColor: o.palette.state?.active12,
|
|
3391
|
+
"& .M4LIcon-icon": {
|
|
3392
|
+
backgroundColor: o.palette.state?.hover
|
|
3393
|
+
}
|
|
3394
|
+
},
|
|
3395
|
+
"&:active": {
|
|
3396
|
+
borderColor: o.palette.state?.active,
|
|
3397
|
+
color: o.palette.state?.active,
|
|
3398
|
+
backgroundColor: "transparent",
|
|
3399
|
+
"& .M4LIcon-icon": {
|
|
3400
|
+
backgroundColor: o.palette.state?.active
|
|
3401
|
+
}
|
|
3402
|
+
},
|
|
3403
|
+
"&.Mui-focusVisible": {
|
|
3404
|
+
borderColor: o.palette.state?.active,
|
|
3405
|
+
color: o.palette.state?.active,
|
|
3406
|
+
backgroundColor: "transparent",
|
|
3407
|
+
"& .M4LIcon-icon": {
|
|
3408
|
+
backgroundColor: o.palette.state?.active
|
|
3409
|
+
},
|
|
3410
|
+
"&::before": {
|
|
3411
|
+
content: "''"
|
|
3412
|
+
}
|
|
3413
|
+
}
|
|
3414
|
+
}
|
|
3415
|
+
},
|
|
3416
|
+
"&.M4LoadingButton-variantText": {
|
|
3417
|
+
"& .MuiButtonBase-root": {
|
|
3418
|
+
color: o.palette.text.secondary,
|
|
3419
|
+
"& .M4LIcon-icon": {
|
|
3420
|
+
backgroundColor: o.palette.text.secondary
|
|
3421
|
+
},
|
|
3422
|
+
"&:hover": {
|
|
3423
|
+
backgroundColor: o.palette.state?.active12,
|
|
3424
|
+
color: o.palette.state?.hover,
|
|
3425
|
+
"& .M4LIcon-icon": {
|
|
3426
|
+
backgroundColor: o.palette.state?.hover
|
|
3427
|
+
}
|
|
3428
|
+
},
|
|
3429
|
+
"&:active": {
|
|
3430
|
+
backgroundColor: "transparent",
|
|
3431
|
+
color: o.palette.state?.active,
|
|
3432
|
+
"& .M4LIcon-icon": {
|
|
3433
|
+
backgroundColor: o.palette.state?.active
|
|
3434
|
+
}
|
|
3435
|
+
},
|
|
3436
|
+
"&.Mui-focusVisible": {
|
|
3437
|
+
backgroundColor: "transparent",
|
|
3438
|
+
color: o.palette.state?.active,
|
|
3439
|
+
"& .M4LIcon-icon": {
|
|
3440
|
+
backgroundColor: o.palette.state?.active
|
|
3441
|
+
},
|
|
3442
|
+
"&:before": {
|
|
3443
|
+
content: "''"
|
|
3444
|
+
}
|
|
3445
|
+
}
|
|
3446
|
+
}
|
|
3447
|
+
}
|
|
3448
|
+
}
|
|
3449
|
+
}
|
|
2258
3450
|
}
|
|
2259
|
-
}),
|
|
3451
|
+
}), rt = (o) => ({
|
|
2260
3452
|
M4LNavLink: {
|
|
2261
3453
|
styleOverrides: {
|
|
2262
3454
|
["&.M4LNavLink-root"]: {
|
|
2263
|
-
|
|
3455
|
+
"& .M4LTypography-root": {
|
|
3456
|
+
color: o.palette.primary.main
|
|
3457
|
+
},
|
|
3458
|
+
"&: hover": {
|
|
3459
|
+
"& .M4LTypography-root": {
|
|
3460
|
+
color: o.palette.state?.hover,
|
|
3461
|
+
textDecoration: "underline",
|
|
3462
|
+
textDecorationColor: o.palette.state?.hover
|
|
3463
|
+
}
|
|
3464
|
+
},
|
|
3465
|
+
"& > a": {
|
|
3466
|
+
textDecoration: "none"
|
|
3467
|
+
}
|
|
3468
|
+
}
|
|
3469
|
+
}
|
|
3470
|
+
}
|
|
3471
|
+
}), at = (o) => ({
|
|
3472
|
+
M4LSideBar: {
|
|
3473
|
+
styleOverrides: {
|
|
3474
|
+
"&.M4LSideBar-root": {
|
|
3475
|
+
test: "root",
|
|
3476
|
+
height: "100%",
|
|
3477
|
+
width: "fitContent",
|
|
3478
|
+
borderRadius: "4px",
|
|
3479
|
+
display: "flex",
|
|
3480
|
+
background: o.palette.background.neutral,
|
|
3481
|
+
boxSizing: "contentBox",
|
|
3482
|
+
overflow: "hidden",
|
|
3483
|
+
"& .M4LSideBar-wrapperSideBar": {
|
|
3484
|
+
display: "flex",
|
|
3485
|
+
"& .M4LSideBar-containerLogo": {
|
|
3486
|
+
display: "flex",
|
|
3487
|
+
flexDirection: "row",
|
|
3488
|
+
width: "100%",
|
|
3489
|
+
gap: "12px",
|
|
3490
|
+
boxSizing: "contentBox",
|
|
3491
|
+
padding: "16px 0px 0px 8px",
|
|
3492
|
+
position: "absolute",
|
|
3493
|
+
left: "-20px",
|
|
3494
|
+
fitContent: "100%",
|
|
3495
|
+
alignItems: "center",
|
|
3496
|
+
"& .M4LImage-root": {
|
|
3497
|
+
position: "relative",
|
|
3498
|
+
background: o.palette.background.neutral,
|
|
3499
|
+
boxShadow: o.customShadows.z3,
|
|
3500
|
+
padding: "4px",
|
|
3501
|
+
borderRadius: "6px",
|
|
3502
|
+
minWidth: "64px",
|
|
3503
|
+
minHeight: "64px"
|
|
3504
|
+
}
|
|
3505
|
+
},
|
|
3506
|
+
"& .M4LSideBar-contentGroups": {
|
|
3507
|
+
overflow: "hidden",
|
|
3508
|
+
"& .M4LSideBar-wrapperGroup": {
|
|
3509
|
+
padding: "100px 8px 0px 0px",
|
|
3510
|
+
flexDirection: "column",
|
|
3511
|
+
gap: "8px",
|
|
3512
|
+
"& .M4LSideBar-itemListMainRoot": {
|
|
3513
|
+
display: "flex",
|
|
3514
|
+
flexDirection: "column",
|
|
3515
|
+
position: "realative",
|
|
3516
|
+
"& > .MuiCollapse-root:nth-of-type(2)": {
|
|
3517
|
+
backgroundColor: "transparent",
|
|
3518
|
+
top: "-16px"
|
|
3519
|
+
},
|
|
3520
|
+
"& .MuiCollapse-root": {
|
|
3521
|
+
borderRadius: "16px 0px 4px 4px",
|
|
3522
|
+
padding: "16px 8px 8px 8px",
|
|
3523
|
+
position: "relative"
|
|
3524
|
+
},
|
|
3525
|
+
"&.M4LSideBar-itemMainActive": {
|
|
3526
|
+
"& .M4LSideBar-navItemMainRoot": {
|
|
3527
|
+
height: "68px"
|
|
3528
|
+
},
|
|
3529
|
+
"& > .MuiCollapse-root:nth-of-type(2)": {
|
|
3530
|
+
backgroundColor: o.palette.state.active12,
|
|
3531
|
+
top: "-16px"
|
|
3532
|
+
},
|
|
3533
|
+
"& .M4LSideBar-navItemRootContent": {
|
|
3534
|
+
background: o.palette.representative,
|
|
3535
|
+
"& .M4LTypography-root .MuiTypography-root": {
|
|
3536
|
+
color: o.palette.patronus?.marbleLight[10]
|
|
3537
|
+
},
|
|
3538
|
+
"& .M4LIcon-root .M4LIcon-icon": {
|
|
3539
|
+
backgroundColor: o.palette.patronus?.marbleLight[10]
|
|
3540
|
+
},
|
|
3541
|
+
"&:hover": {
|
|
3542
|
+
background: `${o.palette.representative}!important`
|
|
3543
|
+
}
|
|
3544
|
+
},
|
|
3545
|
+
"& .M4LSideBar-navItemMainTriangleTop": {
|
|
3546
|
+
position: "absolute",
|
|
3547
|
+
top: "0",
|
|
3548
|
+
left: "0",
|
|
3549
|
+
width: "16px",
|
|
3550
|
+
height: "16px",
|
|
3551
|
+
overflow: "hidden",
|
|
3552
|
+
backgroundColor: o.palette.representative,
|
|
3553
|
+
transform: "rotate(90deg)",
|
|
3554
|
+
"&::before": {
|
|
3555
|
+
content: '""',
|
|
3556
|
+
position: "absolute",
|
|
3557
|
+
width: "100%",
|
|
3558
|
+
height: "100%",
|
|
3559
|
+
backgroundColor: o.palette.background.neutral,
|
|
3560
|
+
transform: "rotate(180deg)",
|
|
3561
|
+
inset: "0",
|
|
3562
|
+
borderTopLeftRadius: "100%",
|
|
3563
|
+
transformOrigin: "center center"
|
|
3564
|
+
}
|
|
3565
|
+
},
|
|
3566
|
+
"& .M4LSideBar-navItemMainTriangleBottom": {
|
|
3567
|
+
position: "absolute",
|
|
3568
|
+
bottom: "0",
|
|
3569
|
+
left: "0",
|
|
3570
|
+
width: "16px",
|
|
3571
|
+
height: "16px",
|
|
3572
|
+
overflow: "hidden",
|
|
3573
|
+
background: o.palette.representative,
|
|
3574
|
+
transform: "rotate(180deg)",
|
|
3575
|
+
"&::before": {
|
|
3576
|
+
content: '""',
|
|
3577
|
+
position: "absolute",
|
|
3578
|
+
width: "100%",
|
|
3579
|
+
height: "100%",
|
|
3580
|
+
backgroundColor: o.palette.background.neutral,
|
|
3581
|
+
transform: "rotate(180deg)",
|
|
3582
|
+
inset: "0",
|
|
3583
|
+
borderTopLeftRadius: "100%",
|
|
3584
|
+
transformOrigin: "center center"
|
|
3585
|
+
}
|
|
3586
|
+
}
|
|
3587
|
+
},
|
|
3588
|
+
"& .M4LSideBar-navItemMainRoot": {
|
|
3589
|
+
...o.typography.body2,
|
|
3590
|
+
padding: "0px",
|
|
3591
|
+
height: "fit-content",
|
|
3592
|
+
position: "relative",
|
|
3593
|
+
display: "flex",
|
|
3594
|
+
alignItems: "center",
|
|
3595
|
+
textTransform: "capitalize",
|
|
3596
|
+
overflow: "hidden",
|
|
3597
|
+
backgroundColor: "transparent",
|
|
3598
|
+
"& .M4LSideBar-navItemRootContent": {
|
|
3599
|
+
padding: "8px 16px",
|
|
3600
|
+
border: "0px",
|
|
3601
|
+
justifyContent: "space-between",
|
|
3602
|
+
alignItems: "center",
|
|
3603
|
+
display: "flex",
|
|
3604
|
+
width: "100%",
|
|
3605
|
+
height: "36px",
|
|
3606
|
+
boxSizing: "border-box",
|
|
3607
|
+
borderRadius: "0 4px 4px 0",
|
|
3608
|
+
overflow: "hidden",
|
|
3609
|
+
transition: o.transitions.create(["width", "opacity"], {
|
|
3610
|
+
duration: o.transitions.duration.standard
|
|
3611
|
+
}),
|
|
3612
|
+
"&:hover": {
|
|
3613
|
+
backgroundColor: o.palette.state.active12,
|
|
3614
|
+
Color: o.palette.text.primary
|
|
3615
|
+
},
|
|
3616
|
+
"& .M4LSideBar-navItemRootContentIconTypo": {
|
|
3617
|
+
display: "flex",
|
|
3618
|
+
gap: "4px"
|
|
3619
|
+
}
|
|
3620
|
+
}
|
|
3621
|
+
}
|
|
3622
|
+
}
|
|
3623
|
+
}
|
|
3624
|
+
},
|
|
3625
|
+
"& .M4LSideBar-lineLeft": {
|
|
3626
|
+
height: "100%",
|
|
3627
|
+
width: "20px",
|
|
3628
|
+
backgroundColor: o.palette.representative
|
|
3629
|
+
},
|
|
3630
|
+
"& .M4LSideBar-contentDesktop, & .M4LSideBar-contentMobile": {
|
|
3631
|
+
position: "relative",
|
|
3632
|
+
width: "100%",
|
|
3633
|
+
flexGrow: "1",
|
|
3634
|
+
display: "flex",
|
|
3635
|
+
"& .M4LSideBar-collapseButton": {
|
|
3636
|
+
width: "100%",
|
|
3637
|
+
padding: "0px",
|
|
3638
|
+
"& .M4LSideBar-containerLogoButton": {
|
|
3639
|
+
width: "100%",
|
|
3640
|
+
height: "68px",
|
|
3641
|
+
justifyContent: "space-between",
|
|
3642
|
+
alignItems: "center",
|
|
3643
|
+
"& .M4LSideBar-containerLogoButtonLogo": {
|
|
3644
|
+
width: "100%",
|
|
3645
|
+
height: "100%",
|
|
3646
|
+
padding: "12px 30px"
|
|
3647
|
+
},
|
|
3648
|
+
"& .M4LSideBar-containerLogoButtonIcon": {
|
|
3649
|
+
width: "auto",
|
|
3650
|
+
height: "100%",
|
|
3651
|
+
position: "relative",
|
|
3652
|
+
display: "flex",
|
|
3653
|
+
alignItems: "center",
|
|
3654
|
+
"& .M4LIconButton-root": {
|
|
3655
|
+
width: "36px",
|
|
3656
|
+
height: "36px",
|
|
3657
|
+
borderRadius: "0px 4px 4px 0px",
|
|
3658
|
+
backgroundColor: o.palette.state.focus,
|
|
3659
|
+
"&:hover": {
|
|
3660
|
+
backgroundColor: o.palette.state.focus
|
|
3661
|
+
},
|
|
3662
|
+
"& .M4LIcon-icon": {
|
|
3663
|
+
backgroundColor: o.palette.patronus?.marbleLight[10]
|
|
3664
|
+
}
|
|
3665
|
+
},
|
|
3666
|
+
"& .M4LSideBar-collapseButtontriangleTop": {
|
|
3667
|
+
position: "absolute",
|
|
3668
|
+
top: "0",
|
|
3669
|
+
left: "0",
|
|
3670
|
+
width: "16px",
|
|
3671
|
+
height: "16px",
|
|
3672
|
+
overflow: "hidden",
|
|
3673
|
+
backgroundColor: o.palette.state.focus,
|
|
3674
|
+
transform: "rotate(90deg)",
|
|
3675
|
+
"&::before": {
|
|
3676
|
+
content: '""',
|
|
3677
|
+
position: "absolute",
|
|
3678
|
+
width: "100%",
|
|
3679
|
+
height: "100%",
|
|
3680
|
+
backgroundColor: o.palette.background.neutral,
|
|
3681
|
+
transform: "rotate(180deg)",
|
|
3682
|
+
inset: "0",
|
|
3683
|
+
borderTopLeftRadius: "100%",
|
|
3684
|
+
transformOrigin: "center center"
|
|
3685
|
+
}
|
|
3686
|
+
},
|
|
3687
|
+
"& .M4LSideBar-collapseButtontriangleBottom": {
|
|
3688
|
+
position: "absolute",
|
|
3689
|
+
bottom: "0",
|
|
3690
|
+
left: "0",
|
|
3691
|
+
width: "16px",
|
|
3692
|
+
height: "16px",
|
|
3693
|
+
ocontainerLogoButtonIconerflow: "hidden",
|
|
3694
|
+
background: o.palette.state.focus,
|
|
3695
|
+
transform: "rotate(180deg)",
|
|
3696
|
+
"&::before": {
|
|
3697
|
+
content: '""',
|
|
3698
|
+
position: "absolute",
|
|
3699
|
+
width: "100%",
|
|
3700
|
+
height: "100%",
|
|
3701
|
+
backgroundColor: o.palette.background.neutral,
|
|
3702
|
+
transform: "rotate(180deg)",
|
|
3703
|
+
inset: "0",
|
|
3704
|
+
borderTopLeftRadius: "100%",
|
|
3705
|
+
transformOrigin: "center center"
|
|
3706
|
+
}
|
|
3707
|
+
}
|
|
3708
|
+
}
|
|
3709
|
+
},
|
|
3710
|
+
"& .M4LImage-root": {
|
|
3711
|
+
display: "flex",
|
|
3712
|
+
position: "relative",
|
|
3713
|
+
padding: "8px",
|
|
3714
|
+
width: "130px",
|
|
3715
|
+
height: "44px",
|
|
3716
|
+
boxShadow: "inset 0px 4px 4px rgba(0, 0, 0, 0.25)",
|
|
3717
|
+
opacity: "30%"
|
|
3718
|
+
}
|
|
3719
|
+
}
|
|
3720
|
+
},
|
|
3721
|
+
"& .MuiCollapse-wrapperInner": {
|
|
3722
|
+
display: "flex",
|
|
3723
|
+
flexDirection: "column",
|
|
3724
|
+
gap: "16px"
|
|
3725
|
+
},
|
|
3726
|
+
"& .M4LSideBar-navListSubItemRoot:hover": {
|
|
3727
|
+
padding: "4px 8px",
|
|
3728
|
+
borderRadius: "4px",
|
|
3729
|
+
backgroundColor: o.palette.state.active12
|
|
3730
|
+
},
|
|
3731
|
+
"& .M4LSideBar-navListSubItemRoot": {
|
|
3732
|
+
padding: "4px 8px",
|
|
3733
|
+
borderRadius: "4px",
|
|
3734
|
+
"& .M4LSideBar-subItemActive": {
|
|
3735
|
+
"& .M4LSideBar-navSubItemContentBullet": {
|
|
3736
|
+
borderRadius: "5px",
|
|
3737
|
+
height: "10px",
|
|
3738
|
+
backgroundColor: o.palette.state.focus
|
|
3739
|
+
}
|
|
3740
|
+
},
|
|
3741
|
+
"& .MuiButtonBase-root": {
|
|
3742
|
+
gap: "4px",
|
|
3743
|
+
"&:hover": {
|
|
3744
|
+
backgroundColor: "transparent"
|
|
3745
|
+
}
|
|
3746
|
+
},
|
|
3747
|
+
"& .M4LSideBar-navSubItemContentBullet": {
|
|
3748
|
+
width: "4px",
|
|
3749
|
+
height: "4px",
|
|
3750
|
+
borderRadius: "100%",
|
|
3751
|
+
backgroundColor: o.palette.text.secondary,
|
|
3752
|
+
margin: "6px"
|
|
3753
|
+
}
|
|
3754
|
+
},
|
|
3755
|
+
"& .MuiPaper-root": {
|
|
3756
|
+
borderRadius: "4px",
|
|
3757
|
+
backgroundColor: o.palette.state.active12,
|
|
3758
|
+
padding: "8px"
|
|
3759
|
+
}
|
|
3760
|
+
}
|
|
2264
3761
|
}
|
|
2265
3762
|
}
|
|
2266
3763
|
}
|
|
2267
3764
|
});
|
|
2268
|
-
function
|
|
3765
|
+
function ct(o) {
|
|
2269
3766
|
return Object.assign(
|
|
2270
|
-
oo(o),
|
|
2271
|
-
to(o),
|
|
2272
3767
|
ro(o),
|
|
2273
|
-
eo(o),
|
|
2274
|
-
ao(o),
|
|
2275
|
-
so(o),
|
|
2276
|
-
uo(),
|
|
2277
|
-
co(o),
|
|
2278
|
-
po(),
|
|
2279
3768
|
io(o),
|
|
3769
|
+
ao(o),
|
|
2280
3770
|
no(o),
|
|
2281
|
-
|
|
2282
|
-
yo(o),
|
|
2283
|
-
X(o),
|
|
2284
|
-
Z(o),
|
|
2285
|
-
xo(o),
|
|
2286
|
-
Q(o),
|
|
2287
|
-
bo(o),
|
|
3771
|
+
po(o),
|
|
2288
3772
|
go(o),
|
|
3773
|
+
xo(),
|
|
3774
|
+
bo(o),
|
|
3775
|
+
uo(),
|
|
3776
|
+
lo(o),
|
|
3777
|
+
so(o),
|
|
3778
|
+
co(o),
|
|
2289
3779
|
vo(o),
|
|
2290
|
-
|
|
3780
|
+
to(o),
|
|
3781
|
+
eo(o),
|
|
3782
|
+
fo(o),
|
|
3783
|
+
oo(o),
|
|
3784
|
+
yo(o),
|
|
2291
3785
|
Mo(o),
|
|
2292
|
-
fo(),
|
|
2293
|
-
Ro(o),
|
|
2294
|
-
Bo(o),
|
|
2295
|
-
Fo(o),
|
|
2296
|
-
mo(o),
|
|
2297
|
-
ko(o),
|
|
2298
3786
|
Co(o),
|
|
2299
|
-
So(o),
|
|
2300
3787
|
Lo(o),
|
|
2301
|
-
|
|
2302
|
-
|
|
3788
|
+
ko(o),
|
|
3789
|
+
Bo(),
|
|
3790
|
+
Ro(o),
|
|
3791
|
+
ho(o),
|
|
3792
|
+
Io(o),
|
|
2303
3793
|
wo(o),
|
|
2304
|
-
|
|
3794
|
+
So(o),
|
|
3795
|
+
Fo(o),
|
|
3796
|
+
Oo(o),
|
|
2305
3797
|
To(o),
|
|
2306
|
-
|
|
3798
|
+
$o(o),
|
|
3799
|
+
mo(o),
|
|
3800
|
+
Ao(o),
|
|
3801
|
+
zo(),
|
|
2307
3802
|
Do(o),
|
|
2308
|
-
|
|
2309
|
-
Zo(),
|
|
2310
|
-
Go(),
|
|
2311
|
-
Eo(),
|
|
2312
|
-
Po(),
|
|
3803
|
+
Go(o),
|
|
2313
3804
|
Ho(o),
|
|
2314
|
-
|
|
2315
|
-
|
|
3805
|
+
Eo(o),
|
|
3806
|
+
et(o),
|
|
3807
|
+
Po(),
|
|
2316
3808
|
Wo(),
|
|
2317
|
-
_o(),
|
|
2318
|
-
qo(),
|
|
2319
3809
|
No(o),
|
|
2320
|
-
|
|
2321
|
-
|
|
3810
|
+
qo(),
|
|
3811
|
+
ot(o),
|
|
3812
|
+
tt(),
|
|
2322
3813
|
jo(o),
|
|
2323
|
-
|
|
3814
|
+
_o(o),
|
|
3815
|
+
Vo(),
|
|
3816
|
+
Yo(o),
|
|
3817
|
+
rt(o),
|
|
2324
3818
|
Uo(),
|
|
2325
|
-
Ko(),
|
|
2326
|
-
Jo()
|
|
3819
|
+
Ko(o),
|
|
3820
|
+
Jo(o),
|
|
3821
|
+
Qo(o),
|
|
3822
|
+
Xo(o),
|
|
3823
|
+
Zo(o),
|
|
3824
|
+
at(o)
|
|
2327
3825
|
);
|
|
2328
3826
|
}
|
|
2329
|
-
const
|
|
3827
|
+
const gt = {
|
|
2330
3828
|
values: {
|
|
2331
3829
|
xs: 0,
|
|
2332
3830
|
sm: 600,
|
|
@@ -2334,30 +3832,30 @@ const cr = {
|
|
|
2334
3832
|
lg: 1200,
|
|
2335
3833
|
xl: 1400
|
|
2336
3834
|
}
|
|
2337
|
-
},
|
|
3835
|
+
}, xt = {
|
|
2338
3836
|
mobile: 16,
|
|
2339
3837
|
desktop: 8
|
|
2340
3838
|
};
|
|
2341
3839
|
export {
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
3840
|
+
t as PATRONUSCOLORS,
|
|
3841
|
+
j as blaze,
|
|
3842
|
+
N as candy,
|
|
2345
3843
|
g as colorPresets,
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
3844
|
+
X as createCustomShadows,
|
|
3845
|
+
h as defaultPreset,
|
|
3846
|
+
ut as defaultThemeOptions,
|
|
3847
|
+
ct as fnComponentsOverrides,
|
|
3848
|
+
_ as getColorPresets,
|
|
3849
|
+
dt as getColorState,
|
|
3850
|
+
st as getFontValue,
|
|
3851
|
+
xt as globalRemSize,
|
|
3852
|
+
q as grass,
|
|
3853
|
+
gt as muiBreakpointsValues,
|
|
3854
|
+
s as palette,
|
|
3855
|
+
d as pxToRem,
|
|
3856
|
+
V as remToPx,
|
|
2359
3857
|
p as responsiveFontSizes,
|
|
2360
|
-
|
|
3858
|
+
Z as shadows,
|
|
2361
3859
|
W as turqui,
|
|
2362
|
-
|
|
3860
|
+
K as typography
|
|
2363
3861
|
};
|