@jsenv/navi 0.11.15 → 0.11.17
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 -2
- package/dist/jsenv_navi.js.map +5 -6
- package/package.json +1 -1
package/dist/jsenv_navi.js
CHANGED
|
@@ -9864,6 +9864,7 @@ const withPropsStyle = (
|
|
|
9864
9864
|
background,
|
|
9865
9865
|
backgroundColor,
|
|
9866
9866
|
backgroundImage,
|
|
9867
|
+
backgroundSize,
|
|
9867
9868
|
border,
|
|
9868
9869
|
borderWidth,
|
|
9869
9870
|
borderRadius,
|
|
@@ -10121,7 +10122,14 @@ const withPropsStyle = (
|
|
|
10121
10122
|
visualStyles.backgroundColor = backgroundColor;
|
|
10122
10123
|
}
|
|
10123
10124
|
if (backgroundImage !== undefined) {
|
|
10124
|
-
visualStyles.backgroundImage =
|
|
10125
|
+
visualStyles.backgroundImage = normalizeStyle(
|
|
10126
|
+
backgroundImage,
|
|
10127
|
+
"backgroundImage",
|
|
10128
|
+
"css",
|
|
10129
|
+
);
|
|
10130
|
+
}
|
|
10131
|
+
if (backgroundSize !== undefined) {
|
|
10132
|
+
visualStyles.backgroundSize = backgroundSize;
|
|
10125
10133
|
}
|
|
10126
10134
|
if (border !== undefined) {
|
|
10127
10135
|
visualStyles.border = border;
|
|
@@ -19480,7 +19488,7 @@ const Spacing = ({
|
|
|
19480
19488
|
}) => {
|
|
19481
19489
|
const [remainingProps, innerStyle] = withPropsStyle(rest, {
|
|
19482
19490
|
spacing: true,
|
|
19483
|
-
|
|
19491
|
+
size: true
|
|
19484
19492
|
});
|
|
19485
19493
|
return jsx("div", {
|
|
19486
19494
|
...remainingProps,
|