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,348 +0,0 @@
1
- .shareSection {
2
- height: 340px;
3
- padding: 40px;
4
- border-radius: 16px;
5
- box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
6
- border: solid 1px #d7d9e3;
7
- background-color: #fff;
8
- max-width: 1280px;
9
- }
10
- .popUpHeader {
11
- height: 48px;
12
- font-size: 32px;
13
- font-weight: 600;
14
- color: #1b1b1b;
15
- }
16
-
17
- .closeIcon_c {
18
- width: 16px;
19
- height: 16px;
20
- cursor: pointer;
21
- }
22
-
23
- .socialMediaIconsSection {
24
- gap: 60px !important;
25
- }
26
-
27
- .socialMediaIcons {
28
- width: 28px !important;
29
- height: 28px !important;
30
- cursor: pointer;
31
- }
32
-
33
- .socialMediaIconText {
34
- height: 36px;
35
- font-size: 13px;
36
- font-weight: 500;
37
- line-height: 3;
38
- color: #344041;
39
- cursor: pointer;
40
- }
41
-
42
- .popup_search-input {
43
- height: 60px;
44
- padding-inline-end: 190px;
45
- font-size: 20px;
46
- box-shadow: inset 0 4px 4px 0 rgba(0, 0, 0, 0.25);
47
- background-color: rgba(0, 0, 0, 0.05);
48
- }
49
-
50
- .popup_search-input::placeholder {
51
- font-size: 20px;
52
- color: rgba(140, 140, 140, 0.5);
53
- }
54
-
55
- .popup_search-input:focus {
56
- outline: none;
57
- }
58
-
59
- .popupcustom-button {
60
- height: 35px;
61
- color: #000;
62
- cursor: pointer;
63
- border-color: var(--main-yellow);
64
- right: 0;
65
- z-index: 1;
66
- background-image: var(--gradient);
67
- box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
68
- }
69
- .button-text {
70
- width: 115px;
71
- height: 19px;
72
- flex-grow: 0;
73
- font-family: Inter;
74
- font-size: 16px;
75
- font-weight: 500;
76
- font-stretch: normal;
77
- font-style: normal;
78
- line-height: normal;
79
- letter-spacing: normal;
80
- text-align: center;
81
- }
82
- .button_success-right {
83
- width: 184px;
84
- height: 43px;
85
- flex-grow: 0;
86
- display: flex;
87
- flex-direction: row;
88
- justify-content: center;
89
- align-items: center;
90
- gap: 8px;
91
- padding: 12px 24px;
92
- border-radius: 16px;
93
- border-color: #000;
94
- background-color: transparent;
95
- }
96
- .button_success-left {
97
- width: 200px;
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
- box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
108
- background-color: var(--main-yellow);
109
- }
110
- .shareSection-Success {
111
- height: 510px;
112
- padding: 40px;
113
- border-radius: 16px;
114
- box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
115
- border: solid 1px #d7d9e3;
116
- background-color: #fff;
117
- }
118
- .shareSection-Error {
119
- height: 400px;
120
- padding: 10px;
121
- border-radius: 16px;
122
- box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
123
- border: solid 1px #d7d9e3;
124
- background-color: #fff;
125
- }
126
- .MessageShareSection {
127
- height: 513px;
128
- padding: 14px 14px;
129
- border-radius: 16px;
130
- box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
131
- border: solid 1px #d7d9e3;
132
- background-color: #fff;
133
- }
134
-
135
- .popup-tags {
136
- font-size: large;
137
- font-weight: bold;
138
- }
139
- .button_icon-left {
140
- width: 184px;
141
- height: 43px;
142
- flex-grow: 0;
143
- display: flex;
144
- flex-direction: row;
145
- justify-content: center;
146
- align-items: center;
147
- gap: 8px;
148
- padding: 12px 24px;
149
- border-radius: 16px;
150
- box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
151
- background-color: var(--main-yellow);
152
- }
153
- .button-text {
154
- width: 85px;
155
- height: 19px;
156
- flex-grow: 0;
157
- font-family: Inter;
158
- font-size: 16px;
159
- font-weight: 500;
160
- font-stretch: normal;
161
- font-style: normal;
162
- line-height: normal;
163
- letter-spacing: normal;
164
- text-align: center;
165
- }
166
- .button_icon-right {
167
- width: 184px;
168
- height: 43px;
169
- flex-grow: 0;
170
- display: flex;
171
- flex-direction: row;
172
- justify-content: center;
173
- align-items: center;
174
- gap: 8px;
175
- padding: 12px 24px;
176
- border-radius: 16px;
177
- border-color: #000;
178
- background-color: transparent;
179
- }
180
- .circle {
181
- height: 55px;
182
- width: 55px;
183
- background-color: transparent;
184
- border-radius: 50%;
185
- border-style: solid;
186
- border-color: #000;
187
- border-width: 2px;
188
- }
189
- .Line-9,
190
- .Line-10 {
191
- height: 1px;
192
- flex-grow: 1;
193
- background-color: rgba(140, 140, 140, 0.5);
194
- max-width: 23rem;
195
- align-self: center;
196
- align-content: center;
197
- }
198
-
199
- .middle-container {
200
- display: flex;
201
- align-items: center;
202
- justify-content: center;
203
- }
204
-
205
- .middle-text {
206
- margin: 25px 25px;
207
- }
208
- .google-button {
209
- width: 260px;
210
- height: 45px;
211
- flex-grow: 0;
212
- display: flex;
213
- flex-direction: row;
214
- justify-content: center;
215
- align-items: center;
216
- gap: 8px;
217
- padding: 12px 24px;
218
- border-radius: 4px;
219
- background-color: #000000;
220
- background: linear-gradient(to top, #000, #666);
221
- }
222
- .Account-popup {
223
- height: 713px;
224
- padding: 10px;
225
- border-radius: 16px;
226
- box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
227
- border: solid 1px #d7d9e3;
228
- background-color: #fff;
229
- max-width: 1000px;
230
- }
231
- .lightertxt {
232
- color: #797979;
233
- }
234
-
235
- .filter {
236
- height: 343px;
237
- align-self: stretch;
238
- flex-grow: 0;
239
- display: flex;
240
- flex-direction: column;
241
- gap: 2px;
242
- padding: 32px;
243
- border-radius: 32px;
244
- box-shadow: inset 0 4px 10px 0 rgba(0, 0, 0, 0.15);
245
- background-color: #f2f2f2;
246
- }
247
- .loginFilter {
248
- height: 280px;
249
- align-self: stretch;
250
- flex-grow: 0;
251
- display: flex;
252
- flex-direction: column;
253
- gap: 2px;
254
- padding: 32px;
255
- border-radius: 32px;
256
- box-shadow: inset 0 4px 10px 0 rgba(0, 0, 0, 0.15);
257
- background-color: #f2f2f2;
258
- }
259
- .radioLabel {
260
- width: 176px;
261
- height: 19px;
262
- flex-grow: 0;
263
- font-family: Inter;
264
- font-size: 16px;
265
- font-weight: normal;
266
- font-stretch: normal;
267
- font-style: normal;
268
- line-height: normal;
269
- letter-spacing: normal;
270
- text-align: left;
271
- color: #1b1b1b;
272
- }
273
- .goButton-text {
274
- width: 78px;
275
- height: 19px;
276
- flex-grow: 0;
277
- font-family: Inter;
278
- font-size: 16px;
279
- font-weight: 500;
280
- font-stretch: normal;
281
- font-style: normal;
282
- line-height: normal;
283
- letter-spacing: normal;
284
- text-align: center;
285
- color: #1b1b1b;
286
- }
287
- .placeholders {
288
- width: 232px;
289
- height: 45px;
290
- flex-grow: 0;
291
- display: flex;
292
- flex-direction: row;
293
- justify-content: flex-start;
294
- align-items: center;
295
- gap: 8px;
296
- padding: 12px 24px;
297
- border-radius: 4px;
298
- background-image: linear-gradient(to top, #000 100%, #666 0%);
299
- }
300
- .TagW.active {
301
- height: 40px;
302
- flex-grow: 1;
303
- display: flex;
304
- flex-direction: row;
305
- justify-content: center;
306
- align-items: center;
307
- gap: 6px;
308
- padding: 0 24px;
309
- border-radius: 16px;
310
- box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
311
- background-image: linear-gradient(to top, #000, #666);
312
- color: white;
313
- }
314
- .Tag {
315
- height: 40px;
316
- flex-grow: 1;
317
- display: flex;
318
- flex-direction: row;
319
- justify-content: center;
320
- align-items: center;
321
- gap: 6px;
322
- padding: 0 24px;
323
- border-radius: 16px;
324
- box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
325
- background-image: linear-gradient(
326
- to top,
327
- rgba(255, 0, 0, 0),
328
- rgba(255, 0, 0, 1)
329
- );
330
- }
331
- .TagW {
332
- height: 40px;
333
- flex-grow: 1;
334
- display: flex;
335
- flex-direction: row;
336
- justify-content: center;
337
- align-items: center;
338
- gap: 6px;
339
- padding: 0 24px;
340
- border-radius: 16px;
341
- border: solid 1px #000;
342
- background-color: #fff;
343
- color: #000;
344
- }
345
- /* */
346
- .response {
347
- max-width: 1280px;
348
- }
@@ -1,143 +0,0 @@
1
- import React, { useRef, useState } 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 "./SharePopup.css";
9
- import { toast } from "react-toastify";
10
- import "../../styles/common.css";
11
-
12
- interface PopupProps {
13
- onClick: String | any;
14
- }
15
- export default function SharePopup(props: PopupProps) {
16
- const [showPopUp, setShowPopUp] = useState(true);
17
-
18
- const handleClose = () => {
19
- props.onClick();
20
- };
21
-
22
- const urlInputRef = useRef<HTMLInputElement | null>(null);
23
-
24
- const copyToClipboard = () => {
25
- urlInputRef.current!.select();
26
- document.execCommand("copy");
27
- toast.success("URL copied to clipboard!");
28
- };
29
-
30
- return (
31
- <div>
32
- {showPopUp && (
33
- <div className=" popup-overlay">
34
- <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">
35
- <div className="end-0 top-0 position-absolute ">
36
- <img
37
- src={x}
38
- alt="close"
39
- className="closeIcon_c me-2"
40
- onClick={handleClose}
41
- />
42
- </div>
43
- <div className="popUpHeader col-lg-12 d-flex justify-content-center mb-2">
44
- Jetzt teilen und weitersagen!
45
- </div>
46
- <div className="h-25 col-lg-12 socialMediaIconsSection d-flex flex-row align-items-center justify-content-center mx-auto">
47
- <a
48
- href="https://twitter.com/intent/tweet?url=https://www.nestiq.de&text=Nestiq"
49
- className="text-decoration-none"
50
- target="blank"
51
- >
52
- <div className=" flex-column d-flex align-items-center">
53
- <img
54
- src={Xtwitter}
55
- alt="twitter"
56
- className="socialMediaIcons"
57
- />
58
- <span className="socialMediaIconText">X (Twitter)</span>
59
- </div>
60
- </a>
61
-
62
- <a
63
- href="https://www.facebook.com/sharer/sharer.php?u=https://www.nestiq.de"
64
- className="text-decoration-none"
65
- target="blank"
66
- >
67
- <div className=" flex-column d-flex align-items-center">
68
- <img
69
- src={facebook}
70
- alt="facebook"
71
- className="socialMediaIcons "
72
- />
73
- <span className="socialMediaIconText">Facebook</span>
74
- </div>
75
- </a>
76
-
77
- <a
78
- href="https://api.whatsapp.com/send?text=https://www.nestiq.de"
79
- target="blank"
80
- className="text-decoration-none"
81
- >
82
- <div className=" flex-column d-flex align-items-center">
83
- <img
84
- src={whatsapp}
85
- alt="whatsapp"
86
- className=" socialMediaIcons"
87
- />
88
- <span className="socialMediaIconText">WhatsApp</span>
89
- </div>
90
- </a>
91
-
92
- <a
93
- href="https://www.linkedin.com/shareArticle?mini=true&url=https://www.nestiq.de"
94
- target="blank"
95
- className="text-decoration-none"
96
- >
97
- <div className=" flex-column d-flex align-items-center">
98
- <img
99
- src={linkedln}
100
- alt="linkedin"
101
- className=" socialMediaIcons"
102
- />
103
- <span className="socialMediaIconText">LinkedIn</span>
104
- </div>
105
- </a>
106
-
107
- <a
108
- href="https://www.nestiq.de"
109
- target="blank"
110
- className="text-decoration-none"
111
- >
112
- <div className=" flex-column d-flex align-items-center">
113
- <img src={email} alt="email" className=" socialMediaIcons" />
114
- <span className="socialMediaIconText">E-Mail</span>
115
- </div>
116
- </a>
117
- </div>
118
- <div className="col-10 mx-auto">
119
- <div className=" row align-items-center position-relative">
120
- <input
121
- ref={urlInputRef}
122
- type="text"
123
- className="popup_search-input rounded-4 border border-0 "
124
- placeholder="Enter link here"
125
- value={window.location.href}
126
- readOnly
127
- />
128
- <button
129
- onClick={copyToClipboard}
130
- className="popupcustom-button border border-0 position-absolute me-2 col-lg-3 col-md-3 col-sm-3 rounded-4 fs-6"
131
- type="button"
132
- id="button"
133
- >
134
- <strong>Kopieren</strong>
135
- </button>
136
- </div>
137
- </div>
138
- </div>
139
- </div>
140
- )}
141
- </div>
142
- );
143
- }
@@ -1,25 +0,0 @@
1
- import React from "react";
2
- import { ToastContainer, toast } from "react-toastify";
3
-
4
- // Utility function to show a toast
5
- export const showToast = (
6
- message: string,
7
- type: "info" | "success" | "warning" | "error" = "info",
8
- ) => {
9
- toast(message, { type });
10
- };
11
-
12
- const ToastWrapper: React.FC = () => (
13
- <ToastContainer
14
- position="top-right"
15
- autoClose={5000}
16
- hideProgressBar={false}
17
- closeOnClick
18
- rtl={false}
19
- pauseOnFocusLoss
20
- draggable
21
- pauseOnHover
22
- />
23
- );
24
-
25
- export default ToastWrapper;
@@ -1,14 +0,0 @@
1
- export function formatPrice(number: number): string {
2
- return number.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ".");
3
- }
4
- export function formatPropertyArea(area: number | string): string {
5
- if (typeof area === "number" || typeof area === "string") {
6
- return area
7
- .toString()
8
- .replace(".", ",")
9
- .replace(/\B(?=(\d{3})+(?!\d))/g, ".");
10
- } else {
11
- return area;
12
- console.log("Area is not a number or string");
13
- }
14
- }
package/src/index.tsx DELETED
@@ -1,26 +0,0 @@
1
- import "react-toastify/dist/ReactToastify.css";
2
-
3
- // COMPONENTS
4
- export { default as Button } from "./components/Button/Button";
5
- export { default as Popup } from "./components/Popup/Popup";
6
- // export { default as ImageListPopup } from "./components/ImageListPopup/ImageListPopup";
7
- export { default as PropertyDetailsHeader } from "./components/PropertyDetailsHeader/PropertyDetailsHeader";
8
- export { default as PropertyImageList } from "./components/PropertyImageList//PropertyImageList";
9
- export { default as PropertyCard } from "./components/PropertyCard//PropertyCard";
10
- export { default as SharePopup } from "./components/SharePopup/SharePopup";
11
- export { default as FloorPlanPopup } from "./components/FloorPlanPopup/FloorPlanPopup";
12
- export { default as NewPropertyCard } from "./components/NewPropertyCard/NewPropertyCard";
13
- export { default as MessagePopUp } from "./components/MessagePopup/MessagePopUp";
14
- export { default as SuccessPopUp } from "./components/MessagePopup/SuccessPopup";
15
- export { default as ErrorPopup } from "./components//ErrorPopup/ErrorPopup";
16
- // TOASTER WRAPPER AND FUNCTION
17
- export {
18
- default as ToastWrapper,
19
- showToast,
20
- } from "./components/ToastWrapper/ToastWrapper";
21
-
22
- // UTILITY FUNCTIONS
23
- export { formatPrice, formatPropertyArea } from "./functions/util";
24
-
25
- import "./styles/common.css"
26
-
@@ -1,7 +0,0 @@
1
- export interface MessageModel {
2
- themeId: string;
3
- subject: string;
4
- messageText: string;
5
- firstName: string;
6
- lastName: string;
7
- }
@@ -1,17 +0,0 @@
1
- .popup-overlay {
2
- position: fixed;
3
- top: 0;
4
- left: 0;
5
- right: 0;
6
- bottom: 0;
7
- background-color: rgba(0, 0, 0, 0.7);
8
- display: flex;
9
- justify-content: center;
10
- align-items: center;
11
- z-index: 9998;
12
- }
13
- :root {
14
- --main-yellow: #ffb525;
15
- --second-yellow:#ff902b;
16
- --gradient: linear-gradient(to bottom, var(--main-yellow), var(--second-yellow));;
17
- }
@@ -1,25 +0,0 @@
1
- // src/types/images.d.ts
2
- declare module '*.png' {
3
- const value: string;
4
- export default value;
5
- }
6
-
7
- declare module '*.svg' {
8
- const value: string;
9
- export default value;
10
- }
11
-
12
- declare module '*.jpg' {
13
- const value: string;
14
- export default value;
15
- }
16
-
17
- declare module '*.jpeg' {
18
- const value: string;
19
- export default value;
20
- }
21
-
22
- declare module '*.gif' {
23
- const value: string;
24
- export default value;
25
- }
package/tsconfig.json DELETED
@@ -1,22 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ES5",
4
- "module": "ES6",
5
- "declaration": true,
6
- "outDir": "dist",
7
- "jsx": "react",
8
- "strict": true,
9
- "esModuleInterop": true,
10
- "skipLibCheck": true,
11
- "forceConsistentCasingInFileNames": true,
12
- "moduleResolution": "node",
13
- "resolveJsonModule": true,
14
- "allowSyntheticDefaultImports": true,
15
- "sourceMap": true,
16
- "baseUrl": ".",
17
- "paths": {
18
- "*": ["node_modules/*", "src/types/*"]
19
- }
20
- },
21
- "include": ["src"]
22
- }