design-system-silkhaus 2.3.0-beta.travel-list.26 → 2.4.0-beta.mission-values.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 +47 -47
- package/dist/index.d.ts +8 -217
- package/dist/index.js +14309 -15866
- package/dist/style.css +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -11,8 +11,6 @@ import { PropsWithChildren } from 'react';
|
|
|
11
11
|
import * as React_2 from 'react';
|
|
12
12
|
import { ReactNode } from 'react';
|
|
13
13
|
import { RefAttributes } from 'react';
|
|
14
|
-
import { toast as toast_2 } from 'react-toastify';
|
|
15
|
-
import { ToastContainerProps as ToastContainerProps_2 } from 'react-toastify';
|
|
16
14
|
import { VariantProps } from 'class-variance-authority';
|
|
17
15
|
|
|
18
16
|
export declare const Accordion: default_2.ForwardRefExoticComponent<AccordionProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -30,10 +28,6 @@ export declare interface AccordionProps {
|
|
|
30
28
|
isExpanded?: boolean;
|
|
31
29
|
}
|
|
32
30
|
|
|
33
|
-
declare type ActionButtonProps = {
|
|
34
|
-
label: string;
|
|
35
|
-
} & ButtonProps;
|
|
36
|
-
|
|
37
31
|
export declare const ActionFooter: default_2.ForwardRefExoticComponent<ActionFooterProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
38
32
|
|
|
39
33
|
export declare interface ActionFooterProps {
|
|
@@ -52,7 +46,7 @@ export declare const AlertDialog: default_2.ForwardRefExoticComponent<AlertDialo
|
|
|
52
46
|
export declare interface AlertDialogProps {
|
|
53
47
|
outerDivClassName?: string;
|
|
54
48
|
banner?: string;
|
|
55
|
-
title:
|
|
49
|
+
title: string;
|
|
56
50
|
description?: string;
|
|
57
51
|
disablePrimaryBtn: boolean;
|
|
58
52
|
showPrimaryBtn: boolean;
|
|
@@ -67,7 +61,7 @@ export declare interface AlertDialogProps {
|
|
|
67
61
|
export declare const AnimatedModal: ForwardRefExoticComponent<AnimatedModalProps & RefAttributes<HTMLDivElement>>;
|
|
68
62
|
|
|
69
63
|
export declare interface AnimatedModalProps extends HTMLAttributes<HTMLDivElement> {
|
|
70
|
-
show
|
|
64
|
+
show: boolean;
|
|
71
65
|
handleClose?: () => void;
|
|
72
66
|
animation?: 'slideUp' | 'slideDown' | 'fadeIn';
|
|
73
67
|
/**
|
|
@@ -124,10 +118,6 @@ export declare interface BookingQuoteLineItemType {
|
|
|
124
118
|
description?: string;
|
|
125
119
|
}
|
|
126
120
|
|
|
127
|
-
export declare const BuildingIcon: FC<{
|
|
128
|
-
className?: string;
|
|
129
|
-
}>;
|
|
130
|
-
|
|
131
121
|
export declare const Button: default_2.ForwardRefExoticComponent<ButtonProps & default_2.RefAttributes<HTMLButtonElement>>;
|
|
132
122
|
|
|
133
123
|
export declare interface ButtonProps extends default_2.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
@@ -138,20 +128,6 @@ export declare interface ButtonProps extends default_2.ButtonHTMLAttributes<HTML
|
|
|
138
128
|
endIcon?: default_2.ReactNode;
|
|
139
129
|
trackingId?: string;
|
|
140
130
|
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
131
|
}
|
|
156
132
|
|
|
157
133
|
export declare const ButtonsGroupSelector: default_2.ForwardRefExoticComponent<ButtonsGroupSelectorProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -187,10 +163,6 @@ export declare interface ButtonsGroupSelectorProps extends HTMLAttributes<HTMLDi
|
|
|
187
163
|
buttonClassName?: string;
|
|
188
164
|
}
|
|
189
165
|
|
|
190
|
-
export declare const CalendarIcon: FC<{
|
|
191
|
-
className?: string;
|
|
192
|
-
}>;
|
|
193
|
-
|
|
194
166
|
export declare const Card: React_2.ForwardRefExoticComponent<CardProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
195
167
|
|
|
196
168
|
export declare const CardContent: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -224,14 +196,6 @@ export declare interface CheckboxProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
224
196
|
disabled?: boolean;
|
|
225
197
|
}
|
|
226
198
|
|
|
227
|
-
export declare const CheckmarkCircleIcon: FC<{
|
|
228
|
-
className?: string;
|
|
229
|
-
}>;
|
|
230
|
-
|
|
231
|
-
export declare const CheckmarkIcon: FC<{
|
|
232
|
-
className?: string;
|
|
233
|
-
}>;
|
|
234
|
-
|
|
235
199
|
export declare const ChevronLeftRegularIcon: FC<{
|
|
236
200
|
className?: string;
|
|
237
201
|
}>;
|
|
@@ -240,14 +204,6 @@ export declare const ChevronRightRegularIcon: FC<{
|
|
|
240
204
|
className?: string;
|
|
241
205
|
}>;
|
|
242
206
|
|
|
243
|
-
export declare const ClipboardIcon: FC<{
|
|
244
|
-
className?: string;
|
|
245
|
-
}>;
|
|
246
|
-
|
|
247
|
-
export declare const ClipboardSolidIcon: FC<{
|
|
248
|
-
className?: string;
|
|
249
|
-
}>;
|
|
250
|
-
|
|
251
207
|
export declare const CloseIcon: FC<{
|
|
252
208
|
className?: string;
|
|
253
209
|
}>;
|
|
@@ -288,12 +244,6 @@ declare interface DateRangePickerProps {
|
|
|
288
244
|
isAdjustHeightForViewport?: boolean;
|
|
289
245
|
}
|
|
290
246
|
|
|
291
|
-
export declare const DeleteIcon: FC<{
|
|
292
|
-
className?: string;
|
|
293
|
-
}>;
|
|
294
|
-
|
|
295
|
-
export declare const desktopMinWidth: number;
|
|
296
|
-
|
|
297
247
|
export declare const DesktopTooltip: FC<PropsWithChildren<TooltipProps>>;
|
|
298
248
|
|
|
299
249
|
export declare const Dialog: ForwardRefExoticComponent<DialogProps & RefAttributes<HTMLDivElement>>;
|
|
@@ -302,22 +252,6 @@ export declare interface DialogProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
302
252
|
open: boolean;
|
|
303
253
|
}
|
|
304
254
|
|
|
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
255
|
export declare const FilterIcon: FC<{
|
|
322
256
|
className?: string;
|
|
323
257
|
}>;
|
|
@@ -335,12 +269,12 @@ declare const gridVariants: (props?: ({
|
|
|
335
269
|
gap?: "gap0" | "gap100" | "gap150" | "gap200" | "gap300" | "gap400" | "gap600" | "gap800" | "gap1000" | "gap1200" | "gap1600" | "gap2000" | null | undefined;
|
|
336
270
|
gapX?: "gap0" | "gap100" | "gap150" | "gap200" | "gap300" | "gap400" | "gap600" | "gap800" | "gap1000" | "gap1200" | "gap1600" | "gap2000" | null | undefined;
|
|
337
271
|
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?: "
|
|
272
|
+
justifyContent?: "normal" | "start" | "end" | "center" | "between" | "around" | "evenly" | "stretch" | null | undefined;
|
|
273
|
+
justifyItems?: "start" | "end" | "center" | "stretch" | null | undefined;
|
|
274
|
+
alignContent?: "normal" | "start" | "end" | "center" | "between" | "around" | "evenly" | "stretch" | "baseline" | null | undefined;
|
|
275
|
+
alignItems?: "start" | "end" | "center" | "stretch" | "baseline" | null | undefined;
|
|
276
|
+
placeContent?: "start" | "end" | "center" | "between" | "around" | "evenly" | "stretch" | "baseline" | null | undefined;
|
|
277
|
+
placeItems?: "start" | "end" | "center" | "stretch" | "baseline" | null | undefined;
|
|
344
278
|
} & ClassProp) | undefined) => string;
|
|
345
279
|
|
|
346
280
|
export declare const HandCursorTapIcon: FC<{
|
|
@@ -365,10 +299,6 @@ export declare interface ImageCarouselProps extends default_2.HTMLAttributes<HTM
|
|
|
365
299
|
images: string[];
|
|
366
300
|
}
|
|
367
301
|
|
|
368
|
-
export declare const InfoIcon: FC<{
|
|
369
|
-
className?: string;
|
|
370
|
-
}>;
|
|
371
|
-
|
|
372
302
|
export declare const Input: default_2.ForwardRefExoticComponent<InputProps & default_2.RefAttributes<HTMLInputElement>>;
|
|
373
303
|
|
|
374
304
|
export declare interface InputProps extends default_2.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {
|
|
@@ -414,15 +344,8 @@ export declare type ListingCardProps = {
|
|
|
414
344
|
totalPrice: string;
|
|
415
345
|
slashedTotalPrice?: string;
|
|
416
346
|
onClick: () => void;
|
|
417
|
-
selectable?: boolean;
|
|
418
|
-
selectionState?: SelectionStateEnum;
|
|
419
|
-
onViewListingClick?: () => void;
|
|
420
347
|
};
|
|
421
348
|
|
|
422
|
-
export declare const LocationIcon: FC<{
|
|
423
|
-
className?: string;
|
|
424
|
-
}>;
|
|
425
|
-
|
|
426
349
|
export declare const LongTermBanner: default_2.ForwardRefExoticComponent<LongTermBannerProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
427
350
|
|
|
428
351
|
export declare interface LongTermBannerProps {
|
|
@@ -434,10 +357,6 @@ export declare interface LongTermBannerProps {
|
|
|
434
357
|
className?: string;
|
|
435
358
|
}
|
|
436
359
|
|
|
437
|
-
export declare const MagnifyGlassIcon: FC<{
|
|
438
|
-
className?: string;
|
|
439
|
-
}>;
|
|
440
|
-
|
|
441
360
|
export declare const MobileFilterMenu: ForwardRefExoticComponent<MobileFilterMenuProps & RefAttributes<HTMLDivElement>>;
|
|
442
361
|
|
|
443
362
|
export declare interface MobileFilterMenuProps extends HTMLAttributes<HTMLDivElement> {
|
|
@@ -464,14 +383,9 @@ export declare interface MobileMultiSelectFilterDropDownProps extends HTMLAttrib
|
|
|
464
383
|
placeholder?: string;
|
|
465
384
|
selected?: boolean;
|
|
466
385
|
setCheckBoxValue?: boolean;
|
|
467
|
-
/**
|
|
468
|
-
* @deprecated use `icon` instead to pass a react node
|
|
469
|
-
*/
|
|
470
386
|
dropdownIcon?: string;
|
|
471
|
-
icon?: React.ReactNode;
|
|
472
387
|
error?: string;
|
|
473
388
|
noDataError?: string;
|
|
474
|
-
disabled?: boolean;
|
|
475
389
|
}
|
|
476
390
|
|
|
477
391
|
export declare const MobileSelectCardDropDown: ForwardRefExoticComponent<MobileSelectCardDropDownProps & RefAttributes<HTMLDivElement>>;
|
|
@@ -489,14 +403,9 @@ export declare interface MobileSelectCardDropDownProps extends HTMLAttributes<HT
|
|
|
489
403
|
}) => void;
|
|
490
404
|
placeholder?: string;
|
|
491
405
|
selected?: boolean;
|
|
492
|
-
/**
|
|
493
|
-
* @deprecated use `icon` instead to pass a react node
|
|
494
|
-
*/
|
|
495
406
|
dropdownIcon?: string;
|
|
496
|
-
icon?: React.ReactNode;
|
|
497
407
|
error?: string;
|
|
498
408
|
noDataError?: string;
|
|
499
|
-
disabled?: boolean;
|
|
500
409
|
}
|
|
501
410
|
|
|
502
411
|
export declare const MobileTootip: FC<PropsWithChildren<TooltipProps>>;
|
|
@@ -505,28 +414,12 @@ export declare const MoonIcon: FC<{
|
|
|
505
414
|
className?: string;
|
|
506
415
|
}>;
|
|
507
416
|
|
|
508
|
-
export declare const OpenNewIcon: FC<{
|
|
509
|
-
className?: string;
|
|
510
|
-
}>;
|
|
511
|
-
|
|
512
417
|
declare interface Option_2 {
|
|
513
418
|
label: string;
|
|
514
419
|
id?: number | 'All';
|
|
515
420
|
}
|
|
516
421
|
export { Option_2 as Option }
|
|
517
422
|
|
|
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
423
|
export declare const PriceRangeSlider: default_2.FC<PriceRangeSliderProps>;
|
|
531
424
|
|
|
532
425
|
export declare interface PriceRangeSliderProps {
|
|
@@ -546,7 +439,6 @@ export declare interface PriceRangeSliderProps {
|
|
|
546
439
|
onPriceRangeChange?: (value: [number | '', number | '']) => void;
|
|
547
440
|
currency?: string;
|
|
548
441
|
value?: [number | '', number | ''];
|
|
549
|
-
disabled?: boolean;
|
|
550
442
|
}
|
|
551
443
|
|
|
552
444
|
export declare const PromoDialog: default_2.ForwardRefExoticComponent<PromoDialogProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -610,32 +502,6 @@ export declare const RulerRegularIcon: FC<{
|
|
|
610
502
|
|
|
611
503
|
export declare type ScreenSize = 'mobile' | 'tablet' | 'desktop';
|
|
612
504
|
|
|
613
|
-
export declare enum SelectionStateEnum {
|
|
614
|
-
None = "none",
|
|
615
|
-
Selected = "selected",
|
|
616
|
-
Added = "added"
|
|
617
|
-
}
|
|
618
|
-
|
|
619
|
-
export declare const SelectPopover: ForwardRefExoticComponent<SelectPopoverProps & RefAttributes<HTMLDivElement>>;
|
|
620
|
-
|
|
621
|
-
export declare interface SelectPopoverProps {
|
|
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;
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
export declare const ShareIcon: FC<{
|
|
636
|
-
className?: string;
|
|
637
|
-
}>;
|
|
638
|
-
|
|
639
505
|
export declare const SlickImageCarousel: default_2.ForwardRefExoticComponent<SlickImageCarouselProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
640
506
|
|
|
641
507
|
export declare type SlickImageCarouselProps = {
|
|
@@ -674,25 +540,6 @@ export declare interface StepperProps {
|
|
|
674
540
|
outerMobileDivClass?: string;
|
|
675
541
|
}
|
|
676
542
|
|
|
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
543
|
export declare const Switch: default_2.ForwardRefExoticComponent<SwitchProps & default_2.RefAttributes<HTMLInputElement>>;
|
|
697
544
|
|
|
698
545
|
export declare interface SwitchProps {
|
|
@@ -702,17 +549,11 @@ export declare interface SwitchProps {
|
|
|
702
549
|
htmlId?: string;
|
|
703
550
|
}
|
|
704
551
|
|
|
705
|
-
export declare const tabletMinWidth: number;
|
|
706
|
-
|
|
707
552
|
declare type TagProps = {
|
|
708
553
|
icon: default_2.ReactNode;
|
|
709
554
|
label: string;
|
|
710
555
|
};
|
|
711
556
|
|
|
712
|
-
export declare const ThreeDotsCircleIcon: FC<{
|
|
713
|
-
className?: string;
|
|
714
|
-
}>;
|
|
715
|
-
|
|
716
557
|
export declare const Timer: default_2.ForwardRefExoticComponent<TimerProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
717
558
|
|
|
718
559
|
export declare interface TimerProps {
|
|
@@ -721,12 +562,6 @@ export declare interface TimerProps {
|
|
|
721
562
|
outerDivClass?: string;
|
|
722
563
|
}
|
|
723
564
|
|
|
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
565
|
export declare const ToggleCard: default_2.ForwardRefExoticComponent<ToggleCardProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
731
566
|
|
|
732
567
|
export declare interface ToggleCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
@@ -805,50 +640,6 @@ export declare interface TopNavContainerMobileProps extends HTMLAttributes<HTMLD
|
|
|
805
640
|
buttonText: string;
|
|
806
641
|
}
|
|
807
642
|
|
|
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
643
|
export declare const TwoColumnDialog: ForwardRefExoticComponent<TwoColumnDialogProps & RefAttributes<HTMLDivElement>>;
|
|
853
644
|
|
|
854
645
|
export declare interface TwoColumnDialogProps extends HTMLAttributes<HTMLDivElement> {
|