design-system-silkhaus 0.0.87-beta.listing-card.0 → 0.0.87-beta.listing-card.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 +31 -31
- package/dist/index.d.ts +23 -0
- package/dist/index.js +4763 -4629
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -216,6 +216,23 @@ export declare interface InputProps extends default_2.InputHTMLAttributes<HTMLIn
|
|
|
216
216
|
captionClass?: string | undefined;
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
+
export declare const ListingCard: default_2.ForwardRefExoticComponent<ListingCardProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
220
|
+
|
|
221
|
+
export declare type ListingCardProps = {
|
|
222
|
+
images: string[];
|
|
223
|
+
title: string | default_2.ReactNode;
|
|
224
|
+
subtitle: string | default_2.ReactNode;
|
|
225
|
+
guests: number;
|
|
226
|
+
type: string;
|
|
227
|
+
sqft: string;
|
|
228
|
+
tags: TagProps[];
|
|
229
|
+
amenityTags?: TagProps[];
|
|
230
|
+
price: string;
|
|
231
|
+
isMonthlyPrice: boolean;
|
|
232
|
+
totalPrice: string;
|
|
233
|
+
onClick: () => void;
|
|
234
|
+
};
|
|
235
|
+
|
|
219
236
|
export declare const LongTermBanner: default_2.ForwardRefExoticComponent<LongTermBannerProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
220
237
|
|
|
221
238
|
export declare interface LongTermBannerProps {
|
|
@@ -300,6 +317,7 @@ export declare type SlickImageCarouselProps = {
|
|
|
300
317
|
dots?: boolean;
|
|
301
318
|
infinite?: boolean;
|
|
302
319
|
className?: string;
|
|
320
|
+
onClick?: () => void;
|
|
303
321
|
};
|
|
304
322
|
|
|
305
323
|
export declare interface Step {
|
|
@@ -327,6 +345,11 @@ export declare interface SwitchProps {
|
|
|
327
345
|
htmlId?: string;
|
|
328
346
|
}
|
|
329
347
|
|
|
348
|
+
declare type TagProps = {
|
|
349
|
+
icon: default_2.ReactNode;
|
|
350
|
+
label: string;
|
|
351
|
+
};
|
|
352
|
+
|
|
330
353
|
export declare const Timer: default_2.ForwardRefExoticComponent<TimerProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
331
354
|
|
|
332
355
|
export declare interface TimerProps {
|