@solace-health/ui 0.10.72 → 0.10.74
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 +550 -545
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +181 -153
- package/dist/index.d.ts +181 -153
- package/dist/index.js +505 -501
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as antd from 'antd';
|
|
3
|
-
import { AvatarProps, BadgeProps, DividerProps, DrawerProps, MenuProps, DropDownProps,
|
|
3
|
+
import { AutoCompleteProps, AvatarProps, BadgeProps, DividerProps, DrawerProps, MenuProps, DropDownProps, FlexProps, ModalProps, ProgressProps, TabsProps, TagProps, SubMenuProps, DatePickerProps } from 'antd';
|
|
4
4
|
import * as react from 'react';
|
|
5
5
|
import react__default, { CSSProperties } from 'react';
|
|
6
6
|
import dayjs, { Dayjs } from 'dayjs';
|
|
@@ -8,10 +8,10 @@ import * as _emotion_styled from '@emotion/styled';
|
|
|
8
8
|
export { default as styled } from '@emotion/styled';
|
|
9
9
|
import * as preact_hooks from 'preact/hooks';
|
|
10
10
|
import * as _emotion_react from '@emotion/react';
|
|
11
|
+
import * as contentful from 'contentful';
|
|
11
12
|
import { MenuProps as MenuProps$1 } from '@szhsin/react-menu';
|
|
12
13
|
import { FunctionalComponent } from 'preact';
|
|
13
14
|
import { ColumnsType, TablePaginationConfig, TableProps } from 'antd/es/table';
|
|
14
|
-
import * as contentful from 'contentful';
|
|
15
15
|
import * as antd_es_upload_interface from 'antd/es/upload/interface';
|
|
16
16
|
import * as rc_select_lib_Select from 'rc-select/lib/Select';
|
|
17
17
|
import * as react_hook_form from 'react-hook-form';
|
|
@@ -21,6 +21,31 @@ import * as rc_input_number from 'rc-input-number';
|
|
|
21
21
|
import { MenuDividerProps } from 'antd/es/menu';
|
|
22
22
|
import { MenuItemType } from 'antd/es/menu/hooks/useItems';
|
|
23
23
|
|
|
24
|
+
declare const _default$a: {
|
|
25
|
+
HandHeart: ({ color, active }: {
|
|
26
|
+
active?: boolean | undefined;
|
|
27
|
+
color?: string | undefined;
|
|
28
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
29
|
+
HandMoney: ({ color, active }: {
|
|
30
|
+
active?: boolean | undefined;
|
|
31
|
+
color?: string | undefined;
|
|
32
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
33
|
+
Hospital: ({ color, active }: {
|
|
34
|
+
active?: boolean | undefined;
|
|
35
|
+
color?: string | undefined;
|
|
36
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
37
|
+
Heart: ({ color, active }: {
|
|
38
|
+
active?: boolean | undefined;
|
|
39
|
+
color?: string | undefined;
|
|
40
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
41
|
+
Person: ({ color, active }: {
|
|
42
|
+
active?: boolean | undefined;
|
|
43
|
+
color?: string | undefined;
|
|
44
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
declare function AutoComplete({ ...rest }: AutoCompleteProps): react_jsx_runtime.JSX.Element;
|
|
48
|
+
|
|
24
49
|
declare enum UserTypes {
|
|
25
50
|
Client = "client",
|
|
26
51
|
Patient = "patient",
|
|
@@ -28,7 +53,7 @@ declare enum UserTypes {
|
|
|
28
53
|
HybridAdvocate = "hybridAdvocate",
|
|
29
54
|
CHWorker = "chw"
|
|
30
55
|
}
|
|
31
|
-
declare type Props$
|
|
56
|
+
declare type Props$j = {
|
|
32
57
|
size?: number;
|
|
33
58
|
style?: React.CSSProperties;
|
|
34
59
|
src?: string;
|
|
@@ -40,9 +65,11 @@ declare type Props$i = {
|
|
|
40
65
|
type?: UserTypes;
|
|
41
66
|
[extraProps: string]: unknown;
|
|
42
67
|
} & AvatarProps;
|
|
43
|
-
declare const Avatar: ({ size, src, type, user, ...extraProps }: Props$
|
|
68
|
+
declare const Avatar: ({ size, src, type, user, ...extraProps }: Props$j) => react_jsx_runtime.JSX.Element;
|
|
44
69
|
|
|
45
|
-
declare
|
|
70
|
+
declare const Badge: (props: BadgeProps) => react_jsx_runtime.JSX.Element;
|
|
71
|
+
|
|
72
|
+
declare type Props$i = {
|
|
46
73
|
children: React.ReactNode;
|
|
47
74
|
isSubmitting?: boolean;
|
|
48
75
|
toolTip?: {
|
|
@@ -52,24 +79,22 @@ declare type Props$h = {
|
|
|
52
79
|
color?: string;
|
|
53
80
|
[extraProps: string]: unknown;
|
|
54
81
|
};
|
|
55
|
-
declare const _default$
|
|
56
|
-
Primary: ({ children, isSubmitting, toolTip, ...extraProps }: Props$
|
|
57
|
-
Outline: ({ children, isSubmitting, toolTip, ...extraProps }: Props$
|
|
58
|
-
Unstyled: ({ children, isSubmitting, toolTip, ...extraProps }: Props$
|
|
59
|
-
Secondary: ({ children, isSubmitting, toolTip, ...extraProps }: Props$
|
|
60
|
-
Link: ({ children, toolTip, color, ...extraProps }: Props$
|
|
82
|
+
declare const _default$9: {
|
|
83
|
+
Primary: ({ children, isSubmitting, toolTip, ...extraProps }: Props$i) => react_jsx_runtime.JSX.Element;
|
|
84
|
+
Outline: ({ children, isSubmitting, toolTip, ...extraProps }: Props$i) => react_jsx_runtime.JSX.Element;
|
|
85
|
+
Unstyled: ({ children, isSubmitting, toolTip, ...extraProps }: Props$i) => react_jsx_runtime.JSX.Element;
|
|
86
|
+
Secondary: ({ children, isSubmitting, toolTip, ...extraProps }: Props$i) => react_jsx_runtime.JSX.Element;
|
|
87
|
+
Link: ({ children, toolTip, color, ...extraProps }: Props$i) => react_jsx_runtime.JSX.Element;
|
|
61
88
|
};
|
|
62
89
|
|
|
63
|
-
declare
|
|
64
|
-
|
|
65
|
-
declare type Props$g = {
|
|
90
|
+
declare type Props$h = {
|
|
66
91
|
children: React.ReactNode;
|
|
67
92
|
color?: string;
|
|
68
93
|
background?: string;
|
|
69
94
|
[extraProps: string]: unknown;
|
|
70
95
|
};
|
|
71
|
-
declare const _default$
|
|
72
|
-
Primary: ({ children, ...extraProps }: Props$
|
|
96
|
+
declare const _default$8: {
|
|
97
|
+
Primary: ({ children, ...extraProps }: Props$h) => react_jsx_runtime.JSX.Element;
|
|
73
98
|
};
|
|
74
99
|
|
|
75
100
|
declare type Item = {
|
|
@@ -77,14 +102,14 @@ declare type Item = {
|
|
|
77
102
|
label: JSX.Element | React.RefObject<HTMLDivElement> | string;
|
|
78
103
|
children: JSX.Element | React.RefObject<HTMLDivElement> | string;
|
|
79
104
|
};
|
|
80
|
-
declare type Props$
|
|
105
|
+
declare type Props$g = {
|
|
81
106
|
items: Item[] | Item;
|
|
82
107
|
onChange?: (key: string | string[]) => void;
|
|
83
108
|
style?: CSSProperties;
|
|
84
109
|
};
|
|
85
|
-
declare const Collapse: ({ items, onChange, ...rest }: Props$
|
|
110
|
+
declare const Collapse: ({ items, onChange, ...rest }: Props$g) => react_jsx_runtime.JSX.Element;
|
|
86
111
|
|
|
87
|
-
declare type Props$
|
|
112
|
+
declare type Props$f = {
|
|
88
113
|
value?: string | null;
|
|
89
114
|
onChange: (dateString: string, date: Date) => void;
|
|
90
115
|
startRange?: Date | null;
|
|
@@ -96,15 +121,15 @@ declare type Props$e = {
|
|
|
96
121
|
hasError?: boolean;
|
|
97
122
|
disabled?: boolean;
|
|
98
123
|
};
|
|
99
|
-
declare const DateSelect: ({ value, onChange, startRange, endRange, defaultValue, format, placeholder, className, hasError, disabled, ...extraProps }: Props$
|
|
124
|
+
declare const DateSelect: ({ value, onChange, startRange, endRange, defaultValue, format, placeholder, className, hasError, disabled, ...extraProps }: Props$f) => react_jsx_runtime.JSX.Element;
|
|
100
125
|
|
|
101
|
-
declare type Props$
|
|
126
|
+
declare type Props$e = {
|
|
102
127
|
style?: react__default.CSSProperties;
|
|
103
128
|
type?: "horizontal" | "vertical";
|
|
104
129
|
} & DividerProps;
|
|
105
|
-
declare const Divider: react__default.FC<Props$
|
|
130
|
+
declare const Divider: react__default.FC<Props$e>;
|
|
106
131
|
|
|
107
|
-
declare type Props$
|
|
132
|
+
declare type Props$d = {
|
|
108
133
|
isOpen: boolean;
|
|
109
134
|
onClose: () => void;
|
|
110
135
|
children: React.ReactNode;
|
|
@@ -115,7 +140,7 @@ declare type Props$c = {
|
|
|
115
140
|
title?: string;
|
|
116
141
|
[inputProps: string]: unknown;
|
|
117
142
|
} & DrawerProps;
|
|
118
|
-
declare const Drawer: ({ isOpen, onClose, children, title, placement, headerStyle, contentWrapperStyle, ...inputProps }: Props$
|
|
143
|
+
declare const Drawer: ({ isOpen, onClose, children, title, placement, headerStyle, contentWrapperStyle, ...inputProps }: Props$d) => react_jsx_runtime.JSX.Element;
|
|
119
144
|
|
|
120
145
|
declare const Dropdown: _emotion_styled.StyledComponent<{
|
|
121
146
|
items: MenuProps["items"];
|
|
@@ -153,12 +178,17 @@ declare type GroupProps = {
|
|
|
153
178
|
handleDownload: (file: File) => void;
|
|
154
179
|
className?: string;
|
|
155
180
|
};
|
|
156
|
-
declare const _default$
|
|
181
|
+
declare const _default$7: {
|
|
157
182
|
Group: ({ files, handleDownload, className }: GroupProps) => react_jsx_runtime.JSX.Element;
|
|
158
183
|
Display: ({ file, display, handleDownload, className, }: FileProps) => react_jsx_runtime.JSX.Element | null;
|
|
159
184
|
};
|
|
160
185
|
|
|
161
|
-
declare
|
|
186
|
+
declare type Props$c = {
|
|
187
|
+
children: React.ReactNode | React.ReactNode[];
|
|
188
|
+
} & FlexProps;
|
|
189
|
+
declare const Flex: ({ children, ...otherProps }: Props$c) => react_jsx_runtime.JSX.Element;
|
|
190
|
+
|
|
191
|
+
declare const _default$6: {
|
|
162
192
|
AddCircle: ({ color }: {
|
|
163
193
|
color?: string | undefined;
|
|
164
194
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -177,6 +207,9 @@ declare const _default$7: {
|
|
|
177
207
|
active?: boolean | undefined;
|
|
178
208
|
color?: string | undefined;
|
|
179
209
|
}) => react_jsx_runtime.JSX.Element;
|
|
210
|
+
Bell: ({ color }: {
|
|
211
|
+
color?: string | undefined;
|
|
212
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
180
213
|
Calendar: ({ color, size, }: {
|
|
181
214
|
color?: string | undefined;
|
|
182
215
|
size?: number | undefined;
|
|
@@ -185,6 +218,10 @@ declare const _default$7: {
|
|
|
185
218
|
active?: boolean | undefined;
|
|
186
219
|
color?: string | undefined;
|
|
187
220
|
}) => react_jsx_runtime.JSX.Element;
|
|
221
|
+
PersonCircle: ({ size, color }: {
|
|
222
|
+
color?: string | undefined;
|
|
223
|
+
size?: number | undefined;
|
|
224
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
188
225
|
Call: () => react_jsx_runtime.JSX.Element;
|
|
189
226
|
Caret: ({ color, direction }: {
|
|
190
227
|
color?: string | undefined;
|
|
@@ -215,6 +252,10 @@ declare const _default$7: {
|
|
|
215
252
|
Close: ({ color }: {
|
|
216
253
|
color?: string | undefined;
|
|
217
254
|
}) => react_jsx_runtime.JSX.Element;
|
|
255
|
+
Cog: ({ color, size }: {
|
|
256
|
+
color?: string | undefined;
|
|
257
|
+
size?: number | undefined;
|
|
258
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
218
259
|
ColorInvoice: () => react_jsx_runtime.JSX.Element;
|
|
219
260
|
Copy: ({ color }: {
|
|
220
261
|
color?: string | undefined;
|
|
@@ -263,6 +304,9 @@ declare const _default$7: {
|
|
|
263
304
|
active?: boolean | undefined;
|
|
264
305
|
color?: string | undefined;
|
|
265
306
|
}) => react_jsx_runtime.JSX.Element;
|
|
307
|
+
Hamburger: ({ color }: {
|
|
308
|
+
color?: string | undefined;
|
|
309
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
266
310
|
Handshake: ({ color }: {
|
|
267
311
|
color?: string | undefined;
|
|
268
312
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -271,6 +315,10 @@ declare const _default$7: {
|
|
|
271
315
|
width?: string | undefined;
|
|
272
316
|
}) => react_jsx_runtime.JSX.Element;
|
|
273
317
|
HeartPulse: () => JSX.Element;
|
|
318
|
+
Stopwatch: ({ color, size, }: {
|
|
319
|
+
color: string;
|
|
320
|
+
size?: number | undefined;
|
|
321
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
274
322
|
HoldHands: ({ color, }: {
|
|
275
323
|
color?: string | undefined;
|
|
276
324
|
}) => JSX.Element;
|
|
@@ -307,6 +355,10 @@ declare const _default$7: {
|
|
|
307
355
|
color?: string | undefined;
|
|
308
356
|
size?: number | undefined;
|
|
309
357
|
}) => react_jsx_runtime.JSX.Element;
|
|
358
|
+
Logout: ({ color, size, }: {
|
|
359
|
+
color: string;
|
|
360
|
+
size?: number | undefined;
|
|
361
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
310
362
|
Message: ({ active, color }: {
|
|
311
363
|
active?: boolean | undefined;
|
|
312
364
|
color?: string | undefined;
|
|
@@ -390,28 +442,49 @@ declare const _default$7: {
|
|
|
390
442
|
}) => JSX.Element;
|
|
391
443
|
};
|
|
392
444
|
|
|
393
|
-
declare
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
445
|
+
declare enum Size {
|
|
446
|
+
XL = "xl",
|
|
447
|
+
LG = "lg",
|
|
448
|
+
MD = "md",
|
|
449
|
+
SM = "sm",
|
|
450
|
+
XS = "xs"
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
declare type Props$b = {
|
|
454
|
+
color?: string;
|
|
455
|
+
size?: Size;
|
|
456
|
+
};
|
|
457
|
+
declare const LoadingSpinner: ({ color, size, }: Props$b) => react_jsx_runtime.JSX.Element;
|
|
458
|
+
|
|
459
|
+
declare enum ContentfulLottieFileSlug {
|
|
460
|
+
LOADING_LISTINGS = "loadingListings",
|
|
461
|
+
LOADING_ACCOUNT = "loadingAccount",
|
|
462
|
+
LOADING_LOGO_SUCCESSFUL = "logoLoadingSuccessful"
|
|
463
|
+
}
|
|
464
|
+
declare type ContentfulConfig = {
|
|
465
|
+
space: string;
|
|
466
|
+
accessToken: string;
|
|
467
|
+
};
|
|
468
|
+
declare class Contentful {
|
|
469
|
+
client: contentful.ContentfulClientApi<undefined>;
|
|
470
|
+
constructor(contentfulConfig: ContentfulConfig);
|
|
471
|
+
getLottieFile({ slug }: {
|
|
472
|
+
slug: ContentfulLottieFileSlug;
|
|
473
|
+
}): Promise<null>;
|
|
474
|
+
getImage(slug: string): Promise<any>;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
declare type Props$a = {
|
|
478
|
+
height: number | string;
|
|
479
|
+
width: number | string;
|
|
480
|
+
loop: boolean;
|
|
481
|
+
slug: ContentfulLottieFileSlug;
|
|
482
|
+
contentfulConfig: {
|
|
483
|
+
space: string;
|
|
484
|
+
accessToken: string;
|
|
485
|
+
};
|
|
414
486
|
};
|
|
487
|
+
declare const LottieAnimation: ({ height, width, loop, slug, contentfulConfig, }: Props$a) => react_jsx_runtime.JSX.Element | null;
|
|
415
488
|
|
|
416
489
|
declare type ContainerProps = {
|
|
417
490
|
cta: string | JSX.Element;
|
|
@@ -449,6 +522,7 @@ declare type HeaderProps = {
|
|
|
449
522
|
declare const _default$5: {
|
|
450
523
|
Button: ({ label, className }: ButtonProps) => react_jsx_runtime.JSX.Element;
|
|
451
524
|
Container: ({ children, cta, onItemClick, onMenuChange, className, expandIconClassName, menuProps, caretColor, borderColor, }: ContainerProps) => react_jsx_runtime.JSX.Element;
|
|
525
|
+
Wrapper: ({ children, cta, onItemClick, onMenuChange, className, menuProps, }: ContainerProps) => react_jsx_runtime.JSX.Element;
|
|
452
526
|
Search: ({ value, onChange, className, }: SearchProps) => react_jsx_runtime.JSX.Element;
|
|
453
527
|
Divider: ({ className }: {
|
|
454
528
|
className?: string | undefined;
|
|
@@ -457,6 +531,23 @@ declare const _default$5: {
|
|
|
457
531
|
Item: ({ label, value, selected, onClick, disabled, linkTo, className, }: ItemProps) => react_jsx_runtime.JSX.Element;
|
|
458
532
|
};
|
|
459
533
|
|
|
534
|
+
declare type Props$9 = {
|
|
535
|
+
children: React.ReactNode;
|
|
536
|
+
isOpen: boolean;
|
|
537
|
+
onClose?: () => void;
|
|
538
|
+
width?: number;
|
|
539
|
+
style?: any;
|
|
540
|
+
styles?: ModalProps["styles"];
|
|
541
|
+
/**
|
|
542
|
+
* @deprecated Use { styles: { body: CSSProperties } }
|
|
543
|
+
*/
|
|
544
|
+
bodyStyle?: CSSProperties;
|
|
545
|
+
centered?: boolean;
|
|
546
|
+
className?: string;
|
|
547
|
+
[extraProps: string]: unknown;
|
|
548
|
+
};
|
|
549
|
+
declare const Modal: ({ children, isOpen, onClose, width, centered, style, styles, bodyStyle, className, ...props }: Props$9) => react_jsx_runtime.JSX.Element;
|
|
550
|
+
|
|
460
551
|
interface Step {
|
|
461
552
|
title: string;
|
|
462
553
|
description: string;
|
|
@@ -480,14 +571,24 @@ declare enum PillStatus {
|
|
|
480
571
|
Label = "label",
|
|
481
572
|
Default = "default"
|
|
482
573
|
}
|
|
483
|
-
declare type Props$
|
|
574
|
+
declare type Props$8 = {
|
|
484
575
|
children: React.ReactNode;
|
|
485
576
|
status?: PillStatus | string;
|
|
486
577
|
icon?: React.ReactNode | null;
|
|
487
578
|
};
|
|
488
|
-
declare const Pill: ({ children, status, icon, }: Props$
|
|
579
|
+
declare const Pill: ({ children, status, icon, }: Props$8) => react_jsx_runtime.JSX.Element;
|
|
489
580
|
|
|
490
|
-
declare type
|
|
581
|
+
declare const Progress: ({ percent, type, strokeColor, strokeLinecap, ...rest }: Omit<ProgressProps, "aria-label" | "aria-labelledby">) => react_jsx_runtime.JSX.Element;
|
|
582
|
+
|
|
583
|
+
declare const Ribbon: (props: BadgeProps) => react_jsx_runtime.JSX.Element;
|
|
584
|
+
|
|
585
|
+
declare const SearchInput: ({ searchValue, displaySmall, ...props }: {
|
|
586
|
+
[extraProps: string]: unknown;
|
|
587
|
+
searchValue?: string | undefined;
|
|
588
|
+
displaySmall?: boolean | undefined;
|
|
589
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
590
|
+
|
|
591
|
+
declare type Props$7 = {
|
|
491
592
|
onChange: (value: string) => void;
|
|
492
593
|
options: string[] | number[] | Array<{
|
|
493
594
|
label: FunctionalComponent;
|
|
@@ -500,7 +601,12 @@ declare type Props$a = {
|
|
|
500
601
|
defaultValue: string;
|
|
501
602
|
block: boolean;
|
|
502
603
|
};
|
|
503
|
-
declare const Segmented: ({ onChange, options, size, defaultValue, block, }: Props$
|
|
604
|
+
declare const Segmented: ({ onChange, options, size, defaultValue, block, }: Props$7) => react_jsx_runtime.JSX.Element;
|
|
605
|
+
|
|
606
|
+
declare type Props$6 = {
|
|
607
|
+
color: string;
|
|
608
|
+
};
|
|
609
|
+
declare const SolaceLogo: ({ color }: Props$6) => react_jsx_runtime.JSX.Element;
|
|
504
610
|
|
|
505
611
|
declare type Element = {
|
|
506
612
|
id: string;
|
|
@@ -516,37 +622,40 @@ declare type SortableListProps = {
|
|
|
516
622
|
};
|
|
517
623
|
declare function SortableList({ id, onClickElement, elements, onChange, onDragOver, className, }: SortableListProps): react_jsx_runtime.JSX.Element;
|
|
518
624
|
|
|
519
|
-
declare type Props$
|
|
625
|
+
declare type Props$5<T> = {
|
|
520
626
|
rowClassName?: string;
|
|
521
627
|
columns: ColumnsType<T>;
|
|
522
628
|
dataSource: T[];
|
|
523
629
|
showPagination?: boolean;
|
|
524
630
|
pagination?: TablePaginationConfig;
|
|
525
631
|
} & TableProps<T>;
|
|
526
|
-
declare const Table: <T extends object>({ rowClassName, columns, dataSource, pagination, showPagination, ...otherProps }: Props$
|
|
632
|
+
declare const Table: <T extends object>({ rowClassName, columns, dataSource, pagination, showPagination, ...otherProps }: Props$5<T>) => react_jsx_runtime.JSX.Element;
|
|
527
633
|
|
|
528
|
-
declare type Props$
|
|
634
|
+
declare type Props$4 = {
|
|
529
635
|
className?: string;
|
|
530
636
|
navigate?: (url: string) => void;
|
|
531
637
|
pathname?: string;
|
|
532
638
|
} & TabsProps;
|
|
533
|
-
declare const Tabs: ({ className, items, navigate, activeKey, pathname, ...otherProps }: Props$
|
|
639
|
+
declare const Tabs: ({ className, items, navigate, activeKey, pathname, ...otherProps }: Props$4) => react_jsx_runtime.JSX.Element;
|
|
534
640
|
|
|
535
|
-
declare type Props$
|
|
641
|
+
declare type Props$3 = TagProps;
|
|
642
|
+
declare function Tag({ children, style, ...rest }: Props$3): react_jsx_runtime.JSX.Element;
|
|
643
|
+
|
|
644
|
+
declare type Props$2 = {
|
|
536
645
|
onChange?: (time: Dayjs, timeString: string) => void;
|
|
537
646
|
format?: string;
|
|
538
647
|
[pickerProps: string]: unknown;
|
|
539
648
|
};
|
|
540
|
-
declare const TimePicker: ({ onChange, format, ...pickerProps }: Props$
|
|
649
|
+
declare const TimePicker: ({ onChange, format, ...pickerProps }: Props$2) => react_jsx_runtime.JSX.Element;
|
|
541
650
|
|
|
542
|
-
declare type Props$
|
|
651
|
+
declare type Props$1 = {
|
|
543
652
|
startTime?: string;
|
|
544
653
|
endTime?: string;
|
|
545
654
|
interval?: number;
|
|
546
655
|
defaultValue?: string;
|
|
547
656
|
onChange?: (e: unknown) => void;
|
|
548
657
|
};
|
|
549
|
-
declare const TimeSelect: ({ startTime, endTime, interval, defaultValue, onChange, }: Props$
|
|
658
|
+
declare const TimeSelect: ({ startTime, endTime, interval, defaultValue, onChange, }: Props$1) => react_jsx_runtime.JSX.Element;
|
|
550
659
|
|
|
551
660
|
declare type ToggleProps = {
|
|
552
661
|
defaultState?: boolean;
|
|
@@ -562,93 +671,17 @@ declare type ToggleProps = {
|
|
|
562
671
|
};
|
|
563
672
|
declare const Toggle: ({ defaultState, name, label, handleEvent, value, disabled, loading, }: ToggleProps) => react_jsx_runtime.JSX.Element;
|
|
564
673
|
|
|
565
|
-
declare type Props
|
|
674
|
+
declare type Props = {
|
|
566
675
|
children: React.ReactNode;
|
|
567
676
|
content: React.ReactNode | string | null;
|
|
568
677
|
className?: string;
|
|
569
678
|
};
|
|
570
|
-
declare const Tooltip: _emotion_styled.StyledComponent<Props
|
|
679
|
+
declare const Tooltip: _emotion_styled.StyledComponent<Props & {
|
|
571
680
|
theme?: _emotion_react.Theme | undefined;
|
|
572
681
|
}, {}, {
|
|
573
682
|
ref?: react.Ref<any> | undefined;
|
|
574
683
|
}>;
|
|
575
684
|
|
|
576
|
-
declare enum Size {
|
|
577
|
-
XL = "xl",
|
|
578
|
-
LG = "lg",
|
|
579
|
-
MD = "md",
|
|
580
|
-
SM = "sm",
|
|
581
|
-
XS = "xs"
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
declare type Props$4 = {
|
|
585
|
-
color?: string;
|
|
586
|
-
size?: Size;
|
|
587
|
-
};
|
|
588
|
-
declare const LoadingSpinner: ({ color, size, }: Props$4) => react_jsx_runtime.JSX.Element;
|
|
589
|
-
|
|
590
|
-
declare enum ContentfulLottieFileSlug {
|
|
591
|
-
LOADING_LISTINGS = "loadingListings",
|
|
592
|
-
LOADING_ACCOUNT = "loadingAccount",
|
|
593
|
-
LOADING_LOGO_SUCCESSFUL = "logoLoadingSuccessful"
|
|
594
|
-
}
|
|
595
|
-
declare type ContentfulConfig = {
|
|
596
|
-
space: string;
|
|
597
|
-
accessToken: string;
|
|
598
|
-
};
|
|
599
|
-
declare class Contentful {
|
|
600
|
-
client: contentful.ContentfulClientApi<undefined>;
|
|
601
|
-
constructor(contentfulConfig: ContentfulConfig);
|
|
602
|
-
getLottieFile({ slug }: {
|
|
603
|
-
slug: ContentfulLottieFileSlug;
|
|
604
|
-
}): Promise<null>;
|
|
605
|
-
getImage(slug: string): Promise<any>;
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
declare type Props$3 = {
|
|
609
|
-
height: number | string;
|
|
610
|
-
width: number | string;
|
|
611
|
-
loop: boolean;
|
|
612
|
-
slug: ContentfulLottieFileSlug;
|
|
613
|
-
contentfulConfig: {
|
|
614
|
-
space: string;
|
|
615
|
-
accessToken: string;
|
|
616
|
-
};
|
|
617
|
-
};
|
|
618
|
-
declare const LottieAnimation: ({ height, width, loop, slug, contentfulConfig, }: Props$3) => react_jsx_runtime.JSX.Element | null;
|
|
619
|
-
|
|
620
|
-
declare type Props$2 = {
|
|
621
|
-
children: React.ReactNode;
|
|
622
|
-
isOpen: boolean;
|
|
623
|
-
onClose?: () => void;
|
|
624
|
-
width?: number;
|
|
625
|
-
style?: any;
|
|
626
|
-
styles?: ModalProps["styles"];
|
|
627
|
-
/**
|
|
628
|
-
* @deprecated Use { styles: { body: CSSProperties } }
|
|
629
|
-
*/
|
|
630
|
-
bodyStyle?: CSSProperties;
|
|
631
|
-
centered?: boolean;
|
|
632
|
-
className?: string;
|
|
633
|
-
[extraProps: string]: unknown;
|
|
634
|
-
};
|
|
635
|
-
declare const Modal: ({ children, isOpen, onClose, width, centered, style, styles, bodyStyle, className, ...props }: Props$2) => react_jsx_runtime.JSX.Element;
|
|
636
|
-
|
|
637
|
-
declare const Progress: ({ percent, type, strokeColor, strokeLinecap, ...rest }: Omit<ProgressProps, "aria-label" | "aria-labelledby">) => react_jsx_runtime.JSX.Element;
|
|
638
|
-
|
|
639
|
-
declare const Ribbon: (props: BadgeProps) => react_jsx_runtime.JSX.Element;
|
|
640
|
-
|
|
641
|
-
declare const SearchInput: ({ searchValue, displaySmall, ...props }: {
|
|
642
|
-
[extraProps: string]: unknown;
|
|
643
|
-
searchValue?: string | undefined;
|
|
644
|
-
displaySmall?: boolean | undefined;
|
|
645
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
646
|
-
|
|
647
|
-
declare type Props$1 = {
|
|
648
|
-
color: string;
|
|
649
|
-
};
|
|
650
|
-
declare const SolaceLogo: ({ color }: Props$1) => react_jsx_runtime.JSX.Element;
|
|
651
|
-
|
|
652
685
|
declare const Breakpoint: {
|
|
653
686
|
Small: string;
|
|
654
687
|
SmallMax: string;
|
|
@@ -663,11 +696,6 @@ declare type ProviderProps = {
|
|
|
663
696
|
};
|
|
664
697
|
declare const SolaceThemeProvider: ({ children, theme, }: ProviderProps) => react_jsx_runtime.JSX.Element;
|
|
665
698
|
|
|
666
|
-
declare type Props = TagProps;
|
|
667
|
-
declare function Tag({ children, style, ...rest }: Props): react_jsx_runtime.JSX.Element;
|
|
668
|
-
|
|
669
|
-
declare function AutoComplete({ ...rest }: AutoCompleteProps): react_jsx_runtime.JSX.Element;
|
|
670
|
-
|
|
671
699
|
declare const _default$3: {
|
|
672
700
|
ButtonRadioGroup: ({ name, label, className, options, formOptions, }: {
|
|
673
701
|
name: string;
|
|
@@ -684,7 +712,7 @@ declare const _default$3: {
|
|
|
684
712
|
formMethods?: UseFormReturn<any, any> | null | undefined;
|
|
685
713
|
formOptions?: Partial<{
|
|
686
714
|
mode: keyof react_hook_form.ValidationMode;
|
|
687
|
-
reValidateMode: "
|
|
715
|
+
reValidateMode: "onChange" | "onBlur" | "onSubmit";
|
|
688
716
|
defaultValues: {
|
|
689
717
|
[x: string]: any;
|
|
690
718
|
} | ((payload?: unknown) => Promise<FieldValues>);
|
|
@@ -977,6 +1005,14 @@ declare const _default$3: {
|
|
|
977
1005
|
} & antd.UploadProps<any>) => react_jsx_runtime.JSX.Element;
|
|
978
1006
|
};
|
|
979
1007
|
|
|
1008
|
+
declare enum FormatType {
|
|
1009
|
+
Phone = "phone",
|
|
1010
|
+
Currency = "currency",
|
|
1011
|
+
Email = "email",
|
|
1012
|
+
Zipcode = "zipcode",
|
|
1013
|
+
ShortDate = "shortDate"
|
|
1014
|
+
}
|
|
1015
|
+
|
|
980
1016
|
declare const _default$2: {
|
|
981
1017
|
Area: ({ ...inputProps }: antd.InputProps) => react_jsx_runtime.JSX.Element;
|
|
982
1018
|
Text: ({ ...inputProps }: antd.InputProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -999,7 +1035,7 @@ declare const _default$1: {
|
|
|
999
1035
|
NavigationMenuMain: ({ items, ...rest }: {
|
|
1000
1036
|
items: MenuItemType;
|
|
1001
1037
|
hideExpandIcon?: boolean | undefined;
|
|
1002
|
-
} & Omit<MenuProps, "
|
|
1038
|
+
} & Omit<MenuProps, "ref" | "theme">) => react_jsx_runtime.JSX.Element;
|
|
1003
1039
|
};
|
|
1004
1040
|
|
|
1005
1041
|
declare const _default: {
|
|
@@ -1033,14 +1069,6 @@ declare const _default: {
|
|
|
1033
1069
|
}) => react_jsx_runtime.JSX.Element;
|
|
1034
1070
|
};
|
|
1035
1071
|
|
|
1036
|
-
declare enum FormatType {
|
|
1037
|
-
Phone = "phone",
|
|
1038
|
-
Currency = "currency",
|
|
1039
|
-
Email = "email",
|
|
1040
|
-
Zipcode = "zipcode",
|
|
1041
|
-
ShortDate = "shortDate"
|
|
1042
|
-
}
|
|
1043
|
-
|
|
1044
1072
|
declare const VantaLogo: ({ contentfulConfig, size, }: {
|
|
1045
1073
|
contentfulConfig: {
|
|
1046
1074
|
space: string;
|
|
@@ -1051,4 +1079,4 @@ declare const VantaLogo: ({ contentfulConfig, size, }: {
|
|
|
1051
1079
|
|
|
1052
1080
|
declare const DatePicker: ({ style, ...props }: DatePickerProps) => react_jsx_runtime.JSX.Element;
|
|
1053
1081
|
|
|
1054
|
-
export { _default$
|
|
1082
|
+
export { _default$a as AnimatedIcon, AutoComplete, Avatar, Badge, Breakpoint, _default$9 as Button, _default$8 as Card, Collapse, Contentful, ContentfulLottieFileSlug, DatePicker, DateSelect, Divider, Drawer, Dropdown, ErrorTypography, _default$7 as File, Flex, _default$3 as Form, FormatType, _default$6 as Icons, _default$2 as Input, LoadingSpinner, LottieAnimation, _default$5 as Menu, Modal, _default$1 as NavigationMenu, _default$4 as NumberedProgressSteps, Pill, Progress, Ribbon, SearchInput, Segmented, Size, SolaceLogo, SolaceThemeProvider, SortableList, Table, Tabs, Tag, TimePicker, TimeSelect, Toggle, Tooltip, _default as Typography, UserTypes, VantaLogo };
|