nestiq-component-library 1.0.25 → 1.0.27

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 (80) hide show
  1. package/dist/assets/images/Icon_rightArrow.bced4a705c07148d.svg +3 -0
  2. package/dist/assets/images/LayersIcon.34c085c352a2c9c8.svg +5 -0
  3. package/dist/assets/images/blackarrow-Right.e585ae62dd55abae.svg +3 -0
  4. package/dist/assets/images/blckarrow-Left.e2134741aa368d30.svg +3 -0
  5. package/dist/assets/images/chevron-left.04f0a7f16b745c1a.svg +3 -0
  6. package/dist/assets/images/default-property.9987f19670be82b6.jpg +0 -0
  7. package/dist/assets/images/envelope-fill.6669c9d64183941c.svg +3 -0
  8. package/dist/assets/images/facebook.ce73eacbfffe8a27.svg +3 -0
  9. package/dist/assets/images/icon_close_2.e41bb9a4db48e048.png +0 -0
  10. package/dist/assets/images/icon_gallery.269b721daf2ca907.svg +4 -0
  11. package/dist/assets/images/icon_map.2318ec664c3e615e.svg +10 -0
  12. package/dist/assets/images/icon_share_1.b9ec05630dc1087e.svg +3 -0
  13. package/dist/assets/images/layer_icon.9b56c187199c44b5.svg +5 -0
  14. package/dist/assets/images/linkedin.7539333145b03678.svg +3 -0
  15. package/dist/assets/images/locationIcon.0af399c78e0cdc20.svg +4 -0
  16. package/dist/assets/images/locationIconBlack.eb8e9e9226b43573.svg +4 -0
  17. package/dist/assets/images/twitter-x.48a4ac3f560f0a62.svg +3 -0
  18. package/dist/assets/images/whatsapp.28e6b0b24adc9289.svg +3 -0
  19. package/dist/components/ImageListPopup/ImageListPopup.d.ts +4 -11
  20. package/dist/components/PropertyDetailsHeader/PropertyDetailsHeader.d.ts +1 -1
  21. package/dist/components/PropertyImageList/PropertyImageList.d.ts +4 -9
  22. package/dist/components/SharePopup/PopUp.d.ts +7 -0
  23. package/dist/index.es.js +105 -73
  24. package/dist/index.es.js.map +1 -1
  25. package/dist/index.js +104 -72
  26. package/dist/index.js.map +1 -1
  27. package/nestiq-component-library-1.0.26.tgz +0 -0
  28. package/package.json +3 -7
  29. package/rollup.config.mjs +2 -7
  30. package/src/assets/images/Images/Icon_rightArrow.svg +3 -0
  31. package/src/assets/images/Images/LayersIcon.svg +5 -0
  32. package/src/assets/images/Images/Logo-Nestiq_black.svg +7 -0
  33. package/src/assets/images/Images/arrow-right-short.svg +3 -0
  34. package/src/assets/images/Images/arrow-right.svg +10 -0
  35. package/src/assets/images/Images/blackarrow-Right.svg +3 -0
  36. package/src/assets/images/Images/blckarrow-Left.svg +3 -0
  37. package/src/assets/images/Images/chevron-left.svg +3 -0
  38. package/src/assets/images/Images/default-property.jpg +0 -0
  39. package/src/assets/images/Images/dropdownIcon.svg +16 -0
  40. package/src/assets/images/Images/envelope-fill.svg +3 -0
  41. package/src/assets/images/Images/facebook.svg +3 -0
  42. package/src/assets/images/Images/facebook_icon.svg +3 -0
  43. package/src/assets/images/Images/google_icon.svg +10 -0
  44. package/src/assets/images/Images/heart.svg +3 -0
  45. package/src/assets/images/Images/heartIcon.svg +3 -0
  46. package/src/assets/images/Images/house.jpg +0 -0
  47. package/src/assets/images/Images/icon-close-white.webp +0 -0
  48. package/src/assets/images/Images/icon_checkmark.svg +10 -0
  49. package/src/assets/images/Images/icon_close 2.png +0 -0
  50. package/src/assets/images/Images/icon_gallery.svg +4 -0
  51. package/src/assets/images/Images/icon_home.svg +3 -0
  52. package/src/assets/images/Images/icon_map.svg +10 -0
  53. package/src/assets/images/Images/icon_share 1.svg +3 -0
  54. package/src/assets/images/Images/icon_user.png +0 -0
  55. package/src/assets/images/Images/layer_icon.svg +5 -0
  56. package/src/assets/images/Images/left arrow.svg +16 -0
  57. package/src/assets/images/Images/left-arrow.svg +4 -0
  58. package/src/assets/images/Images/linkedin.svg +3 -0
  59. package/src/assets/images/Images/locationIcon.svg +4 -0
  60. package/src/assets/images/Images/locationIconBlack.svg +4 -0
  61. package/src/assets/images/Images/mail-icon.png +0 -0
  62. package/src/assets/images/Images/no-image-icon.png +0 -0
  63. package/src/assets/images/Images/right arrow.svg +16 -0
  64. package/src/assets/images/Images/right-arrow.svg +4 -0
  65. package/src/assets/images/Images/twitter-x.svg +3 -0
  66. package/src/assets/images/Images/warning.svg +11 -0
  67. package/src/assets/images/Images/whatsapp.svg +3 -0
  68. package/src/assets/images/Images/x.svg +3 -0
  69. package/src/assets/images/envelope-fill.svg +3 -0
  70. package/src/assets/images/facebook.svg +3 -0
  71. package/src/assets/images/linkedin.svg +3 -0
  72. package/src/assets/images/twitter-x.svg +3 -0
  73. package/src/assets/images/whatsapp.svg +3 -0
  74. package/src/components/ImageListPopup/ImageListPopup.tsx +15 -86
  75. package/src/components/PropertyDetailsHeader/PropertyDetailsHeader.tsx +15 -13
  76. package/src/components/PropertyImageList/PropertyImageList.tsx +14 -43
  77. package/src/components/SharePopup/PopUp.css +359 -0
  78. package/src/components/SharePopup/PopUp.tsx +130 -0
  79. package/tsconfig.json +2 -0
  80. package/nestiq-component-library-1.0.22.tgz +0 -0
@@ -0,0 +1,359 @@
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
+
15
+ .shareSection {
16
+ height: 340px;
17
+ padding: 40px;
18
+ border-radius: 16px;
19
+ box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
20
+ border: solid 1px #d7d9e3;
21
+ background-color: #fff;
22
+
23
+ }
24
+ .popUpHeader {
25
+ height: 48px;
26
+ font-size: 32px;
27
+ font-weight: 600;
28
+ color: #1b1b1b;
29
+ }
30
+
31
+ .closeIcon {
32
+ width: 16px;
33
+ height: 16px;
34
+ cursor: pointer;
35
+ }
36
+
37
+ .socialMediaIconsSection {
38
+ gap: 60px !important;
39
+ }
40
+
41
+ .socialMediaIcons {
42
+ width: 28px !important;
43
+ height: 28px !important;
44
+ cursor: pointer;
45
+ }
46
+
47
+ .socialMediaIconText {
48
+ height: 36px;
49
+ font-size: 13px;
50
+ font-weight: 500;
51
+ line-height: 3;
52
+ color: #344041;
53
+ cursor: pointer;
54
+ }
55
+
56
+ .popup_search-input {
57
+ height: 60px;
58
+ padding-inline-end: 190px;
59
+ font-size: 20px;
60
+ box-shadow: inset 0 4px 4px 0 rgba(0, 0, 0, 0.25);
61
+ background-color: rgba(0, 0, 0, 0.05);
62
+ }
63
+
64
+ .popup_search-input::placeholder {
65
+ font-size: 20px;
66
+ color: rgba(140, 140, 140, 0.5);
67
+ }
68
+
69
+ .popup_search-input:focus {
70
+ outline: none;
71
+ }
72
+
73
+ .popupcustom-button {
74
+ height: 35px;
75
+ color: #000;
76
+ cursor: pointer;
77
+ border-color: #ffb525;
78
+ right: 0;
79
+ z-index: 1;
80
+ background-color: #ffb525;
81
+ box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
82
+ }
83
+ .button-text {
84
+ width: 115px;
85
+ height: 19px;
86
+ flex-grow: 0;
87
+ font-family: Inter;
88
+ font-size: 16px;
89
+ font-weight: 500;
90
+ font-stretch: normal;
91
+ font-style: normal;
92
+ line-height: normal;
93
+ letter-spacing: normal;
94
+ text-align: center;
95
+ }
96
+ .button_success-right {
97
+ width: 184px;
98
+ height: 43px;
99
+ flex-grow: 0;
100
+ display: flex;
101
+ flex-direction: row;
102
+ justify-content: center;
103
+ align-items: center;
104
+ gap: 8px;
105
+ padding: 12px 24px;
106
+ border-radius: 16px;
107
+ border-color: #000;
108
+ background-color: transparent;
109
+ }
110
+ .button_success-left {
111
+ width: 200px;
112
+ height: 43px;
113
+ flex-grow: 0;
114
+ display: flex;
115
+ flex-direction: row;
116
+ justify-content: center;
117
+ align-items: center;
118
+ gap: 8px;
119
+ padding: 12px 24px;
120
+ border-radius: 16px;
121
+ box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
122
+ background-color: #ffb525;
123
+ }
124
+ .shareSection-Success {
125
+ height: 510px;
126
+ padding: 40px;
127
+ border-radius: 16px;
128
+ box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
129
+ border: solid 1px #d7d9e3;
130
+ background-color: #fff;
131
+ }
132
+ .shareSection-Error {
133
+ height: 400px;
134
+ padding:10px;
135
+ border-radius: 16px;
136
+ box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
137
+ border: solid 1px #d7d9e3;
138
+ background-color: #fff;
139
+ }
140
+ .MessageShareSection {
141
+ height: 513px;
142
+ padding: 14px 14px;
143
+ border-radius: 16px;
144
+ box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
145
+ border: solid 1px #d7d9e3;
146
+ background-color: #fff;
147
+ }
148
+
149
+ .popup-tags {
150
+ font-size: large;
151
+ font-weight: bold;
152
+ }
153
+ .button_icon-left {
154
+ width: 184px;
155
+ height: 43px;
156
+ flex-grow: 0;
157
+ display: flex;
158
+ flex-direction: row;
159
+ justify-content: center;
160
+ align-items: center;
161
+ gap: 8px;
162
+ padding: 12px 24px;
163
+ border-radius: 16px;
164
+ box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
165
+ background-color: #ffb525;
166
+ }
167
+ .button-text {
168
+ width: 85px;
169
+ height: 19px;
170
+ flex-grow: 0;
171
+ font-family: Inter;
172
+ font-size: 16px;
173
+ font-weight: 500;
174
+ font-stretch: normal;
175
+ font-style: normal;
176
+ line-height: normal;
177
+ letter-spacing: normal;
178
+ text-align: center;
179
+ }
180
+ .button_icon-right {
181
+ width: 184px;
182
+ height: 43px;
183
+ flex-grow: 0;
184
+ display: flex;
185
+ flex-direction: row;
186
+ justify-content: center;
187
+ align-items: center;
188
+ gap: 8px;
189
+ padding: 12px 24px;
190
+ border-radius: 16px;
191
+ border-color: #000;
192
+ background-color: transparent;
193
+ }
194
+ .circle {
195
+ height: 55px;
196
+ width: 55px;
197
+ background-color: transparent;
198
+ border-radius: 50%;
199
+ border-style: solid;
200
+ border-color: #000;
201
+ border-width: 2px;
202
+ }
203
+ .Line-9, .Line-10 {
204
+ height: 1px;
205
+ flex-grow: 1;
206
+ background-color: rgba(140, 140, 140, 0.5);
207
+ max-width:23rem;
208
+ align-self: center;
209
+ align-content: center;
210
+
211
+ }
212
+
213
+ .middle-container {
214
+ display: flex;
215
+ align-items: center;
216
+ justify-content: center;
217
+ }
218
+
219
+ .middle-text {
220
+ margin: 25px 25px;
221
+ }
222
+ .google-button{
223
+ width: 260px;
224
+ height: 45px;
225
+ flex-grow: 0;
226
+ display: flex;
227
+ flex-direction: row;
228
+ justify-content: center;
229
+ align-items: center;
230
+ gap: 8px;
231
+ padding: 12px 24px;
232
+ border-radius: 4px;
233
+ background-color: #000000;
234
+ background: linear-gradient(to top, #000 , #666 );
235
+
236
+
237
+ }
238
+ .Account-popup{
239
+
240
+ height: 713px;
241
+ padding: 10px;
242
+ border-radius: 16px;
243
+ box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
244
+ border: solid 1px #d7d9e3;
245
+ background-color: #fff;
246
+ max-width: 1000px;
247
+
248
+ }
249
+ .lightertxt{
250
+ color: #797979;
251
+ }
252
+
253
+ .filter {
254
+ height: 343px;
255
+ align-self: stretch;
256
+ flex-grow: 0;
257
+ display: flex;
258
+ flex-direction: column;
259
+ gap: 2px;
260
+ padding: 32px;
261
+ border-radius: 32px;
262
+ box-shadow: inset 0 4px 10px 0 rgba(0, 0, 0, 0.15);
263
+ background-color: #f2f2f2;
264
+ }
265
+ .loginFilter {
266
+ height: 280px;
267
+ align-self: stretch;
268
+ flex-grow: 0;
269
+ display: flex;
270
+ flex-direction: column;
271
+ gap: 2px;
272
+ padding: 32px;
273
+ border-radius: 32px;
274
+ box-shadow: inset 0 4px 10px 0 rgba(0, 0, 0, 0.15);
275
+ background-color: #f2f2f2;
276
+ }
277
+ .radioLabel {
278
+ width: 176px;
279
+ height: 19px;
280
+ flex-grow: 0;
281
+ font-family: Inter;
282
+ font-size: 16px;
283
+ font-weight: normal;
284
+ font-stretch: normal;
285
+ font-style: normal;
286
+ line-height: normal;
287
+ letter-spacing: normal;
288
+ text-align: left;
289
+ color: #1b1b1b;
290
+ }
291
+ .goButton-text {
292
+ width: 78px;
293
+ height: 19px;
294
+ flex-grow: 0;
295
+ font-family: Inter;
296
+ font-size: 16px;
297
+ font-weight: 500;
298
+ font-stretch: normal;
299
+ font-style: normal;
300
+ line-height: normal;
301
+ letter-spacing: normal;
302
+ text-align: center;
303
+ color: #1b1b1b;
304
+ }
305
+ .placeholders {
306
+ width: 232px;
307
+ height: 45px;
308
+ flex-grow: 0;
309
+ display: flex;
310
+ flex-direction: row;
311
+ justify-content: flex-start;
312
+ align-items: center;
313
+ gap: 8px;
314
+ padding: 12px 24px;
315
+ border-radius: 4px;
316
+ background-image: linear-gradient(to top, #000 100%, #666 0%);
317
+ }
318
+ .TagW.active {
319
+ height: 40px;
320
+ flex-grow: 1;
321
+ display: flex;
322
+ flex-direction: row;
323
+ justify-content: center;
324
+ align-items: center;
325
+ gap: 6px;
326
+ padding: 0 24px;
327
+ border-radius: 16px;
328
+ box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
329
+ background-image: linear-gradient(to top, #000 , #666);
330
+ color: white;
331
+ }
332
+ .Tag {
333
+ height: 40px;
334
+ flex-grow: 1;
335
+ display: flex;
336
+ flex-direction: row;
337
+ justify-content: center;
338
+ align-items: center;
339
+ gap: 6px;
340
+ padding: 0 24px;
341
+ border-radius: 16px;
342
+ box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
343
+ background-image: linear-gradient(to top, rgba(255, 0, 0, 0), rgba(255,0,0,1));}
344
+ .TagW {
345
+ height: 40px;
346
+ flex-grow: 1;
347
+ display: flex;
348
+ flex-direction: row;
349
+ justify-content: center;
350
+ align-items: center;
351
+ gap: 6px;
352
+ padding: 0 24px;
353
+ border-radius: 16px;
354
+ border: solid 1px #000;
355
+ background-color: #fff;
356
+ color: #000;
357
+
358
+ }
359
+ /* */
@@ -0,0 +1,130 @@
1
+ import React, { useRef } from "react";
2
+ import email from "../../assets/Images/envelope-fill.svg";
3
+ import facebook from "../../assets/Images/facebook.svg";
4
+ import x from "../../assets/Images/icon_close_2.png";
5
+ import linkedln from "../../assets/Images/linkedin.svg";
6
+ import Xtwitter from "../../assets/Images/twitter-x.svg";
7
+ import whatsapp from "../../assets/Images/whatsapp.svg";
8
+ import "./PopUp.css";
9
+
10
+ interface Popupprops {
11
+ onClick: () => void;
12
+ }
13
+ export default function PopUp(props: Popupprops) {
14
+ const handleClose = () => {
15
+ props.onClick();
16
+ };
17
+ const urlInputRef = useRef<HTMLInputElement | null>(null);
18
+
19
+ const copyToClipboard = () => {
20
+ urlInputRef.current!.select();
21
+ document.execCommand("copy");
22
+ // toast.success("URL copied to clipboard!");
23
+ };
24
+
25
+ return (
26
+ <div className="popup-overlay">
27
+ <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">
28
+ <div className="end-0 top-0 position-absolute ">
29
+ <img
30
+ src={x}
31
+ alt="close"
32
+ className="closeIcon me-2"
33
+ onClick={handleClose}
34
+ />
35
+ </div>
36
+ <div className="popUpHeader col-lg-12 d-flex justify-content-center mb-2">
37
+ Jetzt teilen und weitersagen!
38
+ </div>
39
+ <div className="h-25 col-lg-12 socialMediaIconsSection d-flex flex-row align-items-center justify-content-center mx-auto">
40
+ <a
41
+ href="https://twitter.com/intent/tweet?url=https://www.nestiq.de&text=Nestiq"
42
+ className="text-decoration-none"
43
+ target="blank"
44
+ >
45
+ <div className=" flex-column d-flex align-items-center">
46
+ <img src={Xtwitter} alt="twitter" className="socialMediaIcons" />
47
+ <span className="socialMediaIconText">Xtwitter</span>
48
+ </div>
49
+ </a>
50
+
51
+ <a
52
+ href="https://www.facebook.com/sharer/sharer.php?u=https://www.nestiq.de"
53
+ className="text-decoration-none"
54
+ target="blank"
55
+ >
56
+ <div className=" flex-column d-flex align-items-center">
57
+ <img
58
+ src={facebook}
59
+ alt="facebook"
60
+ className="socialMediaIcons "
61
+ />
62
+ <span className="socialMediaIconText">Facebook</span>
63
+ </div>
64
+ </a>
65
+
66
+ <a
67
+ href="https://api.whatsapp.com/send?text=https://www.nestiq.de"
68
+ target="blank"
69
+ className="text-decoration-none"
70
+ >
71
+ <div className=" flex-column d-flex align-items-center">
72
+ <img
73
+ src={whatsapp}
74
+ alt="whatsapp"
75
+ className=" socialMediaIcons"
76
+ />
77
+ <span className="socialMediaIconText">WhatsApp</span>
78
+ </div>
79
+ </a>
80
+
81
+ <a
82
+ href="https://www.linkedin.com/shareArticle?mini=true&url=https://www.nestiq.de"
83
+ target="blank"
84
+ className="text-decoration-none"
85
+ >
86
+ <div className=" flex-column d-flex align-items-center">
87
+ <img
88
+ src={linkedln}
89
+ alt="linkedin"
90
+ className=" socialMediaIcons"
91
+ />
92
+ <span className="socialMediaIconText">LinkedIn</span>
93
+ </div>
94
+ </a>
95
+
96
+ <a
97
+ href="https://www.nestiq.de"
98
+ target="blank"
99
+ className="text-decoration-none"
100
+ >
101
+ <div className=" flex-column d-flex align-items-center">
102
+ <img src={email} alt="email" className=" socialMediaIcons" />
103
+ <span className="socialMediaIconText">E-mail</span>
104
+ </div>
105
+ </a>
106
+ </div>
107
+ <div className="col-10 mx-auto">
108
+ <div className=" row align-items-center position-relative">
109
+ <input
110
+ ref={urlInputRef}
111
+ type="text"
112
+ className="popup_search-input rounded-4 border border-0 "
113
+ placeholder="Enter link here"
114
+ value={window.location.href}
115
+ readOnly
116
+ />
117
+ <button
118
+ onClick={copyToClipboard}
119
+ className="popupcustom-button border border-0 position-absolute me-2 col-lg-3 col-md-3 col-sm-3 rounded-4 fs-6"
120
+ type="button"
121
+ id="button"
122
+ >
123
+ <strong>Kopieren</strong>
124
+ </button>
125
+ </div>
126
+ </div>
127
+ </div>
128
+ </div>
129
+ );
130
+ }
package/tsconfig.json CHANGED
@@ -11,6 +11,8 @@
11
11
  "forceConsistentCasingInFileNames": true,
12
12
  "moduleResolution": "node",
13
13
  "resolveJsonModule": true,
14
+ "allowSyntheticDefaultImports": true,
15
+ "sourceMap": true,
14
16
  "baseUrl": ".",
15
17
  "paths": {
16
18
  "*": ["node_modules/*", "src/types/*"]
Binary file