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.
- package/dist/cjs/index.css +1 -1
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/types/src/components/Modal/Modal.d.ts +1 -2
- package/dist/esm/index.css +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/types/src/components/Modal/Modal.d.ts +1 -2
- package/dist/types.d.ts +1 -2
- package/package.json +1 -1
- package/dist/cjs/types/src/components/Toast/Toast.d.ts +0 -6
- package/dist/cjs/types/src/components/Toast/index.d.ts +0 -1
- package/dist/esm/types/src/components/Toast/Toast.d.ts +0 -6
- package/dist/esm/types/src/components/Toast/index.d.ts +0 -1
|
@@ -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,
|
|
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,
|
|
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 +0,0 @@
|
|
|
1
|
-
export { default } from './Toast';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Toast';
|