canx-starter-admin 1.0.0 → 1.1.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 +46 -41
- package/public/css/admin.css +1865 -0
- package/src/controllers/AuthController.ts +3 -41
- package/src/controllers/DashboardController.ts +5 -95
- package/src/controllers/PlaceholderControllers.ts +28 -0
- package/src/controllers/ProfileController.ts +22 -0
- package/src/controllers/UserController.ts +5 -157
- package/src/css/input.css +581 -5
- package/src/routes.ts +9 -0
- package/src/views/Dashboard.tsx +118 -0
- package/src/views/Placeholder.tsx +17 -0
- package/src/views/Profile.tsx +137 -0
- package/src/views/Users.tsx +61 -0
- package/src/views/auth/Login.tsx +72 -0
- package/src/views/layouts/AppLayout.tsx +109 -0
- package/src/views/layouts/GuestLayout.tsx +32 -0
- package/tailwind.config.ts +21 -0
- package/tsconfig.json +7 -1
- package/src/views/layouts/admin.ts +0 -88
package/package.json
CHANGED
|
@@ -1,41 +1,46 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "canx-starter-admin",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Admin Dashboard Starter Kit for CanxJS - CRUD, Data Tables, Charts",
|
|
5
|
-
"author": "CanxJS Team",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"keywords": [
|
|
8
|
-
"canxjs",
|
|
9
|
-
"starter",
|
|
10
|
-
"admin",
|
|
11
|
-
"dashboard",
|
|
12
|
-
"crud",
|
|
13
|
-
"bun"
|
|
14
|
-
],
|
|
15
|
-
"repository": {
|
|
16
|
-
"type": "git",
|
|
17
|
-
"url": "git+https://github.com/chandafa/canx-starters.git",
|
|
18
|
-
"directory": "admin"
|
|
19
|
-
},
|
|
20
|
-
"scripts": {
|
|
21
|
-
"dev": "bun --watch src/app.ts",
|
|
22
|
-
"build": "bun build src/app.ts --outdir dist",
|
|
23
|
-
"start": "bun run dist/app.js",
|
|
24
|
-
"css:dev": "tailwindcss -i ./src/css/input.css -o ./public/css/admin.css --watch",
|
|
25
|
-
"css:build": "tailwindcss -i ./src/css/input.css -o ./public/css/admin.css --minify"
|
|
26
|
-
},
|
|
27
|
-
"dependencies": {
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "canx-starter-admin",
|
|
3
|
+
"version": "1.1.1",
|
|
4
|
+
"description": "Admin Dashboard Starter Kit for CanxJS - CRUD, Data Tables, Charts",
|
|
5
|
+
"author": "CanxJS Team",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"canxjs",
|
|
9
|
+
"starter",
|
|
10
|
+
"admin",
|
|
11
|
+
"dashboard",
|
|
12
|
+
"crud",
|
|
13
|
+
"bun"
|
|
14
|
+
],
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "git+https://github.com/chandafa/canx-starters.git",
|
|
18
|
+
"directory": "admin"
|
|
19
|
+
},
|
|
20
|
+
"scripts": {
|
|
21
|
+
"dev": "bun --watch src/app.ts",
|
|
22
|
+
"build": "bun build src/app.ts --outdir dist --target bun",
|
|
23
|
+
"start": "bun run dist/app.js",
|
|
24
|
+
"css:dev": "npx @tailwindcss/cli -i ./src/css/input.css -o ./public/css/admin.css --watch",
|
|
25
|
+
"css:build": "npx @tailwindcss/cli -i ./src/css/input.css -o ./public/css/admin.css --minify"
|
|
26
|
+
},
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"canx-ui": "workspace:^",
|
|
29
|
+
"canxjs": "workspace:^",
|
|
30
|
+
"react": "^18",
|
|
31
|
+
"react-dom": "^18"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@tailwindcss/postcss": "^4.0.0",
|
|
35
|
+
"@types/node": "^20.0.0",
|
|
36
|
+
"@types/react": "^18",
|
|
37
|
+
"@types/react-dom": "^18",
|
|
38
|
+
"bun-types": "latest",
|
|
39
|
+
"postcss": "^8.4.0",
|
|
40
|
+
"tailwindcss": "^4.0.0",
|
|
41
|
+
"typescript": "^5.3.0"
|
|
42
|
+
},
|
|
43
|
+
"engines": {
|
|
44
|
+
"bun": ">=1.0.0"
|
|
45
|
+
}
|
|
46
|
+
}
|