nestiq-component-library 1.1.141 → 1.1.143

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.
Files changed (49) hide show
  1. package/dist/assets/images/{card-arrow-left.28090aba4b4f2006.svg → card-arrow-left.55343410142dad3f.svg} +4 -4
  2. package/dist/assets/images/{card-arrow-right.c60af4cbbd49f3aa.svg → card-arrow-right.60b3bf0e34c1800d.svg} +4 -4
  3. package/dist/assets/images/{imooly.890e3dd01ea33574.svg → imooly.b46514ac970e6052.svg} +7 -7
  4. package/dist/assets/images/{more.1e158adc48fbb406.svg → more.ce14789c8d37e327.svg} +12 -12
  5. package/dist/index.es.js +68 -71
  6. package/dist/index.es.js.map +1 -1
  7. package/dist/index.js +68 -71
  8. package/dist/index.js.map +1 -1
  9. package/nestiq-component-library-1.1.143.tgz +0 -0
  10. package/package.json +1 -1
  11. package/rollup.config.mjs +36 -36
  12. package/src/assets/images/card-arrow-left.svg +4 -4
  13. package/src/assets/images/card-arrow-right.svg +4 -4
  14. package/src/assets/images/imooly.svg +7 -7
  15. package/src/assets/images/more.svg +12 -12
  16. package/src/components/FloorPlanPopup/FloorPlanPopup.css +3 -3
  17. package/src/components/FloorPlanPopup/FloorPlanPopup.tsx +83 -83
  18. package/src/components/ImageListPopup/ImageListPopup.css +83 -83
  19. package/src/components/ImageListPopup/ImageListPopup.tsx +141 -141
  20. package/src/components/NewPropertyCard/NewPropertyCard.css +52 -43
  21. package/src/components/NewPropertyCard/NewPropertyCard.tsx +358 -359
  22. package/src/components/Popup/Popup.tsx +29 -29
  23. package/src/components/PropertyImageList/PropertyImageList.css +24 -6
  24. package/src/components/PropertyImageList/PropertyImageList.tsx +213 -206
  25. package/src/components/ToastWrapper/ToastWrapper.tsx +25 -25
  26. package/src/models/message.model.ts +7 -7
  27. package/dist/assets/images/Icon_rightArrow.svg +0 -3
  28. package/dist/assets/images/LayersIcon.svg +0 -5
  29. package/dist/assets/images/blackarrow-Right.svg +0 -3
  30. package/dist/assets/images/blckarrow-Left.svg +0 -3
  31. package/dist/assets/images/chevron-left.svg +0 -3
  32. package/dist/assets/images/default-property.jpg +0 -0
  33. package/dist/assets/images/heartIcon.svg +0 -3
  34. package/dist/assets/images/icon-close-white.webp +0 -0
  35. package/dist/assets/images/icon_close 2.e41bb9a4db48e048.png +0 -0
  36. package/dist/assets/images/icon_close_2.png +0 -0
  37. package/dist/assets/images/icon_gallery.svg +0 -4
  38. package/dist/assets/images/icon_map.svg +0 -10
  39. package/dist/assets/images/icon_share_1.svg +0 -3
  40. package/dist/assets/images/layer_icon.svg +0 -5
  41. package/dist/assets/images/locationIcon.0af399c78e0cdc20.svg +0 -4
  42. package/dist/assets/images/locationIcon.svg +0 -4
  43. package/dist/assets/images/locationIconBlack.svg +0 -4
  44. package/dist/assets/images/no-image-icon.png +0 -0
  45. package/dist/components/Button/Button.js +0 -6
  46. package/dist/components/ImageListPopup/ImageListPopup.js +0 -26
  47. package/dist/components/MessagePopup/ErrorPopup.d.ts +0 -7
  48. package/dist/components/Popup/Popup.js +0 -12
  49. package/dist/components/SharePopup/PopUp.d.ts +0 -7
@@ -1,4 +0,0 @@
1
- <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M18.242 1.29H4.297a1.76 1.76 0 0 0-1.758 1.757v.742h-.781A1.76 1.76 0 0 0 0 5.547v11.406c0 .97.789 1.758 1.758 1.758h13.945a1.76 1.76 0 0 0 1.758-1.758v-.742h.781A1.76 1.76 0 0 0 20 14.453V3.047a1.76 1.76 0 0 0-1.758-1.758zM4.297 2.46h13.945c.323 0 .586.264.586.587v5.508l-3.49-2.47a.586.586 0 0 0-.724.037L10 10.159l-2.114-1.85a.586.586 0 0 0-.748-.02l-3.427 2.693V3.047c0-.323.263-.586.586-.586zm11.992 14.493a.587.587 0 0 1-.586.586H1.758a.587.587 0 0 1-.586-.586V5.547c0-.323.263-.586.586-.586h.781v9.492c0 .97.789 1.758 1.758 1.758h11.992v.742zm1.953-1.914H4.297a.587.587 0 0 1-.586-.586v-1.98L7.48 9.51l2.134 1.868c.221.193.55.193.772 0l4.652-4.071 3.79 2.683v4.462a.587.587 0 0 1-.586.586z" fill="#fff"/>
3
- <path d="M10 7.46a1.838 1.838 0 0 0 1.836-1.835A1.838 1.838 0 0 0 10 3.789a1.838 1.838 0 0 0-1.836 1.836c0 1.012.824 1.836 1.836 1.836zm0-2.5a.665.665 0 1 1-.001 1.33A.665.665 0 0 1 10 4.96z" fill="#fff"/>
4
- </svg>
@@ -1,10 +0,0 @@
1
- <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <g clip-path="url(#bq66l33lna)">
3
- <path d="M19.286 0a.715.715 0 0 0-.32.075l-5.413 2.707-6.12-2.72C7.423.058 7.41.057 7.4.052a.741.741 0 0 0-.17-.044 1.063 1.063 0 0 0-.175 0 .742.742 0 0 0-.171.044c-.01.005-.022.005-.032.01L.424 2.919A.714.714 0 0 0 0 3.572v15.714a.714.714 0 0 0 1.004.653l6.139-2.729 6.138 2.729c.01.004.022 0 .033.006a.63.63 0 0 0 .54-.012c.012-.005.025 0 .036-.008l5.715-2.857a.714.714 0 0 0 .395-.64V.716A.714.714 0 0 0 19.286 0zM6.428 15.964l-5 2.222V4.036l5-2.222v14.15zm6.429 2.222-5-2.222V1.814l5 2.222v14.15zm5.714-2.199-4.286 2.143V4.013l4.286-2.143v14.117z" fill="#fff"/>
4
- </g>
5
- <defs>
6
- <clipPath id="bq66l33lna">
7
- <path fill="#fff" d="M0 0h20v20H0z"/>
8
- </clipPath>
9
- </defs>
10
- </svg>
@@ -1,3 +0,0 @@
1
- <svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M22.046 9.9h-2.56a.937.937 0 1 0 0 1.875h2.56c.517 0 .938.42.938.937v12.26c0 .517-.42.938-.938.938H7.953a.939.939 0 0 1-.937-.938v-12.26c0-.517.42-.937.937-.937h2.56a.937.937 0 1 0 0-1.875h-2.56a2.816 2.816 0 0 0-2.812 2.812v12.26a2.816 2.816 0 0 0 2.812 2.813h14.093a2.816 2.816 0 0 0 2.813-2.813v-12.26A2.816 2.816 0 0 0 22.046 9.9zM11.504 8.007l2.59-2.59V17.76a.937.937 0 1 0 1.874 0V5.418l2.59 2.59a.934.934 0 0 0 1.326 0 .937.937 0 0 0 0-1.327l-4.19-4.19a.938.938 0 0 0-1.326 0l-4.19 4.19a.937.937 0 1 0 1.326 1.326z" fill="#000"/>
3
- </svg>
@@ -1,5 +0,0 @@
1
- <svg width="22" height="20" viewBox="0 0 22 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="m21.354 5.808-10-5.714a.714.714 0 0 0-.709 0l-10 5.714a.714.714 0 0 0 .017 1.25l10 5.357a.714.714 0 0 0 .675 0l10-5.357a.714.714 0 0 0 .017-1.25zM11 10.975 2.475 6.408 11 1.537l8.525 4.871L11 10.975z" fill="#fff"/>
3
- <path d="m11.34 16.162 9.656-5.31V9.22l-10 5.5-10-5.5v1.63l9.656 5.31a.715.715 0 0 0 .688 0z" fill="#fff"/>
4
- <path d="m.996 14.762 9.664 5.154a.714.714 0 0 0 .672 0l9.664-5.154v-1.62l-10 5.334-10-5.333v1.619z" fill="#fff"/>
5
- </svg>
@@ -1,4 +0,0 @@
1
- <svg width="12" height="18" viewBox="0 0 12 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M6 4.725a2.208 2.208 0 1 0 .001 4.416 2.208 2.208 0 0 0 0-4.416zm0 3.312a1.104 1.104 0 1 1 .001-2.208 1.104 1.104 0 0 1 0 2.208z" fill="#fff"/>
3
- <path d="M10.243 2.687a6 6 0 0 0-9.27 7.518l4.17 6.403a1.022 1.022 0 0 0 1.713 0l4.171-6.404a6 6 0 0 0-.784-7.517zm-.14 6.915L6 15.9 1.897 9.602a4.919 4.919 0 0 1 .64-6.135 4.896 4.896 0 0 1 6.925 0 4.919 4.919 0 0 1 .64 6.135z" fill="#fff"/>
4
- </svg>
@@ -1,4 +0,0 @@
1
- <svg width="12" height="18" viewBox="0 0 12 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M6 4.725a2.208 2.208 0 1 0 .001 4.416 2.208 2.208 0 0 0 0-4.416zm0 3.312a1.104 1.104 0 1 1 .001-2.208 1.104 1.104 0 0 1 0 2.208z" fill="#fff"/>
3
- <path d="M10.243 2.687a6 6 0 0 0-9.27 7.518l4.17 6.403a1.022 1.022 0 0 0 1.713 0l4.171-6.404a6 6 0 0 0-.784-7.517zm-.14 6.915L6 15.9 1.897 9.602a4.919 4.919 0 0 1 .64-6.135 4.896 4.896 0 0 1 6.925 0 4.919 4.919 0 0 1 .64 6.135z" fill="#fff"/>
4
- </svg>
@@ -1,4 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-geo-alt" viewBox="0 0 16 16">
2
- <path d="M12.166 8.94c-.524 1.062-1.234 2.12-1.96 3.07A32 32 0 0 1 8 14.58a32 32 0 0 1-2.206-2.57c-.726-.95-1.436-2.008-1.96-3.07C3.304 7.867 3 6.862 3 6a5 5 0 0 1 10 0c0 .862-.305 1.867-.834 2.94M8 16s6-5.686 6-10A6 6 0 0 0 2 6c0 4.314 6 10 6 10"/>
3
- <path d="M8 8a2 2 0 1 1 0-4 2 2 0 0 1 0 4m0 1a3 3 0 1 0 0-6 3 3 0 0 0 0 6"/>
4
- </svg>
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- var Button = function (_a) {
3
- var label = _a.label;
4
- return React.createElement("button", null, label);
5
- };
6
- export default Button;
@@ -1,26 +0,0 @@
1
- import React, { useState } from "react";
2
- import "bootstrap/dist/css/bootstrap.min.css";
3
- import "./ImageListPopup.css";
4
- var ImageListPopup = function (_a) {
5
- var images = _a.images, onClose = _a.onClose;
6
- var _b = useState(0), currentIndex = _b[0], setCurrentIndex = _b[1];
7
- var handlePrevious = function () {
8
- setCurrentIndex(function (prevIndex) { return (prevIndex > 0 ? prevIndex - 1 : prevIndex); });
9
- };
10
- var handleNext = function () {
11
- setCurrentIndex(function (prevIndex) {
12
- return prevIndex < images.length - 1 ? prevIndex + 1 : prevIndex;
13
- });
14
- };
15
- return (React.createElement("div", { className: "popup-overlay" },
16
- React.createElement("div", { className: "popup-container" },
17
- React.createElement("div", { className: "popup-header" },
18
- React.createElement("span", null, images[currentIndex].title),
19
- React.createElement("button", { className: "btn-close", onClick: onClose })),
20
- React.createElement("div", { className: "popup-body" },
21
- React.createElement("img", { src: images[currentIndex].src, alt: images[currentIndex].title, className: "img-fluid" })),
22
- React.createElement("div", { className: "popup-footer" }, images.length > 1 && (React.createElement(React.Fragment, null,
23
- React.createElement("button", { className: "btn btn-secondary me-2", onClick: handlePrevious }, "Previous"),
24
- React.createElement("button", { className: "btn btn-secondary", onClick: handleNext }, "Next")))))));
25
- };
26
- export default ImageListPopup;
@@ -1,7 +0,0 @@
1
- import "./PopUp.css";
2
- import React from "react";
3
- interface PopupProps {
4
- onClick: any;
5
- }
6
- export default function ErrorPopup(props: PopupProps): React.JSX.Element;
7
- export {};
@@ -1,12 +0,0 @@
1
- import React from "react";
2
- import closeIcon from "src/assets/images/icon_close 2.png";
3
- import "./Popup.css";
4
- var Popup = function (_a) {
5
- var onCloseClick = _a.onCloseClick, children = _a.children;
6
- return (React.createElement("div", { className: "popup-overlay" },
7
- React.createElement("div", { className: "shareSection col-12 d-flex position-relative flex-column mx-auto justify-content-center col-5 col-lg-6 d-flex gap-4" },
8
- React.createElement("div", { className: "end-0 top-0 position-absolute " },
9
- React.createElement("img", { src: closeIcon, alt: "close", className: "closeIcon me-2", onClick: onCloseClick })),
10
- children)));
11
- };
12
- export default Popup;
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- import "./PopUp.css";
3
- interface Popupprops {
4
- onClick: () => void;
5
- }
6
- export default function PopUp(props: Popupprops): React.JSX.Element;
7
- export {};