@hero-design/rn 8.139.2 → 8.139.3
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 +6 -0
- package/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/src/theme/components/switch.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @hero-design/rn
|
|
2
2
|
|
|
3
|
+
## 8.139.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#5565](https://github.com/Thinkei/hero-design/pull/5565) [`3985de1`](https://github.com/Thinkei/hero-design/commit/3985de1d7c34161ef52137beda331bf2b0a0e184) Thanks [@ttkien](https://github.com/ttkien)! - [Switch] Fix disabled-checked state using the same color as disabled-unchecked
|
|
8
|
+
|
|
3
9
|
## 8.139.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/es/index.js
CHANGED
|
@@ -7121,7 +7121,7 @@ var getSwitchTheme = function getSwitchTheme(theme) {
|
|
|
7121
7121
|
backgroundColors: {
|
|
7122
7122
|
checked: theme.colors.pressedSurface,
|
|
7123
7123
|
unchecked: theme.colors.inactiveOnDefaultGlobalSurface,
|
|
7124
|
-
'disabled-checked': theme.colors.
|
|
7124
|
+
'disabled-checked': theme.colors.pressedSurface,
|
|
7125
7125
|
'disabled-unchecked': theme.colors.inactiveOnDefaultGlobalSurface
|
|
7126
7126
|
},
|
|
7127
7127
|
thumb: theme.colors.white,
|
package/lib/index.js
CHANGED
|
@@ -7150,7 +7150,7 @@ var getSwitchTheme = function getSwitchTheme(theme) {
|
|
|
7150
7150
|
backgroundColors: {
|
|
7151
7151
|
checked: theme.colors.pressedSurface,
|
|
7152
7152
|
unchecked: theme.colors.inactiveOnDefaultGlobalSurface,
|
|
7153
|
-
'disabled-checked': theme.colors.
|
|
7153
|
+
'disabled-checked': theme.colors.pressedSurface,
|
|
7154
7154
|
'disabled-unchecked': theme.colors.inactiveOnDefaultGlobalSurface
|
|
7155
7155
|
},
|
|
7156
7156
|
thumb: theme.colors.white,
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ const getSwitchTheme = (theme: GlobalTheme) => {
|
|
|
5
5
|
backgroundColors: {
|
|
6
6
|
checked: theme.colors.pressedSurface,
|
|
7
7
|
unchecked: theme.colors.inactiveOnDefaultGlobalSurface,
|
|
8
|
-
'disabled-checked': theme.colors.
|
|
8
|
+
'disabled-checked': theme.colors.pressedSurface,
|
|
9
9
|
'disabled-unchecked': theme.colors.inactiveOnDefaultGlobalSurface,
|
|
10
10
|
},
|
|
11
11
|
thumb: theme.colors.white,
|