design-system-silkhaus 2.1.2-beta.promo-bugfix.1 → 2.1.3-beta.export-utils

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
  /**
@@ -118,6 +120,10 @@ export declare interface BookingQuoteLineItemType {
118
120
  description?: string;
119
121
  }
120
122
 
123
+ export declare const BuildingIcon: FC<{
124
+ className?: string;
125
+ }>;
126
+
121
127
  export declare const Button: default_2.ForwardRefExoticComponent<ButtonProps & default_2.RefAttributes<HTMLButtonElement>>;
122
128
 
123
129
  export declare interface ButtonProps extends default_2.ButtonHTMLAttributes<HTMLButtonElement> {
@@ -155,6 +161,10 @@ export declare interface ButtonsGroupSelectorProps extends HTMLAttributes<HTMLDi
155
161
  minSelectionError?: string;
156
162
  }
157
163
 
164
+ export declare const CalendarIcon: FC<{
165
+ className?: string;
166
+ }>;
167
+
158
168
  export declare const Card: React_2.ForwardRefExoticComponent<CardProps & React_2.RefAttributes<HTMLDivElement>>;
159
169
 
160
170
  export declare const CardContent: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
@@ -188,6 +198,14 @@ export declare interface CheckboxProps extends HTMLAttributes<HTMLDivElement> {
188
198
  disabled?: boolean;
189
199
  }
190
200
 
201
+ export declare const CheckmarkCircleIcon: FC<{
202
+ className?: string;
203
+ }>;
204
+
205
+ export declare const CheckmarkIcon: FC<{
206
+ className?: string;
207
+ }>;
208
+
191
209
  export declare const ChevronLeftRegularIcon: FC<{
192
210
  className?: string;
193
211
  }>;
@@ -196,6 +214,14 @@ export declare const ChevronRightRegularIcon: FC<{
196
214
  className?: string;
197
215
  }>;
198
216
 
217
+ export declare const ClipboardIcon: FC<{
218
+ className?: string;
219
+ }>;
220
+
221
+ export declare const ClipboardSolidIcon: FC<{
222
+ className?: string;
223
+ }>;
224
+
199
225
  export declare const CloseIcon: FC<{
200
226
  className?: string;
201
227
  }>;
@@ -236,6 +262,12 @@ declare interface DateRangePickerProps {
236
262
  isAdjustHeightForViewport?: boolean;
237
263
  }
238
264
 
265
+ export declare const DeleteIcon: FC<{
266
+ className?: string;
267
+ }>;
268
+
269
+ export declare const desktopMinWidth: number;
270
+
239
271
  export declare const DesktopTooltip: FC<PropsWithChildren<TooltipProps>>;
240
272
 
241
273
  export declare const Dialog: ForwardRefExoticComponent<DialogProps & RefAttributes<HTMLDivElement>>;
@@ -291,6 +323,10 @@ export declare interface ImageCarouselProps extends default_2.HTMLAttributes<HTM
291
323
  images: string[];
292
324
  }
293
325
 
326
+ export declare const InfoIcon: FC<{
327
+ className?: string;
328
+ }>;
329
+
294
330
  export declare const Input: default_2.ForwardRefExoticComponent<InputProps & default_2.RefAttributes<HTMLInputElement>>;
295
331
 
296
332
  export declare interface InputProps extends default_2.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {
@@ -336,8 +372,14 @@ export declare type ListingCardProps = {
336
372
  totalPrice: string;
337
373
  slashedTotalPrice?: string;
338
374
  onClick: () => void;
375
+ selectable?: boolean;
376
+ selectionState?: SelectionStateEnum;
339
377
  };
340
378
 
379
+ export declare const LocationIcon: FC<{
380
+ className?: string;
381
+ }>;
382
+
341
383
  export declare const LongTermBanner: default_2.ForwardRefExoticComponent<LongTermBannerProps & default_2.RefAttributes<HTMLDivElement>>;
342
384
 
343
385
  export declare interface LongTermBannerProps {
@@ -349,6 +391,10 @@ export declare interface LongTermBannerProps {
349
391
  className?: string;
350
392
  }
351
393
 
394
+ export declare const MagnifyGlassIcon: FC<{
395
+ className?: string;
396
+ }>;
397
+
352
398
  export declare const MobileFilterMenu: ForwardRefExoticComponent<MobileFilterMenuProps & RefAttributes<HTMLDivElement>>;
353
399
 
354
400
  export declare interface MobileFilterMenuProps extends HTMLAttributes<HTMLDivElement> {
@@ -375,9 +421,14 @@ export declare interface MobileMultiSelectFilterDropDownProps extends HTMLAttrib
375
421
  placeholder?: string;
376
422
  selected?: boolean;
377
423
  setCheckBoxValue?: boolean;
424
+ /**
425
+ * @deprecated use `icon` instead to pass a react node
426
+ */
378
427
  dropdownIcon?: string;
428
+ icon?: React.ReactNode;
379
429
  error?: string;
380
430
  noDataError?: string;
431
+ disabled?: boolean;
381
432
  }
382
433
 
383
434
  export declare const MobileSelectCardDropDown: ForwardRefExoticComponent<MobileSelectCardDropDownProps & RefAttributes<HTMLDivElement>>;
@@ -395,9 +446,14 @@ export declare interface MobileSelectCardDropDownProps extends HTMLAttributes<HT
395
446
  }) => void;
396
447
  placeholder?: string;
397
448
  selected?: boolean;
449
+ /**
450
+ * @deprecated use `icon` instead to pass a react node
451
+ */
398
452
  dropdownIcon?: string;
453
+ icon?: React.ReactNode;
399
454
  error?: string;
400
455
  noDataError?: string;
456
+ disabled?: boolean;
401
457
  }
402
458
 
403
459
  export declare const MobileTootip: FC<PropsWithChildren<TooltipProps>>;
@@ -412,6 +468,18 @@ declare interface Option_2 {
412
468
  }
413
469
  export { Option_2 as Option }
414
470
 
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
+
415
483
  export declare const PriceRangeSlider: default_2.FC<PriceRangeSliderProps>;
416
484
 
417
485
  export declare interface PriceRangeSliderProps {
@@ -431,6 +499,7 @@ export declare interface PriceRangeSliderProps {
431
499
  onPriceRangeChange?: (value: [number | '', number | '']) => void;
432
500
  currency?: string;
433
501
  value?: [number | '', number | ''];
502
+ disabled?: boolean;
434
503
  }
435
504
 
436
505
  export declare const PromoDialog: default_2.ForwardRefExoticComponent<PromoDialogProps & default_2.RefAttributes<HTMLDivElement>>;
@@ -494,6 +563,36 @@ export declare const RulerRegularIcon: FC<{
494
563
 
495
564
  export declare type ScreenSize = 'mobile' | 'tablet' | 'desktop';
496
565
 
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
+
497
596
  export declare const SlickImageCarousel: default_2.ForwardRefExoticComponent<SlickImageCarouselProps & default_2.RefAttributes<HTMLDivElement>>;
498
597
 
499
598
  export declare type SlickImageCarouselProps = {
@@ -541,11 +640,17 @@ export declare interface SwitchProps {
541
640
  htmlId?: string;
542
641
  }
543
642
 
643
+ export declare const tabletMinWidth: number;
644
+
544
645
  declare type TagProps = {
545
646
  icon: default_2.ReactNode;
546
647
  label: string;
547
648
  };
548
649
 
650
+ export declare const ThreeDotsCircleIcon: FC<{
651
+ className?: string;
652
+ }>;
653
+
549
654
  export declare const Timer: default_2.ForwardRefExoticComponent<TimerProps & default_2.RefAttributes<HTMLDivElement>>;
550
655
 
551
656
  export declare interface TimerProps {
@@ -554,6 +659,12 @@ export declare interface TimerProps {
554
659
  outerDivClass?: string;
555
660
  }
556
661
 
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
+
557
668
  export declare const ToggleCard: default_2.ForwardRefExoticComponent<ToggleCardProps & default_2.RefAttributes<HTMLDivElement>>;
558
669
 
559
670
  export declare interface ToggleCardProps extends HTMLAttributes<HTMLDivElement> {
@@ -632,6 +743,50 @@ export declare interface TopNavContainerMobileProps extends HTMLAttributes<HTMLD
632
743
  buttonText: string;
633
744
  }
634
745
 
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
+
635
790
  export declare const TwoColumnDialog: ForwardRefExoticComponent<TwoColumnDialogProps & RefAttributes<HTMLDivElement>>;
636
791
 
637
792
  export declare interface TwoColumnDialogProps extends HTMLAttributes<HTMLDivElement> {