@namba_one/ui-kit-2 1.0.213 → 1.0.215
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 -1
- package/dist/index.es.js +5 -5
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3419,7 +3419,7 @@ export declare type TooltipProps = {
|
|
|
3419
3419
|
verticalOffset?: DropdownElementProps['verticalOffset'];
|
|
3420
3420
|
behavior?: 'hover' | 'click' | 'manual';
|
|
3421
3421
|
width?: number | string;
|
|
3422
|
-
|
|
3422
|
+
alignText?: TheTextProps['align'];
|
|
3423
3423
|
};
|
|
3424
3424
|
|
|
3425
3425
|
export declare const TransitionFade: DefineComponent<ExtractPropTypes< {
|
package/dist/index.es.js
CHANGED
|
@@ -1202,10 +1202,10 @@ const jo = /* @__PURE__ */ ce({
|
|
|
1202
1202
|
() => zb(e.value, (t, r, o, i) => {
|
|
1203
1203
|
let s;
|
|
1204
1204
|
if (r === "add" && (s = [
|
|
1205
|
-
{ opacity: 0, filter:
|
|
1205
|
+
{ opacity: 0, filter: null },
|
|
1206
1206
|
{ opacity: 1, filter: "blur(0px)" }
|
|
1207
1207
|
]), r === "remove" && (s = [
|
|
1208
|
-
{ opacity: 1, filter:
|
|
1208
|
+
{ opacity: 1, filter: null },
|
|
1209
1209
|
{ opacity: 0, filter: "blur(5px)" }
|
|
1210
1210
|
]), r === "remain") {
|
|
1211
1211
|
const a = o.left - i.left, l = o.top - i.top, [, , u, d] = fu(
|
|
@@ -1221,7 +1221,7 @@ const jo = /* @__PURE__ */ ce({
|
|
|
1221
1221
|
...n.isHeight && {
|
|
1222
1222
|
transform: "translate(0, 0)"
|
|
1223
1223
|
},
|
|
1224
|
-
filter:
|
|
1224
|
+
filter: null
|
|
1225
1225
|
};
|
|
1226
1226
|
n.isHeight && u !== d && (c.height = `${u}px`, h.height = `${d}px`), s = [c, h];
|
|
1227
1227
|
}
|
|
@@ -20936,7 +20936,7 @@ const zB = /* @__PURE__ */ ce({
|
|
|
20936
20936
|
verticalOffset: { default: 4 },
|
|
20937
20937
|
behavior: { default: "hover" },
|
|
20938
20938
|
width: {},
|
|
20939
|
-
|
|
20939
|
+
alignText: {}
|
|
20940
20940
|
},
|
|
20941
20941
|
setup(n, { expose: e }) {
|
|
20942
20942
|
const { isShowDropdown: t, setIsShowDropdown: r, triggerElementRef: o } = po(), i = L(() => typeof n.width > "u" ? {} : {
|
|
@@ -20988,7 +20988,7 @@ const zB = /* @__PURE__ */ ce({
|
|
|
20988
20988
|
}, [
|
|
20989
20989
|
j(p(Be), {
|
|
20990
20990
|
class: y(d.$style.text),
|
|
20991
|
-
align:
|
|
20991
|
+
align: d.alignText,
|
|
20992
20992
|
size: "caption",
|
|
20993
20993
|
color: "foreground-element-tooltip-primary"
|
|
20994
20994
|
}, {
|