@solace-health/ui 0.9.27 → 0.9.29
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 +193 -190
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -5
- package/dist/index.d.ts +11 -5
- package/dist/index.js +165 -162
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -447,7 +447,7 @@ declare const _default$2: {
|
|
|
447
447
|
children: react.ReactNode;
|
|
448
448
|
className?: string | undefined;
|
|
449
449
|
}) => react_jsx_runtime.JSX.Element;
|
|
450
|
-
Checkbox: ({ option, name, inputOptions, ...inputProps }: {
|
|
450
|
+
Checkbox: ({ option, name, inputOptions, previewOnly, ...inputProps }: {
|
|
451
451
|
[inputProps: string]: unknown;
|
|
452
452
|
option: {
|
|
453
453
|
label: string | preact.Component<{}, {}>;
|
|
@@ -455,6 +455,7 @@ declare const _default$2: {
|
|
|
455
455
|
};
|
|
456
456
|
name: string;
|
|
457
457
|
inputOptions?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
458
|
+
previewOnly?: boolean | undefined;
|
|
458
459
|
}) => react_jsx_runtime.JSX.Element;
|
|
459
460
|
CheckboxGroup: ({ name, label, details, options, inline, other, ...inputProps }: {
|
|
460
461
|
[inputProps: string]: unknown;
|
|
@@ -477,7 +478,7 @@ declare const _default$2: {
|
|
|
477
478
|
name: string;
|
|
478
479
|
options?: object | undefined;
|
|
479
480
|
}) => react_jsx_runtime.JSX.Element;
|
|
480
|
-
TextInput: ({ name, label, details, type, options, previewOnly, textArea, marginBottom, isLabelBold, format, errorMessage, ...inputProps }: {
|
|
481
|
+
TextInput: ({ name, label, details, type, options, previewOnly, textArea, marginBottom, isLabelBold, format, errorMessage, required, ...inputProps }: {
|
|
481
482
|
[inputProps: string]: unknown;
|
|
482
483
|
name: string;
|
|
483
484
|
label?: string | JSX.Element | null | undefined;
|
|
@@ -491,6 +492,7 @@ declare const _default$2: {
|
|
|
491
492
|
isLabelBold?: boolean | undefined;
|
|
492
493
|
format?: any;
|
|
493
494
|
errorMessage?: string | undefined;
|
|
495
|
+
required?: boolean | undefined;
|
|
494
496
|
}) => react_jsx_runtime.JSX.Element;
|
|
495
497
|
TimeSelect: ({ label, name, ...inputProps }: {
|
|
496
498
|
[inputProps: string]: unknown;
|
|
@@ -498,7 +500,7 @@ declare const _default$2: {
|
|
|
498
500
|
name: string;
|
|
499
501
|
options?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
500
502
|
}) => react_jsx_runtime.JSX.Element;
|
|
501
|
-
Radio: ({ option, name, inline, ...inputProps }: {
|
|
503
|
+
Radio: ({ option, name, inline, previewOnly, ...inputProps }: {
|
|
502
504
|
[inputProps: string]: unknown;
|
|
503
505
|
option: {
|
|
504
506
|
label: string;
|
|
@@ -506,6 +508,7 @@ declare const _default$2: {
|
|
|
506
508
|
};
|
|
507
509
|
name: string;
|
|
508
510
|
inline: boolean;
|
|
511
|
+
previewOnly?: boolean | undefined;
|
|
509
512
|
}) => react_jsx_runtime.JSX.Element;
|
|
510
513
|
RadioGroup: ({ name, label, details, options, inline, allowOther, ...inputProps }: {
|
|
511
514
|
[inputProps: string]: unknown;
|
|
@@ -533,7 +536,7 @@ declare const _default$2: {
|
|
|
533
536
|
id?: string | undefined;
|
|
534
537
|
}) => react_jsx_runtime.JSX.Element;
|
|
535
538
|
Select: ({ label, name, details, placeholder, options, allowInput, previewOnly, isLabelBold, formOptions, onChange, }: {
|
|
536
|
-
label?: string | undefined;
|
|
539
|
+
label?: string | JSX.Element | undefined;
|
|
537
540
|
name: string;
|
|
538
541
|
details?: string | undefined;
|
|
539
542
|
placeholder?: string | undefined;
|
|
@@ -550,11 +553,14 @@ declare const _default$2: {
|
|
|
550
553
|
value: string;
|
|
551
554
|
}) => void) | undefined;
|
|
552
555
|
}) => react_jsx_runtime.JSX.Element;
|
|
553
|
-
Signature: ({ label, name, options, ...inputProps }: {
|
|
556
|
+
Signature: ({ label, name, options, description, previewOnly, showIcon, ...inputProps }: {
|
|
554
557
|
[inputProps: string]: unknown;
|
|
555
558
|
label: string;
|
|
556
559
|
name: string;
|
|
557
560
|
options?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
561
|
+
previewOnly?: boolean | undefined;
|
|
562
|
+
description?: string | undefined;
|
|
563
|
+
showIcon?: boolean | undefined;
|
|
558
564
|
}) => react_jsx_runtime.JSX.Element;
|
|
559
565
|
Submit: ({ label, isSubmitting, hideWhenInvalid, ...extraProps }: {
|
|
560
566
|
[extraProps: string]: unknown;
|
package/dist/index.d.ts
CHANGED
|
@@ -447,7 +447,7 @@ declare const _default$2: {
|
|
|
447
447
|
children: react.ReactNode;
|
|
448
448
|
className?: string | undefined;
|
|
449
449
|
}) => react_jsx_runtime.JSX.Element;
|
|
450
|
-
Checkbox: ({ option, name, inputOptions, ...inputProps }: {
|
|
450
|
+
Checkbox: ({ option, name, inputOptions, previewOnly, ...inputProps }: {
|
|
451
451
|
[inputProps: string]: unknown;
|
|
452
452
|
option: {
|
|
453
453
|
label: string | preact.Component<{}, {}>;
|
|
@@ -455,6 +455,7 @@ declare const _default$2: {
|
|
|
455
455
|
};
|
|
456
456
|
name: string;
|
|
457
457
|
inputOptions?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
458
|
+
previewOnly?: boolean | undefined;
|
|
458
459
|
}) => react_jsx_runtime.JSX.Element;
|
|
459
460
|
CheckboxGroup: ({ name, label, details, options, inline, other, ...inputProps }: {
|
|
460
461
|
[inputProps: string]: unknown;
|
|
@@ -477,7 +478,7 @@ declare const _default$2: {
|
|
|
477
478
|
name: string;
|
|
478
479
|
options?: object | undefined;
|
|
479
480
|
}) => react_jsx_runtime.JSX.Element;
|
|
480
|
-
TextInput: ({ name, label, details, type, options, previewOnly, textArea, marginBottom, isLabelBold, format, errorMessage, ...inputProps }: {
|
|
481
|
+
TextInput: ({ name, label, details, type, options, previewOnly, textArea, marginBottom, isLabelBold, format, errorMessage, required, ...inputProps }: {
|
|
481
482
|
[inputProps: string]: unknown;
|
|
482
483
|
name: string;
|
|
483
484
|
label?: string | JSX.Element | null | undefined;
|
|
@@ -491,6 +492,7 @@ declare const _default$2: {
|
|
|
491
492
|
isLabelBold?: boolean | undefined;
|
|
492
493
|
format?: any;
|
|
493
494
|
errorMessage?: string | undefined;
|
|
495
|
+
required?: boolean | undefined;
|
|
494
496
|
}) => react_jsx_runtime.JSX.Element;
|
|
495
497
|
TimeSelect: ({ label, name, ...inputProps }: {
|
|
496
498
|
[inputProps: string]: unknown;
|
|
@@ -498,7 +500,7 @@ declare const _default$2: {
|
|
|
498
500
|
name: string;
|
|
499
501
|
options?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
500
502
|
}) => react_jsx_runtime.JSX.Element;
|
|
501
|
-
Radio: ({ option, name, inline, ...inputProps }: {
|
|
503
|
+
Radio: ({ option, name, inline, previewOnly, ...inputProps }: {
|
|
502
504
|
[inputProps: string]: unknown;
|
|
503
505
|
option: {
|
|
504
506
|
label: string;
|
|
@@ -506,6 +508,7 @@ declare const _default$2: {
|
|
|
506
508
|
};
|
|
507
509
|
name: string;
|
|
508
510
|
inline: boolean;
|
|
511
|
+
previewOnly?: boolean | undefined;
|
|
509
512
|
}) => react_jsx_runtime.JSX.Element;
|
|
510
513
|
RadioGroup: ({ name, label, details, options, inline, allowOther, ...inputProps }: {
|
|
511
514
|
[inputProps: string]: unknown;
|
|
@@ -533,7 +536,7 @@ declare const _default$2: {
|
|
|
533
536
|
id?: string | undefined;
|
|
534
537
|
}) => react_jsx_runtime.JSX.Element;
|
|
535
538
|
Select: ({ label, name, details, placeholder, options, allowInput, previewOnly, isLabelBold, formOptions, onChange, }: {
|
|
536
|
-
label?: string | undefined;
|
|
539
|
+
label?: string | JSX.Element | undefined;
|
|
537
540
|
name: string;
|
|
538
541
|
details?: string | undefined;
|
|
539
542
|
placeholder?: string | undefined;
|
|
@@ -550,11 +553,14 @@ declare const _default$2: {
|
|
|
550
553
|
value: string;
|
|
551
554
|
}) => void) | undefined;
|
|
552
555
|
}) => react_jsx_runtime.JSX.Element;
|
|
553
|
-
Signature: ({ label, name, options, ...inputProps }: {
|
|
556
|
+
Signature: ({ label, name, options, description, previewOnly, showIcon, ...inputProps }: {
|
|
554
557
|
[inputProps: string]: unknown;
|
|
555
558
|
label: string;
|
|
556
559
|
name: string;
|
|
557
560
|
options?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
561
|
+
previewOnly?: boolean | undefined;
|
|
562
|
+
description?: string | undefined;
|
|
563
|
+
showIcon?: boolean | undefined;
|
|
558
564
|
}) => react_jsx_runtime.JSX.Element;
|
|
559
565
|
Submit: ({ label, isSubmitting, hideWhenInvalid, ...extraProps }: {
|
|
560
566
|
[extraProps: string]: unknown;
|