@eclass/ui-kit 1.37.0 → 1.38.0
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/eclass-ui-kit.es.js +153 -39
- package/dist/eclass-ui-kit.es.js.map +1 -1
- package/dist/eclass-ui-kit.umd.js +49 -49
- package/dist/eclass-ui-kit.umd.js.map +1 -1
- package/dist/molecules/Buttons/BtnLink.d.ts +3 -1
- package/dist/organisms/Alerts/Alert.d.ts +1 -1
- package/dist/organisms/Alerts/types.d.ts +4 -0
- package/dist/organisms/ModalAlert/ModalAlert.d.ts +6 -0
- package/dist/organisms/ModalAlert/index.d.ts +1 -0
- package/dist/organisms/ModalAlert/types.d.ts +22 -0
- package/dist/organisms/index.d.ts +1 -0
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -6,8 +6,10 @@ export interface props {
|
|
|
6
6
|
onClick?: (e: React.MouseEvent<HTMLElement>) => void;
|
|
7
7
|
id?: string;
|
|
8
8
|
href?: string;
|
|
9
|
+
textDecorationLine?: boolean;
|
|
10
|
+
fontSize?: string | '0.875rem';
|
|
9
11
|
}
|
|
10
|
-
export declare function BtnLink({ children, m, onClick, id, as, href, }: props): JSX.Element;
|
|
12
|
+
export declare function BtnLink({ children, m, onClick, id, as, href, textDecorationLine, fontSize, }: props): JSX.Element;
|
|
11
13
|
export declare namespace BtnLink {
|
|
12
14
|
var displayName: string;
|
|
13
15
|
}
|
|
@@ -14,4 +14,4 @@ import { IAlertProps } from './types.d';
|
|
|
14
14
|
* Mensaje
|
|
15
15
|
* </Alert>
|
|
16
16
|
*/
|
|
17
|
-
export declare function Alert({ children, canDismiss, buttonText, buttonIcon, buttonLink, fullWidth, isFlash, onClick, state, m, }: IAlertProps): JSX.Element;
|
|
17
|
+
export declare function Alert({ children, canDismiss, buttonText, buttonIcon, buttonLink, fullWidth, isFlash, onClick, state, m, endTextLink, onClickLink, }: IAlertProps): JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ModalAlertProps } from './types';
|
|
3
|
+
export declare function ModalAlert({ showModal, typeAlert, title, description, optionsButton, }: ModalAlertProps): JSX.Element;
|
|
4
|
+
export declare namespace ModalAlert {
|
|
5
|
+
var displayName: string;
|
|
6
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ModalAlert';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface ModalAlertProps {
|
|
2
|
+
/** Muestra/Oculta el modal */
|
|
3
|
+
showModal: boolean
|
|
4
|
+
|
|
5
|
+
/** Tipo de alerta */
|
|
6
|
+
typeAlert: 'success' | 'error' | 'warning' | 'info'
|
|
7
|
+
|
|
8
|
+
/** Título del modal */
|
|
9
|
+
title?: string
|
|
10
|
+
|
|
11
|
+
/** Mensaje del modal */
|
|
12
|
+
description?: string
|
|
13
|
+
|
|
14
|
+
/** Opciones del boton */
|
|
15
|
+
optionsButton: optionsButton[]
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
interface optionsButton {
|
|
19
|
+
id: string
|
|
20
|
+
label: string
|
|
21
|
+
action: () => void
|
|
22
|
+
}
|