@nar-bus/lena-ui-shared 1.3.8 → 1.3.9

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.ts CHANGED
@@ -136,7 +136,7 @@ export declare interface ApiResponse<T> {
136
136
  meta: MetaInfo;
137
137
  }
138
138
 
139
- export declare function AppHeader({ breadcrumbs, theme, onThemeChange, locale, onLocaleChange, user, isAuthenticated, onLogout, onLogin, homeHref, centerSlot, className, logo, sidebarCollapsed, onToggleSidebarCollapse, }: AppHeaderProps): JSX.Element;
139
+ export declare function AppHeader({ breadcrumbs, theme, onThemeChange, locale, onLocaleChange, user, isAuthenticated, onLogout, onLogin, homeHref, centerSlot, rightActionsSlot, className, logo, sidebarCollapsed, onToggleSidebarCollapse, }: AppHeaderProps): JSX.Element;
140
140
 
141
141
  export declare interface AppHeaderLogo {
142
142
  imageSrc?: string;
@@ -156,6 +156,8 @@ export declare interface AppHeaderProps {
156
156
  onLogin?: () => void;
157
157
  homeHref?: string;
158
158
  centerSlot?: ReactNode;
159
+ /** Optional slot rendered to the left of locale/theme/user controls */
160
+ rightActionsSlot?: ReactNode;
159
161
  className?: string;
160
162
  /** Optional logo displayed at the left side of the header */
161
163
  logo?: AppHeaderLogo;
@@ -1644,6 +1646,21 @@ export declare type GradientPair = [topColor: string, bottomColor: string];
1644
1646
 
1645
1647
  declare function Header({ children, icon: Icon, iconClassName, subtitle, actions, gradient, className, }: LenaPanelHeaderProps): JSX.Element;
1646
1648
 
1649
+ export declare function HeaderCreateButton({ label, icon, children, contentClassName, className, }: HeaderCreateButtonProps): JSX.Element;
1650
+
1651
+ export declare interface HeaderCreateButtonProps {
1652
+ /** Button label text */
1653
+ label: string;
1654
+ /** Custom icon — defaults to Plus */
1655
+ icon?: ReactNode;
1656
+ /** DropdownMenu items rendered inside the dropdown content */
1657
+ children: ReactNode;
1658
+ /** Additional class for DropdownMenuContent */
1659
+ contentClassName?: string;
1660
+ /** Additional class for the trigger button */
1661
+ className?: string;
1662
+ }
1663
+
1647
1664
  export declare type HeaderGradient = 'teal' | 'navy' | 'cherry' | 'emerald' | 'amber' | 'violet' | 'rose' | 'indigo' | 'orange';
1648
1665
 
1649
1666
  export declare function HeaderQuickSearch({ placeholder, value, onValueChange, open, onOpenChange, loading, shortcutKey, shouldFilter, className, children, }: HeaderQuickSearchProps): JSX.Element;