@tamagui/core 1.132.3 → 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 CHANGED
@@ -7745,7 +7745,8 @@ var require_createComponent_native = __commonJS({
7745
7745
  }, themeName = (themeState == null ? void 0 : themeState.name) || "";
7746
7746
  process.env.NODE_ENV === "development" && time2 && time2`split-styles-prepare`;
7747
7747
  var 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;
7748
- if (splitStyles && groupContext) {
7748
+ if (splitStyles && groupContext && // avoids onLayout if we don't need it
7749
+ props.containerType !== "normal") {
7749
7750
  var groupState = groupContext == null ? void 0 : groupContext.state;
7750
7751
  if (groupState && groupState.layout === void 0) {
7751
7752
  var _splitStyles_style, _splitStyles_style1;
@@ -7855,7 +7856,8 @@ var require_createComponent_native = __commonJS({
7855
7856
  }
7856
7857
  process.env.NODE_ENV === "development" && props.untilMeasured && !props.group && console.warn(`You set the untilMeasured prop without setting group. This doesn't work, be sure to set untilMeasured on the parent that sets group, not the children that use the $group- prop.
7857
7858
 
7858
- If you meant to do this, you can disable this warning - either change untilMeasured and group at the same time, or do group={conditional ? 'name' : undefined}`), process.env.NODE_ENV === "development" && time2 && time2`destructure`, splitStyles && groupContext && (nonTamaguiProps.onLayout = (0, import_helpers2.composeEventHandlers)(nonTamaguiProps.onLayout, function(e) {
7859
+ If you meant to do this, you can disable this warning - either change untilMeasured and group at the same time, or do group={conditional ? 'name' : undefined}`), process.env.NODE_ENV === "development" && time2 && time2`destructure`, splitStyles && groupContext && // avoids onLayout if we don't need it
7860
+ props.containerType !== "normal" && (nonTamaguiProps.onLayout = (0, import_helpers2.composeEventHandlers)(nonTamaguiProps.onLayout, function(e) {
7859
7861
  var _stateRef_current_group, layout = e.nativeEvent.layout;
7860
7862
  groupContext.state.layout = layout, (_stateRef_current_group = stateRef.current.group) === null || _stateRef_current_group === void 0 || _stateRef_current_group.emit({
7861
7863
  layout