design-system-silkhaus 2.1.0 → 2.2.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.d.ts CHANGED
@@ -11,6 +11,8 @@ 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';
14
16
  import { VariantProps } from 'class-variance-authority';
15
17
 
16
18
  export declare const Accordion: default_2.ForwardRefExoticComponent<AccordionProps & default_2.RefAttributes<HTMLDivElement>>;
@@ -61,7 +63,7 @@ export declare interface AlertDialogProps {
61
63
  export declare const AnimatedModal: ForwardRefExoticComponent<AnimatedModalProps & RefAttributes<HTMLDivElement>>;
62
64
 
63
65
  export declare interface AnimatedModalProps extends HTMLAttributes<HTMLDivElement> {
64
- show: boolean;
66
+ show?: boolean;
65
67
  handleClose?: () => void;
66
68
  animation?: 'slideUp' | 'slideDown' | 'fadeIn';
67
69
  /**
@@ -187,6 +189,14 @@ export declare interface CheckboxProps extends HTMLAttributes<HTMLDivElement> {
187
189
  onClick?: (e: default_2.MouseEvent) => void;
188
190
  }
189
191
 
192
+ export declare const CheckmarkCircleIcon: FC<{
193
+ className?: string;
194
+ }>;
195
+
196
+ export declare const CheckmarkIcon: FC<{
197
+ className?: string;
198
+ }>;
199
+
190
200
  export declare const ChevronLeftRegularIcon: FC<{
191
201
  className?: string;
192
202
  }>;
@@ -195,6 +205,10 @@ export declare const ChevronRightRegularIcon: FC<{
195
205
  className?: string;
196
206
  }>;
197
207
 
208
+ export declare const ClipboardSolidIcon: FC<{
209
+ className?: string;
210
+ }>;
211
+
198
212
  export declare const CloseIcon: FC<{
199
213
  className?: string;
200
214
  }>;
@@ -235,6 +249,12 @@ declare interface DateRangePickerProps {
235
249
  isAdjustHeightForViewport?: boolean;
236
250
  }
237
251
 
252
+ export declare const DeleteIcon: FC<{
253
+ className?: string;
254
+ }>;
255
+
256
+ export declare const desktopMinWidth: number;
257
+
238
258
  export declare const DesktopTooltip: FC<PropsWithChildren<TooltipProps>>;
239
259
 
240
260
  export declare const Dialog: ForwardRefExoticComponent<DialogProps & RefAttributes<HTMLDivElement>>;
@@ -290,6 +310,10 @@ export declare interface ImageCarouselProps extends default_2.HTMLAttributes<HTM
290
310
  images: string[];
291
311
  }
292
312
 
313
+ export declare const InfoIcon: FC<{
314
+ className?: string;
315
+ }>;
316
+
293
317
  export declare const Input: default_2.ForwardRefExoticComponent<InputProps & default_2.RefAttributes<HTMLInputElement>>;
294
318
 
295
319
  export declare interface InputProps extends default_2.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {
@@ -335,8 +359,14 @@ export declare type ListingCardProps = {
335
359
  totalPrice: string;
336
360
  slashedTotalPrice?: string;
337
361
  onClick: () => void;
362
+ selectable?: boolean;
363
+ selectionState?: SelectionStateEnum;
338
364
  };
339
365
 
366
+ export declare const LocationIcon: FC<{
367
+ className?: string;
368
+ }>;
369
+
340
370
  export declare const LongTermBanner: default_2.ForwardRefExoticComponent<LongTermBannerProps & default_2.RefAttributes<HTMLDivElement>>;
341
371
 
342
372
  export declare interface LongTermBannerProps {
@@ -405,12 +435,28 @@ export declare const MoonIcon: FC<{
405
435
  className?: string;
406
436
  }>;
407
437
 
438
+ export declare const NoDataIcon: FC<{
439
+ className?: string;
440
+ }>;
441
+
408
442
  declare interface Option_2 {
409
443
  label: string;
410
444
  id?: number | 'All';
411
445
  }
412
446
  export { Option_2 as Option }
413
447
 
448
+ export declare const PencilIcon: FC<{
449
+ className?: string;
450
+ }>;
451
+
452
+ export declare const PlusCircleIcon: FC<{
453
+ className?: string;
454
+ }>;
455
+
456
+ export declare const PreviewIcon: FC<{
457
+ className?: string;
458
+ }>;
459
+
414
460
  export declare const PriceRangeSlider: default_2.FC<PriceRangeSliderProps>;
415
461
 
416
462
  export declare interface PriceRangeSliderProps {
@@ -493,6 +539,36 @@ export declare const RulerRegularIcon: FC<{
493
539
 
494
540
  export declare type ScreenSize = 'mobile' | 'tablet' | 'desktop';
495
541
 
542
+ export declare enum SelectionStateEnum {
543
+ None = "none",
544
+ Selected = "selected",
545
+ Added = "added"
546
+ }
547
+
548
+ export declare const SelectPopover: ForwardRefExoticComponent<SelectPopoverProps & RefAttributes<HTMLDivElement>>;
549
+
550
+ export declare interface SelectPopoverProps {
551
+ showPopup?: boolean;
552
+ mobileContainerClassname?: string;
553
+ desktopContainerClassname?: string;
554
+ maxWidth?: string;
555
+ options?: Array<{
556
+ label: string;
557
+ icon: string | ReactNode;
558
+ value: string;
559
+ }>;
560
+ onOptionSelected?: (value: string) => void;
561
+ handleClose?: () => void;
562
+ }
563
+
564
+ export declare const SendIcon: FC<{
565
+ className?: string;
566
+ }>;
567
+
568
+ export declare const ShareIcon: FC<{
569
+ className?: string;
570
+ }>;
571
+
496
572
  export declare const SlickImageCarousel: default_2.ForwardRefExoticComponent<SlickImageCarouselProps & default_2.RefAttributes<HTMLDivElement>>;
497
573
 
498
574
  export declare type SlickImageCarouselProps = {
@@ -540,11 +616,17 @@ export declare interface SwitchProps {
540
616
  htmlId?: string;
541
617
  }
542
618
 
619
+ export declare const tabletMinWidth: number;
620
+
543
621
  declare type TagProps = {
544
622
  icon: default_2.ReactNode;
545
623
  label: string;
546
624
  };
547
625
 
626
+ export declare const ThreeDotsCircleIcon: FC<{
627
+ className?: string;
628
+ }>;
629
+
548
630
  export declare const Timer: default_2.ForwardRefExoticComponent<TimerProps & default_2.RefAttributes<HTMLDivElement>>;
549
631
 
550
632
  export declare interface TimerProps {
@@ -553,6 +635,12 @@ export declare interface TimerProps {
553
635
  outerDivClass?: string;
554
636
  }
555
637
 
638
+ export declare const toast: typeof toast_2;
639
+
640
+ export declare const ToastContainer: FC<ToastContainerProps>;
641
+
642
+ export declare type ToastContainerProps = ToastContainerProps_2;
643
+
556
644
  export declare const ToggleCard: default_2.ForwardRefExoticComponent<ToggleCardProps & default_2.RefAttributes<HTMLDivElement>>;
557
645
 
558
646
  export declare interface ToggleCardProps extends HTMLAttributes<HTMLDivElement> {
@@ -631,6 +719,50 @@ export declare interface TopNavContainerMobileProps extends HTMLAttributes<HTMLD
631
719
  buttonText: string;
632
720
  }
633
721
 
722
+ export declare const TrashIcon: FC<{
723
+ className?: string;
724
+ }>;
725
+
726
+ export declare const TravelList: default_2.ForwardRefExoticComponent<TravelListProps & default_2.RefAttributes<HTMLDivElement>>;
727
+
728
+ export declare const TravelListItem: default_2.ForwardRefExoticComponent<TravelListItemProps & default_2.RefAttributes<HTMLDivElement>>;
729
+
730
+ export declare interface TravelListItemProps {
731
+ title?: string;
732
+ homeCount?: number;
733
+ location?: string;
734
+ dates?: string;
735
+ budget?: string;
736
+ shareLink?: string;
737
+ onClickEditBtn?: () => void;
738
+ onClickViewBtn?: () => void;
739
+ onClickShareBtn?: () => void;
740
+ hideEdit?: boolean;
741
+ hideShare?: boolean;
742
+ }
743
+
744
+ export declare const TravelListPropertyItem: default_2.ForwardRefExoticComponent<TravelListPropertyItemProps & default_2.RefAttributes<HTMLDivElement>>;
745
+
746
+ export declare interface TravelListPropertyItemProps {
747
+ className?: string;
748
+ title?: string;
749
+ type?: string;
750
+ bedroom?: string;
751
+ area?: string;
752
+ price?: string;
753
+ guests?: string;
754
+ imageUrl?: string;
755
+ onOpenLinkClick?: () => void;
756
+ onDeleteBtnClick?: () => void;
757
+ isUnavailable?: boolean;
758
+ }
759
+
760
+ export declare interface TravelListProps extends default_2.PropsWithChildren {
761
+ items?: TravelListItemProps[];
762
+ hideShare?: boolean;
763
+ hideEdit?: boolean;
764
+ }
765
+
634
766
  export declare const TwoColumnDialog: ForwardRefExoticComponent<TwoColumnDialogProps & RefAttributes<HTMLDivElement>>;
635
767
 
636
768
  export declare interface TwoColumnDialogProps extends HTMLAttributes<HTMLDivElement> {