nestiq-component-library 1.1.172 → 1.2.0

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 (111) hide show
  1. package/dist/index.cjs +8 -0
  2. package/dist/index.cjs.map +1 -0
  3. package/dist/index.js +1674 -733
  4. package/dist/index.js.map +1 -1
  5. package/dist/style.css +1 -0
  6. package/package.json +36 -35
  7. package/dist/assets/images/Icon_rightArrow.bced4a705c07148d.svg +0 -3
  8. package/dist/assets/images/LayersIcon.34c085c352a2c9c8.svg +0 -5
  9. package/dist/assets/images/blackarrow-Right.e585ae62dd55abae.svg +0 -3
  10. package/dist/assets/images/blckarrow-Left.e2134741aa368d30.svg +0 -3
  11. package/dist/assets/images/card-arrow-left.55343410142dad3f.svg +0 -4
  12. package/dist/assets/images/card-arrow-right.60b3bf0e34c1800d.svg +0 -4
  13. package/dist/assets/images/chevron-left.04f0a7f16b745c1a.svg +0 -3
  14. package/dist/assets/images/close.b5ce9141e80c688b.png +0 -0
  15. package/dist/assets/images/default-property.9987f19670be82b6.jpg +0 -0
  16. package/dist/assets/images/envelope-fill.6669c9d64183941c.svg +0 -3
  17. package/dist/assets/images/facebook.ce73eacbfffe8a27.svg +0 -3
  18. package/dist/assets/images/icon_checkmark.9b48c4a4bc651b08.svg +0 -10
  19. package/dist/assets/images/icon_close_2.e41bb9a4db48e048.png +0 -0
  20. package/dist/assets/images/icon_gallery.269b721daf2ca907.svg +0 -4
  21. package/dist/assets/images/icon_map.2318ec664c3e615e.svg +0 -10
  22. package/dist/assets/images/icon_share_1.b9ec05630dc1087e.svg +0 -3
  23. package/dist/assets/images/imooly.b46514ac970e6052.svg +0 -7
  24. package/dist/assets/images/layer_icon.9b56c187199c44b5.svg +0 -5
  25. package/dist/assets/images/linkedin.7539333145b03678.svg +0 -3
  26. package/dist/assets/images/locationIcon.961de080757bda41.svg +0 -4
  27. package/dist/assets/images/locationIconBlack.eb8e9e9226b43573.svg +0 -4
  28. package/dist/assets/images/mail-icon.176f921aa16b9a3d.png +0 -0
  29. package/dist/assets/images/more.ce14789c8d37e327.svg +0 -12
  30. package/dist/assets/images/twitter-x.48a4ac3f560f0a62.svg +0 -3
  31. package/dist/assets/images/warning.6f99cb4c6a048b47.svg +0 -11
  32. package/dist/assets/images/whatsapp.28e6b0b24adc9289.svg +0 -3
  33. package/dist/components/Button/Button.d.ts +0 -6
  34. package/dist/components/ErrorPopup/ErrorPopup.d.ts +0 -7
  35. package/dist/components/FloorPlanPopup/FloorPlanPopup.d.ts +0 -7
  36. package/dist/components/ImageListPopup/ImageListPopup.d.ts +0 -12
  37. package/dist/components/MessagePopup/MessagePopUp.d.ts +0 -16
  38. package/dist/components/MessagePopup/SuccessPopup.d.ts +0 -7
  39. package/dist/components/NewPropertyCard/NewPropertyCard.d.ts +0 -55
  40. package/dist/components/Popup/Popup.d.ts +0 -9
  41. package/dist/components/PropertyCard/PropertyCard.d.ts +0 -27
  42. package/dist/components/PropertyDetailsHeader/PropertyDetailsHeader.d.ts +0 -20
  43. package/dist/components/PropertyImageList/PropertyImageList.d.ts +0 -29
  44. package/dist/components/SharePopup/SharePopup.d.ts +0 -8
  45. package/dist/components/ToastWrapper/ToastWrapper.d.ts +0 -4
  46. package/dist/functions/util.d.ts +0 -2
  47. package/dist/index.d.ts +0 -15
  48. package/dist/index.es.js +0 -742
  49. package/dist/index.es.js.map +0 -1
  50. package/dist/models/message.model.d.ts +0 -7
  51. package/rollup.config.mjs +0 -36
  52. package/src/assets/images/Icon_rightArrow.svg +0 -3
  53. package/src/assets/images/LayersIcon.svg +0 -5
  54. package/src/assets/images/blackarrow-Right.svg +0 -3
  55. package/src/assets/images/blckarrow-Left.svg +0 -3
  56. package/src/assets/images/card-arrow-left.svg +0 -4
  57. package/src/assets/images/card-arrow-right.svg +0 -4
  58. package/src/assets/images/chevron-left.svg +0 -3
  59. package/src/assets/images/close.png +0 -0
  60. package/src/assets/images/default-property.jpg +0 -0
  61. package/src/assets/images/envelope-fill.svg +0 -3
  62. package/src/assets/images/facebook.svg +0 -3
  63. package/src/assets/images/heart.svg +0 -3
  64. package/src/assets/images/house.jpg +0 -0
  65. package/src/assets/images/icon_checkmark.svg +0 -10
  66. package/src/assets/images/icon_close 2.png +0 -0
  67. package/src/assets/images/icon_close_2.png +0 -0
  68. package/src/assets/images/icon_gallery.svg +0 -4
  69. package/src/assets/images/icon_home.svg +0 -3
  70. package/src/assets/images/icon_map.svg +0 -10
  71. package/src/assets/images/icon_share_1.svg +0 -3
  72. package/src/assets/images/imooly.svg +0 -7
  73. package/src/assets/images/layer_icon.svg +0 -5
  74. package/src/assets/images/linkedin.svg +0 -3
  75. package/src/assets/images/locationIcon.svg +0 -4
  76. package/src/assets/images/locationIconBlack.svg +0 -4
  77. package/src/assets/images/mail-icon.png +0 -0
  78. package/src/assets/images/more.svg +0 -12
  79. package/src/assets/images/twitter-x.svg +0 -3
  80. package/src/assets/images/warning.svg +0 -11
  81. package/src/assets/images/whatsapp.svg +0 -3
  82. package/src/components/Button/Button.tsx +0 -11
  83. package/src/components/ErrorPopup/ErrorPopup.tsx +0 -63
  84. package/src/components/ErrorPopup/PopUp.css +0 -409
  85. package/src/components/FloorPlanPopup/FloorPlanPopup.css +0 -3
  86. package/src/components/FloorPlanPopup/FloorPlanPopup.tsx +0 -83
  87. package/src/components/ImageListPopup/ImageListPopup.css +0 -113
  88. package/src/components/ImageListPopup/ImageListPopup.tsx +0 -154
  89. package/src/components/MessagePopup/MessagePopUp.css +0 -196
  90. package/src/components/MessagePopup/MessagePopUp.tsx +0 -160
  91. package/src/components/MessagePopup/PopUp.css +0 -408
  92. package/src/components/MessagePopup/SuccessPopup.tsx +0 -64
  93. package/src/components/NewPropertyCard/NewPropertyCard.css +0 -413
  94. package/src/components/NewPropertyCard/NewPropertyCard.tsx +0 -383
  95. package/src/components/Popup/Popup.css +0 -12
  96. package/src/components/Popup/Popup.tsx +0 -29
  97. package/src/components/PropertyCard/PropertyCard.css +0 -271
  98. package/src/components/PropertyCard/PropertyCard.tsx +0 -137
  99. package/src/components/PropertyDetailsHeader/PropertyDetailsHeader.css +0 -94
  100. package/src/components/PropertyDetailsHeader/PropertyDetailsHeader.tsx +0 -106
  101. package/src/components/PropertyImageList/PropertyImageList.css +0 -101
  102. package/src/components/PropertyImageList/PropertyImageList.tsx +0 -254
  103. package/src/components/SharePopup/SharePopup.css +0 -348
  104. package/src/components/SharePopup/SharePopup.tsx +0 -143
  105. package/src/components/ToastWrapper/ToastWrapper.tsx +0 -25
  106. package/src/functions/util.ts +0 -14
  107. package/src/index.tsx +0 -26
  108. package/src/models/message.model.ts +0 -7
  109. package/src/styles/common.css +0 -17
  110. package/src/types/images.d.ts +0 -25
  111. package/tsconfig.json +0 -22
@@ -1,63 +0,0 @@
1
- import x from "../../assets/Images/icon_close_2.png";
2
- import icon_checkmark from "../../assets/Images/icon_checkmark.svg";
3
- import warning from "../../assets/Images/warning.svg";
4
- import React from "react";
5
- import "../ErrorPopup/PopUp.css";
6
- interface PopupProps {
7
- onClick: any;
8
- }
9
-
10
- export default function ErrorPopup(props: PopupProps) {
11
- const handleClose = () => {
12
- props.onClick();
13
- };
14
-
15
- return (
16
- <div className="popup-overlay">
17
-
18
- <div className="shareSection-Error d-flex flex-column col-6 ">
19
- <img
20
- src={x}
21
- alt="close"
22
- className="closeIcon d-flex flex-column align-self-end ms-5 "
23
- onClick={handleClose}
24
- />
25
- <div className=" d-flex flex-column align-self-center ms-5 ">
26
- <img src={warning} alt="facebook" className=" mb-4" />
27
- </div>
28
- <div className="popUpHeader d-flex flex-column col- text-center text-wrap mb-1 align-self-center">
29
- <span > Oops! Etwas ist schiefgelaufen.</span>
30
-
31
-
32
- </div>
33
-
34
- <div className="d-flex flex-column mt-4 mb-4">
35
- <span className="text-center ms-5 text-wrap">
36
- Beim Senden deiner Nachricht ist ein Fehler aufgetreten. Wenn das Problem weiterhin besteht, kontaktiere uns unter support@nestiq.de
37
- </span>
38
- </div>
39
-
40
-
41
-
42
- <div className=" d-flex flex-row align-self-center ">
43
-
44
- <button
45
- className="d-flex button_success-left col-sm-5 border-0 rounded-4"
46
- type="button"
47
- id="button">
48
-
49
- <strong> Erneut versuchen</strong>
50
- </button>
51
-
52
- <button
53
- className="button_success-right w-50 border-1 ms-3 rounded-4"
54
- type="button"
55
- id="button" >
56
- <strong> Support kontaktieren</strong>
57
- </button>
58
- </div>
59
-
60
- </div>
61
- </div>
62
- );
63
- }
@@ -1,409 +0,0 @@
1
- .popup-overlay {
2
- position: fixed; /* Fixed position to cover the whole screen */
3
- top: 0;
4
- left: 0;
5
- right: 0;
6
- bottom: 0;
7
- background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
8
- display: flex; /* Flexbox to center the popup */
9
- justify-content: center; /* Center horizontally */
10
- align-items: center; /* Center vertically */
11
- z-index: 2000; /* Ensure it's above other content */
12
- }
13
-
14
- .shareSection {
15
- height: 340px;
16
- padding: 40px;
17
- border-radius: 16px;
18
- box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
19
- border: solid 1px #d7d9e3;
20
- background-color: #fff;
21
- max-width: 1280px;
22
- }
23
- .popUpHeader {
24
- height: 48px;
25
- font-size: 32px;
26
- font-weight: 600;
27
- color: #1b1b1b;
28
- }
29
-
30
- .closeIcon {
31
- width: 16px;
32
- height: 16px;
33
- cursor: pointer;
34
- }
35
-
36
- .socialMediaIconsSection {
37
- gap: 60px !important;
38
- }
39
-
40
- .socialMediaIcons {
41
- width: 28px !important;
42
- height: 28px !important;
43
- cursor: pointer;
44
- }
45
-
46
- .socialMediaIconText {
47
- height: 36px;
48
- font-size: 13px;
49
- font-weight: 500;
50
- line-height: 3;
51
- color: #344041;
52
- cursor: pointer;
53
- }
54
-
55
- .popup_search-input {
56
- height: 60px;
57
- padding-inline-end: 190px;
58
- font-size: 20px;
59
- box-shadow: inset 0 4px 4px 0 rgba(0, 0, 0, 0.25);
60
- background-color: rgba(0, 0, 0, 0.05);
61
- }
62
-
63
- .popup_search-input::placeholder {
64
- font-size: 20px;
65
- color: rgba(140, 140, 140, 0.5);
66
- }
67
-
68
- .popup_search-input:focus {
69
- outline: none;
70
- }
71
-
72
- .popupcustom-button {
73
- height: 35px;
74
- color: #000;
75
- cursor: pointer;
76
- border-color: var(--main-yellow);
77
- right: 0;
78
- z-index: 1;
79
- background-image: var(--gradient);
80
- box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
81
- }
82
- .button-text {
83
- width: 115px;
84
- height: 19px;
85
- flex-grow: 0;
86
- font-family: Inter;
87
- font-size: 16px;
88
- font-weight: 500;
89
- font-stretch: normal;
90
- font-style: normal;
91
- line-height: normal;
92
- letter-spacing: normal;
93
- text-align: center;
94
- }
95
- .button_success-right {
96
- width: 184px;
97
- height: 43px;
98
- flex-grow: 0;
99
- display: flex;
100
- flex-direction: row;
101
- justify-content: center;
102
- align-items: center;
103
- gap: 8px;
104
- padding: 12px 24px;
105
- border-radius: 16px;
106
- border-color: #000;
107
- background-color: transparent;
108
- }
109
- .button_success-left {
110
- width: 200px;
111
- height: 43px;
112
- flex-grow: 0;
113
- display: flex;
114
- flex-direction: row;
115
- justify-content: center;
116
- align-items: center;
117
- gap: 8px;
118
- padding: 12px 24px;
119
- border-radius: 16px;
120
- box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
121
- background-color: var(--main-yellow);
122
- }
123
- .shareSection-Success {
124
- height: 510px;
125
- padding: 40px;
126
- border-radius: 16px;
127
- box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
128
- border: solid 1px #d7d9e3;
129
- background-color: #fff;
130
- }
131
- .shareSection-Error {
132
- height: 400px;
133
- padding: 10px;
134
- border-radius: 16px;
135
- box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
136
- border: solid 1px #d7d9e3;
137
- background-color: #fff;
138
- }
139
- .MessageShareSection {
140
- height: 513px;
141
- padding: 14px 14px;
142
- border-radius: 16px;
143
- box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
144
- border: solid 1px #d7d9e3;
145
- background-color: #fff;
146
- }
147
-
148
- .popup-tags {
149
- font-size: large;
150
- font-weight: bold;
151
- }
152
- .button_icon-left {
153
- width: 184px;
154
- height: 43px;
155
- flex-grow: 0;
156
- display: flex;
157
- flex-direction: row;
158
- justify-content: center;
159
- align-items: center;
160
- gap: 8px;
161
- padding: 12px 24px;
162
- border-radius: 16px;
163
- box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
164
- }
165
- .main_button {
166
- width: 184px;
167
- height: 43px;
168
- flex-grow: 0;
169
- display: flex;
170
- flex-direction: row;
171
- justify-content: center;
172
- align-items: center;
173
- gap: 8px;
174
- padding: 12px 24px;
175
- border-radius: 16px;
176
- box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
177
- background-image: var(--gradient);
178
- }
179
- .button-text {
180
- width: 85px;
181
- height: 19px;
182
- flex-grow: 0;
183
- font-family: Inter;
184
- font-size: 16px;
185
- font-weight: 500;
186
- font-stretch: normal;
187
- font-style: normal;
188
- line-height: normal;
189
- letter-spacing: normal;
190
- text-align: center;
191
- }
192
- .button_icon-right {
193
- width: 184px;
194
- height: 43px;
195
- flex-grow: 0;
196
- display: flex;
197
- flex-direction: row;
198
- justify-content: center;
199
- align-items: center;
200
- gap: 8px;
201
- padding: 12px 24px;
202
- border-radius: 16px;
203
- border-color: #000;
204
- background-color: transparent;
205
- }
206
- .circle {
207
- height: 55px;
208
- width: 55px;
209
- background-color: transparent;
210
- border-radius: 50%;
211
- border-style: solid;
212
- border-color: #000;
213
- border-width: 2px;
214
- }
215
- .Line-9,
216
- .Line-10 {
217
- height: 1px;
218
- flex-grow: 1;
219
- background-color: rgba(140, 140, 140, 0.5);
220
- max-width: 18rem;
221
- align-self: center;
222
- align-content: center;
223
- }
224
-
225
- .middle-container {
226
- display: flex;
227
- align-items: center;
228
- justify-content: center;
229
- }
230
-
231
- .middle-text {
232
- margin: 25px 25px;
233
- }
234
- .google-button {
235
- width: 260px;
236
- height: 45px;
237
- flex-grow: 0;
238
- display: flex;
239
- flex-direction: row;
240
- justify-content: center;
241
- align-items: center;
242
- gap: 8px;
243
- padding: 12px 24px;
244
- border-radius: 4px;
245
- background-color: #000000;
246
- background: linear-gradient(to top, #000, #666);
247
- }
248
- .Account-popup {
249
- height: 713px;
250
- padding: 10px;
251
- border-radius: 16px;
252
- box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
253
- border: solid 1px #d7d9e3;
254
- background-color: #fff;
255
- max-width: 1000px;
256
- }
257
- .lightertxt {
258
- color: #797979;
259
- }
260
-
261
- .filter {
262
- height: 343px;
263
- align-self: stretch;
264
- flex-grow: 0;
265
- display: flex;
266
- flex-direction: column;
267
- gap: 2px;
268
- padding: 32px;
269
- border-radius: 32px;
270
- box-shadow: inset 0 4px 10px 0 rgba(0, 0, 0, 0.15);
271
- background-color: #f2f2f2;
272
- }
273
- .loginFilter {
274
- height: 280px;
275
- align-self: stretch;
276
- flex-grow: 0;
277
- display: flex;
278
- flex-direction: column;
279
- gap: 2px;
280
- padding: 32px;
281
- border-radius: 32px;
282
- box-shadow: inset 0 4px 10px 0 rgba(0, 0, 0, 0.15);
283
- background-color: #f2f2f2;
284
- }
285
- .radioLabel {
286
- width: 176px;
287
- height: 19px;
288
- flex-grow: 0;
289
- font-family: Inter;
290
- font-size: 16px;
291
- font-weight: normal;
292
- font-stretch: normal;
293
- font-style: normal;
294
- line-height: normal;
295
- letter-spacing: normal;
296
- text-align: left;
297
- color: #1b1b1b;
298
- }
299
- .goButton-text {
300
- width: 78px;
301
- height: 19px;
302
- flex-grow: 0;
303
- font-family: Inter;
304
- font-size: 16px;
305
- font-weight: 500;
306
- font-stretch: normal;
307
- font-style: normal;
308
- line-height: normal;
309
- letter-spacing: normal;
310
- text-align: center;
311
- color: #1b1b1b;
312
- }
313
- .placeholders {
314
- width: 232px;
315
- height: 45px;
316
- flex-grow: 0;
317
- display: flex;
318
- flex-direction: row;
319
- justify-content: flex-start;
320
- align-items: center;
321
- gap: 8px;
322
- padding: 12px 24px;
323
- border-radius: 4px;
324
- background-image: linear-gradient(to top, #000 100%, #666 0%);
325
- }
326
- .TagW.active {
327
- height: 40px;
328
- flex-grow: 1;
329
- display: flex;
330
- flex-direction: row;
331
- justify-content: center;
332
- align-items: center;
333
- gap: 6px;
334
- padding: 0 24px;
335
- border-radius: 16px;
336
- box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
337
- background-image: linear-gradient(to top, #000, #666);
338
- color: white;
339
- }
340
- .Tag {
341
- height: 40px;
342
- flex-grow: 1;
343
- display: flex;
344
- flex-direction: row;
345
- justify-content: center;
346
- align-items: center;
347
- gap: 6px;
348
- padding: 0 24px;
349
- border-radius: 16px;
350
- box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
351
- background-image: linear-gradient(
352
- to top,
353
- rgba(255, 0, 0, 0),
354
- rgba(255, 0, 0, 1)
355
- );
356
- }
357
- .TagW {
358
- height: 40px;
359
- flex-grow: 1;
360
- display: flex;
361
- flex-direction: row;
362
- justify-content: center;
363
- align-items: center;
364
- gap: 6px;
365
- padding: 0 24px;
366
- border-radius: 16px;
367
- border: solid 1px #000;
368
- background-color: #fff;
369
- color: #000;
370
- }
371
- /* */
372
- @media (min-width: 375px) and (max-width: 667px) {
373
- .Account-popup {
374
- height: 650px !important;
375
- padding: 10px;
376
- border-radius: 16px;
377
- box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
378
- border: solid 1px #d7d9e3;
379
- background-color: #fff;
380
- width: 90vw;
381
- }
382
- .filter {
383
- height: 260px;
384
- align-self: stretch;
385
- flex-grow: 0;
386
- display: flex;
387
- flex-direction: column;
388
- gap: 2px;
389
- padding: 32px;
390
- border-radius: 32px;
391
- box-shadow: inset 0 4px 10px 0 rgba(0, 0, 0, 0.15);
392
- background-color: #f2f2f2;
393
- }
394
- .middle-text {
395
- margin: 5px 25px;
396
- }
397
- .loginFilter {
398
- height: 180px;
399
- align-self: stretch;
400
- flex-grow: 0;
401
- display: flex;
402
- flex-direction: column;
403
- gap: 2px;
404
- padding: 32px;
405
- border-radius: 32px;
406
- box-shadow: inset 0 4px 10px 0 rgba(0, 0, 0, 0.15);
407
- background-color: #f2f2f2;
408
- }
409
- }
@@ -1,3 +0,0 @@
1
- .mainImage {
2
- height: 80%;
3
- }
@@ -1,83 +0,0 @@
1
- import React, { useEffect, useState } from "react";
2
- import iconClose from "../../assets/images/close.png";
3
-
4
- interface PopupProps {
5
- contentUrl: string;
6
- onCloseClick: () => void;
7
- }
8
-
9
- const FloorPlanPopup: React.FC<PopupProps> = ({ contentUrl, onCloseClick }) => {
10
- const [isContentImage, setIsContentImage] = useState(false);
11
-
12
- useEffect(() => {
13
- if (contentUrl) {
14
- const fileFormat = contentUrl.split(".").pop()?.toLowerCase();
15
- if (
16
- fileFormat === "png" ||
17
- fileFormat === "jpg" ||
18
- fileFormat === "jpeg" ||
19
- fileFormat === "svg"
20
- ) {
21
- setIsContentImage(true);
22
- }
23
- }
24
- }, [contentUrl]);
25
-
26
- const downloadButtonClickHandler = (): void => {
27
- // Create a temporary anchor element
28
- const link = document.createElement("a");
29
- link.href = contentUrl;
30
- link.setAttribute("download", ""); // This attribute hints the browser to download the file
31
-
32
- // Append the anchor to the body and click it to trigger the download
33
- document.body.appendChild(link);
34
- link.click();
35
-
36
- // Clean up: remove the anchor element
37
- document.body.removeChild(link);
38
- };
39
- return (
40
- <div className="popup-overlay">
41
- <div className=" d-flex w-50 flex-column col-6 ">
42
- <div className="d-flex align-self-end me-5 mt-5">
43
- <img
44
- src={iconClose}
45
- alt="close"
46
- className="closeIcon mt-5"
47
- onClick={onCloseClick}
48
- />
49
- </div>
50
- <div className="d-flex justify-content-center">
51
- <div className="p-2 bd-highlight">
52
- {isContentImage && (
53
- <div
54
- className="rounded-5 mainImage"
55
- style={{
56
- backgroundImage: `url(${contentUrl})`,
57
- height: "350px",
58
- width: "600px",
59
- backgroundSize: "cover",
60
- backgroundPosition: "center",
61
- }}
62
- ></div>
63
- )}
64
- {!isContentImage && (
65
- <div className="text-white text-center">
66
- No Preview Available
67
- <button
68
- className="btn btn-info"
69
- onClick={downloadButtonClickHandler}
70
- >
71
- {" "}
72
- Download{" "}
73
- </button>
74
- </div>
75
- )}
76
- </div>
77
- </div>
78
- </div>
79
- </div>
80
- );
81
- };
82
-
83
- export default FloorPlanPopup;
@@ -1,113 +0,0 @@
1
- .popup-header {
2
- display: flex;
3
- justify-content: center;
4
- align-items: center;
5
- width: 100%;
6
- padding: 1rem;
7
- position: absolute;
8
- top: 0;
9
- }
10
-
11
- .closeIconNestiq {
12
- position: absolute;
13
- right: 10px;
14
- top: 10px;
15
- width: 12px;
16
- height: 12px;
17
- cursor: pointer;
18
- z-index: 1;
19
- }
20
-
21
- .popup-title {
22
- color: white;
23
- font-size: 24px;
24
- font-weight: bold;
25
- }
26
-
27
- .btn-close {
28
- position: absolute;
29
- right: 1rem;
30
- top: 1rem;
31
- background: none;
32
- border: none;
33
- color: white;
34
- font-size: 24px;
35
- cursor: pointer;
36
- }
37
-
38
- .popup-body {
39
- display: flex;
40
- justify-content: center;
41
- align-items: center;
42
- padding: 1rem;
43
- position: relative;
44
- flex: 1;
45
- }
46
-
47
- .main-image {
48
- max-width: 100%;
49
- max-height: 80vh;
50
- border-radius: 8px;
51
- }
52
-
53
- .btn-prev,
54
- .btn-next {
55
- background: none;
56
- border: none;
57
- color: white;
58
- font-size: 48px;
59
- cursor: pointer;
60
- position: absolute;
61
- top: 50%;
62
- transform: translateY(-50%);
63
- }
64
-
65
- .btn-prev {
66
- left: 10px;
67
- }
68
-
69
- .btn-next {
70
- right: 10px;
71
- }
72
-
73
- .popup-thumbnails {
74
- display: flex;
75
- justify-content: center;
76
- align-items: center;
77
- gap: 10px;
78
- padding: 1rem;
79
- }
80
-
81
- .thumbnail {
82
- width: 60px;
83
- height: 60px;
84
- object-fit: cover;
85
- border-radius: 8px;
86
- cursor: pointer;
87
- opacity: 0.6;
88
- }
89
-
90
- .thumbnail.active {
91
- border: 2px solid white;
92
- opacity: 1;
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
- }