@umituz/web-dashboard 1.0.0 → 1.0.2
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/dist/domain/theme/index.d.ts +45 -0
- package/dist/domain/theme/index.js +180 -0
- package/dist/domain/theme/index.js.map +1 -0
- package/dist/domain/types/index.d.ts +167 -0
- package/dist/domain/types/index.js +2 -0
- package/dist/domain/types/index.js.map +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +768 -0
- package/dist/index.js.map +1 -0
- package/dist/infrastructure/hooks/index.d.ts +36 -0
- package/dist/infrastructure/hooks/index.js +57 -0
- package/dist/infrastructure/hooks/index.js.map +1 -0
- package/dist/infrastructure/utils/index.d.ts +57 -0
- package/dist/infrastructure/utils/index.js +44 -0
- package/dist/infrastructure/utils/index.js.map +1 -0
- package/dist/presentation/index.d.ts +109 -0
- package/dist/presentation/index.js +497 -0
- package/dist/presentation/index.js.map +1 -0
- package/package.json +78 -18
- package/LICENSE +0 -1
- package/README.md +0 -13
- package/src/domain/types.ts +0 -20
- package/src/index.ts +0 -2
package/package.json
CHANGED
|
@@ -1,29 +1,89 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umituz/web-dashboard",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"
|
|
5
|
-
"description": "Dashboard Layout System - Customizable dashboard layouts",
|
|
6
|
-
"main": "./src/index.ts",
|
|
7
|
-
"types": "./src/index.ts",
|
|
8
|
-
"sideEffects": false,
|
|
3
|
+
"version": "1.0.2",
|
|
4
|
+
"description": "Dashboard Layout System - Customizable, themeable dashboard layouts",
|
|
9
5
|
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
10
9
|
"exports": {
|
|
11
|
-
".":
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
|
+
"require": "./dist/index.cjs"
|
|
14
|
+
},
|
|
15
|
+
"./components": {
|
|
16
|
+
"types": "./dist/components/index.d.ts",
|
|
17
|
+
"import": "./dist/components/index.js"
|
|
18
|
+
},
|
|
19
|
+
"./types": {
|
|
20
|
+
"types": "./dist/types/index.d.ts",
|
|
21
|
+
"import": "./dist/types/index.js"
|
|
22
|
+
},
|
|
23
|
+
"./theme": {
|
|
24
|
+
"types": "./dist/theme/index.d.ts",
|
|
25
|
+
"import": "./dist/theme/index.js"
|
|
26
|
+
},
|
|
27
|
+
"./hooks": {
|
|
28
|
+
"types": "./dist/hooks/index.d.ts",
|
|
29
|
+
"import": "./dist/hooks/index.js"
|
|
30
|
+
},
|
|
31
|
+
"./utils": {
|
|
32
|
+
"types": "./dist/utils/index.d.ts",
|
|
33
|
+
"import": "./dist/utils/index.js"
|
|
34
|
+
},
|
|
35
|
+
"./package.json": "./package.json"
|
|
12
36
|
},
|
|
37
|
+
"files": [
|
|
38
|
+
"dist",
|
|
39
|
+
"README.md"
|
|
40
|
+
],
|
|
13
41
|
"scripts": {
|
|
14
|
-
"
|
|
42
|
+
"build": "tsup",
|
|
43
|
+
"dev": "tsup --watch",
|
|
44
|
+
"lint": "eslint src",
|
|
45
|
+
"test": "vitest",
|
|
46
|
+
"prepublishOnly": "npm run build"
|
|
15
47
|
},
|
|
16
|
-
"keywords": ["dashboard", "layout", "sidebar", "react"],
|
|
17
|
-
"author": "umituz",
|
|
18
|
-
"license": "MIT",
|
|
19
48
|
"peerDependencies": {
|
|
20
|
-
"react": "
|
|
21
|
-
"react-dom": "
|
|
22
|
-
|
|
23
|
-
|
|
49
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
50
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
51
|
+
},
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"class-variance-authority": "^0.7.1",
|
|
54
|
+
"clsx": "^2.1.1",
|
|
55
|
+
"tailwind-merge": "^3.5.0",
|
|
56
|
+
"lucide-react": "^0.577.0"
|
|
57
|
+
},
|
|
58
|
+
"devDependencies": {
|
|
59
|
+
"@types/react": "^19.2.14",
|
|
60
|
+
"@types/react-dom": "^19.2.3",
|
|
61
|
+
"@umituz/web-design-system": "^2.0.0",
|
|
62
|
+
"eslint": "^10.0.2",
|
|
63
|
+
"react-i18next": "^16.5.4",
|
|
64
|
+
"react-router-dom": "^7.13.1",
|
|
65
|
+
"tsup": "^8.4.0",
|
|
66
|
+
"typescript": "^5.9.3",
|
|
67
|
+
"vitest": "^4.0.18"
|
|
68
|
+
},
|
|
69
|
+
"keywords": [
|
|
70
|
+
"dashboard",
|
|
71
|
+
"layout",
|
|
72
|
+
"react",
|
|
73
|
+
"typescript",
|
|
74
|
+
"components",
|
|
75
|
+
"admin",
|
|
76
|
+
"sidebar",
|
|
77
|
+
"header"
|
|
78
|
+
],
|
|
79
|
+
"author": "Umit Uz",
|
|
80
|
+
"license": "MIT",
|
|
81
|
+
"repository": {
|
|
82
|
+
"type": "git",
|
|
83
|
+
"url": "git+https://github.com/umituz/web-dashboard.git"
|
|
24
84
|
},
|
|
25
|
-
"
|
|
26
|
-
"
|
|
85
|
+
"bugs": {
|
|
86
|
+
"url": "https://github.com/umituz/web-dashboard/issues"
|
|
27
87
|
},
|
|
28
|
-
"
|
|
88
|
+
"homepage": "https://github.com/umituz/web-dashboard#readme"
|
|
29
89
|
}
|
package/LICENSE
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
MIT License
|
package/README.md
DELETED
package/src/domain/types.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { LucideIcon } from "lucide-react";
|
|
2
|
-
|
|
3
|
-
export interface SidebarItem {
|
|
4
|
-
label: string;
|
|
5
|
-
icon: LucideIcon;
|
|
6
|
-
path: string;
|
|
7
|
-
requiredApp?: 'mobile' | 'web';
|
|
8
|
-
enabled?: boolean;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export interface SidebarGroup {
|
|
12
|
-
title: string;
|
|
13
|
-
items: SidebarItem[];
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export interface DashboardLayoutConfig {
|
|
17
|
-
sidebarGroups: SidebarGroup[];
|
|
18
|
-
brandName?: string;
|
|
19
|
-
brandTagline?: string;
|
|
20
|
-
}
|
package/src/index.ts
DELETED