@m4l/styles 0.0.8 → 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 +2009 -507
- 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",
|
|
@@ -140,109 +140,109 @@ const r = {
|
|
|
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:
|
|
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
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,176 +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:
|
|
280
|
-
},
|
|
281
|
-
normal:
|
|
282
|
-
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]
|
|
283
283
|
}, G = {
|
|
284
|
-
normal:
|
|
285
|
-
hover:
|
|
284
|
+
normal: t.flameRed[40],
|
|
285
|
+
hover: t.flameRed[60]
|
|
286
286
|
}, E = {
|
|
287
|
-
normal:
|
|
288
|
-
hover:
|
|
289
|
-
},
|
|
290
|
-
default: t
|
|
291
|
-
transition: t
|
|
287
|
+
normal: t.flameRed[60],
|
|
288
|
+
hover: t.flameRed[70]
|
|
289
|
+
}, P = {
|
|
290
|
+
default: e(t.coolGrey[50], 0.24),
|
|
291
|
+
transition: e(t.coolGrey[50], 0.08)
|
|
292
292
|
}, l = {
|
|
293
|
-
info: { ...
|
|
294
|
-
success: { ...
|
|
293
|
+
info: { ...D },
|
|
294
|
+
success: { ...H },
|
|
295
295
|
error: { ...G },
|
|
296
296
|
warning: { ...E },
|
|
297
|
-
skeleton: { ...
|
|
298
|
-
},
|
|
297
|
+
skeleton: { ...P }
|
|
298
|
+
}, C = {
|
|
299
299
|
common: { black: "#000", white: "#fff" },
|
|
300
|
-
primary: { ...
|
|
300
|
+
primary: { ...M },
|
|
301
301
|
state: {
|
|
302
302
|
...l
|
|
303
303
|
},
|
|
304
|
-
patronus: { ...
|
|
304
|
+
patronus: { ...t },
|
|
305
305
|
opacity: { ...$ },
|
|
306
306
|
secondary: { ...A, contrastText: "#fff" },
|
|
307
|
-
info: { ...
|
|
308
|
-
success: { ...
|
|
309
|
-
warning: { ...
|
|
310
|
-
error: { ...
|
|
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
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
398
|
+
], h = g[0], W = g[1], q = g[2], N = g[3], j = g[4];
|
|
399
|
+
function _(o) {
|
|
400
|
+
try {
|
|
401
|
+
return {
|
|
402
|
+
patronus: h,
|
|
403
|
+
turqui: W,
|
|
404
|
+
grass: q,
|
|
405
|
+
candy: N,
|
|
406
|
+
blaze: j
|
|
407
|
+
}[o];
|
|
408
|
+
} catch {
|
|
409
|
+
}
|
|
410
|
+
return h;
|
|
407
411
|
}
|
|
408
|
-
const
|
|
412
|
+
const dt = (o, r) => {
|
|
409
413
|
let a = {};
|
|
410
414
|
switch (o) {
|
|
411
415
|
case "patronus":
|
|
412
416
|
a = {
|
|
413
417
|
light: {
|
|
414
|
-
active12: n(
|
|
415
|
-
active:
|
|
416
|
-
focus:
|
|
417
|
-
hover:
|
|
418
|
-
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),
|
|
419
423
|
...l
|
|
420
424
|
},
|
|
421
425
|
dark: {
|
|
422
|
-
active12: n(
|
|
423
|
-
active:
|
|
424
|
-
focus:
|
|
425
|
-
hover:
|
|
426
|
-
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),
|
|
427
431
|
...l
|
|
428
432
|
}
|
|
429
433
|
};
|
|
@@ -431,19 +435,19 @@ const nr = (o, e) => {
|
|
|
431
435
|
case "turqui":
|
|
432
436
|
a = {
|
|
433
437
|
light: {
|
|
434
|
-
active12: n(
|
|
435
|
-
active:
|
|
436
|
-
focus:
|
|
437
|
-
hover:
|
|
438
|
-
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),
|
|
439
443
|
...l
|
|
440
444
|
},
|
|
441
445
|
dark: {
|
|
442
|
-
active12: n(
|
|
443
|
-
active:
|
|
444
|
-
focus:
|
|
445
|
-
hover:
|
|
446
|
-
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),
|
|
447
451
|
...l
|
|
448
452
|
}
|
|
449
453
|
};
|
|
@@ -451,19 +455,19 @@ const nr = (o, e) => {
|
|
|
451
455
|
case "grass":
|
|
452
456
|
a = {
|
|
453
457
|
light: {
|
|
454
|
-
active12: n(
|
|
455
|
-
active:
|
|
456
|
-
focus:
|
|
457
|
-
hover:
|
|
458
|
-
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),
|
|
459
463
|
...l
|
|
460
464
|
},
|
|
461
465
|
dark: {
|
|
462
|
-
active12: n(
|
|
463
|
-
active:
|
|
464
|
-
focus:
|
|
465
|
-
hover:
|
|
466
|
-
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),
|
|
467
471
|
...l
|
|
468
472
|
}
|
|
469
473
|
};
|
|
@@ -471,19 +475,19 @@ const nr = (o, e) => {
|
|
|
471
475
|
case "candy":
|
|
472
476
|
a = {
|
|
473
477
|
light: {
|
|
474
|
-
active12: n(
|
|
475
|
-
active:
|
|
476
|
-
focus:
|
|
477
|
-
hover:
|
|
478
|
-
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),
|
|
479
483
|
...l
|
|
480
484
|
},
|
|
481
485
|
dark: {
|
|
482
|
-
active12: n(
|
|
483
|
-
active:
|
|
484
|
-
focus:
|
|
485
|
-
hover:
|
|
486
|
-
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),
|
|
487
491
|
...l
|
|
488
492
|
}
|
|
489
493
|
};
|
|
@@ -491,19 +495,19 @@ const nr = (o, e) => {
|
|
|
491
495
|
case "blaze":
|
|
492
496
|
a = {
|
|
493
497
|
light: {
|
|
494
|
-
active12: n(
|
|
495
|
-
active:
|
|
496
|
-
focus:
|
|
497
|
-
hover:
|
|
498
|
-
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),
|
|
499
503
|
...l
|
|
500
504
|
},
|
|
501
505
|
dark: {
|
|
502
|
-
active12: n(
|
|
503
|
-
active:
|
|
504
|
-
focus:
|
|
505
|
-
hover:
|
|
506
|
-
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),
|
|
507
511
|
...l
|
|
508
512
|
}
|
|
509
513
|
};
|
|
@@ -511,64 +515,64 @@ const nr = (o, e) => {
|
|
|
511
515
|
default:
|
|
512
516
|
a = {
|
|
513
517
|
light: {
|
|
514
|
-
active12: n(
|
|
515
|
-
active:
|
|
516
|
-
focus:
|
|
517
|
-
hover:
|
|
518
|
-
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),
|
|
519
523
|
...l
|
|
520
524
|
},
|
|
521
525
|
dark: {
|
|
522
|
-
active12: n(
|
|
523
|
-
active:
|
|
524
|
-
focus:
|
|
525
|
-
hover:
|
|
526
|
-
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),
|
|
527
531
|
...l
|
|
528
532
|
}
|
|
529
533
|
};
|
|
530
534
|
break;
|
|
531
535
|
}
|
|
532
|
-
return
|
|
536
|
+
return r === "light" ? { ...a.light } : { ...a.dark };
|
|
533
537
|
};
|
|
534
|
-
function
|
|
538
|
+
function V(o) {
|
|
535
539
|
return Math.round(parseFloat(o) * 16);
|
|
536
540
|
}
|
|
537
|
-
function
|
|
541
|
+
function d(o) {
|
|
538
542
|
return `${o / 16}rem`;
|
|
539
543
|
}
|
|
540
|
-
function p({ sm: o, md:
|
|
544
|
+
function p({ sm: o, md: r, lg: a }) {
|
|
541
545
|
return {
|
|
542
546
|
"@media (min-width:0px)": {
|
|
543
547
|
fontSize: `${o}px`
|
|
544
548
|
},
|
|
545
549
|
"@media (min-width:900px)": {
|
|
546
|
-
fontSize: `${
|
|
550
|
+
fontSize: `${r}px`
|
|
547
551
|
},
|
|
548
552
|
"@media (min-width:1200px)": {
|
|
549
553
|
fontSize: `${a}px`
|
|
550
554
|
}
|
|
551
555
|
};
|
|
552
556
|
}
|
|
553
|
-
function
|
|
554
|
-
return [...
|
|
555
|
-
const
|
|
556
|
-
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;
|
|
557
561
|
}, null) || "xs";
|
|
558
562
|
}
|
|
559
|
-
function
|
|
560
|
-
const
|
|
561
|
-
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 };
|
|
562
566
|
}
|
|
563
|
-
const
|
|
564
|
-
fontFamily:
|
|
567
|
+
const U = "Poppins, sans-serif", K = {
|
|
568
|
+
fontFamily: U,
|
|
565
569
|
fontWeightRegular: 400,
|
|
566
570
|
fontWeightMedium: 600,
|
|
567
571
|
fontWeightBold: 700,
|
|
568
572
|
h1: {
|
|
569
573
|
fontWeight: 700,
|
|
570
574
|
lineHeight: 1.5,
|
|
571
|
-
...p({ sm:
|
|
575
|
+
...p({ sm: 38, md: 40, lg: 40 })
|
|
572
576
|
},
|
|
573
577
|
h2: {
|
|
574
578
|
fontWeight: 700,
|
|
@@ -578,7 +582,7 @@ const V = "Poppins, sans-serif", U = {
|
|
|
578
582
|
h3: {
|
|
579
583
|
fontWeight: 600,
|
|
580
584
|
lineHeight: 1.5,
|
|
581
|
-
...p({ sm:
|
|
585
|
+
...p({ sm: 30, md: 32, lg: 32 })
|
|
582
586
|
},
|
|
583
587
|
h4: {
|
|
584
588
|
fontWeight: 700,
|
|
@@ -588,7 +592,7 @@ const V = "Poppins, sans-serif", U = {
|
|
|
588
592
|
h5: {
|
|
589
593
|
fontWeight: 600,
|
|
590
594
|
lineHeight: 1.5,
|
|
591
|
-
...p({ sm:
|
|
595
|
+
...p({ sm: 22, md: 24, lg: 24 })
|
|
592
596
|
},
|
|
593
597
|
h6: {
|
|
594
598
|
fontWeight: 700,
|
|
@@ -608,7 +612,7 @@ const V = "Poppins, sans-serif", U = {
|
|
|
608
612
|
paragraph: {
|
|
609
613
|
fontWeight: 400,
|
|
610
614
|
lineHeight: 1.429,
|
|
611
|
-
...p({ sm: 16, md:
|
|
615
|
+
...p({ sm: 16, md: 14, lg: 14 })
|
|
612
616
|
},
|
|
613
617
|
paragraphDens: {
|
|
614
618
|
fontWeight: 600,
|
|
@@ -618,12 +622,12 @@ const V = "Poppins, sans-serif", U = {
|
|
|
618
622
|
subtitle1: {
|
|
619
623
|
fontWeight: 600,
|
|
620
624
|
lineHeight: 1.5,
|
|
621
|
-
fontSize:
|
|
625
|
+
fontSize: d(14)
|
|
622
626
|
},
|
|
623
627
|
subtitle2: {
|
|
624
628
|
fontWeight: 600,
|
|
625
629
|
lineHeight: 1.5,
|
|
626
|
-
fontSize:
|
|
630
|
+
fontSize: d(12)
|
|
627
631
|
},
|
|
628
632
|
body: {
|
|
629
633
|
fontWeight: 400,
|
|
@@ -633,37 +637,37 @@ const V = "Poppins, sans-serif", U = {
|
|
|
633
637
|
bodyDens: {
|
|
634
638
|
fontWeight: 700,
|
|
635
639
|
lineHeight: 1.143,
|
|
636
|
-
...p({ sm:
|
|
640
|
+
...p({ sm: 16, md: 12, lg: 12 })
|
|
637
641
|
},
|
|
638
642
|
body0: {
|
|
639
643
|
lineHeight: 1.5,
|
|
640
644
|
fontWeight: 400,
|
|
641
|
-
fontSize:
|
|
645
|
+
fontSize: d(16)
|
|
642
646
|
},
|
|
643
647
|
body1: {
|
|
644
648
|
lineHeight: 1.5,
|
|
645
649
|
fontWeight: 400,
|
|
646
|
-
fontSize:
|
|
650
|
+
fontSize: d(14)
|
|
647
651
|
},
|
|
648
652
|
body2: {
|
|
649
653
|
lineHeight: 1.5,
|
|
650
654
|
fontWeight: 400,
|
|
651
|
-
fontSize:
|
|
655
|
+
fontSize: d(12)
|
|
652
656
|
},
|
|
653
657
|
caption: {
|
|
654
658
|
lineHeight: 1.5,
|
|
655
|
-
fontSize:
|
|
659
|
+
fontSize: d(11)
|
|
656
660
|
},
|
|
657
661
|
overline: {
|
|
658
662
|
fontWeight: 700,
|
|
659
663
|
lineHeight: 1.5,
|
|
660
|
-
fontSize:
|
|
664
|
+
fontSize: d(12),
|
|
661
665
|
textTransform: "uppercase"
|
|
662
666
|
},
|
|
663
667
|
button: {
|
|
664
668
|
fontWeight: 700,
|
|
665
669
|
lineHeight: 24 / 14,
|
|
666
|
-
fontSize:
|
|
670
|
+
fontSize: d(14),
|
|
667
671
|
textTransform: "capitalize"
|
|
668
672
|
},
|
|
669
673
|
action: {
|
|
@@ -671,72 +675,82 @@ const V = "Poppins, sans-serif", U = {
|
|
|
671
675
|
lineHeight: 1.667,
|
|
672
676
|
...p({ sm: 14, md: 12, lg: 12 })
|
|
673
677
|
}
|
|
674
|
-
},
|
|
675
|
-
|
|
676
|
-
}, K = d.light.grey[500], J = "#000000", C = (o) => {
|
|
677
|
-
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);
|
|
678
680
|
return [
|
|
679
681
|
"none",
|
|
680
|
-
`0px 2px 1px -1px ${
|
|
681
|
-
`0px 3px 1px -2px ${
|
|
682
|
-
`0px 3px 3px -2px ${
|
|
683
|
-
`0px 2px 4px -1px ${
|
|
684
|
-
`0px 3px 5px -1px ${
|
|
685
|
-
`0px 3px 5px -1px ${
|
|
686
|
-
`0px 4px 5px -2px ${
|
|
687
|
-
`0px 5px 5px -3px ${
|
|
688
|
-
`0px 5px 6px -3px ${
|
|
689
|
-
`0px 6px 6px -3px ${
|
|
690
|
-
`0px 6px 7px -4px ${
|
|
691
|
-
`0px 7px 8px -4px ${
|
|
692
|
-
`0px 7px 8px -4px ${
|
|
693
|
-
`0px 7px 9px -4px ${
|
|
694
|
-
`0px 8px 9px -5px ${
|
|
695
|
-
`0px 8px 10px -5px ${
|
|
696
|
-
`0px 8px 11px -5px ${
|
|
697
|
-
`0px 9px 11px -5px ${
|
|
698
|
-
`0px 9px 12px -6px ${
|
|
699
|
-
`0px 10px 13px -6px ${
|
|
700
|
-
`0px 10px 13px -6px ${
|
|
701
|
-
`0px 10px 14px -6px ${
|
|
702
|
-
`0px 11px 14px -7px ${
|
|
703
|
-
`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}`
|
|
704
706
|
];
|
|
705
|
-
},
|
|
706
|
-
const
|
|
707
|
-
info: `0px 2px 8px 0px ${t
|
|
708
|
-
secondary: `0px 2px 8px 0px ${
|
|
709
|
-
success: `0px 2px 8px 0px ${t
|
|
710
|
-
warning: `0px 2px 8px 0px ${t
|
|
711
|
-
error: `0px 2px 8px 0px ${t
|
|
712
|
-
card: `0 0 2px 0 ${
|
|
713
|
-
|
|
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],
|
|
714
716
|
0.12
|
|
715
717
|
)}`,
|
|
716
|
-
dialog: `-40px 40px 80px -8px ${
|
|
717
|
-
dropdown: `0 0 2px 0 ${
|
|
718
|
-
|
|
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],
|
|
719
721
|
0.24
|
|
720
722
|
)}`
|
|
721
723
|
};
|
|
722
724
|
return o === "light" ? {
|
|
723
|
-
z1: `0px 1px 2px ${t
|
|
724
|
-
z2: `0px 2px 2px 1px ${t
|
|
725
|
-
z3: `0px 4px 8px ${t
|
|
726
|
-
z4: `0px 8px 16px 1px ${t
|
|
727
|
-
...
|
|
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
|
|
728
730
|
} : {
|
|
729
|
-
z1: `0px 1px 2px ${t
|
|
730
|
-
z2: `0px 2px 2px 1px ${t
|
|
731
|
-
z3: `0px 4px 8px 1px ${t
|
|
732
|
-
z4: `0px 8px 16px 4px ${t
|
|
733
|
-
...
|
|
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
|
|
734
736
|
};
|
|
735
|
-
},
|
|
736
|
-
light:
|
|
737
|
-
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
|
+
}
|
|
738
752
|
};
|
|
739
|
-
function
|
|
753
|
+
function oo(o) {
|
|
740
754
|
return {
|
|
741
755
|
MuiAvatar: {
|
|
742
756
|
styleOverrides: {
|
|
@@ -761,7 +775,7 @@ function Q(o) {
|
|
|
761
775
|
}
|
|
762
776
|
};
|
|
763
777
|
}
|
|
764
|
-
function
|
|
778
|
+
function to(o) {
|
|
765
779
|
return {
|
|
766
780
|
MuiButton: {
|
|
767
781
|
styleOverrides: {
|
|
@@ -776,28 +790,28 @@ function X(o) {
|
|
|
776
790
|
},
|
|
777
791
|
containedInherit: {
|
|
778
792
|
color: o.palette.grey[800],
|
|
779
|
-
boxShadow: o.customShadows
|
|
793
|
+
boxShadow: o.customShadows?.z1,
|
|
780
794
|
"&:hover": {
|
|
781
795
|
backgroundColor: o.palette.grey[400]
|
|
782
796
|
}
|
|
783
797
|
},
|
|
784
798
|
containedPrimary: {
|
|
785
|
-
boxShadow: o.customShadows
|
|
799
|
+
boxShadow: o.customShadows?.z4
|
|
786
800
|
},
|
|
787
801
|
containedSecondary: {
|
|
788
|
-
boxShadow: o.customShadows
|
|
802
|
+
boxShadow: o.customShadows?.secondary
|
|
789
803
|
},
|
|
790
804
|
containedInfo: {
|
|
791
|
-
boxShadow: o.customShadows
|
|
805
|
+
boxShadow: o.customShadows?.info
|
|
792
806
|
},
|
|
793
807
|
containedSuccess: {
|
|
794
|
-
boxShadow: o.customShadows
|
|
808
|
+
boxShadow: o.customShadows?.success
|
|
795
809
|
},
|
|
796
810
|
containedWarning: {
|
|
797
|
-
boxShadow: o.customShadows
|
|
811
|
+
boxShadow: o.customShadows?.warning
|
|
798
812
|
},
|
|
799
813
|
containedError: {
|
|
800
|
-
boxShadow: o.customShadows
|
|
814
|
+
boxShadow: o.customShadows?.error
|
|
801
815
|
},
|
|
802
816
|
outlinedInherit: {
|
|
803
817
|
border: `1px solid ${o.palette.grey[50032]}`,
|
|
@@ -814,7 +828,7 @@ function X(o) {
|
|
|
814
828
|
}
|
|
815
829
|
};
|
|
816
830
|
}
|
|
817
|
-
function
|
|
831
|
+
function eo(o) {
|
|
818
832
|
return {
|
|
819
833
|
MuiIconButton: {
|
|
820
834
|
styleOverrides: {
|
|
@@ -838,7 +852,7 @@ function Z(o) {
|
|
|
838
852
|
}
|
|
839
853
|
};
|
|
840
854
|
}
|
|
841
|
-
function
|
|
855
|
+
function ro(o) {
|
|
842
856
|
return console.log("test theme", o.palette), {
|
|
843
857
|
MuiFab: {
|
|
844
858
|
defaultProps: {
|
|
@@ -846,20 +860,20 @@ function oo(o) {
|
|
|
846
860
|
},
|
|
847
861
|
styleOverrides: {
|
|
848
862
|
root: {
|
|
849
|
-
boxShadow: o.customShadows
|
|
863
|
+
boxShadow: o.customShadows?.z4,
|
|
850
864
|
"&:hover": {
|
|
851
865
|
boxShadow: "none",
|
|
852
866
|
backgroundColor: o.palette.grey[400]
|
|
853
867
|
}
|
|
854
868
|
},
|
|
855
869
|
primary: {
|
|
856
|
-
boxShadow: o.customShadows
|
|
870
|
+
boxShadow: o.customShadows?.primary,
|
|
857
871
|
"&:hover": {
|
|
858
872
|
backgroundColor: o.palette.primary.dark
|
|
859
873
|
}
|
|
860
874
|
},
|
|
861
875
|
secondary: {
|
|
862
|
-
boxShadow: o.customShadows
|
|
876
|
+
boxShadow: o.customShadows?.secondary,
|
|
863
877
|
"&:hover": {
|
|
864
878
|
backgroundColor: o.palette.secondary.dark
|
|
865
879
|
}
|
|
@@ -873,13 +887,13 @@ function oo(o) {
|
|
|
873
887
|
}
|
|
874
888
|
};
|
|
875
889
|
}
|
|
876
|
-
function
|
|
890
|
+
function ao(o) {
|
|
877
891
|
return {
|
|
878
892
|
MuiCard: {
|
|
879
893
|
styleOverrides: {
|
|
880
894
|
root: {
|
|
881
895
|
position: "relative",
|
|
882
|
-
boxShadow: o.customShadows
|
|
896
|
+
boxShadow: o.customShadows?.card,
|
|
883
897
|
borderRadius: Number(o.shape.borderRadius) * 2,
|
|
884
898
|
zIndex: 0
|
|
885
899
|
}
|
|
@@ -905,7 +919,7 @@ function ro(o) {
|
|
|
905
919
|
}
|
|
906
920
|
};
|
|
907
921
|
}
|
|
908
|
-
function
|
|
922
|
+
function io(o) {
|
|
909
923
|
return {
|
|
910
924
|
MuiTabs: {
|
|
911
925
|
styleOverrides: {
|
|
@@ -962,7 +976,7 @@ function to(o) {
|
|
|
962
976
|
}
|
|
963
977
|
};
|
|
964
978
|
}
|
|
965
|
-
function
|
|
979
|
+
function no(o) {
|
|
966
980
|
return {
|
|
967
981
|
MuiMenuItem: {
|
|
968
982
|
styleOverrides: {
|
|
@@ -978,7 +992,7 @@ function eo(o) {
|
|
|
978
992
|
}
|
|
979
993
|
};
|
|
980
994
|
}
|
|
981
|
-
function
|
|
995
|
+
function po(o) {
|
|
982
996
|
return {
|
|
983
997
|
MuiLink: {
|
|
984
998
|
defaultProps: {
|
|
@@ -994,7 +1008,7 @@ function ao(o) {
|
|
|
994
1008
|
}
|
|
995
1009
|
};
|
|
996
1010
|
}
|
|
997
|
-
function
|
|
1011
|
+
function lo(o) {
|
|
998
1012
|
return {
|
|
999
1013
|
MuiListItemIcon: {
|
|
1000
1014
|
styleOverrides: {
|
|
@@ -1027,7 +1041,7 @@ function io(o) {
|
|
|
1027
1041
|
}
|
|
1028
1042
|
};
|
|
1029
1043
|
}
|
|
1030
|
-
function
|
|
1044
|
+
function so(o) {
|
|
1031
1045
|
return {
|
|
1032
1046
|
MuiTableRow: {
|
|
1033
1047
|
styleOverrides: {
|
|
@@ -1113,7 +1127,7 @@ function no(o) {
|
|
|
1113
1127
|
}
|
|
1114
1128
|
};
|
|
1115
1129
|
}
|
|
1116
|
-
function
|
|
1130
|
+
function uo(o) {
|
|
1117
1131
|
return {
|
|
1118
1132
|
MuiBadge: {
|
|
1119
1133
|
styleOverrides: {
|
|
@@ -1126,7 +1140,7 @@ function po(o) {
|
|
|
1126
1140
|
}
|
|
1127
1141
|
};
|
|
1128
1142
|
}
|
|
1129
|
-
function
|
|
1143
|
+
function co(o) {
|
|
1130
1144
|
return {
|
|
1131
1145
|
MuiPaper: {
|
|
1132
1146
|
defaultProps: {
|
|
@@ -1192,7 +1206,7 @@ function lo(o) {
|
|
|
1192
1206
|
}
|
|
1193
1207
|
};
|
|
1194
1208
|
}
|
|
1195
|
-
function
|
|
1209
|
+
function go(o) {
|
|
1196
1210
|
return {
|
|
1197
1211
|
MuiFormControl: {
|
|
1198
1212
|
styleOverrides: {
|
|
@@ -1274,7 +1288,7 @@ function so(o) {
|
|
|
1274
1288
|
}
|
|
1275
1289
|
};
|
|
1276
1290
|
}
|
|
1277
|
-
function
|
|
1291
|
+
function xo(o) {
|
|
1278
1292
|
return {
|
|
1279
1293
|
MuiInputLabel: {
|
|
1280
1294
|
styleOverrides: {
|
|
@@ -1289,7 +1303,7 @@ function uo(o) {
|
|
|
1289
1303
|
}
|
|
1290
1304
|
};
|
|
1291
1305
|
}
|
|
1292
|
-
function
|
|
1306
|
+
function bo(o) {
|
|
1293
1307
|
return {
|
|
1294
1308
|
MuiRadio: {
|
|
1295
1309
|
styleOverrides: {
|
|
@@ -1306,23 +1320,303 @@ function co(o) {
|
|
|
1306
1320
|
}
|
|
1307
1321
|
};
|
|
1308
1322
|
}
|
|
1309
|
-
function
|
|
1310
|
-
const
|
|
1323
|
+
function Mo(o) {
|
|
1324
|
+
const r = o.palette.mode === "light";
|
|
1311
1325
|
return {
|
|
1312
1326
|
MuiDrawer: {
|
|
1313
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
|
+
},
|
|
1314
1608
|
modal: {
|
|
1315
1609
|
'&[role="presentation"]': {
|
|
1316
1610
|
"& .MuiDrawer-paperAnchorLeft": {
|
|
1317
|
-
boxShadow: `8px 24px 24px 12px ${
|
|
1611
|
+
boxShadow: `8px 24px 24px 12px ${b(
|
|
1318
1612
|
o.palette.grey[900],
|
|
1319
|
-
|
|
1613
|
+
r ? 0.16 : 0.48
|
|
1320
1614
|
)}`
|
|
1321
1615
|
},
|
|
1322
1616
|
"& .MuiDrawer-paperAnchorRight": {
|
|
1323
|
-
boxShadow: `-8px 24px 24px 12px ${
|
|
1617
|
+
boxShadow: `-8px 24px 24px 12px ${b(
|
|
1324
1618
|
o.palette.grey[900],
|
|
1325
|
-
|
|
1619
|
+
r ? 0.16 : 0.48
|
|
1326
1620
|
)}`
|
|
1327
1621
|
}
|
|
1328
1622
|
}
|
|
@@ -1331,12 +1625,12 @@ function go(o) {
|
|
|
1331
1625
|
}
|
|
1332
1626
|
};
|
|
1333
1627
|
}
|
|
1334
|
-
function
|
|
1628
|
+
function fo(o) {
|
|
1335
1629
|
return {
|
|
1336
1630
|
MuiDialog: {
|
|
1337
1631
|
styleOverrides: {
|
|
1338
1632
|
paper: {
|
|
1339
|
-
boxShadow: o.customShadows
|
|
1633
|
+
boxShadow: o.customShadows?.dialog,
|
|
1340
1634
|
"&.MuiPaper-rounded": {
|
|
1341
1635
|
borderRadius: Number(o.shape.borderRadius) * 2
|
|
1342
1636
|
},
|
|
@@ -1387,8 +1681,8 @@ function xo(o) {
|
|
|
1387
1681
|
}
|
|
1388
1682
|
};
|
|
1389
1683
|
}
|
|
1390
|
-
function
|
|
1391
|
-
const
|
|
1684
|
+
function yo(o) {
|
|
1685
|
+
const r = o.palette.mode === "light";
|
|
1392
1686
|
return {
|
|
1393
1687
|
MuiSlider: {
|
|
1394
1688
|
defaultProps: {
|
|
@@ -1406,19 +1700,19 @@ function bo(o) {
|
|
|
1406
1700
|
},
|
|
1407
1701
|
valueLabel: {
|
|
1408
1702
|
borderRadius: 8,
|
|
1409
|
-
backgroundColor: o.palette.grey[
|
|
1703
|
+
backgroundColor: o.palette.grey[r ? 800 : 700]
|
|
1410
1704
|
}
|
|
1411
1705
|
}
|
|
1412
1706
|
}
|
|
1413
1707
|
};
|
|
1414
1708
|
}
|
|
1415
|
-
function
|
|
1416
|
-
const
|
|
1709
|
+
function vo(o) {
|
|
1710
|
+
const r = o.palette.mode === "light";
|
|
1417
1711
|
return {
|
|
1418
1712
|
MuiSwitch: {
|
|
1419
1713
|
styleOverrides: {
|
|
1420
1714
|
thumb: {
|
|
1421
|
-
boxShadow: o.customShadows
|
|
1715
|
+
boxShadow: o.customShadows?.z1
|
|
1422
1716
|
},
|
|
1423
1717
|
track: {
|
|
1424
1718
|
opacity: 1,
|
|
@@ -1428,10 +1722,10 @@ function yo(o) {
|
|
|
1428
1722
|
left: 0,
|
|
1429
1723
|
right: "auto",
|
|
1430
1724
|
"&:not(:.Mui-checked)": {
|
|
1431
|
-
color: o.palette.grey[
|
|
1725
|
+
color: o.palette.grey[r ? 100 : 300]
|
|
1432
1726
|
},
|
|
1433
1727
|
"&.Mui-checked.Mui-disabled, &.Mui-disabled": {
|
|
1434
|
-
color: o.palette.grey[
|
|
1728
|
+
color: o.palette.grey[r ? 400 : 600]
|
|
1435
1729
|
},
|
|
1436
1730
|
"&.Mui-disabled+.MuiSwitch-track": {
|
|
1437
1731
|
opacity: 1,
|
|
@@ -1442,7 +1736,7 @@ function yo(o) {
|
|
|
1442
1736
|
}
|
|
1443
1737
|
};
|
|
1444
1738
|
}
|
|
1445
|
-
function
|
|
1739
|
+
function Bo(o) {
|
|
1446
1740
|
return {
|
|
1447
1741
|
MuiSvgIcon: {
|
|
1448
1742
|
styleOverrides: {
|
|
@@ -1460,34 +1754,34 @@ function fo(o) {
|
|
|
1460
1754
|
}
|
|
1461
1755
|
};
|
|
1462
1756
|
}
|
|
1463
|
-
function
|
|
1464
|
-
const
|
|
1757
|
+
function Lo(o) {
|
|
1758
|
+
const r = o.palette.mode === "light";
|
|
1465
1759
|
return {
|
|
1466
1760
|
MuiTooltip: {
|
|
1467
1761
|
styleOverrides: {
|
|
1468
1762
|
tooltip: {
|
|
1469
|
-
backgroundColor: o.palette.grey[
|
|
1763
|
+
backgroundColor: o.palette.grey[r ? 800 : 700]
|
|
1470
1764
|
},
|
|
1471
1765
|
arrow: {
|
|
1472
|
-
color: o.palette.grey[
|
|
1766
|
+
color: o.palette.grey[r ? 800 : 700]
|
|
1473
1767
|
}
|
|
1474
1768
|
}
|
|
1475
1769
|
}
|
|
1476
1770
|
};
|
|
1477
1771
|
}
|
|
1478
|
-
function
|
|
1772
|
+
function ko(o) {
|
|
1479
1773
|
return {
|
|
1480
1774
|
MuiPopover: {
|
|
1481
1775
|
styleOverrides: {
|
|
1482
1776
|
paper: {
|
|
1483
|
-
boxShadow: o.customShadows
|
|
1777
|
+
boxShadow: o.customShadows?.dropdown,
|
|
1484
1778
|
borderRadius: Number(o.shape.borderRadius) * 1.5
|
|
1485
1779
|
}
|
|
1486
1780
|
}
|
|
1487
1781
|
}
|
|
1488
1782
|
};
|
|
1489
1783
|
}
|
|
1490
|
-
function
|
|
1784
|
+
function Co(o) {
|
|
1491
1785
|
return {
|
|
1492
1786
|
MuiStepConnector: {
|
|
1493
1787
|
styleOverrides: {
|
|
@@ -1498,7 +1792,7 @@ function vo(o) {
|
|
|
1498
1792
|
}
|
|
1499
1793
|
};
|
|
1500
1794
|
}
|
|
1501
|
-
function
|
|
1795
|
+
function ho(o) {
|
|
1502
1796
|
return {
|
|
1503
1797
|
MuiDataGrid: {
|
|
1504
1798
|
styleOverrides: {
|
|
@@ -1535,7 +1829,7 @@ function Bo(o) {
|
|
|
1535
1829
|
styleOverrides: {
|
|
1536
1830
|
root: {
|
|
1537
1831
|
"& .MuiDataGrid-gridMenuList": {
|
|
1538
|
-
boxShadow: o.customShadows
|
|
1832
|
+
boxShadow: o.customShadows?.z4,
|
|
1539
1833
|
borderRadius: o.shape.borderRadius
|
|
1540
1834
|
},
|
|
1541
1835
|
"& .MuiMenuItem-root": {
|
|
@@ -1595,7 +1889,7 @@ function Bo(o) {
|
|
|
1595
1889
|
}
|
|
1596
1890
|
};
|
|
1597
1891
|
}
|
|
1598
|
-
function
|
|
1892
|
+
function Io(o) {
|
|
1599
1893
|
return {
|
|
1600
1894
|
MuiSkeleton: {
|
|
1601
1895
|
defaultProps: {
|
|
@@ -1609,17 +1903,17 @@ function Fo(o) {
|
|
|
1609
1903
|
}
|
|
1610
1904
|
};
|
|
1611
1905
|
}
|
|
1612
|
-
function
|
|
1613
|
-
const
|
|
1906
|
+
function So(o) {
|
|
1907
|
+
const r = e(o.palette.grey[900], 0.48), a = e(o.palette.grey[900], 1);
|
|
1614
1908
|
return {
|
|
1615
1909
|
MuiBackdrop: {
|
|
1616
1910
|
styleOverrides: {
|
|
1617
1911
|
root: {
|
|
1618
1912
|
background: [
|
|
1619
1913
|
"rgb(22,28,36)",
|
|
1620
|
-
`-moz-linear-gradient(75deg, ${
|
|
1621
|
-
`-webkit-linear-gradient(75deg, ${
|
|
1622
|
-
`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%)`
|
|
1623
1917
|
],
|
|
1624
1918
|
"&.MuiBackdrop-invisible": {
|
|
1625
1919
|
background: "transparent"
|
|
@@ -1629,8 +1923,8 @@ function ko(o) {
|
|
|
1629
1923
|
}
|
|
1630
1924
|
};
|
|
1631
1925
|
}
|
|
1632
|
-
function
|
|
1633
|
-
const
|
|
1926
|
+
function Fo(o) {
|
|
1927
|
+
const r = o.palette.mode === "light";
|
|
1634
1928
|
return {
|
|
1635
1929
|
MuiLinearProgress: {
|
|
1636
1930
|
styleOverrides: {
|
|
@@ -1642,7 +1936,7 @@ function Co(o) {
|
|
|
1642
1936
|
borderRadius: 4
|
|
1643
1937
|
},
|
|
1644
1938
|
colorPrimary: {
|
|
1645
|
-
backgroundColor: o.palette.primary[
|
|
1939
|
+
backgroundColor: o.palette.primary[r ? "lighter" : "darker"]
|
|
1646
1940
|
},
|
|
1647
1941
|
buffer: {
|
|
1648
1942
|
backgroundColor: "transparent"
|
|
@@ -1651,7 +1945,7 @@ function Co(o) {
|
|
|
1651
1945
|
}
|
|
1652
1946
|
};
|
|
1653
1947
|
}
|
|
1654
|
-
function
|
|
1948
|
+
function wo(o) {
|
|
1655
1949
|
return {
|
|
1656
1950
|
MuiTimelineDot: {
|
|
1657
1951
|
styleOverrides: {
|
|
@@ -1688,7 +1982,7 @@ function Ro(o) {
|
|
|
1688
1982
|
}
|
|
1689
1983
|
};
|
|
1690
1984
|
}
|
|
1691
|
-
function
|
|
1985
|
+
function Oo(o) {
|
|
1692
1986
|
return {
|
|
1693
1987
|
MuiAccordion: {
|
|
1694
1988
|
styleOverrides: {
|
|
@@ -1763,7 +2057,7 @@ function So(o) {
|
|
|
1763
2057
|
}
|
|
1764
2058
|
};
|
|
1765
2059
|
}
|
|
1766
|
-
function
|
|
2060
|
+
function To(o) {
|
|
1767
2061
|
return {
|
|
1768
2062
|
MuiTypography: {
|
|
1769
2063
|
defaultProps: {
|
|
@@ -1782,7 +2076,7 @@ function Lo(o) {
|
|
|
1782
2076
|
}
|
|
1783
2077
|
};
|
|
1784
2078
|
}
|
|
1785
|
-
function
|
|
2079
|
+
function $o(o) {
|
|
1786
2080
|
return {
|
|
1787
2081
|
MuiPaginationItem: {
|
|
1788
2082
|
styleOverrides: {
|
|
@@ -1794,9 +2088,9 @@ function Oo(o) {
|
|
|
1794
2088
|
textPrimary: {
|
|
1795
2089
|
"&.Mui-selected": {
|
|
1796
2090
|
color: o.palette.primary.main,
|
|
1797
|
-
backgroundColor:
|
|
2091
|
+
backgroundColor: e(o.palette.primary.main, 0.08),
|
|
1798
2092
|
"&:hover, &.Mui-focusVisible": {
|
|
1799
|
-
backgroundColor: `${
|
|
2093
|
+
backgroundColor: `${e(
|
|
1800
2094
|
o.palette.primary.main,
|
|
1801
2095
|
0.24
|
|
1802
2096
|
)} !important`
|
|
@@ -1808,15 +2102,15 @@ function Oo(o) {
|
|
|
1808
2102
|
},
|
|
1809
2103
|
outlinedPrimary: {
|
|
1810
2104
|
"&.Mui-selected": {
|
|
1811
|
-
backgroundColor:
|
|
1812
|
-
border: `1px solid ${
|
|
2105
|
+
backgroundColor: e(o.palette.primary.main, 0.08),
|
|
2106
|
+
border: `1px solid ${e(o.palette.primary.main, 0.24)}`
|
|
1813
2107
|
}
|
|
1814
2108
|
}
|
|
1815
2109
|
}
|
|
1816
2110
|
}
|
|
1817
2111
|
};
|
|
1818
2112
|
}
|
|
1819
|
-
function
|
|
2113
|
+
function Ao(o) {
|
|
1820
2114
|
return {
|
|
1821
2115
|
MuiBreadcrumbs: {
|
|
1822
2116
|
styleOverrides: {
|
|
@@ -1828,24 +2122,24 @@ function wo(o) {
|
|
|
1828
2122
|
}
|
|
1829
2123
|
};
|
|
1830
2124
|
}
|
|
1831
|
-
function
|
|
1832
|
-
const
|
|
2125
|
+
function mo(o) {
|
|
2126
|
+
const r = (a) => ({
|
|
1833
2127
|
props: { variant: "contained", color: a },
|
|
1834
|
-
style: { boxShadow: o.customShadows
|
|
2128
|
+
style: { boxShadow: o.customShadows?.primary }
|
|
1835
2129
|
});
|
|
1836
2130
|
return {
|
|
1837
2131
|
MuiButtonGroup: {
|
|
1838
2132
|
variants: [
|
|
1839
2133
|
{
|
|
1840
2134
|
props: { variant: "contained", color: "inherit" },
|
|
1841
|
-
style: { boxShadow: o.customShadows
|
|
1842
|
-
},
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
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"),
|
|
1849
2143
|
{
|
|
1850
2144
|
props: { disabled: !0 },
|
|
1851
2145
|
style: {
|
|
@@ -1870,7 +2164,7 @@ function $o(o) {
|
|
|
1870
2164
|
}
|
|
1871
2165
|
};
|
|
1872
2166
|
}
|
|
1873
|
-
function
|
|
2167
|
+
function zo(o) {
|
|
1874
2168
|
return {
|
|
1875
2169
|
MuiCssBaseline: {
|
|
1876
2170
|
styleOverrides: {
|
|
@@ -1913,7 +2207,7 @@ function Ao(o) {
|
|
|
1913
2207
|
}
|
|
1914
2208
|
};
|
|
1915
2209
|
}
|
|
1916
|
-
function
|
|
2210
|
+
function Do(o) {
|
|
1917
2211
|
return {
|
|
1918
2212
|
MuiAutocomplete: {
|
|
1919
2213
|
styleOverrides: {
|
|
@@ -1923,7 +2217,7 @@ function To(o) {
|
|
|
1923
2217
|
}
|
|
1924
2218
|
},
|
|
1925
2219
|
paper: {
|
|
1926
|
-
boxShadow: o.customShadows
|
|
2220
|
+
boxShadow: o.customShadows?.dropdown
|
|
1927
2221
|
},
|
|
1928
2222
|
listbox: {
|
|
1929
2223
|
padding: o.spacing(0, 1),
|
|
@@ -1937,19 +2231,19 @@ function To(o) {
|
|
|
1937
2231
|
}
|
|
1938
2232
|
};
|
|
1939
2233
|
}
|
|
1940
|
-
const u = (o,
|
|
1941
|
-
props: { color:
|
|
2234
|
+
const u = (o, r) => ({
|
|
2235
|
+
props: { color: r },
|
|
1942
2236
|
style: {
|
|
1943
2237
|
"&:hover": {
|
|
1944
|
-
borderColor:
|
|
1945
|
-
backgroundColor:
|
|
2238
|
+
borderColor: e(o.palette[r].main, 0.48),
|
|
2239
|
+
backgroundColor: e(o.palette[r].main, o.palette.action.hoverOpacity)
|
|
1946
2240
|
},
|
|
1947
2241
|
"&.Mui-selected": {
|
|
1948
|
-
borderColor:
|
|
2242
|
+
borderColor: e(o.palette[r].main, 0.48)
|
|
1949
2243
|
}
|
|
1950
2244
|
}
|
|
1951
2245
|
});
|
|
1952
|
-
function
|
|
2246
|
+
function Ho(o) {
|
|
1953
2247
|
return {
|
|
1954
2248
|
MuiToggleButton: {
|
|
1955
2249
|
variants: [
|
|
@@ -1985,7 +2279,7 @@ function Do(o) {
|
|
|
1985
2279
|
}
|
|
1986
2280
|
};
|
|
1987
2281
|
}
|
|
1988
|
-
function
|
|
2282
|
+
function Go(o) {
|
|
1989
2283
|
return {
|
|
1990
2284
|
MuiFormControlLabel: {
|
|
1991
2285
|
styleOverrides: {
|
|
@@ -2010,7 +2304,7 @@ function Io(o) {
|
|
|
2010
2304
|
}
|
|
2011
2305
|
};
|
|
2012
2306
|
}
|
|
2013
|
-
function
|
|
2307
|
+
function Eo(o) {
|
|
2014
2308
|
return {
|
|
2015
2309
|
MuiLoadingButton: {
|
|
2016
2310
|
styleOverrides: {
|
|
@@ -2034,36 +2328,186 @@ function zo(o) {
|
|
|
2034
2328
|
}
|
|
2035
2329
|
};
|
|
2036
2330
|
}
|
|
2037
|
-
const
|
|
2331
|
+
const Po = (o) => ({
|
|
2038
2332
|
M4LBruceTest: {
|
|
2039
2333
|
styleOverrides: {}
|
|
2040
2334
|
}
|
|
2041
|
-
}),
|
|
2335
|
+
}), Wo = (o) => ({
|
|
2042
2336
|
M4LDynamicFilter: {
|
|
2043
2337
|
styleOverrides: {}
|
|
2044
2338
|
}
|
|
2045
|
-
}),
|
|
2339
|
+
}), qo = (o) => ({
|
|
2046
2340
|
M4LRHFTextFieldPassword: {
|
|
2047
2341
|
styleOverrides: {
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
test: "root",
|
|
2051
|
-
display: "flex",
|
|
2052
|
-
flexDirection: "column",
|
|
2053
|
-
gap: o.spacing(1)
|
|
2054
|
-
}
|
|
2342
|
+
"&.M4LRHFTextFieldPassword-root": {
|
|
2343
|
+
width: "100%"
|
|
2055
2344
|
}
|
|
2056
2345
|
}
|
|
2057
2346
|
}
|
|
2058
|
-
}),
|
|
2347
|
+
}), No = (o) => ({
|
|
2059
2348
|
M4LRHFTextField: {
|
|
2060
|
-
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
|
+
}
|
|
2061
2474
|
}
|
|
2062
|
-
}),
|
|
2475
|
+
}), jo = (o) => ({
|
|
2063
2476
|
M4LIcon: {
|
|
2064
2477
|
styleOverrides: {
|
|
2065
2478
|
["&.M4LIcon-root"]: {
|
|
2066
|
-
|
|
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
|
+
}
|
|
2067
2511
|
}
|
|
2068
2512
|
}
|
|
2069
2513
|
}
|
|
@@ -2071,19 +2515,145 @@ const Go = (o) => ({
|
|
|
2071
2515
|
M4LIconButton: {
|
|
2072
2516
|
styleOverrides: {
|
|
2073
2517
|
["&.M4LIconButton-root"]: {
|
|
2074
|
-
|
|
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
|
+
}
|
|
2075
2647
|
}
|
|
2076
2648
|
}
|
|
2077
2649
|
}
|
|
2078
|
-
}),
|
|
2650
|
+
}), Vo = (o) => ({
|
|
2079
2651
|
M4LanguagePopover: {
|
|
2080
2652
|
styleOverrides: {
|
|
2081
|
-
["&.M4LanguagePopover-root"]: {
|
|
2082
|
-
test: "root"
|
|
2083
|
-
}
|
|
2653
|
+
["&.M4LanguagePopover-root"]: {}
|
|
2084
2654
|
}
|
|
2085
2655
|
}
|
|
2086
|
-
}),
|
|
2656
|
+
}), Yo = (o) => ({
|
|
2087
2657
|
M4LImageButton: {
|
|
2088
2658
|
styleOverrides: {
|
|
2089
2659
|
["&.M4LImageButton-root"]: {
|
|
@@ -2125,34 +2695,113 @@ const Go = (o) => ({
|
|
|
2125
2695
|
}
|
|
2126
2696
|
}
|
|
2127
2697
|
}
|
|
2128
|
-
}),
|
|
2698
|
+
}), Uo = (o) => ({
|
|
2129
2699
|
M4LImage: {
|
|
2130
2700
|
styleOverrides: {
|
|
2131
2701
|
["&.M4LImage-root"]: {
|
|
2132
|
-
|
|
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
|
+
}
|
|
2133
2732
|
}
|
|
2134
2733
|
}
|
|
2135
2734
|
}
|
|
2136
|
-
}),
|
|
2735
|
+
}), Ko = (o) => ({
|
|
2137
2736
|
M4LPopover: {
|
|
2138
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
|
+
},
|
|
2139
2772
|
["&.M4LPopover-root"]: {
|
|
2140
|
-
test: "root",
|
|
2141
2773
|
".MuiPaper-root": {
|
|
2142
2774
|
background: o.palette.background.default,
|
|
2143
2775
|
borderRadius: "6px",
|
|
2144
2776
|
Padding: "8px",
|
|
2145
2777
|
margin: "8px 0px 0px 8px",
|
|
2146
|
-
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
|
+
}
|
|
2147
2794
|
}
|
|
2148
2795
|
}
|
|
2149
2796
|
}
|
|
2150
2797
|
}
|
|
2151
|
-
}),
|
|
2798
|
+
}), Jo = (o) => ({
|
|
2152
2799
|
M4LRHFCheckbox: {
|
|
2153
2800
|
styleOverrides: {
|
|
2154
|
-
|
|
2155
|
-
|
|
2801
|
+
"&.M4LRHFCheckbox-root": {
|
|
2802
|
+
display: "flex",
|
|
2803
|
+
flexDirection: "column",
|
|
2804
|
+
gap: o.spacing(0.5),
|
|
2156
2805
|
".M4LRHFCheckbox-checkTypography": {
|
|
2157
2806
|
display: "flex",
|
|
2158
2807
|
gap: o.spacing(2),
|
|
@@ -2209,18 +2858,30 @@ const Go = (o) => ({
|
|
|
2209
2858
|
}
|
|
2210
2859
|
}
|
|
2211
2860
|
}
|
|
2212
|
-
}),
|
|
2861
|
+
}), Qo = (o) => ({
|
|
2213
2862
|
M4LErrorLabel: {
|
|
2214
2863
|
styleOverrides: {
|
|
2215
|
-
["&.
|
|
2216
|
-
|
|
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
|
+
}
|
|
2217
2877
|
}
|
|
2218
2878
|
}
|
|
2219
2879
|
}
|
|
2220
|
-
}),
|
|
2880
|
+
}), Xo = (o) => ({
|
|
2221
2881
|
M4LTypography: {
|
|
2222
2882
|
styleOverrides: {
|
|
2223
2883
|
["&.M4LTypography-root"]: {
|
|
2884
|
+
color: o.palette.text.primary,
|
|
2224
2885
|
display: "inline",
|
|
2225
2886
|
"& .MuiTypography-root": {
|
|
2226
2887
|
margin: "unset"
|
|
@@ -2228,101 +2889,942 @@ const Go = (o) => ({
|
|
|
2228
2889
|
}
|
|
2229
2890
|
}
|
|
2230
2891
|
}
|
|
2231
|
-
}),
|
|
2892
|
+
}), Zo = (o) => ({
|
|
2232
2893
|
M4LButton: {
|
|
2233
|
-
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
|
+
}
|
|
2234
3094
|
}
|
|
2235
|
-
}),
|
|
3095
|
+
}), ot = (o) => ({
|
|
2236
3096
|
M4LRHFAutocomplete: {
|
|
2237
3097
|
styleOverrides: {
|
|
2238
|
-
|
|
2239
|
-
|
|
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
|
+
}
|
|
2240
3223
|
}
|
|
2241
3224
|
}
|
|
2242
3225
|
}
|
|
2243
|
-
}),
|
|
3226
|
+
}), tt = (o) => ({
|
|
2244
3227
|
M4LRHFAutocompleteAsync: {
|
|
2245
3228
|
styleOverrides: {
|
|
2246
|
-
|
|
2247
|
-
|
|
3229
|
+
"&.M4LRHFAutocompleteAsync-root": {
|
|
3230
|
+
width: "100%"
|
|
2248
3231
|
}
|
|
2249
3232
|
}
|
|
2250
3233
|
}
|
|
2251
|
-
}),
|
|
3234
|
+
}), et = (o) => ({
|
|
2252
3235
|
M4LoadingButton: {
|
|
2253
|
-
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
|
+
}
|
|
2254
3450
|
}
|
|
2255
|
-
}),
|
|
3451
|
+
}), rt = (o) => ({
|
|
2256
3452
|
M4LNavLink: {
|
|
2257
3453
|
styleOverrides: {
|
|
2258
3454
|
["&.M4LNavLink-root"]: {
|
|
2259
|
-
|
|
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
|
+
}
|
|
2260
3761
|
}
|
|
2261
3762
|
}
|
|
2262
3763
|
}
|
|
2263
3764
|
});
|
|
2264
|
-
function
|
|
3765
|
+
function ct(o) {
|
|
2265
3766
|
return Object.assign(
|
|
2266
|
-
oo(o),
|
|
2267
|
-
to(o),
|
|
2268
3767
|
ro(o),
|
|
2269
|
-
eo(o),
|
|
2270
|
-
ao(o),
|
|
2271
|
-
so(o),
|
|
2272
|
-
uo(),
|
|
2273
|
-
co(o),
|
|
2274
|
-
po(),
|
|
2275
3768
|
io(o),
|
|
3769
|
+
ao(o),
|
|
2276
3770
|
no(o),
|
|
2277
|
-
|
|
2278
|
-
yo(o),
|
|
2279
|
-
X(o),
|
|
2280
|
-
Z(o),
|
|
2281
|
-
xo(o),
|
|
2282
|
-
Q(o),
|
|
2283
|
-
bo(o),
|
|
3771
|
+
po(o),
|
|
2284
3772
|
go(o),
|
|
3773
|
+
xo(),
|
|
3774
|
+
bo(o),
|
|
3775
|
+
uo(),
|
|
3776
|
+
lo(o),
|
|
3777
|
+
so(o),
|
|
3778
|
+
co(o),
|
|
2285
3779
|
vo(o),
|
|
2286
|
-
|
|
3780
|
+
to(o),
|
|
3781
|
+
eo(o),
|
|
3782
|
+
fo(o),
|
|
3783
|
+
oo(o),
|
|
3784
|
+
yo(o),
|
|
2287
3785
|
Mo(o),
|
|
2288
|
-
fo(),
|
|
2289
|
-
Ro(o),
|
|
2290
|
-
Bo(o),
|
|
2291
|
-
Fo(o),
|
|
2292
|
-
mo(o),
|
|
2293
|
-
ko(o),
|
|
2294
3786
|
Co(o),
|
|
2295
|
-
So(o),
|
|
2296
3787
|
Lo(o),
|
|
2297
|
-
|
|
2298
|
-
|
|
3788
|
+
ko(o),
|
|
3789
|
+
Bo(),
|
|
3790
|
+
Ro(o),
|
|
3791
|
+
ho(o),
|
|
3792
|
+
Io(o),
|
|
2299
3793
|
wo(o),
|
|
2300
|
-
|
|
3794
|
+
So(o),
|
|
3795
|
+
Fo(o),
|
|
3796
|
+
Oo(o),
|
|
2301
3797
|
To(o),
|
|
2302
|
-
|
|
3798
|
+
$o(o),
|
|
3799
|
+
mo(o),
|
|
3800
|
+
Ao(o),
|
|
3801
|
+
zo(),
|
|
2303
3802
|
Do(o),
|
|
2304
|
-
|
|
2305
|
-
Zo(),
|
|
2306
|
-
Go(),
|
|
2307
|
-
Eo(),
|
|
2308
|
-
Po(),
|
|
3803
|
+
Go(o),
|
|
2309
3804
|
Ho(o),
|
|
2310
|
-
|
|
2311
|
-
|
|
3805
|
+
Eo(o),
|
|
3806
|
+
et(o),
|
|
3807
|
+
Po(),
|
|
2312
3808
|
Wo(),
|
|
2313
|
-
_o(),
|
|
2314
|
-
qo(),
|
|
2315
3809
|
No(o),
|
|
2316
|
-
|
|
2317
|
-
|
|
3810
|
+
qo(),
|
|
3811
|
+
ot(o),
|
|
3812
|
+
tt(),
|
|
2318
3813
|
jo(o),
|
|
2319
|
-
|
|
3814
|
+
_o(o),
|
|
3815
|
+
Vo(),
|
|
3816
|
+
Yo(o),
|
|
3817
|
+
rt(o),
|
|
2320
3818
|
Uo(),
|
|
2321
|
-
Ko(),
|
|
2322
|
-
Jo()
|
|
3819
|
+
Ko(o),
|
|
3820
|
+
Jo(o),
|
|
3821
|
+
Qo(o),
|
|
3822
|
+
Xo(o),
|
|
3823
|
+
Zo(o),
|
|
3824
|
+
at(o)
|
|
2323
3825
|
);
|
|
2324
3826
|
}
|
|
2325
|
-
const
|
|
3827
|
+
const gt = {
|
|
2326
3828
|
values: {
|
|
2327
3829
|
xs: 0,
|
|
2328
3830
|
sm: 600,
|
|
@@ -2330,30 +3832,30 @@ const cr = {
|
|
|
2330
3832
|
lg: 1200,
|
|
2331
3833
|
xl: 1400
|
|
2332
3834
|
}
|
|
2333
|
-
},
|
|
3835
|
+
}, xt = {
|
|
2334
3836
|
mobile: 16,
|
|
2335
3837
|
desktop: 8
|
|
2336
3838
|
};
|
|
2337
3839
|
export {
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
3840
|
+
t as PATRONUSCOLORS,
|
|
3841
|
+
j as blaze,
|
|
3842
|
+
N as candy,
|
|
2341
3843
|
g as colorPresets,
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
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,
|
|
2355
3857
|
p as responsiveFontSizes,
|
|
2356
|
-
|
|
3858
|
+
Z as shadows,
|
|
2357
3859
|
W as turqui,
|
|
2358
|
-
|
|
3860
|
+
K as typography
|
|
2359
3861
|
};
|