@data-c/ui 0.0.143-alpha.0 → 0.0.145-alpha.0
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/index.d.ts +11 -0
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -28,10 +28,20 @@ declare namespace CurrencyTextField {
|
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
interface DialogActionsProps {
|
|
32
|
+
cancelLabel?: string;
|
|
33
|
+
confirmLabel?: string;
|
|
34
|
+
type?: 'content' | 'info' | 'warning' | 'error' | 'success';
|
|
35
|
+
onCancel?: () => void;
|
|
36
|
+
onConfirm?: () => void;
|
|
37
|
+
isLoadingConfirmButton?: boolean;
|
|
38
|
+
}
|
|
39
|
+
|
|
31
40
|
interface DialogProps extends DialogProps$1 {
|
|
32
41
|
actions?: 'none' | ReactNode;
|
|
33
42
|
type?: 'content' | 'info' | 'warning' | 'error' | 'success';
|
|
34
43
|
onConfirm?: () => void;
|
|
44
|
+
dialogActionsProps?: DialogActionsProps;
|
|
35
45
|
}
|
|
36
46
|
declare function Dialog(props: DialogProps): react_jsx_runtime.JSX.Element;
|
|
37
47
|
declare namespace Dialog {
|
|
@@ -126,6 +136,7 @@ interface FilterProps {
|
|
|
126
136
|
onApplyFilters?: (filters: any) => void;
|
|
127
137
|
renderLabel?: (filterLabel: string, filterValue: any) => React$1.ReactNode;
|
|
128
138
|
disableds?: Array<string>;
|
|
139
|
+
disableFilterControl?: Boolean;
|
|
129
140
|
}
|
|
130
141
|
declare function FilterContainer(props: FilterProps): react_jsx_runtime.JSX.Element;
|
|
131
142
|
declare namespace FilterContainer {
|