@zealicsolutions/web-ui 0.3.88 → 0.3.89

Sign up to get free protection for your applications and to get access to all the features.
@@ -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;
@@ -2,4 +2,5 @@ export declare const useAccountButtonContext: () => Partial<{
2
2
  userInitials: string;
3
3
  logOutHandler: import("../../typescript").Callback;
4
4
  goToAccountInfo: import("../../typescript").Callback;
5
+ username: string;
5
6
  }>;
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 = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zealicsolutions/web-ui",
3
- "version": "0.3.88",
3
+ "version": "0.3.89",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@bitbucket.org/Zealic_Solutions/zeal-ui-web.git"