searchsmartly-ui 0.0.43 → 0.0.44
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 +3 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/src/components/Tag/AmenityTags/AmenityTags.d.ts +1 -0
- package/dist/src/components/list/PropertyCard.d.ts +2 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -101,6 +101,7 @@ type AmenityTag = {
|
|
|
101
101
|
id: string;
|
|
102
102
|
icon: ChipProps['icon'];
|
|
103
103
|
label: ChipProps['label'];
|
|
104
|
+
score: number;
|
|
104
105
|
};
|
|
105
106
|
declare const getAmenityTags: (scores: Record<string, number>) => AmenityTag[];
|
|
106
107
|
declare const AmenityTags: FC<{
|
|
@@ -154,8 +155,9 @@ type PropertyCardType<T extends PropertyItemType> = Omit<BoxProps, 'property'> &
|
|
|
154
155
|
property?: T;
|
|
155
156
|
children?: ReactElement | ReactElement[];
|
|
156
157
|
header?: ReactElement;
|
|
158
|
+
onClick?: () => void;
|
|
157
159
|
};
|
|
158
|
-
declare const PropertyCard: <T extends PropertyItemType>({ property, loading, currency, id, disableCarousel, isPopover, children, header, tagColor, sx, }: PropertyCardType<T>) => react_jsx_runtime.JSX.Element;
|
|
160
|
+
declare const PropertyCard: <T extends PropertyItemType>({ property, loading, currency, id, disableCarousel, isPopover, children, header, tagColor, sx, onClick, }: PropertyCardType<T>) => react_jsx_runtime.JSX.Element;
|
|
159
161
|
|
|
160
162
|
type ListHeaderProps = {
|
|
161
163
|
title: string;
|