gd-bs 5.7.1 → 5.7.2

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.
@@ -27,7 +27,7 @@ var __assign = (this && this.__assign) || function () {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.Popover = exports.PopoverPlacements = exports.PopoverTypes = void 0;
30
- var tippy_js_1 = require("tippy.js");
30
+ var tippy_1 = require("../tippy");
31
31
  var button_1 = require("../button");
32
32
  var base_1 = require("../base");
33
33
  var common_1 = require("../common");
@@ -207,7 +207,7 @@ var _Popover = /** @class */ (function (_super) {
207
207
  inertia: true,
208
208
  interactive: true,
209
209
  placement: placement,
210
- plugins: [tippy_js_1.animateFill, tippy_js_1.followCursor, tippy_js_1.inlinePositioning, tippy_js_1.sticky],
210
+ plugins: [tippy_1.animateFill, tippy_1.followCursor, tippy_1.inlinePositioning, tippy_1.sticky],
211
211
  theme: theme
212
212
  }, this.props.options);
213
213
  // See if we are targeting an element
@@ -255,7 +255,7 @@ var _Popover = /** @class */ (function (_super) {
255
255
  _this.props.options && _this.props.options.onCreate ? _this.props.options.onCreate(tippyObj) : null;
256
256
  };
257
257
  // Create the tippy
258
- this._tippy = (0, tippy_js_1.default)(this.el, options);
258
+ this._tippy = (0, tippy_1.default)(this.el, options);
259
259
  };
260
260
  /**
261
261
  * Public Interface
@@ -0,0 +1,10 @@
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;
@@ -27,7 +27,7 @@ var __assign = (this && this.__assign) || function () {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.Tooltip = exports.TooltipPlacements = exports.TooltipTypes = void 0;
30
- var tippy_js_1 = require("tippy.js");
30
+ var tippy_1 = require("../tippy");
31
31
  var base_1 = require("../base");
32
32
  var button_1 = require("../button");
33
33
  var common_1 = require("../common");
@@ -276,7 +276,7 @@ var _Tooltip = /** @class */ (function (_super) {
276
276
  inertia: true,
277
277
  interactive: false,
278
278
  placement: placement,
279
- plugins: [tippy_js_1.animateFill, tippy_js_1.followCursor, tippy_js_1.inlinePositioning, tippy_js_1.sticky],
279
+ plugins: [tippy_1.animateFill, tippy_1.followCursor, tippy_1.inlinePositioning, tippy_1.sticky],
280
280
  theme: theme
281
281
  }, this.props.options);
282
282
  // Create the tooltip content element
@@ -303,7 +303,7 @@ var _Tooltip = /** @class */ (function (_super) {
303
303
  _this.props.options && _this.props.options.onCreate ? _this.props.options.onCreate(tippyObj) : null;
304
304
  };
305
305
  // Create the tippy
306
- this._tippy = (0, tippy_js_1.default)(this.props.target || this.el, options);
306
+ this._tippy = (0, tippy_1.default)(this.props.target || this.el, options);
307
307
  };
308
308
  Object.defineProperty(_Tooltip.prototype, "button", {
309
309
  /**
@@ -9,12 +9,12 @@ require("./ie");
9
9
  var Components = require("./components");
10
10
  exports.Components = Components;
11
11
  // TippyJS library
12
- var tippy_js_1 = require("tippy.js");
13
- exports.tippy = tippy_js_1.default;
12
+ var tippy_1 = require("./components/tippy");
13
+ exports.tippy = tippy_1.default;
14
14
  // Icons
15
15
  var icons_1 = require("./icons");
16
16
  Object.defineProperty(exports, "Icons", { enumerable: true, get: function () { return icons_1.Icons; } });
17
17
  Object.defineProperty(exports, "IconTypes", { enumerable: true, get: function () { return icons_1.IconTypes; } });
18
18
  // Bootstrap Global library
19
- var BS = { Components: Components, Icons: icons_1.Icons, IconTypes: icons_1.IconTypes, tippy: tippy_js_1.default };
19
+ var BS = { Components: Components, Icons: icons_1.Icons, IconTypes: icons_1.IconTypes, tippy: tippy_1.default };
20
20
  window["GD"] = window["GD"] || BS;
package/build/index.js CHANGED
@@ -9,8 +9,8 @@ require("./ie");
9
9
  var Components = require("./components");
10
10
  exports.Components = Components;
11
11
  // TippyJS library
12
- var tippy = require("tippy.js");
13
- exports.tippy = tippy;
12
+ var tippy_1 = require("./components/tippy");
13
+ exports.tippy = tippy_1.default;
14
14
  // Bootstrap Global library
15
- var BS = { Components: Components, tippy: tippy };
15
+ var BS = { Components: Components, tippy: tippy_1.default };
16
16
  window["GD"] = window["GD"] || BS;