gd-bs 6.1.2 → 6.1.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/dropdown/index.js +4 -0
- package/build/icons/svgs/folderPlus.js +1 -1
- package/build/icons/svgs/postcardHeartFill.js +1 -1
- package/build/icons/svgs/trash.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 +4 -0
- package/package.json +2 -2
- package/pnpm-lock.yaml +4 -4
- package/src/components/dropdown/index.ts +3 -0
- package/src/icons/svgs/folderPlus.ts +1 -1
- package/src/icons/svgs/postcardHeartFill.ts +1 -1
- package/src/icons/svgs/trash.ts +1 -1
package/index.html
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gd-bs",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.3",
|
|
4
4
|
"description": "Bootstrap JavaScript, TypeScript and Web Components library.",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"typings": "src/index.d.ts",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@popperjs/core": "^2.11.6",
|
|
37
37
|
"bootstrap": "^5.2.3",
|
|
38
|
-
"bootstrap-icons": "^1.10.
|
|
38
|
+
"bootstrap-icons": "^1.10.4",
|
|
39
39
|
"core-js": "^3.25.5",
|
|
40
40
|
"tippy.js": "^6.3.7"
|
|
41
41
|
},
|
package/pnpm-lock.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
dependencies:
|
|
2
2
|
'@popperjs/core': 2.11.6
|
|
3
3
|
bootstrap: 5.2.3_@popperjs+core@2.11.6
|
|
4
|
-
bootstrap-icons: 1.10.
|
|
4
|
+
bootstrap-icons: 1.10.4
|
|
5
5
|
core-js: 3.25.5
|
|
6
6
|
tippy.js: 6.3.7
|
|
7
7
|
devDependencies:
|
|
@@ -1612,10 +1612,10 @@ packages:
|
|
|
1612
1612
|
node: '>=8'
|
|
1613
1613
|
resolution:
|
|
1614
1614
|
integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==
|
|
1615
|
-
/bootstrap-icons/1.10.
|
|
1615
|
+
/bootstrap-icons/1.10.4:
|
|
1616
1616
|
dev: false
|
|
1617
1617
|
resolution:
|
|
1618
|
-
integrity: sha512-
|
|
1618
|
+
integrity: sha512-eI3HyIUmpGKRiRv15FCZccV+2sreGE2NnmH8mtxV/nPOzQVu0sPEj8HhF1MwjJ31IhjF0rgMvtYOX5VqIzcb/A==
|
|
1619
1619
|
/bootstrap/5.2.3_@popperjs+core@2.11.6:
|
|
1620
1620
|
dependencies:
|
|
1621
1621
|
'@popperjs/core': 2.11.6
|
|
@@ -3282,7 +3282,7 @@ specifiers:
|
|
|
3282
3282
|
autoprefixer: ^10.4.12
|
|
3283
3283
|
babel-loader: ^8.2.5
|
|
3284
3284
|
bootstrap: ^5.2.3
|
|
3285
|
-
bootstrap-icons: ^1.10.
|
|
3285
|
+
bootstrap-icons: ^1.10.4
|
|
3286
3286
|
core-js: ^3.25.5
|
|
3287
3287
|
css-loader: ^6.7.1
|
|
3288
3288
|
dts-bundle: ^0.7.3
|
|
@@ -449,6 +449,9 @@ class _Dropdown extends Base<IDropdownProps> implements IDropdown {
|
|
|
449
449
|
for (let i = 0; i < this._items.length; i++) {
|
|
450
450
|
let item = this._items[i];
|
|
451
451
|
|
|
452
|
+
// Skip disabled items
|
|
453
|
+
if ((item.el as HTMLOptionElement).disabled) { continue; }
|
|
454
|
+
|
|
452
455
|
// See if this item is selected
|
|
453
456
|
if (item.isSelected) {
|
|
454
457
|
// Add the value
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { generateIcon } from "../generate";
|
|
2
2
|
export function folderPlus(height, width, className?) {
|
|
3
|
-
return generateIcon(`<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-folder-plus' viewBox='0 0 16 16'> <path d='m.5 3 .04.87a1.99 1.99 0 0 0-.342 1.311l.637 7A2 2 0 0 0 2.826 14H9v-1H2.826a1 1 0 0 1-.995-.91l-.637-7A1 1 0 0 1 2.19 4h11.62a1 1 0 0 1 .996 1.09L14.54 8h1.005l.256-2.819A2 2 0 0 0 13.81 3H9.828a2 2 0 0 1-1.414-.586l-.828-.828A2 2 0 0 0 6.172 1H2.5a2 2 0 0 0-2
|
|
3
|
+
return generateIcon(`<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-folder-plus' viewBox='0 0 16 16'> <path d='m.5 3 .04.87a1.99 1.99 0 0 0-.342 1.311l.637 7A2 2 0 0 0 2.826 14H9v-1H2.826a1 1 0 0 1-.995-.91l-.637-7A1 1 0 0 1 2.19 4h11.62a1 1 0 0 1 .996 1.09L14.54 8h1.005l.256-2.819A2 2 0 0 0 13.81 3H9.828a2 2 0 0 1-1.414-.586l-.828-.828A2 2 0 0 0 6.172 1H2.5a2 2 0 0 0-2 2Zm5.672-1a1 1 0 0 1 .707.293L7.586 3H2.19c-.24 0-.47.042-.683.12L1.5 2.98a1 1 0 0 1 1-.98h3.672Z'/> <path d='M13.5 9a.5.5 0 0 1 .5.5V11h1.5a.5.5 0 1 1 0 1H14v1.5a.5.5 0 1 1-1 0V12h-1.5a.5.5 0 0 1 0-1H13V9.5a.5.5 0 0 1 .5-.5Z'/> </svg>`, height, width, className);
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { generateIcon } from "../generate";
|
|
2
2
|
export function postcardHeartFill(height, width, className?) {
|
|
3
|
-
return generateIcon(`<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-postcard-heart-fill' viewBox='0 0 16 16'> <path
|
|
3
|
+
return generateIcon(`<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-postcard-heart-fill' viewBox='0 0 16 16'> <path d='M2 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H2Zm6 2.5v7a.5.5 0 0 1-1 0v-7a.5.5 0 0 1 1 0Zm3.5.878c1.482-1.42 4.795 1.392 0 4.622-4.795-3.23-1.482-6.043 0-4.622ZM2 5.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5Zm0 2a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5Zm0 2a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5Z'/> </svg>`, height, width, className);
|
|
4
4
|
}
|
package/src/icons/svgs/trash.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { generateIcon } from "../generate";
|
|
2
2
|
export function trash(height, width, className?) {
|
|
3
|
-
return generateIcon(`<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-trash' viewBox='0 0 16 16'> <path d='M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.
|
|
3
|
+
return generateIcon(`<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-trash' viewBox='0 0 16 16'> <path d='M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5Zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5Zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6Z'/> <path d='M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1ZM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118ZM2.5 3h11V2h-11v1Z'/> </svg>`, height, width, className);
|
|
4
4
|
}
|