@jsenv/navi 0.11.14 → 0.11.16
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 +25 -1
- 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,
|
|
@@ -9860,6 +9864,7 @@ const withPropsStyle = (
|
|
|
9860
9864
|
background,
|
|
9861
9865
|
backgroundColor,
|
|
9862
9866
|
backgroundImage,
|
|
9867
|
+
backgroundSize,
|
|
9863
9868
|
border,
|
|
9864
9869
|
borderWidth,
|
|
9865
9870
|
borderRadius,
|
|
@@ -10037,6 +10042,12 @@ const withPropsStyle = (
|
|
|
10037
10042
|
} else if (width !== undefined) {
|
|
10038
10043
|
sizeStyles.width = normalizeStyle(width, "width", "css");
|
|
10039
10044
|
}
|
|
10045
|
+
if (minWidth !== undefined) {
|
|
10046
|
+
sizeStyles.minWidth = normalizeStyle(minWidth, "minWidth", "css");
|
|
10047
|
+
}
|
|
10048
|
+
if (maxWidth !== undefined) {
|
|
10049
|
+
sizeStyles.maxWidth = normalizeStyle(maxWidth, "maxWidth", "css");
|
|
10050
|
+
}
|
|
10040
10051
|
if (expandY) {
|
|
10041
10052
|
if (flexDirection === "row") {
|
|
10042
10053
|
sizeStyles.height = "100%"; // Take full height in row
|
|
@@ -10048,6 +10059,12 @@ const withPropsStyle = (
|
|
|
10048
10059
|
} else if (height !== undefined) {
|
|
10049
10060
|
sizeStyles.height = normalizeStyle(height, "height", "css");
|
|
10050
10061
|
}
|
|
10062
|
+
if (minHeight !== undefined) {
|
|
10063
|
+
sizeStyles.minHeight = normalizeStyle(minHeight, "minHeight", "css");
|
|
10064
|
+
}
|
|
10065
|
+
if (maxHeight !== undefined) {
|
|
10066
|
+
sizeStyles.maxHeight = normalizeStyle(maxHeight, "maxHeight", "css");
|
|
10067
|
+
}
|
|
10051
10068
|
}
|
|
10052
10069
|
typo_styles: {
|
|
10053
10070
|
if (!typo && !hasRemainingConfig) {
|
|
@@ -10105,7 +10122,14 @@ const withPropsStyle = (
|
|
|
10105
10122
|
visualStyles.backgroundColor = backgroundColor;
|
|
10106
10123
|
}
|
|
10107
10124
|
if (backgroundImage !== undefined) {
|
|
10108
|
-
visualStyles.backgroundImage =
|
|
10125
|
+
visualStyles.backgroundImage = normalizeStyle(
|
|
10126
|
+
backgroundImage,
|
|
10127
|
+
"backgroundImage",
|
|
10128
|
+
"css",
|
|
10129
|
+
);
|
|
10130
|
+
}
|
|
10131
|
+
if (backgroundSize !== undefined) {
|
|
10132
|
+
visualStyles.backgroundSize = backgroundSize;
|
|
10109
10133
|
}
|
|
10110
10134
|
if (border !== undefined) {
|
|
10111
10135
|
visualStyles.border = border;
|