@biznext-ui/react 0.4.4 → 0.4.6
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.es.d.ts +27 -30
- package/dist/index.es.js +7407 -28592
- package/dist/index.umd.js +13 -253
- package/package.json +1 -1
package/dist/index.es.d.ts
CHANGED
|
@@ -1,53 +1,50 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { default as default_2 } from 'react';
|
|
2
2
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
3
|
-
import { ReactElement } from 'react';
|
|
4
|
-
import { ReactNode } from 'react';
|
|
5
|
-
import { RefAttributes } from 'react';
|
|
6
3
|
|
|
7
|
-
export declare
|
|
8
|
-
children: ReactNode;
|
|
4
|
+
export declare function BiznextUIProvider({ children, toastPosition }: {
|
|
5
|
+
children: default_2.ReactNode;
|
|
9
6
|
toastPosition?: IToastPositions;
|
|
10
|
-
})
|
|
7
|
+
}): JSX_2.Element | null;
|
|
11
8
|
|
|
12
9
|
export declare const Form: {
|
|
13
10
|
(props: {
|
|
14
|
-
children?: ReactNode;
|
|
11
|
+
children?: default_2.ReactNode;
|
|
15
12
|
sx?: object;
|
|
16
13
|
[x: string]: any;
|
|
17
14
|
}): JSX_2.Element;
|
|
18
15
|
Group: (props: {
|
|
19
|
-
children?: ReactNode;
|
|
16
|
+
children?: default_2.ReactNode;
|
|
20
17
|
sx?: object;
|
|
21
18
|
[x: string]: any;
|
|
22
19
|
}) => JSX_2.Element;
|
|
23
20
|
InputGroup: (props: {
|
|
24
|
-
children?: ReactNode;
|
|
21
|
+
children?: default_2.ReactNode;
|
|
25
22
|
sx?: object;
|
|
26
23
|
[x: string]: any;
|
|
27
24
|
}) => JSX_2.Element;
|
|
28
25
|
Label: {
|
|
29
26
|
(props: {
|
|
30
27
|
required?: boolean;
|
|
31
|
-
children?: ReactNode;
|
|
28
|
+
children?: default_2.ReactNode;
|
|
32
29
|
sx?: object;
|
|
33
30
|
[x: string]: any;
|
|
34
31
|
}): JSX_2.Element;
|
|
35
32
|
displayName: string;
|
|
36
33
|
};
|
|
37
|
-
Control: ForwardRefExoticComponent<Omit<{
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}, "ref"> & RefAttributes<unknown>>;
|
|
34
|
+
Control: default_2.ForwardRefExoticComponent<Omit<{
|
|
35
|
+
[x: string]: any;
|
|
36
|
+
controlType: "input" | "select" | "textarea";
|
|
37
|
+
focus?: boolean;
|
|
38
|
+
onFocus?: boolean;
|
|
39
|
+
sx?: object;
|
|
40
|
+
placeholder?: string;
|
|
41
|
+
isSearchable?: boolean;
|
|
42
|
+
isClearable: boolean;
|
|
43
|
+
}, "ref"> & default_2.RefAttributes<unknown>>;
|
|
47
44
|
ErrorMessage: {
|
|
48
45
|
(props: {
|
|
49
|
-
children?: ReactNode;
|
|
50
|
-
}): ReactNode;
|
|
46
|
+
children?: default_2.ReactNode;
|
|
47
|
+
}): default_2.ReactNode;
|
|
51
48
|
displayName: string;
|
|
52
49
|
};
|
|
53
50
|
};
|
|
@@ -57,7 +54,7 @@ declare interface IConfirmDialogConfig {
|
|
|
57
54
|
title: string;
|
|
58
55
|
description: string;
|
|
59
56
|
onConfirm: () => void;
|
|
60
|
-
icon?: ReactElement;
|
|
57
|
+
icon?: default_2.ReactElement;
|
|
61
58
|
buttonContent?: {
|
|
62
59
|
onConfirmTitle?: string;
|
|
63
60
|
onCloseTitle?: string;
|
|
@@ -73,7 +70,7 @@ declare interface IModalProps {
|
|
|
73
70
|
sx?: object;
|
|
74
71
|
isOpen: boolean;
|
|
75
72
|
onClose: () => void;
|
|
76
|
-
children?: ReactNode;
|
|
73
|
+
children?: default_2.ReactNode;
|
|
77
74
|
}
|
|
78
75
|
|
|
79
76
|
declare interface IToastContext {
|
|
@@ -89,19 +86,19 @@ declare type IToastPositions = 'top-left' | 'top-center' | 'top-right' | 'bottom
|
|
|
89
86
|
export declare const Modal: {
|
|
90
87
|
(props: IModalProps): JSX_2.Element;
|
|
91
88
|
Content: ({ children }: {
|
|
92
|
-
children: ReactNode;
|
|
89
|
+
children: default_2.ReactNode;
|
|
93
90
|
}) => JSX_2.Element;
|
|
94
91
|
Header: ({ children }: {
|
|
95
|
-
children: ReactNode;
|
|
92
|
+
children: default_2.ReactNode;
|
|
96
93
|
}) => JSX_2.Element;
|
|
97
94
|
Title: ({ children }: {
|
|
98
|
-
children: ReactNode;
|
|
95
|
+
children: default_2.ReactNode;
|
|
99
96
|
}) => JSX_2.Element;
|
|
100
97
|
Body: ({ children }: {
|
|
101
|
-
children: ReactNode;
|
|
98
|
+
children: default_2.ReactNode;
|
|
102
99
|
}) => JSX_2.Element;
|
|
103
100
|
Footer: (props: {
|
|
104
|
-
children?: ReactNode;
|
|
101
|
+
children?: default_2.ReactNode;
|
|
105
102
|
closeTitle?: string;
|
|
106
103
|
}) => JSX_2.Element;
|
|
107
104
|
};
|