design-system-silkhaus 2.3.0-beta.travel-list.27 → 2.4.0-beta.mission-values.2
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 +47 -47
- package/dist/index.d.ts +11 -214
- package/dist/index.js +14939 -15993
- package/dist/style.css +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -7,12 +7,11 @@ import { HTMLAttributes } from 'react';
|
|
|
7
7
|
import { ModifiersShape } from 'react-dates';
|
|
8
8
|
import { Moment } from 'moment';
|
|
9
9
|
import { Placement } from '@floating-ui/react';
|
|
10
|
+
import { Props } from 'simplebar-react';
|
|
10
11
|
import { PropsWithChildren } from 'react';
|
|
11
12
|
import * as React_2 from 'react';
|
|
12
13
|
import { ReactNode } from 'react';
|
|
13
14
|
import { RefAttributes } from 'react';
|
|
14
|
-
import { toast as toast_2 } from 'react-toastify';
|
|
15
|
-
import { ToastContainerProps as ToastContainerProps_2 } from 'react-toastify';
|
|
16
15
|
import { VariantProps } from 'class-variance-authority';
|
|
17
16
|
|
|
18
17
|
export declare const Accordion: default_2.ForwardRefExoticComponent<AccordionProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -30,10 +29,6 @@ export declare interface AccordionProps {
|
|
|
30
29
|
isExpanded?: boolean;
|
|
31
30
|
}
|
|
32
31
|
|
|
33
|
-
declare type ActionButtonProps = {
|
|
34
|
-
label: string;
|
|
35
|
-
} & ButtonProps;
|
|
36
|
-
|
|
37
32
|
export declare const ActionFooter: default_2.ForwardRefExoticComponent<ActionFooterProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
38
33
|
|
|
39
34
|
export declare interface ActionFooterProps {
|
|
@@ -52,7 +47,7 @@ export declare const AlertDialog: default_2.ForwardRefExoticComponent<AlertDialo
|
|
|
52
47
|
export declare interface AlertDialogProps {
|
|
53
48
|
outerDivClassName?: string;
|
|
54
49
|
banner?: string;
|
|
55
|
-
title:
|
|
50
|
+
title: string;
|
|
56
51
|
description?: string;
|
|
57
52
|
disablePrimaryBtn: boolean;
|
|
58
53
|
showPrimaryBtn: boolean;
|
|
@@ -67,7 +62,7 @@ export declare interface AlertDialogProps {
|
|
|
67
62
|
export declare const AnimatedModal: ForwardRefExoticComponent<AnimatedModalProps & RefAttributes<HTMLDivElement>>;
|
|
68
63
|
|
|
69
64
|
export declare interface AnimatedModalProps extends HTMLAttributes<HTMLDivElement> {
|
|
70
|
-
show
|
|
65
|
+
show: boolean;
|
|
71
66
|
handleClose?: () => void;
|
|
72
67
|
animation?: 'slideUp' | 'slideDown' | 'fadeIn';
|
|
73
68
|
/**
|
|
@@ -124,10 +119,6 @@ export declare interface BookingQuoteLineItemType {
|
|
|
124
119
|
description?: string;
|
|
125
120
|
}
|
|
126
121
|
|
|
127
|
-
export declare const BuildingIcon: FC<{
|
|
128
|
-
className?: string;
|
|
129
|
-
}>;
|
|
130
|
-
|
|
131
122
|
export declare const Button: default_2.ForwardRefExoticComponent<ButtonProps & default_2.RefAttributes<HTMLButtonElement>>;
|
|
132
123
|
|
|
133
124
|
export declare interface ButtonProps extends default_2.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
@@ -138,20 +129,6 @@ export declare interface ButtonProps extends default_2.ButtonHTMLAttributes<HTML
|
|
|
138
129
|
endIcon?: default_2.ReactNode;
|
|
139
130
|
trackingId?: string;
|
|
140
131
|
selected?: boolean;
|
|
141
|
-
helperText?: string;
|
|
142
|
-
/**
|
|
143
|
-
* classes to apply on the outer most container which contains
|
|
144
|
-
* the button and the helper text
|
|
145
|
-
*/
|
|
146
|
-
className?: string;
|
|
147
|
-
/**
|
|
148
|
-
* classes to apply on button element
|
|
149
|
-
*/
|
|
150
|
-
buttonClassName?: string;
|
|
151
|
-
/**
|
|
152
|
-
* classes to apply on the helper text
|
|
153
|
-
*/
|
|
154
|
-
helpterTextClassName?: string;
|
|
155
132
|
}
|
|
156
133
|
|
|
157
134
|
export declare const ButtonsGroupSelector: default_2.ForwardRefExoticComponent<ButtonsGroupSelectorProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -187,10 +164,6 @@ export declare interface ButtonsGroupSelectorProps extends HTMLAttributes<HTMLDi
|
|
|
187
164
|
buttonClassName?: string;
|
|
188
165
|
}
|
|
189
166
|
|
|
190
|
-
export declare const CalendarIcon: FC<{
|
|
191
|
-
className?: string;
|
|
192
|
-
}>;
|
|
193
|
-
|
|
194
167
|
export declare const Card: React_2.ForwardRefExoticComponent<CardProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
195
168
|
|
|
196
169
|
export declare const CardContent: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -224,14 +197,6 @@ export declare interface CheckboxProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
224
197
|
disabled?: boolean;
|
|
225
198
|
}
|
|
226
199
|
|
|
227
|
-
export declare const CheckmarkCircleIcon: FC<{
|
|
228
|
-
className?: string;
|
|
229
|
-
}>;
|
|
230
|
-
|
|
231
|
-
export declare const CheckmarkIcon: FC<{
|
|
232
|
-
className?: string;
|
|
233
|
-
}>;
|
|
234
|
-
|
|
235
200
|
export declare const ChevronLeftRegularIcon: FC<{
|
|
236
201
|
className?: string;
|
|
237
202
|
}>;
|
|
@@ -240,14 +205,6 @@ export declare const ChevronRightRegularIcon: FC<{
|
|
|
240
205
|
className?: string;
|
|
241
206
|
}>;
|
|
242
207
|
|
|
243
|
-
export declare const ClipboardIcon: FC<{
|
|
244
|
-
className?: string;
|
|
245
|
-
}>;
|
|
246
|
-
|
|
247
|
-
export declare const ClipboardSolidIcon: FC<{
|
|
248
|
-
className?: string;
|
|
249
|
-
}>;
|
|
250
|
-
|
|
251
208
|
export declare const CloseIcon: FC<{
|
|
252
209
|
className?: string;
|
|
253
210
|
}>;
|
|
@@ -288,12 +245,6 @@ declare interface DateRangePickerProps {
|
|
|
288
245
|
isAdjustHeightForViewport?: boolean;
|
|
289
246
|
}
|
|
290
247
|
|
|
291
|
-
export declare const DeleteIcon: FC<{
|
|
292
|
-
className?: string;
|
|
293
|
-
}>;
|
|
294
|
-
|
|
295
|
-
export declare const desktopMinWidth: number;
|
|
296
|
-
|
|
297
248
|
export declare const DesktopTooltip: FC<PropsWithChildren<TooltipProps>>;
|
|
298
249
|
|
|
299
250
|
export declare const Dialog: ForwardRefExoticComponent<DialogProps & RefAttributes<HTMLDivElement>>;
|
|
@@ -302,22 +253,6 @@ export declare interface DialogProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
302
253
|
open: boolean;
|
|
303
254
|
}
|
|
304
255
|
|
|
305
|
-
export declare const DialogV2: FC<DialogV2Props>;
|
|
306
|
-
|
|
307
|
-
export declare type DialogV2Props = {
|
|
308
|
-
className?: string;
|
|
309
|
-
title: string;
|
|
310
|
-
subTitle?: string;
|
|
311
|
-
dialogContainerClassname?: string;
|
|
312
|
-
dialogHeaderClassname?: string;
|
|
313
|
-
dialogBodyClassname?: string;
|
|
314
|
-
dialogFooterClassname?: string;
|
|
315
|
-
dialogBody: ReactNode;
|
|
316
|
-
show: boolean;
|
|
317
|
-
onClose?: () => void;
|
|
318
|
-
actionButtons?: ActionButtonProps[];
|
|
319
|
-
};
|
|
320
|
-
|
|
321
256
|
export declare const FilterIcon: FC<{
|
|
322
257
|
className?: string;
|
|
323
258
|
}>;
|
|
@@ -335,12 +270,12 @@ declare const gridVariants: (props?: ({
|
|
|
335
270
|
gap?: "gap0" | "gap100" | "gap150" | "gap200" | "gap300" | "gap400" | "gap600" | "gap800" | "gap1000" | "gap1200" | "gap1600" | "gap2000" | null | undefined;
|
|
336
271
|
gapX?: "gap0" | "gap100" | "gap150" | "gap200" | "gap300" | "gap400" | "gap600" | "gap800" | "gap1000" | "gap1200" | "gap1600" | "gap2000" | null | undefined;
|
|
337
272
|
gapY?: "gap0" | "gap100" | "gap150" | "gap200" | "gap300" | "gap400" | "gap600" | "gap800" | "gap1000" | "gap1200" | "gap1600" | "gap2000" | null | undefined;
|
|
338
|
-
justifyContent?: "
|
|
339
|
-
justifyItems?: "
|
|
340
|
-
alignContent?: "
|
|
341
|
-
alignItems?: "
|
|
342
|
-
placeContent?: "
|
|
343
|
-
placeItems?: "
|
|
273
|
+
justifyContent?: "normal" | "start" | "end" | "center" | "between" | "around" | "evenly" | "stretch" | null | undefined;
|
|
274
|
+
justifyItems?: "start" | "end" | "center" | "stretch" | null | undefined;
|
|
275
|
+
alignContent?: "normal" | "start" | "end" | "center" | "between" | "around" | "evenly" | "stretch" | "baseline" | null | undefined;
|
|
276
|
+
alignItems?: "start" | "end" | "center" | "stretch" | "baseline" | null | undefined;
|
|
277
|
+
placeContent?: "start" | "end" | "center" | "between" | "around" | "evenly" | "stretch" | "baseline" | null | undefined;
|
|
278
|
+
placeItems?: "start" | "end" | "center" | "stretch" | "baseline" | null | undefined;
|
|
344
279
|
} & ClassProp) | undefined) => string;
|
|
345
280
|
|
|
346
281
|
export declare const HandCursorTapIcon: FC<{
|
|
@@ -365,10 +300,6 @@ export declare interface ImageCarouselProps extends default_2.HTMLAttributes<HTM
|
|
|
365
300
|
images: string[];
|
|
366
301
|
}
|
|
367
302
|
|
|
368
|
-
export declare const InfoIcon: FC<{
|
|
369
|
-
className?: string;
|
|
370
|
-
}>;
|
|
371
|
-
|
|
372
303
|
export declare const Input: default_2.ForwardRefExoticComponent<InputProps & default_2.RefAttributes<HTMLInputElement>>;
|
|
373
304
|
|
|
374
305
|
export declare interface InputProps extends default_2.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {
|
|
@@ -414,15 +345,8 @@ export declare type ListingCardProps = {
|
|
|
414
345
|
totalPrice: string;
|
|
415
346
|
slashedTotalPrice?: string;
|
|
416
347
|
onClick: () => void;
|
|
417
|
-
selectable?: boolean;
|
|
418
|
-
selectionState?: SelectionStateEnum;
|
|
419
|
-
onViewListingClick?: () => void;
|
|
420
348
|
};
|
|
421
349
|
|
|
422
|
-
export declare const LocationIcon: FC<{
|
|
423
|
-
className?: string;
|
|
424
|
-
}>;
|
|
425
|
-
|
|
426
350
|
export declare const LongTermBanner: default_2.ForwardRefExoticComponent<LongTermBannerProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
427
351
|
|
|
428
352
|
export declare interface LongTermBannerProps {
|
|
@@ -434,10 +358,6 @@ export declare interface LongTermBannerProps {
|
|
|
434
358
|
className?: string;
|
|
435
359
|
}
|
|
436
360
|
|
|
437
|
-
export declare const MagnifyGlassIcon: FC<{
|
|
438
|
-
className?: string;
|
|
439
|
-
}>;
|
|
440
|
-
|
|
441
361
|
export declare const MobileFilterMenu: ForwardRefExoticComponent<MobileFilterMenuProps & RefAttributes<HTMLDivElement>>;
|
|
442
362
|
|
|
443
363
|
export declare interface MobileFilterMenuProps extends HTMLAttributes<HTMLDivElement> {
|
|
@@ -464,14 +384,9 @@ export declare interface MobileMultiSelectFilterDropDownProps extends HTMLAttrib
|
|
|
464
384
|
placeholder?: string;
|
|
465
385
|
selected?: boolean;
|
|
466
386
|
setCheckBoxValue?: boolean;
|
|
467
|
-
/**
|
|
468
|
-
* @deprecated use `icon` instead to pass a react node
|
|
469
|
-
*/
|
|
470
387
|
dropdownIcon?: string;
|
|
471
|
-
icon?: React.ReactNode;
|
|
472
388
|
error?: string;
|
|
473
389
|
noDataError?: string;
|
|
474
|
-
disabled?: boolean;
|
|
475
390
|
}
|
|
476
391
|
|
|
477
392
|
export declare const MobileSelectCardDropDown: ForwardRefExoticComponent<MobileSelectCardDropDownProps & RefAttributes<HTMLDivElement>>;
|
|
@@ -489,14 +404,9 @@ export declare interface MobileSelectCardDropDownProps extends HTMLAttributes<HT
|
|
|
489
404
|
}) => void;
|
|
490
405
|
placeholder?: string;
|
|
491
406
|
selected?: boolean;
|
|
492
|
-
/**
|
|
493
|
-
* @deprecated use `icon` instead to pass a react node
|
|
494
|
-
*/
|
|
495
407
|
dropdownIcon?: string;
|
|
496
|
-
icon?: React.ReactNode;
|
|
497
408
|
error?: string;
|
|
498
409
|
noDataError?: string;
|
|
499
|
-
disabled?: boolean;
|
|
500
410
|
}
|
|
501
411
|
|
|
502
412
|
export declare const MobileTootip: FC<PropsWithChildren<TooltipProps>>;
|
|
@@ -505,28 +415,12 @@ export declare const MoonIcon: FC<{
|
|
|
505
415
|
className?: string;
|
|
506
416
|
}>;
|
|
507
417
|
|
|
508
|
-
export declare const OpenNewIcon: FC<{
|
|
509
|
-
className?: string;
|
|
510
|
-
}>;
|
|
511
|
-
|
|
512
418
|
declare interface Option_2 {
|
|
513
419
|
label: string;
|
|
514
420
|
id?: number | 'All';
|
|
515
421
|
}
|
|
516
422
|
export { Option_2 as Option }
|
|
517
423
|
|
|
518
|
-
export declare const PencilIcon: FC<{
|
|
519
|
-
className?: string;
|
|
520
|
-
}>;
|
|
521
|
-
|
|
522
|
-
export declare const PlusCircleIcon: FC<{
|
|
523
|
-
className?: string;
|
|
524
|
-
}>;
|
|
525
|
-
|
|
526
|
-
export declare const PreviewIcon: FC<{
|
|
527
|
-
className?: string;
|
|
528
|
-
}>;
|
|
529
|
-
|
|
530
424
|
export declare const PriceRangeSlider: default_2.FC<PriceRangeSliderProps>;
|
|
531
425
|
|
|
532
426
|
export declare interface PriceRangeSliderProps {
|
|
@@ -546,7 +440,6 @@ export declare interface PriceRangeSliderProps {
|
|
|
546
440
|
onPriceRangeChange?: (value: [number | '', number | '']) => void;
|
|
547
441
|
currency?: string;
|
|
548
442
|
value?: [number | '', number | ''];
|
|
549
|
-
disabled?: boolean;
|
|
550
443
|
}
|
|
551
444
|
|
|
552
445
|
export declare const PromoDialog: default_2.ForwardRefExoticComponent<PromoDialogProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -610,32 +503,11 @@ export declare const RulerRegularIcon: FC<{
|
|
|
610
503
|
|
|
611
504
|
export declare type ScreenSize = 'mobile' | 'tablet' | 'desktop';
|
|
612
505
|
|
|
613
|
-
export declare
|
|
614
|
-
None = "none",
|
|
615
|
-
Selected = "selected",
|
|
616
|
-
Added = "added"
|
|
617
|
-
}
|
|
618
|
-
|
|
619
|
-
export declare const SelectPopover: ForwardRefExoticComponent<SelectPopoverProps & RefAttributes<HTMLDivElement>>;
|
|
506
|
+
export declare const Scrollbar: FC<ScrollbarProps>;
|
|
620
507
|
|
|
621
|
-
export declare interface
|
|
622
|
-
showPopup?: boolean;
|
|
623
|
-
mobileContainerClassname?: string;
|
|
624
|
-
desktopContainerClassname?: string;
|
|
625
|
-
maxWidth?: string;
|
|
626
|
-
options?: Array<{
|
|
627
|
-
label: string;
|
|
628
|
-
icon: string | ReactNode;
|
|
629
|
-
value: string;
|
|
630
|
-
}>;
|
|
631
|
-
onOptionSelected?: (value: string) => void;
|
|
632
|
-
handleClose?: () => void;
|
|
508
|
+
export declare interface ScrollbarProps extends Props {
|
|
633
509
|
}
|
|
634
510
|
|
|
635
|
-
export declare const ShareIcon: FC<{
|
|
636
|
-
className?: string;
|
|
637
|
-
}>;
|
|
638
|
-
|
|
639
511
|
export declare const SlickImageCarousel: default_2.ForwardRefExoticComponent<SlickImageCarouselProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
640
512
|
|
|
641
513
|
export declare type SlickImageCarouselProps = {
|
|
@@ -674,25 +546,6 @@ export declare interface StepperProps {
|
|
|
674
546
|
outerMobileDivClass?: string;
|
|
675
547
|
}
|
|
676
548
|
|
|
677
|
-
export declare const StepsList: FC<StepsListProps>;
|
|
678
|
-
|
|
679
|
-
export declare const StepsListItem: FC<StepsListItemProps>;
|
|
680
|
-
|
|
681
|
-
export declare type StepsListItemProps = {
|
|
682
|
-
title: string;
|
|
683
|
-
description: string;
|
|
684
|
-
IconComponent: FC<{
|
|
685
|
-
className?: string;
|
|
686
|
-
}>;
|
|
687
|
-
iconClassName?: string;
|
|
688
|
-
className?: string;
|
|
689
|
-
};
|
|
690
|
-
|
|
691
|
-
export declare type StepsListProps = {
|
|
692
|
-
steps: StepsListItemProps[];
|
|
693
|
-
className?: string;
|
|
694
|
-
};
|
|
695
|
-
|
|
696
549
|
export declare const Switch: default_2.ForwardRefExoticComponent<SwitchProps & default_2.RefAttributes<HTMLInputElement>>;
|
|
697
550
|
|
|
698
551
|
export declare interface SwitchProps {
|
|
@@ -702,17 +555,11 @@ export declare interface SwitchProps {
|
|
|
702
555
|
htmlId?: string;
|
|
703
556
|
}
|
|
704
557
|
|
|
705
|
-
export declare const tabletMinWidth: number;
|
|
706
|
-
|
|
707
558
|
declare type TagProps = {
|
|
708
559
|
icon: default_2.ReactNode;
|
|
709
560
|
label: string;
|
|
710
561
|
};
|
|
711
562
|
|
|
712
|
-
export declare const ThreeDotsCircleIcon: FC<{
|
|
713
|
-
className?: string;
|
|
714
|
-
}>;
|
|
715
|
-
|
|
716
563
|
export declare const Timer: default_2.ForwardRefExoticComponent<TimerProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
717
564
|
|
|
718
565
|
export declare interface TimerProps {
|
|
@@ -721,12 +568,6 @@ export declare interface TimerProps {
|
|
|
721
568
|
outerDivClass?: string;
|
|
722
569
|
}
|
|
723
570
|
|
|
724
|
-
export declare const toast: typeof toast_2;
|
|
725
|
-
|
|
726
|
-
export declare const ToastContainer: FC<ToastContainerProps>;
|
|
727
|
-
|
|
728
|
-
export declare type ToastContainerProps = ToastContainerProps_2;
|
|
729
|
-
|
|
730
571
|
export declare const ToggleCard: default_2.ForwardRefExoticComponent<ToggleCardProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
731
572
|
|
|
732
573
|
export declare interface ToggleCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
@@ -805,50 +646,6 @@ export declare interface TopNavContainerMobileProps extends HTMLAttributes<HTMLD
|
|
|
805
646
|
buttonText: string;
|
|
806
647
|
}
|
|
807
648
|
|
|
808
|
-
export declare const TrashIcon: FC<{
|
|
809
|
-
className?: string;
|
|
810
|
-
}>;
|
|
811
|
-
|
|
812
|
-
export declare const TravelList: default_2.ForwardRefExoticComponent<TravelListProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
813
|
-
|
|
814
|
-
export declare const TravelListItem: default_2.ForwardRefExoticComponent<TravelListItemProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
815
|
-
|
|
816
|
-
export declare interface TravelListItemProps {
|
|
817
|
-
title?: string;
|
|
818
|
-
homeCount?: number;
|
|
819
|
-
location?: string;
|
|
820
|
-
dates?: string;
|
|
821
|
-
budget?: string;
|
|
822
|
-
shareLink?: string;
|
|
823
|
-
onClickEditBtn?: () => void;
|
|
824
|
-
onClickViewBtn?: () => void;
|
|
825
|
-
onClickShareBtn?: () => void;
|
|
826
|
-
hideEdit?: boolean;
|
|
827
|
-
hideShare?: boolean;
|
|
828
|
-
}
|
|
829
|
-
|
|
830
|
-
export declare const TravelListPropertyItem: default_2.ForwardRefExoticComponent<TravelListPropertyItemProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
831
|
-
|
|
832
|
-
export declare interface TravelListPropertyItemProps {
|
|
833
|
-
className?: string;
|
|
834
|
-
title?: string;
|
|
835
|
-
neighborhood?: string;
|
|
836
|
-
bedroom?: string;
|
|
837
|
-
area?: string;
|
|
838
|
-
price?: string;
|
|
839
|
-
guests?: string;
|
|
840
|
-
imageUrl?: string;
|
|
841
|
-
onOpenLinkClick?: () => void;
|
|
842
|
-
onDeleteBtnClick?: () => void;
|
|
843
|
-
isUnavailable?: boolean;
|
|
844
|
-
}
|
|
845
|
-
|
|
846
|
-
export declare interface TravelListProps extends default_2.PropsWithChildren {
|
|
847
|
-
items?: TravelListItemProps[];
|
|
848
|
-
hideShare?: boolean;
|
|
849
|
-
hideEdit?: boolean;
|
|
850
|
-
}
|
|
851
|
-
|
|
852
649
|
export declare const TwoColumnDialog: ForwardRefExoticComponent<TwoColumnDialogProps & RefAttributes<HTMLDivElement>>;
|
|
853
650
|
|
|
854
651
|
export declare interface TwoColumnDialogProps extends HTMLAttributes<HTMLDivElement> {
|