gd-bs 6.3.1 → 6.3.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/toast/index.js +5 -0
- package/build/icons/svgs/brilliance.js +1 -1
- package/build/icons/svgs/exposure.js +1 -1
- package/build/icons/svgs/highlights.js +1 -1
- package/build/icons/svgs/noiseReduction.js +1 -1
- package/build/icons/svgs/shadows.js +1 -1
- package/build/icons/svgs/signStopLights.js +1 -1
- package/build/icons/svgs/vignette.js +1 -1
- package/dist/gd-bs-icons.js +1 -1
- package/dist/gd-bs-icons.min.js +1 -1
- package/dist/gd-bs.js +1 -1
- package/dist/gd-bs.min.js +1 -1
- package/index.html +1 -1
- package/package.json +2 -2
- package/pnpm-lock.yaml +4 -4
- package/src/components/toast/index.ts +6 -1
- package/src/icons/svgs/brilliance.ts +1 -1
- package/src/icons/svgs/exposure.ts +1 -1
- package/src/icons/svgs/highlights.ts +1 -1
- package/src/icons/svgs/noiseReduction.ts +1 -1
- package/src/icons/svgs/shadows.ts +1 -1
- package/src/icons/svgs/signStopLights.ts +1 -1
- package/src/icons/svgs/vignette.ts +1 -1
|
@@ -114,6 +114,11 @@ var _Toast = /** @class */ (function (_super) {
|
|
|
114
114
|
_this.props.onClick(_this.el, _this.props.data);
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
|
+
// See if we are auto-hiding this toast
|
|
118
|
+
if (this.props.options && this.props.options.autohide) {
|
|
119
|
+
// Wait for the delay
|
|
120
|
+
setTimeout(this.hide.bind(this), this.props.options.delay || 5000);
|
|
121
|
+
}
|
|
117
122
|
};
|
|
118
123
|
/**
|
|
119
124
|
* Public Interface
|
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.brilliance = void 0;
|
|
4
4
|
var generate_1 = require("../generate");
|
|
5
5
|
function brilliance(height, width, className) {
|
|
6
|
-
return (0, generate_1.generateIcon)("<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-brilliance' viewBox='0 0 16 16'> <path
|
|
6
|
+
return (0, generate_1.generateIcon)("<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-brilliance' viewBox='0 0 16 16'> <path d='M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16ZM1 8a7 7 0 0 0 7 7 3.5 3.5 0 1 0 0-7 3.5 3.5 0 1 1 0-7 7 7 0 0 0-7 7Z'/> </svg>", height, width, className);
|
|
7
7
|
}
|
|
8
8
|
exports.brilliance = brilliance;
|
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.exposure = void 0;
|
|
4
4
|
var generate_1 = require("../generate");
|
|
5
5
|
function exposure(height, width, className) {
|
|
6
|
-
return (0, generate_1.generateIcon)("<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-exposure' viewBox='0 0 16 16'> <path d='M8.5 4a.5.5 0 0 0-1 0v2h-2a.5.5 0 0 0 0 1h2v2a.5.5 0 0 0 1 0V7h2a.5.5 0 0 0 0-1h-2V4Zm-3 7a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Z'/> <path
|
|
6
|
+
return (0, generate_1.generateIcon)("<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-exposure' viewBox='0 0 16 16'> <path d='M8.5 4a.5.5 0 0 0-1 0v2h-2a.5.5 0 0 0 0 1h2v2a.5.5 0 0 0 1 0V7h2a.5.5 0 0 0 0-1h-2V4Zm-3 7a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Z'/> <path d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0ZM1 8a7 7 0 1 1 14 0A7 7 0 0 1 1 8Z'/> </svg>", height, width, className);
|
|
7
7
|
}
|
|
8
8
|
exports.exposure = exposure;
|
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.highlights = void 0;
|
|
4
4
|
var generate_1 = require("../generate");
|
|
5
5
|
function highlights(height, width, className) {
|
|
6
|
-
return (0, generate_1.generateIcon)("<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-highlights' viewBox='0 0 16 16'> <path
|
|
6
|
+
return (0, generate_1.generateIcon)("<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-highlights' viewBox='0 0 16 16'> <path d='M16 8A8 8 0 1 0 0 8a8 8 0 0 0 16 0Zm-8 5v1H4.5a.502.502 0 0 0-.093.009A7.029 7.029 0 0 1 3.1 13H8Zm0-1H2.255a6.998 6.998 0 0 1-.581-1H8v1Zm-6.71-2a6.96 6.96 0 0 1-.22-1H8v1H1.29ZM1 8c0-.34.024-.673.07-1H8v1H1Zm.29-2c.103-.345.231-.68.384-1H8v1H1.29Zm.965-2c.25-.36.534-.694.846-1H8v1H2.255Zm2.137-2A6.967 6.967 0 0 1 8 1v1H4.392Z'/> </svg>", height, width, className);
|
|
7
7
|
}
|
|
8
8
|
exports.highlights = highlights;
|
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.noiseReduction = void 0;
|
|
4
4
|
var generate_1 = require("../generate");
|
|
5
5
|
function noiseReduction(height, width, className) {
|
|
6
|
-
return (0, generate_1.generateIcon)("<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-noise-reduction' viewBox='0 0 16 16'> <path d='M13 5.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm-1 1a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm-1 1a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm-1 1a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm-1 1a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm-1 1a.5.5 0 1 1-1 0 .5.5 0 0 1 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.098.297a6.99 6.99 0 0 1-.3.3.5.5 0 0 0-.75.614 7.056 7.056 0 0 1-.455.298.503.503 0 0 0-.555.3 6.95 6.95 0 0 1-1.092.417.5.5 0 1 0-.749.172 7.04 7.04 0 0 1-1.592.091.5.5 0 1 0-.282-.021 6.971 6.971 0 0 1-1.364-.27A.498.498 0 0 0 5.5 14a.5.5 0 0 0-.473.339 6.976 6.976 0 0 1-.668-.36A.499.499 0 0 0 5 13.5a.5.5 0 1 0-.875.33A6.993 6.993 0 0 1 1 8Z'/> </svg>", height, width, className);
|
|
7
7
|
}
|
|
8
8
|
exports.noiseReduction = noiseReduction;
|
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.shadows = void 0;
|
|
4
4
|
var generate_1 = require("../generate");
|
|
5
5
|
function shadows(height, width, className) {
|
|
6
|
-
return (0, generate_1.generateIcon)("<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-shadows' viewBox='0 0 16 16'> <path
|
|
6
|
+
return (0, generate_1.generateIcon)("<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-shadows' viewBox='0 0 16 16'> <path d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Zm-8 7a.5.5 0 0 1 0-1h3.5c.032 0 .063.003.093.009A7.032 7.032 0 0 0 12.9 13H8a.5.5 0 0 1 0-1h5.745c.22-.315.415-.65.581-1H8a.5.5 0 0 1 0-1h6.71a7.03 7.03 0 0 0 .22-1H8a.5.5 0 0 1 0-1h7c0-.34-.024-.673-.07-1H8a.5.5 0 0 1 0-1h6.71a6.949 6.949 0 0 0-.384-1H8a.5.5 0 0 1 0-1h5.745a7.035 7.035 0 0 0-.846-1H8a.5.5 0 0 1 0-1h3.608A7 7 0 1 0 8 15Z'/> </svg>", height, width, className);
|
|
7
7
|
}
|
|
8
8
|
exports.shadows = shadows;
|
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.signStopLights = void 0;
|
|
4
4
|
var generate_1 = require("../generate");
|
|
5
5
|
function signStopLights(height, width, className) {
|
|
6
|
-
return (0, generate_1.generateIcon)("<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-sign-stop-lights' viewBox='0 0 16 16'> <path
|
|
6
|
+
return (0, generate_1.generateIcon)("<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-sign-stop-lights' viewBox='0 0 16 16'> <path d='M6 4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V4Zm2 2a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm0 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm1 2a1 1 0 1 0-2 0 1 1 0 0 0 2 0Z'/> <path d='M9.05.435c-.58-.58-1.52-.58-2.1 0L.436 6.95c-.58.58-.58 1.519 0 2.098l6.516 6.516c.58.58 1.519.58 2.098 0l6.516-6.516c.58-.58.58-1.519 0-2.098L9.05.435Zm-1.4.7a.495.495 0 0 1 .7 0l6.516 6.515a.495.495 0 0 1 0 .7L8.35 14.866a.495.495 0 0 1-.7 0L1.134 8.35a.495.495 0 0 1 0-.7L7.65 1.134Z'/> </svg>", height, width, className);
|
|
7
7
|
}
|
|
8
8
|
exports.signStopLights = signStopLights;
|
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.vignette = void 0;
|
|
4
4
|
var generate_1 = require("../generate");
|
|
5
5
|
function vignette(height, width, className) {
|
|
6
|
-
return (0, generate_1.generateIcon)("<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-vignette' viewBox='0 0 16 16'> <path
|
|
6
|
+
return (0, generate_1.generateIcon)("<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-vignette' viewBox='0 0 16 16'> <path d='M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Z'/> <path d='M8.5 4.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm0 7a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm1.683-6.281a.5.5 0 1 1-.866-.5.5.5 0 0 1 .866.5Zm-3.5 6.062a.5.5 0 1 1-.866-.5.5.5 0 0 1 .866.5Zm4.598-4.598a.5.5 0 1 1-.5-.866.5.5 0 0 1 .5.866Zm-6.062 3.5a.5.5 0 1 1-.5-.866.5.5 0 0 1 .5.866ZM11.5 8.5a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1Zm-7 0a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1Zm6.281 1.683a.5.5 0 1 1 .5-.866.5.5 0 0 1-.5.866Zm-6.062-3.5a.5.5 0 1 1 .5-.866.5.5 0 0 1-.5.866Zm4.598 4.598a.5.5 0 1 1 .866-.5.5.5 0 0 1-.866.5Zm-3.5-6.062a.5.5 0 1 1 .866-.5.5.5 0 0 1-.866.5Z'/> </svg>", height, width, className);
|
|
7
7
|
}
|
|
8
8
|
exports.vignette = vignette;
|