@artsy/palette-mobile 11.0.21 → 11.0.22
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 +16 -0
- package/dist/elements/ToolTip/ToolTipFlyout.js +11 -8
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
# v11.0.22 (Wed May 03 2023)
|
|
2
|
+
|
|
3
|
+
:tada: This release contains work from a new contributor! :tada:
|
|
4
|
+
|
|
5
|
+
Thank you, Brian Beckerle ([@brainbicycle](https://github.com/brainbicycle)), for all your work!
|
|
6
|
+
|
|
7
|
+
#### 🐛 Bug Fix
|
|
8
|
+
|
|
9
|
+
- fix: crash in eigen caused by tooltip [#96](https://github.com/artsy/palette-mobile/pull/96) ([@brainbicycle](https://github.com/brainbicycle))
|
|
10
|
+
|
|
11
|
+
#### Authors: 1
|
|
12
|
+
|
|
13
|
+
- Brian Beckerle ([@brainbicycle](https://github.com/brainbicycle))
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
1
17
|
# v11.0.21 (Wed May 03 2023)
|
|
2
18
|
|
|
3
19
|
#### 🐛 Bug Fix
|
|
@@ -34,14 +34,17 @@ const Text_1 = require("../Text");
|
|
|
34
34
|
const ToolTipFlyout = ({ containerStyle, tapToDismiss, height, width, onClose, onToolTipPress, testID, text, }) => {
|
|
35
35
|
const initialBoxDimensions = { height: 0, width: 0 };
|
|
36
36
|
const boxDimensions = (0, react_native_reanimated_1.useSharedValue)(initialBoxDimensions);
|
|
37
|
-
const animationStyle = (0, react_native_reanimated_1.useAnimatedStyle)(() =>
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
37
|
+
const animationStyle = (0, react_native_reanimated_1.useAnimatedStyle)(() => {
|
|
38
|
+
"worklet";
|
|
39
|
+
return {
|
|
40
|
+
height: (0, react_native_reanimated_1.withTiming)(boxDimensions.value.height, {
|
|
41
|
+
duration: 500,
|
|
42
|
+
}),
|
|
43
|
+
width: (0, react_native_reanimated_1.withTiming)(boxDimensions.value.width, {
|
|
44
|
+
duration: 500,
|
|
45
|
+
}),
|
|
46
|
+
};
|
|
47
|
+
});
|
|
45
48
|
(0, react_1.useEffect)(() => {
|
|
46
49
|
if (text) {
|
|
47
50
|
boxDimensions.value = {
|