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