@solace-health/ui 0.9.28 → 0.9.30
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 +196 -193
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -6
- package/dist/index.d.ts +14 -6
- package/dist/index.js +168 -165
- 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,13 +455,15 @@ 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
|
-
CheckboxGroup: ({ name, label, details, options, inline, other, ...inputProps }: {
|
|
460
|
+
CheckboxGroup: ({ name, label, details, options, inline, previewOnly, other, ...inputProps }: {
|
|
460
461
|
[inputProps: string]: unknown;
|
|
461
462
|
name: string;
|
|
462
463
|
label: string | HTMLElement;
|
|
463
464
|
details?: string | undefined;
|
|
464
465
|
inline?: boolean | undefined;
|
|
466
|
+
previewOnly?: boolean | undefined;
|
|
465
467
|
other?: {
|
|
466
468
|
label: string | preact.Component<{}, {}>;
|
|
467
469
|
} | undefined;
|
|
@@ -477,7 +479,7 @@ declare const _default$2: {
|
|
|
477
479
|
name: string;
|
|
478
480
|
options?: object | undefined;
|
|
479
481
|
}) => react_jsx_runtime.JSX.Element;
|
|
480
|
-
TextInput: ({ name, label, details, type, options, previewOnly, textArea, marginBottom, isLabelBold, format, errorMessage, ...inputProps }: {
|
|
482
|
+
TextInput: ({ name, label, details, type, options, previewOnly, textArea, marginBottom, isLabelBold, format, errorMessage, required, ...inputProps }: {
|
|
481
483
|
[inputProps: string]: unknown;
|
|
482
484
|
name: string;
|
|
483
485
|
label?: string | JSX.Element | null | undefined;
|
|
@@ -491,6 +493,7 @@ declare const _default$2: {
|
|
|
491
493
|
isLabelBold?: boolean | undefined;
|
|
492
494
|
format?: any;
|
|
493
495
|
errorMessage?: string | undefined;
|
|
496
|
+
required?: boolean | undefined;
|
|
494
497
|
}) => react_jsx_runtime.JSX.Element;
|
|
495
498
|
TimeSelect: ({ label, name, ...inputProps }: {
|
|
496
499
|
[inputProps: string]: unknown;
|
|
@@ -498,7 +501,7 @@ declare const _default$2: {
|
|
|
498
501
|
name: string;
|
|
499
502
|
options?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
500
503
|
}) => react_jsx_runtime.JSX.Element;
|
|
501
|
-
Radio: ({ option, name, inline, ...inputProps }: {
|
|
504
|
+
Radio: ({ option, name, inline, previewOnly, ...inputProps }: {
|
|
502
505
|
[inputProps: string]: unknown;
|
|
503
506
|
option: {
|
|
504
507
|
label: string;
|
|
@@ -506,14 +509,16 @@ declare const _default$2: {
|
|
|
506
509
|
};
|
|
507
510
|
name: string;
|
|
508
511
|
inline: boolean;
|
|
512
|
+
previewOnly?: boolean | undefined;
|
|
509
513
|
}) => react_jsx_runtime.JSX.Element;
|
|
510
|
-
RadioGroup: ({ name, label, details, options, inline, allowOther, ...inputProps }: {
|
|
514
|
+
RadioGroup: ({ name, label, details, options, inline, allowOther, previewOnly, ...inputProps }: {
|
|
511
515
|
[inputProps: string]: unknown;
|
|
512
516
|
name: string;
|
|
513
517
|
label: string | JSX.Element;
|
|
514
518
|
details?: string | undefined;
|
|
515
519
|
inline?: boolean | undefined;
|
|
516
520
|
allowOther?: boolean | undefined;
|
|
521
|
+
previewOnly?: boolean | undefined;
|
|
517
522
|
options: {
|
|
518
523
|
label: string;
|
|
519
524
|
value: string;
|
|
@@ -550,11 +555,14 @@ declare const _default$2: {
|
|
|
550
555
|
value: string;
|
|
551
556
|
}) => void) | undefined;
|
|
552
557
|
}) => react_jsx_runtime.JSX.Element;
|
|
553
|
-
Signature: ({ label, name, options, ...inputProps }: {
|
|
558
|
+
Signature: ({ label, name, options, description, previewOnly, showIcon, ...inputProps }: {
|
|
554
559
|
[inputProps: string]: unknown;
|
|
555
560
|
label: string;
|
|
556
561
|
name: string;
|
|
557
562
|
options?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
563
|
+
previewOnly?: boolean | undefined;
|
|
564
|
+
description?: string | undefined;
|
|
565
|
+
showIcon?: boolean | undefined;
|
|
558
566
|
}) => react_jsx_runtime.JSX.Element;
|
|
559
567
|
Submit: ({ label, isSubmitting, hideWhenInvalid, ...extraProps }: {
|
|
560
568
|
[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,13 +455,15 @@ 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
|
-
CheckboxGroup: ({ name, label, details, options, inline, other, ...inputProps }: {
|
|
460
|
+
CheckboxGroup: ({ name, label, details, options, inline, previewOnly, other, ...inputProps }: {
|
|
460
461
|
[inputProps: string]: unknown;
|
|
461
462
|
name: string;
|
|
462
463
|
label: string | HTMLElement;
|
|
463
464
|
details?: string | undefined;
|
|
464
465
|
inline?: boolean | undefined;
|
|
466
|
+
previewOnly?: boolean | undefined;
|
|
465
467
|
other?: {
|
|
466
468
|
label: string | preact.Component<{}, {}>;
|
|
467
469
|
} | undefined;
|
|
@@ -477,7 +479,7 @@ declare const _default$2: {
|
|
|
477
479
|
name: string;
|
|
478
480
|
options?: object | undefined;
|
|
479
481
|
}) => react_jsx_runtime.JSX.Element;
|
|
480
|
-
TextInput: ({ name, label, details, type, options, previewOnly, textArea, marginBottom, isLabelBold, format, errorMessage, ...inputProps }: {
|
|
482
|
+
TextInput: ({ name, label, details, type, options, previewOnly, textArea, marginBottom, isLabelBold, format, errorMessage, required, ...inputProps }: {
|
|
481
483
|
[inputProps: string]: unknown;
|
|
482
484
|
name: string;
|
|
483
485
|
label?: string | JSX.Element | null | undefined;
|
|
@@ -491,6 +493,7 @@ declare const _default$2: {
|
|
|
491
493
|
isLabelBold?: boolean | undefined;
|
|
492
494
|
format?: any;
|
|
493
495
|
errorMessage?: string | undefined;
|
|
496
|
+
required?: boolean | undefined;
|
|
494
497
|
}) => react_jsx_runtime.JSX.Element;
|
|
495
498
|
TimeSelect: ({ label, name, ...inputProps }: {
|
|
496
499
|
[inputProps: string]: unknown;
|
|
@@ -498,7 +501,7 @@ declare const _default$2: {
|
|
|
498
501
|
name: string;
|
|
499
502
|
options?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
500
503
|
}) => react_jsx_runtime.JSX.Element;
|
|
501
|
-
Radio: ({ option, name, inline, ...inputProps }: {
|
|
504
|
+
Radio: ({ option, name, inline, previewOnly, ...inputProps }: {
|
|
502
505
|
[inputProps: string]: unknown;
|
|
503
506
|
option: {
|
|
504
507
|
label: string;
|
|
@@ -506,14 +509,16 @@ declare const _default$2: {
|
|
|
506
509
|
};
|
|
507
510
|
name: string;
|
|
508
511
|
inline: boolean;
|
|
512
|
+
previewOnly?: boolean | undefined;
|
|
509
513
|
}) => react_jsx_runtime.JSX.Element;
|
|
510
|
-
RadioGroup: ({ name, label, details, options, inline, allowOther, ...inputProps }: {
|
|
514
|
+
RadioGroup: ({ name, label, details, options, inline, allowOther, previewOnly, ...inputProps }: {
|
|
511
515
|
[inputProps: string]: unknown;
|
|
512
516
|
name: string;
|
|
513
517
|
label: string | JSX.Element;
|
|
514
518
|
details?: string | undefined;
|
|
515
519
|
inline?: boolean | undefined;
|
|
516
520
|
allowOther?: boolean | undefined;
|
|
521
|
+
previewOnly?: boolean | undefined;
|
|
517
522
|
options: {
|
|
518
523
|
label: string;
|
|
519
524
|
value: string;
|
|
@@ -550,11 +555,14 @@ declare const _default$2: {
|
|
|
550
555
|
value: string;
|
|
551
556
|
}) => void) | undefined;
|
|
552
557
|
}) => react_jsx_runtime.JSX.Element;
|
|
553
|
-
Signature: ({ label, name, options, ...inputProps }: {
|
|
558
|
+
Signature: ({ label, name, options, description, previewOnly, showIcon, ...inputProps }: {
|
|
554
559
|
[inputProps: string]: unknown;
|
|
555
560
|
label: string;
|
|
556
561
|
name: string;
|
|
557
562
|
options?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
563
|
+
previewOnly?: boolean | undefined;
|
|
564
|
+
description?: string | undefined;
|
|
565
|
+
showIcon?: boolean | undefined;
|
|
558
566
|
}) => react_jsx_runtime.JSX.Element;
|
|
559
567
|
Submit: ({ label, isSubmitting, hideWhenInvalid, ...extraProps }: {
|
|
560
568
|
[extraProps: string]: unknown;
|