@starasia/admin 14.58.0 → 14.59.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.
@@ -78,6 +78,20 @@ interface AppLayoutProps {
78
78
  * @default true
79
79
  */
80
80
  resizableSidebar?: boolean;
81
+ /**
82
+ * Group menu (modul) di panel bisa dilipat lewat judulnya — sidebar panjang
83
+ * jadi daftar nama modul + isi modul yang dibuka. Group yang memuat halaman
84
+ * aktif terbuka otomatis saat halamannya dibuka; group lain terlipat sampai
85
+ * dibuka user, dan tidak pernah terlipat otomatis (daftar tidak meloncat
86
+ * setelah klik). Pilihan buka/lipat disimpan per app di localStorage. Group
87
+ * terlipat yang berisi badge menampilkan titik di judulnya.
88
+ *
89
+ * Hanya berlaku saat panel menampilkan lebih dari satu group, dan tidak di
90
+ * icon rail. Jangan dipakai bersama filter teks menu buatan app — hasil
91
+ * filter bisa tersembunyi di group yang terlipat.
92
+ * @default false
93
+ */
94
+ collapsibleGroups?: boolean;
81
95
  /**
82
96
  * Rail navigasi: kolom ikon di kiri panel sidebar (pola ClickUp/Slack).
83
97
  * Item rail memfilter group yang tampil di panel lewat `groupIds`; item tanpa
@@ -119,5 +133,5 @@ export type SidebarTheme = "light" | "dark";
119
133
  * - Embed mode for iframes
120
134
  * - Header actions slot for caller-composed controls (e.g. ModuleSwitcher)
121
135
  */
122
- export declare function AppLayout({ children, headerLeftSlot, profile, isLoadingProfile, onLogout, isLoggingOut, loadingComponent, sidebarHeaderContent, headerActions, profileRole, profileMenuButtons, profileMenuItems, logoutButton, resizableSidebar, rail, sidebarTheme, }: AppLayoutProps): React.JSX.Element;
136
+ export declare function AppLayout({ children, headerLeftSlot, profile, isLoadingProfile, onLogout, isLoggingOut, loadingComponent, sidebarHeaderContent, headerActions, profileRole, profileMenuButtons, profileMenuItems, logoutButton, resizableSidebar, collapsibleGroups, rail, sidebarTheme, }: AppLayoutProps): React.JSX.Element;
123
137
  export {};