design-system-silkhaus 2.4.0-beta.mission-values.4 → 2.5.0-beta.travel-list.1
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 +50 -47
- package/dist/index.d.ts +333 -10
- package/dist/index.js +17688 -15469
- package/dist/style.css +1 -1
- package/package.json +4 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CalendarDayShape } from 'react-dates';
|
|
2
2
|
import { ClassProp } from 'class-variance-authority/types';
|
|
3
|
+
import { ClassValue } from 'clsx';
|
|
3
4
|
import { default as default_2 } from 'react';
|
|
4
5
|
import { FC } from 'react';
|
|
5
6
|
import { ForwardRefExoticComponent } from 'react';
|
|
@@ -12,6 +13,8 @@ import { PropsWithChildren } from 'react';
|
|
|
12
13
|
import * as React_2 from 'react';
|
|
13
14
|
import { ReactNode } from 'react';
|
|
14
15
|
import { RefAttributes } from 'react';
|
|
16
|
+
import { toast as toast_2 } from 'react-toastify';
|
|
17
|
+
import { ToastContainerProps as ToastContainerProps_2 } from 'react-toastify';
|
|
15
18
|
import { VariantProps } from 'class-variance-authority';
|
|
16
19
|
|
|
17
20
|
export declare const Accordion: default_2.ForwardRefExoticComponent<AccordionProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -35,6 +38,10 @@ export declare interface AccordionProps {
|
|
|
35
38
|
isCollapseOnlyOnHeaderClick?: boolean;
|
|
36
39
|
}
|
|
37
40
|
|
|
41
|
+
declare type ActionButtonProps = {
|
|
42
|
+
label: string;
|
|
43
|
+
} & ButtonProps;
|
|
44
|
+
|
|
38
45
|
export declare const ActionFooter: default_2.ForwardRefExoticComponent<ActionFooterProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
39
46
|
|
|
40
47
|
export declare interface ActionFooterProps {
|
|
@@ -53,8 +60,8 @@ export declare const AlertDialog: default_2.ForwardRefExoticComponent<AlertDialo
|
|
|
53
60
|
export declare interface AlertDialogProps {
|
|
54
61
|
outerDivClassName?: string;
|
|
55
62
|
banner?: string;
|
|
56
|
-
title:
|
|
57
|
-
description?:
|
|
63
|
+
title: ReactNode;
|
|
64
|
+
description?: ReactNode;
|
|
58
65
|
disablePrimaryBtn: boolean;
|
|
59
66
|
showPrimaryBtn: boolean;
|
|
60
67
|
disableSecondaryBtn: boolean;
|
|
@@ -68,7 +75,7 @@ export declare interface AlertDialogProps {
|
|
|
68
75
|
export declare const AnimatedModal: ForwardRefExoticComponent<AnimatedModalProps & RefAttributes<HTMLDivElement>>;
|
|
69
76
|
|
|
70
77
|
export declare interface AnimatedModalProps extends HTMLAttributes<HTMLDivElement> {
|
|
71
|
-
show
|
|
78
|
+
show?: boolean;
|
|
72
79
|
handleClose?: () => void;
|
|
73
80
|
animation?: 'slideUp' | 'slideDown' | 'fadeIn';
|
|
74
81
|
/**
|
|
@@ -87,6 +94,14 @@ export declare interface AnimatedModalProps extends HTMLAttributes<HTMLDivElemen
|
|
|
87
94
|
contentClassName?: string;
|
|
88
95
|
}
|
|
89
96
|
|
|
97
|
+
export declare const ArrowRightIcon: FC<{
|
|
98
|
+
className?: string;
|
|
99
|
+
}>;
|
|
100
|
+
|
|
101
|
+
export declare const ArrowUndoIcon: FC<{
|
|
102
|
+
className?: string;
|
|
103
|
+
}>;
|
|
104
|
+
|
|
90
105
|
export declare const Asterisk: default_2.ForwardRefExoticComponent<AsteriskProps & default_2.RefAttributes<HTMLSpanElement>>;
|
|
91
106
|
|
|
92
107
|
declare interface AsteriskProps {
|
|
@@ -125,6 +140,10 @@ export declare interface BookingQuoteLineItemType {
|
|
|
125
140
|
description?: string;
|
|
126
141
|
}
|
|
127
142
|
|
|
143
|
+
export declare const BuildingIcon: FC<{
|
|
144
|
+
className?: string;
|
|
145
|
+
}>;
|
|
146
|
+
|
|
128
147
|
export declare const Button: default_2.ForwardRefExoticComponent<ButtonProps & default_2.RefAttributes<HTMLButtonElement>>;
|
|
129
148
|
|
|
130
149
|
export declare interface ButtonProps extends default_2.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
@@ -135,6 +154,20 @@ export declare interface ButtonProps extends default_2.ButtonHTMLAttributes<HTML
|
|
|
135
154
|
endIcon?: default_2.ReactNode;
|
|
136
155
|
trackingId?: string;
|
|
137
156
|
selected?: boolean;
|
|
157
|
+
helperText?: string;
|
|
158
|
+
/**
|
|
159
|
+
* classes to apply on the outer most container which contains
|
|
160
|
+
* the button and the helper text
|
|
161
|
+
*/
|
|
162
|
+
className?: string;
|
|
163
|
+
/**
|
|
164
|
+
* classes to apply on button element
|
|
165
|
+
*/
|
|
166
|
+
buttonClassName?: string;
|
|
167
|
+
/**
|
|
168
|
+
* classes to apply on the helper text
|
|
169
|
+
*/
|
|
170
|
+
helpterTextClassName?: string;
|
|
138
171
|
}
|
|
139
172
|
|
|
140
173
|
export declare const ButtonsGroupSelector: default_2.ForwardRefExoticComponent<ButtonsGroupSelectorProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -207,6 +240,14 @@ export declare interface CheckboxProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
207
240
|
disabled?: boolean;
|
|
208
241
|
}
|
|
209
242
|
|
|
243
|
+
export declare const CheckmarkCircleIcon: FC<{
|
|
244
|
+
className?: string;
|
|
245
|
+
}>;
|
|
246
|
+
|
|
247
|
+
export declare const CheckmarkIcon: FC<{
|
|
248
|
+
className?: string;
|
|
249
|
+
}>;
|
|
250
|
+
|
|
210
251
|
export declare const ChevronLeftRegularIcon: FC<{
|
|
211
252
|
className?: string;
|
|
212
253
|
}>;
|
|
@@ -215,10 +256,20 @@ export declare const ChevronRightRegularIcon: FC<{
|
|
|
215
256
|
className?: string;
|
|
216
257
|
}>;
|
|
217
258
|
|
|
259
|
+
export declare const ClipboardIcon: FC<{
|
|
260
|
+
className?: string;
|
|
261
|
+
}>;
|
|
262
|
+
|
|
263
|
+
export declare const ClipboardSolidIcon: FC<{
|
|
264
|
+
className?: string;
|
|
265
|
+
}>;
|
|
266
|
+
|
|
218
267
|
export declare const CloseIcon: FC<{
|
|
219
268
|
className?: string;
|
|
220
269
|
}>;
|
|
221
270
|
|
|
271
|
+
export declare function cn(...inputs: ClassValue[]): string;
|
|
272
|
+
|
|
222
273
|
export declare const DateRangePicker: default_2.ForwardRefExoticComponent<DateRangePickerProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
223
274
|
|
|
224
275
|
declare interface DateRangePickerProps {
|
|
@@ -255,6 +306,12 @@ declare interface DateRangePickerProps {
|
|
|
255
306
|
isAdjustHeightForViewport?: boolean;
|
|
256
307
|
}
|
|
257
308
|
|
|
309
|
+
export declare const DeleteIcon: FC<{
|
|
310
|
+
className?: string;
|
|
311
|
+
}>;
|
|
312
|
+
|
|
313
|
+
export declare const desktopMinWidth: number;
|
|
314
|
+
|
|
258
315
|
export declare const DesktopTooltip: FC<PropsWithChildren<TooltipProps>>;
|
|
259
316
|
|
|
260
317
|
export declare const Dialog: ForwardRefExoticComponent<DialogProps & RefAttributes<HTMLDivElement>>;
|
|
@@ -263,10 +320,30 @@ export declare interface DialogProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
263
320
|
open: boolean;
|
|
264
321
|
}
|
|
265
322
|
|
|
323
|
+
export declare const DialogV2: FC<DialogV2Props>;
|
|
324
|
+
|
|
325
|
+
export declare type DialogV2Props = {
|
|
326
|
+
className?: string;
|
|
327
|
+
title: string;
|
|
328
|
+
subTitle?: string;
|
|
329
|
+
dialogContainerClassname?: string;
|
|
330
|
+
dialogHeaderClassname?: string;
|
|
331
|
+
dialogBodyClassname?: string;
|
|
332
|
+
dialogFooterClassname?: string;
|
|
333
|
+
dialogBody: ReactNode;
|
|
334
|
+
show: boolean;
|
|
335
|
+
onClose?: () => void;
|
|
336
|
+
actionButtons?: ActionButtonProps[];
|
|
337
|
+
};
|
|
338
|
+
|
|
339
|
+
export declare const DUE_TODAY = "due_today";
|
|
340
|
+
|
|
266
341
|
export declare const FilterIcon: FC<{
|
|
267
342
|
className?: string;
|
|
268
343
|
}>;
|
|
269
344
|
|
|
345
|
+
export declare const formatCurrency: (val: number, currency?: string) => string;
|
|
346
|
+
|
|
270
347
|
export declare const Grid: React_2.ForwardRefExoticComponent<GridProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
271
348
|
|
|
272
349
|
export declare interface GridProps extends React_2.HTMLAttributes<HTMLDivElement>, Omit<GridVariantProps, 'optional'> {
|
|
@@ -280,12 +357,12 @@ declare const gridVariants: (props?: ({
|
|
|
280
357
|
gap?: "gap0" | "gap100" | "gap150" | "gap200" | "gap300" | "gap400" | "gap600" | "gap800" | "gap1000" | "gap1200" | "gap1600" | "gap2000" | null | undefined;
|
|
281
358
|
gapX?: "gap0" | "gap100" | "gap150" | "gap200" | "gap300" | "gap400" | "gap600" | "gap800" | "gap1000" | "gap1200" | "gap1600" | "gap2000" | null | undefined;
|
|
282
359
|
gapY?: "gap0" | "gap100" | "gap150" | "gap200" | "gap300" | "gap400" | "gap600" | "gap800" | "gap1000" | "gap1200" | "gap1600" | "gap2000" | null | undefined;
|
|
283
|
-
justifyContent?: "
|
|
284
|
-
justifyItems?: "
|
|
285
|
-
alignContent?: "
|
|
286
|
-
alignItems?: "
|
|
287
|
-
placeContent?: "
|
|
288
|
-
placeItems?: "
|
|
360
|
+
justifyContent?: "end" | "start" | "normal" | "center" | "between" | "around" | "evenly" | "stretch" | null | undefined;
|
|
361
|
+
justifyItems?: "end" | "start" | "center" | "stretch" | null | undefined;
|
|
362
|
+
alignContent?: "end" | "start" | "normal" | "center" | "between" | "around" | "evenly" | "stretch" | "baseline" | null | undefined;
|
|
363
|
+
alignItems?: "end" | "start" | "center" | "stretch" | "baseline" | null | undefined;
|
|
364
|
+
placeContent?: "end" | "start" | "center" | "between" | "around" | "evenly" | "stretch" | "baseline" | null | undefined;
|
|
365
|
+
placeItems?: "end" | "start" | "center" | "stretch" | "baseline" | null | undefined;
|
|
289
366
|
} & ClassProp) | undefined) => string;
|
|
290
367
|
|
|
291
368
|
export declare const HandCursorTapIcon: FC<{
|
|
@@ -310,11 +387,15 @@ export declare interface ImageCarouselProps extends default_2.HTMLAttributes<HTM
|
|
|
310
387
|
images: string[];
|
|
311
388
|
}
|
|
312
389
|
|
|
390
|
+
export declare const InfoIcon: FC<{
|
|
391
|
+
className?: string;
|
|
392
|
+
}>;
|
|
393
|
+
|
|
313
394
|
export declare const Input: default_2.ForwardRefExoticComponent<InputProps & default_2.RefAttributes<HTMLInputElement>>;
|
|
314
395
|
|
|
315
396
|
export declare interface InputProps extends default_2.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {
|
|
316
397
|
textarea?: true | false | undefined;
|
|
317
|
-
label?:
|
|
398
|
+
label?: default_2.ReactNode | undefined;
|
|
318
399
|
caption?: string | undefined;
|
|
319
400
|
color?: 'primary' | 'success' | 'error' | 'primaryRounded' | 'errorRounded' | 'disabled';
|
|
320
401
|
required?: boolean;
|
|
@@ -338,6 +419,13 @@ export declare interface InputProps extends default_2.InputHTMLAttributes<HTMLIn
|
|
|
338
419
|
onNumberUpdate?: (val: number | '') => void;
|
|
339
420
|
}
|
|
340
421
|
|
|
422
|
+
export declare const INSTALLMENT = "installment";
|
|
423
|
+
|
|
424
|
+
declare interface KeyMapping<SourceKey extends keyof PaymentRadioInputProps, DestinationKey extends string> {
|
|
425
|
+
sourceKey: SourceKey;
|
|
426
|
+
destinationKey: DestinationKey;
|
|
427
|
+
}
|
|
428
|
+
|
|
341
429
|
export declare const ListingCard: default_2.ForwardRefExoticComponent<ListingCardProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
342
430
|
|
|
343
431
|
export declare type ListingCardProps = {
|
|
@@ -355,8 +443,15 @@ export declare type ListingCardProps = {
|
|
|
355
443
|
totalPrice: string;
|
|
356
444
|
slashedTotalPrice?: string;
|
|
357
445
|
onClick: () => void;
|
|
446
|
+
selectable?: boolean;
|
|
447
|
+
selectionState?: SelectionStateEnum;
|
|
448
|
+
onViewListingClick?: () => void;
|
|
358
449
|
};
|
|
359
450
|
|
|
451
|
+
export declare const LocationIcon: FC<{
|
|
452
|
+
className?: string;
|
|
453
|
+
}>;
|
|
454
|
+
|
|
360
455
|
export declare const LongTermBanner: default_2.ForwardRefExoticComponent<LongTermBannerProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
361
456
|
|
|
362
457
|
export declare interface LongTermBannerProps {
|
|
@@ -368,6 +463,10 @@ export declare interface LongTermBannerProps {
|
|
|
368
463
|
className?: string;
|
|
369
464
|
}
|
|
370
465
|
|
|
466
|
+
export declare const MagnifyGlassIcon: FC<{
|
|
467
|
+
className?: string;
|
|
468
|
+
}>;
|
|
469
|
+
|
|
371
470
|
export declare const MobileFilterMenu: ForwardRefExoticComponent<MobileFilterMenuProps & RefAttributes<HTMLDivElement>>;
|
|
372
471
|
|
|
373
472
|
export declare interface MobileFilterMenuProps extends HTMLAttributes<HTMLDivElement> {
|
|
@@ -394,9 +493,14 @@ export declare interface MobileMultiSelectFilterDropDownProps extends HTMLAttrib
|
|
|
394
493
|
placeholder?: string;
|
|
395
494
|
selected?: boolean;
|
|
396
495
|
setCheckBoxValue?: boolean;
|
|
496
|
+
/**
|
|
497
|
+
* @deprecated use `icon` instead to pass a react node
|
|
498
|
+
*/
|
|
397
499
|
dropdownIcon?: string;
|
|
500
|
+
icon?: React.ReactNode;
|
|
398
501
|
error?: string;
|
|
399
502
|
noDataError?: string;
|
|
503
|
+
disabled?: boolean;
|
|
400
504
|
}
|
|
401
505
|
|
|
402
506
|
export declare const MobileSelectCardDropDown: ForwardRefExoticComponent<MobileSelectCardDropDownProps & RefAttributes<HTMLDivElement>>;
|
|
@@ -414,9 +518,14 @@ export declare interface MobileSelectCardDropDownProps extends HTMLAttributes<HT
|
|
|
414
518
|
}) => void;
|
|
415
519
|
placeholder?: string;
|
|
416
520
|
selected?: boolean;
|
|
521
|
+
/**
|
|
522
|
+
* @deprecated use `icon` instead to pass a react node
|
|
523
|
+
*/
|
|
417
524
|
dropdownIcon?: string;
|
|
525
|
+
icon?: React.ReactNode;
|
|
418
526
|
error?: string;
|
|
419
527
|
noDataError?: string;
|
|
528
|
+
disabled?: boolean;
|
|
420
529
|
}
|
|
421
530
|
|
|
422
531
|
export declare const MobileTootip: FC<PropsWithChildren<TooltipProps>>;
|
|
@@ -425,12 +534,122 @@ export declare const MoonIcon: FC<{
|
|
|
425
534
|
className?: string;
|
|
426
535
|
}>;
|
|
427
536
|
|
|
537
|
+
export declare const OpenNewIcon: FC<{
|
|
538
|
+
className?: string;
|
|
539
|
+
}>;
|
|
540
|
+
|
|
428
541
|
declare interface Option_2 {
|
|
429
542
|
label: string;
|
|
430
543
|
id?: number | 'All';
|
|
431
544
|
}
|
|
432
545
|
export { Option_2 as Option }
|
|
433
546
|
|
|
547
|
+
declare const PaymentItem_2: default_2.FC<PaymentScheduleItemProps>;
|
|
548
|
+
export { PaymentItem_2 as PaymentItem }
|
|
549
|
+
|
|
550
|
+
export declare const PaymentRadioGroup: React.FC<PaymentRadioGroupProps>;
|
|
551
|
+
|
|
552
|
+
export declare interface PaymentRadioGroupInputProps {
|
|
553
|
+
id: string;
|
|
554
|
+
name: string;
|
|
555
|
+
label: string | React.ReactNode;
|
|
556
|
+
price: string | React.ReactNode;
|
|
557
|
+
description?: string | React.ReactNode;
|
|
558
|
+
selectionContent?: React.ReactNode;
|
|
559
|
+
className?: string;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
export declare interface PaymentRadioGroupProps {
|
|
563
|
+
options: PaymentRadioGroupInputProps[];
|
|
564
|
+
className?: string;
|
|
565
|
+
defaultValue?: string;
|
|
566
|
+
keyMappings?: Array<KeyMapping<keyof PaymentRadioGroupInputProps, string>>;
|
|
567
|
+
onChange: (selectedOption: Record<string, string> | PaymentRadioGroupInputProps) => void;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
export declare const PaymentRadioInput: default_2.FC<PaymentRadioInputProps>;
|
|
571
|
+
|
|
572
|
+
export declare interface PaymentRadioInputProps {
|
|
573
|
+
id: string;
|
|
574
|
+
name: string;
|
|
575
|
+
label: string | default_2.ReactNode;
|
|
576
|
+
price: string | default_2.ReactNode;
|
|
577
|
+
description?: string | default_2.ReactNode;
|
|
578
|
+
checked?: boolean;
|
|
579
|
+
selectionContent?: default_2.ReactNode;
|
|
580
|
+
className?: string;
|
|
581
|
+
onChange: (id: string) => void;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
export declare const PaymentSchedule: default_2.FC<PaymentScheduleProps>;
|
|
585
|
+
|
|
586
|
+
export declare type PaymentScheduleItemProps = {
|
|
587
|
+
date: string;
|
|
588
|
+
title: string;
|
|
589
|
+
amount: string;
|
|
590
|
+
/**
|
|
591
|
+
* Define the status of the payment entry
|
|
592
|
+
* @default 'scheduled'
|
|
593
|
+
*/
|
|
594
|
+
state?: 'completed' | 'next-due' | 'scheduled' | 'failed';
|
|
595
|
+
/**
|
|
596
|
+
* Define the position of the payment entry in the payment schedule
|
|
597
|
+
* @default 'in-between'
|
|
598
|
+
*/
|
|
599
|
+
positionInSchedule?: 'first' | 'last' | 'in-between';
|
|
600
|
+
};
|
|
601
|
+
|
|
602
|
+
export declare const PaymentSchedulePreview: default_2.FC<PaymentSchedulePreviewProps>;
|
|
603
|
+
|
|
604
|
+
export declare const PaymentSchedulePreviewItem: default_2.FC<PaymentSchedulePreviewItemProps>;
|
|
605
|
+
|
|
606
|
+
export declare interface PaymentSchedulePreviewItemProps {
|
|
607
|
+
keyId: typeof DUE_TODAY | typeof SECURITY_DEPOSIT_REFUND | typeof INSTALLMENT;
|
|
608
|
+
displayName: string | default_2.ReactNode;
|
|
609
|
+
subText?: string | default_2.ReactNode;
|
|
610
|
+
amount: number;
|
|
611
|
+
className?: string;
|
|
612
|
+
currency: string;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
export declare interface PaymentSchedulePreviewProps {
|
|
616
|
+
className?: string;
|
|
617
|
+
totalAmount: number;
|
|
618
|
+
currency: string;
|
|
619
|
+
dateFormat?: string;
|
|
620
|
+
popupDateFormat?: string;
|
|
621
|
+
items: {
|
|
622
|
+
keyId: typeof DUE_TODAY | typeof INSTALLMENT | typeof SECURITY_DEPOSIT_REFUND;
|
|
623
|
+
displayName?: string;
|
|
624
|
+
amount: number;
|
|
625
|
+
date: string;
|
|
626
|
+
className?: string;
|
|
627
|
+
subText?: string;
|
|
628
|
+
popupDate?: string;
|
|
629
|
+
popupTitle?: string;
|
|
630
|
+
}[];
|
|
631
|
+
noOfInstallmentsToShow?: number;
|
|
632
|
+
otherTotalCount?: number;
|
|
633
|
+
showDetailsModalTitle?: string;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
export declare type PaymentScheduleProps = {
|
|
637
|
+
className?: string;
|
|
638
|
+
paymentItems: PaymentScheduleItemProps[];
|
|
639
|
+
};
|
|
640
|
+
|
|
641
|
+
export declare const PencilIcon: FC<{
|
|
642
|
+
className?: string;
|
|
643
|
+
}>;
|
|
644
|
+
|
|
645
|
+
export declare const PlusCircleIcon: FC<{
|
|
646
|
+
className?: string;
|
|
647
|
+
}>;
|
|
648
|
+
|
|
649
|
+
export declare const PreviewIcon: FC<{
|
|
650
|
+
className?: string;
|
|
651
|
+
}>;
|
|
652
|
+
|
|
434
653
|
export declare const PriceRangeSlider: default_2.FC<PriceRangeSliderProps>;
|
|
435
654
|
|
|
436
655
|
export declare interface PriceRangeSliderProps {
|
|
@@ -450,6 +669,7 @@ export declare interface PriceRangeSliderProps {
|
|
|
450
669
|
onPriceRangeChange?: (value: [number | '', number | '']) => void;
|
|
451
670
|
currency?: string;
|
|
452
671
|
value?: [number | '', number | ''];
|
|
672
|
+
disabled?: boolean;
|
|
453
673
|
}
|
|
454
674
|
|
|
455
675
|
export declare const PromoDialog: default_2.ForwardRefExoticComponent<PromoDialogProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -518,6 +738,34 @@ export declare const Scrollbar: FC<ScrollbarProps>;
|
|
|
518
738
|
export declare interface ScrollbarProps extends Props {
|
|
519
739
|
}
|
|
520
740
|
|
|
741
|
+
export declare const SECURITY_DEPOSIT_REFUND = "security_deposit_refund";
|
|
742
|
+
|
|
743
|
+
export declare enum SelectionStateEnum {
|
|
744
|
+
None = "none",
|
|
745
|
+
Selected = "selected",
|
|
746
|
+
Added = "added"
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
export declare const SelectPopover: ForwardRefExoticComponent<SelectPopoverProps & RefAttributes<HTMLDivElement>>;
|
|
750
|
+
|
|
751
|
+
export declare interface SelectPopoverProps {
|
|
752
|
+
showPopup?: boolean;
|
|
753
|
+
mobileContainerClassname?: string;
|
|
754
|
+
desktopContainerClassname?: string;
|
|
755
|
+
maxWidth?: string;
|
|
756
|
+
options?: Array<{
|
|
757
|
+
label: string;
|
|
758
|
+
icon: string | ReactNode;
|
|
759
|
+
value: string;
|
|
760
|
+
}>;
|
|
761
|
+
onOptionSelected?: (value: string) => void;
|
|
762
|
+
handleClose?: () => void;
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
export declare const ShareIcon: FC<{
|
|
766
|
+
className?: string;
|
|
767
|
+
}>;
|
|
768
|
+
|
|
521
769
|
export declare const SlickImageCarousel: default_2.ForwardRefExoticComponent<SlickImageCarouselProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
522
770
|
|
|
523
771
|
export declare type SlickImageCarouselProps = {
|
|
@@ -556,6 +804,25 @@ export declare interface StepperProps {
|
|
|
556
804
|
outerMobileDivClass?: string;
|
|
557
805
|
}
|
|
558
806
|
|
|
807
|
+
export declare const StepsList: FC<StepsListProps>;
|
|
808
|
+
|
|
809
|
+
export declare const StepsListItem: FC<StepsListItemProps>;
|
|
810
|
+
|
|
811
|
+
export declare type StepsListItemProps = {
|
|
812
|
+
title: string;
|
|
813
|
+
description: string;
|
|
814
|
+
IconComponent: FC<{
|
|
815
|
+
className?: string;
|
|
816
|
+
}>;
|
|
817
|
+
iconClassName?: string;
|
|
818
|
+
className?: string;
|
|
819
|
+
};
|
|
820
|
+
|
|
821
|
+
export declare type StepsListProps = {
|
|
822
|
+
steps: StepsListItemProps[];
|
|
823
|
+
className?: string;
|
|
824
|
+
};
|
|
825
|
+
|
|
559
826
|
export declare const Switch: default_2.ForwardRefExoticComponent<SwitchProps & default_2.RefAttributes<HTMLInputElement>>;
|
|
560
827
|
|
|
561
828
|
export declare interface SwitchProps {
|
|
@@ -565,11 +832,17 @@ export declare interface SwitchProps {
|
|
|
565
832
|
htmlId?: string;
|
|
566
833
|
}
|
|
567
834
|
|
|
835
|
+
export declare const tabletMinWidth: number;
|
|
836
|
+
|
|
568
837
|
declare type TagProps = {
|
|
569
838
|
icon: default_2.ReactNode;
|
|
570
839
|
label: string;
|
|
571
840
|
};
|
|
572
841
|
|
|
842
|
+
export declare const ThreeDotsCircleIcon: FC<{
|
|
843
|
+
className?: string;
|
|
844
|
+
}>;
|
|
845
|
+
|
|
573
846
|
export declare const Timer: default_2.ForwardRefExoticComponent<TimerProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
574
847
|
|
|
575
848
|
export declare interface TimerProps {
|
|
@@ -578,6 +851,12 @@ export declare interface TimerProps {
|
|
|
578
851
|
outerDivClass?: string;
|
|
579
852
|
}
|
|
580
853
|
|
|
854
|
+
export declare const toast: typeof toast_2;
|
|
855
|
+
|
|
856
|
+
export declare const ToastContainer: FC<ToastContainerProps>;
|
|
857
|
+
|
|
858
|
+
export declare type ToastContainerProps = ToastContainerProps_2;
|
|
859
|
+
|
|
581
860
|
export declare const ToggleCard: default_2.ForwardRefExoticComponent<ToggleCardProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
582
861
|
|
|
583
862
|
export declare interface ToggleCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
@@ -656,6 +935,50 @@ export declare interface TopNavContainerMobileProps extends HTMLAttributes<HTMLD
|
|
|
656
935
|
buttonText: string;
|
|
657
936
|
}
|
|
658
937
|
|
|
938
|
+
export declare const TrashIcon: FC<{
|
|
939
|
+
className?: string;
|
|
940
|
+
}>;
|
|
941
|
+
|
|
942
|
+
export declare const TravelList: default_2.ForwardRefExoticComponent<TravelListProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
943
|
+
|
|
944
|
+
export declare const TravelListItem: default_2.ForwardRefExoticComponent<TravelListItemProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
945
|
+
|
|
946
|
+
export declare interface TravelListItemProps {
|
|
947
|
+
title?: string;
|
|
948
|
+
homeCount?: number;
|
|
949
|
+
location?: string;
|
|
950
|
+
dates?: string;
|
|
951
|
+
budget?: string;
|
|
952
|
+
shareLink?: string;
|
|
953
|
+
onClickEditBtn?: () => void;
|
|
954
|
+
onClickViewBtn?: () => void;
|
|
955
|
+
onClickShareBtn?: () => void;
|
|
956
|
+
hideEdit?: boolean;
|
|
957
|
+
hideShare?: boolean;
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
export declare const TravelListPropertyItem: default_2.ForwardRefExoticComponent<TravelListPropertyItemProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
961
|
+
|
|
962
|
+
export declare interface TravelListPropertyItemProps {
|
|
963
|
+
className?: string;
|
|
964
|
+
title?: string;
|
|
965
|
+
neighborhood?: string;
|
|
966
|
+
bedroom?: string;
|
|
967
|
+
area?: string;
|
|
968
|
+
price?: string;
|
|
969
|
+
guests?: string;
|
|
970
|
+
imageUrl?: string;
|
|
971
|
+
onOpenLinkClick?: () => void;
|
|
972
|
+
onDeleteBtnClick?: () => void;
|
|
973
|
+
isUnavailable?: boolean;
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
export declare interface TravelListProps extends default_2.PropsWithChildren {
|
|
977
|
+
items?: TravelListItemProps[];
|
|
978
|
+
hideShare?: boolean;
|
|
979
|
+
hideEdit?: boolean;
|
|
980
|
+
}
|
|
981
|
+
|
|
659
982
|
export declare const TwoColumnDialog: ForwardRefExoticComponent<TwoColumnDialogProps & RefAttributes<HTMLDivElement>>;
|
|
660
983
|
|
|
661
984
|
export declare interface TwoColumnDialogProps extends HTMLAttributes<HTMLDivElement> {
|