@solace-health/ui 0.9.52 → 0.9.53
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 +206 -205
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +17 -5
- package/dist/index.d.ts +17 -5
- package/dist/index.js +172 -171
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -463,7 +463,7 @@ declare const _default$2: {
|
|
|
463
463
|
children: react.ReactNode;
|
|
464
464
|
className?: string | undefined;
|
|
465
465
|
}) => react_jsx_runtime.JSX.Element;
|
|
466
|
-
Checkbox: ({ option, name, inputOptions, previewOnly, ...inputProps }: {
|
|
466
|
+
Checkbox: ({ option, name, inputOptions, previewOnly, errorMessage, required, inGroup, hasError, ...inputProps }: {
|
|
467
467
|
[inputProps: string]: unknown;
|
|
468
468
|
option: {
|
|
469
469
|
label: string | react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
|
@@ -472,14 +472,20 @@ declare const _default$2: {
|
|
|
472
472
|
name: string;
|
|
473
473
|
inputOptions?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
474
474
|
previewOnly?: boolean | undefined;
|
|
475
|
+
errorMessage?: string | undefined;
|
|
476
|
+
required?: boolean | undefined;
|
|
477
|
+
hasError?: boolean | undefined;
|
|
478
|
+
inGroup?: boolean | undefined;
|
|
475
479
|
}) => react_jsx_runtime.JSX.Element;
|
|
476
|
-
CheckboxGroup: ({ name, label, details, options, inline, previewOnly, other, ...inputProps }: {
|
|
480
|
+
CheckboxGroup: ({ name, label, details, options, inline, previewOnly, other, errorMessage, required, ...inputProps }: {
|
|
477
481
|
[inputProps: string]: unknown;
|
|
478
482
|
name: string;
|
|
479
483
|
label: string | react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
|
480
484
|
details?: string | undefined;
|
|
481
485
|
inline?: boolean | undefined;
|
|
482
486
|
previewOnly?: boolean | undefined;
|
|
487
|
+
errorMessage?: string | undefined;
|
|
488
|
+
required?: boolean | undefined;
|
|
483
489
|
other?: {
|
|
484
490
|
label?: string | react.ReactElement<any, string | react.JSXElementConstructor<any>> | undefined;
|
|
485
491
|
} | undefined;
|
|
@@ -507,6 +513,7 @@ declare const _default$2: {
|
|
|
507
513
|
marginBottom?: string | undefined;
|
|
508
514
|
placeholder?: string | undefined;
|
|
509
515
|
isLabelBold?: boolean | undefined;
|
|
516
|
+
controlled?: boolean | undefined;
|
|
510
517
|
format?: any;
|
|
511
518
|
errorMessage?: string | undefined;
|
|
512
519
|
required?: boolean | undefined;
|
|
@@ -517,7 +524,7 @@ declare const _default$2: {
|
|
|
517
524
|
name: string;
|
|
518
525
|
options?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
519
526
|
}) => react_jsx_runtime.JSX.Element;
|
|
520
|
-
Radio: ({ option, name, inline, previewOnly, formOptions, ...inputProps }: {
|
|
527
|
+
Radio: ({ option, name, inline, previewOnly, hasError, formOptions, ...inputProps }: {
|
|
521
528
|
[inputProps: string]: unknown;
|
|
522
529
|
option: {
|
|
523
530
|
label: string;
|
|
@@ -526,9 +533,10 @@ declare const _default$2: {
|
|
|
526
533
|
name: string;
|
|
527
534
|
inline: boolean;
|
|
528
535
|
previewOnly?: boolean | undefined;
|
|
536
|
+
hasError?: boolean | undefined;
|
|
529
537
|
formOptions?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
530
538
|
}) => react_jsx_runtime.JSX.Element;
|
|
531
|
-
RadioGroup: ({ name, label, details, options, inline, allowOther, previewOnly, formOptions, ...inputProps }: {
|
|
539
|
+
RadioGroup: ({ name, label, details, options, inline, allowOther, previewOnly, required, formOptions, errorMessage, ...inputProps }: {
|
|
532
540
|
[inputProps: string]: unknown;
|
|
533
541
|
name: string;
|
|
534
542
|
label: string | JSX.Element;
|
|
@@ -537,6 +545,8 @@ declare const _default$2: {
|
|
|
537
545
|
allowOther?: boolean | undefined;
|
|
538
546
|
previewOnly?: boolean | undefined;
|
|
539
547
|
formOptions?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
548
|
+
errorMessage?: string | undefined;
|
|
549
|
+
required?: boolean | undefined;
|
|
540
550
|
options: {
|
|
541
551
|
label: string;
|
|
542
552
|
value: string;
|
|
@@ -574,7 +584,7 @@ declare const _default$2: {
|
|
|
574
584
|
}) => void) | undefined;
|
|
575
585
|
containerStyle?: react.CSSProperties | undefined;
|
|
576
586
|
}) => react_jsx_runtime.JSX.Element;
|
|
577
|
-
SelectMenu: ({ label, name, details, placeholder, className, options, disabled, mode, previewOnly, isLabelBold, formOptions, onChange, containerStyle, allowClear, loading, value, defaultValue, }: {
|
|
587
|
+
SelectMenu: ({ label, name, details, placeholder, className, options, disabled, mode, previewOnly, isLabelBold, formOptions, onChange, containerStyle, allowClear, loading, value, required, errorMessage, defaultValue, }: {
|
|
578
588
|
label?: string | JSX.Element | undefined;
|
|
579
589
|
name: string;
|
|
580
590
|
details?: string | undefined;
|
|
@@ -595,6 +605,7 @@ declare const _default$2: {
|
|
|
595
605
|
allowClear?: boolean | undefined;
|
|
596
606
|
className?: string | undefined;
|
|
597
607
|
loading?: boolean | undefined;
|
|
608
|
+
errorMessage?: string | undefined;
|
|
598
609
|
mode?: "multiple" | "tags" | undefined;
|
|
599
610
|
value?: {
|
|
600
611
|
label: react.ReactNode;
|
|
@@ -604,6 +615,7 @@ declare const _default$2: {
|
|
|
604
615
|
label: react.ReactNode;
|
|
605
616
|
value: string | number;
|
|
606
617
|
} | undefined;
|
|
618
|
+
required?: boolean | undefined;
|
|
607
619
|
}) => react_jsx_runtime.JSX.Element;
|
|
608
620
|
Signature: ({ label, name, options, description, previewOnly, showIcon, ...inputProps }: {
|
|
609
621
|
[inputProps: string]: unknown;
|
package/dist/index.d.ts
CHANGED
|
@@ -463,7 +463,7 @@ declare const _default$2: {
|
|
|
463
463
|
children: react.ReactNode;
|
|
464
464
|
className?: string | undefined;
|
|
465
465
|
}) => react_jsx_runtime.JSX.Element;
|
|
466
|
-
Checkbox: ({ option, name, inputOptions, previewOnly, ...inputProps }: {
|
|
466
|
+
Checkbox: ({ option, name, inputOptions, previewOnly, errorMessage, required, inGroup, hasError, ...inputProps }: {
|
|
467
467
|
[inputProps: string]: unknown;
|
|
468
468
|
option: {
|
|
469
469
|
label: string | react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
|
@@ -472,14 +472,20 @@ declare const _default$2: {
|
|
|
472
472
|
name: string;
|
|
473
473
|
inputOptions?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
474
474
|
previewOnly?: boolean | undefined;
|
|
475
|
+
errorMessage?: string | undefined;
|
|
476
|
+
required?: boolean | undefined;
|
|
477
|
+
hasError?: boolean | undefined;
|
|
478
|
+
inGroup?: boolean | undefined;
|
|
475
479
|
}) => react_jsx_runtime.JSX.Element;
|
|
476
|
-
CheckboxGroup: ({ name, label, details, options, inline, previewOnly, other, ...inputProps }: {
|
|
480
|
+
CheckboxGroup: ({ name, label, details, options, inline, previewOnly, other, errorMessage, required, ...inputProps }: {
|
|
477
481
|
[inputProps: string]: unknown;
|
|
478
482
|
name: string;
|
|
479
483
|
label: string | react.ReactElement<any, string | react.JSXElementConstructor<any>>;
|
|
480
484
|
details?: string | undefined;
|
|
481
485
|
inline?: boolean | undefined;
|
|
482
486
|
previewOnly?: boolean | undefined;
|
|
487
|
+
errorMessage?: string | undefined;
|
|
488
|
+
required?: boolean | undefined;
|
|
483
489
|
other?: {
|
|
484
490
|
label?: string | react.ReactElement<any, string | react.JSXElementConstructor<any>> | undefined;
|
|
485
491
|
} | undefined;
|
|
@@ -507,6 +513,7 @@ declare const _default$2: {
|
|
|
507
513
|
marginBottom?: string | undefined;
|
|
508
514
|
placeholder?: string | undefined;
|
|
509
515
|
isLabelBold?: boolean | undefined;
|
|
516
|
+
controlled?: boolean | undefined;
|
|
510
517
|
format?: any;
|
|
511
518
|
errorMessage?: string | undefined;
|
|
512
519
|
required?: boolean | undefined;
|
|
@@ -517,7 +524,7 @@ declare const _default$2: {
|
|
|
517
524
|
name: string;
|
|
518
525
|
options?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
519
526
|
}) => react_jsx_runtime.JSX.Element;
|
|
520
|
-
Radio: ({ option, name, inline, previewOnly, formOptions, ...inputProps }: {
|
|
527
|
+
Radio: ({ option, name, inline, previewOnly, hasError, formOptions, ...inputProps }: {
|
|
521
528
|
[inputProps: string]: unknown;
|
|
522
529
|
option: {
|
|
523
530
|
label: string;
|
|
@@ -526,9 +533,10 @@ declare const _default$2: {
|
|
|
526
533
|
name: string;
|
|
527
534
|
inline: boolean;
|
|
528
535
|
previewOnly?: boolean | undefined;
|
|
536
|
+
hasError?: boolean | undefined;
|
|
529
537
|
formOptions?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
530
538
|
}) => react_jsx_runtime.JSX.Element;
|
|
531
|
-
RadioGroup: ({ name, label, details, options, inline, allowOther, previewOnly, formOptions, ...inputProps }: {
|
|
539
|
+
RadioGroup: ({ name, label, details, options, inline, allowOther, previewOnly, required, formOptions, errorMessage, ...inputProps }: {
|
|
532
540
|
[inputProps: string]: unknown;
|
|
533
541
|
name: string;
|
|
534
542
|
label: string | JSX.Element;
|
|
@@ -537,6 +545,8 @@ declare const _default$2: {
|
|
|
537
545
|
allowOther?: boolean | undefined;
|
|
538
546
|
previewOnly?: boolean | undefined;
|
|
539
547
|
formOptions?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
548
|
+
errorMessage?: string | undefined;
|
|
549
|
+
required?: boolean | undefined;
|
|
540
550
|
options: {
|
|
541
551
|
label: string;
|
|
542
552
|
value: string;
|
|
@@ -574,7 +584,7 @@ declare const _default$2: {
|
|
|
574
584
|
}) => void) | undefined;
|
|
575
585
|
containerStyle?: react.CSSProperties | undefined;
|
|
576
586
|
}) => react_jsx_runtime.JSX.Element;
|
|
577
|
-
SelectMenu: ({ label, name, details, placeholder, className, options, disabled, mode, previewOnly, isLabelBold, formOptions, onChange, containerStyle, allowClear, loading, value, defaultValue, }: {
|
|
587
|
+
SelectMenu: ({ label, name, details, placeholder, className, options, disabled, mode, previewOnly, isLabelBold, formOptions, onChange, containerStyle, allowClear, loading, value, required, errorMessage, defaultValue, }: {
|
|
578
588
|
label?: string | JSX.Element | undefined;
|
|
579
589
|
name: string;
|
|
580
590
|
details?: string | undefined;
|
|
@@ -595,6 +605,7 @@ declare const _default$2: {
|
|
|
595
605
|
allowClear?: boolean | undefined;
|
|
596
606
|
className?: string | undefined;
|
|
597
607
|
loading?: boolean | undefined;
|
|
608
|
+
errorMessage?: string | undefined;
|
|
598
609
|
mode?: "multiple" | "tags" | undefined;
|
|
599
610
|
value?: {
|
|
600
611
|
label: react.ReactNode;
|
|
@@ -604,6 +615,7 @@ declare const _default$2: {
|
|
|
604
615
|
label: react.ReactNode;
|
|
605
616
|
value: string | number;
|
|
606
617
|
} | undefined;
|
|
618
|
+
required?: boolean | undefined;
|
|
607
619
|
}) => react_jsx_runtime.JSX.Element;
|
|
608
620
|
Signature: ({ label, name, options, description, previewOnly, showIcon, ...inputProps }: {
|
|
609
621
|
[inputProps: string]: unknown;
|