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/build/components/popover/index.js +3 -3
- package/build/components/tooltip/index.js +3 -3
- package/build/index-icons.js +3 -3
- package/build/index.js +3 -3
- package/dist/gd-bs-icons.js +3 -14
- package/dist/gd-bs-icons.min.js +1 -1
- package/dist/gd-bs.js +18 -19
- package/dist/gd-bs.min.js +1 -1
- package/package.json +1 -1
- package/src/components/popover/index.ts +2 -2
- package/src/components/tooltip/index.ts +2 -2
- package/src/index-icons.ts +1 -1
- package/src/index.ts +1 -1
- package/build/components/tippy.js +0 -10
- package/src/components/tippy.ts +0 -12
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import tippy, { Instance, animateFill, followCursor, inlinePositioning, sticky } from "
|
|
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 "
|
|
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
|
/**
|
package/src/index-icons.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -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;
|
package/src/components/tippy.ts
DELETED
|
@@ -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;
|