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