design-system-silkhaus 0.0.87-beta.develop-long-term-pricing.14 → 0.0.87-beta.develop-long-term-pricing.15
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 +74 -49
- package/dist/index.d.ts +63 -59
- package/dist/index.js +10585 -9937
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { CalendarDayShape } from 'react-dates';
|
|
2
2
|
import { ClassProp } from 'class-variance-authority/types';
|
|
3
|
-
import { default as default_2 } from 'react';
|
|
4
3
|
import { FC } from 'react';
|
|
5
4
|
import { ForwardRefExoticComponent } from 'react';
|
|
6
5
|
import { HTMLAttributes } from 'react';
|
|
@@ -8,12 +7,13 @@ import { ModifiersShape } from 'react-dates';
|
|
|
8
7
|
import { Moment } from 'moment';
|
|
9
8
|
import { Placement } from '@floating-ui/react';
|
|
10
9
|
import { PropsWithChildren } from 'react';
|
|
11
|
-
import
|
|
10
|
+
import { default as React_2 } from 'react';
|
|
11
|
+
import * as React_3 from 'react';
|
|
12
12
|
import { ReactNode } from 'react';
|
|
13
13
|
import { RefAttributes } from 'react';
|
|
14
14
|
import { VariantProps } from 'class-variance-authority';
|
|
15
15
|
|
|
16
|
-
export declare const Accordion:
|
|
16
|
+
export declare const Accordion: React_2.ForwardRefExoticComponent<AccordionProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
17
17
|
|
|
18
18
|
export declare interface AccordionProps {
|
|
19
19
|
title: string | ReactNode;
|
|
@@ -28,7 +28,7 @@ export declare interface AccordionProps {
|
|
|
28
28
|
isExpanded?: boolean;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
export declare const ActionFooter:
|
|
31
|
+
export declare const ActionFooter: React_2.ForwardRefExoticComponent<ActionFooterProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
32
32
|
|
|
33
33
|
export declare interface ActionFooterProps {
|
|
34
34
|
className?: string;
|
|
@@ -36,12 +36,12 @@ export declare interface ActionFooterProps {
|
|
|
36
36
|
primaryBtnClick: () => void;
|
|
37
37
|
primaryBtnDisabled?: boolean;
|
|
38
38
|
secondaryBtnDisabled?: boolean;
|
|
39
|
-
primaryBtnTxt: string |
|
|
40
|
-
secondaryBtnTxt?: string |
|
|
41
|
-
thirdColumn?:
|
|
39
|
+
primaryBtnTxt: string | React_2.ReactNode;
|
|
40
|
+
secondaryBtnTxt?: string | React_2.ReactNode;
|
|
41
|
+
thirdColumn?: React_2.ReactNode;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
export declare const AlertDialog:
|
|
44
|
+
export declare const AlertDialog: React_2.ForwardRefExoticComponent<AlertDialogProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
45
45
|
|
|
46
46
|
export declare interface AlertDialogProps {
|
|
47
47
|
outerDivClassName?: string;
|
|
@@ -80,16 +80,16 @@ export declare interface AnimatedModalProps extends HTMLAttributes<HTMLDivElemen
|
|
|
80
80
|
contentClassName?: string;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export declare const Asterisk:
|
|
83
|
+
export declare const Asterisk: React_2.ForwardRefExoticComponent<AsteriskProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
84
84
|
|
|
85
85
|
declare interface AsteriskProps {
|
|
86
86
|
className?: string;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export declare const Badge:
|
|
89
|
+
export declare const Badge: React_2.ForwardRefExoticComponent<BadgeProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
90
90
|
|
|
91
91
|
export declare type BadgeProps = {
|
|
92
|
-
icon?:
|
|
92
|
+
icon?: React_2.ReactNode;
|
|
93
93
|
label: string;
|
|
94
94
|
variant: 'dark' | 'light' | 'amenity';
|
|
95
95
|
className?: string;
|
|
@@ -103,9 +103,9 @@ export declare const BedRegularIcon: FC<{
|
|
|
103
103
|
className?: string;
|
|
104
104
|
}>;
|
|
105
105
|
|
|
106
|
-
export declare const BookingQuoteCard:
|
|
106
|
+
export declare const BookingQuoteCard: React_2.ForwardRefExoticComponent<BookingQuoteCardProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
107
107
|
|
|
108
|
-
export declare interface BookingQuoteCardProps extends
|
|
108
|
+
export declare interface BookingQuoteCardProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
109
109
|
items: BookingQuoteLineItemType[];
|
|
110
110
|
isExpandedInMobile?: boolean;
|
|
111
111
|
}
|
|
@@ -118,32 +118,32 @@ export declare interface BookingQuoteLineItemType {
|
|
|
118
118
|
description?: string;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
export declare const Button:
|
|
121
|
+
export declare const Button: React_2.ForwardRefExoticComponent<ButtonProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
122
122
|
|
|
123
|
-
export declare interface ButtonProps extends
|
|
123
|
+
export declare interface ButtonProps extends React_2.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
124
124
|
color?: 'primary' | 'secondary' | 'tertiary' | 'quaternary';
|
|
125
125
|
size?: 'small' | 'large';
|
|
126
126
|
disabled?: true | false;
|
|
127
|
-
startIcon?:
|
|
128
|
-
endIcon?:
|
|
127
|
+
startIcon?: React_2.ReactNode;
|
|
128
|
+
endIcon?: React_2.ReactNode;
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
export declare const Card:
|
|
131
|
+
export declare const Card: React_3.ForwardRefExoticComponent<CardProps & React_3.RefAttributes<HTMLDivElement>>;
|
|
132
132
|
|
|
133
|
-
export declare const CardContent:
|
|
133
|
+
export declare const CardContent: React_3.ForwardRefExoticComponent<React_3.HTMLAttributes<HTMLDivElement> & React_3.RefAttributes<HTMLDivElement>>;
|
|
134
134
|
|
|
135
|
-
export declare const CardDescription:
|
|
135
|
+
export declare const CardDescription: React_3.ForwardRefExoticComponent<React_3.HTMLAttributes<HTMLDivElement> & React_3.RefAttributes<HTMLDivElement>>;
|
|
136
136
|
|
|
137
|
-
export declare const CardFooter:
|
|
137
|
+
export declare const CardFooter: React_3.ForwardRefExoticComponent<React_3.HTMLAttributes<HTMLDivElement> & React_3.RefAttributes<HTMLDivElement>>;
|
|
138
138
|
|
|
139
|
-
export declare const CardHeader:
|
|
139
|
+
export declare const CardHeader: React_3.ForwardRefExoticComponent<React_3.HTMLAttributes<HTMLDivElement> & React_3.RefAttributes<HTMLDivElement>>;
|
|
140
140
|
|
|
141
|
-
declare interface CardProps extends
|
|
141
|
+
declare interface CardProps extends React_3.HTMLAttributes<HTMLDivElement>, CardVariantProps {
|
|
142
142
|
asChild?: boolean;
|
|
143
143
|
as?: string;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
export declare const CardTitle:
|
|
146
|
+
export declare const CardTitle: React_3.ForwardRefExoticComponent<React_3.HTMLAttributes<HTMLDivElement> & React_3.RefAttributes<HTMLDivElement>>;
|
|
147
147
|
|
|
148
148
|
export declare type CardVariantProps = VariantProps<typeof cardVariants>;
|
|
149
149
|
|
|
@@ -163,7 +163,7 @@ export declare const CloseIcon: FC<{
|
|
|
163
163
|
className?: string;
|
|
164
164
|
}>;
|
|
165
165
|
|
|
166
|
-
export declare const DateRangePicker:
|
|
166
|
+
export declare const DateRangePicker: React_2.ForwardRefExoticComponent<DateRangePickerProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
167
167
|
|
|
168
168
|
declare interface DateRangePickerProps {
|
|
169
169
|
startDatePlaceholderText?: string;
|
|
@@ -181,18 +181,18 @@ declare interface DateRangePickerProps {
|
|
|
181
181
|
focusedInput?: 'startDate' | 'endDate' | null;
|
|
182
182
|
onFocusChange?: (focusedInput: 'startDate' | 'endDate' | null) => void;
|
|
183
183
|
lTBannerImage?: string;
|
|
184
|
-
lTBannerTitle?: string |
|
|
185
|
-
lTBannerDesc?: string |
|
|
184
|
+
lTBannerTitle?: string | React_2.ReactNode;
|
|
185
|
+
lTBannerDesc?: string | React_2.ReactNode;
|
|
186
186
|
lTBannerBgColor?: string;
|
|
187
|
-
thirdColumn?: string |
|
|
187
|
+
thirdColumn?: string | React_2.ReactNode;
|
|
188
188
|
onMobileCloseClick: () => void;
|
|
189
189
|
onOutsideClick?: (e: unknown) => void;
|
|
190
190
|
onPrevMonthClick?: (e: unknown) => void;
|
|
191
191
|
onNextMonthClick?: (e: unknown) => void;
|
|
192
|
-
renderCalendarDay?: (props: CalendarDayShape) =>
|
|
192
|
+
renderCalendarDay?: (props: CalendarDayShape) => React_2.ReactNode | undefined;
|
|
193
193
|
isDayBlocked?: ((day: Moment) => boolean) | undefined;
|
|
194
|
-
renderDayContents?: (day: Moment, modifiers: ModifiersShape) =>
|
|
195
|
-
renderCalendarInfo?: () =>
|
|
194
|
+
renderDayContents?: (day: Moment, modifiers: ModifiersShape) => React_2.ReactNode | null | undefined;
|
|
195
|
+
renderCalendarInfo?: () => React_2.ReactNode | null | undefined;
|
|
196
196
|
_daySize?: number;
|
|
197
197
|
_mobileDaySize?: number;
|
|
198
198
|
mobileBreakPoint?: number;
|
|
@@ -200,15 +200,15 @@ declare interface DateRangePickerProps {
|
|
|
200
200
|
|
|
201
201
|
export declare const DesktopTooltip: FC<PropsWithChildren<TooltipProps>>;
|
|
202
202
|
|
|
203
|
-
export declare const Dialog:
|
|
203
|
+
export declare const Dialog: React_2.ForwardRefExoticComponent<DialogProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
204
204
|
|
|
205
205
|
export declare interface DialogProps extends HTMLAttributes<HTMLDivElement> {
|
|
206
206
|
open: boolean;
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
-
export declare const Grid:
|
|
209
|
+
export declare const Grid: React_3.ForwardRefExoticComponent<GridProps & React_3.RefAttributes<HTMLDivElement>>;
|
|
210
210
|
|
|
211
|
-
export declare interface GridProps extends
|
|
211
|
+
export declare interface GridProps extends React_3.HTMLAttributes<HTMLDivElement>, Omit<GridVariantProps, 'optional'> {
|
|
212
212
|
asChild?: boolean;
|
|
213
213
|
}
|
|
214
214
|
|
|
@@ -227,27 +227,31 @@ declare const gridVariants: (props?: ({
|
|
|
227
227
|
placeItems?: "start" | "end" | "center" | "stretch" | "baseline" | null | undefined;
|
|
228
228
|
} & ClassProp) | undefined) => string;
|
|
229
229
|
|
|
230
|
+
export declare const HandCursorTapIcon: FC<{
|
|
231
|
+
className?: string;
|
|
232
|
+
}>;
|
|
233
|
+
|
|
230
234
|
export declare const HouseRegularIcon: FC<{
|
|
231
235
|
className?: string;
|
|
232
236
|
}>;
|
|
233
237
|
|
|
234
|
-
export declare const IconButton:
|
|
238
|
+
export declare const IconButton: React_2.ForwardRefExoticComponent<IconButtonProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
235
239
|
|
|
236
|
-
export declare interface IconButtonProps extends
|
|
240
|
+
export declare interface IconButtonProps extends React_2.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
237
241
|
color?: 'primary' | 'secondary' | 'tertiary' | 'quaternary';
|
|
238
242
|
size?: 'small' | 'large';
|
|
239
243
|
disabled?: true | false;
|
|
240
244
|
}
|
|
241
245
|
|
|
242
|
-
export declare const ImageCarousel:
|
|
246
|
+
export declare const ImageCarousel: React_2.ForwardRefExoticComponent<ImageCarouselProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
243
247
|
|
|
244
|
-
export declare interface ImageCarouselProps extends
|
|
248
|
+
export declare interface ImageCarouselProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
245
249
|
images: string[];
|
|
246
250
|
}
|
|
247
251
|
|
|
248
|
-
export declare const Input:
|
|
252
|
+
export declare const Input: React_2.ForwardRefExoticComponent<InputProps & React_2.RefAttributes<HTMLInputElement>>;
|
|
249
253
|
|
|
250
|
-
export declare interface InputProps extends
|
|
254
|
+
export declare interface InputProps extends React_2.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {
|
|
251
255
|
textarea?: true | false | undefined;
|
|
252
256
|
label?: string | undefined;
|
|
253
257
|
caption?: string | undefined;
|
|
@@ -258,12 +262,12 @@ export declare interface InputProps extends default_2.InputHTMLAttributes<HTMLIn
|
|
|
258
262
|
captionClass?: string | undefined;
|
|
259
263
|
}
|
|
260
264
|
|
|
261
|
-
export declare const ListingCard:
|
|
265
|
+
export declare const ListingCard: React_2.ForwardRefExoticComponent<ListingCardProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
262
266
|
|
|
263
267
|
export declare type ListingCardProps = {
|
|
264
268
|
images: string[];
|
|
265
|
-
title: string |
|
|
266
|
-
subtitle: string |
|
|
269
|
+
title: string | React_2.ReactNode;
|
|
270
|
+
subtitle: string | React_2.ReactNode;
|
|
267
271
|
guests: number;
|
|
268
272
|
type: string;
|
|
269
273
|
sqft: string;
|
|
@@ -275,18 +279,18 @@ export declare type ListingCardProps = {
|
|
|
275
279
|
onClick: () => void;
|
|
276
280
|
};
|
|
277
281
|
|
|
278
|
-
export declare const LongTermBanner:
|
|
282
|
+
export declare const LongTermBanner: React_2.ForwardRefExoticComponent<LongTermBannerProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
279
283
|
|
|
280
284
|
export declare interface LongTermBannerProps {
|
|
281
285
|
image: string;
|
|
282
|
-
title: string |
|
|
283
|
-
desc: string |
|
|
286
|
+
title: string | React_2.ReactNode;
|
|
287
|
+
desc: string | React_2.ReactNode;
|
|
284
288
|
size: 'small' | 'large';
|
|
285
289
|
bgColor: string;
|
|
286
290
|
className?: string;
|
|
287
291
|
}
|
|
288
292
|
|
|
289
|
-
export declare const MobileFilterMenu:
|
|
293
|
+
export declare const MobileFilterMenu: React_2.ForwardRefExoticComponent<MobileFilterMenuProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
290
294
|
|
|
291
295
|
export declare interface MobileFilterMenuProps extends HTMLAttributes<HTMLDivElement> {
|
|
292
296
|
show: boolean;
|
|
@@ -302,7 +306,7 @@ export declare interface MobileFilterMenuProps extends HTMLAttributes<HTMLDivEle
|
|
|
302
306
|
maxWidth?: string;
|
|
303
307
|
}
|
|
304
308
|
|
|
305
|
-
export declare const MobileMultiSelectFilterDropDown:
|
|
309
|
+
export declare const MobileMultiSelectFilterDropDown: React_2.ForwardRefExoticComponent<MobileMultiSelectFilterDropDownProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
306
310
|
|
|
307
311
|
export declare interface MobileMultiSelectFilterDropDownProps extends HTMLAttributes<HTMLDivElement> {
|
|
308
312
|
label?: string;
|
|
@@ -323,7 +327,7 @@ export declare interface MobileMultiSelectFilterDropDownProps extends HTMLAttrib
|
|
|
323
327
|
noDataError?: string;
|
|
324
328
|
}
|
|
325
329
|
|
|
326
|
-
export declare const MobileSelectCardDropDown:
|
|
330
|
+
export declare const MobileSelectCardDropDown: React_2.ForwardRefExoticComponent<MobileSelectCardDropDownProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
327
331
|
|
|
328
332
|
export declare interface MobileSelectCardDropDownProps extends HTMLAttributes<HTMLDivElement> {
|
|
329
333
|
label?: string;
|
|
@@ -346,7 +350,7 @@ export declare const QuestionMarkIcon: FC<{
|
|
|
346
350
|
className?: string;
|
|
347
351
|
}>;
|
|
348
352
|
|
|
349
|
-
export declare const RoundedProgressBar:
|
|
353
|
+
export declare const RoundedProgressBar: React_2.ForwardRefExoticComponent<RoundedProgressBarProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
350
354
|
|
|
351
355
|
export declare interface RoundedProgressBarProps {
|
|
352
356
|
progress: number;
|
|
@@ -362,7 +366,7 @@ export declare const RulerRegularIcon: FC<{
|
|
|
362
366
|
className?: string;
|
|
363
367
|
}>;
|
|
364
368
|
|
|
365
|
-
export declare const SlickImageCarousel:
|
|
369
|
+
export declare const SlickImageCarousel: React_2.ForwardRefExoticComponent<SlickImageCarouselProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
366
370
|
|
|
367
371
|
export declare type SlickImageCarouselProps = {
|
|
368
372
|
images: string[];
|
|
@@ -388,7 +392,7 @@ export declare interface Step {
|
|
|
388
392
|
mobileNextTitle: string;
|
|
389
393
|
}
|
|
390
394
|
|
|
391
|
-
export declare const Stepper:
|
|
395
|
+
export declare const Stepper: React_2.ForwardRefExoticComponent<StepperProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
392
396
|
|
|
393
397
|
export declare interface StepperProps {
|
|
394
398
|
steps: Step[];
|
|
@@ -396,21 +400,21 @@ export declare interface StepperProps {
|
|
|
396
400
|
outerMobileDivClass?: string;
|
|
397
401
|
}
|
|
398
402
|
|
|
399
|
-
export declare const Switch:
|
|
403
|
+
export declare const Switch: React_2.ForwardRefExoticComponent<SwitchProps & React_2.RefAttributes<HTMLInputElement>>;
|
|
400
404
|
|
|
401
405
|
export declare interface SwitchProps {
|
|
402
406
|
checked: boolean;
|
|
403
|
-
onChange: (event:
|
|
407
|
+
onChange: (event: React_2.ChangeEvent<HTMLInputElement>) => void;
|
|
404
408
|
disabled?: boolean;
|
|
405
409
|
htmlId?: string;
|
|
406
410
|
}
|
|
407
411
|
|
|
408
412
|
declare type TagProps = {
|
|
409
|
-
icon:
|
|
413
|
+
icon: React_2.ReactNode;
|
|
410
414
|
label: string;
|
|
411
415
|
};
|
|
412
416
|
|
|
413
|
-
export declare const Timer:
|
|
417
|
+
export declare const Timer: React_2.ForwardRefExoticComponent<TimerProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
414
418
|
|
|
415
419
|
export declare interface TimerProps {
|
|
416
420
|
time: number;
|
|
@@ -464,7 +468,7 @@ export declare interface TooltipProps {
|
|
|
464
468
|
offset?: number;
|
|
465
469
|
}
|
|
466
470
|
|
|
467
|
-
export declare const TopNavBar:
|
|
471
|
+
export declare const TopNavBar: ForwardRefExoticComponent<TopNavBarProps & RefAttributes<HTMLDivElement>>;
|
|
468
472
|
|
|
469
473
|
export declare interface TopNavBarProps extends HTMLAttributes<HTMLDivElement> {
|
|
470
474
|
text?: string | ReactNode;
|
|
@@ -473,7 +477,7 @@ export declare interface TopNavBarProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
473
477
|
direction?: 'marquee--left' | 'marquee--right' | 'marquee--up' | 'marquee--down';
|
|
474
478
|
}
|
|
475
479
|
|
|
476
|
-
export declare const TopNavContainerMobile:
|
|
480
|
+
export declare const TopNavContainerMobile: React_2.ForwardRefExoticComponent<TopNavContainerMobileProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
477
481
|
|
|
478
482
|
export declare interface TopNavContainerMobileProps extends HTMLAttributes<HTMLDivElement> {
|
|
479
483
|
img: string;
|
|
@@ -485,7 +489,7 @@ export declare interface TopNavContainerMobileProps extends HTMLAttributes<HTMLD
|
|
|
485
489
|
buttonText: string;
|
|
486
490
|
}
|
|
487
491
|
|
|
488
|
-
export declare const TwoColumnDialog:
|
|
492
|
+
export declare const TwoColumnDialog: React_2.ForwardRefExoticComponent<TwoColumnDialogProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
489
493
|
|
|
490
494
|
export declare interface TwoColumnDialogProps extends HTMLAttributes<HTMLDivElement> {
|
|
491
495
|
img: string;
|