tamagui 1.125.16 → 1.125.17
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 +26 -25
- package/dist/native.js.map +2 -2
- package/dist/test.native.js +26 -25
- package/dist/test.native.js.map +2 -2
- package/package.json +55 -55
package/dist/native.js
CHANGED
|
@@ -3481,8 +3481,9 @@ var require_constants_native2 = __commonJS({
|
|
|
3481
3481
|
alignItems: "stretch",
|
|
3482
3482
|
flexDirection: "column",
|
|
3483
3483
|
flexBasis: "auto",
|
|
3484
|
+
// @ts-expect-error
|
|
3484
3485
|
boxSizing: "border-box",
|
|
3485
|
-
position: "relative",
|
|
3486
|
+
position: process.env.TAMAGUI_POSITION_STATIC === "1" ? "static" : "relative",
|
|
3486
3487
|
minHeight: 0,
|
|
3487
3488
|
minWidth: 0,
|
|
3488
3489
|
flexShrink: 0
|
|
@@ -6390,8 +6391,8 @@ var require_getSplitStyles_native = __commonJS({
|
|
|
6390
6391
|
(isText || isInput) && valInit && (keyInit === "fontFamily" || keyInit === shorthands.fontFamily) && valInit in conf.fontsParsed && (styleState.fontFamily = valInit);
|
|
6391
6392
|
var disablePropMap = isMediaOrPseudo || !isStyleLikeKey;
|
|
6392
6393
|
if ((0, import_propMapper.propMapper)(keyInit, valInit, styleState, disablePropMap, function(key4, val2) {
|
|
6393
|
-
var _parentStaticConfig_variants;
|
|
6394
|
-
if (!isHOC && disablePropMap && !isMediaOrPseudo) {
|
|
6394
|
+
var _parentStaticConfig_variants, isStyledContextProp = styleProps.styledContextProps && key4 in styleProps.styledContextProps;
|
|
6395
|
+
if (!isHOC && disablePropMap && !isStyledContextProp && !isMediaOrPseudo) {
|
|
6395
6396
|
viewProps[key4] = val2;
|
|
6396
6397
|
return;
|
|
6397
6398
|
}
|
|
@@ -6585,7 +6586,7 @@ var require_getSplitStyles_native = __commonJS({
|
|
|
6585
6586
|
return;
|
|
6586
6587
|
}
|
|
6587
6588
|
if (!isVariant) {
|
|
6588
|
-
if (
|
|
6589
|
+
if (isStyledContextProp) return;
|
|
6589
6590
|
viewProps[key4] = val2;
|
|
6590
6591
|
}
|
|
6591
6592
|
}
|
|
@@ -18843,27 +18844,27 @@ var require_createSheet_native = __commonJS({
|
|
|
18843
18844
|
]), context.onlyShowFrame, null;
|
|
18844
18845
|
})), SheetFrame = Frame.extractable(/* @__PURE__ */ (0, import_react3.forwardRef)(function(param2, forwardedRef) {
|
|
18845
18846
|
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() {
|
|
18846
|
-
return
|
|
18847
|
-
|
|
18848
|
-
|
|
18849
|
-
|
|
18850
|
-
|
|
18851
|
-
|
|
18852
|
-
|
|
18853
|
-
|
|
18854
|
-
|
|
18855
|
-
|
|
18856
|
-
|
|
18857
|
-
children
|
|
18858
|
-
|
|
18859
|
-
|
|
18860
|
-
|
|
18861
|
-
|
|
18862
|
-
|
|
18863
|
-
|
|
18864
|
-
|
|
18865
|
-
)
|
|
18866
|
-
|
|
18847
|
+
return (
|
|
18848
|
+
// @ts-expect-error
|
|
18849
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(Frame, {
|
|
18850
|
+
ref: composedContentRef,
|
|
18851
|
+
flex: hasFit ? 0 : 1,
|
|
18852
|
+
height: hasFit ? void 0 : frameSize,
|
|
18853
|
+
pointerEvents: open ? "auto" : "none",
|
|
18854
|
+
...props,
|
|
18855
|
+
children: [
|
|
18856
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_z_index_stack2.StackZIndexContext, {
|
|
18857
|
+
zIndex: (0, import_portal2.resolveViewZIndex)(props.zIndex),
|
|
18858
|
+
children
|
|
18859
|
+
}),
|
|
18860
|
+
adjustPaddingForOffscreenContent && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_core12.Stack, {
|
|
18861
|
+
"data-sheet-offscreen-pad": !0,
|
|
18862
|
+
height: offscreenSize,
|
|
18863
|
+
width: "100%"
|
|
18864
|
+
})
|
|
18865
|
+
]
|
|
18866
|
+
})
|
|
18867
|
+
);
|
|
18867
18868
|
}, [
|
|
18868
18869
|
open,
|
|
18869
18870
|
props,
|