design-system-silkhaus 2.1.0-beta.travel-list.18 → 2.1.1-beta.disablecheckbox.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,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
 
@@ -186,16 +185,9 @@ export declare interface CheckboxProps extends HTMLAttributes<HTMLDivElement> {
186
185
  onSelectionChange: () => void;
187
186
  label: string;
188
187
  onClick?: (e: default_2.MouseEvent) => void;
188
+ disabled?: boolean;
189
189
  }
190
190
 
191
- export declare const CheckmarkCircleIcon: FC<{
192
- className?: string;
193
- }>;
194
-
195
- export declare const CheckmarkIcon: FC<{
196
- className?: string;
197
- }>;
198
-
199
191
  export declare const ChevronLeftRegularIcon: FC<{
200
192
  className?: string;
201
193
  }>;
@@ -204,10 +196,6 @@ export declare const ChevronRightRegularIcon: FC<{
204
196
  className?: string;
205
197
  }>;
206
198
 
207
- export declare const ClipboardSolidIcon: FC<{
208
- className?: string;
209
- }>;
210
-
211
199
  export declare const CloseIcon: FC<{
212
200
  className?: string;
213
201
  }>;
@@ -248,12 +236,6 @@ declare interface DateRangePickerProps {
248
236
  isAdjustHeightForViewport?: boolean;
249
237
  }
250
238
 
251
- export declare const DeleteIcon: FC<{
252
- className?: string;
253
- }>;
254
-
255
- export declare const desktopMinWidth: number;
256
-
257
239
  export declare const DesktopTooltip: FC<PropsWithChildren<TooltipProps>>;
258
240
 
259
241
  export declare const Dialog: ForwardRefExoticComponent<DialogProps & RefAttributes<HTMLDivElement>>;
@@ -309,10 +291,6 @@ export declare interface ImageCarouselProps extends default_2.HTMLAttributes<HTM
309
291
  images: string[];
310
292
  }
311
293
 
312
- export declare const InfoIcon: FC<{
313
- className?: string;
314
- }>;
315
-
316
294
  export declare const Input: default_2.ForwardRefExoticComponent<InputProps & default_2.RefAttributes<HTMLInputElement>>;
317
295
 
318
296
  export declare interface InputProps extends default_2.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {
@@ -358,14 +336,8 @@ export declare type ListingCardProps = {
358
336
  totalPrice: string;
359
337
  slashedTotalPrice?: string;
360
338
  onClick: () => void;
361
- selectable?: boolean;
362
- selectionState?: SelectionStateEnum;
363
339
  };
364
340
 
365
- export declare const LocationIcon: FC<{
366
- className?: string;
367
- }>;
368
-
369
341
  export declare const LongTermBanner: default_2.ForwardRefExoticComponent<LongTermBannerProps & default_2.RefAttributes<HTMLDivElement>>;
370
342
 
371
343
  export declare interface LongTermBannerProps {
@@ -434,28 +406,12 @@ export declare const MoonIcon: FC<{
434
406
  className?: string;
435
407
  }>;
436
408
 
437
- export declare const NoDataIcon: FC<{
438
- className?: string;
439
- }>;
440
-
441
409
  declare interface Option_2 {
442
410
  label: string;
443
411
  id?: number | 'All';
444
412
  }
445
413
  export { Option_2 as Option }
446
414
 
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
415
  export declare const PriceRangeSlider: default_2.FC<PriceRangeSliderProps>;
460
416
 
461
417
  export declare interface PriceRangeSliderProps {
@@ -477,6 +433,28 @@ export declare interface PriceRangeSliderProps {
477
433
  value?: [number | '', number | ''];
478
434
  }
479
435
 
436
+ export declare const PromoDialog: default_2.ForwardRefExoticComponent<PromoDialogProps & default_2.RefAttributes<HTMLDivElement>>;
437
+
438
+ export declare interface PromoDialogProps {
439
+ bannerImageUrlDesktop?: string;
440
+ bannerImageUrlMobile?: string;
441
+ heading?: string;
442
+ discountText?: string;
443
+ desc?: string;
444
+ warningText?: string;
445
+ primaryBtnText?: string | ReactNode;
446
+ secondaryBtnText?: string | ReactNode;
447
+ onPrimaryBtnClick?: (email: string) => void;
448
+ onSecondaryBtnClick?: () => void;
449
+ onCloseButtonClick?: () => void;
450
+ showRecaptchaBranding?: boolean;
451
+ primatyBtnTrackingId?: string;
452
+ secondaryBtnTrackingId?: string;
453
+ closeBtnTrackingId?: string;
454
+ className?: string;
455
+ open?: boolean;
456
+ }
457
+
480
458
  export declare const QuestionMarkIcon: FC<{
481
459
  className?: string;
482
460
  }>;
@@ -516,36 +494,6 @@ export declare const RulerRegularIcon: FC<{
516
494
 
517
495
  export declare type ScreenSize = 'mobile' | 'tablet' | 'desktop';
518
496
 
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
497
  export declare const SlickImageCarousel: default_2.ForwardRefExoticComponent<SlickImageCarouselProps & default_2.RefAttributes<HTMLDivElement>>;
550
498
 
551
499
  export declare type SlickImageCarouselProps = {
@@ -593,17 +541,11 @@ export declare interface SwitchProps {
593
541
  htmlId?: string;
594
542
  }
595
543
 
596
- export declare const tabletMinWidth: number;
597
-
598
544
  declare type TagProps = {
599
545
  icon: default_2.ReactNode;
600
546
  label: string;
601
547
  };
602
548
 
603
- export declare const ThreeDotsCircleIcon: FC<{
604
- className?: string;
605
- }>;
606
-
607
549
  export declare const Timer: default_2.ForwardRefExoticComponent<TimerProps & default_2.RefAttributes<HTMLDivElement>>;
608
550
 
609
551
  export declare interface TimerProps {
@@ -612,12 +554,6 @@ export declare interface TimerProps {
612
554
  outerDivClass?: string;
613
555
  }
614
556
 
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
557
  export declare const ToggleCard: default_2.ForwardRefExoticComponent<ToggleCardProps & default_2.RefAttributes<HTMLDivElement>>;
622
558
 
623
559
  export declare interface ToggleCardProps extends HTMLAttributes<HTMLDivElement> {
@@ -696,50 +632,6 @@ export declare interface TopNavContainerMobileProps extends HTMLAttributes<HTMLD
696
632
  buttonText: string;
697
633
  }
698
634
 
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
635
  export declare const TwoColumnDialog: ForwardRefExoticComponent<TwoColumnDialogProps & RefAttributes<HTMLDivElement>>;
744
636
 
745
637
  export declare interface TwoColumnDialogProps extends HTMLAttributes<HTMLDivElement> {