searchsmartly-ui 0.0.42 → 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 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;
@@ -192,10 +194,10 @@ type RentBuyFormProps = {
192
194
  selected?: string;
193
195
  options?: {
194
196
  label: string;
195
- value: string;
197
+ value: string | undefined;
196
198
  }[];
197
199
  title?: string;
198
- onChange: (val: string) => void;
200
+ onChange: (val: string | undefined) => void;
199
201
  };
200
202
  declare const RentBuyForm: FC<RentBuyFormProps>;
201
203