gd-bs 6.8.5 → 6.8.7
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/floating-ui/index.js +5 -0
- package/dist/gd-bs-icons.js +1 -1
- package/dist/gd-bs-icons.js.LICENSE.txt +220 -220
- package/dist/gd-bs-icons.min.js +1 -1
- package/dist/gd-bs.d.ts +1 -0
- package/dist/gd-bs.js +1 -1
- package/dist/gd-bs.js.LICENSE.txt +219 -219
- package/dist/gd-bs.min.js +1 -1
- package/package.json +60 -60
- package/src/components/floating-ui/index.ts +3 -0
- package/src/components/floating-ui/types.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "gd-bs",
|
|
3
|
-
"version": "6.8.
|
|
4
|
-
"description": "Bootstrap JavaScript, TypeScript and Web Components library.",
|
|
5
|
-
"main": "build/index.js",
|
|
6
|
-
"typings": "src/index.d.ts",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"all": "npm run clean && npm run generate-icons && npm run build && npm run build-icons && npm run prod && npm run prod-icons && npm run typings",
|
|
9
|
-
"build": "tsc && npm run pre-build && npm run build-bs && webpack --mode=development && npm run post-build",
|
|
10
|
-
"build-bs": "webpack --mode=production --config webpack.sass.js",
|
|
11
|
-
"build-icons": "webpack --mode=development --config webpack.icons.js",
|
|
12
|
-
"pre-build": "node ./pre-build",
|
|
13
|
-
"post-build": "node ./post-build",
|
|
14
|
-
"clean": "node ./clean.js",
|
|
15
|
-
"docs": "typedoc",
|
|
16
|
-
"generate-icons": "node ./generateIcons",
|
|
17
|
-
"package": "npm run all && npm run docs",
|
|
18
|
-
"prod": "webpack --mode=production",
|
|
19
|
-
"prod-icons": "webpack --mode=production --config webpack.icons.js",
|
|
20
|
-
"typings": "dts-bundle --configJson dts-bundle.json"
|
|
21
|
-
},
|
|
22
|
-
"repository": {
|
|
23
|
-
"type": "git",
|
|
24
|
-
"url": "git+https://github.com/gunjandatta/gd-bs.git"
|
|
25
|
-
},
|
|
26
|
-
"keywords": [
|
|
27
|
-
"Bootstrap",
|
|
28
|
-
"TypeScript"
|
|
29
|
-
],
|
|
30
|
-
"author": "Gunjan Datta <me@dattabase.com> (https://dattabase.com)",
|
|
31
|
-
"license": "MIT",
|
|
32
|
-
"bugs": {
|
|
33
|
-
"url": "https://github.com/gunjandatta/gd-bs/issues"
|
|
34
|
-
},
|
|
35
|
-
"homepage": "https://dattabase.com/extras/bs",
|
|
36
|
-
"dependencies": {
|
|
37
|
-
"@floating-ui/dom": "^1.7.
|
|
38
|
-
"bootstrap": "^5.3.
|
|
39
|
-
"bootstrap-icons": "^1.13.1",
|
|
40
|
-
"core-js": "^3.
|
|
41
|
-
},
|
|
42
|
-
"devDependencies": {
|
|
43
|
-
"@babel/core": "^7.27.4",
|
|
44
|
-
"@babel/preset-env": "^7.27.2",
|
|
45
|
-
"@types/node": "^18.19.111",
|
|
46
|
-
"autoprefixer": "^10.4.21",
|
|
47
|
-
"babel-loader": "^9.2.1",
|
|
48
|
-
"css-loader": "^6.11.0",
|
|
49
|
-
"dts-bundle": "^0.7.3",
|
|
50
|
-
"postcss-loader": "^7.3.4",
|
|
51
|
-
"sass": "^1.89.2",
|
|
52
|
-
"sass-loader": "^13.3.3",
|
|
53
|
-
"style-loader": "^3.3.4",
|
|
54
|
-
"terser-webpack-plugin": "^5.3.14",
|
|
55
|
-
"ts-loader": "^9.5.2",
|
|
56
|
-
"typedoc": "^0.24.8",
|
|
57
|
-
"typescript": "4.9.5",
|
|
58
|
-
"webpack": "^5.99.9",
|
|
59
|
-
"webpack-cli": "^5.1.4"
|
|
60
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "gd-bs",
|
|
3
|
+
"version": "6.8.7",
|
|
4
|
+
"description": "Bootstrap JavaScript, TypeScript and Web Components library.",
|
|
5
|
+
"main": "build/index.js",
|
|
6
|
+
"typings": "src/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"all": "npm run clean && npm run generate-icons && npm run build && npm run build-icons && npm run prod && npm run prod-icons && npm run typings",
|
|
9
|
+
"build": "tsc && npm run pre-build && npm run build-bs && webpack --mode=development && npm run post-build",
|
|
10
|
+
"build-bs": "webpack --mode=production --config webpack.sass.js",
|
|
11
|
+
"build-icons": "webpack --mode=development --config webpack.icons.js",
|
|
12
|
+
"pre-build": "node ./pre-build",
|
|
13
|
+
"post-build": "node ./post-build",
|
|
14
|
+
"clean": "node ./clean.js",
|
|
15
|
+
"docs": "typedoc",
|
|
16
|
+
"generate-icons": "node ./generateIcons",
|
|
17
|
+
"package": "npm run all && npm run docs",
|
|
18
|
+
"prod": "webpack --mode=production",
|
|
19
|
+
"prod-icons": "webpack --mode=production --config webpack.icons.js",
|
|
20
|
+
"typings": "dts-bundle --configJson dts-bundle.json"
|
|
21
|
+
},
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "git+https://github.com/gunjandatta/gd-bs.git"
|
|
25
|
+
},
|
|
26
|
+
"keywords": [
|
|
27
|
+
"Bootstrap",
|
|
28
|
+
"TypeScript"
|
|
29
|
+
],
|
|
30
|
+
"author": "Gunjan Datta <me@dattabase.com> (https://dattabase.com)",
|
|
31
|
+
"license": "MIT",
|
|
32
|
+
"bugs": {
|
|
33
|
+
"url": "https://github.com/gunjandatta/gd-bs/issues"
|
|
34
|
+
},
|
|
35
|
+
"homepage": "https://dattabase.com/extras/bs",
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@floating-ui/dom": "^1.7.2",
|
|
38
|
+
"bootstrap": "^5.3.7",
|
|
39
|
+
"bootstrap-icons": "^1.13.1",
|
|
40
|
+
"core-js": "^3.44.0"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@babel/core": "^7.27.4",
|
|
44
|
+
"@babel/preset-env": "^7.27.2",
|
|
45
|
+
"@types/node": "^18.19.111",
|
|
46
|
+
"autoprefixer": "^10.4.21",
|
|
47
|
+
"babel-loader": "^9.2.1",
|
|
48
|
+
"css-loader": "^6.11.0",
|
|
49
|
+
"dts-bundle": "^0.7.3",
|
|
50
|
+
"postcss-loader": "^7.3.4",
|
|
51
|
+
"sass": "^1.89.2",
|
|
52
|
+
"sass-loader": "^13.3.3",
|
|
53
|
+
"style-loader": "^3.3.4",
|
|
54
|
+
"terser-webpack-plugin": "^5.3.14",
|
|
55
|
+
"ts-loader": "^9.5.2",
|
|
56
|
+
"typedoc": "^0.24.8",
|
|
57
|
+
"typescript": "4.9.5",
|
|
58
|
+
"webpack": "^5.99.9",
|
|
59
|
+
"webpack-cli": "^5.1.4"
|
|
60
|
+
}
|
|
61
61
|
}
|
|
@@ -99,6 +99,9 @@ class _FloatingUI {
|
|
|
99
99
|
|
|
100
100
|
// Create the event
|
|
101
101
|
document.addEventListener("click", (ev) => {
|
|
102
|
+
// Do nothing if we do not want to hide on click
|
|
103
|
+
if (this._props.options?.hideOnClick == false) { return; }
|
|
104
|
+
|
|
102
105
|
// Do nothing if we toggled this component
|
|
103
106
|
if (this._elTarget.contains(ev.target as HTMLElement)) { return; }
|
|
104
107
|
|