@nocios/crudify-ui 1.0.46 → 1.0.48

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.mts CHANGED
@@ -16,6 +16,9 @@ interface CrudifyLoginConfig {
16
16
  };
17
17
  loginActions?: string[];
18
18
  }
19
+ interface CrudifyLoginTranslations {
20
+ [key: string]: string | CrudifyLoginTranslations;
21
+ }
19
22
  interface CrudifyLoginProps {
20
23
  config?: CrudifyLoginConfig;
21
24
  onNavigate?: (path: string) => void;
@@ -24,6 +27,8 @@ interface CrudifyLoginProps {
24
27
  initialScreen?: BoxScreenType;
25
28
  redirectUrl?: string;
26
29
  autoReadFromCookies?: boolean;
30
+ translations?: CrudifyLoginTranslations;
31
+ language?: string;
27
32
  }
28
33
 
29
34
  declare const CrudifyLogin: React.FC<CrudifyLoginProps>;
@@ -85,4 +90,4 @@ declare class SecureStorage {
85
90
  declare const secureSessionStorage: SecureStorage;
86
91
  declare const secureLocalStorage: SecureStorage;
87
92
 
88
- export { type BoxScreenType, CrudifyLogin, type CrudifyLoginConfig, type CrudifyLoginProps, decodeJwtSafely, getCookie, getCurrentUserEmail, isTokenExpired, secureLocalStorage, secureSessionStorage, useCrudifyLogin, useUserProfile };
93
+ export { type BoxScreenType, CrudifyLogin, type CrudifyLoginConfig, type CrudifyLoginProps, type CrudifyLoginTranslations, decodeJwtSafely, getCookie, getCurrentUserEmail, isTokenExpired, secureLocalStorage, secureSessionStorage, useCrudifyLogin, useUserProfile };
package/dist/index.d.ts CHANGED
@@ -16,6 +16,9 @@ interface CrudifyLoginConfig {
16
16
  };
17
17
  loginActions?: string[];
18
18
  }
19
+ interface CrudifyLoginTranslations {
20
+ [key: string]: string | CrudifyLoginTranslations;
21
+ }
19
22
  interface CrudifyLoginProps {
20
23
  config?: CrudifyLoginConfig;
21
24
  onNavigate?: (path: string) => void;
@@ -24,6 +27,8 @@ interface CrudifyLoginProps {
24
27
  initialScreen?: BoxScreenType;
25
28
  redirectUrl?: string;
26
29
  autoReadFromCookies?: boolean;
30
+ translations?: CrudifyLoginTranslations;
31
+ language?: string;
27
32
  }
28
33
 
29
34
  declare const CrudifyLogin: React.FC<CrudifyLoginProps>;
@@ -85,4 +90,4 @@ declare class SecureStorage {
85
90
  declare const secureSessionStorage: SecureStorage;
86
91
  declare const secureLocalStorage: SecureStorage;
87
92
 
88
- export { type BoxScreenType, CrudifyLogin, type CrudifyLoginConfig, type CrudifyLoginProps, decodeJwtSafely, getCookie, getCurrentUserEmail, isTokenExpired, secureLocalStorage, secureSessionStorage, useCrudifyLogin, useUserProfile };
93
+ export { type BoxScreenType, CrudifyLogin, type CrudifyLoginConfig, type CrudifyLoginProps, type CrudifyLoginTranslations, decodeJwtSafely, getCookie, getCurrentUserEmail, isTokenExpired, secureLocalStorage, secureSessionStorage, useCrudifyLogin, useUserProfile };