@akinon/projectzero 1.92.0 → 1.93.0-rc.47

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 (52) hide show
  1. package/CHANGELOG.md +238 -4
  2. package/app-template/.env.example +1 -0
  3. package/app-template/CHANGELOG.md +4662 -302
  4. package/app-template/README.md +25 -1
  5. package/app-template/package.json +21 -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/search/index.tsx +17 -5
  42. package/app-template/src/views/login/index.tsx +11 -10
  43. package/app-template/src/views/otp-login/index.tsx +11 -6
  44. package/app-template/src/views/product/product-actions.tsx +165 -0
  45. package/app-template/src/views/product/product-info.tsx +61 -263
  46. package/app-template/src/views/product/product-share.tsx +56 -0
  47. package/app-template/src/views/product/product-variants.tsx +26 -0
  48. package/app-template/src/views/product/slider.tsx +86 -73
  49. package/app-template/src/views/register/index.tsx +15 -11
  50. package/commands/plugins.ts +75 -16
  51. package/dist/commands/plugins.js +69 -16
  52. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,12 +1,188 @@
1
1
  # @akinon/projectzero
2
2
 
3
+ ## 1.93.0-rc.47
4
+
5
+ ## 1.93.0-rc.46
6
+
7
+ ### Minor Changes
8
+
9
+ - d8be48fb: ZERO-3422: Update fetch method to use dynamic request method in wallet complete redirection middleware
10
+ - c67942a4: ZERO-3423: Updated version control and debug messages for the package
11
+ - 5de751aa: ZERO-3428 :Add Hepsipay plugin to the list of available plugins
12
+ - 143be2b9: ZERO-3457: Crop styles are customizable and logic improved for rendering similar products modal
13
+ - 16aff543: ZERO-3431: Add test script for redirect utility in package.json
14
+ - 64699d3ff: ZERO-2761: Fix invalid import for plugin module
15
+ - e974d8e8: ZERO-3406: Fix rc build
16
+ - 7eb51ca9: ZERO-3424 :Update package versions
17
+ - c806fad7: ZERO-3422: Add Flow Payment plugin to the defined plugins list
18
+ - 7727ae55: ZERO-3073: Refactor basket page to use server-side data fetching and simplify component structure
19
+ - 8b1d24eb: ZERO-3422: Update fetch method to use dynamic request method in wallet complete redirection middleware
20
+ - 72ad7bb1: ZERO-3422: Add Flow Payment to the list of available plugins
21
+ - 34578efc: ZERO-3419 :Add new payment plugins and update existing ones in the plugin list
22
+ - d99a6a7d: ZERO-3457: Fixed the settings prop and made sure everything is customizable.
23
+ - 33377cfd: ZERO-3267: Refactor import statement for ROUTES in error-page component
24
+
3
25
  ## 1.92.0
4
26
 
5
27
  ## 1.91.0
6
28
 
7
29
  ### Minor Changes
8
30
 
9
- - 942490f: ZERO-3295: move third party tailwind content list to akinon-next
31
+ - d8be48fb: ZERO-3422: Update fetch method to use dynamic request method in wallet complete redirection middleware
32
+ - c67942a4: ZERO-3423: Updated version control and debug messages for the package
33
+ - 5de751aa: ZERO-3428 :Add Hepsipay plugin to the list of available plugins
34
+ - 143be2b9: ZERO-3457: Crop styles are customizable and logic improved for rendering similar products modal
35
+ - 16aff543: ZERO-3431: Add test script for redirect utility in package.json
36
+ - 64699d3f: ZERO-2761: Fix invalid import for plugin module
37
+ - e974d8e8: ZERO-3406: Fix rc build
38
+ - 7eb51ca9: ZERO-3424 :Update package versions
39
+ - c806fad7: ZERO-3422: Add Flow Payment plugin to the defined plugins list
40
+ - 7727ae55: ZERO-3073: Refactor basket page to use server-side data fetching and simplify component structure
41
+ - 8b1d24eb: ZERO-3422: Update fetch method to use dynamic request method in wallet complete redirection middleware
42
+ - 72ad7bb1: ZERO-3422: Add Flow Payment to the list of available plugins
43
+ - 34578efc: ZERO-3419 :Add new payment plugins and update existing ones in the plugin list
44
+ - d99a6a7d: ZERO-3457: Fixed the settings prop and made sure everything is customizable.
45
+ - 33377cfd: ZERO-3267: Refactor import statement for ROUTES in error-page component
46
+
47
+ ## 1.92.0-rc.41
48
+
49
+ ## 1.92.0-rc.40
50
+
51
+ ## 1.92.0-rc.39
52
+
53
+ ## 1.92.0-rc.38
54
+
55
+ ## 1.92.0-rc.37
56
+
57
+ ## 1.92.0-rc.36
58
+
59
+ ## 1.92.0-rc.35
60
+
61
+ ## 1.92.0-rc.34
62
+
63
+ ## 1.92.0-rc.33
64
+
65
+ ## 1.92.0-rc.32
66
+
67
+ ## 1.92.0-rc.31
68
+
69
+ ## 1.92.0-rc.30
70
+
71
+ ## 1.92.0-rc.29
72
+
73
+ ## 1.92.0-rc.28
74
+
75
+ ## 1.92.0-rc.27
76
+
77
+ ## 1.92.0-rc.26
78
+
79
+ ### Minor Changes
80
+
81
+ - 16aff54: ZERO-3431: Add test script for redirect utility in package.json
82
+
83
+ ## 1.92.0-rc.25
84
+
85
+ ## 1.92.0-rc.24
86
+
87
+ ## 1.92.0-rc.23
88
+
89
+ ## 1.92.0-rc.22
90
+
91
+ ### Minor Changes
92
+
93
+ - 143be2b: ZERO-3457: Crop styles are customizable and logic improved for rendering similar products modal
94
+
95
+ ## 1.92.0-rc.21
96
+
97
+ ### Minor Changes
98
+
99
+ - d99a6a7: ZERO-3457: Fixed the settings prop and made sure everything is customizable.
100
+
101
+ ## 1.92.0-rc.20
102
+
103
+ ### Minor Changes
104
+
105
+ - 8b1d24e: ZERO-3422: Update fetch method to use dynamic request method in wallet complete redirection middleware
106
+
107
+ ## 1.92.0-rc.19
108
+
109
+ ### Minor Changes
110
+
111
+ - d8be48f: ZERO-3422: Update fetch method to use dynamic request method in wallet complete redirection middleware
112
+
113
+ ## 1.92.0-rc.18
114
+
115
+ ### Minor Changes
116
+
117
+ - c67942a: ZERO-3423: Updated version control and debug messages for the package
118
+
119
+ ## 1.92.0-rc.17
120
+
121
+ ## 1.92.0-rc.16
122
+
123
+ ## 1.92.0-rc.15
124
+
125
+ ### Minor Changes
126
+
127
+ - 5de751aa: ZERO-3428 :Add Hepsipay plugin to the list of available plugins
128
+
129
+ ## 1.92.0-rc.14
130
+
131
+ ## 1.92.0-rc.13
132
+
133
+ ## 1.92.0-rc.12
134
+
135
+ ## 1.92.0-rc.11
136
+
137
+ ## 1.92.0-rc.10
138
+
139
+ ## 1.92.0-rc.9
140
+
141
+ ### Minor Changes
142
+
143
+ - 72ad7bb: ZERO-3422: Add Flow Payment to the list of available plugins
144
+
145
+ ## 1.92.0-rc.8
146
+
147
+ ### Minor Changes
148
+
149
+ - c806fad: ZERO-3422: Add Flow Payment plugin to the defined plugins list
150
+
151
+ ## 1.92.0-rc.7
152
+
153
+ ## 1.91.0-rc.6
154
+
155
+ ## 1.91.0-rc.5
156
+
157
+ ## 1.91.0-rc.4
158
+
159
+ ### Minor Changes
160
+
161
+ - 7eb51ca: ZERO-3424 :Update package versions
162
+ - 34578ef: ZERO-3419 :Add new payment plugins and update existing ones in the plugin list
163
+
164
+ ## 1.91.0-rc.3
165
+
166
+ ### Minor Changes
167
+
168
+ - 64699d3f: ZERO-2761: Fix invalid import for plugin module
169
+ - e974d8e8: ZERO-3406: Fix rc build
170
+ - 7727ae55: ZERO-3073: Refactor basket page to use server-side data fetching and simplify component structure
171
+ - 33377cfd: ZERO-3267: Refactor import statement for ROUTES in error-page component
172
+ - 942490f2: ZERO-3295: move third party tailwind content list to akinon-next
173
+
174
+ ## 1.91.0-rc.2
175
+
176
+ ## 1.91.0-rc.1
177
+
178
+ ## 1.91.0-rc.0
179
+
180
+ ### Minor Changes
181
+
182
+ - 64699d3f: ZERO-2761: Fix invalid import for plugin module
183
+ - e974d8e: ZERO-3406: Fix rc build
184
+ - 7727ae55: ZERO-3073: Refactor basket page to use server-side data fetching and simplify component structure
185
+ - 33377cfd: ZERO-3267: Refactor import statement for ROUTES in error-page component
10
186
 
11
187
  ## 1.90.0
12
188
 
@@ -36,9 +212,67 @@
36
212
 
37
213
  ### Minor Changes
38
214
 
39
- - 7a1e1f7: ZERO-3138: Close the search input with the esc key
40
- - c82875b: ZERO-3140: Fix style layout size
41
- - 6c1dba7: ZERO-3174: update hash structure
215
+ - 33377cf: ZERO-3267: Refactor import statement for ROUTES in error-page component
216
+
217
+ ## 1.82.0-rc.18
218
+
219
+ ## 1.82.0-rc.17
220
+
221
+ ### Minor Changes
222
+
223
+ - e2583ac2: ZERO-3282: Switch to execSync for synchronous execution, enhance file checks, and add error page replacement script
224
+
225
+ ## 1.82.0-rc.16
226
+
227
+ ### Minor Changes
228
+
229
+ - 64699d3f: ZERO-2761: Fix invalid import for plugin module
230
+ - 7727ae55: ZERO-3073: Refactor basket page to use server-side data fetching and simplify component structure
231
+
232
+ ## 1.82.0-rc.15
233
+
234
+ ## 1.82.0-rc.14
235
+
236
+ ## 1.82.0-rc.13
237
+
238
+ ## 1.82.0-rc.12
239
+
240
+ ## 1.82.0-rc.11
241
+
242
+ ## 1.82.0-rc.10
243
+
244
+ ## 1.82.0-rc.9
245
+
246
+ ## 1.82.0-rc.8
247
+
248
+ ## 1.82.0-rc.7
249
+
250
+ ## 1.82.0-rc.6
251
+
252
+ ## 1.82.0-rc.5
253
+
254
+ ## 1.82.0-rc.4
255
+
256
+ ## 1.82.0-rc.3
257
+
258
+ ## 1.82.0-rc.2
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.1
266
+
267
+ ## 1.82.0-rc.0
268
+
269
+ ### Minor Changes
270
+
271
+ - 64699d3f: ZERO-2761: Fix invalid import for plugin module
272
+ - 7a1e1f73: ZERO-3138: Close the search input with the esc key
273
+ - 7727ae55: ZERO-3073: Refactor basket page to use server-side data fetching and simplify component structure
274
+ - c82875bc: ZERO-3140: Fix style layout size
275
+ - 6c1dba75: ZERO-3174: update hash structure
42
276
 
43
277
  ## 1.81.0
44
278
 
@@ -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