@tamagui/core 1.111.10 → 1.111.11
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/dist/cjs/createOptimizedView.native.js.map +1 -1
- package/dist/esm/createOptimizedView.native.js.map +1 -1
- package/dist/native.js +24 -8
- package/dist/native.js.map +1 -1
- package/dist/test.native.js +8 -3
- package/dist/test.native.js.map +1 -1
- package/package.json +8 -8
- package/src/createOptimizedView.native.tsx +1 -1
package/dist/test.native.js
CHANGED
|
@@ -7790,7 +7790,7 @@ var require_createComponent_native = __commonJS({
|
|
|
7790
7790
|
staticConfig,
|
|
7791
7791
|
stateRef
|
|
7792
7792
|
});
|
|
7793
|
-
(isAnimated || supportsCSSVars) && animations && (animationStyles = animations.style, viewProps.style = animationStyles, animations.className && (viewProps.className = `${viewProps.className || ""} ${animations.className}`));
|
|
7793
|
+
(isAnimated || supportsCSSVars) && animations && (animationStyles = animations.style, viewProps.style = animationStyles, animations.className && (viewProps.className = `${state.unmounted === "should-enter" ? "t_unmounted " : ""}${viewProps.className || ""} ${animations.className}`));
|
|
7794
7794
|
}
|
|
7795
7795
|
groupName && (nonTamaguiProps.onLayout = (0, import_helpers.composeEventHandlers)(nonTamaguiProps.onLayout, function(e) {
|
|
7796
7796
|
stateRef.current.group.emit(groupName, {
|
|
@@ -7817,8 +7817,13 @@ var require_createComponent_native = __commonJS({
|
|
|
7817
7817
|
});
|
|
7818
7818
|
return;
|
|
7819
7819
|
}
|
|
7820
|
+
var tm;
|
|
7820
7821
|
if (state.unmounted) {
|
|
7821
|
-
|
|
7822
|
+
process.env.TAMAGUI_REACT_19 && animationDriver != null && animationDriver.supportsCSSVars ? tm = setTimeout(function() {
|
|
7823
|
+
setStateShallow({
|
|
7824
|
+
unmounted: !1
|
|
7825
|
+
});
|
|
7826
|
+
}) : setStateShallow({
|
|
7822
7827
|
unmounted: !1
|
|
7823
7828
|
});
|
|
7824
7829
|
return;
|
|
@@ -7832,7 +7837,7 @@ var require_createComponent_native = __commonJS({
|
|
|
7832
7837
|
pseudoGroups
|
|
7833
7838
|
});
|
|
7834
7839
|
return function() {
|
|
7835
|
-
dispose == null || dispose(), componentSetStates.delete(setState);
|
|
7840
|
+
clearTimeout(tm), dispose == null || dispose(), componentSetStates.delete(setState);
|
|
7836
7841
|
};
|
|
7837
7842
|
}
|
|
7838
7843
|
}, [
|