tamagui 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.
@@ -8293,8 +8293,7 @@ var require_createComponent_native = __commonJS({
8293
8293
  }
8294
8294
  var allGroupContexts = (0, import_react3.useMemo)(function() {
8295
8295
  var _stateRef_current_group;
8296
- if (!groupName || props.passThrough || // avoids onLayout
8297
- props.containerType === "normal") return groupContextParent;
8296
+ if (!groupName || props.passThrough) return groupContextParent;
8298
8297
  (_stateRef_current_group = stateRef.current.group) === null || _stateRef_current_group === void 0 || _stateRef_current_group.listeners.clear();
8299
8298
  var listeners = /* @__PURE__ */ new Set();
8300
8299
  return stateRef.current.group = {
@@ -8367,7 +8366,8 @@ var require_createComponent_native = __commonJS({
8367
8366
  willBeAnimated,
8368
8367
  styledContextProps
8369
8368
  }, 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;
8370
- if (splitStyles && groupContext) {
8369
+ if (splitStyles && groupContext && // avoids onLayout if we don't need it
8370
+ props.containerType !== "normal") {
8371
8371
  var groupState = groupContext == null ? void 0 : groupContext.state;
8372
8372
  if (groupState && groupState.layout === void 0) {
8373
8373
  var _splitStyles_style, _splitStyles_style1;
@@ -8469,7 +8469,8 @@ var require_createComponent_native = __commonJS({
8469
8469
  });
8470
8470
  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}`)));
8471
8471
  }
8472
- splitStyles && groupContext && (nonTamaguiProps.onLayout = (0, import_helpers.composeEventHandlers)(nonTamaguiProps.onLayout, function(e) {
8472
+ splitStyles && groupContext && // avoids onLayout if we don't need it
8473
+ props.containerType !== "normal" && (nonTamaguiProps.onLayout = (0, import_helpers.composeEventHandlers)(nonTamaguiProps.onLayout, function(e) {
8473
8474
  var _stateRef_current_group, layout = e.nativeEvent.layout;
8474
8475
  groupContext.state.layout = layout, (_stateRef_current_group = stateRef.current.group) === null || _stateRef_current_group === void 0 || _stateRef_current_group.emit({
8475
8476
  layout
@@ -16582,7 +16583,7 @@ var require_Adapt_native = __commonJS({
16582
16583
  portalName
16583
16584
  ]);
16584
16585
  var [when, setWhen] = import_react3.default.useState(null), [platform2, setPlatform] = import_react3.default.useState(null), [children2, setChildren] = import_react3.default.useState(null);
16585
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(LastAdaptContextScope, {
16586
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(LastAdaptContextScope.Provider, {
16586
16587
  value: scope,
16587
16588
  children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ProvideAdaptContext, {
16588
16589
  Contents: FinalContents,