@viasoftbr/shared-ui 0.0.3 → 0.0.4

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.
@@ -12,6 +12,7 @@ interface AuthContextType {
12
12
  }
13
13
  export declare const AuthProvider: React.FC<{
14
14
  children: React.ReactNode;
15
+ onNavigate?: (path: string) => void;
15
16
  }>;
16
17
  export declare function useAuth(): AuthContextType;
17
18
  export {};
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { QueryClient } from '@tanstack/react-query';
3
+ export interface SharedUiProviderProps {
4
+ children: React.ReactNode;
5
+ client?: QueryClient;
6
+ }
7
+ export declare function SharedUiProvider({ children, client }: SharedUiProviderProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,4 @@
1
1
  import { ThemeProvider } from './ThemeContext';
2
2
  import { AuthProvider, useAuth } from './AuthContext';
3
- export { ThemeProvider, AuthProvider, useAuth, };
3
+ import { SharedUiProvider } from './SharedUiProvider';
4
+ export { ThemeProvider, AuthProvider, useAuth, SharedUiProvider, };