@retinalabsllc/zairusjs 21.2.2 → 21.2.5

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
@@ -1243,6 +1243,11 @@ interface NotificationItem3 {
1243
1243
  createdAt: string | Date;
1244
1244
  }
1245
1245
  interface UniversalHome3Props {
1246
+ avatarSrc?: string | null;
1247
+ organizations?: any[];
1248
+ activeOrgId?: string;
1249
+ onOrganizationSelect?: (orgId: string) => void;
1250
+ onLogout?: () => Promise<void>;
1246
1251
  createApplicationAction?: HomeActionBtn3;
1247
1252
  checkApplicationAction?: HomeActionBtn3;
1248
1253
  notifications?: NotificationItem3[];
@@ -1271,9 +1276,9 @@ interface WorkspaceItem {
1271
1276
  interface RootSidebarProps {
1272
1277
  NavItem2s: NavItem2[];
1273
1278
  currentPath: string;
1274
- isMobileOpen: boolean;
1275
- closeMobile: () => void;
1276
- openMobile: () => void;
1279
+ isMobileOpen?: boolean;
1280
+ closeMobile?: () => void;
1281
+ openMobile?: () => void;
1277
1282
  onNavClick?: (e: React.MouseEvent<HTMLAnchorElement>, path: string) => void;
1278
1283
  avatarSrc?: string | null;
1279
1284
  title?: string;
@@ -1286,7 +1291,7 @@ interface RootSidebarProps {
1286
1291
  showLogoutAction?: boolean;
1287
1292
  onLogout?: () => Promise<void>;
1288
1293
  }
1289
- 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;
1290
1295
 
1291
1296
  interface UniversalMember3 {
1292
1297
  id: string;
@@ -1354,6 +1359,7 @@ interface UniversalSettings2Props {
1354
1359
  declare const UniversalSettings2: React.FC<UniversalSettings2Props>;
1355
1360
 
1356
1361
  interface UniversalDeveloperSettingsProps {
1362
+ onBackHref?: string;
1357
1363
  initialPublicKey: string;
1358
1364
  initialWebhookUrl: string;
1359
1365
  isReadOnly?: boolean;
package/dist/index.d.ts CHANGED
@@ -1243,6 +1243,11 @@ interface NotificationItem3 {
1243
1243
  createdAt: string | Date;
1244
1244
  }
1245
1245
  interface UniversalHome3Props {
1246
+ avatarSrc?: string | null;
1247
+ organizations?: any[];
1248
+ activeOrgId?: string;
1249
+ onOrganizationSelect?: (orgId: string) => void;
1250
+ onLogout?: () => Promise<void>;
1246
1251
  createApplicationAction?: HomeActionBtn3;
1247
1252
  checkApplicationAction?: HomeActionBtn3;
1248
1253
  notifications?: NotificationItem3[];
@@ -1271,9 +1276,9 @@ interface WorkspaceItem {
1271
1276
  interface RootSidebarProps {
1272
1277
  NavItem2s: NavItem2[];
1273
1278
  currentPath: string;
1274
- isMobileOpen: boolean;
1275
- closeMobile: () => void;
1276
- openMobile: () => void;
1279
+ isMobileOpen?: boolean;
1280
+ closeMobile?: () => void;
1281
+ openMobile?: () => void;
1277
1282
  onNavClick?: (e: React.MouseEvent<HTMLAnchorElement>, path: string) => void;
1278
1283
  avatarSrc?: string | null;
1279
1284
  title?: string;
@@ -1286,7 +1291,7 @@ interface RootSidebarProps {
1286
1291
  showLogoutAction?: boolean;
1287
1292
  onLogout?: () => Promise<void>;
1288
1293
  }
1289
- 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;
1290
1295
 
1291
1296
  interface UniversalMember3 {
1292
1297
  id: string;
@@ -1354,6 +1359,7 @@ interface UniversalSettings2Props {
1354
1359
  declare const UniversalSettings2: React.FC<UniversalSettings2Props>;
1355
1360
 
1356
1361
  interface UniversalDeveloperSettingsProps {
1362
+ onBackHref?: string;
1357
1363
  initialPublicKey: string;
1358
1364
  initialWebhookUrl: string;
1359
1365
  isReadOnly?: boolean;