@jsenv/navi 0.23.1 → 0.23.2

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.
@@ -6303,21 +6303,16 @@ const DIMENSION_PROPS = {
6303
6303
  if (selfHorizontalFlexFlow || inHorizontalFlexFlow) {
6304
6304
  if (!inHorizontalFlexFlow) {
6305
6305
  if (parentBoxFlow === "flex-y" || parentBoxFlow === "inline-flex-y") {
6306
- return { minWidth: "100%", width: "auto" };
6306
+ return { alignSelf: "stretch" };
6307
6307
  }
6308
- return {
6309
- flexGrow: 1,
6310
- flexBasis: "0%",
6311
- minWidth: "100%",
6312
- width: "auto",
6313
- };
6308
+ return { flexGrow: 1, flexBasis: "0%" };
6314
6309
  }
6315
6310
  return { flexGrow: 1, flexBasis: "0%" }; // Grow horizontally in column
6316
6311
  }
6317
- if (parentBoxFlow === "flex-y") {
6318
- return { minWidth: "100%", width: "auto" }; // Take full width in row
6312
+ if (parentBoxFlow === "flex-y" || parentBoxFlow === "inline-flex-y") {
6313
+ return { alignSelf: "stretch" }; // Stretch to cross-axis width in flex-y
6319
6314
  }
6320
- return { minWidth: "100%", width: "auto" }; // Take full width outside flex
6315
+ return { width: "100%" }; // Take full width outside flex
6321
6316
  },
6322
6317
  expandY: (value, { parentBoxFlow, boxFlow }) => {
6323
6318
  if (!value) {
@@ -6334,19 +6329,14 @@ const DIMENSION_PROPS = {
6334
6329
  if (inHorizontalFlexFlow) {
6335
6330
  return { alignSelf: "stretch" };
6336
6331
  }
6337
- return {
6338
- flexGrow: 1,
6339
- flexBasis: "0%",
6340
- minHeight: "100%",
6341
- height: "auto",
6342
- };
6332
+ return { flexGrow: 1, flexBasis: "0%" };
6343
6333
  }
6344
6334
  return { flexGrow: 1, flexBasis: "0%" }; // Grow vertically in row
6345
6335
  }
6346
6336
  if (inHorizontalFlexFlow) {
6347
6337
  return { alignSelf: "stretch" }; // Stretch to cross-axis height in flex-x
6348
6338
  }
6349
- return { minHeight: "100%", height: "auto" }; // Take full height outside flex
6339
+ return { height: "100%" }; // Take full height outside flex
6350
6340
  },
6351
6341
  shrinkX: (value) => {
6352
6342
  if (!value || value === "0") {