design-system-silkhaus 1.3.0-beta.toaster.2 → 2.1.0-beta.promo-dialog.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>>;
@@ -128,6 +126,33 @@ 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;
130
+ selected?: boolean;
131
+ }
132
+
133
+ export declare const ButtonsGroupSelector: default_2.ForwardRefExoticComponent<ButtonsGroupSelectorProps & default_2.RefAttributes<HTMLDivElement>>;
134
+
135
+ export declare interface ButtonsGroupSelectorProps extends HTMLAttributes<HTMLDivElement> {
136
+ label?: string;
137
+ value?: Array<{
138
+ label: string;
139
+ value: string;
140
+ }>;
141
+ options: Array<{
142
+ label: string;
143
+ value: string;
144
+ }>;
145
+ onSelectionChange?: (selected: Array<{
146
+ label: string;
147
+ value: string;
148
+ }>) => void;
149
+ placeholder?: string;
150
+ selected?: boolean;
151
+ isMultiSelect?: boolean;
152
+ noDataError?: string;
153
+ minWidthButton?: string;
154
+ buttonWidth?: string;
155
+ minSelectionError?: string;
131
156
  }
132
157
 
133
158
  export declare const Card: React_2.ForwardRefExoticComponent<CardProps & React_2.RefAttributes<HTMLDivElement>>;
@@ -247,10 +272,6 @@ export declare const HandCursorTapIcon: FC<{
247
272
  className?: string;
248
273
  }>;
249
274
 
250
- export declare const HomeIcon: FC<{
251
- className?: string;
252
- }>;
253
-
254
275
  export declare const HouseRegularIcon: FC<{
255
276
  className?: string;
256
277
  }>;
@@ -316,10 +337,6 @@ export declare type ListingCardProps = {
316
337
  onClick: () => void;
317
338
  };
318
339
 
319
- export declare const LocationIcon: FC<{
320
- className?: string;
321
- }>;
322
-
323
340
  export declare const LongTermBanner: default_2.ForwardRefExoticComponent<LongTermBannerProps & default_2.RefAttributes<HTMLDivElement>>;
324
341
 
325
342
  export declare interface LongTermBannerProps {
@@ -388,10 +405,6 @@ export declare const MoonIcon: FC<{
388
405
  className?: string;
389
406
  }>;
390
407
 
391
- export declare const NoDataIcon: FC<{
392
- className?: string;
393
- }>;
394
-
395
408
  declare interface Option_2 {
396
409
  label: string;
397
410
  id?: number | 'All';
@@ -419,6 +432,28 @@ export declare interface PriceRangeSliderProps {
419
432
  value?: [number | '', number | ''];
420
433
  }
421
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
+
422
457
  export declare const QuestionMarkIcon: FC<{
423
458
  className?: string;
424
459
  }>;
@@ -518,11 +553,16 @@ export declare interface TimerProps {
518
553
  outerDivClass?: string;
519
554
  }
520
555
 
521
- export declare const toast: typeof toast_2;
522
-
523
- export declare const ToastContainer: FC<ToastContainerProps>;
556
+ export declare const ToggleCard: default_2.ForwardRefExoticComponent<ToggleCardProps & default_2.RefAttributes<HTMLDivElement>>;
524
557
 
525
- export declare type ToastContainerProps = ToastContainerProps_2;
558
+ export declare interface ToggleCardProps extends HTMLAttributes<HTMLDivElement> {
559
+ cardImg?: string;
560
+ onSelectionChange: (event: default_2.ChangeEvent<HTMLInputElement>) => void;
561
+ heading?: string;
562
+ enabled: boolean;
563
+ subHeading?: string;
564
+ htmlId?: string;
565
+ }
526
566
 
527
567
  /**
528
568
  * A tooltip component that display a floating tooltip with the `content` on hover of the `trigger` element for desktop
@@ -591,24 +631,6 @@ export declare interface TopNavContainerMobileProps extends HTMLAttributes<HTMLD
591
631
  buttonText: string;
592
632
  }
593
633
 
594
- export declare const TravelList: default_2.ForwardRefExoticComponent<TravelListProps & default_2.RefAttributes<HTMLDivElement>>;
595
-
596
- export declare const TravelListItem: default_2.ForwardRefExoticComponent<TravelListItemProps & default_2.RefAttributes<HTMLDivElement>>;
597
-
598
- export declare interface TravelListItemProps {
599
- title?: string;
600
- count?: number;
601
- startDate?: string;
602
- endDate?: string;
603
- minBudget?: number;
604
- maxBudget?: number;
605
- shareLink?: string;
606
- }
607
-
608
- export declare interface TravelListProps extends default_2.PropsWithChildren {
609
- items?: TravelListItemProps[];
610
- }
611
-
612
634
  export declare const TwoColumnDialog: ForwardRefExoticComponent<TwoColumnDialogProps & RefAttributes<HTMLDivElement>>;
613
635
 
614
636
  export declare interface TwoColumnDialogProps extends HTMLAttributes<HTMLDivElement> {