@zealicsolutions/web-ui 0.3.88 → 0.3.89
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/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/contexts/AccountButtonContext/AccountButtonContext.d.ts +2 -0
- package/dist/cjs/src/contexts/AccountButtonContext/AccountButtonContextProvider.d.ts +2 -1
- package/dist/cjs/src/contexts/hooks/useAccountButtonContext.d.ts +1 -0
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/contexts/AccountButtonContext/AccountButtonContext.d.ts +2 -0
- package/dist/esm/src/contexts/AccountButtonContext/AccountButtonContextProvider.d.ts +2 -1
- package/dist/esm/src/contexts/hooks/useAccountButtonContext.d.ts +1 -0
- package/dist/index.d.ts +4 -1
- package/package.json +1 -1
@@ -4,9 +4,11 @@ export declare type AccountButtonContextType = Partial<{
|
|
4
4
|
userInitials: string;
|
5
5
|
logOutHandler: Callback;
|
6
6
|
goToAccountInfo: Callback;
|
7
|
+
username: string;
|
7
8
|
}>;
|
8
9
|
export declare const AccountButtonContext: import("react").Context<Partial<{
|
9
10
|
userInitials: string;
|
10
11
|
logOutHandler: Callback;
|
11
12
|
goToAccountInfo: Callback;
|
13
|
+
username: string;
|
12
14
|
}>>;
|
@@ -4,5 +4,6 @@ export declare type AccountButtonProviderProps = PropsWithChildren<Partial<{
|
|
4
4
|
userInitials: string;
|
5
5
|
logOutHandler: Callback;
|
6
6
|
goToAccountInfo: Callback;
|
7
|
+
username: string;
|
7
8
|
}>>;
|
8
|
-
export declare const AccountButtonProvider: ({ children, goToAccountInfo, userInitials, logOutHandler, }: AccountButtonProviderProps) => JSX.Element;
|
9
|
+
export declare const AccountButtonProvider: ({ children, goToAccountInfo, userInitials, logOutHandler, username, }: AccountButtonProviderProps) => JSX.Element;
|