@v1nt1248/3nclient-lib 0.3.37 → 0.3.39
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/ui3n-components.js
CHANGED
|
@@ -3104,7 +3104,7 @@ var ii = ["id"], ai = /* @__PURE__ */ k(/* @__PURE__ */ B({
|
|
|
3104
3104
|
return {
|
|
3105
3105
|
...f.value,
|
|
3106
3106
|
"--ui3n-menu-zIndex": String(r.zIndex),
|
|
3107
|
-
...e && { "--ui3n-menu-border-radius": e },
|
|
3107
|
+
...e && { "--ui3n-menu-content-border-radius": e },
|
|
3108
3108
|
...r.contentStyles || {}
|
|
3109
3109
|
};
|
|
3110
3110
|
});
|
package/package.json
CHANGED
|
@@ -74,18 +74,18 @@
|
|
|
74
74
|
});
|
|
75
75
|
|
|
76
76
|
const contentStylesComputed = computed(() => {
|
|
77
|
-
let
|
|
77
|
+
let contentBorderRadiusStr = '';
|
|
78
78
|
if (typeof props.contentBorderRadius === 'number') {
|
|
79
|
-
|
|
79
|
+
contentBorderRadiusStr = `${props.contentBorderRadius}px`;
|
|
80
80
|
} else if (Array.isArray(props.contentBorderRadius)) {
|
|
81
81
|
const [tl, tr, br, bl] = props.contentBorderRadius;
|
|
82
|
-
|
|
82
|
+
contentBorderRadiusStr = `${tl}px ${tr}px ${br}px ${bl}px`;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
return {
|
|
86
86
|
...floatingStyles.value,
|
|
87
87
|
'--ui3n-menu-zIndex': String(props.zIndex),
|
|
88
|
-
...(
|
|
88
|
+
...(contentBorderRadiusStr && { '--ui3n-menu-content-border-radius': contentBorderRadiusStr }),
|
|
89
89
|
...(props.contentStyles || {}),
|
|
90
90
|
};
|
|
91
91
|
});
|