@solace-health/ui 0.9.61 → 0.9.62
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 +123 -123
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -18
- package/dist/index.d.ts +14 -18
- package/dist/index.js +106 -106
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -467,22 +467,21 @@ declare const _default$2: {
|
|
|
467
467
|
children: react.ReactNode;
|
|
468
468
|
className?: string | undefined;
|
|
469
469
|
}) => react_jsx_runtime.JSX.Element;
|
|
470
|
-
Checkbox: ({ option, name,
|
|
470
|
+
Checkbox: ({ option, name, formOptions, previewOnly, errorMessage, inGroup, hasError, ...inputProps }: {
|
|
471
471
|
[inputProps: string]: unknown;
|
|
472
472
|
option: {
|
|
473
473
|
label: string | react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
|
474
474
|
value: string;
|
|
475
475
|
};
|
|
476
476
|
name: string;
|
|
477
|
-
|
|
477
|
+
formOptions?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
478
478
|
previewOnly?: boolean | undefined;
|
|
479
479
|
errorMessage?: string | undefined;
|
|
480
480
|
defaultValue?: string | undefined;
|
|
481
|
-
required?: boolean | undefined;
|
|
482
481
|
hasError?: boolean | undefined;
|
|
483
482
|
inGroup?: boolean | undefined;
|
|
484
483
|
}) => react_jsx_runtime.JSX.Element;
|
|
485
|
-
CheckboxGroup: ({ name, label, details, options, inline, previewOnly, other, errorMessage,
|
|
484
|
+
CheckboxGroup: ({ name, label, details, options, inline, previewOnly, other, errorMessage, formOptions, ...inputProps }: {
|
|
486
485
|
[inputProps: string]: unknown;
|
|
487
486
|
name: string;
|
|
488
487
|
label: string | react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
|
@@ -490,6 +489,7 @@ declare const _default$2: {
|
|
|
490
489
|
inline?: boolean | undefined;
|
|
491
490
|
previewOnly?: boolean | undefined;
|
|
492
491
|
errorMessage?: string | undefined;
|
|
492
|
+
formOptions?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
493
493
|
defaultValue?: string | undefined;
|
|
494
494
|
required?: boolean | undefined;
|
|
495
495
|
other?: {
|
|
@@ -510,13 +510,13 @@ declare const _default$2: {
|
|
|
510
510
|
defaultValue?: string | undefined;
|
|
511
511
|
options?: object | undefined;
|
|
512
512
|
}) => react_jsx_runtime.JSX.Element;
|
|
513
|
-
TextInput: ({ name, label, details, type,
|
|
513
|
+
TextInput: ({ name, label, details, type, formOptions, previewOnly, textArea, marginBottom, isLabelBold, format, errorMessage, ...inputProps }: {
|
|
514
514
|
[inputProps: string]: unknown;
|
|
515
515
|
name: string;
|
|
516
516
|
label?: string | JSX.Element | null | undefined;
|
|
517
517
|
details?: string | null | undefined;
|
|
518
518
|
type?: string | undefined;
|
|
519
|
-
|
|
519
|
+
formOptions?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
520
520
|
previewOnly?: boolean | undefined;
|
|
521
521
|
textArea?: boolean | undefined;
|
|
522
522
|
marginBottom?: string | undefined;
|
|
@@ -525,7 +525,6 @@ declare const _default$2: {
|
|
|
525
525
|
controlled?: boolean | undefined;
|
|
526
526
|
format?: any;
|
|
527
527
|
errorMessage?: string | undefined;
|
|
528
|
-
required?: boolean | undefined;
|
|
529
528
|
}) => react_jsx_runtime.JSX.Element;
|
|
530
529
|
TimeSelect: ({ label, name, ...inputProps }: {
|
|
531
530
|
[inputProps: string]: unknown;
|
|
@@ -545,7 +544,7 @@ declare const _default$2: {
|
|
|
545
544
|
hasError?: boolean | undefined;
|
|
546
545
|
formOptions?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
547
546
|
}) => react_jsx_runtime.JSX.Element;
|
|
548
|
-
RadioGroup: ({ name, label, details, options, inline, allowOther, previewOnly,
|
|
547
|
+
RadioGroup: ({ name, label, details, options, inline, allowOther, previewOnly, formOptions, errorMessage, ...inputProps }: {
|
|
549
548
|
[inputProps: string]: unknown;
|
|
550
549
|
name: string;
|
|
551
550
|
label: string | JSX.Element;
|
|
@@ -555,7 +554,6 @@ declare const _default$2: {
|
|
|
555
554
|
previewOnly?: boolean | undefined;
|
|
556
555
|
formOptions?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
557
556
|
errorMessage?: string | undefined;
|
|
558
|
-
required?: boolean | undefined;
|
|
559
557
|
options: {
|
|
560
558
|
label: string;
|
|
561
559
|
value: string;
|
|
@@ -578,9 +576,9 @@ declare const _default$2: {
|
|
|
578
576
|
label?: string | JSX.Element | undefined;
|
|
579
577
|
name: string;
|
|
580
578
|
details?: string | undefined;
|
|
581
|
-
placeholder?:
|
|
579
|
+
placeholder?: string | JSX.Element | undefined;
|
|
582
580
|
options: {
|
|
583
|
-
label:
|
|
581
|
+
label: string | JSX.Element;
|
|
584
582
|
value: string;
|
|
585
583
|
}[];
|
|
586
584
|
formOptions?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
@@ -588,12 +586,12 @@ declare const _default$2: {
|
|
|
588
586
|
previewOnly?: boolean | undefined;
|
|
589
587
|
isLabelBold?: boolean | undefined;
|
|
590
588
|
onChange?: (({ value, label }: {
|
|
591
|
-
label:
|
|
589
|
+
label: string | JSX.Element;
|
|
592
590
|
value: string;
|
|
593
591
|
}) => void) | undefined;
|
|
594
592
|
containerStyle?: react.CSSProperties | undefined;
|
|
595
593
|
}) => react_jsx_runtime.JSX.Element;
|
|
596
|
-
SelectMenu: ({ label, name, details, placeholder, className, options, disabled, mode, previewOnly, isLabelBold, formOptions, onChange, containerStyle, allowClear, loading, value,
|
|
594
|
+
SelectMenu: ({ label, name, details, placeholder, className, options, disabled, mode, previewOnly, isLabelBold, formOptions, onChange, containerStyle, allowClear, loading, value, errorMessage, defaultValue, }: {
|
|
597
595
|
label?: string | JSX.Element | undefined;
|
|
598
596
|
name: string;
|
|
599
597
|
details?: string | undefined;
|
|
@@ -621,13 +619,12 @@ declare const _default$2: {
|
|
|
621
619
|
value: string | number;
|
|
622
620
|
} | undefined;
|
|
623
621
|
defaultValue?: string | undefined;
|
|
624
|
-
required?: boolean | undefined;
|
|
625
622
|
}) => react_jsx_runtime.JSX.Element;
|
|
626
|
-
Signature: ({ label: labelText, name,
|
|
623
|
+
Signature: ({ label: labelText, name, formOptions, description, previewOnly, errorMessage, advocateSignatureNeeded, showIcon, formStyle, ...inputProps }: {
|
|
627
624
|
[inputProps: string]: unknown;
|
|
628
625
|
label: string;
|
|
629
626
|
name: string;
|
|
630
|
-
|
|
627
|
+
formOptions?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
631
628
|
previewOnly?: boolean | undefined;
|
|
632
629
|
description?: string | JSX.Element | undefined;
|
|
633
630
|
errorMessage?: string | undefined;
|
|
@@ -668,7 +665,7 @@ declare const _default$2: {
|
|
|
668
665
|
disabled?: boolean | undefined;
|
|
669
666
|
loading?: boolean | undefined;
|
|
670
667
|
}) => react_jsx_runtime.JSX.Element;
|
|
671
|
-
FileUpload: ({ label, name, disabled, description, isLabelBold, formOptions, onChange, defaultValue, containerStyle,
|
|
668
|
+
FileUpload: ({ label, name, disabled, description, isLabelBold, formOptions, onChange, defaultValue, containerStyle, errorMessage, }: {
|
|
672
669
|
label?: string | JSX.Element | undefined;
|
|
673
670
|
name: string;
|
|
674
671
|
formOptions?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
@@ -679,7 +676,6 @@ declare const _default$2: {
|
|
|
679
676
|
containerStyle?: react.CSSProperties | undefined;
|
|
680
677
|
errorMessage?: string | undefined;
|
|
681
678
|
defaultValue?: string | undefined;
|
|
682
|
-
required?: boolean | undefined;
|
|
683
679
|
}) => react_jsx_runtime.JSX.Element;
|
|
684
680
|
};
|
|
685
681
|
|
package/dist/index.d.ts
CHANGED
|
@@ -467,22 +467,21 @@ declare const _default$2: {
|
|
|
467
467
|
children: react.ReactNode;
|
|
468
468
|
className?: string | undefined;
|
|
469
469
|
}) => react_jsx_runtime.JSX.Element;
|
|
470
|
-
Checkbox: ({ option, name,
|
|
470
|
+
Checkbox: ({ option, name, formOptions, previewOnly, errorMessage, inGroup, hasError, ...inputProps }: {
|
|
471
471
|
[inputProps: string]: unknown;
|
|
472
472
|
option: {
|
|
473
473
|
label: string | react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
|
474
474
|
value: string;
|
|
475
475
|
};
|
|
476
476
|
name: string;
|
|
477
|
-
|
|
477
|
+
formOptions?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
478
478
|
previewOnly?: boolean | undefined;
|
|
479
479
|
errorMessage?: string | undefined;
|
|
480
480
|
defaultValue?: string | undefined;
|
|
481
|
-
required?: boolean | undefined;
|
|
482
481
|
hasError?: boolean | undefined;
|
|
483
482
|
inGroup?: boolean | undefined;
|
|
484
483
|
}) => react_jsx_runtime.JSX.Element;
|
|
485
|
-
CheckboxGroup: ({ name, label, details, options, inline, previewOnly, other, errorMessage,
|
|
484
|
+
CheckboxGroup: ({ name, label, details, options, inline, previewOnly, other, errorMessage, formOptions, ...inputProps }: {
|
|
486
485
|
[inputProps: string]: unknown;
|
|
487
486
|
name: string;
|
|
488
487
|
label: string | react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
|
@@ -490,6 +489,7 @@ declare const _default$2: {
|
|
|
490
489
|
inline?: boolean | undefined;
|
|
491
490
|
previewOnly?: boolean | undefined;
|
|
492
491
|
errorMessage?: string | undefined;
|
|
492
|
+
formOptions?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
493
493
|
defaultValue?: string | undefined;
|
|
494
494
|
required?: boolean | undefined;
|
|
495
495
|
other?: {
|
|
@@ -510,13 +510,13 @@ declare const _default$2: {
|
|
|
510
510
|
defaultValue?: string | undefined;
|
|
511
511
|
options?: object | undefined;
|
|
512
512
|
}) => react_jsx_runtime.JSX.Element;
|
|
513
|
-
TextInput: ({ name, label, details, type,
|
|
513
|
+
TextInput: ({ name, label, details, type, formOptions, previewOnly, textArea, marginBottom, isLabelBold, format, errorMessage, ...inputProps }: {
|
|
514
514
|
[inputProps: string]: unknown;
|
|
515
515
|
name: string;
|
|
516
516
|
label?: string | JSX.Element | null | undefined;
|
|
517
517
|
details?: string | null | undefined;
|
|
518
518
|
type?: string | undefined;
|
|
519
|
-
|
|
519
|
+
formOptions?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
520
520
|
previewOnly?: boolean | undefined;
|
|
521
521
|
textArea?: boolean | undefined;
|
|
522
522
|
marginBottom?: string | undefined;
|
|
@@ -525,7 +525,6 @@ declare const _default$2: {
|
|
|
525
525
|
controlled?: boolean | undefined;
|
|
526
526
|
format?: any;
|
|
527
527
|
errorMessage?: string | undefined;
|
|
528
|
-
required?: boolean | undefined;
|
|
529
528
|
}) => react_jsx_runtime.JSX.Element;
|
|
530
529
|
TimeSelect: ({ label, name, ...inputProps }: {
|
|
531
530
|
[inputProps: string]: unknown;
|
|
@@ -545,7 +544,7 @@ declare const _default$2: {
|
|
|
545
544
|
hasError?: boolean | undefined;
|
|
546
545
|
formOptions?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
547
546
|
}) => react_jsx_runtime.JSX.Element;
|
|
548
|
-
RadioGroup: ({ name, label, details, options, inline, allowOther, previewOnly,
|
|
547
|
+
RadioGroup: ({ name, label, details, options, inline, allowOther, previewOnly, formOptions, errorMessage, ...inputProps }: {
|
|
549
548
|
[inputProps: string]: unknown;
|
|
550
549
|
name: string;
|
|
551
550
|
label: string | JSX.Element;
|
|
@@ -555,7 +554,6 @@ declare const _default$2: {
|
|
|
555
554
|
previewOnly?: boolean | undefined;
|
|
556
555
|
formOptions?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
557
556
|
errorMessage?: string | undefined;
|
|
558
|
-
required?: boolean | undefined;
|
|
559
557
|
options: {
|
|
560
558
|
label: string;
|
|
561
559
|
value: string;
|
|
@@ -578,9 +576,9 @@ declare const _default$2: {
|
|
|
578
576
|
label?: string | JSX.Element | undefined;
|
|
579
577
|
name: string;
|
|
580
578
|
details?: string | undefined;
|
|
581
|
-
placeholder?:
|
|
579
|
+
placeholder?: string | JSX.Element | undefined;
|
|
582
580
|
options: {
|
|
583
|
-
label:
|
|
581
|
+
label: string | JSX.Element;
|
|
584
582
|
value: string;
|
|
585
583
|
}[];
|
|
586
584
|
formOptions?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
@@ -588,12 +586,12 @@ declare const _default$2: {
|
|
|
588
586
|
previewOnly?: boolean | undefined;
|
|
589
587
|
isLabelBold?: boolean | undefined;
|
|
590
588
|
onChange?: (({ value, label }: {
|
|
591
|
-
label:
|
|
589
|
+
label: string | JSX.Element;
|
|
592
590
|
value: string;
|
|
593
591
|
}) => void) | undefined;
|
|
594
592
|
containerStyle?: react.CSSProperties | undefined;
|
|
595
593
|
}) => react_jsx_runtime.JSX.Element;
|
|
596
|
-
SelectMenu: ({ label, name, details, placeholder, className, options, disabled, mode, previewOnly, isLabelBold, formOptions, onChange, containerStyle, allowClear, loading, value,
|
|
594
|
+
SelectMenu: ({ label, name, details, placeholder, className, options, disabled, mode, previewOnly, isLabelBold, formOptions, onChange, containerStyle, allowClear, loading, value, errorMessage, defaultValue, }: {
|
|
597
595
|
label?: string | JSX.Element | undefined;
|
|
598
596
|
name: string;
|
|
599
597
|
details?: string | undefined;
|
|
@@ -621,13 +619,12 @@ declare const _default$2: {
|
|
|
621
619
|
value: string | number;
|
|
622
620
|
} | undefined;
|
|
623
621
|
defaultValue?: string | undefined;
|
|
624
|
-
required?: boolean | undefined;
|
|
625
622
|
}) => react_jsx_runtime.JSX.Element;
|
|
626
|
-
Signature: ({ label: labelText, name,
|
|
623
|
+
Signature: ({ label: labelText, name, formOptions, description, previewOnly, errorMessage, advocateSignatureNeeded, showIcon, formStyle, ...inputProps }: {
|
|
627
624
|
[inputProps: string]: unknown;
|
|
628
625
|
label: string;
|
|
629
626
|
name: string;
|
|
630
|
-
|
|
627
|
+
formOptions?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
631
628
|
previewOnly?: boolean | undefined;
|
|
632
629
|
description?: string | JSX.Element | undefined;
|
|
633
630
|
errorMessage?: string | undefined;
|
|
@@ -668,7 +665,7 @@ declare const _default$2: {
|
|
|
668
665
|
disabled?: boolean | undefined;
|
|
669
666
|
loading?: boolean | undefined;
|
|
670
667
|
}) => react_jsx_runtime.JSX.Element;
|
|
671
|
-
FileUpload: ({ label, name, disabled, description, isLabelBold, formOptions, onChange, defaultValue, containerStyle,
|
|
668
|
+
FileUpload: ({ label, name, disabled, description, isLabelBold, formOptions, onChange, defaultValue, containerStyle, errorMessage, }: {
|
|
672
669
|
label?: string | JSX.Element | undefined;
|
|
673
670
|
name: string;
|
|
674
671
|
formOptions?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
@@ -679,7 +676,6 @@ declare const _default$2: {
|
|
|
679
676
|
containerStyle?: react.CSSProperties | undefined;
|
|
680
677
|
errorMessage?: string | undefined;
|
|
681
678
|
defaultValue?: string | undefined;
|
|
682
|
-
required?: boolean | undefined;
|
|
683
679
|
}) => react_jsx_runtime.JSX.Element;
|
|
684
680
|
};
|
|
685
681
|
|