@worldresources/wri-design-systems 2.201.0 → 2.201.2
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/index.cjs.js +299 -299
- package/dist/index.d.ts +2 -1
- package/dist/index.esm.js +299 -299
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1492,9 +1492,10 @@ type ModalProps = {
|
|
|
1492
1492
|
modal?: boolean;
|
|
1493
1493
|
initialFocusEl?: () => MaybeElement;
|
|
1494
1494
|
finalFocusEl?: () => MaybeElement;
|
|
1495
|
+
trapFocus?: boolean;
|
|
1495
1496
|
};
|
|
1496
1497
|
|
|
1497
|
-
declare const Modal: ({ header, content, footer, size, width, height, maxHeight, draggable, blocking, open, onClose, labels, lazyMount, unmountOnExit, restoreFocus, modal, initialFocusEl, finalFocusEl, }: ModalProps) => _emotion_react_jsx_runtime.JSX.Element | null;
|
|
1498
|
+
declare const Modal: ({ header, content, footer, size, width, height, maxHeight, draggable, blocking, open, onClose, labels, lazyMount, unmountOnExit, restoreFocus, modal, initialFocusEl, finalFocusEl, trapFocus, }: ModalProps) => _emotion_react_jsx_runtime.JSX.Element | null;
|
|
1498
1499
|
|
|
1499
1500
|
type PanelProps = {
|
|
1500
1501
|
header?: React.ReactNode;
|