design-system-silkhaus 3.2.0 → 3.3.0-beta.listing-card-rtl.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.d.ts +42 -1
- package/dist/index.js +31 -31
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -686,7 +686,6 @@ export declare type ListingCardProps = {
|
|
|
686
686
|
amenityTags?: TagProps[];
|
|
687
687
|
price: string;
|
|
688
688
|
slashedPrice?: string;
|
|
689
|
-
isMonthlyPrice: boolean;
|
|
690
689
|
totalPrice: string;
|
|
691
690
|
slashedTotalPrice?: string;
|
|
692
691
|
onClick: () => void;
|
|
@@ -694,6 +693,42 @@ export declare type ListingCardProps = {
|
|
|
694
693
|
selectionState?: SelectionStateEnum;
|
|
695
694
|
onViewListingClick?: () => void;
|
|
696
695
|
className?: string;
|
|
696
|
+
/**
|
|
697
|
+
* Used for RTL.
|
|
698
|
+
* Pass is as true when you have direction=rtl in your HTML
|
|
699
|
+
* @default false
|
|
700
|
+
*/
|
|
701
|
+
rtl?: boolean;
|
|
702
|
+
/**
|
|
703
|
+
* Text for view listing button
|
|
704
|
+
* @default 'View Listing'
|
|
705
|
+
*/
|
|
706
|
+
viewListingText?: string;
|
|
707
|
+
/**
|
|
708
|
+
* Text for no of guests label
|
|
709
|
+
* @default 'Guests'
|
|
710
|
+
*/
|
|
711
|
+
noOfGuestsLabel?: string;
|
|
712
|
+
/**
|
|
713
|
+
* Text for apartment type label
|
|
714
|
+
* @default 'Type'
|
|
715
|
+
*/
|
|
716
|
+
apartmentTypeLabel?: string;
|
|
717
|
+
/**
|
|
718
|
+
* Text for apartment area label
|
|
719
|
+
* @default 'Sqft'
|
|
720
|
+
*/
|
|
721
|
+
apartmentAreaLabel?: string;
|
|
722
|
+
/**
|
|
723
|
+
* Text for price suffix
|
|
724
|
+
* @default 'avg/night'
|
|
725
|
+
*/
|
|
726
|
+
priceSuffix?: string;
|
|
727
|
+
/**
|
|
728
|
+
* Text for total price suffix
|
|
729
|
+
* @default 'Total excl. tax & fees'
|
|
730
|
+
*/
|
|
731
|
+
totalPriceSuffix?: string;
|
|
697
732
|
};
|
|
698
733
|
|
|
699
734
|
export declare const LoadingIcon: FC<{
|
|
@@ -1236,6 +1271,12 @@ export declare type SlickImageCarouselProps = {
|
|
|
1236
1271
|
onClick?: () => void;
|
|
1237
1272
|
lazyLoad?: LazyLoadTypes | undefined;
|
|
1238
1273
|
aspectRatio?: string | number | undefined;
|
|
1274
|
+
/**
|
|
1275
|
+
* Used for RTL.
|
|
1276
|
+
* Pass is as true when you have direction=rtl in your HTML
|
|
1277
|
+
* @default false
|
|
1278
|
+
*/
|
|
1279
|
+
rtl?: boolean;
|
|
1239
1280
|
};
|
|
1240
1281
|
|
|
1241
1282
|
export declare const SofaIcon: FC<{
|