tamagui 1.125.16 → 1.125.18

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.
@@ -3216,8 +3216,9 @@ var require_constants_native2 = __commonJS({
3216
3216
  alignItems: "stretch",
3217
3217
  flexDirection: "column",
3218
3218
  flexBasis: "auto",
3219
+ // @ts-expect-error
3219
3220
  boxSizing: "border-box",
3220
- position: "relative",
3221
+ position: process.env.TAMAGUI_POSITION_STATIC === "1" ? "static" : "relative",
3221
3222
  minHeight: 0,
3222
3223
  minWidth: 0,
3223
3224
  flexShrink: 0
@@ -6096,8 +6097,8 @@ var require_getSplitStyles_native = __commonJS({
6096
6097
  (isText || isInput) && valInit && (keyInit === "fontFamily" || keyInit === shorthands.fontFamily) && valInit in conf.fontsParsed && (styleState.fontFamily = valInit);
6097
6098
  var disablePropMap = isMediaOrPseudo || !isStyleLikeKey;
6098
6099
  (0, import_propMapper.propMapper)(keyInit, valInit, styleState, disablePropMap, function(key4, val2) {
6099
- var _parentStaticConfig_variants;
6100
- if (!isHOC && disablePropMap && !isMediaOrPseudo) {
6100
+ var _parentStaticConfig_variants, isStyledContextProp = styleProps.styledContextProps && key4 in styleProps.styledContextProps;
6101
+ if (!isHOC && disablePropMap && !isStyledContextProp && !isMediaOrPseudo) {
6101
6102
  viewProps[key4] = val2;
6102
6103
  return;
6103
6104
  }
@@ -6254,7 +6255,7 @@ var require_getSplitStyles_native = __commonJS({
6254
6255
  return;
6255
6256
  }
6256
6257
  if (!isVariant) {
6257
- if (styleProps.styledContextProps && key4 in styleProps.styledContextProps) return;
6258
+ if (isStyledContextProp) return;
6258
6259
  viewProps[key4] = val2;
6259
6260
  }
6260
6261
  }
@@ -18237,27 +18238,27 @@ var require_createSheet_native = __commonJS({
18237
18238
  ]), context.onlyShowFrame, null;
18238
18239
  })), SheetFrame = Frame.extractable(/* @__PURE__ */ (0, import_react3.forwardRef)(function(param2, forwardedRef) {
18239
18240
  var { __scopeSheet, adjustPaddingForOffscreenContent, disableHideBottomOverflow, children, ...props } = param2, context = (0, import_SheetContext.useSheetContext)(import_constants22.SHEET_NAME, __scopeSheet), { hasFit, removeScrollEnabled, frameSize, contentRef, open } = context, composedContentRef = (0, import_compose_refs.useComposedRefs)(forwardedRef, contentRef), offscreenSize = (0, import_useSheetOffscreenSize.useSheetOffscreenSize)(context), sheetContents = (0, import_react3.useMemo)(function() {
18240
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_z_index_stack2.StackZIndexContext, {
18241
- zIndex: (0, import_portal2.resolveViewZIndex)(props.zIndex),
18242
- children: (
18243
- /* @ts-expect-error */
18244
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(Frame, {
18245
- ref: composedContentRef,
18246
- flex: hasFit ? 0 : 1,
18247
- height: hasFit ? void 0 : frameSize,
18248
- pointerEvents: open ? "auto" : "none",
18249
- ...props,
18250
- children: [
18251
- children,
18252
- adjustPaddingForOffscreenContent && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_core12.Stack, {
18253
- "data-sheet-offscreen-pad": !0,
18254
- height: offscreenSize,
18255
- width: "100%"
18256
- })
18257
- ]
18258
- })
18259
- )
18260
- });
18241
+ return (
18242
+ // @ts-expect-error
18243
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(Frame, {
18244
+ ref: composedContentRef,
18245
+ flex: hasFit ? 0 : 1,
18246
+ height: hasFit ? void 0 : frameSize,
18247
+ pointerEvents: open ? "auto" : "none",
18248
+ ...props,
18249
+ children: [
18250
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_z_index_stack2.StackZIndexContext, {
18251
+ zIndex: (0, import_portal2.resolveViewZIndex)(props.zIndex),
18252
+ children
18253
+ }),
18254
+ adjustPaddingForOffscreenContent && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_core12.Stack, {
18255
+ "data-sheet-offscreen-pad": !0,
18256
+ height: offscreenSize,
18257
+ width: "100%"
18258
+ })
18259
+ ]
18260
+ })
18261
+ );
18261
18262
  }, [
18262
18263
  open,
18263
18264
  props,