vue-tippy 4.15.0 → 4.16.1
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/README.md +4 -10
- package/dist/vue-tippy.esm.js +1 -4
- package/dist/vue-tippy.min.js +1 -1
- package/dist/vue-tippy.umd.js +1 -4
- package/package.json +1 -1
- package/src/.DS_Store +0 -0
- package/src/components/Tippy.vue +1 -1
- package/src/components/TippyNoStyles.vue +1 -1
- package/dist/src/components/Tippy.d.ts +0 -421
- package/dist/src/components/Tippy.d.ts.map +0 -1
- package/dist/src/components/TippySingleton.d.ts +0 -266
- package/dist/src/components/TippySingleton.d.ts.map +0 -1
- package/dist/src/composables/index.d.ts +0 -4
- package/dist/src/composables/index.d.ts.map +0 -1
- package/dist/src/composables/useSingleton.d.ts +0 -6
- package/dist/src/composables/useSingleton.d.ts.map +0 -1
- package/dist/src/composables/useTippy.d.ts +0 -27
- package/dist/src/composables/useTippy.d.ts.map +0 -1
- package/dist/src/composables/useTippyComponent.d.ts +0 -8
- package/dist/src/composables/useTippyComponent.d.ts.map +0 -1
- package/dist/src/directive/index.d.ts +0 -4
- package/dist/src/directive/index.d.ts.map +0 -1
- package/dist/src/index.d.ts +0 -13
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/plugin/index.d.ts +0 -4
- package/dist/src/plugin/index.d.ts.map +0 -1
- package/dist/src/types/index.d.ts +0 -21
- package/dist/src/types/index.d.ts.map +0 -1
- package/dist/vue-tippy.cjs +0 -4789
- package/dist/vue-tippy.d.ts +0 -750
- package/dist/vue-tippy.esm-browser.js +0 -4460
- package/dist/vue-tippy.iife.js +0 -4792
- package/dist/vue-tippy.iife.prod.js +0 -6
- package/dist/vue-tippy.mjs +0 -4460
- package/dist/vue-tippy.prod.cjs +0 -4473
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"TippySingleton.d.ts","sourceRoot":"","sources":["TippySingleton.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AACnC,OAAO,EAAE,2BAA2B,EAA2B,MAAM,KAAK,CAAA;AAE1E,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAGvC,OAAO,QAAQ,mBAAmB,CAAC;IACjC,UAAU,oBAAqB,SAAQ,YAAY;KAAG;CACvD;AAuCD,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mUAwBlB,CAAA;AAEF,eAAe,cAAc,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA"}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import { TippyInstances } from '../types';
|
2
|
-
import { CreateSingletonProps, Props } from 'tippy.js';
|
3
|
-
export declare function useSingleton(instances: TippyInstances, optionalProps?: Partial<CreateSingletonProps<Props>>): {
|
4
|
-
singleton: import("vue").Ref<import("tippy.js").CreateSingletonInstance<CreateSingletonProps<Props>> | undefined>;
|
5
|
-
};
|
6
|
-
//# sourceMappingURL=useSingleton.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"useSingleton.d.ts","sourceRoot":"","sources":["useSingleton.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,cAAc,EAAE,MAAM,UAAU,CAAA;AACxD,OAAO,EAEL,oBAAoB,EAEpB,KAAK,EACN,MAAM,UAAU,CAAA;AAGjB,wBAAgB,YAAY,CAC1B,SAAS,EAAE,cAAc,EACzB,aAAa,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,KAAK,CAAC,CAAC;;EAgCrD"}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
import { Instance, Props } from 'tippy.js';
|
2
|
-
import { Ref } from 'vue';
|
3
|
-
import { TippyOptions, TippyContent } from '../types';
|
4
|
-
export declare function useTippy(el: Element | (() => Element) | Ref<Element> | Ref<Element | undefined>, opts?: TippyOptions, settings?: {
|
5
|
-
mount: boolean;
|
6
|
-
}): {
|
7
|
-
tippy: Ref<Instance<Props> | undefined>;
|
8
|
-
refresh: () => void;
|
9
|
-
refreshContent: () => void;
|
10
|
-
setContent: (value: TippyContent) => void;
|
11
|
-
setProps: (value: TippyOptions) => void;
|
12
|
-
destroy: () => void;
|
13
|
-
hide: () => void;
|
14
|
-
show: () => void;
|
15
|
-
disable: () => void;
|
16
|
-
enable: () => void;
|
17
|
-
unmount: () => void;
|
18
|
-
mount: () => void;
|
19
|
-
state: Ref<{
|
20
|
-
isEnabled: boolean;
|
21
|
-
isVisible: boolean;
|
22
|
-
isDestroyed: boolean;
|
23
|
-
isMounted: boolean;
|
24
|
-
isShown: boolean;
|
25
|
-
}>;
|
26
|
-
};
|
27
|
-
//# sourceMappingURL=useTippy.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"useTippy.d.ts","sourceRoot":"","sources":["useTippy.ts"],"names":[],"mappings":"AAAA,OAAc,EAAE,QAAQ,EAAE,KAAK,EAAW,MAAM,UAAU,CAAA;AAC1D,OAAO,EAGL,GAAG,EAUJ,MAAM,KAAK,CAAA;AACZ,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AASrD,wBAAgB,QAAQ,CACtB,EAAE,EAAE,OAAO,GAAG,CAAC,MAAM,OAAO,CAAC,GAAG,GAAG,CAAC,OAAO,CAAC,GAAG,GAAG,CAAC,OAAO,GAAG,SAAS,CAAC,EACvE,IAAI,GAAE,YAAiB,EACvB,QAAQ,GAAE;IACR,KAAK,EAAE,OAAO,CAAA;CACG;;;;wBAiIQ,YAAY;sBAId,YAAY;;;;;;;;;;;;;;;EA4FtC"}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { TippyComponent, TippyOptions } from '../types';
|
2
|
-
export declare function useTippyComponent(opts?: TippyOptions, children?: any): {
|
3
|
-
instance: import("vue").Ref<TippyComponent | undefined>;
|
4
|
-
TippyComponent: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
5
|
-
[key: string]: any;
|
6
|
-
}>;
|
7
|
-
};
|
8
|
-
//# sourceMappingURL=useTippyComponent.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"useTippyComponent.d.ts","sourceRoot":"","sources":["useTippyComponent.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAGvD,wBAAgB,iBAAiB,CAC/B,IAAI,GAAE,YAAiB,EACvB,QAAQ,CAAC,EAAE,GAAG;;;;;EAkBf"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAE/B,QAAA,MAAM,SAAS,EAAE,SAmFhB,CAAA;AAED,eAAe,SAAS,CAAA"}
|
package/dist/src/index.d.ts
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
import tippy, { roundArrow } from 'tippy.js';
|
2
|
-
import Tippy from './components/Tippy';
|
3
|
-
import TippySingleton from './components/TippySingleton';
|
4
|
-
import directive from './directive';
|
5
|
-
import plugin from './plugin';
|
6
|
-
import { useTippy } from './composables/useTippy';
|
7
|
-
import { useTippyComponent } from './composables/useTippyComponent';
|
8
|
-
import { useSingleton } from './composables/useSingleton';
|
9
|
-
declare const setDefaultProps: (partialProps: Partial<import("tippy.js").DefaultProps>) => void;
|
10
|
-
export { useTippy, useTippyComponent, roundArrow, tippy, useSingleton, setDefaultProps, Tippy, TippySingleton, directive, plugin, };
|
11
|
-
export * from './types';
|
12
|
-
export default plugin;
|
13
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/src/index.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAKZ,UAAU,EACX,MAAM,UAAU,CAAA;AAEjB,OAAO,KAAK,MAAM,oBAAoB,CAAA;AACtC,OAAO,cAAc,MAAM,6BAA6B,CAAA;AACxD,OAAO,SAAS,MAAM,aAAa,CAAA;AACnC,OAAO,MAAM,MAAM,UAAU,CAAA;AAE7B,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAEzD,QAAA,MAAM,eAAe,kEAAwB,CAAA;AAO7C,OAAO,EACL,QAAQ,EACR,iBAAiB,EACjB,UAAU,EACV,KAAK,EACL,YAAY,EACZ,eAAe,EACf,KAAK,EACL,cAAc,EACd,SAAS,EACT,MAAM,GACP,CAAA;AAED,cAAc,SAAS,CAAA;AACvB,eAAe,MAAM,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,KAAK,CAAA;AAI5B,QAAA,MAAM,MAAM,EAAE,MAQb,CAAA;AAED,eAAe,MAAM,CAAA"}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import Tippy from '../components/Tippy';
|
2
|
-
import { useTippy } from '../composables';
|
3
|
-
import { Props, Content, DefaultProps, Instance } from 'tippy.js';
|
4
|
-
import { VNode, Ref, Component, UnwrapNestedRefs } from 'vue';
|
5
|
-
export declare type TippyContent = Content | VNode | Component | Ref;
|
6
|
-
export declare type TippyTarget = Element | Element[] | Ref<Element | undefined> | Ref<Element[] | undefined> | null;
|
7
|
-
export declare type TippyOptions = Partial<Omit<Props, 'content' | 'triggerTarget' | 'getReferenceClientRect'> & {
|
8
|
-
content: TippyContent;
|
9
|
-
triggerTarget: TippyTarget;
|
10
|
-
getReferenceClientRect: null | (() => DOMRect & any);
|
11
|
-
}>;
|
12
|
-
export declare type TippyComponent = InstanceType<typeof Tippy> & UnwrapNestedRefs<Pick<ReturnType<typeof useTippy>, 'tippy' | 'refresh' | 'refreshContent' | 'setContent' | 'setProps' | 'destroy' | 'hide' | 'show' | 'disable' | 'enable' | 'unmount' | 'mount' | 'state'>>;
|
13
|
-
export interface TippyPluginOptions {
|
14
|
-
directive?: string;
|
15
|
-
component?: string;
|
16
|
-
componentSingleton?: string;
|
17
|
-
defaultProps?: Partial<DefaultProps>;
|
18
|
-
}
|
19
|
-
export declare type TippyInstance = Instance | Element | undefined;
|
20
|
-
export declare type TippyInstances = Ref<TippyInstance>[] | Ref<TippyInstance[]> | (() => TippyInstance[]);
|
21
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,qBAAqB,CAAA;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACzC,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AACjE,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAA;AAE7D,MAAM,CAAC,OAAO,MAAM,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