@blakesteve/roster 2.4.0 → 2.5.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.
- package/dist/components/organisms/Navbar/Navbar.d.ts +9 -1
- package/dist/roster.cjs.js +8 -8
- package/dist/roster.es.js +695 -690
- package/package.json +1 -1
|
@@ -36,6 +36,14 @@ export interface NavbarProps extends React.HTMLAttributes<HTMLElement>, VariantP
|
|
|
36
36
|
* The logo image is always rendered; this only affects the text element.
|
|
37
37
|
*/
|
|
38
38
|
brandElement?: React.ReactNode;
|
|
39
|
+
/**
|
|
40
|
+
* Extra content rendered between the nav link list and the user menu / Log In
|
|
41
|
+
* button on desktop, and above the nav links in the mobile slide-out panel.
|
|
42
|
+
* Use this for persistent nav-level controls like a search toggle that should
|
|
43
|
+
* coexist with the built-in user menu. Does not replace the user menu —
|
|
44
|
+
* see `actions` for full replacement.
|
|
45
|
+
*/
|
|
46
|
+
navActions?: React.ReactNode;
|
|
39
47
|
/**
|
|
40
48
|
* Auth-gated navigation items appended to the built-in user avatar dropdown
|
|
41
49
|
* on desktop and to the nav section of the mobile slide-out panel. Only
|
|
@@ -43,5 +51,5 @@ export interface NavbarProps extends React.HTMLAttributes<HTMLElement>, VariantP
|
|
|
43
51
|
*/
|
|
44
52
|
userMenuItems?: NavItem[];
|
|
45
53
|
}
|
|
46
|
-
declare const Navbar: ({ logoSrc, brandName, items, activePath, routerElement, user, onLogin, onLogout, onInboxClick, onThemeToggle, actions, brandElement, userMenuItems, className, variant, position, themeMode, notificationVariant, ...props }: NavbarProps) => import("react/jsx-runtime").JSX.Element;
|
|
54
|
+
declare const Navbar: ({ logoSrc, brandName, items, activePath, routerElement, user, onLogin, onLogout, onInboxClick, onThemeToggle, actions, brandElement, navActions, userMenuItems, className, variant, position, themeMode, notificationVariant, ...props }: NavbarProps) => import("react/jsx-runtime").JSX.Element;
|
|
47
55
|
export { Navbar };
|