demio-ui 2.5.40 → 2.5.42
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/cjs/index.js +3 -3
- package/dist/cjs/types/src/components/Modal/Modal.d.ts +1 -1
- package/dist/cjs/types/src/components/UploadMenu/UploadMenu.d.ts +1 -0
- package/dist/esm/index.js +3 -3
- package/dist/esm/types/src/components/Modal/Modal.d.ts +1 -1
- package/dist/esm/types/src/components/UploadMenu/UploadMenu.d.ts +1 -0
- package/dist/types.d.ts +2 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -255,7 +255,7 @@ type Props$6 = {
|
|
|
255
255
|
title?: ReactNode;
|
|
256
256
|
body?: ReactNode;
|
|
257
257
|
isClosable?: boolean | null;
|
|
258
|
-
portalContainer?: HTMLElement
|
|
258
|
+
portalContainer?: HTMLElement;
|
|
259
259
|
};
|
|
260
260
|
/**
|
|
261
261
|
- Focus is automatically trapped when modal.
|
|
@@ -494,6 +494,7 @@ interface UploadMenuProps {
|
|
|
494
494
|
align?: 'end' | 'center' | 'start';
|
|
495
495
|
isOpen?: boolean;
|
|
496
496
|
menu?: UploadMenuItem[];
|
|
497
|
+
onInteractOutside?: () => void;
|
|
497
498
|
onOpen?: (isOpen: boolean) => void;
|
|
498
499
|
sideOffset?: number;
|
|
499
500
|
triggerButton?: ReactNode;
|