@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;
|
package/dist/index.d.ts
CHANGED
@@ -947,19 +947,22 @@ declare type AccountButtonContextType = Partial<{
|
|
947
947
|
userInitials: string;
|
948
948
|
logOutHandler: Callback$1;
|
949
949
|
goToAccountInfo: Callback$1;
|
950
|
+
username: string;
|
950
951
|
}>;
|
951
952
|
declare const AccountButtonContext: react.Context<Partial<{
|
952
953
|
userInitials: string;
|
953
954
|
logOutHandler: Callback$1;
|
954
955
|
goToAccountInfo: Callback$1;
|
956
|
+
username: string;
|
955
957
|
}>>;
|
956
958
|
|
957
959
|
declare type AccountButtonProviderProps = PropsWithChildren<Partial<{
|
958
960
|
userInitials: string;
|
959
961
|
logOutHandler: Callback$1;
|
960
962
|
goToAccountInfo: Callback$1;
|
963
|
+
username: string;
|
961
964
|
}>>;
|
962
|
-
declare const AccountButtonProvider: ({ children, goToAccountInfo, userInitials, logOutHandler, }: AccountButtonProviderProps) => JSX.Element;
|
965
|
+
declare const AccountButtonProvider: ({ children, goToAccountInfo, userInitials, logOutHandler, username, }: AccountButtonProviderProps) => JSX.Element;
|
963
966
|
|
964
967
|
declare type FieldRuleLabelTypes = 'OPTIONAL' | 'REQUIRED';
|
965
968
|
declare type LabelInternalConfig = {
|