@onpe/ui 1.3.32 → 1.3.34
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/components/Modal/Modal.d.ts +1 -14
- package/dist/components.d.ts +1 -14
- package/dist/components.esm.js +1 -1
- package/dist/components.js +1 -1
- package/dist/index.d.ts +1 -14
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -42,22 +42,9 @@ interface ModalProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
42
42
|
existTabIndex?: boolean;
|
|
43
43
|
zIndexLevel?: number;
|
|
44
44
|
onCloseComplete?: () => void;
|
|
45
|
-
/**
|
|
46
|
-
* IDs (en orden de preferencia) a los que se intentará enfocar al abrir.
|
|
47
|
-
* Útil cuando el contenido se renderiza/hidrata con delay.
|
|
48
|
-
*/
|
|
49
|
-
initialFocusIds?: string | string[];
|
|
50
|
-
/**
|
|
51
|
-
* Intervalo de reintentos (ms) para `initialFocusIds`.
|
|
52
|
-
*/
|
|
53
|
-
initialFocusIntervalMs?: number;
|
|
54
|
-
/**
|
|
55
|
-
* Tiempo máximo (ms) para reintentar `initialFocusIds`.
|
|
56
|
-
*/
|
|
57
|
-
initialFocusTimeoutMs?: number;
|
|
58
45
|
overlayColor?: 'blue' | 'skyblue' | 'skyblue-light' | 'yellow' | 'light-skyblue' | 'gray' | 'gray-light' | 'gray-extra-light' | 'red' | 'dark-gray' | 'green' | 'yellow-light' | 'primary';
|
|
59
46
|
}
|
|
60
|
-
declare const Modal: ({ isOpen, onClose, children, whitoutBackground, closeButton, closeDisabled, escapeToClose, disableFocus, disableFocusRestore, existTabIndex, zIndexLevel, onCloseComplete,
|
|
47
|
+
declare const Modal: ({ isOpen, onClose, children, whitoutBackground, closeButton, closeDisabled, escapeToClose, disableFocus, disableFocusRestore, existTabIndex, zIndexLevel, onCloseComplete, overlayColor, ...props }: ModalProps) => react_jsx_runtime.JSX.Element;
|
|
61
48
|
|
|
62
49
|
interface ModalBrowserIncompatibleProps {
|
|
63
50
|
isOpen: boolean;
|