design-system-silkhaus 2.2.0-beta.travel-list.15 → 2.2.0
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 -278
- package/dist/index.d.ts +9 -156
- package/dist/index.js +25473 -61737
- package/dist/style.css +1 -1
- package/package.json +1 -2
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>>;
|
|
@@ -63,7 +61,7 @@ export declare interface AlertDialogProps {
|
|
|
63
61
|
export declare const AnimatedModal: ForwardRefExoticComponent<AnimatedModalProps & RefAttributes<HTMLDivElement>>;
|
|
64
62
|
|
|
65
63
|
export declare interface AnimatedModalProps extends HTMLAttributes<HTMLDivElement> {
|
|
66
|
-
show
|
|
64
|
+
show: boolean;
|
|
67
65
|
handleClose?: () => void;
|
|
68
66
|
animation?: 'slideUp' | 'slideDown' | 'fadeIn';
|
|
69
67
|
/**
|
|
@@ -120,10 +118,6 @@ export declare interface BookingQuoteLineItemType {
|
|
|
120
118
|
description?: string;
|
|
121
119
|
}
|
|
122
120
|
|
|
123
|
-
export declare const BuildingIcon: FC<{
|
|
124
|
-
className?: string;
|
|
125
|
-
}>;
|
|
126
|
-
|
|
127
121
|
export declare const Button: default_2.ForwardRefExoticComponent<ButtonProps & default_2.RefAttributes<HTMLButtonElement>>;
|
|
128
122
|
|
|
129
123
|
export declare interface ButtonProps extends default_2.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
@@ -159,12 +153,16 @@ export declare interface ButtonsGroupSelectorProps extends HTMLAttributes<HTMLDi
|
|
|
159
153
|
minWidthButton?: string;
|
|
160
154
|
buttonWidth?: string;
|
|
161
155
|
minSelectionError?: string;
|
|
156
|
+
/**
|
|
157
|
+
* className for the wrapping div on the buttons
|
|
158
|
+
*/
|
|
159
|
+
buttonsContainerClassName?: string;
|
|
160
|
+
/**
|
|
161
|
+
* className to applied on each button
|
|
162
|
+
*/
|
|
163
|
+
buttonClassName?: string;
|
|
162
164
|
}
|
|
163
165
|
|
|
164
|
-
export declare const CalendarIcon: FC<{
|
|
165
|
-
className?: string;
|
|
166
|
-
}>;
|
|
167
|
-
|
|
168
166
|
export declare const Card: React_2.ForwardRefExoticComponent<CardProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
169
167
|
|
|
170
168
|
export declare const CardContent: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -198,14 +196,6 @@ export declare interface CheckboxProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
198
196
|
disabled?: boolean;
|
|
199
197
|
}
|
|
200
198
|
|
|
201
|
-
export declare const CheckmarkCircleIcon: FC<{
|
|
202
|
-
className?: string;
|
|
203
|
-
}>;
|
|
204
|
-
|
|
205
|
-
export declare const CheckmarkIcon: FC<{
|
|
206
|
-
className?: string;
|
|
207
|
-
}>;
|
|
208
|
-
|
|
209
199
|
export declare const ChevronLeftRegularIcon: FC<{
|
|
210
200
|
className?: string;
|
|
211
201
|
}>;
|
|
@@ -214,14 +204,6 @@ export declare const ChevronRightRegularIcon: FC<{
|
|
|
214
204
|
className?: string;
|
|
215
205
|
}>;
|
|
216
206
|
|
|
217
|
-
export declare const ClipboardIcon: FC<{
|
|
218
|
-
className?: string;
|
|
219
|
-
}>;
|
|
220
|
-
|
|
221
|
-
export declare const ClipboardSolidIcon: FC<{
|
|
222
|
-
className?: string;
|
|
223
|
-
}>;
|
|
224
|
-
|
|
225
207
|
export declare const CloseIcon: FC<{
|
|
226
208
|
className?: string;
|
|
227
209
|
}>;
|
|
@@ -262,12 +244,6 @@ declare interface DateRangePickerProps {
|
|
|
262
244
|
isAdjustHeightForViewport?: boolean;
|
|
263
245
|
}
|
|
264
246
|
|
|
265
|
-
export declare const DeleteIcon: FC<{
|
|
266
|
-
className?: string;
|
|
267
|
-
}>;
|
|
268
|
-
|
|
269
|
-
export declare const desktopMinWidth: number;
|
|
270
|
-
|
|
271
247
|
export declare const DesktopTooltip: FC<PropsWithChildren<TooltipProps>>;
|
|
272
248
|
|
|
273
249
|
export declare const Dialog: ForwardRefExoticComponent<DialogProps & RefAttributes<HTMLDivElement>>;
|
|
@@ -323,10 +299,6 @@ export declare interface ImageCarouselProps extends default_2.HTMLAttributes<HTM
|
|
|
323
299
|
images: string[];
|
|
324
300
|
}
|
|
325
301
|
|
|
326
|
-
export declare const InfoIcon: FC<{
|
|
327
|
-
className?: string;
|
|
328
|
-
}>;
|
|
329
|
-
|
|
330
302
|
export declare const Input: default_2.ForwardRefExoticComponent<InputProps & default_2.RefAttributes<HTMLInputElement>>;
|
|
331
303
|
|
|
332
304
|
export declare interface InputProps extends default_2.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {
|
|
@@ -372,14 +344,8 @@ export declare type ListingCardProps = {
|
|
|
372
344
|
totalPrice: string;
|
|
373
345
|
slashedTotalPrice?: string;
|
|
374
346
|
onClick: () => void;
|
|
375
|
-
selectable?: boolean;
|
|
376
|
-
selectionState?: SelectionStateEnum;
|
|
377
347
|
};
|
|
378
348
|
|
|
379
|
-
export declare const LocationIcon: FC<{
|
|
380
|
-
className?: string;
|
|
381
|
-
}>;
|
|
382
|
-
|
|
383
349
|
export declare const LongTermBanner: default_2.ForwardRefExoticComponent<LongTermBannerProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
384
350
|
|
|
385
351
|
export declare interface LongTermBannerProps {
|
|
@@ -391,10 +357,6 @@ export declare interface LongTermBannerProps {
|
|
|
391
357
|
className?: string;
|
|
392
358
|
}
|
|
393
359
|
|
|
394
|
-
export declare const MagnifyGlassIcon: FC<{
|
|
395
|
-
className?: string;
|
|
396
|
-
}>;
|
|
397
|
-
|
|
398
360
|
export declare const MobileFilterMenu: ForwardRefExoticComponent<MobileFilterMenuProps & RefAttributes<HTMLDivElement>>;
|
|
399
361
|
|
|
400
362
|
export declare interface MobileFilterMenuProps extends HTMLAttributes<HTMLDivElement> {
|
|
@@ -421,14 +383,9 @@ export declare interface MobileMultiSelectFilterDropDownProps extends HTMLAttrib
|
|
|
421
383
|
placeholder?: string;
|
|
422
384
|
selected?: boolean;
|
|
423
385
|
setCheckBoxValue?: boolean;
|
|
424
|
-
/**
|
|
425
|
-
* @deprecated use `icon` instead to pass a react node
|
|
426
|
-
*/
|
|
427
386
|
dropdownIcon?: string;
|
|
428
|
-
icon?: React.ReactNode;
|
|
429
387
|
error?: string;
|
|
430
388
|
noDataError?: string;
|
|
431
|
-
disabled?: boolean;
|
|
432
389
|
}
|
|
433
390
|
|
|
434
391
|
export declare const MobileSelectCardDropDown: ForwardRefExoticComponent<MobileSelectCardDropDownProps & RefAttributes<HTMLDivElement>>;
|
|
@@ -446,14 +403,9 @@ export declare interface MobileSelectCardDropDownProps extends HTMLAttributes<HT
|
|
|
446
403
|
}) => void;
|
|
447
404
|
placeholder?: string;
|
|
448
405
|
selected?: boolean;
|
|
449
|
-
/**
|
|
450
|
-
* @deprecated use `icon` instead to pass a react node
|
|
451
|
-
*/
|
|
452
406
|
dropdownIcon?: string;
|
|
453
|
-
icon?: React.ReactNode;
|
|
454
407
|
error?: string;
|
|
455
408
|
noDataError?: string;
|
|
456
|
-
disabled?: boolean;
|
|
457
409
|
}
|
|
458
410
|
|
|
459
411
|
export declare const MobileTootip: FC<PropsWithChildren<TooltipProps>>;
|
|
@@ -468,18 +420,6 @@ declare interface Option_2 {
|
|
|
468
420
|
}
|
|
469
421
|
export { Option_2 as Option }
|
|
470
422
|
|
|
471
|
-
export declare const PencilIcon: FC<{
|
|
472
|
-
className?: string;
|
|
473
|
-
}>;
|
|
474
|
-
|
|
475
|
-
export declare const PlusCircleIcon: FC<{
|
|
476
|
-
className?: string;
|
|
477
|
-
}>;
|
|
478
|
-
|
|
479
|
-
export declare const PreviewIcon: FC<{
|
|
480
|
-
className?: string;
|
|
481
|
-
}>;
|
|
482
|
-
|
|
483
423
|
export declare const PriceRangeSlider: default_2.FC<PriceRangeSliderProps>;
|
|
484
424
|
|
|
485
425
|
export declare interface PriceRangeSliderProps {
|
|
@@ -499,7 +439,6 @@ export declare interface PriceRangeSliderProps {
|
|
|
499
439
|
onPriceRangeChange?: (value: [number | '', number | '']) => void;
|
|
500
440
|
currency?: string;
|
|
501
441
|
value?: [number | '', number | ''];
|
|
502
|
-
disabled?: boolean;
|
|
503
442
|
}
|
|
504
443
|
|
|
505
444
|
export declare const PromoDialog: default_2.ForwardRefExoticComponent<PromoDialogProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -563,36 +502,6 @@ export declare const RulerRegularIcon: FC<{
|
|
|
563
502
|
|
|
564
503
|
export declare type ScreenSize = 'mobile' | 'tablet' | 'desktop';
|
|
565
504
|
|
|
566
|
-
export declare enum SelectionStateEnum {
|
|
567
|
-
None = "none",
|
|
568
|
-
Selected = "selected",
|
|
569
|
-
Added = "added"
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
export declare const SelectPopover: ForwardRefExoticComponent<SelectPopoverProps & RefAttributes<HTMLDivElement>>;
|
|
573
|
-
|
|
574
|
-
export declare interface SelectPopoverProps {
|
|
575
|
-
showPopup?: boolean;
|
|
576
|
-
mobileContainerClassname?: string;
|
|
577
|
-
desktopContainerClassname?: string;
|
|
578
|
-
maxWidth?: string;
|
|
579
|
-
options?: Array<{
|
|
580
|
-
label: string;
|
|
581
|
-
icon: string | ReactNode;
|
|
582
|
-
value: string;
|
|
583
|
-
}>;
|
|
584
|
-
onOptionSelected?: (value: string) => void;
|
|
585
|
-
handleClose?: () => void;
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
export declare const SendIcon: FC<{
|
|
589
|
-
className?: string;
|
|
590
|
-
}>;
|
|
591
|
-
|
|
592
|
-
export declare const ShareIcon: FC<{
|
|
593
|
-
className?: string;
|
|
594
|
-
}>;
|
|
595
|
-
|
|
596
505
|
export declare const SlickImageCarousel: default_2.ForwardRefExoticComponent<SlickImageCarouselProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
597
506
|
|
|
598
507
|
export declare type SlickImageCarouselProps = {
|
|
@@ -640,17 +549,11 @@ export declare interface SwitchProps {
|
|
|
640
549
|
htmlId?: string;
|
|
641
550
|
}
|
|
642
551
|
|
|
643
|
-
export declare const tabletMinWidth: number;
|
|
644
|
-
|
|
645
552
|
declare type TagProps = {
|
|
646
553
|
icon: default_2.ReactNode;
|
|
647
554
|
label: string;
|
|
648
555
|
};
|
|
649
556
|
|
|
650
|
-
export declare const ThreeDotsCircleIcon: FC<{
|
|
651
|
-
className?: string;
|
|
652
|
-
}>;
|
|
653
|
-
|
|
654
557
|
export declare const Timer: default_2.ForwardRefExoticComponent<TimerProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
655
558
|
|
|
656
559
|
export declare interface TimerProps {
|
|
@@ -659,12 +562,6 @@ export declare interface TimerProps {
|
|
|
659
562
|
outerDivClass?: string;
|
|
660
563
|
}
|
|
661
564
|
|
|
662
|
-
export declare const toast: typeof toast_2;
|
|
663
|
-
|
|
664
|
-
export declare const ToastContainer: FC<ToastContainerProps>;
|
|
665
|
-
|
|
666
|
-
export declare type ToastContainerProps = ToastContainerProps_2;
|
|
667
|
-
|
|
668
565
|
export declare const ToggleCard: default_2.ForwardRefExoticComponent<ToggleCardProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
669
566
|
|
|
670
567
|
export declare interface ToggleCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
@@ -743,50 +640,6 @@ export declare interface TopNavContainerMobileProps extends HTMLAttributes<HTMLD
|
|
|
743
640
|
buttonText: string;
|
|
744
641
|
}
|
|
745
642
|
|
|
746
|
-
export declare const TrashIcon: FC<{
|
|
747
|
-
className?: string;
|
|
748
|
-
}>;
|
|
749
|
-
|
|
750
|
-
export declare const TravelList: default_2.ForwardRefExoticComponent<TravelListProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
751
|
-
|
|
752
|
-
export declare const TravelListItem: default_2.ForwardRefExoticComponent<TravelListItemProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
753
|
-
|
|
754
|
-
export declare interface TravelListItemProps {
|
|
755
|
-
title?: string;
|
|
756
|
-
homeCount?: number;
|
|
757
|
-
location?: string;
|
|
758
|
-
dates?: string;
|
|
759
|
-
budget?: string;
|
|
760
|
-
shareLink?: string;
|
|
761
|
-
onClickEditBtn?: () => void;
|
|
762
|
-
onClickViewBtn?: () => void;
|
|
763
|
-
onClickShareBtn?: () => void;
|
|
764
|
-
hideEdit?: boolean;
|
|
765
|
-
hideShare?: boolean;
|
|
766
|
-
}
|
|
767
|
-
|
|
768
|
-
export declare const TravelListPropertyItem: default_2.ForwardRefExoticComponent<TravelListPropertyItemProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
769
|
-
|
|
770
|
-
export declare interface TravelListPropertyItemProps {
|
|
771
|
-
className?: string;
|
|
772
|
-
title?: string;
|
|
773
|
-
neighborhood?: string;
|
|
774
|
-
bedroom?: string;
|
|
775
|
-
area?: string;
|
|
776
|
-
price?: string;
|
|
777
|
-
guests?: string;
|
|
778
|
-
imageUrl?: string;
|
|
779
|
-
onOpenLinkClick?: () => void;
|
|
780
|
-
onDeleteBtnClick?: () => void;
|
|
781
|
-
isUnavailable?: boolean;
|
|
782
|
-
}
|
|
783
|
-
|
|
784
|
-
export declare interface TravelListProps extends default_2.PropsWithChildren {
|
|
785
|
-
items?: TravelListItemProps[];
|
|
786
|
-
hideShare?: boolean;
|
|
787
|
-
hideEdit?: boolean;
|
|
788
|
-
}
|
|
789
|
-
|
|
790
643
|
export declare const TwoColumnDialog: ForwardRefExoticComponent<TwoColumnDialogProps & RefAttributes<HTMLDivElement>>;
|
|
791
644
|
|
|
792
645
|
export declare interface TwoColumnDialogProps extends HTMLAttributes<HTMLDivElement> {
|