@akinon/projectzero 1.102.0 → 1.103.0-rc.81

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