@starasia/admin 4.4.0 → 4.5.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.
@@ -38,5 +38,11 @@ export interface SidebarMenuGroup {
38
38
  * Boleh CSS color string apa saja (hex, rgb, atau CSS var). Default ke brand color.
39
39
  */
40
40
  color?: string;
41
+ /**
42
+ * Kalau diisi, static `items` tidak dirender. Sebagai gantinya AppLayout
43
+ * merender `<SidebarGroupSlotOutlet slotKey={slotKey}>` di area items.
44
+ * Consumer inject konten dinamis dengan `<SidebarGroupSlot slotKey={slotKey}>`.
45
+ */
46
+ slotKey?: string;
41
47
  }
42
48
  export type SidebarMenus = SidebarMenuGroup[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@starasia/admin",
3
- "version": "4.4.0",
3
+ "version": "4.5.1",
4
4
  "description": "Core Admin Dashboard for starasia UI",
5
5
  "author": "Rizki Izzul Haq",
6
6
  "main": "dist/index.umd.js",
@@ -9,6 +9,10 @@
9
9
  "files": [
10
10
  "dist"
11
11
  ],
12
+ "scripts": {
13
+ "dev": "vite --config vite.config.ts --port 3002",
14
+ "build": "vite build --config vite.config.ts"
15
+ },
12
16
  "keywords": [],
13
17
  "license": "ISC",
14
18
  "type": "module",
@@ -70,8 +74,10 @@
70
74
  "vite": "^5.4.21",
71
75
  "vite-plugin-dts": "^3.9.1"
72
76
  },
73
- "scripts": {
74
- "dev": "vite --config vite.config.ts --port 3002",
75
- "build": "vite build --config vite.config.ts"
77
+ "pnpm": {
78
+ "overrides": {
79
+ "react": "18.3.1",
80
+ "react-dom": "18.3.1"
81
+ }
76
82
  }
77
- }
83
+ }