@solace-health/ui 0.10.151 → 0.10.152
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 +240 -239
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +26 -12
- package/dist/index.d.ts +26 -12
- package/dist/index.js +192 -192
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2,7 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import react__default, { CSSProperties } from 'react';
|
|
4
4
|
import * as antd from 'antd';
|
|
5
|
-
import { AutoCompleteProps, AvatarProps, BadgeProps, CollapseProps, DividerProps, DrawerProps, MenuProps, DropDownProps, FlexProps, RowProps as RowProps$1, ColProps as ColProps$1, ModalProps, PopoverProps, ProgressProps, TabsProps, TagProps, TimePickerProps as TimePickerProps$1, SubMenuProps, DatePickerProps } from 'antd';
|
|
5
|
+
import { AutoCompleteProps, AvatarProps, BadgeProps, CollapseProps, DividerProps, DrawerProps, MenuProps, DropDownProps, FlexProps, RowProps as RowProps$1, ColProps as ColProps$1, ModalProps, PopoverProps, ProgressProps, SkeletonProps, TabsProps, TagProps, TimePickerProps as TimePickerProps$1, SubMenuProps, DatePickerProps } from 'antd';
|
|
6
6
|
import * as dayjs from 'dayjs';
|
|
7
7
|
import dayjs__default, { Dayjs } from 'dayjs';
|
|
8
8
|
import * as _emotion_styled from '@emotion/styled';
|
|
@@ -12,6 +12,11 @@ import * as _emotion_react from '@emotion/react';
|
|
|
12
12
|
import * as contentful from 'contentful';
|
|
13
13
|
import { MenuProps as MenuProps$1 } from '@szhsin/react-menu';
|
|
14
14
|
import { FunctionalComponent } from 'preact';
|
|
15
|
+
import { AvatarProps as AvatarProps$1 } from 'antd/es/skeleton/Avatar';
|
|
16
|
+
import { SkeletonButtonProps } from 'antd/es/skeleton/Button';
|
|
17
|
+
import { SkeletonImageProps } from 'antd/es/skeleton/Image';
|
|
18
|
+
import { SkeletonInputProps } from 'antd/es/skeleton/Input';
|
|
19
|
+
import { SkeletonNodeProps } from 'antd/es/skeleton/Node';
|
|
15
20
|
import { ColumnsType, TablePaginationConfig, TableProps } from 'antd/es/table';
|
|
16
21
|
import { TreeProps as TreeProps$1 } from 'antd/es/tree';
|
|
17
22
|
import * as antd_es_upload_interface from 'antd/es/upload/interface';
|
|
@@ -41,7 +46,7 @@ declare type AnimatedIconProps = {
|
|
|
41
46
|
active?: boolean;
|
|
42
47
|
};
|
|
43
48
|
|
|
44
|
-
declare const _default$
|
|
49
|
+
declare const _default$d: {
|
|
45
50
|
Afternoon: ({ size, color, active, }: AnimatedIconProps) => react_jsx_runtime.JSX.Element;
|
|
46
51
|
Bank: ({ size, color, active, }: AnimatedIconProps) => react_jsx_runtime.JSX.Element;
|
|
47
52
|
Books: ({ size, color, active, }: AnimatedIconProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -131,7 +136,7 @@ declare type Props$j = {
|
|
|
131
136
|
color?: string;
|
|
132
137
|
[extraProps: string]: unknown;
|
|
133
138
|
};
|
|
134
|
-
declare const _default$
|
|
139
|
+
declare const _default$c: {
|
|
135
140
|
Primary: ({ children, isSubmitting, toolTip, ...extraProps }: Props$j) => react_jsx_runtime.JSX.Element;
|
|
136
141
|
Outline: ({ children, isSubmitting, toolTip, ...extraProps }: Props$j) => react_jsx_runtime.JSX.Element;
|
|
137
142
|
Unstyled: ({ children, isSubmitting, toolTip, ...extraProps }: Props$j) => react_jsx_runtime.JSX.Element;
|
|
@@ -139,7 +144,7 @@ declare const _default$b: {
|
|
|
139
144
|
Link: ({ children, toolTip, color, ...extraProps }: Props$j) => react_jsx_runtime.JSX.Element;
|
|
140
145
|
};
|
|
141
146
|
|
|
142
|
-
declare const _default$
|
|
147
|
+
declare const _default$b: {
|
|
143
148
|
Clock: ({ active, color, }: {
|
|
144
149
|
active?: boolean | undefined;
|
|
145
150
|
color?: string | undefined;
|
|
@@ -168,7 +173,7 @@ declare type Props$i = {
|
|
|
168
173
|
[extraProps: string]: unknown;
|
|
169
174
|
};
|
|
170
175
|
declare type IllustrationProps = {
|
|
171
|
-
illustration: keyof typeof _default$
|
|
176
|
+
illustration: keyof typeof _default$b;
|
|
172
177
|
children: React.ReactNode;
|
|
173
178
|
active?: boolean;
|
|
174
179
|
selected?: boolean;
|
|
@@ -176,7 +181,7 @@ declare type IllustrationProps = {
|
|
|
176
181
|
onMouseEnter?: () => void;
|
|
177
182
|
onMouseLeave?: () => void;
|
|
178
183
|
};
|
|
179
|
-
declare const _default$
|
|
184
|
+
declare const _default$a: {
|
|
180
185
|
Primary: ({ children, ...extraProps }: Props$i) => react_jsx_runtime.JSX.Element;
|
|
181
186
|
Illustration: ({ illustration, children, active, selected, onClick, onMouseEnter, onMouseLeave, }: IllustrationProps) => react_jsx_runtime.JSX.Element;
|
|
182
187
|
};
|
|
@@ -273,7 +278,7 @@ declare type GroupProps = {
|
|
|
273
278
|
handleDownload: (file: File) => void;
|
|
274
279
|
className?: string;
|
|
275
280
|
};
|
|
276
|
-
declare const _default$
|
|
281
|
+
declare const _default$9: {
|
|
277
282
|
Group: ({ files, handleDownload, className }: GroupProps) => react_jsx_runtime.JSX.Element;
|
|
278
283
|
Display: ({ file, display, handleDownload, className, }: FileProps) => react_jsx_runtime.JSX.Element | null;
|
|
279
284
|
};
|
|
@@ -291,7 +296,7 @@ declare type ColProps = {
|
|
|
291
296
|
children: React.ReactNode;
|
|
292
297
|
className?: string;
|
|
293
298
|
} & ColProps$1;
|
|
294
|
-
declare const _default$
|
|
299
|
+
declare const _default$8: {
|
|
295
300
|
Row: ({ children, className, ...otherProps }: RowProps) => react_jsx_runtime.JSX.Element;
|
|
296
301
|
Col: ({ children, className, ...otherProps }: ColProps) => react_jsx_runtime.JSX.Element;
|
|
297
302
|
};
|
|
@@ -306,7 +311,7 @@ declare type IconProps = {
|
|
|
306
311
|
onClick?: () => void;
|
|
307
312
|
};
|
|
308
313
|
|
|
309
|
-
declare const _default$
|
|
314
|
+
declare const _default$7: {
|
|
310
315
|
AddCircle: ({ color }: {
|
|
311
316
|
color?: string | undefined;
|
|
312
317
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -665,7 +670,7 @@ declare type HeaderProps = {
|
|
|
665
670
|
children: string | JSX.Element | JSX.Element[];
|
|
666
671
|
className?: string;
|
|
667
672
|
};
|
|
668
|
-
declare const _default$
|
|
673
|
+
declare const _default$6: {
|
|
669
674
|
Button: ({ label, className }: ButtonProps) => react_jsx_runtime.JSX.Element;
|
|
670
675
|
Container: ({ children, cta, onItemClick, onMenuChange, className, expandIconClassName, menuProps, caretColor, borderColor, }: ContainerProps) => react_jsx_runtime.JSX.Element;
|
|
671
676
|
Wrapper: ({ children, cta, onItemClick, onMenuChange, className, menuProps, }: ContainerProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -704,7 +709,7 @@ declare type VerticalProps = {
|
|
|
704
709
|
activeStep?: number;
|
|
705
710
|
};
|
|
706
711
|
|
|
707
|
-
declare const _default$
|
|
712
|
+
declare const _default$5: {
|
|
708
713
|
Horizontal: ({ currentStep, steps, icons, ...extraProps }: {
|
|
709
714
|
[extraProps: string]: unknown;
|
|
710
715
|
currentStep: number;
|
|
@@ -765,6 +770,15 @@ declare type Props$7 = {
|
|
|
765
770
|
};
|
|
766
771
|
declare const Segmented: ({ onChange, options, size, defaultValue, block, }: Props$7) => react_jsx_runtime.JSX.Element;
|
|
767
772
|
|
|
773
|
+
declare const _default$4: {
|
|
774
|
+
Basic: (props?: SkeletonProps | undefined) => react_jsx_runtime.JSX.Element;
|
|
775
|
+
Button: (props?: SkeletonButtonProps | undefined) => react_jsx_runtime.JSX.Element;
|
|
776
|
+
Avatar: (props?: AvatarProps$1 | undefined) => react_jsx_runtime.JSX.Element;
|
|
777
|
+
Input: (props?: SkeletonInputProps | undefined) => react_jsx_runtime.JSX.Element;
|
|
778
|
+
Image: (props?: SkeletonImageProps | undefined) => react_jsx_runtime.JSX.Element;
|
|
779
|
+
Node: (props?: SkeletonNodeProps | undefined) => react_jsx_runtime.JSX.Element;
|
|
780
|
+
};
|
|
781
|
+
|
|
768
782
|
declare type Props$6 = {
|
|
769
783
|
color: string;
|
|
770
784
|
};
|
|
@@ -1301,4 +1315,4 @@ declare const VantaLogo: ({ contentfulConfig, size, }: {
|
|
|
1301
1315
|
|
|
1302
1316
|
declare const DatePicker: ({ style, ...props }: DatePickerProps) => react_jsx_runtime.JSX.Element;
|
|
1303
1317
|
|
|
1304
|
-
export { Animate, _default$
|
|
1318
|
+
export { Animate, _default$d as AnimatedIcon, AutoComplete, Avatar, Badge, Breakpoint, _default$c as Button, _default$a as Card, Collapse, Contentful, ContentfulLottieFileSlug, DateDropdown, DatePicker, DateSelect, Divider, Drawer, Dropdown, ErrorTypography, _default$9 as File, Flex, _default$3 as Form, FormatType, _default$8 as Grid, _default$7 as Icons, _default$2 as Input, LoadingSpinner, LottieAnimation, _default$6 as Menu, Modal, _default$1 as NavigationMenu, _default$5 as NumberedProgressSteps, Pill, Popover, Progress, Ribbon, SearchInput, Segmented, Size, _default$4 as Skeleton, SolaceLogo, SolaceThemeProvider, SortableList, Table, Tabs, Tag, TimePicker, TimeSelect, Toggle, Tooltip, Tree, _default as Typography, UserTypes, VantaLogo };
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import react__default, { CSSProperties } from 'react';
|
|
4
4
|
import * as antd from 'antd';
|
|
5
|
-
import { AutoCompleteProps, AvatarProps, BadgeProps, CollapseProps, DividerProps, DrawerProps, MenuProps, DropDownProps, FlexProps, RowProps as RowProps$1, ColProps as ColProps$1, ModalProps, PopoverProps, ProgressProps, TabsProps, TagProps, TimePickerProps as TimePickerProps$1, SubMenuProps, DatePickerProps } from 'antd';
|
|
5
|
+
import { AutoCompleteProps, AvatarProps, BadgeProps, CollapseProps, DividerProps, DrawerProps, MenuProps, DropDownProps, FlexProps, RowProps as RowProps$1, ColProps as ColProps$1, ModalProps, PopoverProps, ProgressProps, SkeletonProps, TabsProps, TagProps, TimePickerProps as TimePickerProps$1, SubMenuProps, DatePickerProps } from 'antd';
|
|
6
6
|
import * as dayjs from 'dayjs';
|
|
7
7
|
import dayjs__default, { Dayjs } from 'dayjs';
|
|
8
8
|
import * as _emotion_styled from '@emotion/styled';
|
|
@@ -12,6 +12,11 @@ import * as _emotion_react from '@emotion/react';
|
|
|
12
12
|
import * as contentful from 'contentful';
|
|
13
13
|
import { MenuProps as MenuProps$1 } from '@szhsin/react-menu';
|
|
14
14
|
import { FunctionalComponent } from 'preact';
|
|
15
|
+
import { AvatarProps as AvatarProps$1 } from 'antd/es/skeleton/Avatar';
|
|
16
|
+
import { SkeletonButtonProps } from 'antd/es/skeleton/Button';
|
|
17
|
+
import { SkeletonImageProps } from 'antd/es/skeleton/Image';
|
|
18
|
+
import { SkeletonInputProps } from 'antd/es/skeleton/Input';
|
|
19
|
+
import { SkeletonNodeProps } from 'antd/es/skeleton/Node';
|
|
15
20
|
import { ColumnsType, TablePaginationConfig, TableProps } from 'antd/es/table';
|
|
16
21
|
import { TreeProps as TreeProps$1 } from 'antd/es/tree';
|
|
17
22
|
import * as antd_es_upload_interface from 'antd/es/upload/interface';
|
|
@@ -41,7 +46,7 @@ declare type AnimatedIconProps = {
|
|
|
41
46
|
active?: boolean;
|
|
42
47
|
};
|
|
43
48
|
|
|
44
|
-
declare const _default$
|
|
49
|
+
declare const _default$d: {
|
|
45
50
|
Afternoon: ({ size, color, active, }: AnimatedIconProps) => react_jsx_runtime.JSX.Element;
|
|
46
51
|
Bank: ({ size, color, active, }: AnimatedIconProps) => react_jsx_runtime.JSX.Element;
|
|
47
52
|
Books: ({ size, color, active, }: AnimatedIconProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -131,7 +136,7 @@ declare type Props$j = {
|
|
|
131
136
|
color?: string;
|
|
132
137
|
[extraProps: string]: unknown;
|
|
133
138
|
};
|
|
134
|
-
declare const _default$
|
|
139
|
+
declare const _default$c: {
|
|
135
140
|
Primary: ({ children, isSubmitting, toolTip, ...extraProps }: Props$j) => react_jsx_runtime.JSX.Element;
|
|
136
141
|
Outline: ({ children, isSubmitting, toolTip, ...extraProps }: Props$j) => react_jsx_runtime.JSX.Element;
|
|
137
142
|
Unstyled: ({ children, isSubmitting, toolTip, ...extraProps }: Props$j) => react_jsx_runtime.JSX.Element;
|
|
@@ -139,7 +144,7 @@ declare const _default$b: {
|
|
|
139
144
|
Link: ({ children, toolTip, color, ...extraProps }: Props$j) => react_jsx_runtime.JSX.Element;
|
|
140
145
|
};
|
|
141
146
|
|
|
142
|
-
declare const _default$
|
|
147
|
+
declare const _default$b: {
|
|
143
148
|
Clock: ({ active, color, }: {
|
|
144
149
|
active?: boolean | undefined;
|
|
145
150
|
color?: string | undefined;
|
|
@@ -168,7 +173,7 @@ declare type Props$i = {
|
|
|
168
173
|
[extraProps: string]: unknown;
|
|
169
174
|
};
|
|
170
175
|
declare type IllustrationProps = {
|
|
171
|
-
illustration: keyof typeof _default$
|
|
176
|
+
illustration: keyof typeof _default$b;
|
|
172
177
|
children: React.ReactNode;
|
|
173
178
|
active?: boolean;
|
|
174
179
|
selected?: boolean;
|
|
@@ -176,7 +181,7 @@ declare type IllustrationProps = {
|
|
|
176
181
|
onMouseEnter?: () => void;
|
|
177
182
|
onMouseLeave?: () => void;
|
|
178
183
|
};
|
|
179
|
-
declare const _default$
|
|
184
|
+
declare const _default$a: {
|
|
180
185
|
Primary: ({ children, ...extraProps }: Props$i) => react_jsx_runtime.JSX.Element;
|
|
181
186
|
Illustration: ({ illustration, children, active, selected, onClick, onMouseEnter, onMouseLeave, }: IllustrationProps) => react_jsx_runtime.JSX.Element;
|
|
182
187
|
};
|
|
@@ -273,7 +278,7 @@ declare type GroupProps = {
|
|
|
273
278
|
handleDownload: (file: File) => void;
|
|
274
279
|
className?: string;
|
|
275
280
|
};
|
|
276
|
-
declare const _default$
|
|
281
|
+
declare const _default$9: {
|
|
277
282
|
Group: ({ files, handleDownload, className }: GroupProps) => react_jsx_runtime.JSX.Element;
|
|
278
283
|
Display: ({ file, display, handleDownload, className, }: FileProps) => react_jsx_runtime.JSX.Element | null;
|
|
279
284
|
};
|
|
@@ -291,7 +296,7 @@ declare type ColProps = {
|
|
|
291
296
|
children: React.ReactNode;
|
|
292
297
|
className?: string;
|
|
293
298
|
} & ColProps$1;
|
|
294
|
-
declare const _default$
|
|
299
|
+
declare const _default$8: {
|
|
295
300
|
Row: ({ children, className, ...otherProps }: RowProps) => react_jsx_runtime.JSX.Element;
|
|
296
301
|
Col: ({ children, className, ...otherProps }: ColProps) => react_jsx_runtime.JSX.Element;
|
|
297
302
|
};
|
|
@@ -306,7 +311,7 @@ declare type IconProps = {
|
|
|
306
311
|
onClick?: () => void;
|
|
307
312
|
};
|
|
308
313
|
|
|
309
|
-
declare const _default$
|
|
314
|
+
declare const _default$7: {
|
|
310
315
|
AddCircle: ({ color }: {
|
|
311
316
|
color?: string | undefined;
|
|
312
317
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -665,7 +670,7 @@ declare type HeaderProps = {
|
|
|
665
670
|
children: string | JSX.Element | JSX.Element[];
|
|
666
671
|
className?: string;
|
|
667
672
|
};
|
|
668
|
-
declare const _default$
|
|
673
|
+
declare const _default$6: {
|
|
669
674
|
Button: ({ label, className }: ButtonProps) => react_jsx_runtime.JSX.Element;
|
|
670
675
|
Container: ({ children, cta, onItemClick, onMenuChange, className, expandIconClassName, menuProps, caretColor, borderColor, }: ContainerProps) => react_jsx_runtime.JSX.Element;
|
|
671
676
|
Wrapper: ({ children, cta, onItemClick, onMenuChange, className, menuProps, }: ContainerProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -704,7 +709,7 @@ declare type VerticalProps = {
|
|
|
704
709
|
activeStep?: number;
|
|
705
710
|
};
|
|
706
711
|
|
|
707
|
-
declare const _default$
|
|
712
|
+
declare const _default$5: {
|
|
708
713
|
Horizontal: ({ currentStep, steps, icons, ...extraProps }: {
|
|
709
714
|
[extraProps: string]: unknown;
|
|
710
715
|
currentStep: number;
|
|
@@ -765,6 +770,15 @@ declare type Props$7 = {
|
|
|
765
770
|
};
|
|
766
771
|
declare const Segmented: ({ onChange, options, size, defaultValue, block, }: Props$7) => react_jsx_runtime.JSX.Element;
|
|
767
772
|
|
|
773
|
+
declare const _default$4: {
|
|
774
|
+
Basic: (props?: SkeletonProps | undefined) => react_jsx_runtime.JSX.Element;
|
|
775
|
+
Button: (props?: SkeletonButtonProps | undefined) => react_jsx_runtime.JSX.Element;
|
|
776
|
+
Avatar: (props?: AvatarProps$1 | undefined) => react_jsx_runtime.JSX.Element;
|
|
777
|
+
Input: (props?: SkeletonInputProps | undefined) => react_jsx_runtime.JSX.Element;
|
|
778
|
+
Image: (props?: SkeletonImageProps | undefined) => react_jsx_runtime.JSX.Element;
|
|
779
|
+
Node: (props?: SkeletonNodeProps | undefined) => react_jsx_runtime.JSX.Element;
|
|
780
|
+
};
|
|
781
|
+
|
|
768
782
|
declare type Props$6 = {
|
|
769
783
|
color: string;
|
|
770
784
|
};
|
|
@@ -1301,4 +1315,4 @@ declare const VantaLogo: ({ contentfulConfig, size, }: {
|
|
|
1301
1315
|
|
|
1302
1316
|
declare const DatePicker: ({ style, ...props }: DatePickerProps) => react_jsx_runtime.JSX.Element;
|
|
1303
1317
|
|
|
1304
|
-
export { Animate, _default$
|
|
1318
|
+
export { Animate, _default$d as AnimatedIcon, AutoComplete, Avatar, Badge, Breakpoint, _default$c as Button, _default$a as Card, Collapse, Contentful, ContentfulLottieFileSlug, DateDropdown, DatePicker, DateSelect, Divider, Drawer, Dropdown, ErrorTypography, _default$9 as File, Flex, _default$3 as Form, FormatType, _default$8 as Grid, _default$7 as Icons, _default$2 as Input, LoadingSpinner, LottieAnimation, _default$6 as Menu, Modal, _default$1 as NavigationMenu, _default$5 as NumberedProgressSteps, Pill, Popover, Progress, Ribbon, SearchInput, Segmented, Size, _default$4 as Skeleton, SolaceLogo, SolaceThemeProvider, SortableList, Table, Tabs, Tag, TimePicker, TimeSelect, Toggle, Tooltip, Tree, _default as Typography, UserTypes, VantaLogo };
|