gd-bs 5.8.1 → 5.8.2

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/package.json CHANGED
@@ -1,61 +1,61 @@
1
- {
2
- "name": "gd-bs",
3
- "version": "5.8.1",
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 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
- "post-build": "node ./post-build",
13
- "clean": "node ./clean.js",
14
- "docs": "typedoc",
15
- "generate-icons": "node ./generateIcons",
16
- "package": "npm run all && npm run docs",
17
- "prod": "webpack --mode=production",
18
- "prod-icons": "webpack --mode=production --config webpack.icons.js",
19
- "typings": "dts-bundle --configJson dts-bundle.json"
20
- },
21
- "repository": {
22
- "type": "git",
23
- "url": "git+https://github.com/gunjandatta/gd-bs.git"
24
- },
25
- "keywords": [
26
- "Bootstrap",
27
- "TypeScript"
28
- ],
29
- "author": "Gunjan Datta <me@dattabase.com> (https://dattabase.com)",
30
- "license": "MIT",
31
- "bugs": {
32
- "url": "https://github.com/gunjandatta/gd-bs/issues"
33
- },
34
- "homepage": "https://dattabase.com/extras/bs",
35
- "dependencies": {
36
- "@popperjs/core": "^2.11.5",
37
- "bootstrap": "^5.2.0",
38
- "bootstrap-icons": "^1.9.1",
39
- "core-js": "^3.24.0",
40
- "tippy.js": "^6.3.7"
41
- },
42
- "devDependencies": {
43
- "@babel/core": "^7.18.9",
44
- "@babel/preset-env": "^7.18.9",
45
- "@types/node": "^18.6.2",
46
- "autoprefixer": "^10.4.7",
47
- "babel-loader": "^8.2.5",
48
- "css-loader": "^6.7.1",
49
- "dts-bundle": "^0.7.3",
50
- "html-loader": "^4.1.0",
51
- "postcss-loader": "^7.0.1",
52
- "sass": "^1.54.0",
53
- "sass-loader": "^13.0.2",
54
- "style-loader": "^3.3.1",
55
- "ts-loader": "^9.3.1",
56
- "typedoc": "^0.23.9",
57
- "typescript": "^4.7.4",
58
- "webpack": "^5.74.0",
59
- "webpack-cli": "^4.10.0"
60
- }
1
+ {
2
+ "name": "gd-bs",
3
+ "version": "5.8.2",
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 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
+ "post-build": "node ./post-build",
13
+ "clean": "node ./clean.js",
14
+ "docs": "typedoc",
15
+ "generate-icons": "node ./generateIcons",
16
+ "package": "npm run all && npm run docs",
17
+ "prod": "webpack --mode=production",
18
+ "prod-icons": "webpack --mode=production --config webpack.icons.js",
19
+ "typings": "dts-bundle --configJson dts-bundle.json"
20
+ },
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "git+https://github.com/gunjandatta/gd-bs.git"
24
+ },
25
+ "keywords": [
26
+ "Bootstrap",
27
+ "TypeScript"
28
+ ],
29
+ "author": "Gunjan Datta <me@dattabase.com> (https://dattabase.com)",
30
+ "license": "MIT",
31
+ "bugs": {
32
+ "url": "https://github.com/gunjandatta/gd-bs/issues"
33
+ },
34
+ "homepage": "https://dattabase.com/extras/bs",
35
+ "dependencies": {
36
+ "@popperjs/core": "^2.11.5",
37
+ "bootstrap": "^5.2.0",
38
+ "bootstrap-icons": "^1.9.1",
39
+ "core-js": "^3.24.0",
40
+ "tippy.js": "^6.3.7"
41
+ },
42
+ "devDependencies": {
43
+ "@babel/core": "^7.18.9",
44
+ "@babel/preset-env": "^7.18.9",
45
+ "@types/node": "^18.6.2",
46
+ "autoprefixer": "^10.4.7",
47
+ "babel-loader": "^8.2.5",
48
+ "css-loader": "^6.7.1",
49
+ "dts-bundle": "^0.7.3",
50
+ "html-loader": "^4.1.0",
51
+ "postcss-loader": "^7.0.1",
52
+ "sass": "^1.54.0",
53
+ "sass-loader": "^13.0.2",
54
+ "style-loader": "^3.3.1",
55
+ "ts-loader": "^9.3.1",
56
+ "typedoc": "^0.23.9",
57
+ "typescript": "^4.7.4",
58
+ "webpack": "^5.74.0",
59
+ "webpack-cli": "^4.10.0"
60
+ }
61
61
  }
package/pnpm-lock.yaml CHANGED
@@ -10,6 +10,7 @@ devDependencies:
10
10
  '@types/node': 18.6.2
11
11
  autoprefixer: 10.4.7
12
12
  babel-loader: 8.2.5_c6d75f4dbec394724794fdd3c4eb4fbf
13
+ compression-webpack-plugin: 10.0.0_webpack@5.74.0
13
14
  css-loader: 6.7.1_webpack@5.74.0
14
15
  dts-bundle: 0.7.3
15
16
  html-loader: 4.1.0_webpack@5.74.0
@@ -1483,6 +1484,15 @@ packages:
1483
1484
  hasBin: true
1484
1485
  resolution:
1485
1486
  integrity: sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==
1487
+ /ajv-formats/2.1.1:
1488
+ dependencies:
1489
+ ajv: 8.11.0
1490
+ dev: true
1491
+ peerDependenciesMeta:
1492
+ ajv:
1493
+ optional: true
1494
+ resolution:
1495
+ integrity: sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==
1486
1496
  /ajv-keywords/3.5.2_ajv@6.12.6:
1487
1497
  dependencies:
1488
1498
  ajv: 6.12.6
@@ -1491,6 +1501,15 @@ packages:
1491
1501
  ajv: ^6.9.1
1492
1502
  resolution:
1493
1503
  integrity: sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==
1504
+ /ajv-keywords/5.1.0_ajv@8.11.0:
1505
+ dependencies:
1506
+ ajv: 8.11.0
1507
+ fast-deep-equal: 3.1.3
1508
+ dev: true
1509
+ peerDependencies:
1510
+ ajv: ^8.8.2
1511
+ resolution:
1512
+ integrity: sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==
1494
1513
  /ajv/6.12.6:
1495
1514
  dependencies:
1496
1515
  fast-deep-equal: 3.1.3
@@ -1500,6 +1519,15 @@ packages:
1500
1519
  dev: true
1501
1520
  resolution:
1502
1521
  integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==
1522
+ /ajv/8.11.0:
1523
+ dependencies:
1524
+ fast-deep-equal: 3.1.3
1525
+ json-schema-traverse: 1.0.0
1526
+ require-from-string: 2.0.2
1527
+ uri-js: 4.4.1
1528
+ dev: true
1529
+ resolution:
1530
+ integrity: sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==
1503
1531
  /ansi-styles/3.2.1:
1504
1532
  dependencies:
1505
1533
  color-convert: 1.9.3
@@ -1785,6 +1813,18 @@ packages:
1785
1813
  dev: true
1786
1814
  resolution:
1787
1815
  integrity: sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==
1816
+ /compression-webpack-plugin/10.0.0_webpack@5.74.0:
1817
+ dependencies:
1818
+ schema-utils: 4.0.0
1819
+ serialize-javascript: 6.0.0
1820
+ webpack: 5.74.0_webpack-cli@4.10.0
1821
+ dev: true
1822
+ engines:
1823
+ node: '>= 14.15.0'
1824
+ peerDependencies:
1825
+ webpack: ^5.1.0
1826
+ resolution:
1827
+ integrity: sha512-wLXLIBwpul/ALcm7Aj+69X0pYT3BYt6DdPn3qrgBIh9YejV9Bju9ShhlAsjujLyWMo6SAweFIWaUoFmXZNuNrg==
1788
1828
  /concat-map/0.0.1:
1789
1829
  dev: true
1790
1830
  resolution:
@@ -2318,6 +2358,10 @@ packages:
2318
2358
  dev: true
2319
2359
  resolution:
2320
2360
  integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==
2361
+ /json-schema-traverse/1.0.0:
2362
+ dev: true
2363
+ resolution:
2364
+ integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==
2321
2365
  /json5/2.2.1:
2322
2366
  dev: true
2323
2367
  engines:
@@ -2792,6 +2836,12 @@ packages:
2792
2836
  node: '>= 0.10'
2793
2837
  resolution:
2794
2838
  integrity: sha512-G08Dxvm4iDN3MLM0EsP62EDV9IuhXPR6blNz6Utcp7zyV3tr4HVNINt6MpaRWbxoOHT3Q7YN2P+jaHX8vUbgog==
2839
+ /require-from-string/2.0.2:
2840
+ dev: true
2841
+ engines:
2842
+ node: '>=0.10.0'
2843
+ resolution:
2844
+ integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==
2795
2845
  /resolve-cwd/3.0.0:
2796
2846
  dependencies:
2797
2847
  resolve-from: 5.0.0
@@ -2886,6 +2936,17 @@ packages:
2886
2936
  node: '>= 10.13.0'
2887
2937
  resolution:
2888
2938
  integrity: sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==
2939
+ /schema-utils/4.0.0:
2940
+ dependencies:
2941
+ '@types/json-schema': 7.0.11
2942
+ ajv: 8.11.0
2943
+ ajv-formats: 2.1.1
2944
+ ajv-keywords: 5.1.0_ajv@8.11.0
2945
+ dev: true
2946
+ engines:
2947
+ node: '>= 12.13.0'
2948
+ resolution:
2949
+ integrity: sha512-1edyXKgh6XnJsJSQ8mKWXnN/BVaIbFMLpouRUrXgVq7WYne5kw3MW7UPhO44uRXQSIpTSXoJbmrR2X0w9kUTyg==
2889
2950
  /semver/6.3.0:
2890
2951
  dev: true
2891
2952
  hasBin: true
@@ -3295,6 +3356,7 @@ specifiers:
3295
3356
  babel-loader: ^8.2.5
3296
3357
  bootstrap: ^5.2.0
3297
3358
  bootstrap-icons: ^1.9.1
3359
+ compression-webpack-plugin: ^10.0.0
3298
3360
  core-js: ^3.24.0
3299
3361
  css-loader: ^6.7.1
3300
3362
  dts-bundle: ^0.7.3
@@ -0,0 +1,14 @@
1
+ // Import the IE fix
2
+ import "./ie";
3
+
4
+ // Bootstrap Components
5
+ import * as Components from "./components";
6
+ export { Components }
7
+
8
+ // TippyJS library
9
+ import tippy from "tippy.js";
10
+ export { tippy }
11
+
12
+ // Bootstrap Global library
13
+ const BS = { Components, tippy }
14
+ window["GD"] = window["GD"] || BS;
@@ -1,21 +1,13 @@
1
1
  // Bootstrap styles
2
2
  import "./bs";
3
3
 
4
- // Import the IE fix
5
- import "./ie";
6
-
7
- // Bootstrap Components
8
- import * as Components from "./components";
9
- export { Components }
10
-
11
- // TippyJS library
12
- import tippy from "tippy.js";
13
- export { tippy }
4
+ // Export the core
5
+ export * from "./index-core";
14
6
 
15
7
  // Icons
16
8
  import { Icons, IconTypes } from "./icons";
17
9
  export { Icons, IconTypes }
18
10
 
19
- // Bootstrap Global library
20
- const BS = { Components, Icons, IconTypes, tippy }
21
- window["GD"] = window["GD"] || BS;
11
+ // Include the Icons in the Global library
12
+ window["GD"].Icons = Icons;
13
+ window["GD"].IconTypes = IconTypes;
package/src/index.ts CHANGED
@@ -1,17 +1,5 @@
1
1
  // Bootstrap styles
2
2
  import "./bs";
3
3
 
4
- // Import the IE fix
5
- import "./ie";
6
-
7
- // Bootstrap Components
8
- import * as Components from "./components";
9
- export { Components }
10
-
11
- // TippyJS library
12
- import tippy from "tippy.js";
13
- export { tippy }
14
-
15
- // Bootstrap Global library
16
- const BS = { Components, tippy }
17
- window["GD"] = window["GD"] || BS;
4
+ // Export the core
5
+ export * from "./index-core";