@solace-health/ui 0.3.4 → 0.3.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.cjs +154 -148
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +18 -9
- package/dist/index.js +141 -135
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -200,14 +200,16 @@ declare const _default: {
|
|
|
200
200
|
children: string | JSX.Element | JSX.Element[];
|
|
201
201
|
className?: string | undefined;
|
|
202
202
|
}) => react_jsx_runtime.JSX.Element;
|
|
203
|
-
Checkbox: ({ option, name, }: {
|
|
203
|
+
Checkbox: ({ option, name, ...inputProps }: {
|
|
204
|
+
[inputProps: string]: unknown;
|
|
204
205
|
option: {
|
|
205
206
|
label: string | preact.Component<{}, {}>;
|
|
206
207
|
value: string;
|
|
207
208
|
};
|
|
208
209
|
name: string;
|
|
209
210
|
}) => react_jsx_runtime.JSX.Element;
|
|
210
|
-
CheckboxGroup: ({ name, label, details, options, inline, other, }: {
|
|
211
|
+
CheckboxGroup: ({ name, label, details, options, inline, other, ...inputProps }: {
|
|
212
|
+
[inputProps: string]: unknown;
|
|
211
213
|
name: string;
|
|
212
214
|
label: string | HTMLElement;
|
|
213
215
|
details?: string | undefined;
|
|
@@ -220,28 +222,31 @@ declare const _default: {
|
|
|
220
222
|
value: string;
|
|
221
223
|
}[];
|
|
222
224
|
}) => react_jsx_runtime.JSX.Element;
|
|
223
|
-
TextInput: ({ name, label, details, type, options, textArea, marginBottom, isLabelBold, format, ...inputProps }: {
|
|
225
|
+
TextInput: ({ name, label, details, type, options, previewOnly, textArea, marginBottom, isLabelBold, format, ...inputProps }: {
|
|
224
226
|
[inputProps: string]: unknown;
|
|
225
227
|
name: string;
|
|
226
228
|
label?: string | null | undefined;
|
|
227
229
|
details?: string | null | undefined;
|
|
228
230
|
type?: string | undefined;
|
|
229
231
|
options?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
232
|
+
previewOnly?: boolean | undefined;
|
|
230
233
|
textArea?: boolean | undefined;
|
|
231
234
|
marginBottom?: string | null | undefined;
|
|
232
235
|
placeholder?: string | undefined;
|
|
233
236
|
isLabelBold?: boolean | undefined;
|
|
234
237
|
format?: any;
|
|
235
238
|
}) => react_jsx_runtime.JSX.Element;
|
|
236
|
-
Radio: ({ option, name, inline, }: {
|
|
239
|
+
Radio: ({ option, name, inline, ...inputProps }: {
|
|
240
|
+
[inputProps: string]: unknown;
|
|
237
241
|
option: {
|
|
238
242
|
label: string;
|
|
239
243
|
value: string;
|
|
240
244
|
};
|
|
241
245
|
name: string;
|
|
242
|
-
inline
|
|
246
|
+
inline: boolean;
|
|
243
247
|
}) => react_jsx_runtime.JSX.Element;
|
|
244
|
-
RadioGroup: ({ name, label, details, options, inline, allowOther, }: {
|
|
248
|
+
RadioGroup: ({ name, label, details, options, inline, allowOther, ...inputProps }: {
|
|
249
|
+
[inputProps: string]: unknown;
|
|
245
250
|
name: string;
|
|
246
251
|
label: string;
|
|
247
252
|
details?: string | undefined;
|
|
@@ -252,7 +257,7 @@ declare const _default: {
|
|
|
252
257
|
value: string;
|
|
253
258
|
}[];
|
|
254
259
|
}) => react_jsx_runtime.JSX.Element;
|
|
255
|
-
Select: ({ label, name, details, options, allowInput, formOptions, }: {
|
|
260
|
+
Select: ({ label, name, details, options, allowInput, previewOnly, formOptions, }: {
|
|
256
261
|
label?: string | undefined;
|
|
257
262
|
name: string;
|
|
258
263
|
details?: string | undefined;
|
|
@@ -262,8 +267,10 @@ declare const _default: {
|
|
|
262
267
|
}[];
|
|
263
268
|
formOptions?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
264
269
|
allowInput?: boolean | undefined;
|
|
270
|
+
previewOnly?: boolean | undefined;
|
|
265
271
|
}) => react_jsx_runtime.JSX.Element;
|
|
266
|
-
Signature: ({ label, name, options }: {
|
|
272
|
+
Signature: ({ label, name, options, ...inputProps }: {
|
|
273
|
+
[inputProps: string]: unknown;
|
|
267
274
|
label: string;
|
|
268
275
|
name: string;
|
|
269
276
|
options?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
@@ -278,14 +285,16 @@ declare const _default: {
|
|
|
278
285
|
label?: string | undefined;
|
|
279
286
|
details?: string | undefined;
|
|
280
287
|
required?: boolean | undefined;
|
|
288
|
+
previewOnly?: boolean | undefined;
|
|
281
289
|
} & {
|
|
282
290
|
api_key: string;
|
|
283
291
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
284
|
-
Keyword: ({ label, name, details, options }: {
|
|
292
|
+
Keyword: ({ label, name, details, options, previewOnly, }: {
|
|
285
293
|
label?: string | undefined;
|
|
286
294
|
name: string;
|
|
287
295
|
details?: string | undefined;
|
|
288
296
|
options?: string[] | undefined;
|
|
297
|
+
previewOnly?: boolean | undefined;
|
|
289
298
|
}) => react_jsx_runtime.JSX.Element;
|
|
290
299
|
Toggle: ({ defaultState, name, label, handleEvent, value, }: {
|
|
291
300
|
defaultState?: boolean | undefined;
|