@jsenv/navi 0.18.5 → 0.18.6
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/jsenv_navi.js +10 -0
- package/dist/jsenv_navi.js.map +3 -3
- package/package.json +1 -1
package/dist/jsenv_navi.js
CHANGED
|
@@ -5374,6 +5374,11 @@ const POSITION_PROPS = {
|
|
|
5374
5374
|
// only the first item will be positioned as expected because subsequent items
|
|
5375
5375
|
// will be positioned relative to the previous item's margins, not the container edge.
|
|
5376
5376
|
selfAlignX: (value, { parentBoxFlow }) => {
|
|
5377
|
+
const inGridFlow = parentBoxFlow === "grid";
|
|
5378
|
+
if (inGridFlow) {
|
|
5379
|
+
return { justifySelf: value };
|
|
5380
|
+
}
|
|
5381
|
+
|
|
5377
5382
|
const inRowFlow = parentBoxFlow === "row" || parentBoxFlow === "inline-row";
|
|
5378
5383
|
|
|
5379
5384
|
if (value === "start") {
|
|
@@ -5400,6 +5405,11 @@ const POSITION_PROPS = {
|
|
|
5400
5405
|
return undefined;
|
|
5401
5406
|
},
|
|
5402
5407
|
selfAlignY: (value, { parentBoxFlow }) => {
|
|
5408
|
+
const inGridFlow = parentBoxFlow === "grid";
|
|
5409
|
+
if (inGridFlow) {
|
|
5410
|
+
return { alignSelf: value };
|
|
5411
|
+
}
|
|
5412
|
+
|
|
5403
5413
|
const inColumnFlow =
|
|
5404
5414
|
parentBoxFlow === "column" || parentBoxFlow === "inline-column";
|
|
5405
5415
|
|