@nar-bus/lena-ui-shared 1.0.0 → 1.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.
package/dist/index.d.ts CHANGED
@@ -114,12 +114,14 @@ export declare interface ApiResponse<T> {
114
114
  meta: MetaInfo;
115
115
  }
116
116
 
117
- export declare function AppHeader({ breadcrumbs, theme, onThemeChange, user, isAuthenticated, onLogout, onLogin, homeHref, className, }: AppHeaderProps): JSX.Element;
117
+ export declare function AppHeader({ breadcrumbs, theme, onThemeChange, locale, onLocaleChange, user, isAuthenticated, onLogout, onLogin, homeHref, className, }: AppHeaderProps): JSX.Element;
118
118
 
119
119
  export declare interface AppHeaderProps {
120
120
  breadcrumbs: BreadcrumbItem[];
121
121
  theme: 'light' | 'dark' | 'system';
122
122
  onThemeChange: (theme: 'light' | 'dark' | 'system') => void;
123
+ locale?: string;
124
+ onLocaleChange?: (locale: string) => void;
123
125
  user?: AppHeaderUser | null;
124
126
  isAuthenticated?: boolean;
125
127
  onLogout: () => void;