tamagui 1.126.7 → 1.126.8
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 +13 -10
- package/dist/native.js.map +2 -2
- package/dist/test.native.js +13 -10
- package/dist/test.native.js.map +2 -2
- package/package.json +55 -55
package/dist/native.js
CHANGED
|
@@ -24353,16 +24353,19 @@ var computePosition, arrow2, autoPlacement2, flip2, hide2, inline2, offset2, shi
|
|
|
24353
24353
|
return side2 <= 0;
|
|
24354
24354
|
})) {
|
|
24355
24355
|
var _middlewareData$flip2, _overflowsData$filter, nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1, nextPlacement = placements2[nextIndex];
|
|
24356
|
-
if (nextPlacement)
|
|
24357
|
-
|
|
24358
|
-
|
|
24359
|
-
|
|
24360
|
-
|
|
24361
|
-
|
|
24362
|
-
|
|
24363
|
-
|
|
24364
|
-
|
|
24365
|
-
|
|
24356
|
+
if (nextPlacement) {
|
|
24357
|
+
var _overflowsData$, ignoreCrossAxisOverflow = checkCrossAxis === "alignment" ? initialSideAxis !== getSideAxis(nextPlacement) : !1, hasInitialMainAxisOverflow = ((_overflowsData$ = overflowsData[0]) == null ? void 0 : _overflowsData$.overflows[0]) > 0;
|
|
24358
|
+
if (!ignoreCrossAxisOverflow || hasInitialMainAxisOverflow)
|
|
24359
|
+
return {
|
|
24360
|
+
data: {
|
|
24361
|
+
index: nextIndex,
|
|
24362
|
+
overflows: overflowsData
|
|
24363
|
+
},
|
|
24364
|
+
reset: {
|
|
24365
|
+
placement: nextPlacement
|
|
24366
|
+
}
|
|
24367
|
+
};
|
|
24368
|
+
}
|
|
24366
24369
|
var resetPlacement = (_overflowsData$filter = overflowsData.filter(function(d) {
|
|
24367
24370
|
return d.overflows[0] <= 0;
|
|
24368
24371
|
}).sort(function(a, b) {
|