@retinalabsllc/zairusjs 21.2.1 → 21.2.3

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/index.d.mts CHANGED
@@ -1210,6 +1210,7 @@ declare const HomeHuddleCalendar: React.FC<HomeHuddleCalendarProps>;
1210
1210
 
1211
1211
  interface UniversalApplication {
1212
1212
  id: string;
1213
+ name?: string;
1213
1214
  type: string;
1214
1215
  timeString: string;
1215
1216
  icon?: any;
@@ -1242,6 +1243,11 @@ interface NotificationItem3 {
1242
1243
  createdAt: string | Date;
1243
1244
  }
1244
1245
  interface UniversalHome3Props {
1246
+ avatarSrc?: string | null;
1247
+ organizations?: any[];
1248
+ activeOrgId?: string;
1249
+ onOrganizationSelect?: (orgId: string) => void;
1250
+ onLogout?: () => Promise<void>;
1245
1251
  createApplicationAction?: HomeActionBtn3;
1246
1252
  checkApplicationAction?: HomeActionBtn3;
1247
1253
  notifications?: NotificationItem3[];
@@ -1270,9 +1276,9 @@ interface WorkspaceItem {
1270
1276
  interface RootSidebarProps {
1271
1277
  NavItem2s: NavItem2[];
1272
1278
  currentPath: string;
1273
- isMobileOpen: boolean;
1274
- closeMobile: () => void;
1275
- openMobile: () => void;
1279
+ isMobileOpen?: boolean;
1280
+ closeMobile?: () => void;
1281
+ openMobile?: () => void;
1276
1282
  onNavClick?: (e: React.MouseEvent<HTMLAnchorElement>, path: string) => void;
1277
1283
  avatarSrc?: string | null;
1278
1284
  title?: string;
@@ -1285,7 +1291,7 @@ interface RootSidebarProps {
1285
1291
  showLogoutAction?: boolean;
1286
1292
  onLogout?: () => Promise<void>;
1287
1293
  }
1288
- declare function RootSidebar({ NavItem2s, currentPath, isMobileOpen, closeMobile, openMobile, onNavClick, avatarSrc, title, subtitle, homeUrl, showWorkspaceSwitcher, workspaces, activeWorkspaceId, onSwitchWorkspace, showLogoutAction, onLogout }: RootSidebarProps): React.JSX.Element;
1294
+ declare function RootSidebar({ NavItem2s, currentPath, onNavClick, showLogoutAction, onLogout }: RootSidebarProps): React.JSX.Element;
1289
1295
 
1290
1296
  interface UniversalMember3 {
1291
1297
  id: string;
package/dist/index.d.ts CHANGED
@@ -1210,6 +1210,7 @@ declare const HomeHuddleCalendar: React.FC<HomeHuddleCalendarProps>;
1210
1210
 
1211
1211
  interface UniversalApplication {
1212
1212
  id: string;
1213
+ name?: string;
1213
1214
  type: string;
1214
1215
  timeString: string;
1215
1216
  icon?: any;
@@ -1242,6 +1243,11 @@ interface NotificationItem3 {
1242
1243
  createdAt: string | Date;
1243
1244
  }
1244
1245
  interface UniversalHome3Props {
1246
+ avatarSrc?: string | null;
1247
+ organizations?: any[];
1248
+ activeOrgId?: string;
1249
+ onOrganizationSelect?: (orgId: string) => void;
1250
+ onLogout?: () => Promise<void>;
1245
1251
  createApplicationAction?: HomeActionBtn3;
1246
1252
  checkApplicationAction?: HomeActionBtn3;
1247
1253
  notifications?: NotificationItem3[];
@@ -1270,9 +1276,9 @@ interface WorkspaceItem {
1270
1276
  interface RootSidebarProps {
1271
1277
  NavItem2s: NavItem2[];
1272
1278
  currentPath: string;
1273
- isMobileOpen: boolean;
1274
- closeMobile: () => void;
1275
- openMobile: () => void;
1279
+ isMobileOpen?: boolean;
1280
+ closeMobile?: () => void;
1281
+ openMobile?: () => void;
1276
1282
  onNavClick?: (e: React.MouseEvent<HTMLAnchorElement>, path: string) => void;
1277
1283
  avatarSrc?: string | null;
1278
1284
  title?: string;
@@ -1285,7 +1291,7 @@ interface RootSidebarProps {
1285
1291
  showLogoutAction?: boolean;
1286
1292
  onLogout?: () => Promise<void>;
1287
1293
  }
1288
- declare function RootSidebar({ NavItem2s, currentPath, isMobileOpen, closeMobile, openMobile, onNavClick, avatarSrc, title, subtitle, homeUrl, showWorkspaceSwitcher, workspaces, activeWorkspaceId, onSwitchWorkspace, showLogoutAction, onLogout }: RootSidebarProps): React.JSX.Element;
1294
+ declare function RootSidebar({ NavItem2s, currentPath, onNavClick, showLogoutAction, onLogout }: RootSidebarProps): React.JSX.Element;
1289
1295
 
1290
1296
  interface UniversalMember3 {
1291
1297
  id: string;