@imagexmedia/bootstrap 0.0.2 → 0.0.4-beta.1
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 +6 -2
- package/types/bootstrap.d.ts +29 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imagexmedia/bootstrap",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.4-beta.1",
|
|
5
5
|
"description": "The ImageX SWAT Bootstrap package.",
|
|
6
6
|
"author": "ImageX Media",
|
|
7
7
|
"license": "MIT",
|
|
@@ -13,8 +13,12 @@
|
|
|
13
13
|
"files": [
|
|
14
14
|
"LICENSE",
|
|
15
15
|
"README.md",
|
|
16
|
-
"dist"
|
|
16
|
+
"dist",
|
|
17
|
+
"types"
|
|
17
18
|
],
|
|
19
|
+
"engines": {
|
|
20
|
+
"node": ">=22"
|
|
21
|
+
},
|
|
18
22
|
"scripts": {
|
|
19
23
|
"build": "rm -rf dist && tsc -b && mkdir -p packs && npm pack --pack-destination packs"
|
|
20
24
|
},
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { Alert } from 'bootstrap/js/dist/alert'
|
|
2
|
+
import type { Button } from 'bootstrap/js/dist/button'
|
|
3
|
+
import type { Carousel } from 'bootstrap/js/dist/carousel'
|
|
4
|
+
import type { Collapse } from 'bootstrap/js/dist/collapse'
|
|
5
|
+
import type { Dropdown } from 'bootstrap/js/dist/dropdown'
|
|
6
|
+
import type { Modal } from 'bootstrap/js/dist/modal'
|
|
7
|
+
import type { Offcanvas } from 'bootstrap/js/dist/offcanvas'
|
|
8
|
+
import type { Popover } from 'bootstrap/js/dist/popover'
|
|
9
|
+
import type { Scrollspy } from 'bootstrap/js/dist/scrollspy'
|
|
10
|
+
import type { Tab } from 'bootstrap/js/dist/tab'
|
|
11
|
+
import type { Toast } from 'bootstrap/js/dist/toast'
|
|
12
|
+
import type { Tooltip } from 'bootstrap/js/dist/tooltip'
|
|
13
|
+
|
|
14
|
+
declare global {
|
|
15
|
+
interface Window {
|
|
16
|
+
Alert: typeof Alert
|
|
17
|
+
Button: typeof Button
|
|
18
|
+
Carousel: typeof Carousel
|
|
19
|
+
Collapse: typeof Collapse
|
|
20
|
+
Dropdown: typeof Dropdown
|
|
21
|
+
Modal: typeof Modal
|
|
22
|
+
Offcanvas: typeof Offcanvas
|
|
23
|
+
Popover: typeof Popover
|
|
24
|
+
Scrollspy: typeof Scrollspy
|
|
25
|
+
Tab: typeof Tab
|
|
26
|
+
Toast: typeof Toast
|
|
27
|
+
Tooltip: typeof Tooltip
|
|
28
|
+
}
|
|
29
|
+
}
|