@umituz/web-dashboard 1.0.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/LICENSE ADDED
@@ -0,0 +1 @@
1
+ MIT License
package/README.md ADDED
@@ -0,0 +1,13 @@
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
package/package.json ADDED
@@ -0,0 +1,29 @@
1
+ {
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,
9
+ "type": "module",
10
+ "exports": {
11
+ ".": "./src/index.ts"
12
+ },
13
+ "scripts": {
14
+ "version:patch": "npm version patch -m 'chore: release v%s'"
15
+ },
16
+ "keywords": ["dashboard", "layout", "sidebar", "react"],
17
+ "author": "umituz",
18
+ "license": "MIT",
19
+ "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"
24
+ },
25
+ "publishConfig": {
26
+ "access": "public"
27
+ },
28
+ "files": ["src"]
29
+ }
@@ -0,0 +1,20 @@
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 ADDED
@@ -0,0 +1,2 @@
1
+ export * from './domain/types';
2
+ export * from './presentation';