@akinon/projectzero 1.104.0 → 1.105.0-rc.84

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 (55) hide show
  1. package/CHANGELOG.md +234 -4
  2. package/app-template/.env.example +1 -0
  3. package/app-template/CHANGELOG.md +4968 -315
  4. package/app-template/README.md +25 -1
  5. package/app-template/package.json +19 -19
  6. package/app-template/public/locales/en/checkout.json +6 -0
  7. package/app-template/public/locales/en/common.json +42 -1
  8. package/app-template/public/locales/tr/checkout.json +6 -0
  9. package/app-template/public/locales/tr/common.json +42 -1
  10. package/app-template/src/app/[commerce]/[locale]/[currency]/basket/page.tsx +9 -82
  11. package/app-template/src/app/[commerce]/[locale]/[currency]/landing-page/[pk]/page.tsx +12 -1
  12. package/app-template/src/app/[commerce]/[locale]/[currency]/product/[pk]/loading.tsx +67 -0
  13. package/app-template/src/app/api/image-proxy/route.ts +1 -0
  14. package/app-template/src/app/api/similar-product-list/route.ts +1 -0
  15. package/app-template/src/app/api/similar-products/route.ts +1 -0
  16. package/app-template/src/assets/fonts/pz-icon.css +3 -0
  17. package/app-template/src/components/__tests__/link.test.tsx +2 -0
  18. package/app-template/src/components/accordion.tsx +22 -19
  19. package/app-template/src/components/file-input.tsx +27 -7
  20. package/app-template/src/components/input.tsx +9 -2
  21. package/app-template/src/components/modal.tsx +32 -16
  22. package/app-template/src/components/pagination.tsx +1 -0
  23. package/app-template/src/components/price.tsx +1 -1
  24. package/app-template/src/components/select.tsx +38 -26
  25. package/app-template/src/components/types/index.ts +25 -1
  26. package/app-template/src/hooks/index.ts +2 -0
  27. package/app-template/src/hooks/use-product-cart.ts +77 -0
  28. package/app-template/src/hooks/use-stock-alert.ts +74 -0
  29. package/app-template/src/plugins.js +3 -1
  30. package/app-template/src/settings.js +6 -1
  31. package/app-template/src/types/index.ts +17 -0
  32. package/app-template/src/utils/variant-validation.ts +41 -0
  33. package/app-template/src/views/account/address-form.tsx +8 -4
  34. package/app-template/src/views/account/contact-form.tsx +1 -1
  35. package/app-template/src/views/account/content-header.tsx +2 -2
  36. package/app-template/src/views/account/faq/faq-tabs.tsx +8 -2
  37. package/app-template/src/views/basket/basket-content.tsx +106 -0
  38. package/app-template/src/views/basket/basket-item.tsx +22 -14
  39. package/app-template/src/views/basket/summary.tsx +10 -7
  40. package/app-template/src/views/breadcrumb.tsx +2 -2
  41. package/app-template/src/views/category/category-info.tsx +1 -0
  42. package/app-template/src/views/category/filters/index.tsx +1 -1
  43. package/app-template/src/views/checkout/steps/payment/options/store-credit.tsx +121 -0
  44. package/app-template/src/views/checkout/summary.tsx +10 -0
  45. package/app-template/src/views/guest-login/index.tsx +6 -1
  46. package/app-template/src/views/header/search/index.tsx +17 -5
  47. package/app-template/src/views/product/product-actions.tsx +165 -0
  48. package/app-template/src/views/product/product-info.tsx +62 -263
  49. package/app-template/src/views/product/product-share.tsx +56 -0
  50. package/app-template/src/views/product/product-variants.tsx +26 -0
  51. package/app-template/src/views/product/slider.tsx +86 -73
  52. package/app-template/src/widgets/footer-menu.tsx +6 -2
  53. package/commands/plugins.ts +63 -16
  54. package/dist/commands/plugins.js +57 -16
  55. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @akinon/projectzero
2
2
 
3
+ ## 1.105.0-rc.84
4
+
5
+ ### Minor Changes
6
+
7
+ - d8be48fb: ZERO-3422: Update fetch method to use dynamic request method in wallet complete redirection middleware
8
+ - c67942a4: ZERO-3423: Updated version control and debug messages for the package
9
+ - 143be2b9: ZERO-3457: Crop styles are customizable and logic improved for rendering similar products modal
10
+ - 16aff543: ZERO-3431: Add test script for redirect utility in package.json
11
+ - 64699d3ff: ZERO-2761: Fix invalid import for plugin module
12
+ - e974d8e8: ZERO-3406: Fix rc build
13
+ - 7eb51ca9: ZERO-3424 :Update package versions
14
+ - 7727ae55: ZERO-3073: Refactor basket page to use server-side data fetching and simplify component structure
15
+ - 8b1d24eb: ZERO-3422: Update fetch method to use dynamic request method in wallet complete redirection middleware
16
+ - 34578efc: ZERO-3419 :Add new payment plugins and update existing ones in the plugin list
17
+ - d99a6a7d: ZERO-3457: Fixed the settings prop and made sure everything is customizable.
18
+ - 33377cfd: ZERO-3267: Refactor import statement for ROUTES in error-page component
19
+ - 33d4d0c: ZERO-3615: remove custom not found
20
+
3
21
  ## 1.104.0
4
22
 
5
23
  ## 1.103.0
@@ -43,7 +61,161 @@
43
61
 
44
62
  ### Minor Changes
45
63
 
46
- - 942490f: ZERO-3295: move third party tailwind content list to akinon-next
64
+ - d8be48fb: ZERO-3422: Update fetch method to use dynamic request method in wallet complete redirection middleware
65
+ - c67942a4: ZERO-3423: Updated version control and debug messages for the package
66
+ - 5de751aa: ZERO-3428 :Add Hepsipay plugin to the list of available plugins
67
+ - 143be2b9: ZERO-3457: Crop styles are customizable and logic improved for rendering similar products modal
68
+ - 16aff543: ZERO-3431: Add test script for redirect utility in package.json
69
+ - 64699d3f: ZERO-2761: Fix invalid import for plugin module
70
+ - e974d8e8: ZERO-3406: Fix rc build
71
+ - 7eb51ca9: ZERO-3424 :Update package versions
72
+ - c806fad7: ZERO-3422: Add Flow Payment plugin to the defined plugins list
73
+ - 7727ae55: ZERO-3073: Refactor basket page to use server-side data fetching and simplify component structure
74
+ - 8b1d24eb: ZERO-3422: Update fetch method to use dynamic request method in wallet complete redirection middleware
75
+ - 72ad7bb1: ZERO-3422: Add Flow Payment to the list of available plugins
76
+ - 34578efc: ZERO-3419 :Add new payment plugins and update existing ones in the plugin list
77
+ - d99a6a7d: ZERO-3457: Fixed the settings prop and made sure everything is customizable.
78
+ - 33377cfd: ZERO-3267: Refactor import statement for ROUTES in error-page component
79
+
80
+ ## 1.92.0-rc.41
81
+
82
+ ## 1.92.0-rc.40
83
+
84
+ ## 1.92.0-rc.39
85
+
86
+ ## 1.92.0-rc.38
87
+
88
+ ## 1.92.0-rc.37
89
+
90
+ ## 1.92.0-rc.36
91
+
92
+ ## 1.92.0-rc.35
93
+
94
+ ## 1.92.0-rc.34
95
+
96
+ ## 1.92.0-rc.33
97
+
98
+ ## 1.92.0-rc.32
99
+
100
+ ## 1.92.0-rc.31
101
+
102
+ ## 1.92.0-rc.30
103
+
104
+ ## 1.92.0-rc.29
105
+
106
+ ## 1.92.0-rc.28
107
+
108
+ ## 1.92.0-rc.27
109
+
110
+ ## 1.92.0-rc.26
111
+
112
+ ### Minor Changes
113
+
114
+ - 16aff54: ZERO-3431: Add test script for redirect utility in package.json
115
+
116
+ ## 1.92.0-rc.25
117
+
118
+ ## 1.92.0-rc.24
119
+
120
+ ## 1.92.0-rc.23
121
+
122
+ ## 1.92.0-rc.22
123
+
124
+ ### Minor Changes
125
+
126
+ - 143be2b: ZERO-3457: Crop styles are customizable and logic improved for rendering similar products modal
127
+
128
+ ## 1.92.0-rc.21
129
+
130
+ ### Minor Changes
131
+
132
+ - d99a6a7: ZERO-3457: Fixed the settings prop and made sure everything is customizable.
133
+
134
+ ## 1.92.0-rc.20
135
+
136
+ ### Minor Changes
137
+
138
+ - 8b1d24e: ZERO-3422: Update fetch method to use dynamic request method in wallet complete redirection middleware
139
+
140
+ ## 1.92.0-rc.19
141
+
142
+ ### Minor Changes
143
+
144
+ - d8be48f: ZERO-3422: Update fetch method to use dynamic request method in wallet complete redirection middleware
145
+
146
+ ## 1.92.0-rc.18
147
+
148
+ ### Minor Changes
149
+
150
+ - c67942a: ZERO-3423: Updated version control and debug messages for the package
151
+
152
+ ## 1.92.0-rc.17
153
+
154
+ ## 1.92.0-rc.16
155
+
156
+ ## 1.92.0-rc.15
157
+
158
+ ### Minor Changes
159
+
160
+ - 5de751aa: ZERO-3428 :Add Hepsipay plugin to the list of available plugins
161
+
162
+ ## 1.92.0-rc.14
163
+
164
+ ## 1.92.0-rc.13
165
+
166
+ ## 1.92.0-rc.12
167
+
168
+ ## 1.92.0-rc.11
169
+
170
+ ## 1.92.0-rc.10
171
+
172
+ ## 1.92.0-rc.9
173
+
174
+ ### Minor Changes
175
+
176
+ - 72ad7bb: ZERO-3422: Add Flow Payment to the list of available plugins
177
+
178
+ ## 1.92.0-rc.8
179
+
180
+ ### Minor Changes
181
+
182
+ - c806fad: ZERO-3422: Add Flow Payment plugin to the defined plugins list
183
+
184
+ ## 1.92.0-rc.7
185
+
186
+ ## 1.91.0-rc.6
187
+
188
+ ## 1.91.0-rc.5
189
+
190
+ ## 1.91.0-rc.4
191
+
192
+ ### Minor Changes
193
+
194
+ - 7eb51ca: ZERO-3424 :Update package versions
195
+ - 34578ef: ZERO-3419 :Add new payment plugins and update existing ones in the plugin list
196
+
197
+ ## 1.91.0-rc.3
198
+
199
+ ### Minor Changes
200
+
201
+ - 64699d3f: ZERO-2761: Fix invalid import for plugin module
202
+ - e974d8e8: ZERO-3406: Fix rc build
203
+ - 7727ae55: ZERO-3073: Refactor basket page to use server-side data fetching and simplify component structure
204
+ - 33377cfd: ZERO-3267: Refactor import statement for ROUTES in error-page component
205
+ - 942490f2: ZERO-3295: move third party tailwind content list to akinon-next
206
+
207
+ ## 1.91.0-rc.2
208
+
209
+ ## 1.91.0-rc.1
210
+
211
+ ## 1.91.0-rc.0
212
+
213
+ ### Minor Changes
214
+
215
+ - 64699d3f: ZERO-2761: Fix invalid import for plugin module
216
+ - e974d8e: ZERO-3406: Fix rc build
217
+ - 7727ae55: ZERO-3073: Refactor basket page to use server-side data fetching and simplify component structure
218
+ - 33377cfd: ZERO-3267: Refactor import statement for ROUTES in error-page component
47
219
 
48
220
  ## 1.90.0
49
221
 
@@ -73,9 +245,67 @@
73
245
 
74
246
  ### Minor Changes
75
247
 
76
- - 7a1e1f7: ZERO-3138: Close the search input with the esc key
77
- - c82875b: ZERO-3140: Fix style layout size
78
- - 6c1dba7: ZERO-3174: update hash structure
248
+ - 33377cf: ZERO-3267: Refactor import statement for ROUTES in error-page component
249
+
250
+ ## 1.82.0-rc.18
251
+
252
+ ## 1.82.0-rc.17
253
+
254
+ ### Minor Changes
255
+
256
+ - e2583ac2: ZERO-3282: Switch to execSync for synchronous execution, enhance file checks, and add error page replacement script
257
+
258
+ ## 1.82.0-rc.16
259
+
260
+ ### Minor Changes
261
+
262
+ - 64699d3f: ZERO-2761: Fix invalid import for plugin module
263
+ - 7727ae55: ZERO-3073: Refactor basket page to use server-side data fetching and simplify component structure
264
+
265
+ ## 1.82.0-rc.15
266
+
267
+ ## 1.82.0-rc.14
268
+
269
+ ## 1.82.0-rc.13
270
+
271
+ ## 1.82.0-rc.12
272
+
273
+ ## 1.82.0-rc.11
274
+
275
+ ## 1.82.0-rc.10
276
+
277
+ ## 1.82.0-rc.9
278
+
279
+ ## 1.82.0-rc.8
280
+
281
+ ## 1.82.0-rc.7
282
+
283
+ ## 1.82.0-rc.6
284
+
285
+ ## 1.82.0-rc.5
286
+
287
+ ## 1.82.0-rc.4
288
+
289
+ ## 1.82.0-rc.3
290
+
291
+ ## 1.82.0-rc.2
292
+
293
+ ### Minor Changes
294
+
295
+ - 64699d3f: ZERO-2761: Fix invalid import for plugin module
296
+ - 7727ae55: ZERO-3073: Refactor basket page to use server-side data fetching and simplify component structure
297
+
298
+ ## 1.82.0-rc.1
299
+
300
+ ## 1.82.0-rc.0
301
+
302
+ ### Minor Changes
303
+
304
+ - 64699d3f: ZERO-2761: Fix invalid import for plugin module
305
+ - 7a1e1f73: ZERO-3138: Close the search input with the esc key
306
+ - 7727ae55: ZERO-3073: Refactor basket page to use server-side data fetching and simplify component structure
307
+ - c82875bc: ZERO-3140: Fix style layout size
308
+ - 6c1dba75: ZERO-3174: update hash structure
79
309
 
80
310
  ## 1.81.0
81
311
 
@@ -6,6 +6,7 @@ NEXT_PUBLIC_GTM_KEY=GTM_KEY
6
6
  NEXT_PUBLIC_URL=http://localhost:3000
7
7
  SERVICE_BACKEND_URL=https://02fde10fee4440269e695aa10707dfaf.lb.akinoncloud.com
8
8
  SITEMAP_S3_BUCKET_NAME=0fb534
9
+ NEXT_PUBLIC_ENABLE_IMAGE_SEARCH=true
9
10
 
10
11
  # LOG_LEVEL_DEV=debug # For more details, please refer to the Logging documentation.
11
12