design-system-silkhaus 2.1.0-beta.travel-list.18 → 2.1.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.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?: boolean;
64
+ show: boolean;
67
65
  handleClose?: () => void;
68
66
  animation?: 'slideUp' | 'slideDown' | 'fadeIn';
69
67
  /**
@@ -128,6 +126,7 @@ export declare interface ButtonProps extends default_2.ButtonHTMLAttributes<HTML
128
126
  disabled?: true | false;
129
127
  startIcon?: default_2.ReactNode;
130
128
  endIcon?: default_2.ReactNode;
129
+ trackingId?: string;
131
130
  selected?: boolean;
132
131
  }
133
132
 
@@ -188,14 +187,6 @@ export declare interface CheckboxProps extends HTMLAttributes<HTMLDivElement> {
188
187
  onClick?: (e: default_2.MouseEvent) => void;
189
188
  }
190
189
 
191
- export declare const CheckmarkCircleIcon: FC<{
192
- className?: string;
193
- }>;
194
-
195
- export declare const CheckmarkIcon: FC<{
196
- className?: string;
197
- }>;
198
-
199
190
  export declare const ChevronLeftRegularIcon: FC<{
200
191
  className?: string;
201
192
  }>;
@@ -204,10 +195,6 @@ export declare const ChevronRightRegularIcon: FC<{
204
195
  className?: string;
205
196
  }>;
206
197
 
207
- export declare const ClipboardSolidIcon: FC<{
208
- className?: string;
209
- }>;
210
-
211
198
  export declare const CloseIcon: FC<{
212
199
  className?: string;
213
200
  }>;
@@ -248,12 +235,6 @@ declare interface DateRangePickerProps {
248
235
  isAdjustHeightForViewport?: boolean;
249
236
  }
250
237
 
251
- export declare const DeleteIcon: FC<{
252
- className?: string;
253
- }>;
254
-
255
- export declare const desktopMinWidth: number;
256
-
257
238
  export declare const DesktopTooltip: FC<PropsWithChildren<TooltipProps>>;
258
239
 
259
240
  export declare const Dialog: ForwardRefExoticComponent<DialogProps & RefAttributes<HTMLDivElement>>;
@@ -309,10 +290,6 @@ export declare interface ImageCarouselProps extends default_2.HTMLAttributes<HTM
309
290
  images: string[];
310
291
  }
311
292
 
312
- export declare const InfoIcon: FC<{
313
- className?: string;
314
- }>;
315
-
316
293
  export declare const Input: default_2.ForwardRefExoticComponent<InputProps & default_2.RefAttributes<HTMLInputElement>>;
317
294
 
318
295
  export declare interface InputProps extends default_2.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {
@@ -358,14 +335,8 @@ export declare type ListingCardProps = {
358
335
  totalPrice: string;
359
336
  slashedTotalPrice?: string;
360
337
  onClick: () => void;
361
- selectable?: boolean;
362
- selectionState?: SelectionStateEnum;
363
338
  };
364
339
 
365
- export declare const LocationIcon: FC<{
366
- className?: string;
367
- }>;
368
-
369
340
  export declare const LongTermBanner: default_2.ForwardRefExoticComponent<LongTermBannerProps & default_2.RefAttributes<HTMLDivElement>>;
370
341
 
371
342
  export declare interface LongTermBannerProps {
@@ -434,28 +405,12 @@ export declare const MoonIcon: FC<{
434
405
  className?: string;
435
406
  }>;
436
407
 
437
- export declare const NoDataIcon: FC<{
438
- className?: string;
439
- }>;
440
-
441
408
  declare interface Option_2 {
442
409
  label: string;
443
410
  id?: number | 'All';
444
411
  }
445
412
  export { Option_2 as Option }
446
413
 
447
- export declare const PencilIcon: FC<{
448
- className?: string;
449
- }>;
450
-
451
- export declare const PlusCircleIcon: FC<{
452
- className?: string;
453
- }>;
454
-
455
- export declare const PreviewIcon: FC<{
456
- className?: string;
457
- }>;
458
-
459
414
  export declare const PriceRangeSlider: default_2.FC<PriceRangeSliderProps>;
460
415
 
461
416
  export declare interface PriceRangeSliderProps {
@@ -477,6 +432,28 @@ export declare interface PriceRangeSliderProps {
477
432
  value?: [number | '', number | ''];
478
433
  }
479
434
 
435
+ export declare const PromoDialog: default_2.ForwardRefExoticComponent<PromoDialogProps & default_2.RefAttributes<HTMLDivElement>>;
436
+
437
+ export declare interface PromoDialogProps {
438
+ bannerImageUrlDesktop?: string;
439
+ bannerImageUrlMobile?: string;
440
+ heading?: string;
441
+ discountText?: string;
442
+ desc?: string;
443
+ warningText?: string;
444
+ primaryBtnText?: string | ReactNode;
445
+ secondaryBtnText?: string | ReactNode;
446
+ onPrimaryBtnClick?: (email: string) => void;
447
+ onSecondaryBtnClick?: () => void;
448
+ onCloseButtonClick?: () => void;
449
+ showRecaptchaBranding?: boolean;
450
+ primatyBtnTrackingId?: string;
451
+ secondaryBtnTrackingId?: string;
452
+ closeBtnTrackingId?: string;
453
+ className?: string;
454
+ open?: boolean;
455
+ }
456
+
480
457
  export declare const QuestionMarkIcon: FC<{
481
458
  className?: string;
482
459
  }>;
@@ -516,36 +493,6 @@ export declare const RulerRegularIcon: FC<{
516
493
 
517
494
  export declare type ScreenSize = 'mobile' | 'tablet' | 'desktop';
518
495
 
519
- export declare enum SelectionStateEnum {
520
- None = "none",
521
- Selected = "selected",
522
- Added = "added"
523
- }
524
-
525
- export declare const SelectPopover: ForwardRefExoticComponent<SelectPopoverProps & RefAttributes<HTMLDivElement>>;
526
-
527
- export declare interface SelectPopoverProps {
528
- showPopup?: boolean;
529
- mobileContainerClassname?: string;
530
- desktopContainerClassname?: string;
531
- maxWidth?: string;
532
- options?: Array<{
533
- label: string;
534
- icon: string | ReactNode;
535
- value: string;
536
- }>;
537
- onOptionSelected?: (value: string) => void;
538
- handleClose?: () => void;
539
- }
540
-
541
- export declare const SendIcon: FC<{
542
- className?: string;
543
- }>;
544
-
545
- export declare const ShareIcon: FC<{
546
- className?: string;
547
- }>;
548
-
549
496
  export declare const SlickImageCarousel: default_2.ForwardRefExoticComponent<SlickImageCarouselProps & default_2.RefAttributes<HTMLDivElement>>;
550
497
 
551
498
  export declare type SlickImageCarouselProps = {
@@ -593,17 +540,11 @@ export declare interface SwitchProps {
593
540
  htmlId?: string;
594
541
  }
595
542
 
596
- export declare const tabletMinWidth: number;
597
-
598
543
  declare type TagProps = {
599
544
  icon: default_2.ReactNode;
600
545
  label: string;
601
546
  };
602
547
 
603
- export declare const ThreeDotsCircleIcon: FC<{
604
- className?: string;
605
- }>;
606
-
607
548
  export declare const Timer: default_2.ForwardRefExoticComponent<TimerProps & default_2.RefAttributes<HTMLDivElement>>;
608
549
 
609
550
  export declare interface TimerProps {
@@ -612,12 +553,6 @@ export declare interface TimerProps {
612
553
  outerDivClass?: string;
613
554
  }
614
555
 
615
- export declare const toast: typeof toast_2;
616
-
617
- export declare const ToastContainer: FC<ToastContainerProps>;
618
-
619
- export declare type ToastContainerProps = ToastContainerProps_2;
620
-
621
556
  export declare const ToggleCard: default_2.ForwardRefExoticComponent<ToggleCardProps & default_2.RefAttributes<HTMLDivElement>>;
622
557
 
623
558
  export declare interface ToggleCardProps extends HTMLAttributes<HTMLDivElement> {
@@ -696,50 +631,6 @@ export declare interface TopNavContainerMobileProps extends HTMLAttributes<HTMLD
696
631
  buttonText: string;
697
632
  }
698
633
 
699
- export declare const TrashIcon: FC<{
700
- className?: string;
701
- }>;
702
-
703
- export declare const TravelList: default_2.ForwardRefExoticComponent<TravelListProps & default_2.RefAttributes<HTMLDivElement>>;
704
-
705
- export declare const TravelListItem: default_2.ForwardRefExoticComponent<TravelListItemProps & default_2.RefAttributes<HTMLDivElement>>;
706
-
707
- export declare interface TravelListItemProps {
708
- title?: string;
709
- homeCount?: number;
710
- location?: string;
711
- dates?: string;
712
- budget?: string;
713
- shareLink?: string;
714
- onClickEditBtn?: () => void;
715
- onClickViewBtn?: () => void;
716
- onClickShareBtn?: () => void;
717
- hideEdit?: boolean;
718
- hideShare?: boolean;
719
- }
720
-
721
- export declare const TravelListPropertyItem: default_2.ForwardRefExoticComponent<TravelListPropertyItemProps & default_2.RefAttributes<HTMLDivElement>>;
722
-
723
- export declare interface TravelListPropertyItemProps {
724
- className?: string;
725
- title?: string;
726
- type?: string;
727
- bedroom?: string;
728
- area?: string;
729
- price?: string;
730
- guests?: string;
731
- imageUrl?: string;
732
- onOpenLinkClick?: () => void;
733
- onDeleteBtnClick?: () => void;
734
- isUnavailable?: boolean;
735
- }
736
-
737
- export declare interface TravelListProps extends default_2.PropsWithChildren {
738
- items?: TravelListItemProps[];
739
- hideShare?: boolean;
740
- hideEdit?: boolean;
741
- }
742
-
743
634
  export declare const TwoColumnDialog: ForwardRefExoticComponent<TwoColumnDialogProps & RefAttributes<HTMLDivElement>>;
744
635
 
745
636
  export declare interface TwoColumnDialogProps extends HTMLAttributes<HTMLDivElement> {