gd-bs 5.8.2 → 5.8.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gd-bs",
3
- "version": "5.8.2",
3
+ "version": "5.8.3",
4
4
  "description": "Bootstrap JavaScript, TypeScript and Web Components library.",
5
5
  "main": "build/index.js",
6
6
  "typings": "src/index.d.ts",
@@ -1,13 +1,21 @@
1
1
  // Bootstrap styles
2
2
  import "./bs";
3
3
 
4
- // Export the core
5
- export * from "./index-core";
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 }
6
14
 
7
15
  // Icons
8
16
  import { Icons, IconTypes } from "./icons";
9
17
  export { Icons, IconTypes }
10
18
 
11
- // Include the Icons in the Global library
12
- window["GD"].Icons = Icons;
13
- window["GD"].IconTypes = IconTypes;
19
+ // Bootstrap Global library
20
+ const BS = { Components, Icons, IconTypes, tippy }
21
+ window["GD"] = window["GD"] || BS;
package/src/index.ts CHANGED
@@ -1,5 +1,17 @@
1
1
  // Bootstrap styles
2
2
  import "./bs";
3
3
 
4
- // Export the core
5
- export * from "./index-core";
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,10 +4,10 @@
4
4
  @import "~bootstrap/scss/maps";
5
5
  @import "~bootstrap/scss/mixins";
6
6
  @import "~bootstrap/scss/utilities";
7
+ @import "~bootstrap/scss/root";
7
8
 
8
9
  .bs {
9
10
  // Layout & components
10
- @import "~bootstrap/scss/root";
11
11
  @import "~bootstrap/scss/reboot";
12
12
  @import "~bootstrap/scss/type";
13
13
  @import "~bootstrap/scss/images";
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.tippy = exports.Components = void 0;
4
- // Import the IE fix
5
- require("./ie");
6
- // Bootstrap Components
7
- var Components = require("./components");
8
- exports.Components = Components;
9
- // TippyJS library
10
- var tippy_js_1 = require("tippy.js");
11
- exports.tippy = tippy_js_1.default;
12
- // Bootstrap Global library
13
- var BS = { Components: Components, tippy: tippy_js_1.default };
14
- window["GD"] = window["GD"] || BS;
package/src/index-core.ts DELETED
@@ -1,14 +0,0 @@
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;