@ama-pt/agora-design-system 2.2.4 → 2.2.5
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/artifacts/dist/index.mjs +1674 -1666
- package/artifacts/dist/index.mjs.map +1 -1
- package/artifacts/dist/index.umd.js +1 -1
- package/artifacts/dist/index.umd.js.map +1 -1
- package/artifacts/dist/style.css +1 -1
- package/artifacts/dist/types/components/input-password/input-password.d.ts +10 -3
- package/artifacts/dist/types/components/toasts/toast.d.ts +4 -0
- package/package.json +1 -1
|
@@ -35,12 +35,19 @@ export interface InputPasswordProps extends ComponentPropsWithRef<'input'> {
|
|
|
35
35
|
*/
|
|
36
36
|
icon?: string;
|
|
37
37
|
/**
|
|
38
|
-
* Highlight the input indicating some error
|
|
38
|
+
* Highlight the input indicating some error.
|
|
39
39
|
*/
|
|
40
40
|
hasError?: BooleanProp;
|
|
41
41
|
/**
|
|
42
|
-
* Alternative text for toggle password/plain text icon button
|
|
42
|
+
* Alternative text for toggle password/plain text icon button.
|
|
43
|
+
*
|
|
44
|
+
* show: aria-label for when the password is hidden;
|
|
45
|
+
*
|
|
46
|
+
* hide: aria-label for when the password is visible;
|
|
43
47
|
*/
|
|
44
|
-
togglePasswordAltIconText?:
|
|
48
|
+
togglePasswordAltIconText?: {
|
|
49
|
+
show: string;
|
|
50
|
+
hide: string;
|
|
51
|
+
};
|
|
45
52
|
}
|
|
46
53
|
export declare const InputPassword: React.ForwardRefExoticComponent<Omit<InputPasswordProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -22,5 +22,9 @@ export interface ToastProps extends Omit<ComponentPropsWithoutRef<'div'>, 'id' |
|
|
|
22
22
|
* Alternative text to apply to the toast close button
|
|
23
23
|
*/
|
|
24
24
|
closeLabel: string;
|
|
25
|
+
/**
|
|
26
|
+
* Callback that's invoked when the toast is dismissed
|
|
27
|
+
*/
|
|
28
|
+
onDismiss?: () => void;
|
|
25
29
|
}
|
|
26
30
|
export declare const Toast: FC<ToastProps>;
|