@esperanca-ui/componentes 2.14.22 → 2.14.24

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esperanca-ui/componentes",
3
- "version": "2.14.22",
3
+ "version": "2.14.24",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",
@@ -1,31 +0,0 @@
1
- import { default as React } from 'react';
2
- import { CardProps } from '../Card/Card';
3
-
4
- export interface LoginFormProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title' | 'onSubmit'> {
5
- logo?: React.ReactNode;
6
- badge?: React.ReactNode;
7
- title?: React.ReactNode;
8
- description?: React.ReactNode;
9
- error?: React.ReactNode;
10
- emailLabel?: React.ReactNode;
11
- emailPlaceholder?: string;
12
- emailValue?: string;
13
- onEmailChange?: (value: string) => void;
14
- passwordLabel?: React.ReactNode;
15
- passwordPlaceholder?: string;
16
- passwordValue?: string;
17
- onPasswordChange?: (value: string) => void;
18
- showRememberMe?: boolean;
19
- rememberMe?: boolean;
20
- rememberMeLabel?: React.ReactNode;
21
- onRememberMeChange?: (checked: boolean) => void;
22
- forgotPasswordAction?: React.ReactNode;
23
- submitLabel?: React.ReactNode;
24
- isLoading?: boolean;
25
- loadingText?: React.ReactNode;
26
- onSubmit?: React.FormEventHandler<HTMLFormElement>;
27
- footer?: React.ReactNode;
28
- support?: React.ReactNode;
29
- cardVariant?: CardProps['variant'];
30
- }
31
- export declare function LoginForm({ logo, badge, title, description, error, emailLabel, emailPlaceholder, emailValue, onEmailChange, passwordLabel, passwordPlaceholder, passwordValue, onPasswordChange, showRememberMe, rememberMe, rememberMeLabel, onRememberMeChange, forgotPasswordAction, submitLabel, isLoading, loadingText, onSubmit, footer, support, cardVariant, className, children, style, ...props }: LoginFormProps): import("react/jsx-runtime").JSX.Element;
@@ -1,66 +0,0 @@
1
- import { default as React } from 'react';
2
- import { CardProps } from '../Card/Card';
3
-
4
- export type LoginScreenStep = 'credentials' | 'two-factor';
5
- export type LoginScreenVariant = 'split' | 'compact';
6
- export interface LoginScreenFeature {
7
- title: React.ReactNode;
8
- description?: React.ReactNode;
9
- icon?: React.ReactNode;
10
- }
11
- export interface LoginScreenProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title' | 'onSubmit'> {
12
- brand?: React.ReactNode;
13
- brandMark?: React.ReactNode;
14
- eyebrow?: React.ReactNode;
15
- badge?: React.ReactNode;
16
- title?: React.ReactNode;
17
- description?: React.ReactNode;
18
- panelTitle?: React.ReactNode;
19
- panelDescription?: React.ReactNode;
20
- step?: LoginScreenStep;
21
- variant?: LoginScreenVariant;
22
- cardVariant?: CardProps['variant'];
23
- status?: React.ReactNode;
24
- error?: React.ReactNode;
25
- emailLabel?: React.ReactNode;
26
- emailPlaceholder?: string;
27
- emailValue?: string;
28
- onEmailChange?: (value: string) => void;
29
- passwordLabel?: React.ReactNode;
30
- passwordPlaceholder?: string;
31
- passwordValue?: string;
32
- onPasswordChange?: (value: string) => void;
33
- showRememberMe?: boolean;
34
- rememberMe?: boolean;
35
- rememberMeLabel?: React.ReactNode;
36
- onRememberMeChange?: (checked: boolean) => void;
37
- forgotPasswordAction?: React.ReactNode;
38
- submitLabel?: React.ReactNode;
39
- isLoading?: boolean;
40
- loadingText?: React.ReactNode;
41
- onSubmit?: React.FormEventHandler<HTMLFormElement>;
42
- secondaryAction?: React.ReactNode;
43
- footer?: React.ReactNode;
44
- support?: React.ReactNode;
45
- ssoActions?: React.ReactNode;
46
- ssoLabel?: React.ReactNode;
47
- twoFactorTitle?: React.ReactNode;
48
- twoFactorDescription?: React.ReactNode;
49
- verificationHint?: React.ReactNode;
50
- codeLabel?: React.ReactNode;
51
- codePlaceholder?: string;
52
- codeValue?: string;
53
- onCodeChange?: (value: string) => void;
54
- codeLength?: number;
55
- codeInputMode?: React.HTMLAttributes<HTMLInputElement>['inputMode'];
56
- showTrustDevice?: boolean;
57
- trustDevice?: boolean;
58
- trustDeviceLabel?: React.ReactNode;
59
- onTrustDeviceChange?: (checked: boolean) => void;
60
- recoveryAction?: React.ReactNode;
61
- onBack?: () => void;
62
- backLabel?: React.ReactNode;
63
- highlights?: LoginScreenFeature[];
64
- hero?: React.ReactNode;
65
- }
66
- export declare function LoginScreen({ brand, brandMark, eyebrow, badge, title, description, panelTitle, panelDescription, step, variant, cardVariant, status, error, emailLabel, emailPlaceholder, emailValue, onEmailChange, passwordLabel, passwordPlaceholder, passwordValue, onPasswordChange, showRememberMe, rememberMe, rememberMeLabel, onRememberMeChange, forgotPasswordAction, submitLabel, isLoading, loadingText, onSubmit, secondaryAction, footer, support, ssoActions, ssoLabel, twoFactorTitle, twoFactorDescription, verificationHint, codeLabel, codePlaceholder, codeValue, onCodeChange, codeLength, codeInputMode, showTrustDevice, trustDevice, trustDeviceLabel, onTrustDeviceChange, recoveryAction, onBack, backLabel, highlights, hero, className, children, style, ...props }: LoginScreenProps): import("react/jsx-runtime").JSX.Element;