@xn-lib/directives 0.1.14 → 0.1.18

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.
@@ -1,5 +1,11 @@
1
1
  export * from './src';
2
- import { Directive } from 'vue';
2
+ import { Directive, App } from 'vue';
3
+ import type { TooltipsOptions } from './src';
3
4
  declare const vXnTooltips: import("vue").ObjectDirective<any, any, string, any>;
4
5
  export declare const tooltipDirective: Directive;
5
6
  export { vXnTooltips };
7
+ export type { TooltipsOptions };
8
+ export declare const TooltipsPlugin: {
9
+ install(app: App, defaultOptions?: Partial<TooltipsOptions>): void;
10
+ };
11
+ export default TooltipsPlugin;
@@ -1,7 +1,7 @@
1
1
  import { ObjectDirective, VNode } from 'vue';
2
2
  import { Placement } from '@popperjs/core';
3
3
  import '../../styles/popover.scss';
4
- export declare type IOptions = {
4
+ export type TooltipsOptions = {
5
5
  arrow: boolean;
6
6
  disabled: boolean;
7
7
  placement: Placement;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@xn-lib/directives",
4
- "version": "0.1.14",
4
+ "version": "0.1.18",
5
5
  "description": "",
6
6
  "main": "./dist/index.cjs",
7
7
  "module": "./dist/index.mjs",