@dashadmin/dash-styles 1.3.24 → 1.3.26

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.
Files changed (60) hide show
  1. package/dist/index.cjs +979 -0
  2. package/dist/index.d.cts +1181 -0
  3. package/dist/index.d.ts +1181 -0
  4. package/dist/index.js +193 -166
  5. package/package.json +42 -41
  6. package/{dist → src}/dash-css-transformer.less +5 -2
  7. package/src/helpers/getAllCssVariablesFromStyleSheets.tsx +46 -0
  8. package/src/index.tsx +1052 -0
  9. package/{dist → src}/styles/header.less +3 -0
  10. package/{dist → src}/styles/tabs.less +7 -0
  11. package/{dist → src}/variables/breakpoints.less +1 -1
  12. package/dist/helpers/getAllCssVariablesFromStyleSheets.js +0 -1
  13. /package/{dist → src}/assets/fonts/Montserrat-Black.ttf +0 -0
  14. /package/{dist → src}/assets/fonts/Montserrat-Bold.ttf +0 -0
  15. /package/{dist → src}/assets/fonts/Montserrat-Medium.ttf +0 -0
  16. /package/{dist → src}/assets/fonts/Montserrat-Regular.ttf +0 -0
  17. /package/{dist → src}/assets/fonts/Montserrat-SemiBold.ttf +0 -0
  18. /package/{dist → src}/dash-variables.less +0 -0
  19. /package/{dist → src}/dash.less +0 -0
  20. /package/{dist → src}/index.tsx.suffixed +0 -0
  21. /package/{dist → src}/styles/button.less +0 -0
  22. /package/{dist → src}/styles/buttons.less +0 -0
  23. /package/{dist → src}/styles/card.less +0 -0
  24. /package/{dist → src}/styles/common.less +0 -0
  25. /package/{dist → src}/styles/components/notfound.less +0 -0
  26. /package/{dist → src}/styles/extra.less +0 -0
  27. /package/{dist → src}/styles/filters.less +0 -0
  28. /package/{dist → src}/styles/forms.less +0 -0
  29. /package/{dist → src}/styles/framed.less +0 -0
  30. /package/{dist → src}/styles/input.copy.less +0 -0
  31. /package/{dist → src}/styles/input.less +0 -0
  32. /package/{dist → src}/styles/layout.less +0 -0
  33. /package/{dist → src}/styles/links.less +0 -0
  34. /package/{dist → src}/styles/loader.less +0 -0
  35. /package/{dist → src}/styles/login.less +0 -0
  36. /package/{dist → src}/styles/modal.less +0 -0
  37. /package/{dist → src}/styles/module.less +0 -0
  38. /package/{dist → src}/styles/mui-overrides.less +0 -0
  39. /package/{dist → src}/styles/notification.less +0 -0
  40. /package/{dist → src}/styles/pages/profile.less +0 -0
  41. /package/{dist → src}/styles/pagination.less +0 -0
  42. /package/{dist → src}/styles/popover.less +0 -0
  43. /package/{dist → src}/styles/react-admin/common.less +0 -0
  44. /package/{dist → src}/styles/react-admin/toolbar.less +0 -0
  45. /package/{dist → src}/styles/root.less +0 -0
  46. /package/{dist → src}/styles/sidebar.less +0 -0
  47. /package/{dist → src}/styles/splash.less +0 -0
  48. /package/{dist → src}/styles/static.less +0 -0
  49. /package/{dist → src}/styles/stats.less +0 -0
  50. /package/{dist → src}/styles/svg.less +0 -0
  51. /package/{dist → src}/styles/switch.less +0 -0
  52. /package/{dist → src}/styles/table.less +0 -0
  53. /package/{dist → src}/styles/tags.less +0 -0
  54. /package/{dist → src}/styles/toast.less +0 -0
  55. /package/{dist → src}/styles/toolbar.less +0 -0
  56. /package/{dist → src}/styles/transition.less +0 -0
  57. /package/{dist → src}/styles/uploader.less +0 -0
  58. /package/{dist → src}/variables/colors.less +0 -0
  59. /package/{dist → src}/variables/dash-colors.less +0 -0
  60. /package/{dist → src}/variables/sizes.less +0 -0
@@ -0,0 +1,1181 @@
1
+ import * as _ant_design_cssinjs from '@ant-design/cssinjs';
2
+ import * as antd_es_theme_interface from 'antd/es/theme/interface';
3
+ import * as antd_es_theme_internal from 'antd/es/theme/internal';
4
+ import * as _mui_material from '@mui/material';
5
+
6
+ declare const defaultOptions: (options: any) => {
7
+ cssVariables: {
8
+ cssVarPrefix: string;
9
+ colorSchemeSelector: string;
10
+ colorSchemeStorageKey: string;
11
+ };
12
+ colorSchemes: {
13
+ light: {
14
+ palette: {
15
+ [k: string]: string | {
16
+ [x: number]: any;
17
+ } | {
18
+ [x: number]: any;
19
+ } | {
20
+ [x: number]: any;
21
+ } | {
22
+ [x: number]: any;
23
+ } | {
24
+ [x: number]: any;
25
+ } | {
26
+ [x: number]: any;
27
+ } | {
28
+ [x: number]: any;
29
+ } | {
30
+ [x: number]: any;
31
+ } | {
32
+ [x: number]: any;
33
+ } | {
34
+ [x: number]: any;
35
+ } | {
36
+ [x: number]: any;
37
+ };
38
+ };
39
+ };
40
+ dark: {
41
+ palette: {
42
+ [k: string]: string | {
43
+ [x: number]: any;
44
+ } | {
45
+ [x: number]: any;
46
+ } | {
47
+ [x: number]: any;
48
+ } | {
49
+ [x: number]: any;
50
+ } | {
51
+ [x: number]: any;
52
+ } | {
53
+ [x: number]: any;
54
+ } | {
55
+ [x: number]: any;
56
+ } | {
57
+ [x: number]: any;
58
+ } | {
59
+ [x: number]: any;
60
+ } | {
61
+ [x: number]: any;
62
+ } | {
63
+ [x: number]: any;
64
+ };
65
+ };
66
+ };
67
+ };
68
+ defaultColorScheme: string;
69
+ palette: {
70
+ [k: string]: string | {
71
+ [x: number]: any;
72
+ } | {
73
+ [x: number]: any;
74
+ } | {
75
+ [x: number]: any;
76
+ } | {
77
+ [x: number]: any;
78
+ } | {
79
+ [x: number]: any;
80
+ } | {
81
+ [x: number]: any;
82
+ } | {
83
+ [x: number]: any;
84
+ } | {
85
+ [x: number]: any;
86
+ } | {
87
+ [x: number]: any;
88
+ } | {
89
+ [x: number]: any;
90
+ } | {
91
+ [x: number]: any;
92
+ };
93
+ };
94
+ typography: {
95
+ allVariants: {};
96
+ };
97
+ components: {
98
+ MuiCssBaseline: {
99
+ styleOverrides: {
100
+ body: {};
101
+ };
102
+ };
103
+ MuiButton: {
104
+ styleOverrides: {
105
+ root: {
106
+ backgroundColor: string;
107
+ color: string;
108
+ '&.MuiButton-containedPrimary': {
109
+ backgroundColor: string;
110
+ color: string;
111
+ '&:hover': {
112
+ backgroundColor: string;
113
+ };
114
+ };
115
+ '&.MuiButton-containedSecondary': {
116
+ backgroundColor: string;
117
+ color: string;
118
+ '&:hover': {
119
+ backgroundColor: string;
120
+ };
121
+ };
122
+ '&.MuiButton-outlinedPrimary': {
123
+ backgroundColor: string;
124
+ borderColor: string;
125
+ color: string;
126
+ '&:hover': {
127
+ borderColor: string;
128
+ color: string;
129
+ };
130
+ };
131
+ '&.MuiButton-outlinedSecondary': {
132
+ backgroundColor: string;
133
+ borderColor: string;
134
+ color: string;
135
+ '&:hover': {
136
+ borderColor: string;
137
+ color: string;
138
+ };
139
+ };
140
+ '&.MuiButton-textPrimary': {
141
+ color: string;
142
+ background: string;
143
+ '&:hover': {
144
+ color: string;
145
+ textDecoration: string;
146
+ background: string;
147
+ };
148
+ };
149
+ '&.MuiButton-textSecondary': {
150
+ color: string;
151
+ background: string;
152
+ '&:hover': {
153
+ color: string;
154
+ textDecoration: string;
155
+ background: string;
156
+ };
157
+ };
158
+ };
159
+ };
160
+ };
161
+ MuiDialog: {
162
+ styleOverrides: {
163
+ root: {
164
+ zIndex: number;
165
+ };
166
+ };
167
+ };
168
+ MuiDialogTitle: {
169
+ styleOverrides: {
170
+ root: {
171
+ '& svg': {
172
+ color: string;
173
+ };
174
+ };
175
+ };
176
+ };
177
+ MuiTooltip: {
178
+ styleOverrides: {
179
+ tooltip: {
180
+ backgroundColor: string;
181
+ color: string;
182
+ border: string;
183
+ fontSize: string;
184
+ maxWidth: number;
185
+ '& .MuiTooltip-arrow': {
186
+ color: string;
187
+ '&::before': {
188
+ border: string;
189
+ };
190
+ };
191
+ };
192
+ popper: {
193
+ '&[data-popper-placement*="bottom"] .MuiTooltip-tooltip': {
194
+ marginTop: string;
195
+ };
196
+ '&[data-popper-placement*="top"] .MuiTooltip-tooltip': {
197
+ marginBottom: string;
198
+ };
199
+ '&[data-popper-placement*="right"] .MuiTooltip-tooltip': {
200
+ marginLeft: string;
201
+ };
202
+ '&[data-popper-placement*="left"] .MuiTooltip-tooltip': {
203
+ marginRight: string;
204
+ };
205
+ };
206
+ };
207
+ };
208
+ MuiTabs: {
209
+ styleOverrides: {
210
+ indicator: {
211
+ backgroundColor: string;
212
+ };
213
+ };
214
+ };
215
+ MuiListItemIcon: {
216
+ styleOverrides: {
217
+ root: {
218
+ color: string;
219
+ '& svg': {
220
+ color: string;
221
+ };
222
+ };
223
+ };
224
+ };
225
+ RaReferenceField: {
226
+ styleOverrides: {
227
+ root: {
228
+ '& .RaReferenceField-link>*': {
229
+ color: string;
230
+ };
231
+ };
232
+ };
233
+ };
234
+ RaSingleFieldList: {
235
+ styleOverrides: {
236
+ root: {
237
+ '& .RaSingleFieldList-link>*': {
238
+ color: string;
239
+ };
240
+ };
241
+ };
242
+ };
243
+ MuiTab: {
244
+ styleOverrides: {
245
+ root: {
246
+ '&.MuiButtonBase-root': {
247
+ '&.Mui-selected': {
248
+ color: string;
249
+ backgroundColor: string;
250
+ };
251
+ '&.MuiTab-textColorPrimary': {
252
+ color: string;
253
+ };
254
+ };
255
+ };
256
+ };
257
+ };
258
+ MuiAlert: {
259
+ styleOverrides: {
260
+ root: {
261
+ '&.MuiAlert-standardInfo': {
262
+ backgroundColor: string;
263
+ color: string;
264
+ '& .MuiAlert-icon': {
265
+ color: string;
266
+ };
267
+ '& .MuiAlertTitle-root': {
268
+ color: string;
269
+ };
270
+ };
271
+ '&.MuiAlert-standardError': {
272
+ backgroundColor: string;
273
+ color: string;
274
+ };
275
+ '&.MuiAlert-standardWarning': {
276
+ backgroundColor: string;
277
+ color: string;
278
+ };
279
+ '&.MuiAlert-standardSuccess': {
280
+ backgroundColor: string;
281
+ color: string;
282
+ };
283
+ };
284
+ };
285
+ };
286
+ MuiAccordion: {
287
+ styleOverrides: {
288
+ root: {
289
+ backgroundColor: string;
290
+ '&.MuiPaper-root': {
291
+ backgroundColor: string;
292
+ };
293
+ };
294
+ };
295
+ };
296
+ MuiAccordionSummary: {
297
+ styleOverrides: {
298
+ expandIconWrapper: {
299
+ color: string;
300
+ '& .MuiSvgIcon-root': {
301
+ color: string;
302
+ };
303
+ };
304
+ };
305
+ };
306
+ MuiBox: {
307
+ styleOverrides: {
308
+ root: {
309
+ display: string;
310
+ };
311
+ };
312
+ };
313
+ MuiAppBar: {
314
+ styleOverrides: {
315
+ root: {
316
+ backgroundColor: string;
317
+ color: string;
318
+ };
319
+ };
320
+ };
321
+ MuiInputBase: {
322
+ styleOverrides: {
323
+ input: {
324
+ '& .MuiOutlinedInput-root': {
325
+ border: number;
326
+ };
327
+ };
328
+ colorPrimary: {
329
+ color: string;
330
+ };
331
+ };
332
+ };
333
+ MuiOutlinedInput: {
334
+ styleOverrides: {
335
+ root: {
336
+ color: string;
337
+ '& .MuiOutlinedInput-notchedOutline': {
338
+ borderColor: string;
339
+ };
340
+ '&:hover .MuiOutlinedInput-notchedOutline': {
341
+ borderColor: string;
342
+ };
343
+ '&.Mui-focused .MuiOutlinedInput-notchedOutline': {
344
+ borderColor: string;
345
+ };
346
+ };
347
+ };
348
+ };
349
+ MuiInputLabel: {
350
+ styleOverrides: {
351
+ root: {
352
+ color: string;
353
+ '&.Mui-focused': {
354
+ color: string;
355
+ };
356
+ };
357
+ };
358
+ };
359
+ MuiSelect: {
360
+ styleOverrides: {
361
+ select: {
362
+ color: string;
363
+ };
364
+ icon: {
365
+ color: string;
366
+ };
367
+ };
368
+ };
369
+ MuiTextField: {
370
+ styleOverrides: {
371
+ root: {
372
+ '& .MuiOutlinedInput-root': {
373
+ '& fieldset': {
374
+ borderColor: string;
375
+ };
376
+ '&:hover fieldset': {
377
+ borderColor: string;
378
+ };
379
+ '&.Mui-focused fieldset': {
380
+ borderColor: string;
381
+ };
382
+ };
383
+ '& .MuiInputLabel-root': {
384
+ color: string;
385
+ '&.Mui-focused': {
386
+ color: string;
387
+ };
388
+ };
389
+ };
390
+ };
391
+ };
392
+ MuiIconButton: {
393
+ styleOverrides: {
394
+ root: {
395
+ height: number;
396
+ width: number;
397
+ color: string;
398
+ backgroundColor: string;
399
+ '&:hover': {
400
+ '& svg': {
401
+ color: string;
402
+ fill: string;
403
+ };
404
+ color: string;
405
+ backgroundColor: string;
406
+ };
407
+ };
408
+ };
409
+ };
410
+ MuiAvatar: {
411
+ styleOverrides: {
412
+ root: {
413
+ color: string;
414
+ backgroundColor: string;
415
+ '&:hover': {
416
+ '& svg': {
417
+ color: string;
418
+ fill: string;
419
+ };
420
+ color: string;
421
+ backgroundColor: string;
422
+ };
423
+ };
424
+ };
425
+ };
426
+ MuiTable: {
427
+ styleOverrides: {
428
+ root: {
429
+ backgroundColor: string;
430
+ color: string;
431
+ };
432
+ };
433
+ };
434
+ MuiTableHead: {
435
+ styleOverrides: {
436
+ root: {
437
+ backgroundColor: string;
438
+ color: string;
439
+ };
440
+ };
441
+ };
442
+ MuiTableRow: {
443
+ styleOverrides: {
444
+ root: {
445
+ '&:hover': {
446
+ backgroundColor: string;
447
+ };
448
+ '&.MuiTableRow-head': {
449
+ backgroundColor: string;
450
+ color: string;
451
+ };
452
+ };
453
+ };
454
+ };
455
+ MuiTableCell: {
456
+ styleOverrides: {
457
+ root: {
458
+ textWrapMode: string;
459
+ borderColor: string;
460
+ color: string;
461
+ '& .MuiTableSortLabel-root, & .MuiTableSortLabel-icon': {
462
+ color: string;
463
+ };
464
+ };
465
+ head: {
466
+ fontWeight: number;
467
+ color: string;
468
+ backgroundColor: string;
469
+ };
470
+ };
471
+ };
472
+ MuiDataGrid: {
473
+ styleOverrides: {
474
+ root: {
475
+ backgroundColor: string;
476
+ color: string;
477
+ border: string;
478
+ '& .MuiDataGrid-main': {
479
+ backgroundColor: string;
480
+ };
481
+ '& .MuiDataGrid-overlay': {
482
+ backgroundColor: string;
483
+ color: string;
484
+ };
485
+ '& .MuiDataGrid-columnHeaderRow': {
486
+ color: string;
487
+ backgroundColor: string;
488
+ };
489
+ '& .MuiDataGrid-container--top [role=row]': {
490
+ color: string;
491
+ backgroundColor: string;
492
+ };
493
+ };
494
+ columnHeader: {
495
+ color: string;
496
+ backgroundColor: string;
497
+ '& .MuiSvgIcon-root': {
498
+ color: string;
499
+ };
500
+ };
501
+ columnHeaders: {
502
+ backgroundColor: string;
503
+ color: string;
504
+ borderBottom: string;
505
+ '& .MuiDataGrid-columnHeaderTitle': {
506
+ color: string;
507
+ fontWeight: number;
508
+ };
509
+ '& .MuiDataGrid-iconSeparator': {
510
+ color: string;
511
+ };
512
+ '& .MuiDataGrid-sortIcon': {
513
+ color: string;
514
+ };
515
+ '& .MuiDataGrid-menuIcon': {
516
+ color: string;
517
+ };
518
+ };
519
+ columnHeaderRow: {
520
+ color: string;
521
+ backgroundColor: string;
522
+ };
523
+ cell: {
524
+ borderBottom: string;
525
+ color: string;
526
+ '&:focus': {
527
+ outline: string;
528
+ };
529
+ '&.MuiDataGrid-cell--editing': {
530
+ backgroundColor: string;
531
+ };
532
+ };
533
+ row: {
534
+ backgroundColor: string;
535
+ '&:hover': {
536
+ backgroundColor: string;
537
+ };
538
+ '&.Mui-selected': {
539
+ backgroundColor: string;
540
+ '&:hover': {
541
+ backgroundColor: string;
542
+ };
543
+ };
544
+ '&.MuiDataGrid-row': {
545
+ backgroundColor: string;
546
+ };
547
+ '&.MuiDataGrid-row--odd': {
548
+ backgroundColor: string;
549
+ };
550
+ };
551
+ footerContainer: {
552
+ backgroundColor: string;
553
+ borderTop: string;
554
+ color: string;
555
+ };
556
+ toolbarContainer: {
557
+ backgroundColor: string;
558
+ borderBottom: string;
559
+ color: string;
560
+ '& .MuiButton-root': {
561
+ color: string;
562
+ '&:hover': {
563
+ backgroundColor: string;
564
+ };
565
+ };
566
+ };
567
+ filterForm: {
568
+ backgroundColor: string;
569
+ color: string;
570
+ };
571
+ panel: {
572
+ backgroundColor: string;
573
+ color: string;
574
+ border: string;
575
+ };
576
+ panelHeader: {
577
+ backgroundColor: string;
578
+ borderBottom: string;
579
+ };
580
+ panelContent: {
581
+ backgroundColor: string;
582
+ };
583
+ columnMenu: {
584
+ backgroundColor: string;
585
+ color: string;
586
+ '& .MuiMenuItem-root': {
587
+ color: string;
588
+ '&:hover': {
589
+ backgroundColor: string;
590
+ };
591
+ };
592
+ };
593
+ };
594
+ };
595
+ };
596
+ };
597
+ declare const defaultComponentOverrides: (options?: any) => {
598
+ typography: {
599
+ allVariants: {};
600
+ };
601
+ components: {
602
+ MuiCssBaseline: {
603
+ styleOverrides: {
604
+ body: {};
605
+ };
606
+ };
607
+ MuiButton: {
608
+ styleOverrides: {
609
+ root: {
610
+ backgroundColor: string;
611
+ color: string;
612
+ '&.MuiButton-containedPrimary': {
613
+ backgroundColor: string;
614
+ color: string;
615
+ '&:hover': {
616
+ backgroundColor: string;
617
+ };
618
+ };
619
+ '&.MuiButton-containedSecondary': {
620
+ backgroundColor: string;
621
+ color: string;
622
+ '&:hover': {
623
+ backgroundColor: string;
624
+ };
625
+ };
626
+ '&.MuiButton-outlinedPrimary': {
627
+ backgroundColor: string;
628
+ borderColor: string;
629
+ color: string;
630
+ '&:hover': {
631
+ borderColor: string;
632
+ color: string;
633
+ };
634
+ };
635
+ '&.MuiButton-outlinedSecondary': {
636
+ backgroundColor: string;
637
+ borderColor: string;
638
+ color: string;
639
+ '&:hover': {
640
+ borderColor: string;
641
+ color: string;
642
+ };
643
+ };
644
+ '&.MuiButton-textPrimary': {
645
+ color: string;
646
+ background: string;
647
+ '&:hover': {
648
+ color: string;
649
+ textDecoration: string;
650
+ background: string;
651
+ };
652
+ };
653
+ '&.MuiButton-textSecondary': {
654
+ color: string;
655
+ background: string;
656
+ '&:hover': {
657
+ color: string;
658
+ textDecoration: string;
659
+ background: string;
660
+ };
661
+ };
662
+ };
663
+ };
664
+ };
665
+ MuiDialog: {
666
+ styleOverrides: {
667
+ root: {
668
+ zIndex: number;
669
+ };
670
+ };
671
+ };
672
+ MuiDialogTitle: {
673
+ styleOverrides: {
674
+ root: {
675
+ '& svg': {
676
+ color: string;
677
+ };
678
+ };
679
+ };
680
+ };
681
+ MuiTooltip: {
682
+ styleOverrides: {
683
+ tooltip: {
684
+ backgroundColor: string;
685
+ color: string;
686
+ border: string;
687
+ fontSize: string;
688
+ maxWidth: number;
689
+ '& .MuiTooltip-arrow': {
690
+ color: string;
691
+ '&::before': {
692
+ border: string;
693
+ };
694
+ };
695
+ };
696
+ popper: {
697
+ '&[data-popper-placement*="bottom"] .MuiTooltip-tooltip': {
698
+ marginTop: string;
699
+ };
700
+ '&[data-popper-placement*="top"] .MuiTooltip-tooltip': {
701
+ marginBottom: string;
702
+ };
703
+ '&[data-popper-placement*="right"] .MuiTooltip-tooltip': {
704
+ marginLeft: string;
705
+ };
706
+ '&[data-popper-placement*="left"] .MuiTooltip-tooltip': {
707
+ marginRight: string;
708
+ };
709
+ };
710
+ };
711
+ };
712
+ MuiTabs: {
713
+ styleOverrides: {
714
+ indicator: {
715
+ backgroundColor: string;
716
+ };
717
+ };
718
+ };
719
+ MuiListItemIcon: {
720
+ styleOverrides: {
721
+ root: {
722
+ color: string;
723
+ '& svg': {
724
+ color: string;
725
+ };
726
+ };
727
+ };
728
+ };
729
+ RaReferenceField: {
730
+ styleOverrides: {
731
+ root: {
732
+ '& .RaReferenceField-link>*': {
733
+ color: string;
734
+ };
735
+ };
736
+ };
737
+ };
738
+ RaSingleFieldList: {
739
+ styleOverrides: {
740
+ root: {
741
+ '& .RaSingleFieldList-link>*': {
742
+ color: string;
743
+ };
744
+ };
745
+ };
746
+ };
747
+ MuiTab: {
748
+ styleOverrides: {
749
+ root: {
750
+ '&.MuiButtonBase-root': {
751
+ '&.Mui-selected': {
752
+ color: string;
753
+ backgroundColor: string;
754
+ };
755
+ '&.MuiTab-textColorPrimary': {
756
+ color: string;
757
+ };
758
+ };
759
+ };
760
+ };
761
+ };
762
+ MuiAlert: {
763
+ styleOverrides: {
764
+ root: {
765
+ '&.MuiAlert-standardInfo': {
766
+ backgroundColor: string;
767
+ color: string;
768
+ '& .MuiAlert-icon': {
769
+ color: string;
770
+ };
771
+ '& .MuiAlertTitle-root': {
772
+ color: string;
773
+ };
774
+ };
775
+ '&.MuiAlert-standardError': {
776
+ backgroundColor: string;
777
+ color: string;
778
+ };
779
+ '&.MuiAlert-standardWarning': {
780
+ backgroundColor: string;
781
+ color: string;
782
+ };
783
+ '&.MuiAlert-standardSuccess': {
784
+ backgroundColor: string;
785
+ color: string;
786
+ };
787
+ };
788
+ };
789
+ };
790
+ MuiAccordion: {
791
+ styleOverrides: {
792
+ root: {
793
+ backgroundColor: string;
794
+ '&.MuiPaper-root': {
795
+ backgroundColor: string;
796
+ };
797
+ };
798
+ };
799
+ };
800
+ MuiAccordionSummary: {
801
+ styleOverrides: {
802
+ expandIconWrapper: {
803
+ color: string;
804
+ '& .MuiSvgIcon-root': {
805
+ color: string;
806
+ };
807
+ };
808
+ };
809
+ };
810
+ MuiBox: {
811
+ styleOverrides: {
812
+ root: {
813
+ display: string;
814
+ };
815
+ };
816
+ };
817
+ MuiAppBar: {
818
+ styleOverrides: {
819
+ root: {
820
+ backgroundColor: string;
821
+ color: string;
822
+ };
823
+ };
824
+ };
825
+ MuiInputBase: {
826
+ styleOverrides: {
827
+ input: {
828
+ '& .MuiOutlinedInput-root': {
829
+ border: number;
830
+ };
831
+ };
832
+ colorPrimary: {
833
+ color: string;
834
+ };
835
+ };
836
+ };
837
+ MuiOutlinedInput: {
838
+ styleOverrides: {
839
+ root: {
840
+ color: string;
841
+ '& .MuiOutlinedInput-notchedOutline': {
842
+ borderColor: string;
843
+ };
844
+ '&:hover .MuiOutlinedInput-notchedOutline': {
845
+ borderColor: string;
846
+ };
847
+ '&.Mui-focused .MuiOutlinedInput-notchedOutline': {
848
+ borderColor: string;
849
+ };
850
+ };
851
+ };
852
+ };
853
+ MuiInputLabel: {
854
+ styleOverrides: {
855
+ root: {
856
+ color: string;
857
+ '&.Mui-focused': {
858
+ color: string;
859
+ };
860
+ };
861
+ };
862
+ };
863
+ MuiSelect: {
864
+ styleOverrides: {
865
+ select: {
866
+ color: string;
867
+ };
868
+ icon: {
869
+ color: string;
870
+ };
871
+ };
872
+ };
873
+ MuiTextField: {
874
+ styleOverrides: {
875
+ root: {
876
+ '& .MuiOutlinedInput-root': {
877
+ '& fieldset': {
878
+ borderColor: string;
879
+ };
880
+ '&:hover fieldset': {
881
+ borderColor: string;
882
+ };
883
+ '&.Mui-focused fieldset': {
884
+ borderColor: string;
885
+ };
886
+ };
887
+ '& .MuiInputLabel-root': {
888
+ color: string;
889
+ '&.Mui-focused': {
890
+ color: string;
891
+ };
892
+ };
893
+ };
894
+ };
895
+ };
896
+ MuiIconButton: {
897
+ styleOverrides: {
898
+ root: {
899
+ height: number;
900
+ width: number;
901
+ color: string;
902
+ backgroundColor: string;
903
+ '&:hover': {
904
+ '& svg': {
905
+ color: string;
906
+ fill: string;
907
+ };
908
+ color: string;
909
+ backgroundColor: string;
910
+ };
911
+ };
912
+ };
913
+ };
914
+ MuiAvatar: {
915
+ styleOverrides: {
916
+ root: {
917
+ color: string;
918
+ backgroundColor: string;
919
+ '&:hover': {
920
+ '& svg': {
921
+ color: string;
922
+ fill: string;
923
+ };
924
+ color: string;
925
+ backgroundColor: string;
926
+ };
927
+ };
928
+ };
929
+ };
930
+ MuiTable: {
931
+ styleOverrides: {
932
+ root: {
933
+ backgroundColor: string;
934
+ color: string;
935
+ };
936
+ };
937
+ };
938
+ MuiTableHead: {
939
+ styleOverrides: {
940
+ root: {
941
+ backgroundColor: string;
942
+ color: string;
943
+ };
944
+ };
945
+ };
946
+ MuiTableRow: {
947
+ styleOverrides: {
948
+ root: {
949
+ '&:hover': {
950
+ backgroundColor: string;
951
+ };
952
+ '&.MuiTableRow-head': {
953
+ backgroundColor: string;
954
+ color: string;
955
+ };
956
+ };
957
+ };
958
+ };
959
+ MuiTableCell: {
960
+ styleOverrides: {
961
+ root: {
962
+ textWrapMode: string;
963
+ borderColor: string;
964
+ color: string;
965
+ '& .MuiTableSortLabel-root, & .MuiTableSortLabel-icon': {
966
+ color: string;
967
+ };
968
+ };
969
+ head: {
970
+ fontWeight: number;
971
+ color: string;
972
+ backgroundColor: string;
973
+ };
974
+ };
975
+ };
976
+ MuiDataGrid: {
977
+ styleOverrides: {
978
+ root: {
979
+ backgroundColor: string;
980
+ color: string;
981
+ border: string;
982
+ '& .MuiDataGrid-main': {
983
+ backgroundColor: string;
984
+ };
985
+ '& .MuiDataGrid-overlay': {
986
+ backgroundColor: string;
987
+ color: string;
988
+ };
989
+ '& .MuiDataGrid-columnHeaderRow': {
990
+ color: string;
991
+ backgroundColor: string;
992
+ };
993
+ '& .MuiDataGrid-container--top [role=row]': {
994
+ color: string;
995
+ backgroundColor: string;
996
+ };
997
+ };
998
+ columnHeader: {
999
+ color: string;
1000
+ backgroundColor: string;
1001
+ '& .MuiSvgIcon-root': {
1002
+ color: string;
1003
+ };
1004
+ };
1005
+ columnHeaders: {
1006
+ backgroundColor: string;
1007
+ color: string;
1008
+ borderBottom: string;
1009
+ '& .MuiDataGrid-columnHeaderTitle': {
1010
+ color: string;
1011
+ fontWeight: number;
1012
+ };
1013
+ '& .MuiDataGrid-iconSeparator': {
1014
+ color: string;
1015
+ };
1016
+ '& .MuiDataGrid-sortIcon': {
1017
+ color: string;
1018
+ };
1019
+ '& .MuiDataGrid-menuIcon': {
1020
+ color: string;
1021
+ };
1022
+ };
1023
+ columnHeaderRow: {
1024
+ color: string;
1025
+ backgroundColor: string;
1026
+ };
1027
+ cell: {
1028
+ borderBottom: string;
1029
+ color: string;
1030
+ '&:focus': {
1031
+ outline: string;
1032
+ };
1033
+ '&.MuiDataGrid-cell--editing': {
1034
+ backgroundColor: string;
1035
+ };
1036
+ };
1037
+ row: {
1038
+ backgroundColor: string;
1039
+ '&:hover': {
1040
+ backgroundColor: string;
1041
+ };
1042
+ '&.Mui-selected': {
1043
+ backgroundColor: string;
1044
+ '&:hover': {
1045
+ backgroundColor: string;
1046
+ };
1047
+ };
1048
+ '&.MuiDataGrid-row': {
1049
+ backgroundColor: string;
1050
+ };
1051
+ '&.MuiDataGrid-row--odd': {
1052
+ backgroundColor: string;
1053
+ };
1054
+ };
1055
+ footerContainer: {
1056
+ backgroundColor: string;
1057
+ borderTop: string;
1058
+ color: string;
1059
+ };
1060
+ toolbarContainer: {
1061
+ backgroundColor: string;
1062
+ borderBottom: string;
1063
+ color: string;
1064
+ '& .MuiButton-root': {
1065
+ color: string;
1066
+ '&:hover': {
1067
+ backgroundColor: string;
1068
+ };
1069
+ };
1070
+ };
1071
+ filterForm: {
1072
+ backgroundColor: string;
1073
+ color: string;
1074
+ };
1075
+ panel: {
1076
+ backgroundColor: string;
1077
+ color: string;
1078
+ border: string;
1079
+ };
1080
+ panelHeader: {
1081
+ backgroundColor: string;
1082
+ borderBottom: string;
1083
+ };
1084
+ panelContent: {
1085
+ backgroundColor: string;
1086
+ };
1087
+ columnMenu: {
1088
+ backgroundColor: string;
1089
+ color: string;
1090
+ '& .MuiMenuItem-root': {
1091
+ color: string;
1092
+ '&:hover': {
1093
+ backgroundColor: string;
1094
+ };
1095
+ };
1096
+ };
1097
+ };
1098
+ };
1099
+ };
1100
+ };
1101
+ declare const appTheme: (muiThemeOptions?: any, options?: {
1102
+ tenantSettings?: any;
1103
+ colors?: any;
1104
+ [key: string]: any;
1105
+ }) => _mui_material.ThemeOptions;
1106
+ declare const getAntTheme: (options?: {
1107
+ tenantSettings?: any;
1108
+ colors?: any;
1109
+ [key: string]: any;
1110
+ }) => {
1111
+ cssVar: boolean;
1112
+ hashed: boolean;
1113
+ algorithm: _ant_design_cssinjs.DerivativeFunc<antd_es_theme_internal.SeedToken, antd_es_theme_interface.MapToken>;
1114
+ token: Record<string, any>;
1115
+ components: {
1116
+ Table: {
1117
+ headerBg: string;
1118
+ headerColor: string;
1119
+ rowHoverBg: string;
1120
+ rowSelectedBg: string;
1121
+ borderColor: string;
1122
+ footerBg: string;
1123
+ };
1124
+ Button: {
1125
+ colorPrimary: string;
1126
+ colorPrimaryHover: string;
1127
+ colorPrimaryActive: string;
1128
+ defaultBg: string;
1129
+ defaultColor: string;
1130
+ defaultBorderColor: string;
1131
+ };
1132
+ Input: {
1133
+ colorBgContainer: string;
1134
+ colorBorder: string;
1135
+ colorText: string;
1136
+ activeBorderColor: string;
1137
+ hoverBorderColor: string;
1138
+ };
1139
+ Select: {
1140
+ colorBgContainer: string;
1141
+ colorBorder: string;
1142
+ colorText: string;
1143
+ };
1144
+ Dropdown: {
1145
+ colorBgElevated: string;
1146
+ colorText: string;
1147
+ };
1148
+ Modal: {
1149
+ contentBg: string;
1150
+ headerBg: string;
1151
+ titleColor: string;
1152
+ };
1153
+ Layout: {
1154
+ headerBg: string;
1155
+ bodyBg: string;
1156
+ siderBg: string;
1157
+ };
1158
+ Menu: {
1159
+ itemBg: string;
1160
+ itemColor: string;
1161
+ itemHoverBg: string;
1162
+ itemSelectedBg: string;
1163
+ itemSelectedColor: string;
1164
+ };
1165
+ Card: {
1166
+ colorBgContainer: string;
1167
+ colorBorderSecondary: string;
1168
+ };
1169
+ Tooltip: {
1170
+ colorBgSpotlight: string;
1171
+ colorTextLightSolid: string;
1172
+ };
1173
+ Tabs: {
1174
+ itemColor: string;
1175
+ itemSelectedColor: string;
1176
+ inkBarColor: string;
1177
+ };
1178
+ };
1179
+ };
1180
+
1181
+ export { appTheme, appTheme as default, defaultComponentOverrides, defaultOptions, getAntTheme };