@adminlte/react 0.1.0
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/CHANGELOG.md +161 -0
- package/README.md +454 -0
- package/dist/context/accessibility.js +141 -0
- package/dist/context/body-class-sync.js +22 -0
- package/dist/context/color-mode-context.js +61 -0
- package/dist/context/command-palette-context.js +28 -0
- package/dist/context/html-dir.js +17 -0
- package/dist/context/link-context.js +18 -0
- package/dist/context/lte-behaviors.js +52 -0
- package/dist/context/sidebar-context.js +87 -0
- package/dist/css/adminlte.css +17259 -0
- package/dist/form/button.js +21 -0
- package/dist/form/input-color.js +30 -0
- package/dist/form/input-file.js +29 -0
- package/dist/form/input-flatpickr.js +45 -0
- package/dist/form/input-switch.js +26 -0
- package/dist/form/input-tom-select.js +59 -0
- package/dist/form/input.js +23 -0
- package/dist/form/select.js +25 -0
- package/dist/form/textarea.js +22 -0
- package/dist/hooks/use-card-widget.js +44 -0
- package/dist/hooks/use-direct-chat.js +16 -0
- package/dist/hooks/use-fullscreen.js +44 -0
- package/dist/hooks/use-push-menu.js +54 -0
- package/dist/hooks/use-sortable.js +26 -0
- package/dist/hooks/use-treeview-animation.js +27 -0
- package/dist/index.d.ts +1010 -0
- package/dist/index.js +145 -0
- package/dist/layout/app-content.js +18 -0
- package/dist/layout/auth-layout.js +25 -0
- package/dist/layout/color-mode-toggle.js +67 -0
- package/dist/layout/dashboard-layout.js +101 -0
- package/dist/layout/footer.js +19 -0
- package/dist/layout/sidebar-brand.js +16 -0
- package/dist/layout/sidebar-nav-item.js +46 -0
- package/dist/layout/sidebar-nav.js +43 -0
- package/dist/layout/sidebar-overlay.js +18 -0
- package/dist/layout/sidebar.js +48 -0
- package/dist/layout/topbar.js +128 -0
- package/dist/lib/class-name.js +6 -0
- package/dist/lib/flatten-menu.js +23 -0
- package/dist/tool/datatable.js +45 -0
- package/dist/tool/editor.js +72 -0
- package/dist/tool/modal.js +28 -0
- package/dist/types/direct-chat.js +0 -0
- package/dist/types/layout.js +0 -0
- package/dist/types/menu.js +0 -0
- package/dist/types/theme.js +0 -0
- package/dist/widget/accordion.js +35 -0
- package/dist/widget/alert.js +18 -0
- package/dist/widget/apex-chart.js +40 -0
- package/dist/widget/avatar.js +72 -0
- package/dist/widget/badge.js +20 -0
- package/dist/widget/breadcrumb.js +26 -0
- package/dist/widget/callout.js +11 -0
- package/dist/widget/card.js +84 -0
- package/dist/widget/carousel.js +56 -0
- package/dist/widget/command-palette.js +137 -0
- package/dist/widget/description-block.js +19 -0
- package/dist/widget/direct-chat.js +96 -0
- package/dist/widget/dropdown.js +63 -0
- package/dist/widget/info-box.js +24 -0
- package/dist/widget/list-group.js +47 -0
- package/dist/widget/nav-messages.js +48 -0
- package/dist/widget/nav-notifications.js +40 -0
- package/dist/widget/nav-tasks.js +60 -0
- package/dist/widget/offcanvas.js +61 -0
- package/dist/widget/pagination.js +93 -0
- package/dist/widget/profile-card.js +32 -0
- package/dist/widget/progress-group.js +23 -0
- package/dist/widget/progress.js +25 -0
- package/dist/widget/ratings.js +20 -0
- package/dist/widget/small-box.js +34 -0
- package/dist/widget/sparkline-chart.js +43 -0
- package/dist/widget/spinner.js +26 -0
- package/dist/widget/stepper.js +57 -0
- package/dist/widget/table.js +50 -0
- package/dist/widget/tabs.js +46 -0
- package/dist/widget/timeline.js +15 -0
- package/dist/widget/toast.js +41 -0
- package/dist/widget/tooltip.js +30 -0
- package/dist/widget/world-map.js +42 -0
- package/package.json +116 -0
package/package.json
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@adminlte/react",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "AdminLTE 4 React/Next.js component library",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./dist/index.js",
|
|
8
|
+
"module": "./dist/index.js",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/index.js",
|
|
14
|
+
"default": "./dist/index.js"
|
|
15
|
+
},
|
|
16
|
+
"./css": "./dist/css/adminlte.css"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"dist",
|
|
20
|
+
"CHANGELOG.md"
|
|
21
|
+
],
|
|
22
|
+
"sideEffects": [
|
|
23
|
+
"./dist/css/adminlte.css"
|
|
24
|
+
],
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "https://github.com/ColorlibHQ/adminlte-react"
|
|
28
|
+
},
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/ColorlibHQ/adminlte-react/issues"
|
|
31
|
+
},
|
|
32
|
+
"keywords": [
|
|
33
|
+
"admin",
|
|
34
|
+
"dashboard",
|
|
35
|
+
"template",
|
|
36
|
+
"react",
|
|
37
|
+
"next",
|
|
38
|
+
"bootstrap",
|
|
39
|
+
"components"
|
|
40
|
+
],
|
|
41
|
+
"peerDependencies": {
|
|
42
|
+
"apexcharts": ">=4.0.0",
|
|
43
|
+
"flatpickr": ">=4.6.0",
|
|
44
|
+
"jsvectormap": ">=1.6.0",
|
|
45
|
+
"next": ">=14.0.0",
|
|
46
|
+
"quill": ">=2.0.0",
|
|
47
|
+
"react": ">=18.0.0",
|
|
48
|
+
"react-dom": ">=18.0.0",
|
|
49
|
+
"sortablejs": ">=1.15.0",
|
|
50
|
+
"tabulator-tables": ">=6.0.0",
|
|
51
|
+
"tom-select": ">=2.3.0"
|
|
52
|
+
},
|
|
53
|
+
"peerDependenciesMeta": {
|
|
54
|
+
"apexcharts": {
|
|
55
|
+
"optional": true
|
|
56
|
+
},
|
|
57
|
+
"flatpickr": {
|
|
58
|
+
"optional": true
|
|
59
|
+
},
|
|
60
|
+
"jsvectormap": {
|
|
61
|
+
"optional": true
|
|
62
|
+
},
|
|
63
|
+
"next": {
|
|
64
|
+
"optional": true
|
|
65
|
+
},
|
|
66
|
+
"quill": {
|
|
67
|
+
"optional": true
|
|
68
|
+
},
|
|
69
|
+
"sortablejs": {
|
|
70
|
+
"optional": true
|
|
71
|
+
},
|
|
72
|
+
"tabulator-tables": {
|
|
73
|
+
"optional": true
|
|
74
|
+
},
|
|
75
|
+
"tom-select": {
|
|
76
|
+
"optional": true
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"devDependencies": {
|
|
80
|
+
"@eslint/js": "^10.0.1",
|
|
81
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
82
|
+
"@testing-library/react": "^16.3.2",
|
|
83
|
+
"@types/react": "^19.2.15",
|
|
84
|
+
"@types/react-dom": "^19.2.3",
|
|
85
|
+
"@types/sortablejs": "^1.15.9",
|
|
86
|
+
"admin-lte": "^4.0.0",
|
|
87
|
+
"apexcharts": "^5.13.0",
|
|
88
|
+
"eslint": "^10.4.1",
|
|
89
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
90
|
+
"flatpickr": "^4.6.13",
|
|
91
|
+
"jsdom": "^29.1.1",
|
|
92
|
+
"jsvectormap": "^1.7.0",
|
|
93
|
+
"quill": "^2.0.3",
|
|
94
|
+
"react": "^19.2.6",
|
|
95
|
+
"react-dom": "^19.2.6",
|
|
96
|
+
"sortablejs": "^1.15.7",
|
|
97
|
+
"tabulator-tables": "^6.4.0",
|
|
98
|
+
"tom-select": "^2.6.1",
|
|
99
|
+
"tsup": "^8.5.1",
|
|
100
|
+
"typescript": "^6.0.3",
|
|
101
|
+
"typescript-eslint": "^8.60.0",
|
|
102
|
+
"vitest": "^4.1.7"
|
|
103
|
+
},
|
|
104
|
+
"scripts": {
|
|
105
|
+
"build": "tsup && npm run copy-css && npm run fix-dist",
|
|
106
|
+
"copy-css": "mkdir -p dist/css && cp node_modules/admin-lte/dist/css/adminlte.css dist/css/",
|
|
107
|
+
"fix-dist": "node fix-dist.js",
|
|
108
|
+
"dev": "tsup --watch",
|
|
109
|
+
"type-check": "tsc --noEmit",
|
|
110
|
+
"lint": "eslint src",
|
|
111
|
+
"demo": "pnpm --filter adminlte-react-demo dev",
|
|
112
|
+
"demo:build": "pnpm --filter adminlte-react-demo build",
|
|
113
|
+
"test": "vitest run",
|
|
114
|
+
"test:watch": "vitest"
|
|
115
|
+
}
|
|
116
|
+
}
|