gd-bs 6.1.8 → 6.2.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/components/form/control.js +2 -1
- package/dist/gd-bs-icons.js +1 -1
- package/dist/gd-bs-icons.js.LICENSE.txt +210 -210
- package/dist/gd-bs-icons.min.js +1 -1
- package/dist/gd-bs.js +1 -1
- package/dist/gd-bs.js.LICENSE.txt +210 -210
- package/dist/gd-bs.min.js +1 -1
- package/package.json +3 -3
- package/pnpm-lock.yaml +5 -5
- package/src/components/form/control.ts +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gd-bs",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.2.0",
|
|
4
4
|
"description": "Bootstrap JavaScript, TypeScript and Web Components library.",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"typings": "src/index.d.ts",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
},
|
|
34
34
|
"homepage": "https://dattabase.com/extras/bs",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@popperjs/core": "^2.11.
|
|
36
|
+
"@popperjs/core": "^2.11.8",
|
|
37
37
|
"bootstrap": "^5.3.0",
|
|
38
38
|
"bootstrap-icons": "^1.10.5",
|
|
39
|
-
"core-js": "^3.31.
|
|
39
|
+
"core-js": "^3.31.1",
|
|
40
40
|
"tippy.js": "^6.3.7"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
package/pnpm-lock.yaml
CHANGED
|
@@ -2,7 +2,7 @@ dependencies:
|
|
|
2
2
|
'@popperjs/core': 2.11.8
|
|
3
3
|
bootstrap: 5.3.0_@popperjs+core@2.11.8
|
|
4
4
|
bootstrap-icons: 1.10.5
|
|
5
|
-
core-js: 3.31.
|
|
5
|
+
core-js: 3.31.1
|
|
6
6
|
tippy.js: 6.3.7
|
|
7
7
|
devDependencies:
|
|
8
8
|
'@babel/core': 7.19.3
|
|
@@ -1834,11 +1834,11 @@ packages:
|
|
|
1834
1834
|
dev: true
|
|
1835
1835
|
resolution:
|
|
1836
1836
|
integrity: sha512-ovcyhs2DEBUIE0MGEKHP4olCUW/XYte3Vroyxuh38rD1wAO4dHohsovUC4eAOuzFxE6b+RXvBU3UZ9o0YhUTkA==
|
|
1837
|
-
/core-js/3.31.
|
|
1837
|
+
/core-js/3.31.1:
|
|
1838
1838
|
dev: false
|
|
1839
1839
|
requiresBuild: true
|
|
1840
1840
|
resolution:
|
|
1841
|
-
integrity: sha512-
|
|
1841
|
+
integrity: sha512-2sKLtfq1eFST7l7v62zaqXacPc7uG8ZAya8ogijLhTtaKNcpzpB4TMoTw2Si+8GYKRwFPMMtUT0263QFWFfqyQ==
|
|
1842
1842
|
/cosmiconfig/8.2.0:
|
|
1843
1843
|
dependencies:
|
|
1844
1844
|
import-fresh: 3.3.0
|
|
@@ -3278,13 +3278,13 @@ packages:
|
|
|
3278
3278
|
specifiers:
|
|
3279
3279
|
'@babel/core': ^7.19.3
|
|
3280
3280
|
'@babel/preset-env': ^7.19.4
|
|
3281
|
-
'@popperjs/core': ^2.11.
|
|
3281
|
+
'@popperjs/core': ^2.11.8
|
|
3282
3282
|
'@types/node': ^18.11.0
|
|
3283
3283
|
autoprefixer: ^10.4.12
|
|
3284
3284
|
babel-loader: ^9.1.2
|
|
3285
3285
|
bootstrap: ^5.3.0
|
|
3286
3286
|
bootstrap-icons: ^1.10.5
|
|
3287
|
-
core-js: ^3.31.
|
|
3287
|
+
core-js: ^3.31.1
|
|
3288
3288
|
css-loader: ^6.7.3
|
|
3289
3289
|
dts-bundle: ^0.7.3
|
|
3290
3290
|
postcss-loader: ^7.3.3
|
|
@@ -652,7 +652,8 @@ export class FormControl implements IFormControl {
|
|
|
652
652
|
// Updates the control validation
|
|
653
653
|
updateValidation(elControl: Element, validation: IFormControlValidationResult) {
|
|
654
654
|
// Get the form controls
|
|
655
|
-
let elFormControls = elControl.querySelectorAll(".form-control")
|
|
655
|
+
let elFormControls = elControl.querySelectorAll(".form-control");
|
|
656
|
+
elFormControls = elFormControls.length == 0 ? elControl.querySelectorAll(".form-select") : elFormControls;
|
|
656
657
|
for (let i = 0; i < elFormControls.length; i++) {
|
|
657
658
|
// Ensure the control exists
|
|
658
659
|
let elFormControl = elFormControls[i] as HTMLElement;
|