@tamagui/core 1.79.8 → 1.79.10

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.
@@ -3218,7 +3218,10 @@ var require_propMapper_native = __commonJS({
3218
3218
  return;
3219
3219
  if (value === "unset") {
3220
3220
  let unsetVal = (_a = styleStateIn.conf.unset) == null ? void 0 : _a[key];
3221
- unsetVal != null && (value = unsetVal);
3221
+ if (unsetVal != null)
3222
+ value = unsetVal;
3223
+ else
3224
+ return;
3222
3225
  }
3223
3226
  let subProps = styleStateIn.styleProps.fallbackProps || subPropsIn, styleState = subProps ? new Proxy(styleStateIn, {
3224
3227
  get(_, k) {
@@ -3510,7 +3513,7 @@ var require_getSplitStyles_native = __commonJS({
3510
3513
  isHOC && (parentStaticConfig == null ? void 0 : parentStaticConfig.variants) && keyInit in parentStaticConfig.variants || (inlineProps == null ? void 0 : inlineProps.has(keyInit)), parentVariant = (_a = parentStaticConfig == null ? void 0 : parentStaticConfig.variants) == null ? void 0 : _a[keyInit], isHOCShouldPassThrough = !!(isHOC && (isShorthand || isValidStyleKeyInit || isMediaOrPseudo || parentVariant || keyInit in skipProps));
3511
3514
  if ((shouldPassProp || isHOCShouldPassThrough) && (passDownProp(viewProps, keyInit, valInit, isMediaOrPseudo), !isVariant) || !styleProps.noSkip && keyInit in skipProps)
3512
3515
  continue;
3513
- if (isText && valInit && (keyInit === "fontFamily" || keyInit === shorthands.fontFamily) && valInit in conf.fontsParsed && (styleState.fontFamily = valInit), isValidStyleKeyInit && !variants && (valInitType === "number" || valInitType === "string" && valInit[0] !== "$")) {
3516
+ if (isText && valInit && (keyInit === "fontFamily" || keyInit === shorthands.fontFamily) && valInit in conf.fontsParsed && (styleState.fontFamily = valInit), isValidStyleKeyInit && !variants && valInit !== "unset" && (valInitType === "number" || valInitType === "string" && valInit[0] !== "$")) {
3514
3517
  style[keyInit] = valInit;
3515
3518
  continue;
3516
3519
  }
@@ -4569,7 +4572,8 @@ var require_createComponent_native = __commonJS({
4569
4572
  validStyles: validStyles2 = {},
4570
4573
  variants = {}
4571
4574
  } = staticConfig, defaultComponentClassName = `is_${staticConfig.componentName}`, defaultProps = staticConfig.defaultProps, component = (0, import_react3.forwardRef)((propsIn, forwardedRef) => {
4572
- var _a2, _b, _c, _d, _e, _f, _i, _j, _k, _l, _m;
4575
+ var _a2, _b, _c, _d, _e, _f, _i, _j, _k, _l, _m, _n;
4576
+ let internalID = "";
4573
4577
  if (!hasSetupBaseViews) {
4574
4578
  hasSetupBaseViews = !0;
4575
4579
  let baseViews2 = (_b = (_a2 = import_setupHooks.hooks).getBaseViews) == null ? void 0 : _b.call(_a2);
@@ -4839,8 +4843,8 @@ var require_createComponent_native = __commonJS({
4839
4843
  direction,
4840
4844
  isZStack,
4841
4845
  debug: debugProp
4842
- });
4843
- asChild && (elementType = import_Slot.Slot, Object.assign(viewProps, { onPress, onLongPress }));
4846
+ }), ResetPresence = (_l = config == null ? void 0 : config.animations) == null ? void 0 : _l.ResetPresence;
4847
+ willBeAnimated && presence && ResetPresence && (content = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ResetPresence, { children: content })), asChild && (elementType = import_Slot.Slot, Object.assign(viewProps, { onPress, onLongPress }));
4844
4848
  let useChildrenResult;
4845
4849
  import_setupHooks.hooks.useChildren && (useChildrenResult = import_setupHooks.hooks.useChildren(
4846
4850
  elementType,