nestiq-component-library 1.0.16 → 1.0.19

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.
@@ -5,7 +5,7 @@ import locationIcon from "../../assets/images/locationIconBlack.svg";
5
5
  import PopUp from "../ImageListPopup/ImageListPopup";
6
6
  import "./PropertyDetailsHeader.css";
7
7
 
8
- interface PopupProps {
8
+ export interface PopupProps {
9
9
  property: {
10
10
  city: string;
11
11
  constructedArea: string;
@@ -72,7 +72,11 @@ export default function PropertyDetailsHeader(props: PopupProps) {
72
72
  </div>
73
73
  )}
74
74
  </div>
75
- {/* {showPopUp && <PopUp />} */}
75
+ {/* {showPopUp && (
76
+ <PopUp
77
+
78
+ />
79
+ )} */}
76
80
  </div>
77
81
  );
78
82
  }
@@ -9,6 +9,7 @@ import iconMap from "../../assets/Images/icon_map.svg";
9
9
  import iconLayers from "../../assets/Images/layer_icon.svg";
10
10
  import "./PropertyImageList.css";
11
11
  import ImageListPopup from "../ImageListPopup/ImageListPopup";
12
+ import PopupProps from "../ImageListPopup/ImageListPopup";
12
13
 
13
14
  interface PopupProps {
14
15
  property: {
@@ -194,10 +195,15 @@ export default function PropertyImageList(prop: PopupProps) {
194
195
  </div>
195
196
 
196
197
  {/* Popup for all photos */}
197
- {/* {isImagePopupOpen && (
198
+ {isImagePopupOpen && (
198
199
  <ImageListPopup
200
+ currentImageIndex={currentImageIndex}
201
+ handleArrowClickInMainImage={handleArrowClickInMainImage}
202
+ imageListRef={imageListRef}
203
+ pictureUrls={prop.pictureUrls}
204
+ property={prop.property}
199
205
  />
200
- )} */}
206
+ )}
201
207
  </div>
202
208
  );
203
209
  }
package/src/index.tsx CHANGED
@@ -3,3 +3,5 @@ export { default as Popup } from "./components/Popup/Popup";
3
3
  // export { default as ImageListPopup } from "./components/ImageListPopup/ImageListPopup";
4
4
  export { default as PropertyDetailsHeader } from "./components/PropertyDetailsHeader/PropertyDetailsHeader";
5
5
  export { default as PropertyImageList } from "./components/PropertyImageList//PropertyImageList";
6
+ export { default as PropertyCard } from "./components/PropertyCard//PropertyCard";
7
+