@blakesteve/roster 2.0.1 → 2.1.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.
@@ -16,11 +16,17 @@ export interface NavbarProps extends React.HTMLAttributes<HTMLElement>, VariantP
16
16
  notificationCount?: number;
17
17
  avatarSrc?: string;
18
18
  };
19
- onLogout: () => void;
20
- onInboxClick: () => void;
19
+ onLogout?: () => void;
20
+ onInboxClick?: () => void;
21
21
  onThemeToggle?: () => void;
22
22
  themeMode?: "light" | "dark";
23
23
  notificationVariant?: "primary" | "error" | "amber" | "success" | "neutral" | "orange" | "teal" | "purple";
24
+ /**
25
+ * Custom content rendered in the right-side action area. When provided it
26
+ * replaces the built-in user menu / "Log In" button on desktop and the user
27
+ * section in the mobile panel, giving you full control over auth UI.
28
+ */
29
+ actions?: React.ReactNode;
24
30
  }
25
- declare const Navbar: ({ logoSrc, brandName, items, activePath, routerElement, user, onLogout, onInboxClick, onThemeToggle, className, variant, position, themeMode, notificationVariant, ...props }: NavbarProps) => import("react/jsx-runtime").JSX.Element;
31
+ declare const Navbar: ({ logoSrc, brandName, items, activePath, routerElement, user, onLogout, onInboxClick, onThemeToggle, actions, className, variant, position, themeMode, notificationVariant, ...props }: NavbarProps) => import("react/jsx-runtime").JSX.Element;
26
32
  export { Navbar };