design-system-silkhaus 3.8.0-beta.ST-1134.4 → 3.8.0-beta.ST-1134.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/ButtonsGroupSelector-D-Y2iTmE.js +6504 -0
- package/dist/app/index.d.ts +164 -0
- package/dist/app/index.js +279 -0
- package/dist/index.d.ts +2034 -0
- package/dist/index.js +32288 -0
- package/dist/style.css +1 -0
- package/dist/tailwind.config.js +805 -0
- package/package.json +1 -1
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,2034 @@
|
|
|
1
|
+
import { CalendarDayShape } from 'react-dates';
|
|
2
|
+
import { ClassProp } from 'class-variance-authority/types';
|
|
3
|
+
import { ClassValue } from 'clsx';
|
|
4
|
+
import { default as default_2 } from 'react';
|
|
5
|
+
import { ElementType } from 'react';
|
|
6
|
+
import { FC } from 'react';
|
|
7
|
+
import { ForwardRefExoticComponent } from 'react';
|
|
8
|
+
import { HTMLAttributes } from 'react';
|
|
9
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
10
|
+
import { LazyLoadTypes } from 'react-slick';
|
|
11
|
+
import { ModifiersShape } from 'react-dates';
|
|
12
|
+
import { Moment } from 'moment';
|
|
13
|
+
import { Placement } from '@floating-ui/react';
|
|
14
|
+
import { Props } from 'simplebar-react';
|
|
15
|
+
import { PropsWithChildren } from 'react';
|
|
16
|
+
import * as React_2 from 'react';
|
|
17
|
+
import { ReactNode } from 'react';
|
|
18
|
+
import { RefAttributes } from 'react';
|
|
19
|
+
import { toast as toast_2 } from 'react-toastify';
|
|
20
|
+
import { ToastContainerProps as ToastContainerProps_2 } from 'react-toastify';
|
|
21
|
+
import { VariantProps } from 'class-variance-authority';
|
|
22
|
+
|
|
23
|
+
export declare const Accordion: default_2.ForwardRefExoticComponent<AccordionProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
24
|
+
|
|
25
|
+
export declare interface AccordionProps {
|
|
26
|
+
title: string | ReactNode;
|
|
27
|
+
content: ReactNode;
|
|
28
|
+
expandIcon?: string | ReactNode;
|
|
29
|
+
collapseIcon?: string | ReactNode;
|
|
30
|
+
accordionClass?: string | undefined;
|
|
31
|
+
accordionHeaderClass?: string | undefined;
|
|
32
|
+
accordionTitleClass?: string | undefined;
|
|
33
|
+
accordionContentClass?: string | undefined;
|
|
34
|
+
isEnabled?: boolean;
|
|
35
|
+
isExpanded?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* @default true
|
|
38
|
+
* If false, accordion will collapse on clicking anywhere,
|
|
39
|
+
* otherwise it will only collapse on clicking the header
|
|
40
|
+
*/
|
|
41
|
+
isCollapseOnlyOnHeaderClick?: boolean;
|
|
42
|
+
onStateChange?: (state: boolean) => void;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
declare type ActionButtonProps = {
|
|
46
|
+
label: string;
|
|
47
|
+
} & ButtonProps;
|
|
48
|
+
|
|
49
|
+
export declare const ActionFooter: default_2.ForwardRefExoticComponent<ActionFooterProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
50
|
+
|
|
51
|
+
export declare interface ActionFooterProps {
|
|
52
|
+
className?: string;
|
|
53
|
+
secondaryBtnClick?: () => void;
|
|
54
|
+
primaryBtnClick: () => void;
|
|
55
|
+
primaryBtnDisabled?: boolean;
|
|
56
|
+
secondaryBtnDisabled?: boolean;
|
|
57
|
+
primaryBtnTxt: string | default_2.ReactNode;
|
|
58
|
+
secondaryBtnTxt?: string | default_2.ReactNode;
|
|
59
|
+
primaryBtnType?: 'button' | 'submit' | 'reset';
|
|
60
|
+
secondaryBtnType?: 'button' | 'submit' | 'reset';
|
|
61
|
+
thirdColumn?: default_2.ReactNode;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export declare const AirConditionIcon: FC<{
|
|
65
|
+
className?: string;
|
|
66
|
+
}>;
|
|
67
|
+
|
|
68
|
+
export declare const AlertDialog: default_2.ForwardRefExoticComponent<AlertDialogProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
69
|
+
|
|
70
|
+
export declare interface AlertDialogProps {
|
|
71
|
+
outerDivClassName?: string;
|
|
72
|
+
banner?: string;
|
|
73
|
+
title: ReactNode;
|
|
74
|
+
description?: ReactNode;
|
|
75
|
+
disablePrimaryBtn: boolean;
|
|
76
|
+
showPrimaryBtn: boolean;
|
|
77
|
+
disableSecondaryBtn: boolean;
|
|
78
|
+
showSecondaryBtn: boolean;
|
|
79
|
+
primaryBtnText?: string | ReactNode;
|
|
80
|
+
secondaryBtnText?: string | ReactNode;
|
|
81
|
+
onPrimaryBtnClick?: () => void;
|
|
82
|
+
onSecondaryBtnClick?: () => void;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export declare const AnimatedModal: ForwardRefExoticComponent<AnimatedModalProps & RefAttributes<HTMLDivElement>>;
|
|
86
|
+
|
|
87
|
+
export declare interface AnimatedModalProps extends HTMLAttributes<HTMLDivElement> {
|
|
88
|
+
show?: boolean;
|
|
89
|
+
handleClose?: () => void;
|
|
90
|
+
animation?: 'slideUp' | 'slideDown' | 'slideLeft' | 'slideRight' | 'fadeIn';
|
|
91
|
+
/**
|
|
92
|
+
* @deprecated Apply styles using `contentClassName` instead
|
|
93
|
+
*/
|
|
94
|
+
marginTop?: string;
|
|
95
|
+
/**
|
|
96
|
+
* @deprecated Apply styles using `contentClassName` instead
|
|
97
|
+
*/
|
|
98
|
+
maxWidth?: string;
|
|
99
|
+
/**
|
|
100
|
+
* classes to apply on container that wraps the children passed to AnimatedModal
|
|
101
|
+
*/
|
|
102
|
+
contentClassName?: string;
|
|
103
|
+
isDismissible?: boolean;
|
|
104
|
+
overlayBlur?: boolean;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export declare const ArrowRightIcon: FC<{
|
|
108
|
+
className?: string;
|
|
109
|
+
}>;
|
|
110
|
+
|
|
111
|
+
export declare const ArrowTopRightIcon: FC<{
|
|
112
|
+
className?: string;
|
|
113
|
+
}>;
|
|
114
|
+
|
|
115
|
+
export declare const ArrowUndoIcon: FC<{
|
|
116
|
+
className?: string;
|
|
117
|
+
}>;
|
|
118
|
+
|
|
119
|
+
export declare const Asterisk: default_2.ForwardRefExoticComponent<AsteriskProps & default_2.RefAttributes<HTMLSpanElement>>;
|
|
120
|
+
|
|
121
|
+
declare interface AsteriskProps {
|
|
122
|
+
className?: string;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export declare const Badge: default_2.ForwardRefExoticComponent<BadgeProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
126
|
+
|
|
127
|
+
export declare type BadgeProps = {
|
|
128
|
+
icon?: default_2.ReactNode;
|
|
129
|
+
label: string;
|
|
130
|
+
variant: 'dark' | 'light' | 'amenity';
|
|
131
|
+
className?: string;
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
export declare const BankRegularIcon: FC<{
|
|
135
|
+
className?: string;
|
|
136
|
+
}>;
|
|
137
|
+
|
|
138
|
+
export declare const BarsIcon: FC<{
|
|
139
|
+
className?: string;
|
|
140
|
+
}>;
|
|
141
|
+
|
|
142
|
+
export declare const BarsOutlineIcon: FC<{
|
|
143
|
+
className?: string;
|
|
144
|
+
}>;
|
|
145
|
+
|
|
146
|
+
export declare const BedLineIcon: FC<{
|
|
147
|
+
className?: string;
|
|
148
|
+
}>;
|
|
149
|
+
|
|
150
|
+
export declare const BedRegularIcon: FC<{
|
|
151
|
+
className?: string;
|
|
152
|
+
}>;
|
|
153
|
+
|
|
154
|
+
export declare const BellIcon: FC<{
|
|
155
|
+
className?: string;
|
|
156
|
+
}>;
|
|
157
|
+
|
|
158
|
+
export declare const BellSolidIcon: FC<{
|
|
159
|
+
className?: string;
|
|
160
|
+
}>;
|
|
161
|
+
|
|
162
|
+
export declare const BoltIcon: FC<{
|
|
163
|
+
className?: string;
|
|
164
|
+
}>;
|
|
165
|
+
|
|
166
|
+
export declare const BookIcon: FC<{
|
|
167
|
+
className?: string;
|
|
168
|
+
}>;
|
|
169
|
+
|
|
170
|
+
export declare const BookingQuoteCard: default_2.ForwardRefExoticComponent<BookingQuoteCardProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
171
|
+
|
|
172
|
+
export declare interface BookingQuoteCardProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
173
|
+
items: BookingQuoteLineItemType[];
|
|
174
|
+
isExpandedInMobile?: boolean;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
export declare interface BookingQuoteLineItemType {
|
|
178
|
+
key_name: string;
|
|
179
|
+
display_name: string;
|
|
180
|
+
currency_converted_amount: string;
|
|
181
|
+
type: string;
|
|
182
|
+
description?: string;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
export declare const BoxCheckIcon: FC<{
|
|
186
|
+
className?: string;
|
|
187
|
+
}>;
|
|
188
|
+
|
|
189
|
+
export declare const BoxLineGraphUpIcon: FC<{
|
|
190
|
+
className?: string;
|
|
191
|
+
}>;
|
|
192
|
+
|
|
193
|
+
export declare const BuildingIcon: FC<{
|
|
194
|
+
className?: string;
|
|
195
|
+
}>;
|
|
196
|
+
|
|
197
|
+
export declare const BurgerIcon: FC<{
|
|
198
|
+
className?: string;
|
|
199
|
+
}>;
|
|
200
|
+
|
|
201
|
+
export declare const Button: default_2.ForwardRefExoticComponent<ButtonProps & default_2.RefAttributes<HTMLButtonElement>>;
|
|
202
|
+
|
|
203
|
+
export declare interface ButtonProps extends default_2.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
204
|
+
color?: 'primary' | 'secondary' | 'tertiary' | 'quaternary';
|
|
205
|
+
size?: 'small' | 'large';
|
|
206
|
+
disabled?: true | false;
|
|
207
|
+
startIcon?: default_2.ReactNode;
|
|
208
|
+
endIcon?: default_2.ReactNode;
|
|
209
|
+
trackingId?: string;
|
|
210
|
+
selected?: boolean;
|
|
211
|
+
helperText?: string;
|
|
212
|
+
/**
|
|
213
|
+
* classes to apply on the outer most container which contains
|
|
214
|
+
* the button and the helper text
|
|
215
|
+
*/
|
|
216
|
+
className?: string;
|
|
217
|
+
/**
|
|
218
|
+
* classes to apply on button element
|
|
219
|
+
*/
|
|
220
|
+
buttonClassName?: string;
|
|
221
|
+
/**
|
|
222
|
+
* classes to apply on the helper text
|
|
223
|
+
*/
|
|
224
|
+
helpterTextClassName?: string;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
export declare const ButtonsGroupSelector: default_2.ForwardRefExoticComponent<ButtonsGroupSelectorProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
228
|
+
|
|
229
|
+
export declare interface ButtonsGroupSelectorProps extends HTMLAttributes<HTMLDivElement> {
|
|
230
|
+
label?: string;
|
|
231
|
+
value?: Array<{
|
|
232
|
+
label: string;
|
|
233
|
+
value: string;
|
|
234
|
+
}>;
|
|
235
|
+
options: Array<{
|
|
236
|
+
label: string;
|
|
237
|
+
value: string;
|
|
238
|
+
}>;
|
|
239
|
+
onSelectionChange?: (selected: Array<{
|
|
240
|
+
label: string;
|
|
241
|
+
value: string;
|
|
242
|
+
}>) => void;
|
|
243
|
+
placeholder?: string;
|
|
244
|
+
selected?: boolean;
|
|
245
|
+
isMultiSelect?: boolean;
|
|
246
|
+
noDataError?: string;
|
|
247
|
+
minWidthButton?: string;
|
|
248
|
+
buttonWidth?: string;
|
|
249
|
+
minSelectionError?: string;
|
|
250
|
+
/**
|
|
251
|
+
* className for the wrapping div on the buttons
|
|
252
|
+
*/
|
|
253
|
+
buttonsContainerClassName?: string;
|
|
254
|
+
/**
|
|
255
|
+
* className to applied on each button
|
|
256
|
+
*/
|
|
257
|
+
buttonClassName?: string;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
export declare const CalendarIcon: FC<{
|
|
261
|
+
className?: string;
|
|
262
|
+
}>;
|
|
263
|
+
|
|
264
|
+
export declare const CalendarPlusIcon: FC<{
|
|
265
|
+
className?: string;
|
|
266
|
+
}>;
|
|
267
|
+
|
|
268
|
+
export declare const Card: React_2.ForwardRefExoticComponent<CardProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
269
|
+
|
|
270
|
+
export declare const CardContent: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
271
|
+
|
|
272
|
+
export declare const CardDescription: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
273
|
+
|
|
274
|
+
export declare const CardFooter: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
275
|
+
|
|
276
|
+
export declare const CardHeader: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
277
|
+
|
|
278
|
+
export declare interface CardProps extends React_2.HTMLAttributes<HTMLDivElement>, CardVariantProps {
|
|
279
|
+
asChild?: boolean;
|
|
280
|
+
as?: string;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
export declare const CardTitle: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
284
|
+
|
|
285
|
+
export declare type CardVariantProps = VariantProps<typeof cardVariants>;
|
|
286
|
+
|
|
287
|
+
declare const cardVariants: (props?: ({
|
|
288
|
+
cardType?: "default" | "shadowCard" | null | undefined;
|
|
289
|
+
} & ClassProp) | undefined) => string;
|
|
290
|
+
|
|
291
|
+
export declare const ChairIcon: FC<{
|
|
292
|
+
className?: string;
|
|
293
|
+
}>;
|
|
294
|
+
|
|
295
|
+
export declare const Checkbox: default_2.ForwardRefExoticComponent<CheckboxProps & default_2.RefAttributes<HTMLInputElement>>;
|
|
296
|
+
|
|
297
|
+
export declare interface CheckboxProps extends HTMLAttributes<HTMLInputElement> {
|
|
298
|
+
isChecked: boolean;
|
|
299
|
+
onSelectionChange?: () => void;
|
|
300
|
+
label?: default_2.ReactNode;
|
|
301
|
+
disabled?: boolean;
|
|
302
|
+
className?: string;
|
|
303
|
+
labelPosition?: 'left' | 'right';
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
export declare const CheckmarkCircleIcon: FC<{
|
|
307
|
+
className?: string;
|
|
308
|
+
}>;
|
|
309
|
+
|
|
310
|
+
export declare const CheckmarkIcon: FC<{
|
|
311
|
+
className?: string;
|
|
312
|
+
}>;
|
|
313
|
+
|
|
314
|
+
export declare const ChevronDownRegularIcon: FC<{
|
|
315
|
+
className?: string;
|
|
316
|
+
}>;
|
|
317
|
+
|
|
318
|
+
export declare const ChevronLeftRegularIcon: FC<{
|
|
319
|
+
className?: string;
|
|
320
|
+
}>;
|
|
321
|
+
|
|
322
|
+
export declare const ChevronRightRegularIcon: FC<{
|
|
323
|
+
className?: string;
|
|
324
|
+
}>;
|
|
325
|
+
|
|
326
|
+
export declare const ClipboardIcon: FC<{
|
|
327
|
+
className?: string;
|
|
328
|
+
}>;
|
|
329
|
+
|
|
330
|
+
export declare const ClipboardSolidIcon: FC<{
|
|
331
|
+
className?: string;
|
|
332
|
+
}>;
|
|
333
|
+
|
|
334
|
+
export declare const CloseIcon: FC<{
|
|
335
|
+
className?: string;
|
|
336
|
+
}>;
|
|
337
|
+
|
|
338
|
+
export declare function cn(...inputs: ClassValue[]): string;
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* A wrapper component that follows design system's margins on pages for different screen sizes
|
|
342
|
+
*/
|
|
343
|
+
export declare const Container: <T extends ElementType = "div">({ as, children, className, dataTestId, ...rest }: ContainerProps<T>) => JSX_2.Element;
|
|
344
|
+
|
|
345
|
+
export declare type ContainerProps<T extends ElementType = 'div'> = React.PropsWithChildren<{
|
|
346
|
+
/**
|
|
347
|
+
* Element type to render as
|
|
348
|
+
* @default 'div'
|
|
349
|
+
*/
|
|
350
|
+
as?: T;
|
|
351
|
+
dataTestId?: string;
|
|
352
|
+
}> & React.ComponentPropsWithoutRef<T>;
|
|
353
|
+
|
|
354
|
+
export declare const ContractIcon: FC<{
|
|
355
|
+
className?: string;
|
|
356
|
+
}>;
|
|
357
|
+
|
|
358
|
+
export declare const DashboardIcon: FC<{
|
|
359
|
+
className?: string;
|
|
360
|
+
}>;
|
|
361
|
+
|
|
362
|
+
export declare const DashboardOutlineIcon: FC<{
|
|
363
|
+
className?: string;
|
|
364
|
+
}>;
|
|
365
|
+
|
|
366
|
+
export declare const DateRangePicker: default_2.ForwardRefExoticComponent<DateRangePickerProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
367
|
+
|
|
368
|
+
declare interface DateRangePickerProps {
|
|
369
|
+
startDatePlaceholderText?: string;
|
|
370
|
+
endDatePlaceholderText?: string;
|
|
371
|
+
onDatesSelected?: (dates: {
|
|
372
|
+
startDate: Moment | null;
|
|
373
|
+
endDate: Moment | null;
|
|
374
|
+
}) => void;
|
|
375
|
+
onDatesChange?: (dates: {
|
|
376
|
+
startDate: Moment | null;
|
|
377
|
+
endDate: Moment | null;
|
|
378
|
+
}) => void;
|
|
379
|
+
initialStartDate?: Moment | null;
|
|
380
|
+
initialEndDate?: Moment | null;
|
|
381
|
+
focusedInput?: 'startDate' | 'endDate' | null;
|
|
382
|
+
onFocusChange?: (focusedInput: 'startDate' | 'endDate' | null) => void;
|
|
383
|
+
lTBannerImage?: string;
|
|
384
|
+
lTBannerTitle?: string | default_2.ReactNode;
|
|
385
|
+
lTBannerDesc?: string | default_2.ReactNode;
|
|
386
|
+
lTBannerBgColor?: string;
|
|
387
|
+
thirdColumn?: string | default_2.ReactNode;
|
|
388
|
+
onMobileCloseClick?: () => void;
|
|
389
|
+
onOutsideClick?: (e: unknown) => void;
|
|
390
|
+
onPrevMonthClick?: (e: unknown) => void;
|
|
391
|
+
onNextMonthClick?: (e: unknown) => void;
|
|
392
|
+
renderCalendarDay?: (props: CalendarDayShape) => default_2.ReactNode | undefined;
|
|
393
|
+
isDayBlocked?: ((day: Moment) => boolean) | undefined;
|
|
394
|
+
renderDayContents?: (day: Moment, modifiers: ModifiersShape) => default_2.ReactNode | null | undefined;
|
|
395
|
+
renderCalendarInfo?: () => default_2.ReactNode | null | undefined;
|
|
396
|
+
_daySize?: number;
|
|
397
|
+
_mobileDaySize?: number;
|
|
398
|
+
mobileBreakPoint?: number;
|
|
399
|
+
isAdjustHeightForViewport?: boolean;
|
|
400
|
+
/**
|
|
401
|
+
* @default 'button'
|
|
402
|
+
*/
|
|
403
|
+
primaryBtnType?: 'button' | 'submit' | 'reset';
|
|
404
|
+
/**
|
|
405
|
+
* @default 'button'
|
|
406
|
+
*/
|
|
407
|
+
secondaryBtnType?: 'button' | 'submit' | 'reset';
|
|
408
|
+
/**
|
|
409
|
+
* Used for RTL.
|
|
410
|
+
* Pass this as true when you have direction=rtl in your HTML
|
|
411
|
+
* @default false
|
|
412
|
+
*/
|
|
413
|
+
rtl?: boolean;
|
|
414
|
+
/**
|
|
415
|
+
* @default 'Check-in'
|
|
416
|
+
*/
|
|
417
|
+
startDateLabel?: string;
|
|
418
|
+
/**
|
|
419
|
+
* @default 'Check out'
|
|
420
|
+
*/
|
|
421
|
+
endDateLabel?: string;
|
|
422
|
+
/**
|
|
423
|
+
* @default 'Apply'
|
|
424
|
+
*/
|
|
425
|
+
primaryBtnText?: string;
|
|
426
|
+
/**
|
|
427
|
+
* @default 'Clear'
|
|
428
|
+
*/
|
|
429
|
+
secondaryBtnText?: string;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
export declare const DeleteIcon: FC<{
|
|
433
|
+
className?: string;
|
|
434
|
+
}>;
|
|
435
|
+
|
|
436
|
+
export declare const desktopMinWidth: number;
|
|
437
|
+
|
|
438
|
+
export declare const DesktopPopover: FC<PropsWithChildren<PopoverProps>>;
|
|
439
|
+
|
|
440
|
+
export declare const DesktopTooltip: FC<PropsWithChildren<TooltipProps>>;
|
|
441
|
+
|
|
442
|
+
export declare const Dialog: ForwardRefExoticComponent<DialogProps & RefAttributes<HTMLDivElement>>;
|
|
443
|
+
|
|
444
|
+
export declare interface DialogProps extends HTMLAttributes<HTMLDivElement> {
|
|
445
|
+
open: boolean;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
export declare const DialogV2: FC<DialogV2Props>;
|
|
449
|
+
|
|
450
|
+
export declare type DialogV2Props = {
|
|
451
|
+
className?: string;
|
|
452
|
+
title: string;
|
|
453
|
+
subTitle?: string;
|
|
454
|
+
dialogContainerClassname?: string;
|
|
455
|
+
dialogHeaderClassname?: string;
|
|
456
|
+
dialogBodyClassname?: string;
|
|
457
|
+
dialogFooterClassname?: string;
|
|
458
|
+
dialogBody: ReactNode;
|
|
459
|
+
show: boolean;
|
|
460
|
+
onClose?: () => void;
|
|
461
|
+
actionButtons?: ActionButtonProps[];
|
|
462
|
+
isDismissible?: boolean;
|
|
463
|
+
overlayBlur?: boolean;
|
|
464
|
+
dir?: 'ltr' | 'rtl' | 'auto';
|
|
465
|
+
};
|
|
466
|
+
|
|
467
|
+
export declare const DocumentsIcon: FC<{
|
|
468
|
+
className?: string;
|
|
469
|
+
}>;
|
|
470
|
+
|
|
471
|
+
export declare const DoorLockIcon: FC<{
|
|
472
|
+
className?: string;
|
|
473
|
+
}>;
|
|
474
|
+
|
|
475
|
+
export declare const DoorOpenIcon: FC<{
|
|
476
|
+
className?: string;
|
|
477
|
+
}>;
|
|
478
|
+
|
|
479
|
+
export declare const DUE_TODAY = "due_today";
|
|
480
|
+
|
|
481
|
+
export declare const FileIcon: FC<{
|
|
482
|
+
className?: string;
|
|
483
|
+
}>;
|
|
484
|
+
|
|
485
|
+
export declare const FileInput: default_2.FC<FileInputProps>;
|
|
486
|
+
|
|
487
|
+
export declare interface FileInputProps {
|
|
488
|
+
label?: string;
|
|
489
|
+
/**
|
|
490
|
+
* label that will appear on the button.
|
|
491
|
+
* @default 'Upload'
|
|
492
|
+
*/
|
|
493
|
+
uploadButtonLabel?: string;
|
|
494
|
+
/**
|
|
495
|
+
* label that will appear next to the upload button
|
|
496
|
+
* @default 'Choose...'
|
|
497
|
+
*/
|
|
498
|
+
uploadLabel?: string;
|
|
499
|
+
helperText?: string;
|
|
500
|
+
/**
|
|
501
|
+
* file types that will be accepted by the input.
|
|
502
|
+
* accepts same values as https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept
|
|
503
|
+
*/
|
|
504
|
+
accept?: string;
|
|
505
|
+
multiple?: boolean;
|
|
506
|
+
onChange?: (files: FileList | null) => void;
|
|
507
|
+
disabled?: boolean;
|
|
508
|
+
required?: boolean;
|
|
509
|
+
/**
|
|
510
|
+
* If the file input is being used for uploading, an array of upload statuses
|
|
511
|
+
* for each file can be passed to show status of each file.
|
|
512
|
+
*/
|
|
513
|
+
uploadStatuses?: {
|
|
514
|
+
isComplete: boolean;
|
|
515
|
+
isDeleting?: boolean;
|
|
516
|
+
message: string;
|
|
517
|
+
fileId?: string | number;
|
|
518
|
+
}[];
|
|
519
|
+
className?: string;
|
|
520
|
+
error?: boolean;
|
|
521
|
+
/**
|
|
522
|
+
* Controls whether we need to show tooltip or not
|
|
523
|
+
*/
|
|
524
|
+
showTooltip?: boolean;
|
|
525
|
+
/**
|
|
526
|
+
* Provide option to overide default tooltip icon
|
|
527
|
+
*/
|
|
528
|
+
tooltipIcon?: default_2.ReactNode;
|
|
529
|
+
/**
|
|
530
|
+
* Optional tooltip props without trigger
|
|
531
|
+
*/
|
|
532
|
+
tooltipProps?: Omit<TooltipProps, 'trigger'>;
|
|
533
|
+
/**
|
|
534
|
+
* Allow deletion of file
|
|
535
|
+
*/
|
|
536
|
+
allowDelete?: boolean;
|
|
537
|
+
/**
|
|
538
|
+
* Callback function to handle file deletion
|
|
539
|
+
*/
|
|
540
|
+
onDeleteBtnClick?: (id: string | number) => void;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
export declare const FilterIcon: FC<{
|
|
544
|
+
className?: string;
|
|
545
|
+
}>;
|
|
546
|
+
|
|
547
|
+
export declare const FlameIcon: FC<{
|
|
548
|
+
className?: string;
|
|
549
|
+
}>;
|
|
550
|
+
|
|
551
|
+
export declare const formatCurrency: (val: number, currency?: string) => string;
|
|
552
|
+
|
|
553
|
+
export declare const GearIcon: FC<{
|
|
554
|
+
className?: string;
|
|
555
|
+
}>;
|
|
556
|
+
|
|
557
|
+
export declare const GearOutlinedIcon: FC<{
|
|
558
|
+
className?: string;
|
|
559
|
+
}>;
|
|
560
|
+
|
|
561
|
+
export declare const getScreenSize: (width: number) => ScreenSize;
|
|
562
|
+
|
|
563
|
+
export declare const GlobeIcon: FC<{
|
|
564
|
+
className?: string;
|
|
565
|
+
}>;
|
|
566
|
+
|
|
567
|
+
export declare const Grid: React_2.ForwardRefExoticComponent<GridProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
568
|
+
|
|
569
|
+
export declare interface GridProps extends React_2.HTMLAttributes<HTMLDivElement>, Omit<GridVariantProps, 'optional'> {
|
|
570
|
+
asChild?: boolean;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
export declare type GridVariantProps = VariantProps<typeof gridVariants>;
|
|
574
|
+
|
|
575
|
+
declare const gridVariants: (props?: ({
|
|
576
|
+
display?: "grid" | "inlineGrid" | null | undefined;
|
|
577
|
+
gap?: "gap0" | "gap100" | "gap150" | "gap200" | "gap300" | "gap400" | "gap600" | "gap800" | "gap1000" | "gap1200" | "gap1600" | "gap2000" | null | undefined;
|
|
578
|
+
gapX?: "gap0" | "gap100" | "gap150" | "gap200" | "gap300" | "gap400" | "gap600" | "gap800" | "gap1000" | "gap1200" | "gap1600" | "gap2000" | null | undefined;
|
|
579
|
+
gapY?: "gap0" | "gap100" | "gap150" | "gap200" | "gap300" | "gap400" | "gap600" | "gap800" | "gap1000" | "gap1200" | "gap1600" | "gap2000" | null | undefined;
|
|
580
|
+
justifyContent?: "end" | "start" | "normal" | "center" | "between" | "around" | "evenly" | "stretch" | null | undefined;
|
|
581
|
+
justifyItems?: "end" | "start" | "center" | "stretch" | null | undefined;
|
|
582
|
+
alignContent?: "end" | "start" | "normal" | "center" | "between" | "around" | "evenly" | "stretch" | "baseline" | null | undefined;
|
|
583
|
+
alignItems?: "end" | "start" | "center" | "stretch" | "baseline" | null | undefined;
|
|
584
|
+
placeContent?: "end" | "start" | "center" | "between" | "around" | "evenly" | "stretch" | "baseline" | null | undefined;
|
|
585
|
+
placeItems?: "end" | "start" | "center" | "stretch" | "baseline" | null | undefined;
|
|
586
|
+
} & ClassProp) | undefined) => string;
|
|
587
|
+
|
|
588
|
+
export declare const HandCursorTapIcon: FC<{
|
|
589
|
+
className?: string;
|
|
590
|
+
}>;
|
|
591
|
+
|
|
592
|
+
export declare const HeadsetIcon: FC<{
|
|
593
|
+
className?: string;
|
|
594
|
+
}>;
|
|
595
|
+
|
|
596
|
+
export declare const HelperText: FC<HelperTextProps>;
|
|
597
|
+
|
|
598
|
+
export declare interface HelperTextProps {
|
|
599
|
+
error?: boolean;
|
|
600
|
+
text?: ReactNode;
|
|
601
|
+
className?: string;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
export declare const HouseOutlineIcon: FC<{
|
|
605
|
+
className?: string;
|
|
606
|
+
}>;
|
|
607
|
+
|
|
608
|
+
export declare const HouseRegularIcon: FC<{
|
|
609
|
+
className?: string;
|
|
610
|
+
}>;
|
|
611
|
+
|
|
612
|
+
export declare const IconButton: default_2.ForwardRefExoticComponent<IconButtonProps & default_2.RefAttributes<HTMLButtonElement>>;
|
|
613
|
+
|
|
614
|
+
export declare interface IconButtonProps extends default_2.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
615
|
+
color?: 'primary' | 'secondary' | 'tertiary' | 'quaternary';
|
|
616
|
+
size?: 'small' | 'large';
|
|
617
|
+
disabled?: true | false;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
export declare const ImageCarousel: default_2.ForwardRefExoticComponent<ImageCarouselProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
621
|
+
|
|
622
|
+
export declare interface ImageCarouselProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
623
|
+
images: string[];
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
export declare const InfoIcon: FC<{
|
|
627
|
+
className?: string;
|
|
628
|
+
}>;
|
|
629
|
+
|
|
630
|
+
export declare const Input: default_2.ForwardRefExoticComponent<InputProps & default_2.RefAttributes<HTMLInputElement>>;
|
|
631
|
+
|
|
632
|
+
export declare interface InputProps extends default_2.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {
|
|
633
|
+
textarea?: true | false | undefined;
|
|
634
|
+
label?: default_2.ReactNode;
|
|
635
|
+
/**
|
|
636
|
+
* @deprecated This was wrongly named. Please use `helperText` instead
|
|
637
|
+
*/
|
|
638
|
+
caption?: string;
|
|
639
|
+
helperText?: string;
|
|
640
|
+
color?: 'primary' | 'success' | 'error' | 'primaryRounded' | 'errorRounded' | 'disabled';
|
|
641
|
+
required?: boolean;
|
|
642
|
+
labelClass?: string | undefined;
|
|
643
|
+
InputDivClass?: string | undefined;
|
|
644
|
+
/**
|
|
645
|
+
* @deprecated This was wrongly named. Please use `helperTextClass` instead
|
|
646
|
+
*/
|
|
647
|
+
captionClass?: string;
|
|
648
|
+
helperTextClass?: string;
|
|
649
|
+
startAdornment?: default_2.ReactNode;
|
|
650
|
+
endAdornment?: default_2.ReactNode;
|
|
651
|
+
min?: number;
|
|
652
|
+
max?: number;
|
|
653
|
+
value?: string | number;
|
|
654
|
+
/**
|
|
655
|
+
* When `true`, only numbers can be entered. Any other input will be ignored
|
|
656
|
+
* When min and max are set, the entered value is set to min when less than min and max when greater than max
|
|
657
|
+
*/
|
|
658
|
+
isNumbersOnly?: boolean;
|
|
659
|
+
/**
|
|
660
|
+
* When `isNumbersOnly` is `true`, entered value might be modified depending on min and max.
|
|
661
|
+
* While `onChange` will you give what the user enters, `onNumberUpdate` will give the final modified value
|
|
662
|
+
*/
|
|
663
|
+
onNumberUpdate?: (val: number | '') => void;
|
|
664
|
+
/**
|
|
665
|
+
* Controls whether we need to show tooltip or not
|
|
666
|
+
*/
|
|
667
|
+
showTooltip?: boolean;
|
|
668
|
+
/**
|
|
669
|
+
* Provide option to overide default tooltip icon
|
|
670
|
+
*/
|
|
671
|
+
tooltipIcon?: default_2.ReactNode;
|
|
672
|
+
/**
|
|
673
|
+
* Optional tooltip props without trigger
|
|
674
|
+
*/
|
|
675
|
+
tooltipProps?: Omit<TooltipProps, 'trigger'>;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
export declare const INSTALLMENT = "installment";
|
|
679
|
+
|
|
680
|
+
declare interface KeyMapping<SourceKey extends keyof PaymentRadioInputProps, DestinationKey extends string> {
|
|
681
|
+
sourceKey: SourceKey;
|
|
682
|
+
destinationKey: DestinationKey;
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
export declare const Label: FC<LabelProps>;
|
|
686
|
+
|
|
687
|
+
export declare type LabelProps = {
|
|
688
|
+
label: default_2.ReactNode;
|
|
689
|
+
required?: boolean;
|
|
690
|
+
error?: boolean;
|
|
691
|
+
className?: string;
|
|
692
|
+
disabled?: boolean;
|
|
693
|
+
};
|
|
694
|
+
|
|
695
|
+
export declare const LineGraphDownIcon: FC<{
|
|
696
|
+
className?: string;
|
|
697
|
+
}>;
|
|
698
|
+
|
|
699
|
+
export declare const LineGraphUpIcon: FC<{
|
|
700
|
+
className?: string;
|
|
701
|
+
}>;
|
|
702
|
+
|
|
703
|
+
export declare const ListingCard: default_2.ForwardRefExoticComponent<ListingCardProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
704
|
+
|
|
705
|
+
export declare type ListingCardProps = {
|
|
706
|
+
images: string[];
|
|
707
|
+
title: string | default_2.ReactNode;
|
|
708
|
+
subtitle: string | default_2.ReactNode;
|
|
709
|
+
guests: number;
|
|
710
|
+
type: string;
|
|
711
|
+
sqft: string;
|
|
712
|
+
tags: TagProps[];
|
|
713
|
+
amenityTags?: TagProps[];
|
|
714
|
+
price: string;
|
|
715
|
+
slashedPrice?: string;
|
|
716
|
+
totalPrice: string;
|
|
717
|
+
slashedTotalPrice?: string;
|
|
718
|
+
onClick: () => void;
|
|
719
|
+
selectable?: boolean;
|
|
720
|
+
selectionState?: SelectionStateEnum;
|
|
721
|
+
onViewListingClick?: () => void;
|
|
722
|
+
className?: string;
|
|
723
|
+
/**
|
|
724
|
+
* Used for RTL.
|
|
725
|
+
* Pass this as true when you have direction=rtl in your HTML
|
|
726
|
+
* @default false
|
|
727
|
+
*/
|
|
728
|
+
rtl?: boolean;
|
|
729
|
+
/**
|
|
730
|
+
* Text for view listing button
|
|
731
|
+
* @default 'View Listing'
|
|
732
|
+
*/
|
|
733
|
+
viewListingText?: string;
|
|
734
|
+
/**
|
|
735
|
+
* Text for no of guests label
|
|
736
|
+
* @default 'Guests'
|
|
737
|
+
*/
|
|
738
|
+
noOfGuestsLabel?: string;
|
|
739
|
+
/**
|
|
740
|
+
* Text for apartment type label
|
|
741
|
+
* @default 'Type'
|
|
742
|
+
*/
|
|
743
|
+
apartmentTypeLabel?: string;
|
|
744
|
+
/**
|
|
745
|
+
* Text for apartment area label
|
|
746
|
+
* @default 'Sqft'
|
|
747
|
+
*/
|
|
748
|
+
apartmentAreaLabel?: string;
|
|
749
|
+
/**
|
|
750
|
+
* Text for price suffix
|
|
751
|
+
* @default 'avg/night'
|
|
752
|
+
*/
|
|
753
|
+
priceSuffix?: string;
|
|
754
|
+
/**
|
|
755
|
+
* Text for total price suffix
|
|
756
|
+
* @default 'Total excl. tax & fees'
|
|
757
|
+
*/
|
|
758
|
+
totalPriceSuffix?: string;
|
|
759
|
+
};
|
|
760
|
+
|
|
761
|
+
export declare const LoadingIcon: FC<{
|
|
762
|
+
className?: string;
|
|
763
|
+
}>;
|
|
764
|
+
|
|
765
|
+
export declare const LocaleSettingsModal: FC<LocaleSettingsModalProps>;
|
|
766
|
+
|
|
767
|
+
export declare interface LocaleSettingsModalProps {
|
|
768
|
+
languages?: Option_3[];
|
|
769
|
+
currencies?: Option_3[];
|
|
770
|
+
selectedLanguage?: Option_3;
|
|
771
|
+
selectedCurrency?: Option_3;
|
|
772
|
+
show: boolean;
|
|
773
|
+
onSave: (settings: {
|
|
774
|
+
language: Option_3;
|
|
775
|
+
currency: Option_3;
|
|
776
|
+
}) => void;
|
|
777
|
+
onClose: () => void;
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
export declare const LocationIcon: FC<{
|
|
781
|
+
className?: string;
|
|
782
|
+
}>;
|
|
783
|
+
|
|
784
|
+
export declare const LockIcon: FC<{
|
|
785
|
+
className?: string;
|
|
786
|
+
}>;
|
|
787
|
+
|
|
788
|
+
export declare const LongTermBanner: default_2.ForwardRefExoticComponent<LongTermBannerProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
789
|
+
|
|
790
|
+
export declare interface LongTermBannerProps {
|
|
791
|
+
image: string;
|
|
792
|
+
title: string | default_2.ReactNode;
|
|
793
|
+
desc: string | default_2.ReactNode;
|
|
794
|
+
size: 'small' | 'large';
|
|
795
|
+
bgColor: string;
|
|
796
|
+
className?: string;
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
export declare const MagnifyGlassIcon: FC<{
|
|
800
|
+
className?: string;
|
|
801
|
+
}>;
|
|
802
|
+
|
|
803
|
+
export declare const MinusIcon: FC<{
|
|
804
|
+
className?: string;
|
|
805
|
+
}>;
|
|
806
|
+
|
|
807
|
+
export declare const MobileFilterMenu: ForwardRefExoticComponent<MobileFilterMenuProps & RefAttributes<HTMLDivElement>>;
|
|
808
|
+
|
|
809
|
+
export declare interface MobileFilterMenuProps extends HTMLAttributes<HTMLDivElement> {
|
|
810
|
+
show: boolean;
|
|
811
|
+
handleClose?: () => void;
|
|
812
|
+
staticBackdrop?: boolean;
|
|
813
|
+
filterHeader?: string;
|
|
814
|
+
filterDescription?: string;
|
|
815
|
+
closeIcon?: string;
|
|
816
|
+
animation?: 'slideDown' | 'slideUp' | 'fadeIn';
|
|
817
|
+
isSecondary?: boolean;
|
|
818
|
+
backgroundImage?: string;
|
|
819
|
+
marginTop?: string;
|
|
820
|
+
maxWidth?: string;
|
|
821
|
+
rtl?: boolean;
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
export declare const MobileMultiSelectFilterDropDown: ForwardRefExoticComponent<MobileMultiSelectFilterDropDownProps & RefAttributes<HTMLDivElement>>;
|
|
825
|
+
|
|
826
|
+
export declare interface MobileMultiSelectFilterDropDownProps extends HTMLAttributes<HTMLDivElement> {
|
|
827
|
+
label?: string;
|
|
828
|
+
value?: Array<Option_2>;
|
|
829
|
+
options: Array<Option_2>;
|
|
830
|
+
onSelectionChange?: (selected: Array<Option_2>) => void;
|
|
831
|
+
placeholder?: string;
|
|
832
|
+
selected?: boolean;
|
|
833
|
+
setCheckBoxValue?: boolean;
|
|
834
|
+
/**
|
|
835
|
+
* @deprecated use `icon` instead to pass a react node
|
|
836
|
+
*/
|
|
837
|
+
dropdownIcon?: string;
|
|
838
|
+
icon?: React.ReactNode;
|
|
839
|
+
error?: string;
|
|
840
|
+
noDataError?: string;
|
|
841
|
+
disabled?: boolean;
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
export declare const MobilePopover: FC<PropsWithChildren<PopoverProps>>;
|
|
845
|
+
|
|
846
|
+
export declare const MobileSelectCardDropDown: ForwardRefExoticComponent<MobileSelectCardDropDownProps & RefAttributes<HTMLDivElement>>;
|
|
847
|
+
|
|
848
|
+
export declare interface MobileSelectCardDropDownProps extends HTMLAttributes<HTMLDivElement> {
|
|
849
|
+
label?: string;
|
|
850
|
+
value?: string;
|
|
851
|
+
options: {
|
|
852
|
+
imgUrl: string;
|
|
853
|
+
label: string;
|
|
854
|
+
}[];
|
|
855
|
+
onSelectionChange?: (selected: {
|
|
856
|
+
imgUrl: string;
|
|
857
|
+
label: string;
|
|
858
|
+
}) => void;
|
|
859
|
+
placeholder?: string;
|
|
860
|
+
selected?: boolean;
|
|
861
|
+
/**
|
|
862
|
+
* @deprecated use `icon` instead to pass a react node
|
|
863
|
+
*/
|
|
864
|
+
dropdownIcon?: string;
|
|
865
|
+
icon?: React.ReactNode;
|
|
866
|
+
error?: string;
|
|
867
|
+
noDataError?: string;
|
|
868
|
+
disabled?: boolean;
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
export declare const MobileTootip: FC<PropsWithChildren<TooltipProps>>;
|
|
872
|
+
|
|
873
|
+
export declare const MoneyIcon: FC<{
|
|
874
|
+
className?: string;
|
|
875
|
+
}>;
|
|
876
|
+
|
|
877
|
+
export declare const MoonIcon: FC<{
|
|
878
|
+
className?: string;
|
|
879
|
+
}>;
|
|
880
|
+
|
|
881
|
+
export declare const NotificationItem: FC<NotificationItemProps>;
|
|
882
|
+
|
|
883
|
+
export declare type NotificationItemProps = {
|
|
884
|
+
id?: string | number;
|
|
885
|
+
className?: string;
|
|
886
|
+
title: string;
|
|
887
|
+
description1: string;
|
|
888
|
+
description2?: string;
|
|
889
|
+
thumbnailUrl?: string;
|
|
890
|
+
isRead?: boolean;
|
|
891
|
+
onClick?: (item: NotificationItemProps) => void;
|
|
892
|
+
};
|
|
893
|
+
|
|
894
|
+
export declare const OpenNewIcon: FC<{
|
|
895
|
+
className?: string;
|
|
896
|
+
}>;
|
|
897
|
+
|
|
898
|
+
declare interface Option_2 {
|
|
899
|
+
label: string;
|
|
900
|
+
id?: number | 'All';
|
|
901
|
+
}
|
|
902
|
+
export { Option_2 as Option }
|
|
903
|
+
|
|
904
|
+
declare type Option_3 = {
|
|
905
|
+
value: string;
|
|
906
|
+
label: string;
|
|
907
|
+
};
|
|
908
|
+
|
|
909
|
+
export declare const PartnerIcon: FC<{
|
|
910
|
+
className?: string;
|
|
911
|
+
}>;
|
|
912
|
+
|
|
913
|
+
export declare const PartyPopperIcon: FC<{
|
|
914
|
+
className?: string;
|
|
915
|
+
}>;
|
|
916
|
+
|
|
917
|
+
declare const PaymentItem_2: default_2.FC<PaymentScheduleItemProps>;
|
|
918
|
+
export { PaymentItem_2 as PaymentItem }
|
|
919
|
+
|
|
920
|
+
export declare const PaymentRadioGroup: React.FC<PaymentRadioGroupProps>;
|
|
921
|
+
|
|
922
|
+
export declare interface PaymentRadioGroupInputProps {
|
|
923
|
+
id: string;
|
|
924
|
+
name: string;
|
|
925
|
+
label: string | React.ReactNode;
|
|
926
|
+
price: string | React.ReactNode;
|
|
927
|
+
description?: string | React.ReactNode;
|
|
928
|
+
selectionContent?: React.ReactNode;
|
|
929
|
+
className?: string;
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
export declare interface PaymentRadioGroupProps {
|
|
933
|
+
options: PaymentRadioGroupInputProps[];
|
|
934
|
+
className?: string;
|
|
935
|
+
defaultValue?: string;
|
|
936
|
+
keyMappings?: Array<KeyMapping<keyof PaymentRadioGroupInputProps, string>>;
|
|
937
|
+
onChange: (selectedOption: Record<string, string> | PaymentRadioGroupInputProps) => void;
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
export declare const PaymentRadioInput: default_2.FC<PaymentRadioInputProps>;
|
|
941
|
+
|
|
942
|
+
export declare interface PaymentRadioInputProps {
|
|
943
|
+
id: string;
|
|
944
|
+
name: string;
|
|
945
|
+
label: string | default_2.ReactNode;
|
|
946
|
+
price: string | default_2.ReactNode;
|
|
947
|
+
description?: string | default_2.ReactNode;
|
|
948
|
+
descriptionRight?: string | default_2.ReactNode;
|
|
949
|
+
checked?: boolean;
|
|
950
|
+
selectionContent?: default_2.ReactNode;
|
|
951
|
+
showDescription?: boolean;
|
|
952
|
+
className?: string;
|
|
953
|
+
onChange: (id: string) => void;
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
export declare const PaymentSchedule: default_2.FC<PaymentScheduleProps>;
|
|
957
|
+
|
|
958
|
+
export declare type PaymentScheduleItemProps = {
|
|
959
|
+
date: string;
|
|
960
|
+
title: string;
|
|
961
|
+
amount: string;
|
|
962
|
+
/**
|
|
963
|
+
* Define the status of the payment entry
|
|
964
|
+
* @default 'scheduled'
|
|
965
|
+
*/
|
|
966
|
+
state?: 'completed' | 'next-due' | 'scheduled' | 'failed';
|
|
967
|
+
/**
|
|
968
|
+
* Define the position of the payment entry in the payment schedule
|
|
969
|
+
* @default 'in-between'
|
|
970
|
+
*/
|
|
971
|
+
positionInSchedule?: 'first' | 'last' | 'in-between';
|
|
972
|
+
};
|
|
973
|
+
|
|
974
|
+
export declare const PaymentSchedulePreview: default_2.FC<PaymentSchedulePreviewProps>;
|
|
975
|
+
|
|
976
|
+
export declare const PaymentSchedulePreviewItem: default_2.FC<PaymentSchedulePreviewItemProps>;
|
|
977
|
+
|
|
978
|
+
export declare interface PaymentSchedulePreviewItemProps {
|
|
979
|
+
keyId: typeof DUE_TODAY | typeof SECURITY_DEPOSIT_REFUND | typeof INSTALLMENT;
|
|
980
|
+
displayName: string | default_2.ReactNode;
|
|
981
|
+
subText?: string | default_2.ReactNode;
|
|
982
|
+
amount: number;
|
|
983
|
+
className?: string;
|
|
984
|
+
currency: string;
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
export declare interface PaymentSchedulePreviewProps {
|
|
988
|
+
className?: string;
|
|
989
|
+
totalAmount: number;
|
|
990
|
+
currency: string;
|
|
991
|
+
dateFormat?: string;
|
|
992
|
+
popupDateFormat?: string;
|
|
993
|
+
items: {
|
|
994
|
+
keyId: typeof DUE_TODAY | typeof INSTALLMENT | typeof SECURITY_DEPOSIT_REFUND;
|
|
995
|
+
displayName?: string;
|
|
996
|
+
amount: number;
|
|
997
|
+
date: string;
|
|
998
|
+
className?: string;
|
|
999
|
+
subText?: string;
|
|
1000
|
+
popupDate?: string;
|
|
1001
|
+
popupTitle?: string;
|
|
1002
|
+
}[];
|
|
1003
|
+
noOfInstallmentsToShow?: number;
|
|
1004
|
+
otherTotalCount?: number;
|
|
1005
|
+
showDetailsModalTitle?: string;
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
export declare type PaymentScheduleProps = {
|
|
1009
|
+
className?: string;
|
|
1010
|
+
paymentItems: PaymentScheduleItemProps[];
|
|
1011
|
+
};
|
|
1012
|
+
|
|
1013
|
+
export declare const PdfIcon: FC<{
|
|
1014
|
+
className?: string;
|
|
1015
|
+
}>;
|
|
1016
|
+
|
|
1017
|
+
export declare const PencilIcon: FC<{
|
|
1018
|
+
className?: string;
|
|
1019
|
+
}>;
|
|
1020
|
+
|
|
1021
|
+
export declare const PhotoRectangleIcon: FC<{
|
|
1022
|
+
className?: string;
|
|
1023
|
+
}>;
|
|
1024
|
+
|
|
1025
|
+
export declare const PinIcon: FC<{
|
|
1026
|
+
className?: string;
|
|
1027
|
+
}>;
|
|
1028
|
+
|
|
1029
|
+
export declare const PlusBoxIcon: FC<{
|
|
1030
|
+
className?: string;
|
|
1031
|
+
}>;
|
|
1032
|
+
|
|
1033
|
+
export declare const PlusBoxOutlineIcon: FC<{
|
|
1034
|
+
className?: string;
|
|
1035
|
+
}>;
|
|
1036
|
+
|
|
1037
|
+
export declare const PlusCircleIcon: FC<{
|
|
1038
|
+
className?: string;
|
|
1039
|
+
}>;
|
|
1040
|
+
|
|
1041
|
+
export declare const PlusIcon: FC<{
|
|
1042
|
+
className?: string;
|
|
1043
|
+
}>;
|
|
1044
|
+
|
|
1045
|
+
/**
|
|
1046
|
+
* A component that displays a floating popover with the `content` on click of the `trigger` element for desktop
|
|
1047
|
+
* and for mobile it displays a dialog that slides from the bottom
|
|
1048
|
+
*/
|
|
1049
|
+
export declare const Popover: FC<PropsWithChildren<PopoverProps>>;
|
|
1050
|
+
|
|
1051
|
+
export declare interface PopoverProps {
|
|
1052
|
+
/**
|
|
1053
|
+
* Content of the popover
|
|
1054
|
+
*/
|
|
1055
|
+
content: ReactNode;
|
|
1056
|
+
/**
|
|
1057
|
+
* The element that triggers the popover
|
|
1058
|
+
*/
|
|
1059
|
+
trigger: ReactNode;
|
|
1060
|
+
/**
|
|
1061
|
+
* The placement of the floating popover. Only used in desktop version
|
|
1062
|
+
* @default 'bottom'
|
|
1063
|
+
*/
|
|
1064
|
+
placement?: Placement;
|
|
1065
|
+
/**
|
|
1066
|
+
* The trigger of the popover is wrapped in a container. This classname is added to that container
|
|
1067
|
+
*/
|
|
1068
|
+
triggerContainerClassName?: string;
|
|
1069
|
+
/**
|
|
1070
|
+
* The content of the popover is wrapped in a container. This classname is added to that container
|
|
1071
|
+
*/
|
|
1072
|
+
contentContainerClassname?: string;
|
|
1073
|
+
/**
|
|
1074
|
+
* When set true, popover will not be shown
|
|
1075
|
+
* @default false
|
|
1076
|
+
*/
|
|
1077
|
+
disabled?: boolean;
|
|
1078
|
+
/**
|
|
1079
|
+
* The offset of the popover from the trigger in px. Only applicable for desktop popover
|
|
1080
|
+
* @default 4
|
|
1081
|
+
*/
|
|
1082
|
+
offset?: number;
|
|
1083
|
+
/**
|
|
1084
|
+
* The title of the popover
|
|
1085
|
+
*/
|
|
1086
|
+
title?: string;
|
|
1087
|
+
/**
|
|
1088
|
+
* Callback when popover is opened or closed
|
|
1089
|
+
*/
|
|
1090
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
1091
|
+
/**
|
|
1092
|
+
* Pass this value to control the open state
|
|
1093
|
+
*/
|
|
1094
|
+
isOpen?: boolean;
|
|
1095
|
+
/**
|
|
1096
|
+
* Adjust the height of the popover to fit the content in viewport
|
|
1097
|
+
*/
|
|
1098
|
+
adjustHeight?: boolean | number;
|
|
1099
|
+
/**
|
|
1100
|
+
* Adjust the width of the popover to fit the content in viewport
|
|
1101
|
+
*/
|
|
1102
|
+
adjustWidth?: boolean;
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
export declare const PreviewIcon: FC<{
|
|
1106
|
+
className?: string;
|
|
1107
|
+
}>;
|
|
1108
|
+
|
|
1109
|
+
export declare const PriceCheckIcon: FC<{
|
|
1110
|
+
className?: string;
|
|
1111
|
+
}>;
|
|
1112
|
+
|
|
1113
|
+
export declare const PriceRangeSlider: default_2.ForwardRefExoticComponent<PriceRangeSliderProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
1114
|
+
|
|
1115
|
+
export declare interface PriceRangeSliderProps {
|
|
1116
|
+
className?: string;
|
|
1117
|
+
min?: number;
|
|
1118
|
+
max: number;
|
|
1119
|
+
step?: number;
|
|
1120
|
+
/**
|
|
1121
|
+
* This is called everytime the input field value changes
|
|
1122
|
+
*/
|
|
1123
|
+
onInputChange?: (value: [number | string, number | string]) => void;
|
|
1124
|
+
/**
|
|
1125
|
+
* This is called when the slider value changes either through the slider
|
|
1126
|
+
* or the input fields. This is only called after handling internally for any non numeric characters.
|
|
1127
|
+
* Which means the value will either contain a number or empty string.
|
|
1128
|
+
*/
|
|
1129
|
+
onPriceRangeChange?: (value: [number | '', number | '']) => void;
|
|
1130
|
+
currency?: string;
|
|
1131
|
+
value?: [number | '', number | ''];
|
|
1132
|
+
disabled?: boolean;
|
|
1133
|
+
/**
|
|
1134
|
+
* @default 'From'
|
|
1135
|
+
*/
|
|
1136
|
+
fromLabel?: string;
|
|
1137
|
+
/**
|
|
1138
|
+
* @default 'Up to'
|
|
1139
|
+
*/
|
|
1140
|
+
uptoLabel?: string;
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
export declare const ProgressBar: default_2.FC<ProgressBarProps>;
|
|
1144
|
+
|
|
1145
|
+
export declare interface ProgressBarProps {
|
|
1146
|
+
className?: string;
|
|
1147
|
+
label: default_2.ReactNode;
|
|
1148
|
+
percentage?: default_2.ReactNode;
|
|
1149
|
+
total?: number;
|
|
1150
|
+
value: number;
|
|
1151
|
+
height?: string;
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
export declare const PromoDialog: default_2.ForwardRefExoticComponent<PromoDialogProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
1155
|
+
|
|
1156
|
+
export declare interface PromoDialogProps {
|
|
1157
|
+
bannerImageUrlDesktop?: string;
|
|
1158
|
+
bannerImageUrlMobile?: string;
|
|
1159
|
+
heading?: string;
|
|
1160
|
+
discountText?: string;
|
|
1161
|
+
desc?: string;
|
|
1162
|
+
warningText?: string;
|
|
1163
|
+
primaryBtnText?: string | ReactNode;
|
|
1164
|
+
secondaryBtnText?: string | ReactNode;
|
|
1165
|
+
onPrimaryBtnClick?: (email: string) => void;
|
|
1166
|
+
onSecondaryBtnClick?: () => void;
|
|
1167
|
+
onCloseButtonClick?: () => void;
|
|
1168
|
+
showRecaptchaBranding?: boolean;
|
|
1169
|
+
primatyBtnTrackingId?: string;
|
|
1170
|
+
secondaryBtnTrackingId?: string;
|
|
1171
|
+
closeBtnTrackingId?: string;
|
|
1172
|
+
className?: string;
|
|
1173
|
+
open?: boolean;
|
|
1174
|
+
dir?: 'ltr' | 'rtl' | 'auto';
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
export declare const QuestionMarkIcon: FC<{
|
|
1178
|
+
className?: string;
|
|
1179
|
+
}>;
|
|
1180
|
+
|
|
1181
|
+
export declare const RadioButton: default_2.FC<RadioButtonProps>;
|
|
1182
|
+
|
|
1183
|
+
export declare interface RadioButtonProps {
|
|
1184
|
+
value: string;
|
|
1185
|
+
label: string;
|
|
1186
|
+
disabled?: boolean;
|
|
1187
|
+
name: string;
|
|
1188
|
+
selectedValue?: string;
|
|
1189
|
+
onChange: (value: string) => void;
|
|
1190
|
+
className?: string;
|
|
1191
|
+
labelContainerClassName?: string;
|
|
1192
|
+
inputClassName?: string;
|
|
1193
|
+
labelClassName?: string;
|
|
1194
|
+
helperText?: string;
|
|
1195
|
+
error?: boolean;
|
|
1196
|
+
isChecked?: boolean;
|
|
1197
|
+
defaultChecked?: boolean;
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
export declare const RangeSlider: default_2.FC<RangeSliderProps>;
|
|
1201
|
+
|
|
1202
|
+
export declare interface RangeSliderProps {
|
|
1203
|
+
value?: [number, number];
|
|
1204
|
+
onChange?: (value: [number, number]) => void;
|
|
1205
|
+
step?: number;
|
|
1206
|
+
className?: string;
|
|
1207
|
+
disabled?: boolean;
|
|
1208
|
+
min?: number;
|
|
1209
|
+
max?: number;
|
|
1210
|
+
tooltip?: boolean;
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
export declare const RoundedPriceIcon: FC<{
|
|
1214
|
+
className?: string;
|
|
1215
|
+
}>;
|
|
1216
|
+
|
|
1217
|
+
export declare const RoundedProgressBar: default_2.ForwardRefExoticComponent<RoundedProgressBarProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
1218
|
+
|
|
1219
|
+
export declare interface RoundedProgressBarProps {
|
|
1220
|
+
progress: number;
|
|
1221
|
+
text?: string;
|
|
1222
|
+
progressColor?: string;
|
|
1223
|
+
borderColor?: string;
|
|
1224
|
+
size?: string | number;
|
|
1225
|
+
strokeWidth?: number;
|
|
1226
|
+
textClass?: string;
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
export declare const RulerRegularIcon: FC<{
|
|
1230
|
+
className?: string;
|
|
1231
|
+
}>;
|
|
1232
|
+
|
|
1233
|
+
export declare type ScreenSize = 'mobile' | 'tablet' | 'desktop';
|
|
1234
|
+
|
|
1235
|
+
export declare const Scrollbar: FC<ScrollbarProps>;
|
|
1236
|
+
|
|
1237
|
+
export declare interface ScrollbarProps extends Props {
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
export declare const Section: default_2.FC<SectionProps>;
|
|
1241
|
+
|
|
1242
|
+
export declare const SectionHeader: default_2.FC<SectionHeaderProps>;
|
|
1243
|
+
|
|
1244
|
+
export declare interface SectionHeaderProps {
|
|
1245
|
+
title?: string;
|
|
1246
|
+
description?: string;
|
|
1247
|
+
className?: string;
|
|
1248
|
+
titleClassName?: string;
|
|
1249
|
+
descriptionClassName?: string;
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1252
|
+
export declare interface SectionProps {
|
|
1253
|
+
head?: default_2.ReactNode;
|
|
1254
|
+
body?: default_2.ReactNode;
|
|
1255
|
+
className?: string;
|
|
1256
|
+
headClassName?: string;
|
|
1257
|
+
bodyClassName?: string;
|
|
1258
|
+
}
|
|
1259
|
+
|
|
1260
|
+
export declare const SECURITY_DEPOSIT_REFUND = "security_deposit_refund";
|
|
1261
|
+
|
|
1262
|
+
export declare const SegmentedControl: FC<SegmentedControlProps>;
|
|
1263
|
+
|
|
1264
|
+
export declare type SegmentedControlProps = {
|
|
1265
|
+
segments: {
|
|
1266
|
+
label: string;
|
|
1267
|
+
value: string;
|
|
1268
|
+
icon?: React.ReactNode;
|
|
1269
|
+
}[];
|
|
1270
|
+
className?: string;
|
|
1271
|
+
value?: string;
|
|
1272
|
+
onChange?: (value: string) => void;
|
|
1273
|
+
};
|
|
1274
|
+
|
|
1275
|
+
export declare const Select: FC<SelectProps>;
|
|
1276
|
+
|
|
1277
|
+
export declare enum SelectionStateEnum {
|
|
1278
|
+
None = "none",
|
|
1279
|
+
Selected = "selected",
|
|
1280
|
+
Added = "added"
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
export declare type SelectOption = {
|
|
1284
|
+
label: ReactNode;
|
|
1285
|
+
value: string;
|
|
1286
|
+
};
|
|
1287
|
+
|
|
1288
|
+
export declare const SelectPopover: FC<SelectPopoverProps>;
|
|
1289
|
+
|
|
1290
|
+
export declare interface SelectPopoverProps {
|
|
1291
|
+
showPopup?: boolean;
|
|
1292
|
+
mobileContainerClassname?: string;
|
|
1293
|
+
desktopContainerClassname?: string;
|
|
1294
|
+
maxWidth?: string;
|
|
1295
|
+
options?: Array<{
|
|
1296
|
+
label: string;
|
|
1297
|
+
icon: string | ReactNode;
|
|
1298
|
+
value: string;
|
|
1299
|
+
}>;
|
|
1300
|
+
onOptionSelected?: (value: string) => void;
|
|
1301
|
+
handleClose?: () => void;
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1304
|
+
export declare type SelectProps = {
|
|
1305
|
+
label?: string;
|
|
1306
|
+
options: Array<SelectOption>;
|
|
1307
|
+
value?: string;
|
|
1308
|
+
onChange: (value: string) => void;
|
|
1309
|
+
error?: boolean;
|
|
1310
|
+
className?: string;
|
|
1311
|
+
required?: boolean;
|
|
1312
|
+
placeholder?: string;
|
|
1313
|
+
helperText?: string;
|
|
1314
|
+
disabled?: boolean;
|
|
1315
|
+
};
|
|
1316
|
+
|
|
1317
|
+
export declare const ShareIcon: FC<{
|
|
1318
|
+
className?: string;
|
|
1319
|
+
}>;
|
|
1320
|
+
|
|
1321
|
+
export declare const SingleBuildingIcon: FC<{
|
|
1322
|
+
className?: string;
|
|
1323
|
+
}>;
|
|
1324
|
+
|
|
1325
|
+
export declare const SlickImageCarousel: default_2.ForwardRefExoticComponent<SlickImageCarouselProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
1326
|
+
|
|
1327
|
+
export declare type SlickImageCarouselProps = {
|
|
1328
|
+
images: string[];
|
|
1329
|
+
dots?: boolean;
|
|
1330
|
+
infinite?: boolean;
|
|
1331
|
+
className?: string;
|
|
1332
|
+
onClick?: () => void;
|
|
1333
|
+
lazyLoad?: LazyLoadTypes | undefined;
|
|
1334
|
+
aspectRatio?: string | number | undefined;
|
|
1335
|
+
/**
|
|
1336
|
+
* Used for RTL.
|
|
1337
|
+
* Pass is as true when you have direction=rtl in your HTML
|
|
1338
|
+
* @default false
|
|
1339
|
+
*/
|
|
1340
|
+
rtl?: boolean;
|
|
1341
|
+
};
|
|
1342
|
+
|
|
1343
|
+
export declare const SofaIcon: FC<{
|
|
1344
|
+
className?: string;
|
|
1345
|
+
}>;
|
|
1346
|
+
|
|
1347
|
+
export declare const SotringIcon: FC<{
|
|
1348
|
+
className?: string;
|
|
1349
|
+
}>;
|
|
1350
|
+
|
|
1351
|
+
export declare const SparkleIcon: FC<{
|
|
1352
|
+
className?: string;
|
|
1353
|
+
}>;
|
|
1354
|
+
|
|
1355
|
+
export declare const StarLineIcon: FC<{
|
|
1356
|
+
className?: string;
|
|
1357
|
+
}>;
|
|
1358
|
+
|
|
1359
|
+
export declare const StarRegularIcon: FC<{
|
|
1360
|
+
className?: string;
|
|
1361
|
+
}>;
|
|
1362
|
+
|
|
1363
|
+
export declare interface Step {
|
|
1364
|
+
number: number;
|
|
1365
|
+
title: string;
|
|
1366
|
+
status: 'active' | 'completed' | 'pending';
|
|
1367
|
+
mobileTitle: string;
|
|
1368
|
+
mobileNextTitle: string;
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1371
|
+
export declare const Stepper: default_2.ForwardRefExoticComponent<StepperProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
1372
|
+
|
|
1373
|
+
export declare interface StepperProps {
|
|
1374
|
+
steps: Step[];
|
|
1375
|
+
outerDivClass?: string;
|
|
1376
|
+
outerMobileDivClass?: string;
|
|
1377
|
+
}
|
|
1378
|
+
|
|
1379
|
+
export declare const StepsList: FC<StepsListProps>;
|
|
1380
|
+
|
|
1381
|
+
export declare const StepsListItem: FC<StepsListItemProps>;
|
|
1382
|
+
|
|
1383
|
+
export declare type StepsListItemProps = {
|
|
1384
|
+
title: string;
|
|
1385
|
+
description: string;
|
|
1386
|
+
IconComponent: FC<{
|
|
1387
|
+
className?: string;
|
|
1388
|
+
}>;
|
|
1389
|
+
iconClassName?: string;
|
|
1390
|
+
className?: string;
|
|
1391
|
+
};
|
|
1392
|
+
|
|
1393
|
+
export declare type StepsListProps = {
|
|
1394
|
+
steps: StepsListItemProps[];
|
|
1395
|
+
className?: string;
|
|
1396
|
+
};
|
|
1397
|
+
|
|
1398
|
+
export declare const Switch: default_2.ForwardRefExoticComponent<SwitchProps & default_2.RefAttributes<HTMLInputElement>>;
|
|
1399
|
+
|
|
1400
|
+
export declare interface SwitchProps {
|
|
1401
|
+
checked: boolean;
|
|
1402
|
+
onChange: (event: default_2.ChangeEvent<HTMLInputElement>) => void;
|
|
1403
|
+
disabled?: boolean;
|
|
1404
|
+
htmlId?: string;
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
export declare interface Tab {
|
|
1408
|
+
IconComponent: default_2.ElementType;
|
|
1409
|
+
HoverIconComponent: default_2.ElementType;
|
|
1410
|
+
label: string;
|
|
1411
|
+
value: string;
|
|
1412
|
+
link?: string;
|
|
1413
|
+
}
|
|
1414
|
+
|
|
1415
|
+
export declare const TabbedMenu: default_2.FC<TabbedMenuProps>;
|
|
1416
|
+
|
|
1417
|
+
export declare interface TabbedMenuProps {
|
|
1418
|
+
tabs: Tab[];
|
|
1419
|
+
value?: string;
|
|
1420
|
+
defaultValue?: string;
|
|
1421
|
+
onChange: (tab: {
|
|
1422
|
+
value: string;
|
|
1423
|
+
link?: string;
|
|
1424
|
+
}) => void;
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
export declare const tabletMinWidth: number;
|
|
1428
|
+
|
|
1429
|
+
declare type TagProps = {
|
|
1430
|
+
icon: default_2.ReactNode;
|
|
1431
|
+
label: string;
|
|
1432
|
+
};
|
|
1433
|
+
|
|
1434
|
+
/**
|
|
1435
|
+
*
|
|
1436
|
+
*/
|
|
1437
|
+
declare const Text_2: <T extends ElementType = "div">({ as, children, className, dataTestId, variant, isResponsive, ...rest }: TextProps<T>) => JSX_2.Element;
|
|
1438
|
+
export { Text_2 as Text }
|
|
1439
|
+
|
|
1440
|
+
export declare type TextProps<T extends ElementType = 'div'> = React.PropsWithChildren<{
|
|
1441
|
+
/**
|
|
1442
|
+
* Element type to render as
|
|
1443
|
+
* @default 'div'
|
|
1444
|
+
*/
|
|
1445
|
+
as?: T;
|
|
1446
|
+
dataTestId?: string;
|
|
1447
|
+
variant?: TextVariant;
|
|
1448
|
+
isResponsive?: boolean;
|
|
1449
|
+
}> & React.ComponentPropsWithoutRef<T>;
|
|
1450
|
+
|
|
1451
|
+
declare type TextVariant = keyof typeof textVariants;
|
|
1452
|
+
|
|
1453
|
+
declare const textVariants: {
|
|
1454
|
+
readonly xLargeHeroTitleRegular: readonly ["var(--xLargeHero-TitleRegular-font-size)", {
|
|
1455
|
+
readonly lineHeight: "var(--xLargeHero-TitleRegular-line-height)";
|
|
1456
|
+
readonly fontWeight: "var(--xLargeHero-TitleRegular-font-weight)";
|
|
1457
|
+
}];
|
|
1458
|
+
readonly xLargeTitle1Regular: readonly ["var(--xLargeTitle-1Regular-font-size)", {
|
|
1459
|
+
readonly lineHeight: "var(--xLargeTitle-1Regular-line-height)";
|
|
1460
|
+
readonly fontWeight: "var(--xLargeTitle-1Regular-font-weight)";
|
|
1461
|
+
}];
|
|
1462
|
+
readonly xLargeTitle1Emphasized: readonly ["var(--xLargeTitle-1Emphasized-font-size)", {
|
|
1463
|
+
readonly lineHeight: "var(--xLargeTitle-1Emphasized-line-height)";
|
|
1464
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1465
|
+
}];
|
|
1466
|
+
readonly xLargeTitle2Regular: readonly ["var(--xLargeTitle-2Regular-font-size)", {
|
|
1467
|
+
readonly lineHeight: "var(--xLargeTitle-2Regular-line-height)";
|
|
1468
|
+
readonly fontWeight: "var(--xLargeTitle-2Regular-font-weight)";
|
|
1469
|
+
}];
|
|
1470
|
+
readonly xLargeTitle2Emphasized: readonly ["var(--xLargeTitle-2Emphasized-font-size)", {
|
|
1471
|
+
readonly lineHeight: "var(--xLargeTitle-2Emphasized-line-height)";
|
|
1472
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1473
|
+
}];
|
|
1474
|
+
readonly xLargeTitle3Regular: readonly ["var(--xLargeTitle-3Regular-font-size)", {
|
|
1475
|
+
readonly lineHeight: "var(--xLargeTitle-3Regular-line-height)";
|
|
1476
|
+
readonly fontWeight: "var(--font-weight-normal)";
|
|
1477
|
+
}];
|
|
1478
|
+
readonly xLargeTitle3Emphasized: readonly ["var(--xLargeTitle-3Regular-font-size)", {
|
|
1479
|
+
readonly lineHeight: "var(--xLargeTitle-3Regular-line-height)";
|
|
1480
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1481
|
+
}];
|
|
1482
|
+
readonly xLargeBody1Regular: readonly ["var(--xLargeBody-1Regular-font-size)", {
|
|
1483
|
+
readonly lineHeight: "var(--xLargeBody-1Regular-line-height)";
|
|
1484
|
+
readonly fontWeight: "var(--xLargeBody-1Regular-font-weight)";
|
|
1485
|
+
}];
|
|
1486
|
+
readonly xLargeBody2Regular: readonly ["var(--xLargeBody-2Regular-font-size)", {
|
|
1487
|
+
readonly lineHeight: "var(--xLargeBody-2Regular-line-height)";
|
|
1488
|
+
readonly fontWeight: "var(--xLargeBody-2Regular-font-weight)";
|
|
1489
|
+
}];
|
|
1490
|
+
readonly xLargeHeadLineRegular: readonly ["var(--xLargeHeadLine-Regular-font-size)", {
|
|
1491
|
+
readonly lineHeight: "var(--xLargeHeadLine-Regular-line-height)";
|
|
1492
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1493
|
+
}];
|
|
1494
|
+
readonly xLargeHeadLineEmphasized: readonly ["var(--xLargeHeadLine-Regular-font-size)", {
|
|
1495
|
+
readonly lineHeight: "var(--xLargeHeadLine-Regular-line-height)";
|
|
1496
|
+
readonly fontWeight: "var(--font-weight-bold)";
|
|
1497
|
+
}];
|
|
1498
|
+
readonly xLargeCalloutRegular: readonly ["var(--xLargeCallout-Regular-font-size)", {
|
|
1499
|
+
readonly lineHeight: "var(--xLargeCallout-Regular-line-height)";
|
|
1500
|
+
readonly fontWeight: "var(--font-weight-normal)";
|
|
1501
|
+
}];
|
|
1502
|
+
readonly xLargeCalloutEmphasized: readonly ["var(--xLargeCallout-Regular-font-size)", {
|
|
1503
|
+
readonly lineHeight: "var(--xLargeCallout-Regular-line-height)";
|
|
1504
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1505
|
+
}];
|
|
1506
|
+
readonly xLargeFootnoteRegular: readonly ["15px", {
|
|
1507
|
+
readonly lineHeight: "20px";
|
|
1508
|
+
readonly fontWeight: "var(--font-weight-normal)";
|
|
1509
|
+
}];
|
|
1510
|
+
readonly xLargeFootnoteEmphasized: readonly ["15px", {
|
|
1511
|
+
readonly lineHeight: "20px";
|
|
1512
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1513
|
+
}];
|
|
1514
|
+
readonly largeHeroTitleRegular: readonly ["var(--LargeHero-TitleRegular-font-size)", {
|
|
1515
|
+
readonly lineHeight: "var(--LargeHero-TitleRegular-line-height)";
|
|
1516
|
+
readonly fontWeight: "var(--LargeHero-TitleRegular-font-weight)";
|
|
1517
|
+
}];
|
|
1518
|
+
readonly largeTitle1Regular: readonly ["var(--LargeTitle-1Regular-font-size)", {
|
|
1519
|
+
readonly lineHeight: "var(--LargeTitle-1Regular-line-height)";
|
|
1520
|
+
readonly fontWeight: "var(--LargeTitle-1Regular-font-weight)";
|
|
1521
|
+
}];
|
|
1522
|
+
readonly largeTitle1Emphasized: readonly ["var(--LargeTitle-1Emphasized-font-size)", {
|
|
1523
|
+
readonly lineHeight: "var(--LargeTitle-1Emphasized-line-height)";
|
|
1524
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1525
|
+
}];
|
|
1526
|
+
readonly largeTitle2Regular: readonly ["var(--LargeTitle-2Regular-font-size)", {
|
|
1527
|
+
readonly lineHeight: "var(--LargeTitle-2Regular-line-height)";
|
|
1528
|
+
readonly fontWeight: "var(--LargeTitle-2Regular-font-weight)";
|
|
1529
|
+
}];
|
|
1530
|
+
readonly largeTitle2Emphasized: readonly ["var(--LargeTitle-2Emphasized-font-size)", {
|
|
1531
|
+
readonly lineHeight: "var(--LargeTitle-2Emphasized-line-height)";
|
|
1532
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1533
|
+
}];
|
|
1534
|
+
readonly largeTitle3Regular: readonly ["var(--LargeTitle-3Regular-font-size)", {
|
|
1535
|
+
readonly lineHeight: "var(--LargeTitle-3Regular-line-height)";
|
|
1536
|
+
readonly fontWeight: "var(--font-weight-normal)";
|
|
1537
|
+
}];
|
|
1538
|
+
readonly largeTitle3Emphasized: readonly ["var(--LargeTitle-3Regular-font-size)", {
|
|
1539
|
+
readonly lineHeight: "var(--LargeTitle-3Regular-line-height)";
|
|
1540
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1541
|
+
}];
|
|
1542
|
+
readonly largeBody1Regular: readonly ["var(--LargeBody-1Regular-font-size)", {
|
|
1543
|
+
readonly lineHeight: "var(--LargeBody-1Regular-line-height)";
|
|
1544
|
+
readonly fontWeight: "var(--LargeBody-1Regular-font-weight)";
|
|
1545
|
+
}];
|
|
1546
|
+
readonly largeBody2Regular: readonly ["var(--LargeBody-2Regular-font-size)", {
|
|
1547
|
+
readonly lineHeight: "var(--LargeBody-2Regular-line-height)";
|
|
1548
|
+
readonly fontWeight: "var(--LargeBody-2Regular-font-weight)";
|
|
1549
|
+
}];
|
|
1550
|
+
readonly largeHeadLineRegular: readonly ["var(--LargeHeadLine-Regular-font-size)", {
|
|
1551
|
+
readonly lineHeight: "var(--LargeHeadLine-Regular-line-height)";
|
|
1552
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1553
|
+
}];
|
|
1554
|
+
readonly largeHeadLineEmphasized: readonly ["var(--LargeHeadLine-Regular-font-size)", {
|
|
1555
|
+
readonly lineHeight: "var(--LargeHeadLine-Regular-line-height)";
|
|
1556
|
+
readonly fontWeight: "var(--font-weight-bold)";
|
|
1557
|
+
}];
|
|
1558
|
+
readonly largeCalloutRegular: readonly ["var(--LargeCallout-Regular-font-size)", {
|
|
1559
|
+
readonly lineHeight: "var(--LargeCallout-Regular-line-height)";
|
|
1560
|
+
readonly fontWeight: "var(--font-weight-normal)";
|
|
1561
|
+
}];
|
|
1562
|
+
readonly largeCalloutEmphasized: readonly ["var(--LargeCallout-Regular-font-size)", {
|
|
1563
|
+
readonly lineHeight: "var(--LargeCallout-Regular-line-height)";
|
|
1564
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1565
|
+
}];
|
|
1566
|
+
readonly largeFootnoteRegular: readonly ["13px", {
|
|
1567
|
+
readonly lineHeight: "18px";
|
|
1568
|
+
readonly fontWeight: "var(--font-weight-normal)";
|
|
1569
|
+
}];
|
|
1570
|
+
readonly largeFootnoteEmphasized: readonly ["13px", {
|
|
1571
|
+
readonly lineHeight: "18px";
|
|
1572
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1573
|
+
}];
|
|
1574
|
+
readonly mediumHeroTitleRegular: readonly ["var(--MediumHero-TitleRegular-font-size)", {
|
|
1575
|
+
readonly lineHeight: "var(--MediumHero-TitleRegular-line-height)";
|
|
1576
|
+
readonly fontWeight: "var(--MediumHero-TitleRegular-font-weight)";
|
|
1577
|
+
}];
|
|
1578
|
+
readonly mediumTitle1Regular: readonly ["var(--MediumTitle-1Regular-font-size)", {
|
|
1579
|
+
readonly lineHeight: "var(--MediumTitle-1Regular-line-height)";
|
|
1580
|
+
readonly fontWeight: "var(--MediumTitle-1Regular-font-weight)";
|
|
1581
|
+
}];
|
|
1582
|
+
readonly mediumTitle1Emphasized: readonly ["var(--MediumTitle-1Emphasized-font-size)", {
|
|
1583
|
+
readonly lineHeight: "var(--MediumTitle-1Emphasized-line-height)";
|
|
1584
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1585
|
+
}];
|
|
1586
|
+
readonly mediumTitle2Regular: readonly ["var(--MediumTitle-2Regular-font-size)", {
|
|
1587
|
+
readonly lineHeight: "var(--MediumTitle-2Regular-line-height)";
|
|
1588
|
+
readonly fontWeight: "var(--MediumTitle-2Regular-font-weight)";
|
|
1589
|
+
}];
|
|
1590
|
+
readonly mediumTitle2Emphasized: readonly ["var(--MediumTitle-2Emphasized-font-size)", {
|
|
1591
|
+
readonly lineHeight: "var(--MediumTitle-2Emphasized-line-height)";
|
|
1592
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1593
|
+
}];
|
|
1594
|
+
readonly mediumTitle3Regular: readonly ["var(--MediumTitle-3Regular-font-size)", {
|
|
1595
|
+
readonly lineHeight: "var(--MediumTitle-3Regular-line-height)";
|
|
1596
|
+
readonly fontWeight: "var(--font-weight-normal)";
|
|
1597
|
+
}];
|
|
1598
|
+
readonly mediumTitle3Emphasized: readonly ["var(--MediumTitle-3Regular-font-size)", {
|
|
1599
|
+
readonly lineHeight: "var(--MediumTitle-3Regular-line-height)";
|
|
1600
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1601
|
+
}];
|
|
1602
|
+
readonly mediumBodyRegular: readonly ["var(--MediumBody-Regular-font-size)", {
|
|
1603
|
+
readonly lineHeight: "var(--MediumBody-Regular-line-height)";
|
|
1604
|
+
readonly fontWeight: "var(--font-weight-normal)";
|
|
1605
|
+
}];
|
|
1606
|
+
readonly mediumBodyEmphasized: readonly ["var(--MediumBody-Emphasized-font-size)", {
|
|
1607
|
+
readonly lineHeight: "var(--MediumBody-Emphasized-line-height)";
|
|
1608
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1609
|
+
}];
|
|
1610
|
+
readonly mediumBody1Regular: readonly ["var(--MediumBody-1Regular-font-size)", {
|
|
1611
|
+
readonly lineHeight: "var(--MediumBody-1Regular-line-height)";
|
|
1612
|
+
readonly fontWeight: "var(--MediumBody-1Regular-font-weight)";
|
|
1613
|
+
}];
|
|
1614
|
+
readonly mediumBody2Regular: readonly ["var(--MediumBody-2Regular-font-size)", {
|
|
1615
|
+
readonly lineHeight: "var(--MediumBody-2Regular-line-height)";
|
|
1616
|
+
readonly fontWeight: "var(--MediumBody-2Regular-font-weight)";
|
|
1617
|
+
}];
|
|
1618
|
+
readonly mediumHeadLineRegular: readonly ["var(--MediumHeadLine-Regular-font-size)", {
|
|
1619
|
+
readonly lineHeight: "var(--MediumHeadLine-Regular-line-height)";
|
|
1620
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1621
|
+
}];
|
|
1622
|
+
readonly mediumHeadLineEmphasized: readonly ["var(--MediumHeadLine-Regular-font-size)", {
|
|
1623
|
+
readonly lineHeight: "var(--MediumHeadLine-Regular-line-height)";
|
|
1624
|
+
readonly fontWeight: "var(--font-weight-bold)";
|
|
1625
|
+
}];
|
|
1626
|
+
readonly mediumSubHeadRegular: readonly ["var(--MediumSubHead-Regular-font-size)", {
|
|
1627
|
+
readonly lineHeight: "var(--MediumSubHead-Regular-line-height)";
|
|
1628
|
+
readonly fontWeight: "var(--font-weight-normal)";
|
|
1629
|
+
}];
|
|
1630
|
+
readonly mediumSubHeadEmphasized: readonly ["var(--MediumSubHead-Regular-font-size)", {
|
|
1631
|
+
readonly lineHeight: "var(--MediumSubHead-Regular-line-height)";
|
|
1632
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1633
|
+
}];
|
|
1634
|
+
readonly mediumCaption1Regular: readonly ["var(--MediumCaption-1Regular-font-size)", {
|
|
1635
|
+
readonly lineHeight: "var(--MediumCaption-1Regular-line-height)";
|
|
1636
|
+
readonly fontWeight: "var(--MediumCaption-1Regular-font-weight)";
|
|
1637
|
+
}];
|
|
1638
|
+
readonly mediumCaption1Emphasized: readonly ["var(--MediumCaption-1Regular-font-size)", {
|
|
1639
|
+
readonly lineHeight: "var(--MediumCaption-1Regular-line-height)";
|
|
1640
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1641
|
+
}];
|
|
1642
|
+
readonly mediumCaption2Regular: readonly ["var(--MediumCaption-2Regular-font-size)", {
|
|
1643
|
+
readonly lineHeight: "var(--MediumCaption-2Regular-line-height)";
|
|
1644
|
+
readonly fontWeight: "var(--font-weight-normal)";
|
|
1645
|
+
}];
|
|
1646
|
+
readonly mediumCaption2Emphasized: readonly ["var(--MediumCaption-2Regular-font-size)", {
|
|
1647
|
+
readonly lineHeight: "var(--MediumCaption-2Regular-line-height)";
|
|
1648
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1649
|
+
}];
|
|
1650
|
+
readonly mediumFootnoteRegular: readonly ["var(--MediumFootnote-Regular-font-size)", {
|
|
1651
|
+
readonly lineHeight: "var(--MediumFootnote-Regular-line-height)";
|
|
1652
|
+
readonly fontWeight: "var(--font-weight-normal)";
|
|
1653
|
+
}];
|
|
1654
|
+
readonly mediumFootnoteEmphasized: readonly ["var(--MediumFootnote-Regular-font-size)", {
|
|
1655
|
+
readonly lineHeight: "var(--MediumFootnote-Regular-line-height)";
|
|
1656
|
+
readonly fontWeight: "var( --font-weight-semibold)";
|
|
1657
|
+
}];
|
|
1658
|
+
readonly mediumCalloutRegular: readonly ["var(--MediumCallout-Regular-font-size)", {
|
|
1659
|
+
readonly lineHeight: "var(--MediumCallout-Regular-line-height)";
|
|
1660
|
+
readonly fontWeight: "var(--font-weight-normal)";
|
|
1661
|
+
}];
|
|
1662
|
+
readonly mediumCalloutEmphasized: readonly ["var(--MediumCallout-Regular-font-size)", {
|
|
1663
|
+
readonly lineHeight: "var(--MediumCallout-Regular-line-height)";
|
|
1664
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1665
|
+
}];
|
|
1666
|
+
readonly smallHeroTitleRegular: readonly ["var(--SmallHero-TitleRegular-font-size)", {
|
|
1667
|
+
readonly lineHeight: "var(--SmallHero-TitleRegular-line-height)";
|
|
1668
|
+
readonly fontWeight: "var(--SmallHero-TitleRegular-font-weight)";
|
|
1669
|
+
}];
|
|
1670
|
+
readonly smallTitle1Regular: readonly ["var(--SmallTitle-1Regular-font-size)", {
|
|
1671
|
+
readonly lineHeight: "var(--SmallTitle-1Regular-line-height)";
|
|
1672
|
+
readonly fontWeight: "var(--SmallTitle-1Regular-font-weight)";
|
|
1673
|
+
}];
|
|
1674
|
+
readonly smallTitle1Emphasized: readonly ["var(--SmallTitle-1Emphasized-font-size)", {
|
|
1675
|
+
readonly lineHeight: "var(--SmallTitle-1Emphasized-line-height)";
|
|
1676
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1677
|
+
}];
|
|
1678
|
+
readonly smallTitle2Regular: readonly ["var(--SmallTitle-2Regular-font-size)", {
|
|
1679
|
+
readonly lineHeight: "var(--SmallTitle-2Regular-line-height)";
|
|
1680
|
+
readonly fontWeight: "var(--SmallTitle-2Regular-font-weight)";
|
|
1681
|
+
}];
|
|
1682
|
+
readonly smallTitle2Emphasized: readonly ["var(--SmallTitle-2Emphasized-font-size)", {
|
|
1683
|
+
readonly lineHeight: "var(--SmallTitle-2Emphasized-line-height)";
|
|
1684
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1685
|
+
}];
|
|
1686
|
+
readonly smallTitle3Regular: readonly ["var(--SmallTitle-3Regular-font-size)", {
|
|
1687
|
+
readonly lineHeight: "var(--SmallTitle-3Regular-line-height)";
|
|
1688
|
+
readonly fontWeight: "var(--font-weight-normal)";
|
|
1689
|
+
}];
|
|
1690
|
+
readonly smallTitle3Emphasized: readonly ["var(--SmallTitle-3Regular-font-size)", {
|
|
1691
|
+
readonly lineHeight: "var(--SmallTitle-3Regular-line-height)";
|
|
1692
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1693
|
+
}];
|
|
1694
|
+
readonly smallBody1Regular: readonly ["var(--SmallBody-1Regular-font-size)", {
|
|
1695
|
+
readonly lineHeight: "var(--SmallBody-1Regular-line-height)";
|
|
1696
|
+
readonly fontWeight: "var(--SmallBody-1Regular-font-weight)";
|
|
1697
|
+
}];
|
|
1698
|
+
readonly smallBody2Regular: readonly ["var(--SmallBody-2Regular-font-size)", {
|
|
1699
|
+
readonly lineHeight: "var(--SmallBody-2Regular-line-height)";
|
|
1700
|
+
readonly fontWeight: "var(--SmallBody-2Regular-font-weight)";
|
|
1701
|
+
}];
|
|
1702
|
+
readonly smallSubheadRegular: readonly ["var(--SmallSubhead-Regular-font-size)", {
|
|
1703
|
+
readonly lineHeight: "var(--SmallSubhead-Regular-line-height)";
|
|
1704
|
+
readonly fontWeight: "var(--font-weight-normal)";
|
|
1705
|
+
}];
|
|
1706
|
+
readonly smallSubheadEmphasized: readonly ["var(--SmallSubhead-Regular-font-size)", {
|
|
1707
|
+
readonly lineHeight: "var(--SmallSubhead-Regular-line-height)";
|
|
1708
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1709
|
+
}];
|
|
1710
|
+
readonly smallCaption1Regular: readonly ["var(--SmallCaption-1Regular-font-size)", {
|
|
1711
|
+
readonly lineHeight: "var(--SmallCaption-1Regular-line-height)";
|
|
1712
|
+
readonly fontWeight: "var(--font-weight-normal)";
|
|
1713
|
+
}];
|
|
1714
|
+
readonly smallCaption1Emphasized: readonly ["var(--SmallCaption-1Regular-font-size)", {
|
|
1715
|
+
readonly lineHeight: "var(--SmallCaption-1Regular-line-height)";
|
|
1716
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1717
|
+
}];
|
|
1718
|
+
readonly smallHeadLineRegular: readonly ["var(--SmallHeadLine-Regular-font-size)", {
|
|
1719
|
+
readonly lineHeight: "var(--SmallHeadLine-Regular-line-height)";
|
|
1720
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1721
|
+
}];
|
|
1722
|
+
readonly smallHeadLineEmphasized: readonly ["var(--SmallHeadLine-Regular-font-size)", {
|
|
1723
|
+
readonly lineHeight: "var(--SmallHeadLine-Regular-line-height)";
|
|
1724
|
+
readonly fontWeight: "var(--font-weight-bold)";
|
|
1725
|
+
}];
|
|
1726
|
+
readonly smallCalloutRegular: readonly ["var(--SmallCallout-Regular-font-size)", {
|
|
1727
|
+
readonly lineHeight: "var(--SmallCallout-Regular-line-height)";
|
|
1728
|
+
readonly fontWeight: "var(--font-weight-regular)";
|
|
1729
|
+
}];
|
|
1730
|
+
readonly smallCalloutEmphasized: readonly ["var(--SmallCallout-Regular-font-size)", {
|
|
1731
|
+
readonly lineHeight: "var(--SmallCallout-Regular-line-height)";
|
|
1732
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1733
|
+
}];
|
|
1734
|
+
readonly smallFootnoteRegular: readonly ["12px", {
|
|
1735
|
+
readonly lineHeight: "20px";
|
|
1736
|
+
readonly fontWeight: "var(--font-weight-normal)";
|
|
1737
|
+
}];
|
|
1738
|
+
readonly smallFootnoteEmphasized: readonly ["12px", {
|
|
1739
|
+
readonly lineHeight: "20px";
|
|
1740
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1741
|
+
}];
|
|
1742
|
+
readonly xSmallHeroTitleRegular: readonly ["var(--xSmallHero-TitleRegular-font-size)", {
|
|
1743
|
+
readonly lineHeight: "var(--xSmallHero-TitleRegular-line-height)";
|
|
1744
|
+
readonly fontWeight: "var(--xSmallHero-TitleRegular-font-weight)";
|
|
1745
|
+
}];
|
|
1746
|
+
readonly xSmallTitle1Regular: readonly ["var(--xSmallTitle-1Regular-font-size)", {
|
|
1747
|
+
readonly lineHeight: "var(--xSmallTitle-1Regular-line-height)";
|
|
1748
|
+
readonly fontWeight: "var(--xSmallTitle-1Regular-font-weight)";
|
|
1749
|
+
}];
|
|
1750
|
+
readonly xSmallTitle1Emphasized: readonly ["var(--xSmallTitle-1Emphasized-font-size)", {
|
|
1751
|
+
readonly lineHeight: "var(--xSmallTitle-1Emphasized-line-height)";
|
|
1752
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1753
|
+
}];
|
|
1754
|
+
readonly xSmallTitle2Regular: readonly ["var(--xSmallTitle-2Regular-font-size)", {
|
|
1755
|
+
readonly lineHeight: "var(--xSmallTitle-2Regular-line-height)";
|
|
1756
|
+
readonly fontWeight: "var(--xSmallTitle-2Regular-font-weight)";
|
|
1757
|
+
}];
|
|
1758
|
+
readonly xSmallTitle2Emphasized: readonly ["var(--xSmallTitle-2Emphasized-font-size)", {
|
|
1759
|
+
readonly lineHeight: "var(--xSmallTitle-2Emphasized-line-height)";
|
|
1760
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1761
|
+
}];
|
|
1762
|
+
readonly xSmallTitle3Regular: readonly ["var(--xSmallTitle-3Regular-font-size)", {
|
|
1763
|
+
readonly lineHeight: "var(--xSmallTitle-3Regular-line-height)";
|
|
1764
|
+
readonly fontWeight: "var(--font-weight-normal)";
|
|
1765
|
+
}];
|
|
1766
|
+
readonly xSmallTitle3Emphasized: readonly ["var(--xSmallTitle-3Regular-font-size)", {
|
|
1767
|
+
readonly lineHeight: "var(--xSmallTitle-3Regular-line-height)";
|
|
1768
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1769
|
+
}];
|
|
1770
|
+
readonly xSmallBodyRegular: readonly ["var(--xSmallBody-Regular-font-size)", {
|
|
1771
|
+
readonly lineHeight: "var(--xSmallBody-Regular-line-height)";
|
|
1772
|
+
readonly fontWeight: "var(--font-weight-normal)";
|
|
1773
|
+
}];
|
|
1774
|
+
readonly xSmallBodyEmphasized: readonly ["var(--xSmallBody-Regular-font-size)", {
|
|
1775
|
+
readonly lineHeight: "var(--xSmallBody-Regular-line-height)";
|
|
1776
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1777
|
+
}];
|
|
1778
|
+
readonly xSmallBody1Regular: readonly ["var(--xSmallBody-1Regular-font-size)", {
|
|
1779
|
+
readonly lineHeight: "var(--xSmallBody-1Regular-line-height)";
|
|
1780
|
+
readonly fontWeight: "var(--xSmallBody-1Regular-font-weight)";
|
|
1781
|
+
}];
|
|
1782
|
+
readonly xSmallBody2Regular: readonly ["var(--xSmallBody-2Regular-font-size)", {
|
|
1783
|
+
readonly lineHeight: "var(--xSmallBody-2Regular-line-height)";
|
|
1784
|
+
readonly fontWeight: "var(--xSmallBody-2Regular-font-weight)";
|
|
1785
|
+
}];
|
|
1786
|
+
readonly xSmallSubheadRegular: readonly ["var(--xSmallSubhead-Regular-font-size)", {
|
|
1787
|
+
readonly lineHeight: "var(--xSmallSubhead-Regular-line-height)";
|
|
1788
|
+
readonly fontWeight: "var(--font-weight-normal)";
|
|
1789
|
+
}];
|
|
1790
|
+
readonly xSmallSubheadEmphasized: readonly ["var(--xSmallSubhead-Regular-font-size)", {
|
|
1791
|
+
readonly lineHeight: "var(--xSmallSubhead-Regular-line-height)";
|
|
1792
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1793
|
+
}];
|
|
1794
|
+
readonly xSmallCalloutRegular: readonly ["var(--xSmallCallout-Regular-font-size)", {
|
|
1795
|
+
readonly lineHeight: "var(--xSmallCallout-Regular-line-height)";
|
|
1796
|
+
readonly fontWeight: "var(--font-weight-regular)";
|
|
1797
|
+
}];
|
|
1798
|
+
readonly xSmallCalloutEmphasized: readonly ["var(--xSmallCallout-Regular-font-size)", {
|
|
1799
|
+
readonly lineHeight: "var(--xSmallCallout-Regular-line-height)";
|
|
1800
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1801
|
+
}];
|
|
1802
|
+
readonly xSmallCaption1Regular: readonly ["var(--SmallCaption-1Regular-font-size)", {
|
|
1803
|
+
readonly lineHeight: "var(--SmallCaption-1Regular-line-height)";
|
|
1804
|
+
readonly fontWeight: "var(--font-weight-normal)";
|
|
1805
|
+
}];
|
|
1806
|
+
readonly xSmallCaption1Emphasized: readonly ["var(--SmallCaption-1Regular-font-size)", {
|
|
1807
|
+
readonly lineHeight: "var(--SmallCaption-1Regular-line-height)";
|
|
1808
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1809
|
+
}];
|
|
1810
|
+
readonly xSmallCaption2Regular: readonly ["var(--SmallCaption-1Regular-font-size)", {
|
|
1811
|
+
readonly lineHeight: "var(--SmallCaption-Regular-line-height)";
|
|
1812
|
+
readonly fontWeight: "var(--font-weight-normal)";
|
|
1813
|
+
}];
|
|
1814
|
+
readonly xSmallCaption2Emphasized: readonly ["var(--SmallCaption-1Regular-font-size)", {
|
|
1815
|
+
readonly lineHeight: "var(--SmallCaption-1Regular-line-height)";
|
|
1816
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1817
|
+
}];
|
|
1818
|
+
readonly xSmallHeadLineRegular: readonly ["var(--xSmallHeadLine-Regular-font-size)", {
|
|
1819
|
+
readonly lineHeight: "var(--xSmallHeadLine-Regular-line-height)";
|
|
1820
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1821
|
+
}];
|
|
1822
|
+
readonly xSmallHeadLineEmphasized: readonly ["var(--xSmallHeadLine-Regular-font-size)", {
|
|
1823
|
+
readonly lineHeight: "var(--xSmallHeadLine-Regular-line-height)";
|
|
1824
|
+
readonly fontWeight: "var(--font-weight-bold)";
|
|
1825
|
+
}];
|
|
1826
|
+
readonly xSmallFootnoteRegular: readonly ["12px", {
|
|
1827
|
+
readonly lineHeight: "18px";
|
|
1828
|
+
readonly fontWeight: "var(--font-weight-normal)";
|
|
1829
|
+
}];
|
|
1830
|
+
readonly xSmallFootnoteEmphasized: readonly ["12px", {
|
|
1831
|
+
readonly lineHeight: "18px";
|
|
1832
|
+
readonly fontWeight: "var(--font-weight-semibold)";
|
|
1833
|
+
}];
|
|
1834
|
+
readonly calloutRegular: readonly ["var(--callout-Regular-font-size)", {
|
|
1835
|
+
readonly lineHeight: "var(--callout-Regular-line-height)";
|
|
1836
|
+
readonly fontWeight: "var(--callout-Regular-font-weight)";
|
|
1837
|
+
}];
|
|
1838
|
+
};
|
|
1839
|
+
|
|
1840
|
+
export declare const ThreeDotsCircleIcon: FC<{
|
|
1841
|
+
className?: string;
|
|
1842
|
+
}>;
|
|
1843
|
+
|
|
1844
|
+
export declare const Timer: default_2.ForwardRefExoticComponent<TimerProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
1845
|
+
|
|
1846
|
+
export declare interface TimerProps {
|
|
1847
|
+
time: number;
|
|
1848
|
+
text?: string;
|
|
1849
|
+
outerDivClass?: string;
|
|
1850
|
+
}
|
|
1851
|
+
|
|
1852
|
+
export declare const toast: typeof toast_2;
|
|
1853
|
+
|
|
1854
|
+
export declare const ToastContainer: FC<ToastContainerProps>;
|
|
1855
|
+
|
|
1856
|
+
export declare type ToastContainerProps = ToastContainerProps_2;
|
|
1857
|
+
|
|
1858
|
+
export declare const ToggleCard: default_2.ForwardRefExoticComponent<ToggleCardProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
1859
|
+
|
|
1860
|
+
export declare interface ToggleCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
1861
|
+
cardImg?: string;
|
|
1862
|
+
onSelectionChange: (event: default_2.ChangeEvent<HTMLInputElement>) => void;
|
|
1863
|
+
heading?: string;
|
|
1864
|
+
enabled: boolean;
|
|
1865
|
+
subHeading?: string;
|
|
1866
|
+
htmlId?: string;
|
|
1867
|
+
}
|
|
1868
|
+
|
|
1869
|
+
/**
|
|
1870
|
+
* A tooltip component that display a floating tooltip with the `content` on hover of the `trigger` element for desktop
|
|
1871
|
+
* and for mobile it displays a popover with the `content` on click of the `trigger` element
|
|
1872
|
+
*/
|
|
1873
|
+
export declare const Tooltip: FC<PropsWithChildren<TooltipProps>>;
|
|
1874
|
+
|
|
1875
|
+
export declare const TooltipContentWithImage: FC<TooltipContentWithImageProps>;
|
|
1876
|
+
|
|
1877
|
+
export declare type TooltipContentWithImageProps = {
|
|
1878
|
+
imageUrl: string;
|
|
1879
|
+
imageAlt?: string;
|
|
1880
|
+
content?: default_2.ReactNode;
|
|
1881
|
+
};
|
|
1882
|
+
|
|
1883
|
+
export declare interface TooltipProps {
|
|
1884
|
+
/**
|
|
1885
|
+
* Content of the tooltip
|
|
1886
|
+
*/
|
|
1887
|
+
content: ReactNode;
|
|
1888
|
+
/**
|
|
1889
|
+
* Title of the tooltip that is displayed in the header of the tooltip
|
|
1890
|
+
* Only applicable for mobile version of tooltip
|
|
1891
|
+
* @default ''
|
|
1892
|
+
*/
|
|
1893
|
+
title?: string;
|
|
1894
|
+
/**
|
|
1895
|
+
* The element that triggers the tooltip
|
|
1896
|
+
*/
|
|
1897
|
+
trigger: ReactNode;
|
|
1898
|
+
/**
|
|
1899
|
+
* The placement of the floating tooltip. Only used in desktop version
|
|
1900
|
+
* @default 'left'
|
|
1901
|
+
*/
|
|
1902
|
+
placement?: Placement;
|
|
1903
|
+
/**
|
|
1904
|
+
* The trigger of the tooltip is wrapped in a container. This classname is added to that container
|
|
1905
|
+
*/
|
|
1906
|
+
triggerContainerClassName?: string;
|
|
1907
|
+
/**
|
|
1908
|
+
* The content of the tooltip is wrapped in a container. This classname is added to that container
|
|
1909
|
+
*/
|
|
1910
|
+
contentContainerClassname?: string;
|
|
1911
|
+
/**
|
|
1912
|
+
* When set true, tooltip will not be shown
|
|
1913
|
+
* @default false
|
|
1914
|
+
*/
|
|
1915
|
+
disabled?: boolean;
|
|
1916
|
+
/**
|
|
1917
|
+
* The offset of the tooltip from the trigger in px. Only applicable for desktop tooltip
|
|
1918
|
+
* @default 4
|
|
1919
|
+
*/
|
|
1920
|
+
offset?: number;
|
|
1921
|
+
}
|
|
1922
|
+
|
|
1923
|
+
export declare const TopNavBar: ForwardRefExoticComponent<TopNavBarProps & RefAttributes<HTMLDivElement>>;
|
|
1924
|
+
|
|
1925
|
+
export declare interface TopNavBarProps extends HTMLAttributes<HTMLDivElement> {
|
|
1926
|
+
text?: string | ReactNode;
|
|
1927
|
+
onNavBarClick?: () => void;
|
|
1928
|
+
isMarquee?: boolean;
|
|
1929
|
+
direction?: 'marquee--left' | 'marquee--right' | 'marquee--up' | 'marquee--down';
|
|
1930
|
+
}
|
|
1931
|
+
|
|
1932
|
+
export declare const TopNavContainerMobile: ForwardRefExoticComponent<TopNavContainerMobileProps & RefAttributes<HTMLDivElement>>;
|
|
1933
|
+
|
|
1934
|
+
export declare interface TopNavContainerMobileProps extends HTMLAttributes<HTMLDivElement> {
|
|
1935
|
+
img: string;
|
|
1936
|
+
handleDialogButtonClick?: () => void;
|
|
1937
|
+
handleCloseButtonClick?: () => void;
|
|
1938
|
+
dialogHeader: string;
|
|
1939
|
+
dialogDescription: string;
|
|
1940
|
+
buttonIcon?: string;
|
|
1941
|
+
buttonText: string;
|
|
1942
|
+
}
|
|
1943
|
+
|
|
1944
|
+
export declare const TowerBuildingIcon: FC<{
|
|
1945
|
+
className?: string;
|
|
1946
|
+
}>;
|
|
1947
|
+
|
|
1948
|
+
export declare const TowersIcon: FC<{
|
|
1949
|
+
className?: string;
|
|
1950
|
+
}>;
|
|
1951
|
+
|
|
1952
|
+
export declare const TowersOutlineIcon: FC<{
|
|
1953
|
+
className?: string;
|
|
1954
|
+
}>;
|
|
1955
|
+
|
|
1956
|
+
export declare const TrashIcon: FC<{
|
|
1957
|
+
className?: string;
|
|
1958
|
+
}>;
|
|
1959
|
+
|
|
1960
|
+
export declare const TravelList: FC<TravelListProps>;
|
|
1961
|
+
|
|
1962
|
+
export declare const TravelListItem: FC<TravelListItemProps>;
|
|
1963
|
+
|
|
1964
|
+
export declare interface TravelListItemProps {
|
|
1965
|
+
title?: string;
|
|
1966
|
+
homeCount?: number;
|
|
1967
|
+
location?: string;
|
|
1968
|
+
dates?: string;
|
|
1969
|
+
budget?: string;
|
|
1970
|
+
shareLink?: string;
|
|
1971
|
+
onClickEditBtn?: () => void;
|
|
1972
|
+
onClickViewBtn?: () => void;
|
|
1973
|
+
onClickShareBtn?: () => void;
|
|
1974
|
+
hideEdit?: boolean;
|
|
1975
|
+
hideShare?: boolean;
|
|
1976
|
+
}
|
|
1977
|
+
|
|
1978
|
+
export declare const TravelListPropertyItem: default_2.ForwardRefExoticComponent<TravelListPropertyItemProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
1979
|
+
|
|
1980
|
+
export declare interface TravelListPropertyItemProps {
|
|
1981
|
+
className?: string;
|
|
1982
|
+
title?: string;
|
|
1983
|
+
neighborhood?: string;
|
|
1984
|
+
bedroom?: string;
|
|
1985
|
+
area?: string;
|
|
1986
|
+
price?: string;
|
|
1987
|
+
guests?: string;
|
|
1988
|
+
imageUrl?: string;
|
|
1989
|
+
onOpenLinkClick?: () => void;
|
|
1990
|
+
onDeleteBtnClick?: () => void;
|
|
1991
|
+
isUnavailable?: boolean;
|
|
1992
|
+
}
|
|
1993
|
+
|
|
1994
|
+
export declare interface TravelListProps extends default_2.PropsWithChildren {
|
|
1995
|
+
items?: TravelListItemProps[];
|
|
1996
|
+
hideShare?: boolean;
|
|
1997
|
+
hideEdit?: boolean;
|
|
1998
|
+
emptyListMessage?: string;
|
|
1999
|
+
}
|
|
2000
|
+
|
|
2001
|
+
export declare const TriangleDownIcon: FC<{
|
|
2002
|
+
className?: string;
|
|
2003
|
+
}>;
|
|
2004
|
+
|
|
2005
|
+
export declare const TwoColumnDialog: ForwardRefExoticComponent<TwoColumnDialogProps & RefAttributes<HTMLDivElement>>;
|
|
2006
|
+
|
|
2007
|
+
export declare interface TwoColumnDialogProps extends HTMLAttributes<HTMLDivElement> {
|
|
2008
|
+
img: string;
|
|
2009
|
+
handleDialogButtonClick?: () => void;
|
|
2010
|
+
dialogHeader: string;
|
|
2011
|
+
dialogDescription: string;
|
|
2012
|
+
buttonIcon?: string;
|
|
2013
|
+
buttonText: string;
|
|
2014
|
+
}
|
|
2015
|
+
|
|
2016
|
+
export declare const useDocumentSize: () => {
|
|
2017
|
+
documentWidth: number;
|
|
2018
|
+
documentHeight: number;
|
|
2019
|
+
screenSize: "mobile" | "tablet" | "desktop";
|
|
2020
|
+
};
|
|
2021
|
+
|
|
2022
|
+
export declare const WarningHollowIcon: FC<{
|
|
2023
|
+
className?: string;
|
|
2024
|
+
}>;
|
|
2025
|
+
|
|
2026
|
+
export declare const WarningIcon: FC<{
|
|
2027
|
+
className?: string;
|
|
2028
|
+
}>;
|
|
2029
|
+
|
|
2030
|
+
export declare const WifiIcon: FC<{
|
|
2031
|
+
className?: string;
|
|
2032
|
+
}>;
|
|
2033
|
+
|
|
2034
|
+
export { }
|