@namba_one/ui-kit-2 1.0.211 → 1.0.213
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/index.d.ts +1 -0
- package/dist/index.es.js +7 -5
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3419,6 +3419,7 @@ export declare type TooltipProps = {
|
|
|
3419
3419
|
verticalOffset?: DropdownElementProps['verticalOffset'];
|
|
3420
3420
|
behavior?: 'hover' | 'click' | 'manual';
|
|
3421
3421
|
width?: number | string;
|
|
3422
|
+
align?: TheTextProps['align'];
|
|
3422
3423
|
};
|
|
3423
3424
|
|
|
3424
3425
|
export declare const TransitionFade: DefineComponent<ExtractPropTypes< {
|
package/dist/index.es.js
CHANGED
|
@@ -20935,12 +20935,13 @@ const zB = /* @__PURE__ */ ce({
|
|
|
20935
20935
|
verticalAlign: { default: "top" },
|
|
20936
20936
|
verticalOffset: { default: 4 },
|
|
20937
20937
|
behavior: { default: "hover" },
|
|
20938
|
-
width: {}
|
|
20938
|
+
width: {},
|
|
20939
|
+
align: {}
|
|
20939
20940
|
},
|
|
20940
20941
|
setup(n, { expose: e }) {
|
|
20941
|
-
const { isShowDropdown: t, setIsShowDropdown: r, triggerElementRef: o } = po(), i = L(() =>
|
|
20942
|
-
width: zl(Number(n.width))
|
|
20943
|
-
})
|
|
20942
|
+
const { isShowDropdown: t, setIsShowDropdown: r, triggerElementRef: o } = po(), i = L(() => typeof n.width > "u" ? {} : {
|
|
20943
|
+
width: `${zl(Number(n.width))}px`
|
|
20944
|
+
});
|
|
20944
20945
|
function s() {
|
|
20945
20946
|
n.behavior === "hover" && r(!0);
|
|
20946
20947
|
}
|
|
@@ -20987,6 +20988,7 @@ const zB = /* @__PURE__ */ ce({
|
|
|
20987
20988
|
}, [
|
|
20988
20989
|
j(p(Be), {
|
|
20989
20990
|
class: y(d.$style.text),
|
|
20991
|
+
align: n.align,
|
|
20990
20992
|
size: "caption",
|
|
20991
20993
|
color: "foreground-element-tooltip-primary"
|
|
20992
20994
|
}, {
|
|
@@ -20994,7 +20996,7 @@ const zB = /* @__PURE__ */ ce({
|
|
|
20994
20996
|
ye(me(d.text), 1)
|
|
20995
20997
|
]),
|
|
20996
20998
|
_: 1
|
|
20997
|
-
}, 8, ["class"])
|
|
20999
|
+
}, 8, ["class", "align"])
|
|
20998
21000
|
], 2),
|
|
20999
21001
|
(v(), M("svg", {
|
|
21000
21002
|
class: y(d.$style.shape),
|