cozy-ui 60.10.0 → 60.10.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [60.10.1](https://github.com/cozy/cozy-ui/compare/v60.10.0...v60.10.1) (2022-02-02)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Radios and Checkbox css to use correct primary/secondary colors ([a81e5e3](https://github.com/cozy/cozy-ui/commit/a81e5e3))
7
+
1
8
  # [60.10.0](https://github.com/cozy/cozy-ui/compare/v60.9.1...v60.10.0) (2022-01-31)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-ui",
3
- "version": "60.10.0",
3
+ "version": "60.10.1",
4
4
  "description": "Cozy apps UI SDK",
5
5
  "main": "./index.js",
6
6
  "bin": {
@@ -633,28 +633,28 @@ const makeOverrides = theme => ({
633
633
  MuiRadio: {
634
634
  root: {
635
635
  padding: '12px',
636
- '&.Mui-disabled svg': {
636
+ '&$disabled svg': {
637
637
  borderRadius: '50%',
638
638
  backgroundColor: theme.palette.background.default,
639
639
  fill: theme.palette.border.disabled
640
640
  },
641
- '&:not(.Mui-checked) svg': {
641
+ '&:not($checked) svg': {
642
642
  fill: theme.palette.border.main
643
643
  }
644
644
  },
645
645
  colorPrimary: {
646
- '&.Mui-checked svg': {
646
+ '&$checked svg': {
647
647
  fill: theme.palette.primary.main
648
648
  },
649
- '&.Mui-disabled&.Mui-checked svg': {
649
+ '&$disabled&$checked svg': {
650
650
  fill: theme.palette.text.disabled
651
651
  }
652
652
  },
653
653
  colorSecondary: {
654
- '&.Mui-checked svg': {
654
+ '&$checked svg': {
655
655
  fill: theme.palette.error.main
656
656
  },
657
- '&.Mui-disabled&.Mui-checked svg': {
657
+ '&$disabled&$checked svg': {
658
658
  fill: theme.palette.text.disabled
659
659
  }
660
660
  }
@@ -710,12 +710,12 @@ const makeInvertedOverrides = invertedTheme => {
710
710
  },
711
711
  MuiCheckbox: {
712
712
  colorPrimary: {
713
- '&.Mui-checked:not(.Mui-disabled)': {
713
+ '&$checked:not($disabled)': {
714
714
  color: invertedTheme.palette.success.main
715
715
  }
716
716
  },
717
717
  colorSecondary: {
718
- '&.Mui-checked:not(.Mui-disabled)': {
718
+ '&$checked:not($disabled)': {
719
719
  color: invertedTheme.palette.error.main
720
720
  }
721
721
  }
@@ -595,28 +595,28 @@ var makeOverrides = function makeOverrides(theme) {
595
595
  MuiRadio: {
596
596
  root: {
597
597
  padding: '12px',
598
- '&.Mui-disabled svg': {
598
+ '&$disabled svg': {
599
599
  borderRadius: '50%',
600
600
  backgroundColor: theme.palette.background.default,
601
601
  fill: theme.palette.border.disabled
602
602
  },
603
- '&:not(.Mui-checked) svg': {
603
+ '&:not($checked) svg': {
604
604
  fill: theme.palette.border.main
605
605
  }
606
606
  },
607
607
  colorPrimary: {
608
- '&.Mui-checked svg': {
608
+ '&$checked svg': {
609
609
  fill: theme.palette.primary.main
610
610
  },
611
- '&.Mui-disabled&.Mui-checked svg': {
611
+ '&$disabled&$checked svg': {
612
612
  fill: theme.palette.text.disabled
613
613
  }
614
614
  },
615
615
  colorSecondary: {
616
- '&.Mui-checked svg': {
616
+ '&$checked svg': {
617
617
  fill: theme.palette.error.main
618
618
  },
619
- '&.Mui-disabled&.Mui-checked svg': {
619
+ '&$disabled&$checked svg': {
620
620
  fill: theme.palette.text.disabled
621
621
  }
622
622
  }
@@ -672,12 +672,12 @@ var makeInvertedOverrides = function makeInvertedOverrides(invertedTheme) {
672
672
  },
673
673
  MuiCheckbox: {
674
674
  colorPrimary: {
675
- '&.Mui-checked:not(.Mui-disabled)': {
675
+ '&$checked:not($disabled)': {
676
676
  color: invertedTheme.palette.success.main
677
677
  }
678
678
  },
679
679
  colorSecondary: {
680
- '&.Mui-checked:not(.Mui-disabled)': {
680
+ '&$checked:not($disabled)': {
681
681
  color: invertedTheme.palette.error.main
682
682
  }
683
683
  }