cozy-ui 135.2.0 → 135.3.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.
@@ -6,8 +6,7 @@ function SvgCrossCircle(props) {
6
6
  return /*#__PURE__*/React.createElement("svg", _extends({
7
7
  viewBox: "0 0 16 16"
8
8
  }, props), /*#__PURE__*/React.createElement("path", {
9
- d: "M5.12 12L8 9.12 10.88 12 12 10.88 9.12 8 12 5.12 10.88 4 8 6.88 5.12 4 4 5.12 6.88 8 4 10.88 5.12 12zM8 16a7.79 7.79 0 01-3.12-.63 8.079 8.079 0 01-2.54-1.71 8.08 8.08 0 01-1.71-2.54A7.79 7.79 0 010 8c0-1.107.21-2.147.63-3.12.42-.973.99-1.82 1.71-2.54A8.079 8.079 0 014.88.63 7.79 7.79 0 018 0a7.79 7.79 0 013.12.63c.973.42 1.82.99 2.54 1.71s1.29 1.567 1.71 2.54c.42.973.63 2.013.63 3.12a7.79 7.79 0 01-.63 3.12 8.08 8.08 0 01-1.71 2.54 8.08 8.08 0 01-2.54 1.71A7.79 7.79 0 018 16z",
10
- fill: "#5F6368"
9
+ d: "M5.12 12L8 9.12 10.88 12 12 10.88 9.12 8 12 5.12 10.88 4 8 6.88 5.12 4 4 5.12 6.88 8 4 10.88 5.12 12zM8 16a7.79 7.79 0 01-3.12-.63 8.079 8.079 0 01-2.54-1.71 8.08 8.08 0 01-1.71-2.54A7.79 7.79 0 010 8c0-1.107.21-2.147.63-3.12.42-.973.99-1.82 1.71-2.54A8.079 8.079 0 014.88.63 7.79 7.79 0 018 0a7.79 7.79 0 013.12.63c.973.42 1.82.99 2.54 1.71s1.29 1.567 1.71 2.54c.42.973.63 2.013.63 3.12a7.79 7.79 0 01-.63 3.12 8.08 8.08 0 01-1.71 2.54 8.08 8.08 0 01-2.54 1.71A7.79 7.79 0 018 16z"
11
10
  }));
12
11
  }
13
12
 
@@ -1,4 +1,10 @@
1
1
  export function makeDarkInvertedOverrides(theme: any): {
2
+ MuiAppBar: {
3
+ colorDefault: {
4
+ backgroundColor: any;
5
+ color: any;
6
+ };
7
+ };
2
8
  MuiSelect: {
3
9
  iconOutlined: {
4
10
  top: string;
@@ -1,4 +1,10 @@
1
1
  export function makeDarkNormalOverrides(theme: any): {
2
+ MuiAppBar: {
3
+ colorDefault: {
4
+ backgroundColor: any;
5
+ color: any;
6
+ };
7
+ };
2
8
  MuiSelect: {
3
9
  iconOutlined: {
4
10
  top: string;
@@ -1740,4 +1746,10 @@ export function makeDarkNormalOverrides(theme: any): {
1740
1746
  border: string;
1741
1747
  };
1742
1748
  };
1749
+ } & {
1750
+ MuiAppBar: {
1751
+ colorDefault: {
1752
+ backgroundColor: any;
1753
+ };
1754
+ };
1743
1755
  };
@@ -1,4 +1,16 @@
1
+ import merge from 'lodash/merge';
1
2
  import { makeLightNormalOverrides } from "cozy-ui/transpiled/react/MuiCozyTheme/overrides/makeLightNormalOverrides";
2
3
  export var makeDarkNormalOverrides = function makeDarkNormalOverrides(theme) {
3
- return makeLightNormalOverrides(theme);
4
+ var makeOverridesForDarkTheme = function makeOverridesForDarkTheme(theme) {
5
+ return {
6
+ MuiAppBar: {
7
+ colorDefault: {
8
+ backgroundColor: theme.palette.primary.main
9
+ }
10
+ }
11
+ };
12
+ };
13
+
14
+ var DarkNormalOverrides = merge(makeLightNormalOverrides(theme), makeOverridesForDarkTheme(theme));
15
+ return DarkNormalOverrides;
4
16
  };
@@ -1,4 +1,10 @@
1
1
  export function makeLightInvertedOverrides(theme: any): {
2
+ MuiAppBar: {
3
+ colorDefault: {
4
+ backgroundColor: any;
5
+ color: any;
6
+ };
7
+ };
2
8
  MuiSelect: {
3
9
  iconOutlined: {
4
10
  top: string;
@@ -1,4 +1,10 @@
1
1
  export function makeLightNormalOverrides(theme: any): {
2
+ MuiAppBar: {
3
+ colorDefault: {
4
+ backgroundColor: any;
5
+ color: any;
6
+ };
7
+ };
2
8
  MuiSelect: {
3
9
  iconOutlined: {
4
10
  top: string;
@@ -10,6 +10,12 @@ export var makeLightNormalOverrides = function makeLightNormalOverrides(theme) {
10
10
  var _root, _objectSpread2, _root2, _root3;
11
11
 
12
12
  return {
13
+ MuiAppBar: {
14
+ colorDefault: {
15
+ backgroundColor: theme.palette.grey.A400,
16
+ color: theme.palette.primary.contrastText
17
+ }
18
+ },
13
19
  MuiSelect: {
14
20
  iconOutlined: {
15
21
  top: 'auto',