gd-bs 5.4.8 → 5.5.1
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/listGroup/index.js +1 -1
- package/build/components/popover/index.js +5 -0
- package/build/components/tooltip/index.js +5 -0
- package/build/icons/svgs/bank.js +1 -1
- package/build/icons/svgs/houseHeart.js +1 -1
- package/build/icons/svgs/houseHeartFill.js +1 -1
- package/build/icons/svgs/pentagon.js +1 -1
- package/build/icons/svgs/pentagonFill.js +1 -1
- package/build/icons/svgs/pentagonHalf.js +1 -1
- package/build/icons/svgs/tools.js +1 -1
- package/build/icons/svgs/xLg.js +1 -1
- package/build/index-core.js +14 -0
- package/dist/gd-bs-icons.js +956 -796
- package/dist/gd-bs-icons.min.js +1 -1
- package/dist/gd-bs.d.ts +8 -2
- package/dist/gd-bs.js +913 -758
- package/dist/gd-bs.min.js +1 -1
- package/index.html +2 -4
- package/package.json +13 -13
- package/pnpm-lock.yaml +695 -645
- package/src/components/listGroup/index.ts +1 -1
- 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
- package/src/icons/svgs/bank.ts +1 -1
- package/src/icons/svgs/houseHeart.ts +1 -1
- package/src/icons/svgs/houseHeartFill.ts +1 -1
- package/src/icons/svgs/pentagon.ts +1 -1
- package/src/icons/svgs/pentagonFill.ts +1 -1
- package/src/icons/svgs/pentagonHalf.ts +1 -1
- package/src/icons/svgs/tools.ts +1 -1
- package/src/icons/svgs/xLg.ts +1 -1
- package/src/index-core.ts +14 -0
|
@@ -53,7 +53,7 @@ var _ListGroup = /** @class */ (function (_super) {
|
|
|
53
53
|
__extends(_ListGroup, _super);
|
|
54
54
|
// Constructor
|
|
55
55
|
function _ListGroup(props, template, itemTemplate) {
|
|
56
|
-
if (template === void 0) { template = props.isTabs && props.colWidth > 0 && props.colWidth
|
|
56
|
+
if (template === void 0) { template = props.isTabs && props.colWidth > 0 && props.colWidth <= 12 ? templates_1.HTMLTabs : templates_1.HTML; }
|
|
57
57
|
var _this = _super.call(this, template, props) || this;
|
|
58
58
|
_this._items = null;
|
|
59
59
|
// Configure the collapse
|
|
@@ -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
|
package/build/icons/svgs/bank.js
CHANGED
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.bank = void 0;
|
|
4
4
|
var generate_1 = require("../generate");
|
|
5
5
|
function bank(height, width, className) {
|
|
6
|
-
return generate_1.generateIcon("<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-bank' viewBox='0 0 16 16'> <path d='
|
|
6
|
+
return generate_1.generateIcon("<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-bank' viewBox='0 0 16 16'> <path d='m8 0 6.61 3h.89a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5H15v7a.5.5 0 0 1 .485.38l.5 2a.498.498 0 0 1-.485.62H.5a.498.498 0 0 1-.485-.62l.5-2A.501.501 0 0 1 1 13V6H.5a.5.5 0 0 1-.5-.5v-2A.5.5 0 0 1 .5 3h.89L8 0ZM3.777 3h8.447L8 1 3.777 3ZM2 6v7h1V6H2Zm2 0v7h2.5V6H4Zm3.5 0v7h1V6h-1Zm2 0v7H12V6H9.5ZM13 6v7h1V6h-1Zm2-1V4H1v1h14Zm-.39 9H1.39l-.25 1h13.72l-.25-1Z'/> </svg>", height, width, className);
|
|
7
7
|
}
|
|
8
8
|
exports.bank = bank;
|
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.houseHeart = void 0;
|
|
4
4
|
var generate_1 = require("../generate");
|
|
5
5
|
function houseHeart(height, width, className) {
|
|
6
|
-
return generate_1.generateIcon("<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-house-heart' viewBox='0 0 16 16'> <path
|
|
6
|
+
return generate_1.generateIcon("<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-house-heart' viewBox='0 0 16 16'> <path d='M8 6.982C9.664 5.309 13.825 8.236 8 12 2.175 8.236 6.336 5.309 8 6.982Z'/> <path d='M8.707 1.5a1 1 0 0 0-1.414 0L.646 8.146a.5.5 0 0 0 .708.707L2 8.207V13.5A1.5 1.5 0 0 0 3.5 15h9a1.5 1.5 0 0 0 1.5-1.5V8.207l.646.646a.5.5 0 0 0 .708-.707L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.707 1.5ZM13 7.207V13.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V7.207l5-5 5 5Z'/> </svg>", height, width, className);
|
|
7
7
|
}
|
|
8
8
|
exports.houseHeart = houseHeart;
|
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.houseHeartFill = void 0;
|
|
4
4
|
var generate_1 = require("../generate");
|
|
5
5
|
function houseHeartFill(height, width, className) {
|
|
6
|
-
return generate_1.generateIcon("<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-house-heart-fill' viewBox='0 0 16 16'> <path
|
|
6
|
+
return generate_1.generateIcon("<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-house-heart-fill' viewBox='0 0 16 16'> <path d='M7.293 1.5a1 1 0 0 1 1.414 0L11 3.793V2.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v3.293l2.354 2.353a.5.5 0 0 1-.708.707L8 2.207 1.354 8.853a.5.5 0 1 1-.708-.707L7.293 1.5Z'/> <path d='m14 9.293-6-6-6 6V13.5A1.5 1.5 0 0 0 3.5 15h9a1.5 1.5 0 0 0 1.5-1.5V9.293Zm-6-.811c1.664-1.673 5.825 1.254 0 5.018-5.825-3.764-1.664-6.691 0-5.018Z'/> </svg>", height, width, className);
|
|
7
7
|
}
|
|
8
8
|
exports.houseHeartFill = houseHeartFill;
|
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.pentagon = void 0;
|
|
4
4
|
var generate_1 = require("../generate");
|
|
5
5
|
function pentagon(height, width, className) {
|
|
6
|
-
return generate_1.generateIcon("<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-pentagon' viewBox='0 0 16 16'> <path d='
|
|
6
|
+
return generate_1.generateIcon("<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-pentagon' viewBox='0 0 16 16'> <path d='M7.685 1.545a.5.5 0 0 1 .63 0l6.263 5.088a.5.5 0 0 1 .161.539l-2.362 7.479a.5.5 0 0 1-.476.349H4.099a.5.5 0 0 1-.476-.35L1.26 7.173a.5.5 0 0 1 .161-.54l6.263-5.087Zm8.213 5.28a.5.5 0 0 0-.162-.54L8.316.257a.5.5 0 0 0-.631 0L.264 6.286a.5.5 0 0 0-.162.538l2.788 8.827a.5.5 0 0 0 .476.349h9.268a.5.5 0 0 0 .476-.35l2.788-8.826Z'/> </svg>", height, width, className);
|
|
7
7
|
}
|
|
8
8
|
exports.pentagon = pentagon;
|
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.pentagonFill = void 0;
|
|
4
4
|
var generate_1 = require("../generate");
|
|
5
5
|
function pentagonFill(height, width, className) {
|
|
6
|
-
return generate_1.generateIcon("<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-pentagon-fill' viewBox='0 0 16 16'> <path d='
|
|
6
|
+
return generate_1.generateIcon("<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-pentagon-fill' viewBox='0 0 16 16'> <path d='M7.685.256a.5.5 0 0 1 .63 0l7.421 6.03a.5.5 0 0 1 .162.538l-2.788 8.827a.5.5 0 0 1-.476.349H3.366a.5.5 0 0 1-.476-.35L.102 6.825a.5.5 0 0 1 .162-.538l7.42-6.03Z'/> </svg>", height, width, className);
|
|
7
7
|
}
|
|
8
8
|
exports.pentagonFill = pentagonFill;
|
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.pentagonHalf = void 0;
|
|
4
4
|
var generate_1 = require("../generate");
|
|
5
5
|
function pentagonHalf(height, width, className) {
|
|
6
|
-
return generate_1.generateIcon("<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-pentagon-half' viewBox='0 0 16 16'> <path d='m8 1.288 6.
|
|
6
|
+
return generate_1.generateIcon("<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-pentagon-half' viewBox='0 0 16 16'> <path d='m8 1.288 6.578 5.345a.5.5 0 0 1 .161.539l-2.362 7.479a.5.5 0 0 1-.476.349H8V1.288Zm7.898 5.536a.5.5 0 0 0-.162-.538L8.316.256a.5.5 0 0 0-.631 0L.264 6.286a.5.5 0 0 0-.162.538l2.788 8.827a.5.5 0 0 0 .476.349h9.268a.5.5 0 0 0 .476-.35l2.788-8.826Z'/> </svg>", height, width, className);
|
|
7
7
|
}
|
|
8
8
|
exports.pentagonHalf = pentagonHalf;
|
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.tools = void 0;
|
|
4
4
|
var generate_1 = require("../generate");
|
|
5
5
|
function tools(height, width, className) {
|
|
6
|
-
return generate_1.generateIcon("<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-tools' viewBox='0 0 16 16'> <path d='M1 0 0 1l2.2 3.081a1 1 0 0 0 .815.419h.07a1 1 0 0 1 .708.293l2.675 2.675-2.617 2.654A3.003 3.003 0 0 0 0 13a3 3 0 1 0 5.878-.851l2.654-2.617.968.968-.305.914a1 1 0 0 0 .242 1.023l3.
|
|
6
|
+
return generate_1.generateIcon("<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-tools' viewBox='0 0 16 16'> <path d='M1 0 0 1l2.2 3.081a1 1 0 0 0 .815.419h.07a1 1 0 0 1 .708.293l2.675 2.675-2.617 2.654A3.003 3.003 0 0 0 0 13a3 3 0 1 0 5.878-.851l2.654-2.617.968.968-.305.914a1 1 0 0 0 .242 1.023l3.27 3.27a.997.997 0 0 0 1.414 0l1.586-1.586a.997.997 0 0 0 0-1.414l-3.27-3.27a1 1 0 0 0-1.023-.242L10.5 9.5l-.96-.96 2.68-2.643A3.005 3.005 0 0 0 16 3c0-.269-.035-.53-.102-.777l-2.14 2.141L12 4l-.364-1.757L13.777.102a3 3 0 0 0-3.675 3.68L7.462 6.46 4.793 3.793a1 1 0 0 1-.293-.707v-.071a1 1 0 0 0-.419-.814L1 0Zm9.646 10.646a.5.5 0 0 1 .708 0l2.914 2.915a.5.5 0 0 1-.707.707l-2.915-2.914a.5.5 0 0 1 0-.708ZM3 11l.471.242.529.026.287.445.445.287.026.529L5 13l-.242.471-.026.529-.445.287-.287.445-.529.026L3 15l-.471-.242L2 14.732l-.287-.445L1.268 14l-.026-.529L1 13l.242-.471.026-.529.445-.287.287-.445.529-.026L3 11Z'/> </svg>", height, width, className);
|
|
7
7
|
}
|
|
8
8
|
exports.tools = tools;
|
package/build/icons/svgs/xLg.js
CHANGED
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.xLg = void 0;
|
|
4
4
|
var generate_1 = require("../generate");
|
|
5
5
|
function xLg(height, width, className) {
|
|
6
|
-
return generate_1.generateIcon("<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-x-lg' viewBox='0 0 16 16'> <path
|
|
6
|
+
return generate_1.generateIcon("<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-x-lg' viewBox='0 0 16 16'> <path d='M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z'/> </svg>", height, width, className);
|
|
7
7
|
}
|
|
8
8
|
exports.xLg = xLg;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.tippy = exports.Components = void 0;
|
|
4
|
+
// Import the IE fix
|
|
5
|
+
require("./ie");
|
|
6
|
+
// Bootstrap Components
|
|
7
|
+
var Components = require("./components");
|
|
8
|
+
exports.Components = Components;
|
|
9
|
+
// TippyJS library
|
|
10
|
+
var libs_1 = require("./libs");
|
|
11
|
+
Object.defineProperty(exports, "tippy", { enumerable: true, get: function () { return libs_1.tippy; } });
|
|
12
|
+
// Bootstrap Global library
|
|
13
|
+
var BS = { Components: Components, tippy: libs_1.tippy };
|
|
14
|
+
window["GD"] = window["GD"] || BS;
|