@eclass/ui-kit 1.54.17 → 1.54.18
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 +5 -1
- package/dist/eclass-ui-kit.es.js.map +1 -1
- package/dist/eclass-ui-kit.umd.js +4 -4
- package/dist/eclass-ui-kit.umd.js.map +1 -1
- package/dist/organisms/Modals/Modal/Modal.d.ts +1 -1
- package/dist/organisms/Modals/Modal/Modal.d.ts.map +1 -1
- package/dist/organisms/Modals/ModalAlert/ModalAlert.d.ts +1 -1
- package/dist/organisms/Modals/ModalAlert/ModalAlert.d.ts.map +1 -1
- package/dist/organisms/Modals/types.d.ts +2 -0
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IModal } from '../types';
|
|
3
3
|
export declare const uiKitModalIsDesktop = 641;
|
|
4
|
-
export declare const Modal: ({ children, closeOnOverlayClick, fixedSubtitle, isOpen, onClose, title, withoutMargin, scrollBehavior, fixedButtons, }: IModal) => JSX.Element;
|
|
4
|
+
export declare const Modal: ({ children, closeOnOverlayClick, fixedSubtitle, isOpen, onClose, title, withoutMargin, scrollBehavior, fixedButtons, autoFocus, }: IModal) => JSX.Element;
|
|
5
5
|
//# sourceMappingURL=Modal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../src/organisms/Modals/Modal/Modal.tsx"],"names":[],"mappings":";AAWA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEjC,eAAO,MAAM,mBAAmB,MAAM,CAAA;AAEtC,eAAO,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../src/organisms/Modals/Modal/Modal.tsx"],"names":[],"mappings":";AAWA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEjC,eAAO,MAAM,mBAAmB,MAAM,CAAA;AAEtC,eAAO,MAAM,KAAK,sIAWf,MAAM,KAAG,WAkGX,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IModalAlert } from '../types';
|
|
3
|
-
export declare const ModalAlertNew: ({ type, isOpen, onClose, children, title, description, status, }: IModalAlert) => JSX.Element;
|
|
3
|
+
export declare const ModalAlertNew: ({ autoFocus, type, isOpen, onClose, children, title, description, status, }: IModalAlert) => JSX.Element;
|
|
4
4
|
/**
|
|
5
5
|
* Componente que renderiza los botones de un modal alert.
|
|
6
6
|
* @example
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalAlert.d.ts","sourceRoot":"","sources":["../../../../src/organisms/Modals/ModalAlert/ModalAlert.tsx"],"names":[],"mappings":";AASA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAMtC,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"ModalAlert.d.ts","sourceRoot":"","sources":["../../../../src/organisms/Modals/ModalAlert/ModalAlert.tsx"],"names":[],"mappings":";AASA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAMtC,eAAO,MAAM,aAAa,gFASvB,WAAW,KAAG,WA4DhB,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB;cAA8B,MAAM,SAAS;MAAK,WA0B/E,CAAA"}
|
|
@@ -13,6 +13,7 @@ export interface IModal {
|
|
|
13
13
|
scrollBehavior?: 'inside' | 'outside'
|
|
14
14
|
/** Si esta activo se fija el footer */
|
|
15
15
|
fixedButtons?: boolean
|
|
16
|
+
autoFocus?: boolean
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
export interface IModalButtons {
|
|
@@ -25,6 +26,7 @@ export interface IModalButtons {
|
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
export interface IModalAlert {
|
|
29
|
+
autoFocus?: boolean
|
|
28
30
|
children?: React.ReactNode
|
|
29
31
|
isOpen: boolean
|
|
30
32
|
onClose: () => void
|