@akinon/projectzero 1.35.0 → 1.36.0-rc.1
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.
- package/CHANGELOG.md +42 -0
- package/app-template/CHANGELOG.md +352 -7
- package/app-template/eslint.config.js +10 -0
- package/app-template/package.json +10 -10
- package/app-template/public/locales/en/account.json +4 -4
- package/app-template/public/locales/tr/account.json +1 -1
- package/app-template/src/app/[commerce]/[locale]/[currency]/[...prettyurl]/page.tsx +8 -0
- package/app-template/src/app/[commerce]/[locale]/[currency]/account/change-email/page.tsx +0 -2
- package/app-template/src/app/[commerce]/[locale]/[currency]/account/coupons/page.tsx +4 -4
- package/app-template/src/app/[commerce]/[locale]/[currency]/account/profile/page.tsx +1 -0
- package/app-template/src/app/[commerce]/[locale]/[currency]/address/stores/page.tsx +2 -2
- package/app-template/src/app/[commerce]/[locale]/[currency]/auth/page.tsx +1 -1
- package/app-template/src/app/[commerce]/[locale]/[currency]/landing-page/[pk]/page.tsx +0 -2
- package/app-template/src/app/[commerce]/[locale]/[currency]/orders/checkout/page.tsx +2 -2
- package/app-template/src/app/[commerce]/[locale]/[currency]/orders/completed/[token]/page.tsx +13 -9
- package/app-template/src/app/api/form/[...id]/route.ts +3 -3
- package/app-template/src/components/carousel-core.tsx +1 -1
- package/app-template/src/components/checkbox.tsx +2 -2
- package/app-template/src/components/input.tsx +19 -7
- package/app-template/src/components/pagination.tsx +2 -2
- package/app-template/src/components/price.tsx +3 -3
- package/app-template/src/middleware.ts +13 -13
- package/app-template/src/redux/reducers/category.ts +23 -1
- package/app-template/src/redux/store.ts +1 -1
- package/app-template/src/types/next-auth.d.ts +1 -0
- package/app-template/src/views/account/account-menu.tsx +0 -1
- package/app-template/src/views/account/address-form.tsx +4 -4
- package/app-template/src/views/account/favourite-products/favourite-products-list.tsx +5 -1
- package/app-template/src/views/account/orders/order-detail-header.tsx +0 -7
- package/app-template/src/views/category/category-active-filters.tsx +24 -35
- package/app-template/src/views/category/category-info.tsx +3 -3
- package/app-template/src/views/category/filters/index.tsx +23 -13
- package/app-template/src/views/checkout/auth.tsx +1 -1
- package/app-template/src/views/checkout/steps/payment/options/credit-card/index.tsx +1 -1
- package/app-template/src/views/checkout/steps/payment/options/funds-transfer.tsx +2 -3
- package/app-template/src/views/checkout/steps/payment/options/redirection.tsx +2 -5
- package/app-template/src/views/find-in-store/index.tsx +2 -2
- package/app-template/src/views/header/mini-basket.tsx +2 -2
- package/app-template/src/views/product/product-info.tsx +9 -2
- package/app-template/src/views/product-item/index.tsx +1 -1
- package/app-template/src/widgets/footer-subscription/footer-subscription-form.tsx +1 -1
- package/app-template/tsconfig.json +14 -4
- package/commands/create.ts +29 -5
- package/dist/commands/create.js +25 -2
- package/package.json +1 -1
- package/app-template/.eslintrc.js +0 -31
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @akinon/projectzero
|
|
2
2
|
|
|
3
|
+
## 1.36.0-rc.1
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 00ffde2: ZERO-2637: enhance create command with improved messaging
|
|
8
|
+
|
|
9
|
+
## 1.36.0-rc.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 9b6bf91: ZERO-2660: Change campaings to campaigns
|
|
14
|
+
|
|
3
15
|
## 1.35.0
|
|
4
16
|
|
|
5
17
|
## 1.34.0
|
|
@@ -9,6 +21,36 @@
|
|
|
9
21
|
- cd78ddc: ZERO-2661: rename .npmignore to .gitignore during project creation
|
|
10
22
|
- 735f4f0: ZERO-2661: create .npmignore in app-template
|
|
11
23
|
|
|
24
|
+
## 1.34.0-rc.16
|
|
25
|
+
|
|
26
|
+
### Minor Changes
|
|
27
|
+
|
|
28
|
+
- cd78ddc: ZERO-2661: rename .npmignore to .gitignore during project creation
|
|
29
|
+
|
|
30
|
+
## 1.34.0-rc.15
|
|
31
|
+
|
|
32
|
+
### Minor Changes
|
|
33
|
+
|
|
34
|
+
- 735f4f0: ZERO-2661: create .npmignore in app-template
|
|
35
|
+
|
|
36
|
+
## 1.34.0-rc.14
|
|
37
|
+
|
|
38
|
+
## 1.34.0-rc.13
|
|
39
|
+
|
|
40
|
+
## 1.34.0-rc.12
|
|
41
|
+
|
|
42
|
+
## 1.34.0-rc.11
|
|
43
|
+
|
|
44
|
+
## 1.34.0-rc.10
|
|
45
|
+
|
|
46
|
+
## 1.34.0-rc.9
|
|
47
|
+
|
|
48
|
+
## 1.34.0-rc.8
|
|
49
|
+
|
|
50
|
+
## 1.34.0-rc.7
|
|
51
|
+
|
|
52
|
+
## 1.34.0-rc.6
|
|
53
|
+
|
|
12
54
|
## 1.33.2
|
|
13
55
|
|
|
14
56
|
### Patch Changes
|
|
@@ -1,5 +1,62 @@
|
|
|
1
1
|
# projectzeronext
|
|
2
2
|
|
|
3
|
+
## 1.36.0-rc.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @akinon/next@1.36.0-rc.1
|
|
8
|
+
- @akinon/pz-b2b@1.36.0-rc.1
|
|
9
|
+
- @akinon/pz-gpay@1.36.0-rc.1
|
|
10
|
+
- @akinon/pz-masterpass@1.36.0-rc.1
|
|
11
|
+
- @akinon/pz-one-click-checkout@1.36.0-rc.1
|
|
12
|
+
- @akinon/pz-otp@1.36.0-rc.1
|
|
13
|
+
- @akinon/pz-pay-on-delivery@1.36.0-rc.1
|
|
14
|
+
|
|
15
|
+
## 1.36.0-rc.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- 27a5296: ZERO-2631:Fix Checkbox Click
|
|
20
|
+
- ebb63ce: ZERO-2525: Fix category facet removal bug and add close icon to active filters
|
|
21
|
+
- 9b6bf91: ZERO-2660: Change campaings to campaigns
|
|
22
|
+
- 74a1269: ZERO-2658:Edit product name clickability on completed order page
|
|
23
|
+
- 0d0f36c: ZERO-2598: Fix eslint warnings and update dependencies
|
|
24
|
+
- 91265bb: ZERO-2551: Improve pretty url and caching performance
|
|
25
|
+
- 902d828: ZERO-2621:edit position of loaderSpinner in favorites page
|
|
26
|
+
- 3420416: ZERO-2533: extend eslint config from @akinon/next
|
|
27
|
+
- beb499e: ZERO-2551: Add new tsconfig paths
|
|
28
|
+
- 6c18543: ZERO-2542:Refactor and show error in OneClickCheckoutButtons
|
|
29
|
+
- 202f84e: ZERO-2569: Fix static keys
|
|
30
|
+
- 4614eee: ZERO-2602: The script that checks the build for standalone projects
|
|
31
|
+
- f046f8e: ZERO-2575: update version for react-number-format
|
|
32
|
+
- 12c10a4: ZERO-2570: Category filters routes to absolute url
|
|
33
|
+
|
|
34
|
+
### Patch Changes
|
|
35
|
+
|
|
36
|
+
- Updated dependencies [a4c8d6a]
|
|
37
|
+
- Updated dependencies [8e6e8cf]
|
|
38
|
+
- Updated dependencies [c53ef7b]
|
|
39
|
+
- Updated dependencies [ebb63ce]
|
|
40
|
+
- Updated dependencies [7cebe87]
|
|
41
|
+
- Updated dependencies [616690d]
|
|
42
|
+
- Updated dependencies [91265bb]
|
|
43
|
+
- Updated dependencies [59fb7c3]
|
|
44
|
+
- Updated dependencies [bbe18b9]
|
|
45
|
+
- Updated dependencies [3420416]
|
|
46
|
+
- Updated dependencies [beb499e]
|
|
47
|
+
- Updated dependencies [6c18543]
|
|
48
|
+
- Updated dependencies [40ad73e]
|
|
49
|
+
- Updated dependencies [495d155]
|
|
50
|
+
- Updated dependencies [f046f8e]
|
|
51
|
+
- Updated dependencies [3e68768]
|
|
52
|
+
- @akinon/next@1.36.0-rc.0
|
|
53
|
+
- @akinon/pz-one-click-checkout@1.36.0-rc.0
|
|
54
|
+
- @akinon/pz-b2b@1.36.0-rc.0
|
|
55
|
+
- @akinon/pz-gpay@1.36.0-rc.0
|
|
56
|
+
- @akinon/pz-masterpass@1.36.0-rc.0
|
|
57
|
+
- @akinon/pz-otp@1.36.0-rc.0
|
|
58
|
+
- @akinon/pz-pay-on-delivery@1.36.0-rc.0
|
|
59
|
+
|
|
3
60
|
## 1.35.0
|
|
4
61
|
|
|
5
62
|
### Minor Changes
|
|
@@ -29,13 +86,301 @@
|
|
|
29
86
|
|
|
30
87
|
### Patch Changes
|
|
31
88
|
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
-
|
|
35
|
-
-
|
|
36
|
-
-
|
|
37
|
-
-
|
|
38
|
-
-
|
|
89
|
+
- Updated dependencies [a4c8d6a]
|
|
90
|
+
- Updated dependencies [d09b677]
|
|
91
|
+
- Updated dependencies [6d4aadb]
|
|
92
|
+
- Updated dependencies [8e6e8cf]
|
|
93
|
+
- Updated dependencies [c53ef7b]
|
|
94
|
+
- Updated dependencies [ebb63ce]
|
|
95
|
+
- Updated dependencies [7cebe87]
|
|
96
|
+
- Updated dependencies [616690d]
|
|
97
|
+
- Updated dependencies [f3b595e]
|
|
98
|
+
- Updated dependencies [91265bb]
|
|
99
|
+
- Updated dependencies [59fb7c3]
|
|
100
|
+
- Updated dependencies [bbe18b9]
|
|
101
|
+
- Updated dependencies [f0c23bc]
|
|
102
|
+
- Updated dependencies [3420416]
|
|
103
|
+
- Updated dependencies [495d155]
|
|
104
|
+
- Updated dependencies [beb499e]
|
|
105
|
+
- Updated dependencies [6c18543]
|
|
106
|
+
- Updated dependencies [40ad73e]
|
|
107
|
+
- Updated dependencies [495d155]
|
|
108
|
+
- Updated dependencies [f046f8e]
|
|
109
|
+
- Updated dependencies [6b2972b]
|
|
110
|
+
- Updated dependencies [3e68768]
|
|
111
|
+
- @akinon/next@1.34.0-rc.20
|
|
112
|
+
- @akinon/pz-masterpass@1.34.0-rc.20
|
|
113
|
+
- @akinon/pz-one-click-checkout@1.34.0-rc.20
|
|
114
|
+
- @akinon/pz-b2b@1.34.0-rc.20
|
|
115
|
+
- @akinon/pz-gpay@1.34.0-rc.20
|
|
116
|
+
- @akinon/pz-otp@1.34.0-rc.20
|
|
117
|
+
- @akinon/pz-pay-on-delivery@1.34.0-rc.20
|
|
118
|
+
|
|
119
|
+
## 1.34.0-rc.19
|
|
120
|
+
|
|
121
|
+
### Patch Changes
|
|
122
|
+
|
|
123
|
+
- Updated dependencies [c53ef7b]
|
|
124
|
+
- @akinon/next@1.34.0-rc.19
|
|
125
|
+
- @akinon/pz-b2b@1.34.0-rc.19
|
|
126
|
+
- @akinon/pz-gpay@1.34.0-rc.19
|
|
127
|
+
- @akinon/pz-masterpass@1.34.0-rc.19
|
|
128
|
+
- @akinon/pz-one-click-checkout@1.34.0-rc.19
|
|
129
|
+
- @akinon/pz-otp@1.34.0-rc.19
|
|
130
|
+
- @akinon/pz-pay-on-delivery@1.34.0-rc.19
|
|
131
|
+
|
|
132
|
+
## 1.34.0-rc.18
|
|
133
|
+
|
|
134
|
+
### Minor Changes
|
|
135
|
+
|
|
136
|
+
- 9b6bf91: ZERO-2660: Change campaings to campaigns
|
|
137
|
+
- 902d828: ZERO-2621:edit position of loaderSpinner in favorites page
|
|
138
|
+
|
|
139
|
+
### Patch Changes
|
|
140
|
+
|
|
141
|
+
- Updated dependencies [a4c8d6a]
|
|
142
|
+
- @akinon/next@1.34.0-rc.18
|
|
143
|
+
- @akinon/pz-b2b@1.34.0-rc.18
|
|
144
|
+
- @akinon/pz-gpay@1.34.0-rc.18
|
|
145
|
+
- @akinon/pz-masterpass@1.34.0-rc.18
|
|
146
|
+
- @akinon/pz-one-click-checkout@1.34.0-rc.18
|
|
147
|
+
- @akinon/pz-otp@1.34.0-rc.18
|
|
148
|
+
- @akinon/pz-pay-on-delivery@1.34.0-rc.18
|
|
149
|
+
|
|
150
|
+
## 1.34.0-rc.17
|
|
151
|
+
|
|
152
|
+
### Minor Changes
|
|
153
|
+
|
|
154
|
+
- 567e4c1: ZERO-2580:Add checked attribute from props to checkbox
|
|
155
|
+
- d09b677: ZERO-2577: Fix pagination bug and update usePagination hook and ensure pagination controls rendering correctly
|
|
156
|
+
- 27a5296: ZERO-2631:Fix Checkbox Click
|
|
157
|
+
- ebb63ce: ZERO-2525: Fix category facet removal bug and add close icon to active filters
|
|
158
|
+
- 74a1269: ZERO-2658:Edit product name clickability on completed order page
|
|
159
|
+
- 0d0f36c: ZERO-2598: Fix eslint warnings and update dependencies
|
|
160
|
+
- 91265bb: ZERO-2551: Improve pretty url and caching performance
|
|
161
|
+
- f0c23bc: ZERO-2135: add custom not found page
|
|
162
|
+
- 3420416: ZERO-2533: extend eslint config from @akinon/next
|
|
163
|
+
- beb499e: ZERO-2551: Add new tsconfig paths
|
|
164
|
+
- 6c18543: ZERO-2542:Refactor and show error in OneClickCheckoutButtons
|
|
165
|
+
- 202f84e: ZERO-2569: Fix static keys
|
|
166
|
+
- 4614eee: ZERO-2602: The script that checks the build for standalone projects
|
|
167
|
+
- f046f8e: ZERO-2575: update version for react-number-format
|
|
168
|
+
- 12c10a4: ZERO-2570: Category filters routes to absolute url
|
|
169
|
+
|
|
170
|
+
### Patch Changes
|
|
171
|
+
|
|
172
|
+
- Updated dependencies [d09b677]
|
|
173
|
+
- Updated dependencies [6d4aadb]
|
|
174
|
+
- Updated dependencies [8e6e8cf]
|
|
175
|
+
- Updated dependencies [ebb63ce]
|
|
176
|
+
- Updated dependencies [7cebe87]
|
|
177
|
+
- Updated dependencies [616690d]
|
|
178
|
+
- Updated dependencies [f3b595e]
|
|
179
|
+
- Updated dependencies [91265bb]
|
|
180
|
+
- Updated dependencies [59fb7c3]
|
|
181
|
+
- Updated dependencies [bbe18b9]
|
|
182
|
+
- Updated dependencies [f0c23bc]
|
|
183
|
+
- Updated dependencies [3420416]
|
|
184
|
+
- Updated dependencies [495d155]
|
|
185
|
+
- Updated dependencies [beb499e]
|
|
186
|
+
- Updated dependencies [6c18543]
|
|
187
|
+
- Updated dependencies [40ad73e]
|
|
188
|
+
- Updated dependencies [495d155]
|
|
189
|
+
- Updated dependencies [f046f8e]
|
|
190
|
+
- Updated dependencies [6b2972b]
|
|
191
|
+
- Updated dependencies [3e68768]
|
|
192
|
+
- @akinon/next@1.34.0-rc.17
|
|
193
|
+
- @akinon/pz-masterpass@1.34.0-rc.17
|
|
194
|
+
- @akinon/pz-one-click-checkout@1.34.0-rc.17
|
|
195
|
+
- @akinon/pz-b2b@1.34.0-rc.17
|
|
196
|
+
- @akinon/pz-gpay@1.34.0-rc.17
|
|
197
|
+
- @akinon/pz-otp@1.34.0-rc.17
|
|
198
|
+
- @akinon/pz-pay-on-delivery@1.34.0-rc.17
|
|
199
|
+
|
|
200
|
+
## 1.34.0-rc.16
|
|
201
|
+
|
|
202
|
+
### Patch Changes
|
|
203
|
+
|
|
204
|
+
- @akinon/next@1.34.0-rc.16
|
|
205
|
+
- @akinon/pz-b2b@1.34.0-rc.16
|
|
206
|
+
- @akinon/pz-gpay@1.34.0-rc.16
|
|
207
|
+
- @akinon/pz-masterpass@1.34.0-rc.16
|
|
208
|
+
- @akinon/pz-one-click-checkout@1.34.0-rc.16
|
|
209
|
+
- @akinon/pz-otp@1.34.0-rc.16
|
|
210
|
+
- @akinon/pz-pay-on-delivery@1.34.0-rc.16
|
|
211
|
+
|
|
212
|
+
## 1.34.0-rc.15
|
|
213
|
+
|
|
214
|
+
### Patch Changes
|
|
215
|
+
|
|
216
|
+
- @akinon/next@1.34.0-rc.15
|
|
217
|
+
- @akinon/pz-b2b@1.34.0-rc.15
|
|
218
|
+
- @akinon/pz-gpay@1.34.0-rc.15
|
|
219
|
+
- @akinon/pz-masterpass@1.34.0-rc.15
|
|
220
|
+
- @akinon/pz-one-click-checkout@1.34.0-rc.15
|
|
221
|
+
- @akinon/pz-otp@1.34.0-rc.15
|
|
222
|
+
- @akinon/pz-pay-on-delivery@1.34.0-rc.15
|
|
223
|
+
|
|
224
|
+
## 1.34.0-rc.14
|
|
225
|
+
|
|
226
|
+
### Minor Changes
|
|
227
|
+
|
|
228
|
+
- 4614eee: ZERO-2602: The script that checks the build for standalone projects
|
|
229
|
+
|
|
230
|
+
### Patch Changes
|
|
231
|
+
|
|
232
|
+
- @akinon/next@1.34.0-rc.14
|
|
233
|
+
- @akinon/pz-b2b@1.34.0-rc.14
|
|
234
|
+
- @akinon/pz-gpay@1.34.0-rc.14
|
|
235
|
+
- @akinon/pz-masterpass@1.34.0-rc.14
|
|
236
|
+
- @akinon/pz-one-click-checkout@1.34.0-rc.14
|
|
237
|
+
- @akinon/pz-otp@1.34.0-rc.14
|
|
238
|
+
- @akinon/pz-pay-on-delivery@1.34.0-rc.14
|
|
239
|
+
|
|
240
|
+
## 1.34.0-rc.13
|
|
241
|
+
|
|
242
|
+
### Minor Changes
|
|
243
|
+
|
|
244
|
+
- 74a1269: ZERO-2658:Edit product name clickability on completed order page
|
|
245
|
+
|
|
246
|
+
### Patch Changes
|
|
247
|
+
|
|
248
|
+
- @akinon/next@1.34.0-rc.13
|
|
249
|
+
- @akinon/pz-b2b@1.34.0-rc.13
|
|
250
|
+
- @akinon/pz-gpay@1.34.0-rc.13
|
|
251
|
+
- @akinon/pz-masterpass@1.34.0-rc.13
|
|
252
|
+
- @akinon/pz-one-click-checkout@1.34.0-rc.13
|
|
253
|
+
- @akinon/pz-otp@1.34.0-rc.13
|
|
254
|
+
- @akinon/pz-pay-on-delivery@1.34.0-rc.13
|
|
255
|
+
|
|
256
|
+
## 1.34.0-rc.12
|
|
257
|
+
|
|
258
|
+
### Patch Changes
|
|
259
|
+
|
|
260
|
+
- Updated dependencies [616690d]
|
|
261
|
+
- @akinon/next@1.34.0-rc.12
|
|
262
|
+
- @akinon/pz-b2b@1.34.0-rc.12
|
|
263
|
+
- @akinon/pz-gpay@1.34.0-rc.12
|
|
264
|
+
- @akinon/pz-masterpass@1.34.0-rc.12
|
|
265
|
+
- @akinon/pz-one-click-checkout@1.34.0-rc.12
|
|
266
|
+
- @akinon/pz-otp@1.34.0-rc.12
|
|
267
|
+
- @akinon/pz-pay-on-delivery@1.34.0-rc.12
|
|
268
|
+
|
|
269
|
+
## 1.34.0-rc.11
|
|
270
|
+
|
|
271
|
+
### Patch Changes
|
|
272
|
+
|
|
273
|
+
- Updated dependencies [8e6e8cf]
|
|
274
|
+
- @akinon/next@1.34.0-rc.11
|
|
275
|
+
- @akinon/pz-b2b@1.34.0-rc.11
|
|
276
|
+
- @akinon/pz-gpay@1.34.0-rc.11
|
|
277
|
+
- @akinon/pz-masterpass@1.34.0-rc.11
|
|
278
|
+
- @akinon/pz-one-click-checkout@1.34.0-rc.11
|
|
279
|
+
- @akinon/pz-otp@1.34.0-rc.11
|
|
280
|
+
- @akinon/pz-pay-on-delivery@1.34.0-rc.11
|
|
281
|
+
|
|
282
|
+
## 1.34.0-rc.10
|
|
283
|
+
|
|
284
|
+
### Patch Changes
|
|
285
|
+
|
|
286
|
+
- Updated dependencies [bbe18b9]
|
|
287
|
+
- @akinon/next@1.34.0-rc.10
|
|
288
|
+
- @akinon/pz-b2b@1.34.0-rc.10
|
|
289
|
+
- @akinon/pz-gpay@1.34.0-rc.10
|
|
290
|
+
- @akinon/pz-masterpass@1.34.0-rc.10
|
|
291
|
+
- @akinon/pz-one-click-checkout@1.34.0-rc.10
|
|
292
|
+
- @akinon/pz-otp@1.34.0-rc.10
|
|
293
|
+
- @akinon/pz-pay-on-delivery@1.34.0-rc.10
|
|
294
|
+
|
|
295
|
+
## 1.34.0-rc.9
|
|
296
|
+
|
|
297
|
+
### Minor Changes
|
|
298
|
+
|
|
299
|
+
- beb499e: ZERO-2551: Add new tsconfig paths
|
|
300
|
+
|
|
301
|
+
### Patch Changes
|
|
302
|
+
|
|
303
|
+
- Updated dependencies [beb499e]
|
|
304
|
+
- @akinon/next@1.34.0-rc.9
|
|
305
|
+
- @akinon/pz-b2b@1.34.0-rc.9
|
|
306
|
+
- @akinon/pz-gpay@1.34.0-rc.9
|
|
307
|
+
- @akinon/pz-masterpass@1.34.0-rc.9
|
|
308
|
+
- @akinon/pz-one-click-checkout@1.34.0-rc.9
|
|
309
|
+
- @akinon/pz-otp@1.34.0-rc.9
|
|
310
|
+
- @akinon/pz-pay-on-delivery@1.34.0-rc.9
|
|
311
|
+
|
|
312
|
+
## 1.34.0-rc.8
|
|
313
|
+
|
|
314
|
+
### Minor Changes
|
|
315
|
+
|
|
316
|
+
- 91265bb: ZERO-2551: Improve pretty url and caching performance
|
|
317
|
+
|
|
318
|
+
### Patch Changes
|
|
319
|
+
|
|
320
|
+
- Updated dependencies [91265bb]
|
|
321
|
+
- @akinon/next@1.34.0-rc.8
|
|
322
|
+
- @akinon/pz-b2b@1.34.0-rc.8
|
|
323
|
+
- @akinon/pz-gpay@1.34.0-rc.8
|
|
324
|
+
- @akinon/pz-masterpass@1.34.0-rc.8
|
|
325
|
+
- @akinon/pz-one-click-checkout@1.34.0-rc.8
|
|
326
|
+
- @akinon/pz-otp@1.34.0-rc.8
|
|
327
|
+
- @akinon/pz-pay-on-delivery@1.34.0-rc.8
|
|
328
|
+
|
|
329
|
+
## 1.34.0-rc.7
|
|
330
|
+
|
|
331
|
+
### Minor Changes
|
|
332
|
+
|
|
333
|
+
- 0d0f36c: ZERO-2598: Fix eslint warnings and update dependencies
|
|
334
|
+
|
|
335
|
+
### Patch Changes
|
|
336
|
+
|
|
337
|
+
- @akinon/next@1.34.0-rc.7
|
|
338
|
+
- @akinon/pz-b2b@1.34.0-rc.7
|
|
339
|
+
- @akinon/pz-gpay@1.34.0-rc.7
|
|
340
|
+
- @akinon/pz-masterpass@1.34.0-rc.7
|
|
341
|
+
- @akinon/pz-one-click-checkout@1.34.0-rc.7
|
|
342
|
+
- @akinon/pz-otp@1.34.0-rc.7
|
|
343
|
+
- @akinon/pz-pay-on-delivery@1.34.0-rc.7
|
|
344
|
+
|
|
345
|
+
## 1.34.0-rc.6
|
|
346
|
+
|
|
347
|
+
### Minor Changes
|
|
348
|
+
|
|
349
|
+
- 567e4c1: ZERO-2580:Add checked attribute from props to checkbox
|
|
350
|
+
- d09b677: ZERO-2577: Fix pagination bug and update usePagination hook and ensure pagination controls rendering correctly
|
|
351
|
+
- 27a5296: ZERO-2631:Fix Checkbox Click
|
|
352
|
+
- ebb63ce: ZERO-2525: Fix category facet removal bug and add close icon to active filters
|
|
353
|
+
- f0c23bc: ZERO-2135: add custom not found page
|
|
354
|
+
- 3420416: ZERO-2533: extend eslint config from @akinon/next
|
|
355
|
+
- 6c18543: ZERO-2542:Refactor and show error in OneClickCheckoutButtons
|
|
356
|
+
- 202f84e: ZERO-2569: Fix static keys
|
|
357
|
+
- f046f8e: ZERO-2575: update version for react-number-format
|
|
358
|
+
- 12c10a4: ZERO-2570: Category filters routes to absolute url
|
|
359
|
+
|
|
360
|
+
### Patch Changes
|
|
361
|
+
|
|
362
|
+
- Updated dependencies [d09b677]
|
|
363
|
+
- Updated dependencies [6d4aadb]
|
|
364
|
+
- Updated dependencies [ebb63ce]
|
|
365
|
+
- Updated dependencies [7cebe87]
|
|
366
|
+
- Updated dependencies [f3b595e]
|
|
367
|
+
- Updated dependencies [59fb7c3]
|
|
368
|
+
- Updated dependencies [f0c23bc]
|
|
369
|
+
- Updated dependencies [3420416]
|
|
370
|
+
- Updated dependencies [495d155]
|
|
371
|
+
- Updated dependencies [6c18543]
|
|
372
|
+
- Updated dependencies [40ad73e]
|
|
373
|
+
- Updated dependencies [495d155]
|
|
374
|
+
- Updated dependencies [f046f8e]
|
|
375
|
+
- Updated dependencies [6b2972b]
|
|
376
|
+
- Updated dependencies [3e68768]
|
|
377
|
+
- @akinon/next@1.34.0-rc.6
|
|
378
|
+
- @akinon/pz-masterpass@1.34.0-rc.6
|
|
379
|
+
- @akinon/pz-one-click-checkout@1.34.0-rc.6
|
|
380
|
+
- @akinon/pz-b2b@1.34.0-rc.6
|
|
381
|
+
- @akinon/pz-gpay@1.34.0-rc.6
|
|
382
|
+
- @akinon/pz-otp@1.34.0-rc.6
|
|
383
|
+
- @akinon/pz-pay-on-delivery@1.34.0-rc.6
|
|
39
384
|
|
|
40
385
|
## 1.33.2
|
|
41
386
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "projectzeronext",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.36.0-rc.1",
|
|
4
4
|
"private": true,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
"prestart": "pz-prestart"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@akinon/next": "1.
|
|
26
|
-
"@akinon/pz-b2b": "1.
|
|
27
|
-
"@akinon/pz-gpay": "1.
|
|
28
|
-
"@akinon/pz-masterpass": "1.
|
|
29
|
-
"@akinon/pz-one-click-checkout": "1.
|
|
30
|
-
"@akinon/pz-otp": "1.
|
|
31
|
-
"@akinon/pz-pay-on-delivery": "1.
|
|
25
|
+
"@akinon/next": "1.36.0-rc.1",
|
|
26
|
+
"@akinon/pz-b2b": "1.36.0-rc.1",
|
|
27
|
+
"@akinon/pz-gpay": "1.36.0-rc.1",
|
|
28
|
+
"@akinon/pz-masterpass": "1.36.0-rc.1",
|
|
29
|
+
"@akinon/pz-one-click-checkout": "1.36.0-rc.1",
|
|
30
|
+
"@akinon/pz-otp": "1.36.0-rc.1",
|
|
31
|
+
"@akinon/pz-pay-on-delivery": "1.36.0-rc.1",
|
|
32
32
|
"@hookform/resolvers": "2.9.0",
|
|
33
33
|
"@next/third-parties": "14.1.0",
|
|
34
34
|
"@react-google-maps/api": "2.17.1",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"yup": "0.32.11"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@akinon/eslint-plugin-projectzero": "1.
|
|
56
|
+
"@akinon/eslint-plugin-projectzero": "1.36.0-rc.1",
|
|
57
57
|
"@semantic-release/changelog": "6.0.2",
|
|
58
58
|
"@semantic-release/exec": "6.0.3",
|
|
59
59
|
"@semantic-release/git": "10.0.1",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"jest-css-modules-transform": "4.3.0",
|
|
81
81
|
"lint-staged": "13.1.0",
|
|
82
82
|
"prettier": "2.6.2",
|
|
83
|
-
"react-number-format": "
|
|
83
|
+
"react-number-format": "5.3.4",
|
|
84
84
|
"sass": "1.49.9",
|
|
85
85
|
"semantic-release": "19.0.5",
|
|
86
86
|
"server-only": "0.0.1",
|
|
@@ -286,11 +286,11 @@
|
|
|
286
286
|
"empty_coupon": "You don't have any coupons"
|
|
287
287
|
},
|
|
288
288
|
"title": {
|
|
289
|
-
"
|
|
289
|
+
"campaigns": {
|
|
290
290
|
"active": "Active Campaigns",
|
|
291
|
-
"to_be_active": "
|
|
292
|
-
"expired": "Expired
|
|
293
|
-
"used": "Used
|
|
291
|
+
"to_be_active": "Campaigns to be Active",
|
|
292
|
+
"expired": "Expired Campaigns",
|
|
293
|
+
"used": "Used Campaigns"
|
|
294
294
|
},
|
|
295
295
|
"coupons": {
|
|
296
296
|
"active": "Active Coupons",
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { useSession } from 'next-auth/react';
|
|
4
3
|
import { useForm, SubmitHandler } from 'react-hook-form';
|
|
5
4
|
import { yupResolver } from '@hookform/resolvers/yup';
|
|
6
5
|
import * as yup from 'yup';
|
|
@@ -34,7 +33,6 @@ const accountChangeEmailSchema = (t) =>
|
|
|
34
33
|
});
|
|
35
34
|
|
|
36
35
|
export default function Page() {
|
|
37
|
-
const { data } = useSession();
|
|
38
36
|
const { data: profileInfo } = useGetProfileInfoQuery();
|
|
39
37
|
|
|
40
38
|
const { t } = useLocalization();
|
|
@@ -51,7 +51,7 @@ export default function Page() {
|
|
|
51
51
|
{basketOffersLoading && <LoaderSpinner className="mb-8" />}
|
|
52
52
|
{basketOffersSuccess && (
|
|
53
53
|
<CouponItem
|
|
54
|
-
mainTitle={t('account.my_vouchers.title.
|
|
54
|
+
mainTitle={t('account.my_vouchers.title.campaigns.active')}
|
|
55
55
|
subTitles={[
|
|
56
56
|
t('account.my_vouchers.card.campaign_name'),
|
|
57
57
|
t('account.my_vouchers.card.starting_date'),
|
|
@@ -68,7 +68,7 @@ export default function Page() {
|
|
|
68
68
|
{futureBasketOffersLoading && <LoaderSpinner className="mb-8" />}
|
|
69
69
|
{futureBasketOffersSuccess && (
|
|
70
70
|
<CouponItem
|
|
71
|
-
mainTitle={t('account.my_vouchers.title.
|
|
71
|
+
mainTitle={t('account.my_vouchers.title.campaigns.to_be_active')}
|
|
72
72
|
subTitles={[
|
|
73
73
|
t('account.my_vouchers.card.campaign_name'),
|
|
74
74
|
t('account.my_vouchers.card.starting_date'),
|
|
@@ -85,7 +85,7 @@ export default function Page() {
|
|
|
85
85
|
{expiredBasketOffersLoading && <LoaderSpinner className="mb-8" />}
|
|
86
86
|
{expiredBasketOffersSuccess && (
|
|
87
87
|
<CouponItem
|
|
88
|
-
mainTitle={t('account.my_vouchers.title.
|
|
88
|
+
mainTitle={t('account.my_vouchers.title.campaigns.expired')}
|
|
89
89
|
subTitles={[
|
|
90
90
|
t('account.my_vouchers.card.campaign_name'),
|
|
91
91
|
t('account.my_vouchers.card.starting_date'),
|
|
@@ -102,7 +102,7 @@ export default function Page() {
|
|
|
102
102
|
{discountItemsLoading && <LoaderSpinner className="mb-8" />}
|
|
103
103
|
{discountItemsSuccess && (
|
|
104
104
|
<CouponItem
|
|
105
|
-
mainTitle={t('account.my_vouchers.title.
|
|
105
|
+
mainTitle={t('account.my_vouchers.title.campaigns.used')}
|
|
106
106
|
subTitles={[
|
|
107
107
|
t('account.my_vouchers.card.campaign_name'),
|
|
108
108
|
t('account.my_vouchers.card.starting_date'),
|
|
@@ -60,7 +60,7 @@ export default function Stores() {
|
|
|
60
60
|
return options;
|
|
61
61
|
}
|
|
62
62
|
return [];
|
|
63
|
-
}, [country]);
|
|
63
|
+
}, [country]); // eslint-disable-line react-hooks/exhaustive-deps
|
|
64
64
|
|
|
65
65
|
const cityOptions = useMemo(() => {
|
|
66
66
|
if (city) {
|
|
@@ -73,7 +73,7 @@ export default function Stores() {
|
|
|
73
73
|
return options;
|
|
74
74
|
}
|
|
75
75
|
return [];
|
|
76
|
-
}, [city]);
|
|
76
|
+
}, [city]); // eslint-disable-line react-hooks/exhaustive-deps
|
|
77
77
|
|
|
78
78
|
const handleBackButtonClick = () => {
|
|
79
79
|
setSelectedCityPk(null);
|
|
@@ -33,7 +33,7 @@ export default function Auth() {
|
|
|
33
33
|
if (session?.user) {
|
|
34
34
|
router.push(searchParams.get('callbackUrl') ?? '/');
|
|
35
35
|
}
|
|
36
|
-
}, [session?.user]);
|
|
36
|
+
}, [session?.user]); // eslint-disable-line react-hooks/exhaustive-deps
|
|
37
37
|
|
|
38
38
|
return (
|
|
39
39
|
<section className="container px-4 my-7 md:mt-20 lg:px-0 lg:mx-auto">
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { getLandingPageData } from '@akinon/next/data/server';
|
|
2
2
|
import { withSegmentDefaults } from '@akinon/next/hocs/server';
|
|
3
3
|
import { PageProps } from '@akinon/next/types';
|
|
4
|
-
import logger from '@akinon/next/utils/log';
|
|
5
|
-
import * as console from 'console';
|
|
6
4
|
|
|
7
5
|
async function Page({ params }: PageProps<{ pk: number }>) {
|
|
8
6
|
const data = await getLandingPageData({ pk: params.pk });
|
|
@@ -51,7 +51,7 @@ const Checkout = () => {
|
|
|
51
51
|
dispatch(setCurrentStep(CheckoutStep.Payment));
|
|
52
52
|
initialStepChanged.current = true;
|
|
53
53
|
}
|
|
54
|
-
}, [steps.shipping.completed]);
|
|
54
|
+
}, [steps.shipping.completed]); // eslint-disable-line react-hooks/exhaustive-deps
|
|
55
55
|
|
|
56
56
|
useEffect(() => {
|
|
57
57
|
if (preOrder && !preOrder.shipping_option) {
|
|
@@ -63,7 +63,7 @@ const Checkout = () => {
|
|
|
63
63
|
return () => {
|
|
64
64
|
dispatch(resetCheckoutState());
|
|
65
65
|
};
|
|
66
|
-
}, []);
|
|
66
|
+
}, []); // eslint-disable-line react-hooks/exhaustive-deps
|
|
67
67
|
|
|
68
68
|
useEffect(() => {
|
|
69
69
|
if (isSuccess) {
|
package/app-template/src/app/[commerce]/[locale]/[currency]/orders/completed/[token]/page.tsx
CHANGED
|
@@ -40,7 +40,7 @@ const CheckoutCompleted = ({
|
|
|
40
40
|
return () => {
|
|
41
41
|
dispatch(setCurrentStep(CheckoutStep.Shipping));
|
|
42
42
|
};
|
|
43
|
-
}, []);
|
|
43
|
+
}, []); // eslint-disable-line react-hooks/exhaustive-deps
|
|
44
44
|
|
|
45
45
|
useEffect(() => {
|
|
46
46
|
if (data?.order) {
|
|
@@ -182,21 +182,25 @@ const CheckoutCompleted = ({
|
|
|
182
182
|
}}
|
|
183
183
|
>
|
|
184
184
|
{data.order.orderitem_set.map((item) => (
|
|
185
|
-
<div
|
|
186
|
-
|
|
185
|
+
<div
|
|
186
|
+
key={`order-item-${item.id}`}
|
|
187
|
+
className="flex justify-between gap-x-4 w-full"
|
|
188
|
+
>
|
|
189
|
+
<Link
|
|
190
|
+
className="flex justify-between gap-x-4 flex-1 items-center transition-all text-xs text-black-800 hover:text-secondary"
|
|
191
|
+
href={item.product.absolute_url}
|
|
192
|
+
passHref
|
|
193
|
+
>
|
|
187
194
|
<Image
|
|
188
195
|
src={item.product.image}
|
|
189
196
|
alt={item.product.name}
|
|
190
197
|
width={64}
|
|
191
198
|
height={96}
|
|
192
199
|
/>
|
|
200
|
+
|
|
201
|
+
<span>{item.product.name}</span>
|
|
193
202
|
</Link>
|
|
194
|
-
<div className="flex justify-
|
|
195
|
-
<>
|
|
196
|
-
<div className="text-xs text-black-800 transition-all w-full hover:text-secondary">
|
|
197
|
-
{item.product.name}
|
|
198
|
-
</div>
|
|
199
|
-
</>
|
|
203
|
+
<div className="flex justify-end items-center">
|
|
200
204
|
<div>
|
|
201
205
|
{item.retail_price !== item.price && (
|
|
202
206
|
<div className="text-black-800 line-through text-xs min-w-max sm:text-sm">
|