@tamagui/core 1.132.4 → 1.132.5-1752435204050
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/native.js +5 -4
- package/dist/native.js.map +1 -1
- package/dist/test.native.js +5 -4
- package/dist/test.native.js.map +1 -1
- package/package.json +10 -10
package/dist/test.native.js
CHANGED
|
@@ -7190,8 +7190,7 @@ var require_createComponent_native = __commonJS({
|
|
|
7190
7190
|
}
|
|
7191
7191
|
var allGroupContexts = (0, import_react3.useMemo)(function() {
|
|
7192
7192
|
var _stateRef_current_group;
|
|
7193
|
-
if (!groupName || props.passThrough
|
|
7194
|
-
props.containerType === "normal") return groupContextParent;
|
|
7193
|
+
if (!groupName || props.passThrough) return groupContextParent;
|
|
7195
7194
|
(_stateRef_current_group = stateRef.current.group) === null || _stateRef_current_group === void 0 || _stateRef_current_group.listeners.clear();
|
|
7196
7195
|
var listeners = /* @__PURE__ */ new Set();
|
|
7197
7196
|
return stateRef.current.group = {
|
|
@@ -7264,7 +7263,8 @@ var require_createComponent_native = __commonJS({
|
|
|
7264
7263
|
willBeAnimated,
|
|
7265
7264
|
styledContextProps
|
|
7266
7265
|
}, themeName = (themeState == null ? void 0 : themeState.name) || "", splitStyles = (0, import_getSplitStyles.useSplitStyles)(props, staticConfig, theme, themeName, state, styleProps, null, componentContext, allGroupContexts, elementType, startedUnhydrated, debugProp), groupContext = groupName && (allGroupContexts == null ? void 0 : allGroupContexts[groupName]) || null;
|
|
7267
|
-
if (splitStyles && groupContext
|
|
7266
|
+
if (splitStyles && groupContext && // avoids onLayout if we don't need it
|
|
7267
|
+
props.containerType !== "normal") {
|
|
7268
7268
|
var groupState = groupContext == null ? void 0 : groupContext.state;
|
|
7269
7269
|
if (groupState && groupState.layout === void 0) {
|
|
7270
7270
|
var _splitStyles_style, _splitStyles_style1;
|
|
@@ -7366,7 +7366,8 @@ var require_createComponent_native = __commonJS({
|
|
|
7366
7366
|
});
|
|
7367
7367
|
animations && (animations.ref && (animatedRef = animations.ref), isHydrated && animations && (animationStyles = animations.style, viewProps.style = animationStyles, animations.className && (viewProps.className = `${state.unmounted === "should-enter" ? "t_unmounted " : ""}${viewProps.className || ""} ${animations.className}`)));
|
|
7368
7368
|
}
|
|
7369
|
-
splitStyles && groupContext &&
|
|
7369
|
+
splitStyles && groupContext && // avoids onLayout if we don't need it
|
|
7370
|
+
props.containerType !== "normal" && (nonTamaguiProps.onLayout = (0, import_helpers2.composeEventHandlers)(nonTamaguiProps.onLayout, function(e) {
|
|
7370
7371
|
var _stateRef_current_group, layout = e.nativeEvent.layout;
|
|
7371
7372
|
groupContext.state.layout = layout, (_stateRef_current_group = stateRef.current.group) === null || _stateRef_current_group === void 0 || _stateRef_current_group.emit({
|
|
7372
7373
|
layout
|