@artsy/palette-mobile 11.0.14 → 11.0.15
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 +12 -0
- package/dist/elements/Button/Button.js +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v11.0.15 (Fri Apr 14 2023)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- fix(button): fix worklet crash error in eigen [#88](https://github.com/artsy/palette-mobile/pull/88) ([@damassi](https://github.com/damassi))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Christopher Pappas ([@damassi](https://github.com/damassi))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v11.0.14 (Fri Apr 14 2023)
|
|
2
14
|
|
|
3
15
|
#### 🐛 Bug Fix
|
|
@@ -89,6 +89,7 @@ const Button = ({ children, disabled: disabledProp, haptic, icon, iconPosition =
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
const textAnim = (0, react_native_reanimated_1.useAnimatedStyle)(() => {
|
|
92
|
+
"worklet";
|
|
92
93
|
const colors = colorsForVariantAndState[variant];
|
|
93
94
|
if (loading) {
|
|
94
95
|
return { color: "rgba(0, 0, 0, 0)" };
|
|
@@ -119,6 +120,7 @@ const useStateWithProp = (prop) => {
|
|
|
119
120
|
setState(!!prop);
|
|
120
121
|
}, [prop]);
|
|
121
122
|
const stateV = (0, react_native_reanimated_1.useDerivedValue)(() => {
|
|
123
|
+
"worklet";
|
|
122
124
|
if (!!state) {
|
|
123
125
|
return 1;
|
|
124
126
|
}
|