@jsenv/navi 0.11.14 → 0.11.15
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 +16 -0
- package/dist/jsenv_navi.js.map +3 -3
- package/package.json +2 -2
package/dist/jsenv_navi.js
CHANGED
|
@@ -9842,7 +9842,11 @@ const withPropsStyle = (
|
|
|
9842
9842
|
expandX = expand,
|
|
9843
9843
|
expandY = expand,
|
|
9844
9844
|
width,
|
|
9845
|
+
minWidth,
|
|
9846
|
+
maxWidth,
|
|
9845
9847
|
height,
|
|
9848
|
+
minHeight,
|
|
9849
|
+
maxHeight,
|
|
9846
9850
|
|
|
9847
9851
|
// typo props
|
|
9848
9852
|
textSize,
|
|
@@ -10037,6 +10041,12 @@ const withPropsStyle = (
|
|
|
10037
10041
|
} else if (width !== undefined) {
|
|
10038
10042
|
sizeStyles.width = normalizeStyle(width, "width", "css");
|
|
10039
10043
|
}
|
|
10044
|
+
if (minWidth !== undefined) {
|
|
10045
|
+
sizeStyles.minWidth = normalizeStyle(minWidth, "minWidth", "css");
|
|
10046
|
+
}
|
|
10047
|
+
if (maxWidth !== undefined) {
|
|
10048
|
+
sizeStyles.maxWidth = normalizeStyle(maxWidth, "maxWidth", "css");
|
|
10049
|
+
}
|
|
10040
10050
|
if (expandY) {
|
|
10041
10051
|
if (flexDirection === "row") {
|
|
10042
10052
|
sizeStyles.height = "100%"; // Take full height in row
|
|
@@ -10048,6 +10058,12 @@ const withPropsStyle = (
|
|
|
10048
10058
|
} else if (height !== undefined) {
|
|
10049
10059
|
sizeStyles.height = normalizeStyle(height, "height", "css");
|
|
10050
10060
|
}
|
|
10061
|
+
if (minHeight !== undefined) {
|
|
10062
|
+
sizeStyles.minHeight = normalizeStyle(minHeight, "minHeight", "css");
|
|
10063
|
+
}
|
|
10064
|
+
if (maxHeight !== undefined) {
|
|
10065
|
+
sizeStyles.maxHeight = normalizeStyle(maxHeight, "maxHeight", "css");
|
|
10066
|
+
}
|
|
10051
10067
|
}
|
|
10052
10068
|
typo_styles: {
|
|
10053
10069
|
if (!typo && !hasRemainingConfig) {
|