searchsmartly-ui 0.0.122 → 0.0.124
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 +22 -1
- package/dist/index.esm.js +8 -8
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/dist/node_modules/react-photoswipe-gallery/src/lightbox-stub.d.ts +8 -0
- package/dist/node_modules/react-photoswipe-gallery/src/types.d.ts +44 -0
- package/dist/src/components/ImageGrid/ImageGrid.d.ts +7 -0
- package/dist/src/components/SlickCarousel/SlickCarousel.d.ts +8 -1
- package/dist/src/components/list/PropertyCard.d.ts +9 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -108,6 +108,13 @@ interface CarouselInterface {
|
|
|
108
108
|
id?: string;
|
|
109
109
|
sx?: SxProps$1<Theme>;
|
|
110
110
|
imageSX?: SxProps$1<Theme>;
|
|
111
|
+
cardImage?: (val: {
|
|
112
|
+
image: string;
|
|
113
|
+
originalImage?: string;
|
|
114
|
+
index: number;
|
|
115
|
+
height?: number;
|
|
116
|
+
showCount?: number;
|
|
117
|
+
}) => ReactNode;
|
|
111
118
|
}
|
|
112
119
|
declare const SlickCarousel: FC<CarouselInterface>;
|
|
113
120
|
|
|
@@ -192,8 +199,15 @@ type PropertyCardType<T extends PropertyItemType> = Omit<BoxProps, 'property'> &
|
|
|
192
199
|
children?: ReactElement | ReactElement[];
|
|
193
200
|
header?: ReactElement;
|
|
194
201
|
onClick?: () => void;
|
|
202
|
+
cardImage?: (val: {
|
|
203
|
+
image: string;
|
|
204
|
+
originalImage?: string;
|
|
205
|
+
index: number;
|
|
206
|
+
height?: number;
|
|
207
|
+
showCount?: number;
|
|
208
|
+
}) => ReactNode;
|
|
195
209
|
};
|
|
196
|
-
declare const PropertyCard: <T extends PropertyItemType>({ property, loading, currency, id, disableCarousel, isPopover, children, header, tagColor, sx, onClick, }: PropertyCardType<T>) => react_jsx_runtime.JSX.Element;
|
|
210
|
+
declare const PropertyCard: <T extends PropertyItemType>({ property, loading, currency, id, disableCarousel, isPopover, children, header, tagColor, sx, onClick, cardImage, }: PropertyCardType<T>) => react_jsx_runtime.JSX.Element;
|
|
197
211
|
|
|
198
212
|
type ListHeaderProps = {
|
|
199
213
|
title: string;
|
|
@@ -708,6 +722,13 @@ type ImageGridProps = {
|
|
|
708
722
|
blockItemHeight: number;
|
|
709
723
|
blockHeight: number;
|
|
710
724
|
children: ReactNode;
|
|
725
|
+
cardImage?: (val: {
|
|
726
|
+
image: string;
|
|
727
|
+
originalImage?: string;
|
|
728
|
+
index: number;
|
|
729
|
+
height?: number;
|
|
730
|
+
showCount?: number;
|
|
731
|
+
}) => ReactNode;
|
|
711
732
|
};
|
|
712
733
|
declare const ImageGrid: FC<ImageGridProps>;
|
|
713
734
|
|