@solace-health/ui 0.9.41 → 0.9.42
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 +180 -172
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +31 -0
- package/dist/index.d.ts +31 -0
- package/dist/index.js +156 -148
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -564,6 +564,37 @@ declare const _default$2: {
|
|
|
564
564
|
}) => void) | undefined;
|
|
565
565
|
containerStyle?: react.CSSProperties | undefined;
|
|
566
566
|
}) => react_jsx_runtime.JSX.Element;
|
|
567
|
+
SelectMenu: ({ label, name, details, placeholder, className, options, disabled, mode, previewOnly, isLabelBold, formOptions, onChange, containerStyle, allowClear, loading, value, defaultValue, }: {
|
|
568
|
+
label?: string | JSX.Element | undefined;
|
|
569
|
+
name: string;
|
|
570
|
+
details?: string | undefined;
|
|
571
|
+
placeholder?: react.ReactNode;
|
|
572
|
+
options: {
|
|
573
|
+
label: react.ReactNode;
|
|
574
|
+
value: string | number;
|
|
575
|
+
}[];
|
|
576
|
+
formOptions?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
577
|
+
disabled?: boolean | undefined;
|
|
578
|
+
previewOnly?: boolean | undefined;
|
|
579
|
+
isLabelBold?: boolean | undefined;
|
|
580
|
+
onChange?: (({ value, label }: {
|
|
581
|
+
label: react.ReactNode;
|
|
582
|
+
value: string | number;
|
|
583
|
+
}) => void) | undefined;
|
|
584
|
+
containerStyle?: react.CSSProperties | undefined;
|
|
585
|
+
allowClear?: boolean | undefined;
|
|
586
|
+
className?: string | undefined;
|
|
587
|
+
loading?: boolean | undefined;
|
|
588
|
+
mode?: "multiple" | "tags" | undefined;
|
|
589
|
+
value?: {
|
|
590
|
+
label: react.ReactNode;
|
|
591
|
+
value: string | number;
|
|
592
|
+
} | undefined;
|
|
593
|
+
defaultValue?: {
|
|
594
|
+
label: react.ReactNode;
|
|
595
|
+
value: string | number;
|
|
596
|
+
} | undefined;
|
|
597
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
567
598
|
Signature: ({ label, name, options, description, previewOnly, showIcon, ...inputProps }: {
|
|
568
599
|
[inputProps: string]: unknown;
|
|
569
600
|
label: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -564,6 +564,37 @@ declare const _default$2: {
|
|
|
564
564
|
}) => void) | undefined;
|
|
565
565
|
containerStyle?: react.CSSProperties | undefined;
|
|
566
566
|
}) => react_jsx_runtime.JSX.Element;
|
|
567
|
+
SelectMenu: ({ label, name, details, placeholder, className, options, disabled, mode, previewOnly, isLabelBold, formOptions, onChange, containerStyle, allowClear, loading, value, defaultValue, }: {
|
|
568
|
+
label?: string | JSX.Element | undefined;
|
|
569
|
+
name: string;
|
|
570
|
+
details?: string | undefined;
|
|
571
|
+
placeholder?: react.ReactNode;
|
|
572
|
+
options: {
|
|
573
|
+
label: react.ReactNode;
|
|
574
|
+
value: string | number;
|
|
575
|
+
}[];
|
|
576
|
+
formOptions?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
577
|
+
disabled?: boolean | undefined;
|
|
578
|
+
previewOnly?: boolean | undefined;
|
|
579
|
+
isLabelBold?: boolean | undefined;
|
|
580
|
+
onChange?: (({ value, label }: {
|
|
581
|
+
label: react.ReactNode;
|
|
582
|
+
value: string | number;
|
|
583
|
+
}) => void) | undefined;
|
|
584
|
+
containerStyle?: react.CSSProperties | undefined;
|
|
585
|
+
allowClear?: boolean | undefined;
|
|
586
|
+
className?: string | undefined;
|
|
587
|
+
loading?: boolean | undefined;
|
|
588
|
+
mode?: "multiple" | "tags" | undefined;
|
|
589
|
+
value?: {
|
|
590
|
+
label: react.ReactNode;
|
|
591
|
+
value: string | number;
|
|
592
|
+
} | undefined;
|
|
593
|
+
defaultValue?: {
|
|
594
|
+
label: react.ReactNode;
|
|
595
|
+
value: string | number;
|
|
596
|
+
} | undefined;
|
|
597
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
567
598
|
Signature: ({ label, name, options, description, previewOnly, showIcon, ...inputProps }: {
|
|
568
599
|
[inputProps: string]: unknown;
|
|
569
600
|
label: string;
|