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.
@@ -13,7 +13,7 @@ export type Props = {
13
13
  title?: ReactNode;
14
14
  body?: ReactNode;
15
15
  isClosable?: boolean | null;
16
- portalContainer?: HTMLElement | null;
16
+ portalContainer?: HTMLElement;
17
17
  };
18
18
  /**
19
19
  - Focus is automatically trapped when modal.
@@ -19,6 +19,7 @@ export interface UploadMenuProps {
19
19
  align?: 'end' | 'center' | 'start';
20
20
  isOpen?: boolean;
21
21
  menu?: UploadMenuItem[];
22
+ onInteractOutside?: () => void;
22
23
  onOpen?: (isOpen: boolean) => void;
23
24
  sideOffset?: number;
24
25
  triggerButton?: ReactNode;
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 | null;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "demio-ui",
3
- "version": "2.5.40",
3
+ "version": "2.5.42",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",