demio-ui 2.0.4 → 2.0.5
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,13 +1,19 @@
|
|
|
1
1
|
import React, { FC } from 'react';
|
|
2
|
-
type Props = {
|
|
3
|
-
align: 'center' | 'start' | 'end';
|
|
2
|
+
export type Props = {
|
|
4
3
|
childClass: string;
|
|
5
4
|
children: React.ReactNode;
|
|
6
5
|
content: React.ReactNode;
|
|
7
6
|
isContentChild: boolean;
|
|
8
7
|
isOpen: boolean;
|
|
9
8
|
onOpen: (open: boolean) => void;
|
|
9
|
+
defaultOpen?: boolean;
|
|
10
10
|
className?: string;
|
|
11
|
+
contentProps: {
|
|
12
|
+
className?: string;
|
|
13
|
+
style?: React.CSSProperties;
|
|
14
|
+
align?: 'center' | 'start' | 'end';
|
|
15
|
+
};
|
|
16
|
+
modal?: boolean;
|
|
11
17
|
};
|
|
12
18
|
declare const Popover: FC<Props>;
|
|
13
19
|
export default Popover;
|
package/dist/types.d.ts
CHANGED
|
@@ -134,14 +134,20 @@ type Props$5 = {
|
|
|
134
134
|
declare function Modal({ children, contentClassName, isCloseButtonVisible, onClose, onOpenChange, open, overlayClassName, title, contentStyle, }: Props$5): React__default.JSX.Element;
|
|
135
135
|
|
|
136
136
|
type Props$4 = {
|
|
137
|
-
align: 'center' | 'start' | 'end';
|
|
138
137
|
childClass: string;
|
|
139
138
|
children: React__default.ReactNode;
|
|
140
139
|
content: React__default.ReactNode;
|
|
141
140
|
isContentChild: boolean;
|
|
142
141
|
isOpen: boolean;
|
|
143
142
|
onOpen: (open: boolean) => void;
|
|
143
|
+
defaultOpen?: boolean;
|
|
144
144
|
className?: string;
|
|
145
|
+
contentProps: {
|
|
146
|
+
className?: string;
|
|
147
|
+
style?: React__default.CSSProperties;
|
|
148
|
+
align?: 'center' | 'start' | 'end';
|
|
149
|
+
};
|
|
150
|
+
modal?: boolean;
|
|
145
151
|
};
|
|
146
152
|
declare const Popover: FC<Props$4>;
|
|
147
153
|
|