@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 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.inactiveOnDefaultGlobalSurface,
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.inactiveOnDefaultGlobalSurface,
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hero-design/rn",
3
- "version": "8.139.2",
3
+ "version": "8.139.3",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -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.inactiveOnDefaultGlobalSurface,
8
+ 'disabled-checked': theme.colors.pressedSurface,
9
9
  'disabled-unchecked': theme.colors.inactiveOnDefaultGlobalSurface,
10
10
  },
11
11
  thumb: theme.colors.white,