nestiq-component-library 1.1.162 → 1.1.164
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.es.js +9 -15
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +9 -15
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ImageListPopup/ImageListPopup.css +20 -0
- package/src/components/ImageListPopup/ImageListPopup.tsx +4 -6
- package/src/components/NewPropertyCard/NewPropertyCard.tsx +6 -6
|
@@ -91,3 +91,23 @@
|
|
|
91
91
|
border: 2px solid white;
|
|
92
92
|
opacity: 1;
|
|
93
93
|
}
|
|
94
|
+
|
|
95
|
+
.activeStyle {
|
|
96
|
+
border: 3px solid transparent;
|
|
97
|
+
border-radius: 4px;
|
|
98
|
+
transition: transform 0.2s ease, border-color 0.2s ease;
|
|
99
|
+
cursor: pointer;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.activeStyle:hover {
|
|
103
|
+
transform: scale(1.05);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.activeStyle:focus {
|
|
107
|
+
outline: none;
|
|
108
|
+
transform: scale(1.05);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.activeStyle.active {
|
|
112
|
+
transform: scale(1.05);
|
|
113
|
+
}
|
|
@@ -60,7 +60,7 @@ export default function ImageListPopup(props: PopupProps) {
|
|
|
60
60
|
<div className="d-flex justify-content-center">
|
|
61
61
|
<div className="p-2 bd-highlight align-self-center align-items-center me-5">
|
|
62
62
|
<div
|
|
63
|
-
className="rounded-circle border onImageArrow
|
|
63
|
+
className="rounded-circle border onImageArrow d-flex justify-content-center"
|
|
64
64
|
role="button"
|
|
65
65
|
onClick={() => handleArrowClickInMainImage("left")}
|
|
66
66
|
>
|
|
@@ -87,7 +87,7 @@ export default function ImageListPopup(props: PopupProps) {
|
|
|
87
87
|
{" "}
|
|
88
88
|
<div
|
|
89
89
|
role="button"
|
|
90
|
-
className="rounded-circle border onImageArrow d-flex
|
|
90
|
+
className="rounded-circle border onImageArrow d-flex justify-content-center"
|
|
91
91
|
onClick={() => handleArrowClickInMainImage("right")}
|
|
92
92
|
>
|
|
93
93
|
<img
|
|
@@ -115,10 +115,8 @@ export default function ImageListPopup(props: PopupProps) {
|
|
|
115
115
|
{props.pictureUrls.map((picture, index) => (
|
|
116
116
|
<div
|
|
117
117
|
key={index}
|
|
118
|
-
className={`flex-shrink-0 ${
|
|
119
|
-
index === currentImageIndex
|
|
120
|
-
? "border border-3 border-primary"
|
|
121
|
-
: ""
|
|
118
|
+
className={`flex-shrink-0 activeStyle ${
|
|
119
|
+
index === currentImageIndex ? "active" : ""
|
|
122
120
|
}`}
|
|
123
121
|
onClick={() => {
|
|
124
122
|
setCurrentImageIndex(index);
|
|
@@ -235,7 +235,7 @@ export default function PropertyCard(props: PopupProps) {
|
|
|
235
235
|
}}
|
|
236
236
|
>
|
|
237
237
|
{" "}
|
|
238
|
-
<div className="location-wrapper
|
|
238
|
+
<div className="location-wrapper">
|
|
239
239
|
<img
|
|
240
240
|
src={locationIcon}
|
|
241
241
|
alt="Location Icon"
|
|
@@ -248,13 +248,13 @@ export default function PropertyCard(props: PopupProps) {
|
|
|
248
248
|
</div>
|
|
249
249
|
</div>
|
|
250
250
|
<div
|
|
251
|
-
className="d-flex flex-row gap-3 col-6 col-lg-8 justify-content-between
|
|
251
|
+
className="d-flex flex-row gap-3 col-6 col-lg-8 justify-content-between mt-3"
|
|
252
252
|
style={{
|
|
253
253
|
paddingLeft: "32px",
|
|
254
254
|
paddingRight: "32px",
|
|
255
255
|
}}
|
|
256
256
|
>
|
|
257
|
-
<span className="priceValue col-lg-
|
|
257
|
+
<span className="priceValue col-lg-5 col-md-5 col-sm-6 ">
|
|
258
258
|
{formatPrice(props.property?.evaluation?.askingPrice ?? 0)} €
|
|
259
259
|
<div className="price_label">Kaufpreis</div>
|
|
260
260
|
</span>
|
|
@@ -262,14 +262,14 @@ export default function PropertyCard(props: PopupProps) {
|
|
|
262
262
|
{props.property.constructedArea} m²
|
|
263
263
|
<div className="details">Wohnfläche</div>
|
|
264
264
|
</span>
|
|
265
|
-
<span className="text-dark value col-lg-
|
|
265
|
+
<span className="text-dark value col-lg-3 col-md-3 col-sm-6 text-truncate ">
|
|
266
266
|
{+props.property?.rooms}
|
|
267
267
|
<div className="details">Zimmer</div>
|
|
268
268
|
</span>
|
|
269
|
-
<span className="text-dark value col-lg-4 col-md-3 col-sm-4 text-truncate ">
|
|
269
|
+
{/* <span className="text-dark value col-lg-4 col-md-3 col-sm-4 text-truncate ">
|
|
270
270
|
{+props.property.propertyArea} m²
|
|
271
271
|
<div className="details">Grundstück</div>
|
|
272
|
-
</span>
|
|
272
|
+
</span> */}
|
|
273
273
|
</div>
|
|
274
274
|
<div
|
|
275
275
|
className="labelTopClass d-flex start-0 col-sm-5 col-lg-8 "
|