gd-bs 5.4.9 → 5.5.0
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/bs.js +1 -1
- package/build/components/popover/index.js +5 -0
- package/build/components/tooltip/index.js +5 -0
- package/dist/gd-bs-icons.js +947 -787
- package/dist/gd-bs-icons.min.js +1 -1
- package/dist/gd-bs.d.ts +8 -2
- package/dist/gd-bs.js +912 -757
- package/dist/gd-bs.min.js +1 -1
- package/package.json +12 -12
- package/pnpm-lock.yaml +691 -639
- package/src/components/popover/index.ts +6 -0
- package/src/components/popover/types.d.ts +3 -0
- package/src/components/tooltip/index.ts +6 -0
- package/src/components/tooltip/types.d.ts +5 -2
|
@@ -288,6 +288,11 @@ var _Popover = /** @class */ (function (_super) {
|
|
|
288
288
|
enumerable: false,
|
|
289
289
|
configurable: true
|
|
290
290
|
});
|
|
291
|
+
// Sets the tippy content
|
|
292
|
+
_Popover.prototype.setContent = function (content) {
|
|
293
|
+
// Set the tippy content
|
|
294
|
+
this.tippy.setContent(content);
|
|
295
|
+
};
|
|
291
296
|
// Shows the popover
|
|
292
297
|
_Popover.prototype.show = function () {
|
|
293
298
|
// See if it's hidden
|
|
@@ -342,6 +342,11 @@ var _Tooltip = /** @class */ (function (_super) {
|
|
|
342
342
|
enumerable: false,
|
|
343
343
|
configurable: true
|
|
344
344
|
});
|
|
345
|
+
// Sets the tippy content
|
|
346
|
+
_Tooltip.prototype.setContent = function (content) {
|
|
347
|
+
// Set the tippy content
|
|
348
|
+
this.tippy.setContent(content);
|
|
349
|
+
};
|
|
345
350
|
// Shows the tooltip
|
|
346
351
|
_Tooltip.prototype.show = function () {
|
|
347
352
|
// See if it's hidden
|