design-system-silkhaus 2.1.3-beta.export-utils → 2.1.3-beta.export-utils.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 -278
- package/dist/index.d.ts +4 -156
- package/dist/index.js +15934 -52244
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CalendarDayShape } from 'react-dates';
|
|
2
2
|
import { ClassProp } from 'class-variance-authority/types';
|
|
3
|
+
import { ClassValue } from 'clsx';
|
|
3
4
|
import { default as default_2 } from 'react';
|
|
4
5
|
import { FC } from 'react';
|
|
5
6
|
import { ForwardRefExoticComponent } from 'react';
|
|
@@ -11,8 +12,6 @@ import { PropsWithChildren } from 'react';
|
|
|
11
12
|
import * as React_2 from 'react';
|
|
12
13
|
import { ReactNode } from 'react';
|
|
13
14
|
import { RefAttributes } from 'react';
|
|
14
|
-
import { toast as toast_2 } from 'react-toastify';
|
|
15
|
-
import { ToastContainerProps as ToastContainerProps_2 } from 'react-toastify';
|
|
16
15
|
import { VariantProps } from 'class-variance-authority';
|
|
17
16
|
|
|
18
17
|
export declare const Accordion: default_2.ForwardRefExoticComponent<AccordionProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -63,7 +62,7 @@ export declare interface AlertDialogProps {
|
|
|
63
62
|
export declare const AnimatedModal: ForwardRefExoticComponent<AnimatedModalProps & RefAttributes<HTMLDivElement>>;
|
|
64
63
|
|
|
65
64
|
export declare interface AnimatedModalProps extends HTMLAttributes<HTMLDivElement> {
|
|
66
|
-
show
|
|
65
|
+
show: boolean;
|
|
67
66
|
handleClose?: () => void;
|
|
68
67
|
animation?: 'slideUp' | 'slideDown' | 'fadeIn';
|
|
69
68
|
/**
|
|
@@ -120,10 +119,6 @@ export declare interface BookingQuoteLineItemType {
|
|
|
120
119
|
description?: string;
|
|
121
120
|
}
|
|
122
121
|
|
|
123
|
-
export declare const BuildingIcon: FC<{
|
|
124
|
-
className?: string;
|
|
125
|
-
}>;
|
|
126
|
-
|
|
127
122
|
export declare const Button: default_2.ForwardRefExoticComponent<ButtonProps & default_2.RefAttributes<HTMLButtonElement>>;
|
|
128
123
|
|
|
129
124
|
export declare interface ButtonProps extends default_2.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
@@ -161,10 +156,6 @@ export declare interface ButtonsGroupSelectorProps extends HTMLAttributes<HTMLDi
|
|
|
161
156
|
minSelectionError?: string;
|
|
162
157
|
}
|
|
163
158
|
|
|
164
|
-
export declare const CalendarIcon: FC<{
|
|
165
|
-
className?: string;
|
|
166
|
-
}>;
|
|
167
|
-
|
|
168
159
|
export declare const Card: React_2.ForwardRefExoticComponent<CardProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
169
160
|
|
|
170
161
|
export declare const CardContent: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -198,14 +189,6 @@ export declare interface CheckboxProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
198
189
|
disabled?: boolean;
|
|
199
190
|
}
|
|
200
191
|
|
|
201
|
-
export declare const CheckmarkCircleIcon: FC<{
|
|
202
|
-
className?: string;
|
|
203
|
-
}>;
|
|
204
|
-
|
|
205
|
-
export declare const CheckmarkIcon: FC<{
|
|
206
|
-
className?: string;
|
|
207
|
-
}>;
|
|
208
|
-
|
|
209
192
|
export declare const ChevronLeftRegularIcon: FC<{
|
|
210
193
|
className?: string;
|
|
211
194
|
}>;
|
|
@@ -214,18 +197,12 @@ export declare const ChevronRightRegularIcon: FC<{
|
|
|
214
197
|
className?: string;
|
|
215
198
|
}>;
|
|
216
199
|
|
|
217
|
-
export declare const ClipboardIcon: FC<{
|
|
218
|
-
className?: string;
|
|
219
|
-
}>;
|
|
220
|
-
|
|
221
|
-
export declare const ClipboardSolidIcon: FC<{
|
|
222
|
-
className?: string;
|
|
223
|
-
}>;
|
|
224
|
-
|
|
225
200
|
export declare const CloseIcon: FC<{
|
|
226
201
|
className?: string;
|
|
227
202
|
}>;
|
|
228
203
|
|
|
204
|
+
export declare function cn(...inputs: ClassValue[]): string;
|
|
205
|
+
|
|
229
206
|
export declare const DateRangePicker: default_2.ForwardRefExoticComponent<DateRangePickerProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
230
207
|
|
|
231
208
|
declare interface DateRangePickerProps {
|
|
@@ -262,12 +239,6 @@ declare interface DateRangePickerProps {
|
|
|
262
239
|
isAdjustHeightForViewport?: boolean;
|
|
263
240
|
}
|
|
264
241
|
|
|
265
|
-
export declare const DeleteIcon: FC<{
|
|
266
|
-
className?: string;
|
|
267
|
-
}>;
|
|
268
|
-
|
|
269
|
-
export declare const desktopMinWidth: number;
|
|
270
|
-
|
|
271
242
|
export declare const DesktopTooltip: FC<PropsWithChildren<TooltipProps>>;
|
|
272
243
|
|
|
273
244
|
export declare const Dialog: ForwardRefExoticComponent<DialogProps & RefAttributes<HTMLDivElement>>;
|
|
@@ -323,10 +294,6 @@ export declare interface ImageCarouselProps extends default_2.HTMLAttributes<HTM
|
|
|
323
294
|
images: string[];
|
|
324
295
|
}
|
|
325
296
|
|
|
326
|
-
export declare const InfoIcon: FC<{
|
|
327
|
-
className?: string;
|
|
328
|
-
}>;
|
|
329
|
-
|
|
330
297
|
export declare const Input: default_2.ForwardRefExoticComponent<InputProps & default_2.RefAttributes<HTMLInputElement>>;
|
|
331
298
|
|
|
332
299
|
export declare interface InputProps extends default_2.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {
|
|
@@ -372,14 +339,8 @@ export declare type ListingCardProps = {
|
|
|
372
339
|
totalPrice: string;
|
|
373
340
|
slashedTotalPrice?: string;
|
|
374
341
|
onClick: () => void;
|
|
375
|
-
selectable?: boolean;
|
|
376
|
-
selectionState?: SelectionStateEnum;
|
|
377
342
|
};
|
|
378
343
|
|
|
379
|
-
export declare const LocationIcon: FC<{
|
|
380
|
-
className?: string;
|
|
381
|
-
}>;
|
|
382
|
-
|
|
383
344
|
export declare const LongTermBanner: default_2.ForwardRefExoticComponent<LongTermBannerProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
384
345
|
|
|
385
346
|
export declare interface LongTermBannerProps {
|
|
@@ -391,10 +352,6 @@ export declare interface LongTermBannerProps {
|
|
|
391
352
|
className?: string;
|
|
392
353
|
}
|
|
393
354
|
|
|
394
|
-
export declare const MagnifyGlassIcon: FC<{
|
|
395
|
-
className?: string;
|
|
396
|
-
}>;
|
|
397
|
-
|
|
398
355
|
export declare const MobileFilterMenu: ForwardRefExoticComponent<MobileFilterMenuProps & RefAttributes<HTMLDivElement>>;
|
|
399
356
|
|
|
400
357
|
export declare interface MobileFilterMenuProps extends HTMLAttributes<HTMLDivElement> {
|
|
@@ -421,14 +378,9 @@ export declare interface MobileMultiSelectFilterDropDownProps extends HTMLAttrib
|
|
|
421
378
|
placeholder?: string;
|
|
422
379
|
selected?: boolean;
|
|
423
380
|
setCheckBoxValue?: boolean;
|
|
424
|
-
/**
|
|
425
|
-
* @deprecated use `icon` instead to pass a react node
|
|
426
|
-
*/
|
|
427
381
|
dropdownIcon?: string;
|
|
428
|
-
icon?: React.ReactNode;
|
|
429
382
|
error?: string;
|
|
430
383
|
noDataError?: string;
|
|
431
|
-
disabled?: boolean;
|
|
432
384
|
}
|
|
433
385
|
|
|
434
386
|
export declare const MobileSelectCardDropDown: ForwardRefExoticComponent<MobileSelectCardDropDownProps & RefAttributes<HTMLDivElement>>;
|
|
@@ -446,14 +398,9 @@ export declare interface MobileSelectCardDropDownProps extends HTMLAttributes<HT
|
|
|
446
398
|
}) => void;
|
|
447
399
|
placeholder?: string;
|
|
448
400
|
selected?: boolean;
|
|
449
|
-
/**
|
|
450
|
-
* @deprecated use `icon` instead to pass a react node
|
|
451
|
-
*/
|
|
452
401
|
dropdownIcon?: string;
|
|
453
|
-
icon?: React.ReactNode;
|
|
454
402
|
error?: string;
|
|
455
403
|
noDataError?: string;
|
|
456
|
-
disabled?: boolean;
|
|
457
404
|
}
|
|
458
405
|
|
|
459
406
|
export declare const MobileTootip: FC<PropsWithChildren<TooltipProps>>;
|
|
@@ -468,18 +415,6 @@ declare interface Option_2 {
|
|
|
468
415
|
}
|
|
469
416
|
export { Option_2 as Option }
|
|
470
417
|
|
|
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
|
-
|
|
483
418
|
export declare const PriceRangeSlider: default_2.FC<PriceRangeSliderProps>;
|
|
484
419
|
|
|
485
420
|
export declare interface PriceRangeSliderProps {
|
|
@@ -499,7 +434,6 @@ export declare interface PriceRangeSliderProps {
|
|
|
499
434
|
onPriceRangeChange?: (value: [number | '', number | '']) => void;
|
|
500
435
|
currency?: string;
|
|
501
436
|
value?: [number | '', number | ''];
|
|
502
|
-
disabled?: boolean;
|
|
503
437
|
}
|
|
504
438
|
|
|
505
439
|
export declare const PromoDialog: default_2.ForwardRefExoticComponent<PromoDialogProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -563,36 +497,6 @@ export declare const RulerRegularIcon: FC<{
|
|
|
563
497
|
|
|
564
498
|
export declare type ScreenSize = 'mobile' | 'tablet' | 'desktop';
|
|
565
499
|
|
|
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
|
-
|
|
596
500
|
export declare const SlickImageCarousel: default_2.ForwardRefExoticComponent<SlickImageCarouselProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
597
501
|
|
|
598
502
|
export declare type SlickImageCarouselProps = {
|
|
@@ -640,17 +544,11 @@ export declare interface SwitchProps {
|
|
|
640
544
|
htmlId?: string;
|
|
641
545
|
}
|
|
642
546
|
|
|
643
|
-
export declare const tabletMinWidth: number;
|
|
644
|
-
|
|
645
547
|
declare type TagProps = {
|
|
646
548
|
icon: default_2.ReactNode;
|
|
647
549
|
label: string;
|
|
648
550
|
};
|
|
649
551
|
|
|
650
|
-
export declare const ThreeDotsCircleIcon: FC<{
|
|
651
|
-
className?: string;
|
|
652
|
-
}>;
|
|
653
|
-
|
|
654
552
|
export declare const Timer: default_2.ForwardRefExoticComponent<TimerProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
655
553
|
|
|
656
554
|
export declare interface TimerProps {
|
|
@@ -659,12 +557,6 @@ export declare interface TimerProps {
|
|
|
659
557
|
outerDivClass?: string;
|
|
660
558
|
}
|
|
661
559
|
|
|
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
|
-
|
|
668
560
|
export declare const ToggleCard: default_2.ForwardRefExoticComponent<ToggleCardProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
669
561
|
|
|
670
562
|
export declare interface ToggleCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
@@ -743,50 +635,6 @@ export declare interface TopNavContainerMobileProps extends HTMLAttributes<HTMLD
|
|
|
743
635
|
buttonText: string;
|
|
744
636
|
}
|
|
745
637
|
|
|
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
|
-
|
|
790
638
|
export declare const TwoColumnDialog: ForwardRefExoticComponent<TwoColumnDialogProps & RefAttributes<HTMLDivElement>>;
|
|
791
639
|
|
|
792
640
|
export declare interface TwoColumnDialogProps extends HTMLAttributes<HTMLDivElement> {
|