@hipay/hipay-material-ui 3.13.5 → 3.14.0
Sign up to get free protection for your applications and to get access to all the features.
- package/HiBreadcrumb/HiStepConnector.js +1 -1
- package/HiChip/HiChip.js +3 -3
- package/HiChip/HiChipSwitch.js +3 -3
- package/HiPin/HiPin.js +1 -1
- package/HiSelect/HiSelectInput.js +1 -1
- package/HiSwitch/HiSwitch.js +5 -5
- package/HiSwitch/HiSwitchState.js +3 -3
- package/es/HiBreadcrumb/HiStepConnector.js +1 -1
- package/es/HiChip/HiChip.js +3 -3
- package/es/HiChip/HiChipSwitch.js +3 -3
- package/es/HiPin/HiPin.js +1 -1
- package/es/HiSelect/HiSelectInput.js +1 -1
- package/es/HiSwitch/HiSwitch.js +5 -5
- package/es/HiSwitch/HiSwitchState.js +3 -3
- package/package.json +2 -2
package/HiChip/HiChip.js
CHANGED
@@ -33,7 +33,7 @@ var useStyles = (0, _makeStyles.default)(function (theme) {
|
|
33
33
|
width: 'fit-content',
|
34
34
|
height: 24,
|
35
35
|
borderRadius: 12,
|
36
|
-
backgroundColor:
|
36
|
+
backgroundColor: '#e0e0e0',
|
37
37
|
color: theme.palette.neutral.dark,
|
38
38
|
padding: 8,
|
39
39
|
alignItems: 'center',
|
@@ -94,7 +94,7 @@ var useStyles = (0, _makeStyles.default)(function (theme) {
|
|
94
94
|
navigate: {
|
95
95
|
// Remove grey highlight
|
96
96
|
WebkitTapHighlightColor: 'transparent',
|
97
|
-
backgroundColor:
|
97
|
+
backgroundColor: '#e0e0e0',
|
98
98
|
color: theme.palette.neutral.normal,
|
99
99
|
marginRight: 2,
|
100
100
|
marginLeft: 2,
|
@@ -102,7 +102,7 @@ var useStyles = (0, _makeStyles.default)(function (theme) {
|
|
102
102
|
cursor: 'pointer',
|
103
103
|
'&:hover, &:focus': {
|
104
104
|
backgroundColor: theme.palette.primary.main,
|
105
|
-
color:
|
105
|
+
color: '#e0e0e0'
|
106
106
|
},
|
107
107
|
position: 'relative'
|
108
108
|
},
|
package/HiChip/HiChipSwitch.js
CHANGED
@@ -57,7 +57,7 @@ var styles = function styles(theme) {
|
|
57
57
|
// Remove grey highlight
|
58
58
|
WebkitTapHighlightColor: 'transparent',
|
59
59
|
'&:hover, &:focus': {
|
60
|
-
backgroundColor: (0, _styles.emphasize)(
|
60
|
+
backgroundColor: (0, _styles.emphasize)('#e0e0e0', 0.08)
|
61
61
|
}
|
62
62
|
}),
|
63
63
|
active: {
|
@@ -68,7 +68,7 @@ var styles = function styles(theme) {
|
|
68
68
|
}
|
69
69
|
},
|
70
70
|
inactive: {
|
71
|
-
backgroundColor:
|
71
|
+
backgroundColor: '#e0e0e0',
|
72
72
|
color: theme.palette.neutral.dark
|
73
73
|
},
|
74
74
|
icon: {
|
@@ -112,7 +112,7 @@ var styles = function styles(theme) {
|
|
112
112
|
WebkitTapHighlightColor: 'transparent',
|
113
113
|
cursor: 'pointer',
|
114
114
|
'&:hover, &:focus': {
|
115
|
-
backgroundColor:
|
115
|
+
backgroundColor: '#e0e0e0'
|
116
116
|
}
|
117
117
|
}
|
118
118
|
};
|
package/HiPin/HiPin.js
CHANGED
@@ -30,7 +30,7 @@ var useStyles = (0, _makeStyles.default)(function (theme) {
|
|
30
30
|
fontWeight: theme.typography.fontWeightMedium,
|
31
31
|
fontFamily: theme.typography.fontFamily,
|
32
32
|
color: theme.palette.text.primary,
|
33
|
-
backgroundColor:
|
33
|
+
backgroundColor: '#e0e0e0'
|
34
34
|
},
|
35
35
|
clickable: {
|
36
36
|
cursor: 'pointer'
|
package/HiSwitch/HiSwitch.js
CHANGED
@@ -62,16 +62,16 @@ var styles = function styles(theme) {
|
|
62
62
|
padding: 2
|
63
63
|
},
|
64
64
|
iconDisabled: {
|
65
|
-
backgroundColor: theme.palette.mode === 'light' ?
|
66
|
-
color: theme.palette.mode === 'light' ?
|
65
|
+
backgroundColor: theme.palette.mode === 'light' ? '#bdbdbd' : '#424242',
|
66
|
+
color: theme.palette.mode === 'light' ? '#fafafa' : '#bdbdbd',
|
67
67
|
'&:not($iconChecked)': {
|
68
|
-
color: theme.palette.mode === 'light' ?
|
68
|
+
color: theme.palette.mode === 'light' ? '#bdbdbd' : '#424242'
|
69
69
|
}
|
70
70
|
},
|
71
71
|
// For SwitchBase
|
72
72
|
switchBaseRoot: {
|
73
73
|
zIndex: 1,
|
74
|
-
color: theme.palette.mode === 'light' ?
|
74
|
+
color: theme.palette.mode === 'light' ? '#fafafa' : '#bdbdbd',
|
75
75
|
transition: theme.transitions.create('transform', {
|
76
76
|
duration: theme.transitions.duration.shortest
|
77
77
|
}),
|
@@ -79,7 +79,7 @@ var styles = function styles(theme) {
|
|
79
79
|
width: 40
|
80
80
|
},
|
81
81
|
disabled: {
|
82
|
-
color: theme.palette.mode === 'light' ?
|
82
|
+
color: theme.palette.mode === 'light' ? '#bdbdbd' : '#424242',
|
83
83
|
'& + $bar': {
|
84
84
|
backgroundColor: theme.palette.mode === 'light' ? '#000' : '#fff',
|
85
85
|
opacity: theme.palette.mode === 'light' ? 0.12 : 0.1
|
@@ -31,7 +31,7 @@ var styles = function styles(theme) {
|
|
31
31
|
width: '100%',
|
32
32
|
maxWidth: 200,
|
33
33
|
minWidth: 120,
|
34
|
-
borderBottom: "solid 1px ".concat(theme.palette.
|
34
|
+
borderBottom: "solid 1px ".concat(theme.palette.input.bottomLine)
|
35
35
|
},
|
36
36
|
button: {
|
37
37
|
whiteSpace: 'nowrap',
|
@@ -93,8 +93,8 @@ var styles = function styles(theme) {
|
|
93
93
|
},
|
94
94
|
disabled: {
|
95
95
|
'&$checked': {
|
96
|
-
backgroundColor: theme.palette.mode === 'light' ?
|
97
|
-
color: theme.palette.mode === 'light' ?
|
96
|
+
backgroundColor: theme.palette.mode === 'light' ? '#bdbdbd' : '#424242',
|
97
|
+
color: theme.palette.mode === 'light' ? '#fafafa' : '#bdbdbd'
|
98
98
|
},
|
99
99
|
boxShadow: 'none'
|
100
100
|
}
|
package/es/HiChip/HiChip.js
CHANGED
@@ -33,7 +33,7 @@ var useStyles = (0, _makeStyles.default)(function (theme) {
|
|
33
33
|
width: 'fit-content',
|
34
34
|
height: 24,
|
35
35
|
borderRadius: 12,
|
36
|
-
backgroundColor:
|
36
|
+
backgroundColor: '#e0e0e0',
|
37
37
|
color: theme.palette.neutral.dark,
|
38
38
|
padding: 8,
|
39
39
|
alignItems: 'center',
|
@@ -94,7 +94,7 @@ var useStyles = (0, _makeStyles.default)(function (theme) {
|
|
94
94
|
navigate: {
|
95
95
|
// Remove grey highlight
|
96
96
|
WebkitTapHighlightColor: 'transparent',
|
97
|
-
backgroundColor:
|
97
|
+
backgroundColor: '#e0e0e0',
|
98
98
|
color: theme.palette.neutral.normal,
|
99
99
|
marginRight: 2,
|
100
100
|
marginLeft: 2,
|
@@ -102,7 +102,7 @@ var useStyles = (0, _makeStyles.default)(function (theme) {
|
|
102
102
|
cursor: 'pointer',
|
103
103
|
'&:hover, &:focus': {
|
104
104
|
backgroundColor: theme.palette.primary.main,
|
105
|
-
color:
|
105
|
+
color: '#e0e0e0'
|
106
106
|
},
|
107
107
|
position: 'relative'
|
108
108
|
},
|
@@ -57,7 +57,7 @@ var styles = function styles(theme) {
|
|
57
57
|
// Remove grey highlight
|
58
58
|
WebkitTapHighlightColor: 'transparent',
|
59
59
|
'&:hover, &:focus': {
|
60
|
-
backgroundColor: (0, _styles.emphasize)(
|
60
|
+
backgroundColor: (0, _styles.emphasize)('#e0e0e0', 0.08)
|
61
61
|
}
|
62
62
|
}),
|
63
63
|
active: {
|
@@ -68,7 +68,7 @@ var styles = function styles(theme) {
|
|
68
68
|
}
|
69
69
|
},
|
70
70
|
inactive: {
|
71
|
-
backgroundColor:
|
71
|
+
backgroundColor: '#e0e0e0',
|
72
72
|
color: theme.palette.neutral.dark
|
73
73
|
},
|
74
74
|
icon: {
|
@@ -112,7 +112,7 @@ var styles = function styles(theme) {
|
|
112
112
|
WebkitTapHighlightColor: 'transparent',
|
113
113
|
cursor: 'pointer',
|
114
114
|
'&:hover, &:focus': {
|
115
|
-
backgroundColor:
|
115
|
+
backgroundColor: '#e0e0e0'
|
116
116
|
}
|
117
117
|
}
|
118
118
|
};
|
package/es/HiPin/HiPin.js
CHANGED
@@ -30,7 +30,7 @@ var useStyles = (0, _makeStyles.default)(function (theme) {
|
|
30
30
|
fontWeight: theme.typography.fontWeightMedium,
|
31
31
|
fontFamily: theme.typography.fontFamily,
|
32
32
|
color: theme.palette.text.primary,
|
33
|
-
backgroundColor:
|
33
|
+
backgroundColor: '#e0e0e0'
|
34
34
|
},
|
35
35
|
clickable: {
|
36
36
|
cursor: 'pointer'
|
package/es/HiSwitch/HiSwitch.js
CHANGED
@@ -62,16 +62,16 @@ var styles = function styles(theme) {
|
|
62
62
|
padding: 2
|
63
63
|
},
|
64
64
|
iconDisabled: {
|
65
|
-
backgroundColor: theme.palette.mode === 'light' ?
|
66
|
-
color: theme.palette.mode === 'light' ?
|
65
|
+
backgroundColor: theme.palette.mode === 'light' ? '#bdbdbd' : '#424242',
|
66
|
+
color: theme.palette.mode === 'light' ? '#fafafa' : '#bdbdbd',
|
67
67
|
'&:not($iconChecked)': {
|
68
|
-
color: theme.palette.mode === 'light' ?
|
68
|
+
color: theme.palette.mode === 'light' ? '#bdbdbd' : '#424242'
|
69
69
|
}
|
70
70
|
},
|
71
71
|
// For SwitchBase
|
72
72
|
switchBaseRoot: {
|
73
73
|
zIndex: 1,
|
74
|
-
color: theme.palette.mode === 'light' ?
|
74
|
+
color: theme.palette.mode === 'light' ? '#fafafa' : '#bdbdbd',
|
75
75
|
transition: theme.transitions.create('transform', {
|
76
76
|
duration: theme.transitions.duration.shortest
|
77
77
|
}),
|
@@ -79,7 +79,7 @@ var styles = function styles(theme) {
|
|
79
79
|
width: 40
|
80
80
|
},
|
81
81
|
disabled: {
|
82
|
-
color: theme.palette.mode === 'light' ?
|
82
|
+
color: theme.palette.mode === 'light' ? '#bdbdbd' : '#424242',
|
83
83
|
'& + $bar': {
|
84
84
|
backgroundColor: theme.palette.mode === 'light' ? '#000' : '#fff',
|
85
85
|
opacity: theme.palette.mode === 'light' ? 0.12 : 0.1
|
@@ -31,7 +31,7 @@ var styles = function styles(theme) {
|
|
31
31
|
width: '100%',
|
32
32
|
maxWidth: 200,
|
33
33
|
minWidth: 120,
|
34
|
-
borderBottom: "solid 1px ".concat(theme.palette.
|
34
|
+
borderBottom: "solid 1px ".concat(theme.palette.input.bottomLine)
|
35
35
|
},
|
36
36
|
button: {
|
37
37
|
whiteSpace: 'nowrap',
|
@@ -93,8 +93,8 @@ var styles = function styles(theme) {
|
|
93
93
|
},
|
94
94
|
disabled: {
|
95
95
|
'&$checked': {
|
96
|
-
backgroundColor: theme.palette.mode === 'light' ?
|
97
|
-
color: theme.palette.mode === 'light' ?
|
96
|
+
backgroundColor: theme.palette.mode === 'light' ? '#bdbdbd' : '#424242',
|
97
|
+
color: theme.palette.mode === 'light' ? '#fafafa' : '#bdbdbd'
|
98
98
|
},
|
99
99
|
boxShadow: 'none'
|
100
100
|
}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@hipay/hipay-material-ui",
|
3
3
|
"private": false,
|
4
|
-
"version": "3.
|
4
|
+
"version": "3.14.0",
|
5
5
|
"description": "React components that implement Google's Material Design.",
|
6
6
|
"repository": {
|
7
7
|
"type": "git",
|
@@ -13,7 +13,7 @@
|
|
13
13
|
},
|
14
14
|
"homepage": "http://materialui.hipay.dev.local/",
|
15
15
|
"peerDependencies": {
|
16
|
-
"@hipay/design-system": "^1.
|
16
|
+
"@hipay/design-system": "^1.3.1",
|
17
17
|
"@mui/material": "5.8.4",
|
18
18
|
"@mui/styles": "5.8.4",
|
19
19
|
"@mui/styled-engine": "npm:@mui/styled-engine-sc@5.10.0",
|