demio-ui 2.1.8 → 2.1.10

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.
@@ -8,7 +8,6 @@ type Props = {
8
8
  open: boolean;
9
9
  overlayClassName?: string;
10
10
  title?: string | React.ReactNode;
11
- contentStyle?: React.CSSProperties;
12
11
  };
13
12
  /**
14
13
  - Focus is automatically trapped when modal.
@@ -16,5 +15,5 @@ type Props = {
16
15
  - Esc closes the component automatically.
17
16
  - [Accessibility and Keyboard Interactions](https://www.radix-ui.com/docs/primitives/components/dialog#accessibility)
18
17
  **/
19
- declare function Modal({ children, contentClassName, isCloseButtonVisible, onClose, onOpenChange, open, overlayClassName, title, contentStyle, }: Props): React.JSX.Element;
18
+ declare function Modal({ children, contentClassName, isCloseButtonVisible, onClose, onOpenChange, open, overlayClassName, title, }: Props): React.JSX.Element;
20
19
  export default Modal;
package/dist/types.d.ts CHANGED
@@ -125,7 +125,6 @@ type Props$5 = {
125
125
  open: boolean;
126
126
  overlayClassName?: string;
127
127
  title?: string | React__default.ReactNode;
128
- contentStyle?: React__default.CSSProperties;
129
128
  };
130
129
  /**
131
130
  - Focus is automatically trapped when modal.
@@ -133,7 +132,7 @@ type Props$5 = {
133
132
  - Esc closes the component automatically.
134
133
  - [Accessibility and Keyboard Interactions](https://www.radix-ui.com/docs/primitives/components/dialog#accessibility)
135
134
  **/
136
- declare function Modal({ children, contentClassName, isCloseButtonVisible, onClose, onOpenChange, open, overlayClassName, title, contentStyle, }: Props$5): React__default.JSX.Element;
135
+ declare function Modal({ children, contentClassName, isCloseButtonVisible, onClose, onOpenChange, open, overlayClassName, title, }: Props$5): React__default.JSX.Element;
137
136
 
138
137
  type Props$4 = {
139
138
  children: React__default.ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "demio-ui",
3
- "version": "2.1.8",
3
+ "version": "2.1.10",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- type Props = {
3
- message?: string;
4
- };
5
- declare function Toast({ message, }: Props): React.JSX.Element;
6
- export default Toast;
@@ -1 +0,0 @@
1
- export { default } from './Toast';
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- type Props = {
3
- message?: string;
4
- };
5
- declare function Toast({ message, }: Props): React.JSX.Element;
6
- export default Toast;
@@ -1 +0,0 @@
1
- export { default } from './Toast';