@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/package.json CHANGED
@@ -1,29 +1,89 @@
1
1
  {
2
2
  "name": "@umituz/web-dashboard",
3
- "version": "1.0.0",
4
- "private": false,
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
- ".": "./src/index.ts"
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
- "version:patch": "npm version patch -m 'chore: release v%s'"
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": ">=19.0.0",
21
- "react-dom": ">=19.0.0",
22
- "react-router-dom": ">=6.0.0",
23
- "react-i18next": ">=13.0.0"
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
- "publishConfig": {
26
- "access": "public"
85
+ "bugs": {
86
+ "url": "https://github.com/umituz/web-dashboard/issues"
27
87
  },
28
- "files": ["src"]
88
+ "homepage": "https://github.com/umituz/web-dashboard#readme"
29
89
  }
package/LICENSE DELETED
@@ -1 +0,0 @@
1
- MIT License
package/README.md DELETED
@@ -1,13 +0,0 @@
1
- # @umituz/web-dashboard
2
-
3
- Dashboard Layout System for React applications.
4
-
5
- ## Installation
6
-
7
- ```bash
8
- npm install @umituz/web-dashboard
9
- ```
10
-
11
- ## License
12
-
13
- MIT
@@ -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
@@ -1,2 +0,0 @@
1
- export * from './domain/types';
2
- export * from './presentation';