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/test.native.js
CHANGED
|
@@ -23657,16 +23657,19 @@ var computePosition, arrow2, autoPlacement2, flip2, hide2, inline2, offset2, shi
|
|
|
23657
23657
|
return side2 <= 0;
|
|
23658
23658
|
})) {
|
|
23659
23659
|
var _middlewareData$flip2, _overflowsData$filter, nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1, nextPlacement = placements2[nextIndex];
|
|
23660
|
-
if (nextPlacement)
|
|
23661
|
-
|
|
23662
|
-
|
|
23663
|
-
|
|
23664
|
-
|
|
23665
|
-
|
|
23666
|
-
|
|
23667
|
-
|
|
23668
|
-
|
|
23669
|
-
|
|
23660
|
+
if (nextPlacement) {
|
|
23661
|
+
var _overflowsData$, ignoreCrossAxisOverflow = checkCrossAxis === "alignment" ? initialSideAxis !== getSideAxis(nextPlacement) : !1, hasInitialMainAxisOverflow = ((_overflowsData$ = overflowsData[0]) == null ? void 0 : _overflowsData$.overflows[0]) > 0;
|
|
23662
|
+
if (!ignoreCrossAxisOverflow || hasInitialMainAxisOverflow)
|
|
23663
|
+
return {
|
|
23664
|
+
data: {
|
|
23665
|
+
index: nextIndex,
|
|
23666
|
+
overflows: overflowsData
|
|
23667
|
+
},
|
|
23668
|
+
reset: {
|
|
23669
|
+
placement: nextPlacement
|
|
23670
|
+
}
|
|
23671
|
+
};
|
|
23672
|
+
}
|
|
23670
23673
|
var resetPlacement = (_overflowsData$filter = overflowsData.filter(function(d) {
|
|
23671
23674
|
return d.overflows[0] <= 0;
|
|
23672
23675
|
}).sort(function(a, b) {
|