gd-bs 5.7.2 → 5.7.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gd-bs",
3
- "version": "5.7.2",
3
+ "version": "5.7.3",
4
4
  "description": "Bootstrap JavaScript, TypeScript and Web Components library.",
5
5
  "main": "build/index.js",
6
6
  "typings": "src/index.d.ts",
@@ -1,4 +1,4 @@
1
- import tippy, { Instance, animateFill, followCursor, inlinePositioning, sticky } from "../tippy";
1
+ import tippy, { Instance, animateFill, followCursor, inlinePositioning, sticky } from "tippy.js";
2
2
  import { ITippyProps } from "../types";
3
3
  import { IPopover, IPopoverProps } from "./types";
4
4
  import { Button } from "../button";
@@ -243,7 +243,7 @@ class _Popover extends Base<IPopoverProps> implements IPopover {
243
243
  }
244
244
 
245
245
  // Create the tippy
246
- this._tippy = tippy(this.el, options);
246
+ this._tippy = (tippy as any)(this.el, options);
247
247
  }
248
248
 
249
249
  /**
@@ -1,4 +1,4 @@
1
- import tippy, { Instance, animateFill, followCursor, inlinePositioning, sticky } from "../tippy";
1
+ import tippy, { Instance, animateFill, followCursor, inlinePositioning, sticky } from "tippy.js";
2
2
  import { ITippyProps } from "../types";
3
3
  import { ITooltip, ITooltipProps } from "./types";
4
4
  import { IButton } from "../button/types";
@@ -294,7 +294,7 @@ class _Tooltip extends Base<ITooltipProps> {
294
294
  }
295
295
 
296
296
  // Create the tippy
297
- this._tippy = tippy(this.props.target || this.el, options);
297
+ this._tippy = (tippy as any)(this.props.target || this.el, options);
298
298
  }
299
299
 
300
300
  /**
@@ -9,7 +9,7 @@ import * as Components from "./components";
9
9
  export { Components }
10
10
 
11
11
  // TippyJS library
12
- import tippy from "./components/tippy";
12
+ import tippy from "tippy.js";
13
13
  export { tippy }
14
14
 
15
15
  // Icons
package/src/index.ts CHANGED
@@ -9,7 +9,7 @@ import * as Components from "./components";
9
9
  export { Components }
10
10
 
11
11
  // TippyJS library
12
- import tippy from "./components/tippy";
12
+ import tippy from "tippy.js";
13
13
  export { tippy }
14
14
 
15
15
  // Bootstrap Global library
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.sticky = exports.inlinePositioning = exports.followCursor = exports.animateFill = void 0;
4
- var tippyJS = require("tippy.js");
5
- exports.animateFill = tippyJS.animateFill;
6
- exports.followCursor = tippyJS.followCursor;
7
- exports.inlinePositioning = tippyJS.inlinePositioning;
8
- exports.sticky = tippyJS.sticky;
9
- var tippy = (tippyJS.default || tippyJS);
10
- exports.default = tippy;
@@ -1,12 +0,0 @@
1
- import { Instance } from "tippy.js/index.d";
2
- export { Instance }
3
-
4
- import * as tippyJS from "tippy.js";
5
- export const animateFill = tippyJS.animateFill;
6
- export const followCursor = tippyJS.followCursor;
7
- export const inlinePositioning = tippyJS.inlinePositioning;
8
- export const sticky = tippyJS.sticky;
9
-
10
- import { ITippyProps } from "./types";
11
- const tippy: (el: HTMLElement, options: ITippyProps) => Instance = (tippyJS.default || tippyJS) as any;
12
- export default tippy;