@akinon/projectzero 1.116.0-rc.8 → 1.116.0-snapshot-ZERO-3959-20260106131052

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 CHANGED
@@ -1,27 +1,6 @@
1
1
  # @akinon/projectzero
2
2
 
3
- ## 1.116.0-rc.8
4
-
5
- ## 1.116.0-rc.7
6
-
7
- ## 1.116.0-rc.6
8
-
9
- ## 1.116.0-rc.5
10
-
11
- ## 1.116.0-rc.4
12
-
13
- ## 1.116.0-rc.3
14
-
15
- ## 1.116.0-rc.2
16
-
17
- ## 1.116.0-rc.1
18
-
19
- ## 1.116.0-rc.0
20
-
21
- ### Minor Changes
22
-
23
- - 143be2b9: ZERO-3457: Crop styles are customizable and logic improved for rendering similar products modal
24
- - d99a6a7d: ZERO-3457_1: Fixed the settings prop and made sure everything is customizable.
3
+ ## 1.116.0-snapshot-ZERO-3959-20260106131052
25
4
 
26
5
  ## 1.115.0
27
6
 
@@ -7,7 +7,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
9
  NEXT_PUBLIC_VIRTUAL_TRY_ON_API_URL=https://d2a26507c7094f359aba349b96a96881.lb.akinoncloud.com
10
- NEXT_PUBLIC_ENABLE_IMAGE_SEARCH=true
11
10
 
12
11
  # LOG_LEVEL_DEV=debug # For more details, please refer to the Logging documentation.
13
12
 
@@ -1,308 +1,5 @@
1
1
  # projectzeronext
2
2
 
3
- ## 1.116.0-rc.8
4
-
5
- ### Patch Changes
6
-
7
- - Updated dependencies [572f4f7b]
8
- - @akinon/pz-masterpass@1.116.0-rc.8
9
- - @akinon/next@1.116.0-rc.8
10
- - @akinon/pz-akifast@1.116.0-rc.8
11
- - @akinon/pz-apple-pay@1.116.0-rc.8
12
- - @akinon/pz-b2b@1.116.0-rc.8
13
- - @akinon/pz-basket-gift-pack@1.116.0-rc.8
14
- - @akinon/pz-bkm@1.116.0-rc.8
15
- - @akinon/pz-checkout-gift-pack@1.116.0-rc.8
16
- - @akinon/pz-click-collect@1.116.0-rc.8
17
- - @akinon/pz-credit-payment@1.116.0-rc.8
18
- - @akinon/pz-cybersource-uc@1.116.0-rc.8
19
- - @akinon/pz-flow-payment@1.116.0-rc.8
20
- - @akinon/pz-gpay@1.116.0-rc.8
21
- - @akinon/pz-haso@1.116.0-rc.8
22
- - @akinon/pz-hepsipay@1.116.0-rc.8
23
- - @akinon/pz-masterpass-rest@1.116.0-rc.8
24
- - @akinon/pz-multi-basket@1.116.0-rc.8
25
- - @akinon/pz-one-click-checkout@1.116.0-rc.8
26
- - @akinon/pz-otp@1.116.0-rc.8
27
- - @akinon/pz-pay-on-delivery@1.116.0-rc.8
28
- - @akinon/pz-saved-card@1.116.0-rc.8
29
- - @akinon/pz-similar-products@1.116.0-rc.8
30
- - @akinon/pz-tabby-extension@1.116.0-rc.8
31
- - @akinon/pz-tamara-extension@1.116.0-rc.8
32
- - @akinon/pz-virtual-try-on@1.116.0-rc.8
33
-
34
- ## 1.116.0-rc.7
35
-
36
- ### Patch Changes
37
-
38
- - Updated dependencies [729fe756]
39
- - @akinon/pz-masterpass-rest@1.116.0-rc.7
40
- - @akinon/next@1.116.0-rc.7
41
- - @akinon/pz-akifast@1.116.0-rc.7
42
- - @akinon/pz-apple-pay@1.116.0-rc.7
43
- - @akinon/pz-b2b@1.116.0-rc.7
44
- - @akinon/pz-basket-gift-pack@1.116.0-rc.7
45
- - @akinon/pz-bkm@1.116.0-rc.7
46
- - @akinon/pz-checkout-gift-pack@1.116.0-rc.7
47
- - @akinon/pz-click-collect@1.116.0-rc.7
48
- - @akinon/pz-credit-payment@1.116.0-rc.7
49
- - @akinon/pz-cybersource-uc@1.116.0-rc.7
50
- - @akinon/pz-flow-payment@1.116.0-rc.7
51
- - @akinon/pz-gpay@1.116.0-rc.7
52
- - @akinon/pz-haso@1.116.0-rc.7
53
- - @akinon/pz-hepsipay@1.116.0-rc.7
54
- - @akinon/pz-masterpass@1.116.0-rc.7
55
- - @akinon/pz-multi-basket@1.116.0-rc.7
56
- - @akinon/pz-one-click-checkout@1.116.0-rc.7
57
- - @akinon/pz-otp@1.116.0-rc.7
58
- - @akinon/pz-pay-on-delivery@1.116.0-rc.7
59
- - @akinon/pz-saved-card@1.116.0-rc.7
60
- - @akinon/pz-similar-products@1.116.0-rc.7
61
- - @akinon/pz-tabby-extension@1.116.0-rc.7
62
- - @akinon/pz-tamara-extension@1.116.0-rc.7
63
- - @akinon/pz-virtual-try-on@1.116.0-rc.7
64
-
65
- ## 1.116.0-rc.6
66
-
67
- ### Patch Changes
68
-
69
- - Updated dependencies [c706a270]
70
- - @akinon/pz-masterpass-rest@1.116.0-rc.6
71
- - @akinon/next@1.116.0-rc.6
72
- - @akinon/pz-akifast@1.116.0-rc.6
73
- - @akinon/pz-apple-pay@1.116.0-rc.6
74
- - @akinon/pz-b2b@1.116.0-rc.6
75
- - @akinon/pz-basket-gift-pack@1.116.0-rc.6
76
- - @akinon/pz-bkm@1.116.0-rc.6
77
- - @akinon/pz-checkout-gift-pack@1.116.0-rc.6
78
- - @akinon/pz-click-collect@1.116.0-rc.6
79
- - @akinon/pz-credit-payment@1.116.0-rc.6
80
- - @akinon/pz-cybersource-uc@1.116.0-rc.6
81
- - @akinon/pz-flow-payment@1.116.0-rc.6
82
- - @akinon/pz-gpay@1.116.0-rc.6
83
- - @akinon/pz-haso@1.116.0-rc.6
84
- - @akinon/pz-hepsipay@1.116.0-rc.6
85
- - @akinon/pz-masterpass@1.116.0-rc.6
86
- - @akinon/pz-multi-basket@1.116.0-rc.6
87
- - @akinon/pz-one-click-checkout@1.116.0-rc.6
88
- - @akinon/pz-otp@1.116.0-rc.6
89
- - @akinon/pz-pay-on-delivery@1.116.0-rc.6
90
- - @akinon/pz-saved-card@1.116.0-rc.6
91
- - @akinon/pz-similar-products@1.116.0-rc.6
92
- - @akinon/pz-tabby-extension@1.116.0-rc.6
93
- - @akinon/pz-tamara-extension@1.116.0-rc.6
94
- - @akinon/pz-virtual-try-on@1.116.0-rc.6
95
-
96
- ## 1.116.0-rc.5
97
-
98
- ### Patch Changes
99
-
100
- - Updated dependencies [90b1dd7a]
101
- - @akinon/pz-masterpass-rest@1.116.0-rc.5
102
- - @akinon/next@1.116.0-rc.5
103
- - @akinon/pz-akifast@1.116.0-rc.5
104
- - @akinon/pz-apple-pay@1.116.0-rc.5
105
- - @akinon/pz-b2b@1.116.0-rc.5
106
- - @akinon/pz-basket-gift-pack@1.116.0-rc.5
107
- - @akinon/pz-bkm@1.116.0-rc.5
108
- - @akinon/pz-checkout-gift-pack@1.116.0-rc.5
109
- - @akinon/pz-click-collect@1.116.0-rc.5
110
- - @akinon/pz-credit-payment@1.116.0-rc.5
111
- - @akinon/pz-cybersource-uc@1.116.0-rc.5
112
- - @akinon/pz-flow-payment@1.116.0-rc.5
113
- - @akinon/pz-gpay@1.116.0-rc.5
114
- - @akinon/pz-haso@1.116.0-rc.5
115
- - @akinon/pz-hepsipay@1.116.0-rc.5
116
- - @akinon/pz-masterpass@1.116.0-rc.5
117
- - @akinon/pz-multi-basket@1.116.0-rc.5
118
- - @akinon/pz-one-click-checkout@1.116.0-rc.5
119
- - @akinon/pz-otp@1.116.0-rc.5
120
- - @akinon/pz-pay-on-delivery@1.116.0-rc.5
121
- - @akinon/pz-saved-card@1.116.0-rc.5
122
- - @akinon/pz-similar-products@1.116.0-rc.5
123
- - @akinon/pz-tabby-extension@1.116.0-rc.5
124
- - @akinon/pz-tamara-extension@1.116.0-rc.5
125
- - @akinon/pz-virtual-try-on@1.116.0-rc.5
126
-
127
- ## 1.116.0-rc.4
128
-
129
- ### Patch Changes
130
-
131
- - Updated dependencies [5514352a]
132
- - Updated dependencies [86f2570b]
133
- - Updated dependencies [5514352a]
134
- - @akinon/pz-masterpass-rest@1.116.0-rc.4
135
- - @akinon/next@1.116.0-rc.4
136
- - @akinon/pz-akifast@1.116.0-rc.4
137
- - @akinon/pz-apple-pay@1.116.0-rc.4
138
- - @akinon/pz-b2b@1.116.0-rc.4
139
- - @akinon/pz-basket-gift-pack@1.116.0-rc.4
140
- - @akinon/pz-bkm@1.116.0-rc.4
141
- - @akinon/pz-checkout-gift-pack@1.116.0-rc.4
142
- - @akinon/pz-click-collect@1.116.0-rc.4
143
- - @akinon/pz-credit-payment@1.116.0-rc.4
144
- - @akinon/pz-cybersource-uc@1.116.0-rc.4
145
- - @akinon/pz-flow-payment@1.116.0-rc.4
146
- - @akinon/pz-gpay@1.116.0-rc.4
147
- - @akinon/pz-haso@1.116.0-rc.4
148
- - @akinon/pz-hepsipay@1.116.0-rc.4
149
- - @akinon/pz-masterpass@1.116.0-rc.4
150
- - @akinon/pz-multi-basket@1.116.0-rc.4
151
- - @akinon/pz-one-click-checkout@1.116.0-rc.4
152
- - @akinon/pz-otp@1.116.0-rc.4
153
- - @akinon/pz-pay-on-delivery@1.116.0-rc.4
154
- - @akinon/pz-saved-card@1.116.0-rc.4
155
- - @akinon/pz-similar-products@1.116.0-rc.4
156
- - @akinon/pz-tabby-extension@1.116.0-rc.4
157
- - @akinon/pz-tamara-extension@1.116.0-rc.4
158
- - @akinon/pz-virtual-try-on@1.116.0-rc.4
159
-
160
- ## 1.116.0-rc.3
161
-
162
- ### Patch Changes
163
-
164
- - Updated dependencies [644a2fa2]
165
- - Updated dependencies [89b9d839]
166
- - @akinon/pz-masterpass-rest@1.116.0-rc.3
167
- - @akinon/next@1.116.0-rc.3
168
- - @akinon/pz-akifast@1.116.0-rc.3
169
- - @akinon/pz-apple-pay@1.116.0-rc.3
170
- - @akinon/pz-b2b@1.116.0-rc.3
171
- - @akinon/pz-basket-gift-pack@1.116.0-rc.3
172
- - @akinon/pz-bkm@1.116.0-rc.3
173
- - @akinon/pz-checkout-gift-pack@1.116.0-rc.3
174
- - @akinon/pz-click-collect@1.116.0-rc.3
175
- - @akinon/pz-credit-payment@1.116.0-rc.3
176
- - @akinon/pz-cybersource-uc@1.116.0-rc.3
177
- - @akinon/pz-flow-payment@1.116.0-rc.3
178
- - @akinon/pz-gpay@1.116.0-rc.3
179
- - @akinon/pz-haso@1.116.0-rc.3
180
- - @akinon/pz-hepsipay@1.116.0-rc.3
181
- - @akinon/pz-masterpass@1.116.0-rc.3
182
- - @akinon/pz-multi-basket@1.116.0-rc.3
183
- - @akinon/pz-one-click-checkout@1.116.0-rc.3
184
- - @akinon/pz-otp@1.116.0-rc.3
185
- - @akinon/pz-pay-on-delivery@1.116.0-rc.3
186
- - @akinon/pz-saved-card@1.116.0-rc.3
187
- - @akinon/pz-similar-products@1.116.0-rc.3
188
- - @akinon/pz-tabby-extension@1.116.0-rc.3
189
- - @akinon/pz-tamara-extension@1.116.0-rc.3
190
- - @akinon/pz-virtual-try-on@1.116.0-rc.3
191
-
192
- ## 1.116.0-rc.2
193
-
194
- ### Patch Changes
195
-
196
- - Updated dependencies [3909d322]
197
- - @akinon/next@1.116.0-rc.2
198
- - @akinon/pz-akifast@1.116.0-rc.2
199
- - @akinon/pz-apple-pay@1.116.0-rc.2
200
- - @akinon/pz-b2b@1.116.0-rc.2
201
- - @akinon/pz-basket-gift-pack@1.116.0-rc.2
202
- - @akinon/pz-bkm@1.116.0-rc.2
203
- - @akinon/pz-checkout-gift-pack@1.116.0-rc.2
204
- - @akinon/pz-click-collect@1.116.0-rc.2
205
- - @akinon/pz-credit-payment@1.116.0-rc.2
206
- - @akinon/pz-cybersource-uc@1.116.0-rc.2
207
- - @akinon/pz-flow-payment@1.116.0-rc.2
208
- - @akinon/pz-gpay@1.116.0-rc.2
209
- - @akinon/pz-haso@1.116.0-rc.2
210
- - @akinon/pz-hepsipay@1.116.0-rc.2
211
- - @akinon/pz-masterpass@1.116.0-rc.2
212
- - @akinon/pz-masterpass-rest@1.116.0-rc.2
213
- - @akinon/pz-multi-basket@1.116.0-rc.2
214
- - @akinon/pz-one-click-checkout@1.116.0-rc.2
215
- - @akinon/pz-otp@1.116.0-rc.2
216
- - @akinon/pz-pay-on-delivery@1.116.0-rc.2
217
- - @akinon/pz-saved-card@1.116.0-rc.2
218
- - @akinon/pz-similar-products@1.116.0-rc.2
219
- - @akinon/pz-tabby-extension@1.116.0-rc.2
220
- - @akinon/pz-tamara-extension@1.116.0-rc.2
221
- - @akinon/pz-virtual-try-on@1.116.0-rc.2
222
-
223
- ## 1.116.0-rc.1
224
-
225
- ### Patch Changes
226
-
227
- - Updated dependencies [187208d2]
228
- - @akinon/pz-virtual-try-on@1.116.0-rc.1
229
- - @akinon/next@1.116.0-rc.1
230
- - @akinon/pz-akifast@1.116.0-rc.1
231
- - @akinon/pz-apple-pay@1.116.0-rc.1
232
- - @akinon/pz-b2b@1.116.0-rc.1
233
- - @akinon/pz-basket-gift-pack@1.116.0-rc.1
234
- - @akinon/pz-bkm@1.116.0-rc.1
235
- - @akinon/pz-checkout-gift-pack@1.116.0-rc.1
236
- - @akinon/pz-click-collect@1.116.0-rc.1
237
- - @akinon/pz-credit-payment@1.116.0-rc.1
238
- - @akinon/pz-cybersource-uc@1.116.0-rc.1
239
- - @akinon/pz-flow-payment@1.116.0-rc.1
240
- - @akinon/pz-gpay@1.116.0-rc.1
241
- - @akinon/pz-haso@1.116.0-rc.1
242
- - @akinon/pz-hepsipay@1.116.0-rc.1
243
- - @akinon/pz-masterpass@1.116.0-rc.1
244
- - @akinon/pz-masterpass-rest@1.116.0-rc.1
245
- - @akinon/pz-multi-basket@1.116.0-rc.1
246
- - @akinon/pz-one-click-checkout@1.116.0-rc.1
247
- - @akinon/pz-otp@1.116.0-rc.1
248
- - @akinon/pz-pay-on-delivery@1.116.0-rc.1
249
- - @akinon/pz-saved-card@1.116.0-rc.1
250
- - @akinon/pz-similar-products@1.116.0-rc.1
251
- - @akinon/pz-tabby-extension@1.116.0-rc.1
252
- - @akinon/pz-tamara-extension@1.116.0-rc.1
253
-
254
- ## 1.116.0-rc.0
255
-
256
- ### Minor Changes
257
-
258
- - 4449f3a3: ZERO-3681: Add order details localization and improve order handling in AccountOrderDetail
259
- - 1a8622a9: ZERO-3392: Implemented AI Search functionality and update env
260
- - b55acb76: ZERO-2577: Fix pagination bug and update usePagination hook and ensure pagination controls rendering correctly
261
- - 143be2b9: ZERO-3457: Crop styles are customizable and logic improved for rendering similar products modal
262
- - 9f8cd3bc: ZERO-3449: AI Search Active Filters & Crop Style changes have been implemented
263
- - d99a6a7d: ZERO-3457_1: Fixed the settings prop and made sure everything is customizable.
264
- - b87517ff: ZERO-3680: Enhance select component styling to ensure focus state is consistent
265
- - b05c3543: ZERO-2570: Category filters routes to absolute url
266
-
267
- ### Patch Changes
268
-
269
- - Updated dependencies [d2c0e759]
270
- - Updated dependencies [b55acb76]
271
- - Updated dependencies [143be2b9]
272
- - Updated dependencies [9f8cd3bc]
273
- - Updated dependencies [0d33d9ac]
274
- - Updated dependencies [d99a6a7d]
275
- - Updated dependencies [ee191e6f]
276
- - Updated dependencies [4de5303c]
277
- - Updated dependencies [95b139dc]
278
- - Updated dependencies [6b73b050]
279
- - Updated dependencies [5ae86358]
280
- - @akinon/next@1.116.0-rc.0
281
- - @akinon/pz-similar-products@1.116.0-rc.0
282
- - @akinon/pz-masterpass-rest@1.116.0-rc.0
283
- - @akinon/pz-virtual-try-on@1.116.0-rc.0
284
- - @akinon/pz-akifast@1.116.0-rc.0
285
- - @akinon/pz-apple-pay@1.116.0-rc.0
286
- - @akinon/pz-b2b@1.116.0-rc.0
287
- - @akinon/pz-basket-gift-pack@1.116.0-rc.0
288
- - @akinon/pz-bkm@1.116.0-rc.0
289
- - @akinon/pz-checkout-gift-pack@1.116.0-rc.0
290
- - @akinon/pz-click-collect@1.116.0-rc.0
291
- - @akinon/pz-credit-payment@1.116.0-rc.0
292
- - @akinon/pz-cybersource-uc@1.116.0-rc.0
293
- - @akinon/pz-flow-payment@1.116.0-rc.0
294
- - @akinon/pz-gpay@1.116.0-rc.0
295
- - @akinon/pz-haso@1.116.0-rc.0
296
- - @akinon/pz-hepsipay@1.116.0-rc.0
297
- - @akinon/pz-masterpass@1.116.0-rc.0
298
- - @akinon/pz-multi-basket@1.116.0-rc.0
299
- - @akinon/pz-one-click-checkout@1.116.0-rc.0
300
- - @akinon/pz-otp@1.116.0-rc.0
301
- - @akinon/pz-pay-on-delivery@1.116.0-rc.0
302
- - @akinon/pz-saved-card@1.116.0-rc.0
303
- - @akinon/pz-tabby-extension@1.116.0-rc.0
304
- - @akinon/pz-tamara-extension@1.116.0-rc.0
305
-
306
3
  ## 1.115.0
307
4
 
308
5
  ### Minor Changes
@@ -12,30 +12,6 @@ Run `cp .env.example .env && yarn` command at project root and all dependencies
12
12
 
13
13
  - `SITEMAP_S3_BUCKET_NAME`: S3 bucket name for XML sitemaps (e.g., "0fb534"). This is required for the sitemap route to function correctly.
14
14
 
15
- ### Optional Environment Variables
16
-
17
- - `NEXT_PUBLIC_ENABLE_IMAGE_SEARCH`: Set to `true` to enable image search feature for all users. If not set or `false`, the feature will only be visible to users who have enabled it via localStorage.
18
-
19
- ## Image Search Feature
20
-
21
- The image search functionality allows users to search for similar products by uploading images or cropping existing product images.
22
-
23
- ### Feature Visibility Control
24
-
25
- The image search feature can be controlled in two ways:
26
-
27
- 1. **Environment Variable (Global)**: Set `NEXT_PUBLIC_ENABLE_IMAGE_SEARCH=true` to enable for all users
28
- 2. **localStorage (Individual Users)**: Users can enable it locally using browser developer tools
29
-
30
- ````
31
-
32
- ### Feature Locations
33
-
34
- When enabled, the image search feature appears in:
35
-
36
- - **Header Search**: Camera icon next to the search input
37
- - **Product Detail Page**: "View Similar Styles" button on product images
38
-
39
15
  ### Build
40
16
 
41
17
  To build the app, run the following command:
@@ -43,7 +19,7 @@ To build the app, run the following command:
43
19
  ```bash
44
20
  cd projectzeronext # Project root
45
21
  yarn build
46
- ````
22
+ ```
47
23
 
48
24
  ### Develop
49
25
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "projectzeronext",
3
- "version": "1.116.0-rc.8",
3
+ "version": "1.115.0",
4
4
  "private": true,
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -24,31 +24,29 @@
24
24
  "test:middleware": "jest middleware-matcher.test.ts --bail"
25
25
  },
26
26
  "dependencies": {
27
- "@akinon/next": "1.116.0-rc.8",
28
- "@akinon/pz-akifast": "1.116.0-rc.8",
29
- "@akinon/pz-apple-pay": "1.116.0-rc.8",
30
- "@akinon/pz-b2b": "1.116.0-rc.8",
31
- "@akinon/pz-basket-gift-pack": "1.116.0-rc.8",
32
- "@akinon/pz-bkm": "1.116.0-rc.8",
33
- "@akinon/pz-checkout-gift-pack": "1.116.0-rc.8",
34
- "@akinon/pz-click-collect": "1.116.0-rc.8",
35
- "@akinon/pz-credit-payment": "1.116.0-rc.8",
36
- "@akinon/pz-cybersource-uc": "1.116.0-rc.8",
37
- "@akinon/pz-flow-payment": "1.116.0-rc.8",
38
- "@akinon/pz-gpay": "1.116.0-rc.8",
39
- "@akinon/pz-haso": "1.116.0-rc.8",
40
- "@akinon/pz-hepsipay": "1.116.0-rc.8",
41
- "@akinon/pz-masterpass": "1.116.0-rc.8",
42
- "@akinon/pz-masterpass-rest": "1.116.0-rc.8",
43
- "@akinon/pz-multi-basket": "1.116.0-rc.8",
44
- "@akinon/pz-one-click-checkout": "1.116.0-rc.8",
45
- "@akinon/pz-otp": "1.116.0-rc.8",
46
- "@akinon/pz-pay-on-delivery": "1.116.0-rc.8",
47
- "@akinon/pz-saved-card": "1.116.0-rc.8",
48
- "@akinon/pz-similar-products": "1.116.0-rc.8",
49
- "@akinon/pz-tabby-extension": "1.116.0-rc.8",
50
- "@akinon/pz-tamara-extension": "1.116.0-rc.8",
51
- "@akinon/pz-virtual-try-on": "1.116.0-rc.8",
27
+ "@akinon/next": "1.115.0",
28
+ "@akinon/pz-akifast": "1.115.0",
29
+ "@akinon/pz-apple-pay": "1.115.0",
30
+ "@akinon/pz-b2b": "1.115.0",
31
+ "@akinon/pz-basket-gift-pack": "1.115.0",
32
+ "@akinon/pz-bkm": "1.115.0",
33
+ "@akinon/pz-checkout-gift-pack": "1.115.0",
34
+ "@akinon/pz-click-collect": "1.115.0",
35
+ "@akinon/pz-credit-payment": "1.115.0",
36
+ "@akinon/pz-cybersource-uc": "1.115.0",
37
+ "@akinon/pz-flow-payment": "1.115.0",
38
+ "@akinon/pz-gpay": "1.115.0",
39
+ "@akinon/pz-hepsipay": "1.115.0",
40
+ "@akinon/pz-masterpass": "1.115.0",
41
+ "@akinon/pz-masterpass-rest": "1.115.0",
42
+ "@akinon/pz-multi-basket": "1.115.0",
43
+ "@akinon/pz-one-click-checkout": "1.115.0",
44
+ "@akinon/pz-otp": "1.115.0",
45
+ "@akinon/pz-pay-on-delivery": "1.115.0",
46
+ "@akinon/pz-saved-card": "1.115.0",
47
+ "@akinon/pz-tabby-extension": "1.115.0",
48
+ "@akinon/pz-tamara-extension": "1.115.0",
49
+ "@akinon/pz-virtual-try-on": "1.115.0",
52
50
  "@hookform/resolvers": "2.9.0",
53
51
  "@next/third-parties": "14.1.0",
54
52
  "@react-google-maps/api": "2.17.1",
@@ -71,7 +69,7 @@
71
69
  "yup": "0.32.11"
72
70
  },
73
71
  "devDependencies": {
74
- "@akinon/eslint-plugin-projectzero": "1.116.0-rc.8",
72
+ "@akinon/eslint-plugin-projectzero": "1.115.0",
75
73
  "@semantic-release/changelog": "6.0.2",
76
74
  "@semantic-release/exec": "6.0.3",
77
75
  "@semantic-release/git": "10.0.1",
@@ -242,9 +242,7 @@
242
242
  "total": "Total",
243
243
  "items": "items",
244
244
  "packages": "Packages",
245
- "package_no": "Package no",
246
- "back_to_orders": "Back to Orders",
247
- "no_orders_found": "No orders found"
245
+ "package_no": "Package no"
248
246
  },
249
247
  "return": {
250
248
  "title": "Return Items",
@@ -242,9 +242,7 @@
242
242
  "total": "Toplam",
243
243
  "items": "adet",
244
244
  "packages": "paket",
245
- "package_no": "Paket no",
246
- "back_to_orders": "Siparişlere geri dön",
247
- "no_orders_found": "Sipariş bulunamadı"
245
+ "package_no": "Paket no"
248
246
  },
249
247
  "return": {
250
248
  "title": "İade Ürünleri",
@@ -61,26 +61,7 @@ const AccountOrderDetail = ({ params: { id } }) => {
61
61
  }, [order, isSuccess, localeValue]);
62
62
 
63
63
  if (isLoading && isFetching) {
64
- return (
65
- <div className="flex flex-col items-center justify-center h-96">
66
- <LoaderSpinner />
67
- </div>
68
- );
69
- }
70
-
71
- if (!order) {
72
- return (
73
- <div className="flex flex-col items-center justify-center h-96">
74
- <p className="mt-5 text-start text-lg mb-4">
75
- {t('account.my_orders.detail.no_orders_found')}
76
- </p>
77
- <Link href={`/account/orders/`}>
78
- <Button className="px-4" appearance="filled">
79
- {t('account.my_orders.detail.back_to_orders')}
80
- </Button>
81
- </Link>
82
- </div>
83
- );
64
+ return <LoaderSpinner />;
84
65
  }
85
66
 
86
67
  return (
@@ -41,14 +41,12 @@ export const Modal = (props: ModalProps) => {
41
41
  'fixed top-0 left-0 w-screen h-screen bg-primary bg-opacity-60 z-50',
42
42
  overlayClassName
43
43
  )}
44
- onClick={(e) => e.stopPropagation()}
45
44
  />
46
45
  <section
47
46
  className={twMerge(
48
47
  'fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 z-50 bg-white',
49
48
  className
50
49
  )}
51
- onClick={(e) => e.stopPropagation()}
52
50
  >
53
51
  {(showCloseButton || title) && (
54
52
  <div
@@ -48,7 +48,7 @@ const Select = forwardRef<HTMLSelectElement, SelectProps>((props, ref) => {
48
48
  clsx(
49
49
  'cursor-pointer truncate h-10 w-40 px-2.5 shrink-0 outline-none',
50
50
  !borderless &&
51
- 'border border-gray-200 transition-all duration-150 hover:border-primary focus:border-primary',
51
+ 'border border-gray-200 transition-all duration-150 hover:border-primary',
52
52
  'appearance-none bg-transparent'
53
53
  ),
54
54
  className
@@ -1,3 +1 @@
1
- export * from './use-contract';
2
- export * from './use-fav-button';
3
1
  export * from './use-add-product-to-basket';
@@ -19,7 +19,6 @@ module.exports = [
19
19
  'pz-hepsipay',
20
20
  'pz-flow-payment',
21
21
  'pz-virtual-try-on',
22
- 'pz-similar-products',
23
22
  'pz-cybersource-uc',
24
23
  'pz-hepsipay',
25
24
  'pz-masterpass-rest',
@@ -21,7 +21,7 @@ export const OrderDetailHeader = ({ title, order, children }: Props) => {
21
21
  <div>
22
22
  <span>{t('account.my_orders.detail.order_number')}</span>:{' '}
23
23
  <span data-testid="account-orders-return-order-id">
24
- {order?.number}
24
+ {order.number}
25
25
  </span>
26
26
  </div>
27
27
 
@@ -85,7 +85,7 @@ const AddressBox = ({
85
85
  };
86
86
 
87
87
  const onSubmit = (data) => {
88
- editAddress({ ...data, invalidateTag: 'Checkout' })
88
+ editAddress({ ...data, invalidateTag: 'Addresses' })
89
89
  .unwrap()
90
90
  .then((editAddressResponse) => {
91
91
  handleAddressClick(addressType, editAddressResponse);
@@ -96,7 +96,7 @@ const AddressBox = ({
96
96
  };
97
97
 
98
98
  const handleRemoveAddress = async (addressPk: number) => {
99
- await removeAddress({ id: addressPk, invalidateTag: 'Checkout' });
99
+ await removeAddress({ id: addressPk, invalidateTag: 'Addresses' });
100
100
  setRemoveAddressModalOpen(false);
101
101
  dispatch(resetCheckoutState());
102
102
 
@@ -168,10 +168,7 @@ const AddressBox = ({
168
168
  <Button
169
169
  appearance="ghost"
170
170
  className="italic underline hover:text-secondary-500 hover:!bg-white hover:!border-white p-0 h-auto"
171
- onClick={(e) => {
172
- e.stopPropagation();
173
- setIsEditAddressModalOpen(true);
174
- }}
171
+ onClick={() => setIsEditAddressModalOpen(true)}
175
172
  data-testid="checkout-address-edit"
176
173
  >
177
174
  {t('checkout.address.box.edit')}
@@ -183,26 +180,21 @@ const AddressBox = ({
183
180
  setOpen={setIsEditAddressModalOpen}
184
181
  className="w-full sm:w-[28rem] max-h-[90vh] overflow-y-auto"
185
182
  >
186
- <div onClick={(e) => e.stopPropagation()}>
187
- <AddressForm
188
- data={{
189
- ...address,
190
- country: address.country?.pk,
191
- city: address.city?.pk,
192
- township: address.township?.pk,
193
- district: address.district?.pk
194
- }}
195
- onSubmit={onSubmit}
196
- />
197
- </div>
183
+ <AddressForm
184
+ data={{
185
+ ...address,
186
+ country: address.country?.pk,
187
+ city: address.city?.pk,
188
+ township: address.township?.pk,
189
+ district: address.district?.pk
190
+ }}
191
+ onSubmit={onSubmit}
192
+ />
198
193
  </Modal>
199
194
  <Button
200
195
  appearance="ghost"
201
196
  className="italic underline hover:text-secondary-500 hover:!bg-white hover:!border-white p-0 h-auto"
202
- onClick={(e) => {
203
- e.stopPropagation();
204
- setRemoveAddressModalOpen(true);
205
- }}
197
+ onClick={() => setRemoveAddressModalOpen(true)}
206
198
  data-testid="checkout-address-remove"
207
199
  >
208
200
  {t('checkout.address.box.remove')}
@@ -215,18 +207,14 @@ const AddressBox = ({
215
207
  setOpen={setRemoveAddressModalOpen}
216
208
  showCloseButton={false}
217
209
  >
218
- <div
219
- className="text-center px-6 py-10"
220
- onClick={(e) => e.stopPropagation()}
221
- >
210
+ <div className="text-center px-6 py-10">
222
211
  <p className="mb-4">
223
212
  {t('account.address_book.modal.delete_description')}
224
213
  </p>
225
214
  <div className="space-x-3 flex justify-center">
226
215
  <Button
227
216
  appearance="outlined"
228
- onClick={(e) => {
229
- e.stopPropagation();
217
+ onClick={() => {
230
218
  setRemoveAddressModalOpen(false);
231
219
  }}
232
220
  data-testid="remove-address-modal-cancel"
@@ -236,8 +224,7 @@ const AddressBox = ({
236
224
  <Button
237
225
  appearance="filled"
238
226
  disabled={removeAddressLoading}
239
- onClick={(e) => {
240
- e.stopPropagation();
227
+ onClick={() => {
241
228
  handleRemoveAddress(address.pk);
242
229
  }}
243
230
  className={
@@ -77,7 +77,7 @@ const Addresses = () => {
77
77
  }, [billing_and_shipping_same]);
78
78
 
79
79
  const onSubmit = (data) => {
80
- addAddress({ ...data, invalidateTag: 'Checkout' })
80
+ addAddress({ ...data, invalidateTag: 'Addresses' })
81
81
  .unwrap()
82
82
  .then((addAddressResponse) => {
83
83
  if (addressList.length === 0) {