@sillsdev/config-r 1.0.0-alpha.5 → 1.0.0-alpha.7
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/ContentPane.d.ts +17 -0
- package/dist/configr.es.js +1009 -999
- package/dist/configr.umd.js +52 -48
- package/package.json +1 -1
package/dist/ContentPane.d.ts
CHANGED
|
@@ -24,12 +24,15 @@ export declare const ConfigrInput: React.FunctionComponent<React.PropsWithChildr
|
|
|
24
24
|
className?: string;
|
|
25
25
|
type?: 'text' | 'number' | 'email';
|
|
26
26
|
units?: string;
|
|
27
|
+
description?: string;
|
|
28
|
+
disabled?: boolean;
|
|
27
29
|
getErrorMessage?: (data: any) => string | undefined;
|
|
28
30
|
}>>;
|
|
29
31
|
export declare const ConfigrCustomStringInput: React.FunctionComponent<React.PropsWithChildren<{
|
|
30
32
|
path: string;
|
|
31
33
|
label: string;
|
|
32
34
|
disabled?: boolean;
|
|
35
|
+
description?: string;
|
|
33
36
|
control: React.FunctionComponent<{
|
|
34
37
|
value: string;
|
|
35
38
|
disabled?: boolean;
|
|
@@ -41,6 +44,8 @@ export declare const ConfigrCustomBooleanInput: React.FunctionComponent<React.Pr
|
|
|
41
44
|
path: string;
|
|
42
45
|
label: string;
|
|
43
46
|
control: BooleanEditorComponent;
|
|
47
|
+
description?: string;
|
|
48
|
+
disabled?: boolean;
|
|
44
49
|
getErrorMessage?: (data: any) => string | undefined;
|
|
45
50
|
}>>;
|
|
46
51
|
export declare const ConfigrCustomNumberInput: React.FunctionComponent<React.PropsWithChildren<{
|
|
@@ -50,11 +55,15 @@ export declare const ConfigrCustomNumberInput: React.FunctionComponent<React.Pro
|
|
|
50
55
|
value: number;
|
|
51
56
|
onChange: (value: number) => void;
|
|
52
57
|
}>>;
|
|
58
|
+
description?: string;
|
|
59
|
+
disabled?: boolean;
|
|
53
60
|
getErrorMessage?: (data: any) => string | undefined;
|
|
54
61
|
}>>;
|
|
55
62
|
export declare function ConfigrCustomObjectInput<T>(props: React.PropsWithChildren<{
|
|
56
63
|
path: string;
|
|
57
64
|
label: string;
|
|
65
|
+
description?: string;
|
|
66
|
+
disabled?: boolean;
|
|
58
67
|
control: React.FunctionComponent<React.PropsWithChildren<{
|
|
59
68
|
value: T;
|
|
60
69
|
onChange: (value: T) => void;
|
|
@@ -103,12 +112,16 @@ export declare const ConfigrBoolean: React.FunctionComponent<React.PropsWithChil
|
|
|
103
112
|
export declare const ConfigrRadioGroup: React.FunctionComponent<React.PropsWithChildren<{
|
|
104
113
|
path: string;
|
|
105
114
|
label: string;
|
|
115
|
+
description?: string;
|
|
116
|
+
disabled?: boolean;
|
|
106
117
|
row?: boolean;
|
|
107
118
|
}>>;
|
|
108
119
|
export declare const ConfigrRadioGroupRaw: React.FunctionComponent<React.PropsWithChildren<{
|
|
109
120
|
path: string;
|
|
110
121
|
label: string;
|
|
111
122
|
row?: boolean;
|
|
123
|
+
description?: string;
|
|
124
|
+
disabled?: boolean;
|
|
112
125
|
}>>;
|
|
113
126
|
export declare const ConfigrRadio: React.FunctionComponent<React.PropsWithChildren<{
|
|
114
127
|
value: any;
|
|
@@ -119,12 +132,16 @@ export declare const ConfigrToggleGroup: React.FunctionComponent<React.PropsWith
|
|
|
119
132
|
label: string;
|
|
120
133
|
row?: boolean;
|
|
121
134
|
height?: string;
|
|
135
|
+
description?: string;
|
|
136
|
+
disabled?: boolean;
|
|
122
137
|
}>>;
|
|
123
138
|
export declare const ConfigrToggleGroupRaw: React.FunctionComponent<React.PropsWithChildren<{
|
|
124
139
|
path: string;
|
|
125
140
|
label: string;
|
|
126
141
|
row?: boolean;
|
|
127
142
|
height?: string;
|
|
143
|
+
description?: string;
|
|
144
|
+
disabled?: boolean;
|
|
128
145
|
}>>;
|
|
129
146
|
export declare function ConfigrMakeToggle(value: any, content: ReactNode): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
130
147
|
export declare const ConfigrChooserButton: React.FunctionComponent<React.PropsWithChildren<{
|