cozy-ui 110.0.1 → 110.1.0

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 (47) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/cozy-ui.min.css +1 -1
  3. package/package.json +1 -1
  4. package/react/BottomSheet/BottomSheet.jsx +7 -2
  5. package/react/Dialog/DialogEffects.spec.tsx +8 -4
  6. package/react/Dialog/DialogEffects.ts +14 -6
  7. package/react/IntentDialogOpener/IntentDialogOpener.md +4 -3
  8. package/react/IntentHeader/styles.styl +2 -2
  9. package/react/IntentIframe/Readme.md +8 -13
  10. package/react/IntentIframe/styles.styl +1 -2
  11. package/react/Layout/Layout.md +52 -14
  12. package/react/Sidebar/index.jsx +3 -1
  13. package/react/Viewer/ViewerInformationsWrapper.jsx +3 -1
  14. package/react/deprecated/ActionMenu/ActionMenuEffects.ts +7 -4
  15. package/react/deprecated/Modal/ModalEffects.ts +15 -6
  16. package/react/deprecated/Modal/index.jsx +21 -3
  17. package/react/providers/CozyTheme/index.jsx +10 -17
  18. package/stylus/components/modals.styl +4 -4
  19. package/stylus/elements/defaults.styl +0 -1
  20. package/stylus/objects/layouts.styl +2 -6
  21. package/transpiled/react/BottomSheet/BottomSheet.js +8 -4
  22. package/transpiled/react/Dialog/DialogEffects.d.ts +3 -2
  23. package/transpiled/react/Dialog/DialogEffects.js +15 -6
  24. package/transpiled/react/MuiCozyTheme/helpers.d.ts +138 -0
  25. package/transpiled/react/MuiCozyTheme/index.d.ts +19 -0
  26. package/transpiled/react/MuiCozyTheme/makePalette.d.ts +1 -0
  27. package/transpiled/react/MuiCozyTheme/makeTheme.d.ts +15 -0
  28. package/transpiled/react/MuiCozyTheme/makeTypography.d.ts +66 -0
  29. package/transpiled/react/MuiCozyTheme/overrides/makeDarkInvertedOverrides.d.ts +1427 -0
  30. package/transpiled/react/MuiCozyTheme/overrides/makeDarkNormalOverrides.d.ts +1376 -0
  31. package/transpiled/react/MuiCozyTheme/overrides/makeLightInvertedOverrides.d.ts +1427 -0
  32. package/transpiled/react/MuiCozyTheme/overrides/makeLightNormalOverrides.d.ts +1376 -0
  33. package/transpiled/react/MuiCozyTheme/theme.d.ts +61 -0
  34. package/transpiled/react/Sidebar/index.js +6 -1
  35. package/transpiled/react/Viewer/ViewerInformationsWrapper.js +6 -1
  36. package/transpiled/react/deprecated/ActionMenu/ActionMenuEffects.js +9 -4
  37. package/transpiled/react/deprecated/Modal/ModalEffects.js +12 -6
  38. package/transpiled/react/deprecated/Modal/index.js +23 -9
  39. package/transpiled/react/helpers/isTesting.d.ts +2 -0
  40. package/transpiled/react/hooks/useMediaQuery.d.ts +2 -0
  41. package/transpiled/react/providers/CozyTheme/CozyThemeWithQuery.d.ts +2 -0
  42. package/transpiled/react/providers/CozyTheme/index.d.ts +38 -0
  43. package/transpiled/react/providers/CozyTheme/index.js +9 -10
  44. package/transpiled/react/providers/CozyTheme/queries.d.ts +8 -0
  45. package/transpiled/react/styles/index.d.ts +1 -0
  46. package/transpiled/react/stylesheet.css +1 -1
  47. package/transpiled/react/utils/color.d.ts +2 -0
@@ -0,0 +1,1376 @@
1
+ export function makeDarkNormalOverrides(theme: any): {
2
+ MuiSelect: {
3
+ iconOutlined: {
4
+ top: string;
5
+ right: number;
6
+ };
7
+ outlined: {
8
+ '&&': {
9
+ paddingRight: number;
10
+ };
11
+ };
12
+ };
13
+ MuiOutlinedInput: {
14
+ root: {
15
+ borderRadius: number;
16
+ '&$disabled': {
17
+ background: any;
18
+ };
19
+ '&$focused $notchedOutline': {
20
+ borderWidth: string;
21
+ };
22
+ '&$error $notchedOutline': {
23
+ borderColor: string;
24
+ };
25
+ '&$focused&$error $notchedOutline': {
26
+ borderColor: any;
27
+ };
28
+ '&:hover $notchedOutline': {
29
+ borderColor: any;
30
+ };
31
+ '&:hover&$error $notchedOutline': {
32
+ borderColor: any;
33
+ };
34
+ };
35
+ notchedOutline: {
36
+ borderColor: any;
37
+ transition: string;
38
+ };
39
+ input: {
40
+ textAlign: string;
41
+ padding: string;
42
+ };
43
+ inputMarginDense: {
44
+ paddingTop: number;
45
+ paddingBottom: number;
46
+ };
47
+ };
48
+ MuiInputLabel: {
49
+ outlined: {
50
+ '&$marginDense': {
51
+ transform: string;
52
+ };
53
+ '&:not($shrink)': {
54
+ '&$error': {
55
+ color: any;
56
+ };
57
+ };
58
+ };
59
+ };
60
+ MuiButton: {
61
+ root: {
62
+ borderRadius: number;
63
+ height: string;
64
+ lineHeight: string;
65
+ padding: string;
66
+ '&.ghost': {
67
+ borderStyle: string;
68
+ '&:hover': {
69
+ borderStyle: string;
70
+ };
71
+ };
72
+ };
73
+ sizeSmall: {
74
+ height: string;
75
+ padding: string;
76
+ '&$text': {
77
+ padding: string;
78
+ };
79
+ };
80
+ sizeLarge: {
81
+ height: string;
82
+ padding: string;
83
+ '&$text': {
84
+ padding: string;
85
+ };
86
+ };
87
+ text: {
88
+ minWidth: string;
89
+ padding: string;
90
+ '&:not($disabled)': {
91
+ '&.customColor': {
92
+ '&-success': {
93
+ color: any;
94
+ '&:hover': {
95
+ backgroundColor: string;
96
+ '@media (hover: none)': {
97
+ backgroundColor: string;
98
+ };
99
+ };
100
+ };
101
+ '&-warning': {
102
+ color: any;
103
+ '&:hover': {
104
+ backgroundColor: string;
105
+ '@media (hover: none)': {
106
+ backgroundColor: string;
107
+ };
108
+ };
109
+ };
110
+ '&-error': {
111
+ color: any;
112
+ '&:hover': {
113
+ backgroundColor: string;
114
+ '@media (hover: none)': {
115
+ backgroundColor: string;
116
+ };
117
+ };
118
+ };
119
+ '&-info': {
120
+ color: any;
121
+ '&:hover': {
122
+ backgroundColor: string;
123
+ '@media (hover: none)': {
124
+ backgroundColor: string;
125
+ };
126
+ };
127
+ };
128
+ };
129
+ };
130
+ };
131
+ outlined: {
132
+ '&:not($disabled)': {
133
+ '&.ghost': {
134
+ backgroundColor: string;
135
+ '&:hover': {
136
+ backgroundColor: string;
137
+ '@media (hover: none)': {
138
+ backgroundColor: string;
139
+ };
140
+ };
141
+ };
142
+ '&.customColor': {
143
+ '&-primary': {
144
+ color: any;
145
+ borderColor: any;
146
+ '&:hover': {
147
+ backgroundColor: any;
148
+ '@media (hover: none)': {
149
+ backgroundColor: string;
150
+ };
151
+ };
152
+ '&.ghost': {
153
+ color: any;
154
+ borderColor: string;
155
+ };
156
+ };
157
+ '&-success': {
158
+ color: any;
159
+ borderColor: any;
160
+ '&:hover': {
161
+ backgroundColor: string;
162
+ '@media (hover: none)': {
163
+ backgroundColor: string;
164
+ };
165
+ };
166
+ '&.ghost': {
167
+ backgroundColor: string;
168
+ '&:hover': {
169
+ backgroundColor: string;
170
+ '@media (hover: none)': {
171
+ backgroundColor: string;
172
+ };
173
+ };
174
+ };
175
+ };
176
+ '&-warning': {
177
+ color: any;
178
+ borderColor: any;
179
+ '&:hover': {
180
+ backgroundColor: string;
181
+ '@media (hover: none)': {
182
+ backgroundColor: string;
183
+ };
184
+ };
185
+ '&.ghost': {
186
+ backgroundColor: string;
187
+ '&:hover': {
188
+ backgroundColor: string;
189
+ '@media (hover: none)': {
190
+ backgroundColor: string;
191
+ };
192
+ };
193
+ };
194
+ };
195
+ '&-error': {
196
+ color: any;
197
+ borderColor: any;
198
+ '&:hover': {
199
+ backgroundColor: string;
200
+ '@media (hover: none)': {
201
+ backgroundColor: string;
202
+ };
203
+ };
204
+ '&.ghost': {
205
+ backgroundColor: string;
206
+ '&:hover': {
207
+ backgroundColor: string;
208
+ '@media (hover: none)': {
209
+ backgroundColor: string;
210
+ };
211
+ };
212
+ };
213
+ };
214
+ '&-info': {
215
+ color: any;
216
+ borderColor: any;
217
+ '&:hover': {
218
+ backgroundColor: string;
219
+ '@media (hover: none)': {
220
+ backgroundColor: string;
221
+ };
222
+ };
223
+ '&.ghost': {
224
+ backgroundColor: string;
225
+ '&:hover': {
226
+ backgroundColor: string;
227
+ '@media (hover: none)': {
228
+ backgroundColor: string;
229
+ };
230
+ };
231
+ };
232
+ };
233
+ };
234
+ };
235
+ };
236
+ contained: {
237
+ boxShadow: number;
238
+ '&:not($disabled)': {
239
+ '&.customColor': {
240
+ '&-success': {
241
+ color: any;
242
+ backgroundColor: any;
243
+ '&:hover': {
244
+ backgroundColor: any;
245
+ '@media (hover: none)': {
246
+ backgroundColor: any;
247
+ };
248
+ };
249
+ };
250
+ '&-warning': {
251
+ color: any;
252
+ backgroundColor: any;
253
+ '&:hover': {
254
+ backgroundColor: any;
255
+ '@media (hover: none)': {
256
+ backgroundColor: any;
257
+ };
258
+ };
259
+ };
260
+ '&-error': {
261
+ color: any;
262
+ backgroundColor: any;
263
+ '&:hover': {
264
+ backgroundColor: any;
265
+ '@media (hover: none)': {
266
+ backgroundColor: any;
267
+ };
268
+ };
269
+ };
270
+ '&-info': {
271
+ color: any;
272
+ backgroundColor: any;
273
+ '&:hover': {
274
+ backgroundColor: any;
275
+ '@media (hover: none)': {
276
+ backgroundColor: any;
277
+ };
278
+ };
279
+ };
280
+ };
281
+ };
282
+ };
283
+ startIcon: {
284
+ marginLeft: string;
285
+ };
286
+ };
287
+ MuiTabs: {
288
+ root: {
289
+ '&.segmented': {
290
+ borderRadius: string;
291
+ backgroundColor: any;
292
+ overflow: string;
293
+ minHeight: string;
294
+ '& $indicator': {
295
+ top: string;
296
+ height: string;
297
+ transform: string;
298
+ borderRadius: string;
299
+ zIndex: number;
300
+ boxShadow: any;
301
+ backgroundColor: any;
302
+ };
303
+ '& $fixed': {
304
+ overflow: string;
305
+ };
306
+ '& $scrollButtons': {
307
+ borderRadius: string;
308
+ };
309
+ };
310
+ };
311
+ };
312
+ MuiTab: {
313
+ root: any;
314
+ };
315
+ MuiAccordion: {
316
+ rounded: {
317
+ borderRadius: any;
318
+ };
319
+ root: {
320
+ boxShadow: string;
321
+ borderWidth: string;
322
+ borderStyle: string;
323
+ borderColor: any;
324
+ overflow: string;
325
+ marginBottom: string;
326
+ };
327
+ };
328
+ MuiAccordionSummary: {
329
+ expanded: {};
330
+ root: {
331
+ backgroundColor: any;
332
+ textTransform: string;
333
+ fontWeight: string;
334
+ fontSize: string;
335
+ minHeight: string;
336
+ padding: number;
337
+ color: any;
338
+ '&$expanded': {
339
+ minHeight: string;
340
+ };
341
+ };
342
+ expandIcon: {
343
+ order: number;
344
+ '&&': {
345
+ marginLeft: string;
346
+ };
347
+ transform: string;
348
+ '&$expanded': {
349
+ marginLeft: string;
350
+ transform: string;
351
+ };
352
+ };
353
+ content: {
354
+ margin: string;
355
+ paddingLeft: string;
356
+ paddingRight: string;
357
+ order: number;
358
+ '& > :last-child': {
359
+ paddingRight: number;
360
+ };
361
+ '&$expanded': {
362
+ margin: string;
363
+ };
364
+ };
365
+ };
366
+ MuiAccordionDetails: {
367
+ root: {
368
+ padding: number;
369
+ borderTop: string;
370
+ };
371
+ };
372
+ MuiStepConnector: {
373
+ line: {
374
+ borderColor: any;
375
+ };
376
+ };
377
+ MuiStepContent: {
378
+ root: {
379
+ borderColor: any;
380
+ };
381
+ };
382
+ MuiStepLabel: {
383
+ label: any;
384
+ };
385
+ MuiListItemIcon: {
386
+ root: {
387
+ minWidth: string;
388
+ width: number;
389
+ height: number;
390
+ alignItems: string;
391
+ justifyContent: string;
392
+ color: any;
393
+ };
394
+ };
395
+ MuiListItem: {
396
+ root: {
397
+ gap: number;
398
+ paddingTop: number;
399
+ paddingBottom: number;
400
+ minHeight: number;
401
+ '&.small': {
402
+ paddingTop: number;
403
+ paddingBottom: number;
404
+ minHeight: number;
405
+ };
406
+ '&.large': {
407
+ paddingTop: number;
408
+ paddingBottom: number;
409
+ minHeight: number;
410
+ };
411
+ '&.cozyActionsItem': {
412
+ wordBreak: string;
413
+ };
414
+ };
415
+ dense: {
416
+ paddingTop: number;
417
+ paddingBottom: number;
418
+ minHeight: number;
419
+ '&.small': {
420
+ paddingTop: number;
421
+ paddingBottom: number;
422
+ minHeight: number;
423
+ };
424
+ '&.large': {
425
+ paddingTop: number;
426
+ paddingBottom: number;
427
+ minHeight: number;
428
+ };
429
+ };
430
+ };
431
+ MuiListSubheader: {
432
+ root: any;
433
+ sticky: {
434
+ backgroundColor: any;
435
+ };
436
+ };
437
+ MuiListItemText: {
438
+ root: {
439
+ marginTop: number;
440
+ marginBottom: number;
441
+ };
442
+ multiline: {
443
+ marginTop: number;
444
+ marginBottom: number;
445
+ };
446
+ secondary: {
447
+ marginTop: number;
448
+ };
449
+ };
450
+ MuiListItemSecondaryAction: {
451
+ root: {
452
+ right: number;
453
+ };
454
+ };
455
+ MuiMenu: {
456
+ paper: {
457
+ maxWidth: number;
458
+ };
459
+ };
460
+ MuiMenuItem: {
461
+ root: {
462
+ [x: number]: {
463
+ minHeight: number;
464
+ };
465
+ whiteSpace: string;
466
+ overflow: string;
467
+ wordBreak: string;
468
+ paddingTop: number;
469
+ paddingBottom: number;
470
+ '&.cozyActionsItem': {
471
+ minWidth: number;
472
+ };
473
+ '& .cozyListItemIcon': {
474
+ width: number;
475
+ height: number;
476
+ };
477
+ };
478
+ gutters: {
479
+ paddingLeft: number;
480
+ paddingRight: number;
481
+ };
482
+ };
483
+ MuiFormLabel: {
484
+ root: {
485
+ color: any;
486
+ '&$disabled&$error': {
487
+ color: any;
488
+ };
489
+ };
490
+ };
491
+ MuiFormHelperText: {
492
+ root: {
493
+ fontStyle: string;
494
+ fontSize: string;
495
+ marginTop: number;
496
+ '&$disabled&$error': {
497
+ color: any;
498
+ };
499
+ };
500
+ };
501
+ MuiDialog: {
502
+ paper: {
503
+ '&.small': {
504
+ [x: number]: {
505
+ margin: string;
506
+ padding: string;
507
+ height: string;
508
+ maxHeight: string;
509
+ borderRadius: string;
510
+ '& .divider--dialog': {
511
+ marginLeft: string;
512
+ marginRight: string;
513
+ };
514
+ };
515
+ width: string;
516
+ maxWidth: string;
517
+ };
518
+ '&.medium': {
519
+ [x: number]: {
520
+ width: string;
521
+ maxWidth: string;
522
+ };
523
+ };
524
+ '&.large': {
525
+ [x: number]: {
526
+ width: string;
527
+ maxWidth: string;
528
+ };
529
+ };
530
+ '&.overflow': {
531
+ overflowY: string;
532
+ };
533
+ };
534
+ scrollPaper: {
535
+ '&.alignTop': {
536
+ alignItems: string;
537
+ };
538
+ };
539
+ paperFullScreen: {
540
+ '& .cozyDialogActions': {
541
+ paddingBottom: string;
542
+ };
543
+ '& [class*="DialogCloseButton"]': {
544
+ transform: string;
545
+ };
546
+ '& [class*="DialogBackButton"]': {
547
+ transform: string;
548
+ };
549
+ '.flagship-app & .cozyDialogTitle': {
550
+ paddingTop: string;
551
+ };
552
+ '.flagship-app & .cozyDialogContent': {
553
+ marginBottom: string;
554
+ };
555
+ };
556
+ };
557
+ MuiDialogTitle: {
558
+ root: any;
559
+ };
560
+ MuiDialogContent: {
561
+ root: {
562
+ [x: number]: {
563
+ padding: string;
564
+ };
565
+ padding: string;
566
+ '&.disableGutters': {
567
+ padding: number;
568
+ '& .dialogContentInner': {
569
+ marginBottom: number;
570
+ };
571
+ '& .dialogTitleFluidContainer': {
572
+ marginLeft: number;
573
+ marginRight: number;
574
+ marginTop: number;
575
+ };
576
+ };
577
+ '& .dialogContentInner': {
578
+ marginBottom: string;
579
+ '&.withFluidActions': {
580
+ [x: number]: {
581
+ marginBottom: number;
582
+ display: string;
583
+ flexDirection: string;
584
+ height: string;
585
+ '& .dialogContentWrapper': {
586
+ flexGrow: number;
587
+ '&:not(.withActions)': {
588
+ paddingBottom: string;
589
+ };
590
+ };
591
+ '& .cozyDialogActions': {
592
+ paddingBottom: string;
593
+ };
594
+ };
595
+ };
596
+ '& .dialogTitleFluidContainer': {
597
+ [x: number]: {
598
+ marginLeft: string;
599
+ marginRight: string;
600
+ marginTop: string;
601
+ };
602
+ marginLeft: string;
603
+ marginRight: string;
604
+ };
605
+ };
606
+ };
607
+ };
608
+ MuiDialogActions: {
609
+ root: {
610
+ [x: number]: {
611
+ margin: string;
612
+ '& button': {
613
+ flexGrow: number;
614
+ };
615
+ };
616
+ margin: string;
617
+ padding: number;
618
+ '&.dialogActionsFluid': {
619
+ margin: string;
620
+ };
621
+ '&.columnLayout': {
622
+ display: string;
623
+ flexDirection: string;
624
+ '& button': {
625
+ width: string;
626
+ margin: number;
627
+ '&:not(:first-child)': {
628
+ marginBottom: string;
629
+ };
630
+ };
631
+ };
632
+ '&:not(.columnLayout) > :not(:first-child):not(:first-child)': {
633
+ marginLeft: number;
634
+ };
635
+ };
636
+ };
637
+ MuiDivider: {
638
+ inset: {
639
+ marginLeft: number;
640
+ '&.divider--dialog': {
641
+ marginLeft: number;
642
+ };
643
+ };
644
+ };
645
+ MuiCheckbox: {
646
+ colorSecondary: {
647
+ '&$checked': {
648
+ color: any;
649
+ };
650
+ };
651
+ };
652
+ MuiSwitch: {
653
+ checked: {
654
+ '& + $track$track': {
655
+ opacity: number;
656
+ };
657
+ };
658
+ switchBase: {
659
+ top: number;
660
+ '&$checked': {
661
+ transform: string;
662
+ };
663
+ };
664
+ thumb: {
665
+ width: number;
666
+ height: number;
667
+ backgroundColor: any;
668
+ };
669
+ track: {
670
+ width: number;
671
+ height: number;
672
+ opacity: number;
673
+ backgroundColor: any;
674
+ };
675
+ colorSecondary: {
676
+ '&$checked': {
677
+ '& + $track': {
678
+ backgroundColor: any;
679
+ };
680
+ };
681
+ };
682
+ disabled: {
683
+ '&$checked + $track': {
684
+ backgroundColor: string;
685
+ };
686
+ '& $thumb': {
687
+ backgroundColor: any;
688
+ };
689
+ };
690
+ };
691
+ MuiTooltip: {
692
+ tooltip: {
693
+ borderRadius: string;
694
+ fontSize: string;
695
+ lineHeight: string;
696
+ padding: string;
697
+ };
698
+ };
699
+ MuiIconButton: {
700
+ root: {
701
+ color: any;
702
+ '&.small': {
703
+ padding: number;
704
+ };
705
+ '&.medium': {
706
+ padding: number;
707
+ };
708
+ '&.large': {
709
+ padding: number;
710
+ };
711
+ '&.dialogIconButton': {
712
+ backgroundColor: any;
713
+ '&:hover': {
714
+ backgroundColor: any;
715
+ };
716
+ };
717
+ '&.cozyStyles': {
718
+ '&-error': {
719
+ color: any;
720
+ '&:hover': {
721
+ backgroundColor: string;
722
+ '@media (hover: none)': {
723
+ backgroundColor: string;
724
+ };
725
+ };
726
+ };
727
+ };
728
+ };
729
+ };
730
+ MuiBadge: {
731
+ badge: {
732
+ boxSizing: string;
733
+ padding: number;
734
+ '&.badgeBorder': {
735
+ border: string;
736
+ };
737
+ '&.badgeSizeLarge': {
738
+ fontSize: string;
739
+ height: string;
740
+ minWidth: string;
741
+ };
742
+ '&.badgeSizeMedium': {
743
+ height: string;
744
+ minWidth: string;
745
+ fontSize: string;
746
+ };
747
+ '&.badgeSizeSmall': {
748
+ height: string;
749
+ minWidth: string;
750
+ fontSize: string;
751
+ };
752
+ };
753
+ anchorOriginTopRightRectangular: {
754
+ transform: string;
755
+ };
756
+ anchorOriginBottomRightRectangular: {
757
+ transform: string;
758
+ };
759
+ anchorOriginBottomLeftRectangular: {
760
+ transform: string;
761
+ };
762
+ anchorOriginTopLeftRectangular: {
763
+ transform: string;
764
+ };
765
+ dot: {
766
+ borderRadius: string;
767
+ padding: number;
768
+ '&.badgeSizeLarge': {
769
+ height: string;
770
+ minWidth: string;
771
+ };
772
+ '&.badgeSizeMedium': {
773
+ height: string;
774
+ minWidth: string;
775
+ };
776
+ '&.badgeSizeSmall': {
777
+ height: string;
778
+ minWidth: string;
779
+ };
780
+ };
781
+ };
782
+ MuiRadio: {
783
+ root: {
784
+ padding: string;
785
+ '&$disabled svg': {
786
+ borderRadius: string;
787
+ backgroundColor: any;
788
+ fill: any;
789
+ };
790
+ '&:not($checked) svg': {
791
+ fill: any;
792
+ };
793
+ };
794
+ colorPrimary: {
795
+ '&$checked svg': {
796
+ fill: any;
797
+ };
798
+ '&$disabled&$checked svg': {
799
+ fill: any;
800
+ };
801
+ };
802
+ colorSecondary: {
803
+ '&$checked svg': {
804
+ fill: any;
805
+ };
806
+ '&$disabled&$checked svg': {
807
+ fill: any;
808
+ };
809
+ };
810
+ };
811
+ MuiChip: {
812
+ root: {
813
+ '&.noLabel': {
814
+ width: string;
815
+ '& $label': {
816
+ display: string;
817
+ };
818
+ '& $icon': {
819
+ margin: number;
820
+ };
821
+ };
822
+ '&.customColor': {
823
+ '&-primary': {
824
+ color: any;
825
+ borderColor: any;
826
+ '&$clickable, &$deletable': {
827
+ '&:hover, &:focus': {
828
+ borderColor: any;
829
+ backgroundColor: any;
830
+ };
831
+ };
832
+ '& $icon': {
833
+ color: any;
834
+ fill: any;
835
+ };
836
+ '& $deleteIcon': {
837
+ color: any;
838
+ fill: any;
839
+ };
840
+ '&$colorPrimary': {
841
+ padding: string;
842
+ color: any;
843
+ backgroundColor: any;
844
+ '& $icon, & $deleteIcon': {
845
+ color: any;
846
+ fill: any;
847
+ };
848
+ '&$disabled': {
849
+ opacity: number;
850
+ color: any;
851
+ backgroundColor: any;
852
+ '& $icon, & $deleteIcon': {
853
+ color: any;
854
+ fill: any;
855
+ };
856
+ };
857
+ '&$clickable, &$deletable': {
858
+ '&:hover, &:focus': {
859
+ backgroundColor: any;
860
+ };
861
+ };
862
+ };
863
+ '&.ghost': {
864
+ borderWidth: string;
865
+ borderStyle: string;
866
+ '&:not($disabled)': {
867
+ color: any;
868
+ borderColor: string;
869
+ backgroundColor: string;
870
+ '& $icon, & $deleteIcon': {
871
+ color: any;
872
+ fill: any;
873
+ };
874
+ };
875
+ '&$clickable, &$deletable': {
876
+ '&:hover, &:focus': {
877
+ borderColor: string;
878
+ backgroundColor: string;
879
+ };
880
+ };
881
+ };
882
+ };
883
+ '&-success': {
884
+ color: any;
885
+ borderColor: any;
886
+ '&$clickable, &$deletable': {
887
+ '&:hover, &:focus': {
888
+ borderColor: any;
889
+ backgroundColor: any;
890
+ };
891
+ };
892
+ '& $icon': {
893
+ color: any;
894
+ fill: any;
895
+ };
896
+ '& $deleteIcon': {
897
+ color: any;
898
+ fill: any;
899
+ };
900
+ '&$colorPrimary': {
901
+ padding: string;
902
+ color: any;
903
+ backgroundColor: any;
904
+ '& $icon, & $deleteIcon': {
905
+ color: any;
906
+ fill: any;
907
+ };
908
+ '&$disabled': {
909
+ opacity: number;
910
+ color: any;
911
+ backgroundColor: any;
912
+ '& $icon, & $deleteIcon': {
913
+ color: any;
914
+ fill: any;
915
+ };
916
+ };
917
+ '&$clickable, &$deletable': {
918
+ '&:hover, &:focus': {
919
+ backgroundColor: any;
920
+ };
921
+ };
922
+ };
923
+ '&.ghost': {
924
+ borderWidth: string;
925
+ borderStyle: string;
926
+ '&:not($disabled)': {
927
+ color: any;
928
+ borderColor: string;
929
+ backgroundColor: string;
930
+ '& $icon, & $deleteIcon': {
931
+ color: any;
932
+ fill: any;
933
+ };
934
+ };
935
+ '&$clickable, &$deletable': {
936
+ '&:hover, &:focus': {
937
+ borderColor: string;
938
+ backgroundColor: string;
939
+ };
940
+ };
941
+ };
942
+ };
943
+ '&-error': {
944
+ color: any;
945
+ borderColor: any;
946
+ '&$clickable, &$deletable': {
947
+ '&:hover, &:focus': {
948
+ borderColor: any;
949
+ backgroundColor: any;
950
+ };
951
+ };
952
+ '& $icon': {
953
+ color: any;
954
+ fill: any;
955
+ };
956
+ '& $deleteIcon': {
957
+ color: any;
958
+ fill: any;
959
+ };
960
+ '&$colorPrimary': {
961
+ padding: string;
962
+ color: any;
963
+ backgroundColor: any;
964
+ '& $icon, & $deleteIcon': {
965
+ color: any;
966
+ fill: any;
967
+ };
968
+ '&$disabled': {
969
+ opacity: number;
970
+ color: any;
971
+ backgroundColor: any;
972
+ '& $icon, & $deleteIcon': {
973
+ color: any;
974
+ fill: any;
975
+ };
976
+ };
977
+ '&$clickable, &$deletable': {
978
+ '&:hover, &:focus': {
979
+ backgroundColor: any;
980
+ };
981
+ };
982
+ };
983
+ '&.ghost': {
984
+ borderWidth: string;
985
+ borderStyle: string;
986
+ '&:not($disabled)': {
987
+ color: any;
988
+ borderColor: string;
989
+ backgroundColor: string;
990
+ '& $icon, & $deleteIcon': {
991
+ color: any;
992
+ fill: any;
993
+ };
994
+ };
995
+ '&$clickable, &$deletable': {
996
+ '&:hover, &:focus': {
997
+ borderColor: string;
998
+ backgroundColor: string;
999
+ };
1000
+ };
1001
+ };
1002
+ };
1003
+ '&-warning': {
1004
+ color: any;
1005
+ borderColor: any;
1006
+ '&$clickable, &$deletable': {
1007
+ '&:hover, &:focus': {
1008
+ borderColor: any;
1009
+ backgroundColor: any;
1010
+ };
1011
+ };
1012
+ '& $icon': {
1013
+ color: any;
1014
+ fill: any;
1015
+ };
1016
+ '& $deleteIcon': {
1017
+ color: any;
1018
+ fill: any;
1019
+ };
1020
+ '&$colorPrimary': {
1021
+ padding: string;
1022
+ color: any;
1023
+ backgroundColor: any;
1024
+ '& $icon, & $deleteIcon': {
1025
+ color: any;
1026
+ fill: any;
1027
+ };
1028
+ '&$disabled': {
1029
+ opacity: number;
1030
+ color: any;
1031
+ backgroundColor: any;
1032
+ '& $icon, & $deleteIcon': {
1033
+ color: any;
1034
+ fill: any;
1035
+ };
1036
+ };
1037
+ '&$clickable, &$deletable': {
1038
+ '&:hover, &:focus': {
1039
+ backgroundColor: any;
1040
+ };
1041
+ };
1042
+ };
1043
+ '&.ghost': {
1044
+ borderWidth: string;
1045
+ borderStyle: string;
1046
+ '&:not($disabled)': {
1047
+ color: any;
1048
+ borderColor: string;
1049
+ backgroundColor: string;
1050
+ '& $icon, & $deleteIcon': {
1051
+ color: any;
1052
+ fill: any;
1053
+ };
1054
+ };
1055
+ '&$clickable, &$deletable': {
1056
+ '&:hover, &:focus': {
1057
+ borderColor: string;
1058
+ backgroundColor: string;
1059
+ };
1060
+ };
1061
+ };
1062
+ };
1063
+ '&-info': {
1064
+ color: any;
1065
+ borderColor: any;
1066
+ '&$clickable, &$deletable': {
1067
+ '&:hover, &:focus': {
1068
+ borderColor: any;
1069
+ backgroundColor: any;
1070
+ };
1071
+ };
1072
+ '& $icon': {
1073
+ color: any;
1074
+ fill: any;
1075
+ };
1076
+ '& $deleteIcon': {
1077
+ color: any;
1078
+ fill: any;
1079
+ };
1080
+ '&$colorPrimary': {
1081
+ padding: string;
1082
+ color: any;
1083
+ backgroundColor: any;
1084
+ '& $icon, & $deleteIcon': {
1085
+ color: any;
1086
+ fill: any;
1087
+ };
1088
+ '&$disabled': {
1089
+ opacity: number;
1090
+ color: any;
1091
+ backgroundColor: any;
1092
+ '& $icon, & $deleteIcon': {
1093
+ color: any;
1094
+ fill: any;
1095
+ };
1096
+ };
1097
+ '&$clickable, &$deletable': {
1098
+ '&:hover, &:focus': {
1099
+ backgroundColor: any;
1100
+ };
1101
+ };
1102
+ };
1103
+ '&.ghost': {
1104
+ borderWidth: string;
1105
+ borderStyle: string;
1106
+ '&:not($disabled)': {
1107
+ color: any;
1108
+ borderColor: string;
1109
+ backgroundColor: string;
1110
+ '& $icon, & $deleteIcon': {
1111
+ color: any;
1112
+ fill: any;
1113
+ };
1114
+ };
1115
+ '&$clickable, &$deletable': {
1116
+ '&:hover, &:focus': {
1117
+ borderColor: string;
1118
+ backgroundColor: string;
1119
+ };
1120
+ };
1121
+ };
1122
+ };
1123
+ };
1124
+ };
1125
+ };
1126
+ MuiAlert: {
1127
+ root: {
1128
+ padding: string;
1129
+ '&.cozyStyles': {
1130
+ '&-primary': {
1131
+ '&-standard': {
1132
+ color: any;
1133
+ backgroundColor: string;
1134
+ '& $icon': {
1135
+ color: any;
1136
+ };
1137
+ '& $action': {
1138
+ '& button[title="Close"]': {
1139
+ color: any;
1140
+ };
1141
+ };
1142
+ };
1143
+ '&-outlined': {
1144
+ color: any;
1145
+ border: string;
1146
+ '& $icon': {
1147
+ color: any;
1148
+ };
1149
+ };
1150
+ '&-filled': {
1151
+ color: any;
1152
+ backgroundColor: any;
1153
+ '& $action': {
1154
+ '& button[title="Close"]': {
1155
+ color: any;
1156
+ };
1157
+ };
1158
+ };
1159
+ };
1160
+ '&-secondary': {
1161
+ '&-standard': {
1162
+ color: any;
1163
+ backgroundColor: string;
1164
+ '& $icon': {
1165
+ color: any;
1166
+ };
1167
+ '& $action': {
1168
+ '& button[title="Close"]': {
1169
+ color: any;
1170
+ };
1171
+ };
1172
+ };
1173
+ '&-outlined': {
1174
+ color: any;
1175
+ border: string;
1176
+ '& $icon': {
1177
+ color: any;
1178
+ };
1179
+ };
1180
+ '&-filled': {
1181
+ color: any;
1182
+ backgroundColor: any;
1183
+ '& $action': {
1184
+ '& button[title="Close"]': {
1185
+ color: any;
1186
+ };
1187
+ };
1188
+ };
1189
+ };
1190
+ '&-success': {
1191
+ '&-standard': {
1192
+ color: any;
1193
+ backgroundColor: string;
1194
+ '& $icon': {
1195
+ color: any;
1196
+ };
1197
+ '& $action': {
1198
+ '& button[title="Close"]': {
1199
+ color: any;
1200
+ };
1201
+ };
1202
+ };
1203
+ '&-outlined': {
1204
+ color: any;
1205
+ border: string;
1206
+ '& $icon': {
1207
+ color: any;
1208
+ };
1209
+ };
1210
+ '&-filled': {
1211
+ color: any;
1212
+ backgroundColor: any;
1213
+ '& $action': {
1214
+ '& button[title="Close"]': {
1215
+ color: any;
1216
+ };
1217
+ };
1218
+ };
1219
+ };
1220
+ '&-error': {
1221
+ '&-standard': {
1222
+ color: any;
1223
+ backgroundColor: string;
1224
+ '& $icon': {
1225
+ color: any;
1226
+ };
1227
+ '& $action': {
1228
+ '& button[title="Close"]': {
1229
+ color: any;
1230
+ };
1231
+ };
1232
+ };
1233
+ '&-outlined': {
1234
+ color: any;
1235
+ border: string;
1236
+ '& $icon': {
1237
+ color: any;
1238
+ };
1239
+ };
1240
+ '&-filled': {
1241
+ color: any;
1242
+ backgroundColor: any;
1243
+ '& $action': {
1244
+ '& button[title="Close"]': {
1245
+ color: any;
1246
+ };
1247
+ };
1248
+ };
1249
+ };
1250
+ '&-warning': {
1251
+ '&-standard': {
1252
+ color: any;
1253
+ backgroundColor: string;
1254
+ '& $icon': {
1255
+ color: any;
1256
+ };
1257
+ '& $action': {
1258
+ '& button[title="Close"]': {
1259
+ color: any;
1260
+ };
1261
+ };
1262
+ };
1263
+ '&-outlined': {
1264
+ color: any;
1265
+ border: string;
1266
+ '& $icon': {
1267
+ color: any;
1268
+ };
1269
+ };
1270
+ '&-filled': {
1271
+ color: any;
1272
+ backgroundColor: any;
1273
+ '& $action': {
1274
+ '& button[title="Close"]': {
1275
+ color: any;
1276
+ };
1277
+ };
1278
+ };
1279
+ };
1280
+ '&-info': {
1281
+ '&-standard': {
1282
+ color: any;
1283
+ backgroundColor: string;
1284
+ '& $icon': {
1285
+ color: any;
1286
+ };
1287
+ '& $action': {
1288
+ '& button[title="Close"]': {
1289
+ color: any;
1290
+ };
1291
+ };
1292
+ };
1293
+ '&-outlined': {
1294
+ color: any;
1295
+ border: string;
1296
+ '& $icon': {
1297
+ color: any;
1298
+ };
1299
+ };
1300
+ '&-filled': {
1301
+ color: any;
1302
+ backgroundColor: any;
1303
+ '& $action': {
1304
+ '& button[title="Close"]': {
1305
+ color: any;
1306
+ };
1307
+ };
1308
+ };
1309
+ };
1310
+ };
1311
+ '& $icon': {
1312
+ paddingTop: string;
1313
+ };
1314
+ '&.block': {
1315
+ flexWrap: string;
1316
+ '& $action': {
1317
+ display: string;
1318
+ width: string;
1319
+ paddingLeft: number;
1320
+ textAlign: string;
1321
+ };
1322
+ };
1323
+ };
1324
+ message: {
1325
+ flex: string;
1326
+ display: string;
1327
+ alignItems: string;
1328
+ flexWrap: string;
1329
+ };
1330
+ action: {
1331
+ marginRight: string;
1332
+ };
1333
+ };
1334
+ MuiAlertTitle: {
1335
+ root: {
1336
+ width: string;
1337
+ fontWeight: string;
1338
+ };
1339
+ };
1340
+ MuiSnackbarContent: {
1341
+ root: {
1342
+ padding: string;
1343
+ backgroundColor: any;
1344
+ };
1345
+ };
1346
+ MuiFab: {
1347
+ root: {
1348
+ color: any;
1349
+ backgroundColor: any;
1350
+ '&:hover': {
1351
+ backgroundColor: string;
1352
+ };
1353
+ '@media (hover: none)': {
1354
+ backgroundColor: any;
1355
+ };
1356
+ };
1357
+ extended: {
1358
+ borderRadius: number;
1359
+ height: number;
1360
+ minWidth: number;
1361
+ padding: string;
1362
+ '&$sizeSmall': {
1363
+ borderRadius: number;
1364
+ height: number;
1365
+ minWidth: number;
1366
+ padding: string;
1367
+ };
1368
+ '&$sizeMedium': {
1369
+ borderRadius: number;
1370
+ height: number;
1371
+ minWidth: number;
1372
+ padding: string;
1373
+ };
1374
+ };
1375
+ };
1376
+ };