design-system-silkhaus 1.3.0-beta.toaster.2 → 2.0.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>>;
@@ -128,6 +126,32 @@ 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
+ selected?: boolean;
130
+ }
131
+
132
+ export declare const ButtonsGroupSelector: default_2.ForwardRefExoticComponent<ButtonsGroupSelectorProps & default_2.RefAttributes<HTMLDivElement>>;
133
+
134
+ export declare interface ButtonsGroupSelectorProps extends HTMLAttributes<HTMLDivElement> {
135
+ label?: string;
136
+ value?: Array<{
137
+ label: string;
138
+ value: string;
139
+ }>;
140
+ options: Array<{
141
+ label: string;
142
+ value: string;
143
+ }>;
144
+ onSelectionChange?: (selected: Array<{
145
+ label: string;
146
+ value: string;
147
+ }>) => void;
148
+ placeholder?: string;
149
+ selected?: boolean;
150
+ isMultiSelect?: boolean;
151
+ noDataError?: string;
152
+ minWidthButton?: string;
153
+ buttonWidth?: string;
154
+ minSelectionError?: string;
131
155
  }
132
156
 
133
157
  export declare const Card: React_2.ForwardRefExoticComponent<CardProps & React_2.RefAttributes<HTMLDivElement>>;
@@ -247,10 +271,6 @@ export declare const HandCursorTapIcon: FC<{
247
271
  className?: string;
248
272
  }>;
249
273
 
250
- export declare const HomeIcon: FC<{
251
- className?: string;
252
- }>;
253
-
254
274
  export declare const HouseRegularIcon: FC<{
255
275
  className?: string;
256
276
  }>;
@@ -316,10 +336,6 @@ export declare type ListingCardProps = {
316
336
  onClick: () => void;
317
337
  };
318
338
 
319
- export declare const LocationIcon: FC<{
320
- className?: string;
321
- }>;
322
-
323
339
  export declare const LongTermBanner: default_2.ForwardRefExoticComponent<LongTermBannerProps & default_2.RefAttributes<HTMLDivElement>>;
324
340
 
325
341
  export declare interface LongTermBannerProps {
@@ -388,10 +404,6 @@ export declare const MoonIcon: FC<{
388
404
  className?: string;
389
405
  }>;
390
406
 
391
- export declare const NoDataIcon: FC<{
392
- className?: string;
393
- }>;
394
-
395
407
  declare interface Option_2 {
396
408
  label: string;
397
409
  id?: number | 'All';
@@ -518,11 +530,16 @@ export declare interface TimerProps {
518
530
  outerDivClass?: string;
519
531
  }
520
532
 
521
- export declare const toast: typeof toast_2;
522
-
523
- export declare const ToastContainer: FC<ToastContainerProps>;
533
+ export declare const ToggleCard: default_2.ForwardRefExoticComponent<ToggleCardProps & default_2.RefAttributes<HTMLDivElement>>;
524
534
 
525
- export declare type ToastContainerProps = ToastContainerProps_2;
535
+ export declare interface ToggleCardProps extends HTMLAttributes<HTMLDivElement> {
536
+ cardImg?: string;
537
+ onSelectionChange: (event: default_2.ChangeEvent<HTMLInputElement>) => void;
538
+ heading?: string;
539
+ enabled: boolean;
540
+ subHeading?: string;
541
+ htmlId?: string;
542
+ }
526
543
 
527
544
  /**
528
545
  * A tooltip component that display a floating tooltip with the `content` on hover of the `trigger` element for desktop
@@ -591,24 +608,6 @@ export declare interface TopNavContainerMobileProps extends HTMLAttributes<HTMLD
591
608
  buttonText: string;
592
609
  }
593
610
 
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
611
  export declare const TwoColumnDialog: ForwardRefExoticComponent<TwoColumnDialogProps & RefAttributes<HTMLDivElement>>;
613
612
 
614
613
  export declare interface TwoColumnDialogProps extends HTMLAttributes<HTMLDivElement> {