design-system-silkhaus 2.1.3-beta.export-utils → 2.1.3-beta.fix-buttons-group
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 +2 -156
- package/dist/index.js +25476 -61749
- package/dist/style.css +1 -1
- package/package.json +1 -1
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>>;
|
|
@@ -63,7 +61,7 @@ export declare interface AlertDialogProps {
|
|
|
63
61
|
export declare const AnimatedModal: ForwardRefExoticComponent<AnimatedModalProps & RefAttributes<HTMLDivElement>>;
|
|
64
62
|
|
|
65
63
|
export declare interface AnimatedModalProps extends HTMLAttributes<HTMLDivElement> {
|
|
66
|
-
show
|
|
64
|
+
show: boolean;
|
|
67
65
|
handleClose?: () => void;
|
|
68
66
|
animation?: 'slideUp' | 'slideDown' | 'fadeIn';
|
|
69
67
|
/**
|
|
@@ -120,10 +118,6 @@ export declare interface BookingQuoteLineItemType {
|
|
|
120
118
|
description?: string;
|
|
121
119
|
}
|
|
122
120
|
|
|
123
|
-
export declare const BuildingIcon: FC<{
|
|
124
|
-
className?: string;
|
|
125
|
-
}>;
|
|
126
|
-
|
|
127
121
|
export declare const Button: default_2.ForwardRefExoticComponent<ButtonProps & default_2.RefAttributes<HTMLButtonElement>>;
|
|
128
122
|
|
|
129
123
|
export declare interface ButtonProps extends default_2.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
@@ -159,12 +153,9 @@ export declare interface ButtonsGroupSelectorProps extends HTMLAttributes<HTMLDi
|
|
|
159
153
|
minWidthButton?: string;
|
|
160
154
|
buttonWidth?: string;
|
|
161
155
|
minSelectionError?: string;
|
|
156
|
+
buttonsContainerClassName?: 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,14 +197,6 @@ 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
|
}>;
|
|
@@ -262,12 +237,6 @@ declare interface DateRangePickerProps {
|
|
|
262
237
|
isAdjustHeightForViewport?: boolean;
|
|
263
238
|
}
|
|
264
239
|
|
|
265
|
-
export declare const DeleteIcon: FC<{
|
|
266
|
-
className?: string;
|
|
267
|
-
}>;
|
|
268
|
-
|
|
269
|
-
export declare const desktopMinWidth: number;
|
|
270
|
-
|
|
271
240
|
export declare const DesktopTooltip: FC<PropsWithChildren<TooltipProps>>;
|
|
272
241
|
|
|
273
242
|
export declare const Dialog: ForwardRefExoticComponent<DialogProps & RefAttributes<HTMLDivElement>>;
|
|
@@ -323,10 +292,6 @@ export declare interface ImageCarouselProps extends default_2.HTMLAttributes<HTM
|
|
|
323
292
|
images: string[];
|
|
324
293
|
}
|
|
325
294
|
|
|
326
|
-
export declare const InfoIcon: FC<{
|
|
327
|
-
className?: string;
|
|
328
|
-
}>;
|
|
329
|
-
|
|
330
295
|
export declare const Input: default_2.ForwardRefExoticComponent<InputProps & default_2.RefAttributes<HTMLInputElement>>;
|
|
331
296
|
|
|
332
297
|
export declare interface InputProps extends default_2.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {
|
|
@@ -372,14 +337,8 @@ export declare type ListingCardProps = {
|
|
|
372
337
|
totalPrice: string;
|
|
373
338
|
slashedTotalPrice?: string;
|
|
374
339
|
onClick: () => void;
|
|
375
|
-
selectable?: boolean;
|
|
376
|
-
selectionState?: SelectionStateEnum;
|
|
377
340
|
};
|
|
378
341
|
|
|
379
|
-
export declare const LocationIcon: FC<{
|
|
380
|
-
className?: string;
|
|
381
|
-
}>;
|
|
382
|
-
|
|
383
342
|
export declare const LongTermBanner: default_2.ForwardRefExoticComponent<LongTermBannerProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
384
343
|
|
|
385
344
|
export declare interface LongTermBannerProps {
|
|
@@ -391,10 +350,6 @@ export declare interface LongTermBannerProps {
|
|
|
391
350
|
className?: string;
|
|
392
351
|
}
|
|
393
352
|
|
|
394
|
-
export declare const MagnifyGlassIcon: FC<{
|
|
395
|
-
className?: string;
|
|
396
|
-
}>;
|
|
397
|
-
|
|
398
353
|
export declare const MobileFilterMenu: ForwardRefExoticComponent<MobileFilterMenuProps & RefAttributes<HTMLDivElement>>;
|
|
399
354
|
|
|
400
355
|
export declare interface MobileFilterMenuProps extends HTMLAttributes<HTMLDivElement> {
|
|
@@ -421,14 +376,9 @@ export declare interface MobileMultiSelectFilterDropDownProps extends HTMLAttrib
|
|
|
421
376
|
placeholder?: string;
|
|
422
377
|
selected?: boolean;
|
|
423
378
|
setCheckBoxValue?: boolean;
|
|
424
|
-
/**
|
|
425
|
-
* @deprecated use `icon` instead to pass a react node
|
|
426
|
-
*/
|
|
427
379
|
dropdownIcon?: string;
|
|
428
|
-
icon?: React.ReactNode;
|
|
429
380
|
error?: string;
|
|
430
381
|
noDataError?: string;
|
|
431
|
-
disabled?: boolean;
|
|
432
382
|
}
|
|
433
383
|
|
|
434
384
|
export declare const MobileSelectCardDropDown: ForwardRefExoticComponent<MobileSelectCardDropDownProps & RefAttributes<HTMLDivElement>>;
|
|
@@ -446,14 +396,9 @@ export declare interface MobileSelectCardDropDownProps extends HTMLAttributes<HT
|
|
|
446
396
|
}) => void;
|
|
447
397
|
placeholder?: string;
|
|
448
398
|
selected?: boolean;
|
|
449
|
-
/**
|
|
450
|
-
* @deprecated use `icon` instead to pass a react node
|
|
451
|
-
*/
|
|
452
399
|
dropdownIcon?: string;
|
|
453
|
-
icon?: React.ReactNode;
|
|
454
400
|
error?: string;
|
|
455
401
|
noDataError?: string;
|
|
456
|
-
disabled?: boolean;
|
|
457
402
|
}
|
|
458
403
|
|
|
459
404
|
export declare const MobileTootip: FC<PropsWithChildren<TooltipProps>>;
|
|
@@ -468,18 +413,6 @@ declare interface Option_2 {
|
|
|
468
413
|
}
|
|
469
414
|
export { Option_2 as Option }
|
|
470
415
|
|
|
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
416
|
export declare const PriceRangeSlider: default_2.FC<PriceRangeSliderProps>;
|
|
484
417
|
|
|
485
418
|
export declare interface PriceRangeSliderProps {
|
|
@@ -499,7 +432,6 @@ export declare interface PriceRangeSliderProps {
|
|
|
499
432
|
onPriceRangeChange?: (value: [number | '', number | '']) => void;
|
|
500
433
|
currency?: string;
|
|
501
434
|
value?: [number | '', number | ''];
|
|
502
|
-
disabled?: boolean;
|
|
503
435
|
}
|
|
504
436
|
|
|
505
437
|
export declare const PromoDialog: default_2.ForwardRefExoticComponent<PromoDialogProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -563,36 +495,6 @@ export declare const RulerRegularIcon: FC<{
|
|
|
563
495
|
|
|
564
496
|
export declare type ScreenSize = 'mobile' | 'tablet' | 'desktop';
|
|
565
497
|
|
|
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
498
|
export declare const SlickImageCarousel: default_2.ForwardRefExoticComponent<SlickImageCarouselProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
597
499
|
|
|
598
500
|
export declare type SlickImageCarouselProps = {
|
|
@@ -640,17 +542,11 @@ export declare interface SwitchProps {
|
|
|
640
542
|
htmlId?: string;
|
|
641
543
|
}
|
|
642
544
|
|
|
643
|
-
export declare const tabletMinWidth: number;
|
|
644
|
-
|
|
645
545
|
declare type TagProps = {
|
|
646
546
|
icon: default_2.ReactNode;
|
|
647
547
|
label: string;
|
|
648
548
|
};
|
|
649
549
|
|
|
650
|
-
export declare const ThreeDotsCircleIcon: FC<{
|
|
651
|
-
className?: string;
|
|
652
|
-
}>;
|
|
653
|
-
|
|
654
550
|
export declare const Timer: default_2.ForwardRefExoticComponent<TimerProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
655
551
|
|
|
656
552
|
export declare interface TimerProps {
|
|
@@ -659,12 +555,6 @@ export declare interface TimerProps {
|
|
|
659
555
|
outerDivClass?: string;
|
|
660
556
|
}
|
|
661
557
|
|
|
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
558
|
export declare const ToggleCard: default_2.ForwardRefExoticComponent<ToggleCardProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
669
559
|
|
|
670
560
|
export declare interface ToggleCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
@@ -743,50 +633,6 @@ export declare interface TopNavContainerMobileProps extends HTMLAttributes<HTMLD
|
|
|
743
633
|
buttonText: string;
|
|
744
634
|
}
|
|
745
635
|
|
|
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
636
|
export declare const TwoColumnDialog: ForwardRefExoticComponent<TwoColumnDialogProps & RefAttributes<HTMLDivElement>>;
|
|
791
637
|
|
|
792
638
|
export declare interface TwoColumnDialogProps extends HTMLAttributes<HTMLDivElement> {
|