vue-tippy 6.0.0-alpha.38 → 6.0.0-alpha.41
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/vue-tippy.cjs +274 -110
- package/dist/vue-tippy.d.ts +17 -2
- package/dist/vue-tippy.esm-browser.js +275 -111
- package/dist/vue-tippy.iife.js +274 -110
- package/dist/vue-tippy.iife.prod.js +2 -2
- package/dist/vue-tippy.mjs +275 -111
- package/dist/vue-tippy.prod.cjs +274 -110
- package/package.json +2 -2
package/dist/vue-tippy.d.ts
CHANGED
@@ -37,9 +37,17 @@ export declare const Tippy: import("vue").DefineComponent<ComponentObjectPropsOp
|
|
37
37
|
enable: () => void;
|
38
38
|
unmount: () => void;
|
39
39
|
mount: () => void;
|
40
|
+
state: import("vue").Ref<{
|
41
|
+
isEnabled: boolean;
|
42
|
+
isVisible: boolean;
|
43
|
+
isDestroyed: boolean;
|
44
|
+
isMounted: boolean;
|
45
|
+
isShown: boolean;
|
46
|
+
}>;
|
40
47
|
elem: import("vue").Ref<Element | undefined>;
|
41
48
|
contentElem: import("vue").Ref<Element | undefined>;
|
42
|
-
|
49
|
+
mounted: import("vue").Ref<boolean>;
|
50
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "state"[], "state", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {
|
43
51
|
[x: string]: any;
|
44
52
|
}>, {}>;
|
45
53
|
export { tippy }
|
@@ -748,7 +756,7 @@ export declare const TippySingleton: import("vue").DefineComponent<ComponentObje
|
|
748
756
|
destroy: () => void;
|
749
757
|
forceUpdate: () => void;
|
750
758
|
update: () => Promise<Partial<import("@popperjs/core").State>>;
|
751
|
-
setOptions: (
|
759
|
+
setOptions: (setOptionsAction: Partial<import("@popperjs/core").OptionsGeneric<any>> | ((prev: Partial<import("@popperjs/core").OptionsGeneric<any>>) => Partial<import("@popperjs/core").OptionsGeneric<any>>)) => Promise<Partial<import("@popperjs/core").State>>;
|
752
760
|
} | null;
|
753
761
|
props: any;
|
754
762
|
reference: import("tippy.js").ReferenceElement<any>;
|
@@ -790,6 +798,13 @@ export declare function useTippy(el: Element | (() => Element) | Ref<Element> |
|
|
790
798
|
enable: () => void;
|
791
799
|
unmount: () => void;
|
792
800
|
mount: () => void;
|
801
|
+
state: Ref<{
|
802
|
+
isEnabled: boolean;
|
803
|
+
isVisible: boolean;
|
804
|
+
isDestroyed: boolean;
|
805
|
+
isMounted: boolean;
|
806
|
+
isShown: boolean;
|
807
|
+
}>;
|
793
808
|
};
|
794
809
|
|
795
810
|
export declare function useTippyComponent(opts?: TippyOptions, children?: any): {
|