@jsenv/navi 0.20.5 → 0.20.7

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.
@@ -7563,7 +7563,7 @@ const Box = props => {
7563
7563
  }
7564
7564
  }
7565
7565
  if (defaultDisplay === "inline") {
7566
- if (inline === undefined) {
7566
+ if (inline === undefined && !block) {
7567
7567
  inline = true;
7568
7568
  }
7569
7569
  } else if (defaultDisplay === "block") {
@@ -7571,7 +7571,7 @@ const Box = props => {
7571
7571
  block = true;
7572
7572
  }
7573
7573
  } else if (defaultDisplay === "inline-block") {
7574
- if (inline === undefined) {
7574
+ if (inline === undefined && !block) {
7575
7575
  inline = true;
7576
7576
  }
7577
7577
  if (block === undefined && !flex && !grid) {
@@ -7583,25 +7583,25 @@ const Box = props => {
7583
7583
  }
7584
7584
  let boxFlow;
7585
7585
  if (inline) {
7586
- if (block) {
7587
- boxFlow = "inline-block";
7588
- } else if (flex === "x") {
7586
+ if (flex === "x") {
7589
7587
  boxFlow = "inline-flex-x";
7590
7588
  } else if (flex === "y") {
7591
7589
  boxFlow = "inline-flex-y";
7592
7590
  } else if (grid) {
7593
7591
  boxFlow = "inline-grid";
7592
+ } else if (block) {
7593
+ boxFlow = "inline-block";
7594
7594
  } else {
7595
7595
  boxFlow = "inline";
7596
7596
  }
7597
- } else if (block) {
7598
- boxFlow = "block";
7599
7597
  } else if (flex === "x") {
7600
7598
  boxFlow = "flex-x";
7601
7599
  } else if (flex === "y") {
7602
7600
  boxFlow = "flex-y";
7603
7601
  } else if (grid) {
7604
7602
  boxFlow = "grid";
7603
+ } else if (block) {
7604
+ boxFlow = "block";
7605
7605
  } else {
7606
7606
  boxFlow = defaultDisplay;
7607
7607
  }