@akinon/projectzero 1.94.0 → 1.95.0-snapshot-ZERO-3586-20250901132537

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