design-system-silkhaus 1.2.0 → 1.3.0-beta.toaster.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.cjs +47 -47
- package/dist/index.d.ts +36 -35
- package/dist/index.js +10207 -9838
- package/dist/style.css +1 -1
- package/package.json +2 -1
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>>;
|
|
@@ -126,32 +128,6 @@ export declare interface ButtonProps extends default_2.ButtonHTMLAttributes<HTML
|
|
|
126
128
|
disabled?: true | false;
|
|
127
129
|
startIcon?: default_2.ReactNode;
|
|
128
130
|
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;
|
|
155
131
|
}
|
|
156
132
|
|
|
157
133
|
export declare const Card: React_2.ForwardRefExoticComponent<CardProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -271,6 +247,10 @@ export declare const HandCursorTapIcon: FC<{
|
|
|
271
247
|
className?: string;
|
|
272
248
|
}>;
|
|
273
249
|
|
|
250
|
+
export declare const HomeIcon: FC<{
|
|
251
|
+
className?: string;
|
|
252
|
+
}>;
|
|
253
|
+
|
|
274
254
|
export declare const HouseRegularIcon: FC<{
|
|
275
255
|
className?: string;
|
|
276
256
|
}>;
|
|
@@ -336,6 +316,10 @@ export declare type ListingCardProps = {
|
|
|
336
316
|
onClick: () => void;
|
|
337
317
|
};
|
|
338
318
|
|
|
319
|
+
export declare const LocationIcon: FC<{
|
|
320
|
+
className?: string;
|
|
321
|
+
}>;
|
|
322
|
+
|
|
339
323
|
export declare const LongTermBanner: default_2.ForwardRefExoticComponent<LongTermBannerProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
340
324
|
|
|
341
325
|
export declare interface LongTermBannerProps {
|
|
@@ -404,6 +388,10 @@ export declare const MoonIcon: FC<{
|
|
|
404
388
|
className?: string;
|
|
405
389
|
}>;
|
|
406
390
|
|
|
391
|
+
export declare const NoDataIcon: FC<{
|
|
392
|
+
className?: string;
|
|
393
|
+
}>;
|
|
394
|
+
|
|
407
395
|
declare interface Option_2 {
|
|
408
396
|
label: string;
|
|
409
397
|
id?: number | 'All';
|
|
@@ -530,16 +518,11 @@ export declare interface TimerProps {
|
|
|
530
518
|
outerDivClass?: string;
|
|
531
519
|
}
|
|
532
520
|
|
|
533
|
-
export declare const
|
|
521
|
+
export declare const toast: typeof toast_2;
|
|
534
522
|
|
|
535
|
-
export declare
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
heading?: string;
|
|
539
|
-
enabled: boolean;
|
|
540
|
-
subHeading?: string;
|
|
541
|
-
htmlId?: string;
|
|
542
|
-
}
|
|
523
|
+
export declare const ToastContainer: FC<ToastContainerProps>;
|
|
524
|
+
|
|
525
|
+
export declare type ToastContainerProps = ToastContainerProps_2;
|
|
543
526
|
|
|
544
527
|
/**
|
|
545
528
|
* A tooltip component that display a floating tooltip with the `content` on hover of the `trigger` element for desktop
|
|
@@ -608,6 +591,24 @@ export declare interface TopNavContainerMobileProps extends HTMLAttributes<HTMLD
|
|
|
608
591
|
buttonText: string;
|
|
609
592
|
}
|
|
610
593
|
|
|
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
|
+
|
|
611
612
|
export declare const TwoColumnDialog: ForwardRefExoticComponent<TwoColumnDialogProps & RefAttributes<HTMLDivElement>>;
|
|
612
613
|
|
|
613
614
|
export declare interface TwoColumnDialogProps extends HTMLAttributes<HTMLDivElement> {
|