@solace-health/ui 0.7.12 → 0.8.0
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 +289 -122
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +32 -4
- package/dist/index.d.ts +32 -4
- package/dist/index.js +261 -95
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -35,7 +35,7 @@ declare type Props$b = {
|
|
|
35
35
|
};
|
|
36
36
|
[extraProps: string]: unknown;
|
|
37
37
|
};
|
|
38
|
-
declare const _default$
|
|
38
|
+
declare const _default$5: {
|
|
39
39
|
Primary: ({ children, isSubmitting, toolTip, ...extraProps }: Props$b) => react_jsx_runtime.JSX.Element;
|
|
40
40
|
Outline: ({ children, isSubmitting, toolTip, ...extraProps }: Props$b) => react_jsx_runtime.JSX.Element;
|
|
41
41
|
Unstyled: ({ children, isSubmitting, toolTip, ...extraProps }: Props$b) => react_jsx_runtime.JSX.Element;
|
|
@@ -73,7 +73,7 @@ declare type Props$8 = {
|
|
|
73
73
|
};
|
|
74
74
|
declare const Drawer: ({ isOpen, onClose, children, title, placement, headerStyle, ...extraProps }: Props$8) => react_jsx_runtime.JSX.Element;
|
|
75
75
|
|
|
76
|
-
declare const _default$
|
|
76
|
+
declare const _default$4: {
|
|
77
77
|
AddCircle: ({ color }: {
|
|
78
78
|
color?: string | undefined;
|
|
79
79
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -248,7 +248,7 @@ declare type HeaderProps = {
|
|
|
248
248
|
children: string | JSX.Element | JSX.Element[];
|
|
249
249
|
className?: string;
|
|
250
250
|
};
|
|
251
|
-
declare const _default$
|
|
251
|
+
declare const _default$3: {
|
|
252
252
|
Button: ({ label, className }: ButtonProps) => react_jsx_runtime.JSX.Element;
|
|
253
253
|
Container: ({ children, cta, onItemClick, onMenuChange, className, menuProps, caretColor, }: ContainerProps) => react_jsx_runtime.JSX.Element;
|
|
254
254
|
Search: ({ value, onChange, className, }: SearchProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -298,6 +298,21 @@ declare type ProviderProps = {
|
|
|
298
298
|
};
|
|
299
299
|
declare const SolaceThemeProvider: ({ children, theme, }: ProviderProps) => react_jsx_runtime.JSX.Element;
|
|
300
300
|
|
|
301
|
+
interface Step {
|
|
302
|
+
title: string;
|
|
303
|
+
description: string;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
declare const _default$2: {
|
|
307
|
+
Horizontal: ({ currentStep, steps, }: {
|
|
308
|
+
currentStep: number;
|
|
309
|
+
steps: string[];
|
|
310
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
311
|
+
Vertical: ({ steps }: {
|
|
312
|
+
steps: Step[];
|
|
313
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
314
|
+
};
|
|
315
|
+
|
|
301
316
|
declare const _default$1: {
|
|
302
317
|
Container: ({ formMethods, formOptions, onSubmit, children, className, }: {
|
|
303
318
|
formMethods?: UseFormReturn<any, any> | null | undefined;
|
|
@@ -402,6 +417,19 @@ declare const _default$1: {
|
|
|
402
417
|
value: string;
|
|
403
418
|
}[];
|
|
404
419
|
}) => react_jsx_runtime.JSX.Element;
|
|
420
|
+
CardRadioGroup: ({ name, label, className, options, formOptions, id, }: {
|
|
421
|
+
name: string;
|
|
422
|
+
label?: string | null | undefined;
|
|
423
|
+
options: {
|
|
424
|
+
label: string;
|
|
425
|
+
value: string;
|
|
426
|
+
description: string;
|
|
427
|
+
icon?: JSX.Element | undefined;
|
|
428
|
+
}[];
|
|
429
|
+
className?: string | undefined;
|
|
430
|
+
formOptions?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
431
|
+
id?: string | undefined;
|
|
432
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
405
433
|
Select: ({ label, name, details, placeholder, options, allowInput, previewOnly, isLabelBold, formOptions, onChange, }: {
|
|
406
434
|
label?: string | undefined;
|
|
407
435
|
name: string;
|
|
@@ -500,4 +528,4 @@ declare const VantaLogo: ({ contentfulConfig, size, }: {
|
|
|
500
528
|
size?: number | undefined;
|
|
501
529
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
502
530
|
|
|
503
|
-
export { Avatar, _default$
|
|
531
|
+
export { Avatar, _default$5 as Button, Collapse, Contentful, ContentfulLottieFileSlug, DateSelect, Drawer, _default$1 as Form, _default$4 as Icons, LoadingSpinner, LottieAnimation, _default$3 as Menu, Modal, _default$2 as NumberedProgressSteps, Progress, Segmented, Size, SolaceLogo, SolaceThemeProvider, Tabs, TimeSelect, Toggle, Tooltip, _default as Typography, VantaLogo };
|
package/dist/index.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ declare type Props$b = {
|
|
|
35
35
|
};
|
|
36
36
|
[extraProps: string]: unknown;
|
|
37
37
|
};
|
|
38
|
-
declare const _default$
|
|
38
|
+
declare const _default$5: {
|
|
39
39
|
Primary: ({ children, isSubmitting, toolTip, ...extraProps }: Props$b) => react_jsx_runtime.JSX.Element;
|
|
40
40
|
Outline: ({ children, isSubmitting, toolTip, ...extraProps }: Props$b) => react_jsx_runtime.JSX.Element;
|
|
41
41
|
Unstyled: ({ children, isSubmitting, toolTip, ...extraProps }: Props$b) => react_jsx_runtime.JSX.Element;
|
|
@@ -73,7 +73,7 @@ declare type Props$8 = {
|
|
|
73
73
|
};
|
|
74
74
|
declare const Drawer: ({ isOpen, onClose, children, title, placement, headerStyle, ...extraProps }: Props$8) => react_jsx_runtime.JSX.Element;
|
|
75
75
|
|
|
76
|
-
declare const _default$
|
|
76
|
+
declare const _default$4: {
|
|
77
77
|
AddCircle: ({ color }: {
|
|
78
78
|
color?: string | undefined;
|
|
79
79
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -248,7 +248,7 @@ declare type HeaderProps = {
|
|
|
248
248
|
children: string | JSX.Element | JSX.Element[];
|
|
249
249
|
className?: string;
|
|
250
250
|
};
|
|
251
|
-
declare const _default$
|
|
251
|
+
declare const _default$3: {
|
|
252
252
|
Button: ({ label, className }: ButtonProps) => react_jsx_runtime.JSX.Element;
|
|
253
253
|
Container: ({ children, cta, onItemClick, onMenuChange, className, menuProps, caretColor, }: ContainerProps) => react_jsx_runtime.JSX.Element;
|
|
254
254
|
Search: ({ value, onChange, className, }: SearchProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -298,6 +298,21 @@ declare type ProviderProps = {
|
|
|
298
298
|
};
|
|
299
299
|
declare const SolaceThemeProvider: ({ children, theme, }: ProviderProps) => react_jsx_runtime.JSX.Element;
|
|
300
300
|
|
|
301
|
+
interface Step {
|
|
302
|
+
title: string;
|
|
303
|
+
description: string;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
declare const _default$2: {
|
|
307
|
+
Horizontal: ({ currentStep, steps, }: {
|
|
308
|
+
currentStep: number;
|
|
309
|
+
steps: string[];
|
|
310
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
311
|
+
Vertical: ({ steps }: {
|
|
312
|
+
steps: Step[];
|
|
313
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
314
|
+
};
|
|
315
|
+
|
|
301
316
|
declare const _default$1: {
|
|
302
317
|
Container: ({ formMethods, formOptions, onSubmit, children, className, }: {
|
|
303
318
|
formMethods?: UseFormReturn<any, any> | null | undefined;
|
|
@@ -402,6 +417,19 @@ declare const _default$1: {
|
|
|
402
417
|
value: string;
|
|
403
418
|
}[];
|
|
404
419
|
}) => react_jsx_runtime.JSX.Element;
|
|
420
|
+
CardRadioGroup: ({ name, label, className, options, formOptions, id, }: {
|
|
421
|
+
name: string;
|
|
422
|
+
label?: string | null | undefined;
|
|
423
|
+
options: {
|
|
424
|
+
label: string;
|
|
425
|
+
value: string;
|
|
426
|
+
description: string;
|
|
427
|
+
icon?: JSX.Element | undefined;
|
|
428
|
+
}[];
|
|
429
|
+
className?: string | undefined;
|
|
430
|
+
formOptions?: react_hook_form.RegisterOptions<react_hook_form.FieldValues, string> | undefined;
|
|
431
|
+
id?: string | undefined;
|
|
432
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
405
433
|
Select: ({ label, name, details, placeholder, options, allowInput, previewOnly, isLabelBold, formOptions, onChange, }: {
|
|
406
434
|
label?: string | undefined;
|
|
407
435
|
name: string;
|
|
@@ -500,4 +528,4 @@ declare const VantaLogo: ({ contentfulConfig, size, }: {
|
|
|
500
528
|
size?: number | undefined;
|
|
501
529
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
502
530
|
|
|
503
|
-
export { Avatar, _default$
|
|
531
|
+
export { Avatar, _default$5 as Button, Collapse, Contentful, ContentfulLottieFileSlug, DateSelect, Drawer, _default$1 as Form, _default$4 as Icons, LoadingSpinner, LottieAnimation, _default$3 as Menu, Modal, _default$2 as NumberedProgressSteps, Progress, Segmented, Size, SolaceLogo, SolaceThemeProvider, Tabs, TimeSelect, Toggle, Tooltip, _default as Typography, VantaLogo };
|