vue-tippy 6.0.0-alpha.39 → 6.0.0-alpha.42

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.
@@ -37,10 +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>;
43
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {
50
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "state"[], "state", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {
44
51
  [x: string]: any;
45
52
  }>, {}>;
46
53
  export { tippy }
@@ -749,7 +756,7 @@ export declare const TippySingleton: import("vue").DefineComponent<ComponentObje
749
756
  destroy: () => void;
750
757
  forceUpdate: () => void;
751
758
  update: () => Promise<Partial<import("@popperjs/core").State>>;
752
- setOptions: (options: Partial<import("@popperjs/core").OptionsGeneric<any>>) => Promise<Partial<import("@popperjs/core").State>>;
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>>;
753
760
  } | null;
754
761
  props: any;
755
762
  reference: import("tippy.js").ReferenceElement<any>;
@@ -791,6 +798,13 @@ export declare function useTippy(el: Element | (() => Element) | Ref<Element> |
791
798
  enable: () => void;
792
799
  unmount: () => void;
793
800
  mount: () => void;
801
+ state: Ref<{
802
+ isEnabled: boolean;
803
+ isVisible: boolean;
804
+ isDestroyed: boolean;
805
+ isMounted: boolean;
806
+ isShown: boolean;
807
+ }>;
794
808
  };
795
809
 
796
810
  export declare function useTippyComponent(opts?: TippyOptions, children?: any): {