Browse Source

1865-export-bootstrap-js-components (#2214)

Co-authored-by: Paweł Kuna <[email protected]>
Mikołaj Sojka 6 tháng trước cách đây
mục cha
commit
2f8a37252d
3 tập tin đã thay đổi với 35 bổ sung0 xóa
  1. 5 0
      .changeset/forty-pots-happen.md
  2. 15 0
      core/js/tabler.esm.js
  3. 15 0
      core/js/tabler.umd.js

+ 5 - 0
.changeset/forty-pots-happen.md

@@ -0,0 +1,5 @@
+---
+"@tabler/core": patch
+---
+
+Add Bootstrap components to Tabler JS

+ 15 - 0
core/js/tabler.esm.js

@@ -9,3 +9,18 @@ import "./src/toast"
 
 export * as bootstrap from "bootstrap"
 export * as tabler from "./src/tabler"
+
+export {
+	Alert,
+	Modal,
+	Toast,
+	Tooltip,
+	Tab,
+	Button,
+	Carousel,
+	Collapse,
+	Dropdown,
+	Popover,
+	ScrollSpy,
+	Offcanvas
+} from 'bootstrap'

+ 15 - 0
core/js/tabler.umd.js

@@ -11,5 +11,20 @@ import "./src/toast"
 import * as bootstrap from "bootstrap"
 import * as tabler from "./src/tabler"
 
+export {
+	Alert,
+	Modal,
+	Toast,
+	Tooltip,
+	Tab,
+	Button,
+	Carousel,
+	Collapse,
+	Dropdown,
+	Popover,
+	ScrollSpy,
+	Offcanvas
+} from 'bootstrap'
+
 globalThis.bootstrap = bootstrap
 globalThis.tabler = tabler