demio-ui 1.0.57 → 1.0.59

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.
@@ -1,12 +1,13 @@
1
1
  import React from 'react';
2
2
  type Props = {
3
3
  children: string | React.ReactNode;
4
- open: boolean;
5
- onOpenChange: (open: boolean) => void;
6
- title?: string | React.ReactNode;
7
- hideCloseButton?: boolean;
8
4
  contentClassName?: string;
5
+ hideCloseButton?: boolean;
9
6
  maxHeight?: string;
7
+ onOpenChange: (open: boolean) => void;
8
+ open: boolean;
9
+ overlayClassName: string;
10
+ title?: string | React.ReactNode;
10
11
  width?: string;
11
12
  };
12
13
  /**
@@ -15,5 +16,5 @@ type Props = {
15
16
  - Esc closes the component automatically.
16
17
  - [Accessibility and Keyboard Interactions](https://www.radix-ui.com/docs/primitives/components/dialog#accessibility)
17
18
  **/
18
- declare function Modal({ children, open, onOpenChange, title, hideCloseButton, contentClassName, maxHeight, width, }: Props): React.JSX.Element;
19
+ declare function Modal({ children, contentClassName, hideCloseButton, maxHeight, open, onOpenChange, overlayClassName, title, width, }: Props): React.JSX.Element;
19
20
  export default Modal;
package/dist/types.d.ts CHANGED
@@ -113,12 +113,13 @@ declare function Loader({ size, className, inheritColor }: Props$6): React__defa
113
113
 
114
114
  type Props$5 = {
115
115
  children: string | React__default.ReactNode;
116
- open: boolean;
117
- onOpenChange: (open: boolean) => void;
118
- title?: string | React__default.ReactNode;
119
- hideCloseButton?: boolean;
120
116
  contentClassName?: string;
117
+ hideCloseButton?: boolean;
121
118
  maxHeight?: string;
119
+ onOpenChange: (open: boolean) => void;
120
+ open: boolean;
121
+ overlayClassName: string;
122
+ title?: string | React__default.ReactNode;
122
123
  width?: string;
123
124
  };
124
125
  /**
@@ -127,7 +128,7 @@ type Props$5 = {
127
128
  - Esc closes the component automatically.
128
129
  - [Accessibility and Keyboard Interactions](https://www.radix-ui.com/docs/primitives/components/dialog#accessibility)
129
130
  **/
130
- declare function Modal({ children, open, onOpenChange, title, hideCloseButton, contentClassName, maxHeight, width, }: Props$5): React__default.JSX.Element;
131
+ declare function Modal({ children, contentClassName, hideCloseButton, maxHeight, open, onOpenChange, overlayClassName, title, width, }: Props$5): React__default.JSX.Element;
131
132
 
132
133
  type Props$4 = {
133
134
  align: 'center' | 'start' | 'end';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "demio-ui",
3
- "version": "1.0.57",
3
+ "version": "1.0.59",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",