@solace-health/ui 0.7.3 → 0.7.5
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 +152 -122
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +22 -10
- package/dist/index.d.ts +22 -10
- package/dist/index.js +128 -99
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -13,7 +13,7 @@ import * as react_hook_form from 'react-hook-form';
|
|
|
13
13
|
import { UseFormReturn } from 'react-hook-form';
|
|
14
14
|
export { useForm, useFormContext } from 'react-hook-form';
|
|
15
15
|
|
|
16
|
-
declare type Props$
|
|
16
|
+
declare type Props$c = {
|
|
17
17
|
size?: number;
|
|
18
18
|
style?: React.CSSProperties;
|
|
19
19
|
src?: string;
|
|
@@ -23,9 +23,9 @@ declare type Props$b = {
|
|
|
23
23
|
last_name?: string;
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
-
declare const Avatar: ({ size, style, src, user, }: Props$
|
|
26
|
+
declare const Avatar: ({ size, style, src, user, }: Props$c) => react_jsx_runtime.JSX.Element;
|
|
27
27
|
|
|
28
|
-
declare type Props$
|
|
28
|
+
declare type Props$b = {
|
|
29
29
|
children: React.ReactNode;
|
|
30
30
|
isSubmitting?: boolean;
|
|
31
31
|
toolTip?: {
|
|
@@ -35,12 +35,23 @@ declare type Props$a = {
|
|
|
35
35
|
[extraProps: string]: unknown;
|
|
36
36
|
};
|
|
37
37
|
declare const _default$4: {
|
|
38
|
-
Primary: ({ children, isSubmitting, toolTip, ...extraProps }: Props$
|
|
39
|
-
Outline: ({ children, isSubmitting, toolTip, ...extraProps }: Props$
|
|
40
|
-
Unstyled: ({ children, isSubmitting, toolTip, ...extraProps }: Props$
|
|
41
|
-
Secondary: ({ children, isSubmitting, toolTip, ...extraProps }: Props$
|
|
42
|
-
Link: ({ children, toolTip, ...extraProps }: Props$
|
|
38
|
+
Primary: ({ children, isSubmitting, toolTip, ...extraProps }: Props$b) => react_jsx_runtime.JSX.Element;
|
|
39
|
+
Outline: ({ children, isSubmitting, toolTip, ...extraProps }: Props$b) => react_jsx_runtime.JSX.Element;
|
|
40
|
+
Unstyled: ({ children, isSubmitting, toolTip, ...extraProps }: Props$b) => react_jsx_runtime.JSX.Element;
|
|
41
|
+
Secondary: ({ children, isSubmitting, toolTip, ...extraProps }: Props$b) => react_jsx_runtime.JSX.Element;
|
|
42
|
+
Link: ({ children, toolTip, ...extraProps }: Props$b) => react_jsx_runtime.JSX.Element;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
declare type Item = {
|
|
46
|
+
key: string;
|
|
47
|
+
label: JSX.Element | React.RefObject<HTMLDivElement> | string;
|
|
48
|
+
children: JSX.Element | React.RefObject<HTMLDivElement> | string;
|
|
49
|
+
};
|
|
50
|
+
declare type Props$a = {
|
|
51
|
+
items: Item[] | Item;
|
|
52
|
+
onChange: (event: unknown) => void;
|
|
43
53
|
};
|
|
54
|
+
declare const Collapse: ({ items, onChange }: Props$a) => react_jsx_runtime.JSX.Element;
|
|
44
55
|
|
|
45
56
|
declare type Props$9 = {
|
|
46
57
|
value?: string | null;
|
|
@@ -216,6 +227,7 @@ declare type ContainerProps = {
|
|
|
216
227
|
onMenuChange?: (e: any) => void;
|
|
217
228
|
className?: string;
|
|
218
229
|
menuProps?: MenuProps;
|
|
230
|
+
caretColor?: string;
|
|
219
231
|
};
|
|
220
232
|
declare type ButtonProps = {
|
|
221
233
|
label: string | JSX.Element;
|
|
@@ -240,7 +252,7 @@ declare type HeaderProps = {
|
|
|
240
252
|
};
|
|
241
253
|
declare const _default$2: {
|
|
242
254
|
Button: ({ label, className }: ButtonProps) => react_jsx_runtime.JSX.Element;
|
|
243
|
-
Container: ({ children, cta, onItemClick, onMenuChange, className, menuProps, }: ContainerProps) => react_jsx_runtime.JSX.Element;
|
|
255
|
+
Container: ({ children, cta, onItemClick, onMenuChange, className, menuProps, caretColor, }: ContainerProps) => react_jsx_runtime.JSX.Element;
|
|
244
256
|
Search: ({ value, onChange, className, }: SearchProps) => react_jsx_runtime.JSX.Element;
|
|
245
257
|
Divider: ({ className }: {
|
|
246
258
|
className?: string | undefined;
|
|
@@ -490,4 +502,4 @@ declare const VantaLogo: ({ contentfulConfig, size, }: {
|
|
|
490
502
|
size?: number | undefined;
|
|
491
503
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
492
504
|
|
|
493
|
-
export { Avatar, _default$4 as Button, Contentful, ContentfulLottieFileSlug, DateSelect, Drawer, _default$1 as Form, _default$3 as Icons, LoadingSpinner, LottieAnimation, _default$2 as Menu, Modal, Progress, Segmented, Size, SolaceLogo, SolaceThemeProvider, Tabs, TimeSelect, Toggle, Tooltip, _default as Typography, VantaLogo };
|
|
505
|
+
export { Avatar, _default$4 as Button, Collapse, Contentful, ContentfulLottieFileSlug, DateSelect, Drawer, _default$1 as Form, _default$3 as Icons, LoadingSpinner, LottieAnimation, _default$2 as Menu, Modal, Progress, Segmented, Size, SolaceLogo, SolaceThemeProvider, Tabs, TimeSelect, Toggle, Tooltip, _default as Typography, VantaLogo };
|
package/dist/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ import * as react_hook_form from 'react-hook-form';
|
|
|
13
13
|
import { UseFormReturn } from 'react-hook-form';
|
|
14
14
|
export { useForm, useFormContext } from 'react-hook-form';
|
|
15
15
|
|
|
16
|
-
declare type Props$
|
|
16
|
+
declare type Props$c = {
|
|
17
17
|
size?: number;
|
|
18
18
|
style?: React.CSSProperties;
|
|
19
19
|
src?: string;
|
|
@@ -23,9 +23,9 @@ declare type Props$b = {
|
|
|
23
23
|
last_name?: string;
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
-
declare const Avatar: ({ size, style, src, user, }: Props$
|
|
26
|
+
declare const Avatar: ({ size, style, src, user, }: Props$c) => react_jsx_runtime.JSX.Element;
|
|
27
27
|
|
|
28
|
-
declare type Props$
|
|
28
|
+
declare type Props$b = {
|
|
29
29
|
children: React.ReactNode;
|
|
30
30
|
isSubmitting?: boolean;
|
|
31
31
|
toolTip?: {
|
|
@@ -35,12 +35,23 @@ declare type Props$a = {
|
|
|
35
35
|
[extraProps: string]: unknown;
|
|
36
36
|
};
|
|
37
37
|
declare const _default$4: {
|
|
38
|
-
Primary: ({ children, isSubmitting, toolTip, ...extraProps }: Props$
|
|
39
|
-
Outline: ({ children, isSubmitting, toolTip, ...extraProps }: Props$
|
|
40
|
-
Unstyled: ({ children, isSubmitting, toolTip, ...extraProps }: Props$
|
|
41
|
-
Secondary: ({ children, isSubmitting, toolTip, ...extraProps }: Props$
|
|
42
|
-
Link: ({ children, toolTip, ...extraProps }: Props$
|
|
38
|
+
Primary: ({ children, isSubmitting, toolTip, ...extraProps }: Props$b) => react_jsx_runtime.JSX.Element;
|
|
39
|
+
Outline: ({ children, isSubmitting, toolTip, ...extraProps }: Props$b) => react_jsx_runtime.JSX.Element;
|
|
40
|
+
Unstyled: ({ children, isSubmitting, toolTip, ...extraProps }: Props$b) => react_jsx_runtime.JSX.Element;
|
|
41
|
+
Secondary: ({ children, isSubmitting, toolTip, ...extraProps }: Props$b) => react_jsx_runtime.JSX.Element;
|
|
42
|
+
Link: ({ children, toolTip, ...extraProps }: Props$b) => react_jsx_runtime.JSX.Element;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
declare type Item = {
|
|
46
|
+
key: string;
|
|
47
|
+
label: JSX.Element | React.RefObject<HTMLDivElement> | string;
|
|
48
|
+
children: JSX.Element | React.RefObject<HTMLDivElement> | string;
|
|
49
|
+
};
|
|
50
|
+
declare type Props$a = {
|
|
51
|
+
items: Item[] | Item;
|
|
52
|
+
onChange: (event: unknown) => void;
|
|
43
53
|
};
|
|
54
|
+
declare const Collapse: ({ items, onChange }: Props$a) => react_jsx_runtime.JSX.Element;
|
|
44
55
|
|
|
45
56
|
declare type Props$9 = {
|
|
46
57
|
value?: string | null;
|
|
@@ -216,6 +227,7 @@ declare type ContainerProps = {
|
|
|
216
227
|
onMenuChange?: (e: any) => void;
|
|
217
228
|
className?: string;
|
|
218
229
|
menuProps?: MenuProps;
|
|
230
|
+
caretColor?: string;
|
|
219
231
|
};
|
|
220
232
|
declare type ButtonProps = {
|
|
221
233
|
label: string | JSX.Element;
|
|
@@ -240,7 +252,7 @@ declare type HeaderProps = {
|
|
|
240
252
|
};
|
|
241
253
|
declare const _default$2: {
|
|
242
254
|
Button: ({ label, className }: ButtonProps) => react_jsx_runtime.JSX.Element;
|
|
243
|
-
Container: ({ children, cta, onItemClick, onMenuChange, className, menuProps, }: ContainerProps) => react_jsx_runtime.JSX.Element;
|
|
255
|
+
Container: ({ children, cta, onItemClick, onMenuChange, className, menuProps, caretColor, }: ContainerProps) => react_jsx_runtime.JSX.Element;
|
|
244
256
|
Search: ({ value, onChange, className, }: SearchProps) => react_jsx_runtime.JSX.Element;
|
|
245
257
|
Divider: ({ className }: {
|
|
246
258
|
className?: string | undefined;
|
|
@@ -490,4 +502,4 @@ declare const VantaLogo: ({ contentfulConfig, size, }: {
|
|
|
490
502
|
size?: number | undefined;
|
|
491
503
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
492
504
|
|
|
493
|
-
export { Avatar, _default$4 as Button, Contentful, ContentfulLottieFileSlug, DateSelect, Drawer, _default$1 as Form, _default$3 as Icons, LoadingSpinner, LottieAnimation, _default$2 as Menu, Modal, Progress, Segmented, Size, SolaceLogo, SolaceThemeProvider, Tabs, TimeSelect, Toggle, Tooltip, _default as Typography, VantaLogo };
|
|
505
|
+
export { Avatar, _default$4 as Button, Collapse, Contentful, ContentfulLottieFileSlug, DateSelect, Drawer, _default$1 as Form, _default$3 as Icons, LoadingSpinner, LottieAnimation, _default$2 as Menu, Modal, Progress, Segmented, Size, SolaceLogo, SolaceThemeProvider, Tabs, TimeSelect, Toggle, Tooltip, _default as Typography, VantaLogo };
|