@akinon/projectzero 1.121.0 → 1.122.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.
- package/CHANGELOG.md +2 -0
- package/app-template/CHANGELOG.md +45 -0
- package/app-template/package.json +28 -28
- package/app-template/public/locales/en/account.json +3 -1
- package/app-template/public/locales/tr/account.json +3 -1
- package/app-template/src/app/[commerce]/[locale]/[currency]/account/orders/[id]/page.tsx +20 -1
- package/app-template/src/components/select.tsx +1 -1
- package/app-template/src/views/account/orders/order-detail-header.tsx +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,50 @@
|
|
|
1
1
|
# projectzeronext
|
|
2
2
|
|
|
3
|
+
## 1.122.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 4449f3a3: ZERO-3681: Add order details localization and improve order handling in AccountOrderDetail
|
|
8
|
+
- b87517ff: ZERO-3680: Enhance select component styling to ensure focus state is consistent
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies [823d82f9]
|
|
13
|
+
- Updated dependencies [d2c0e759]
|
|
14
|
+
- Updated dependencies [d35e8ac1]
|
|
15
|
+
- Updated dependencies [68bbcb27]
|
|
16
|
+
- Updated dependencies [9b7d0de6]
|
|
17
|
+
- Updated dependencies [2e436c13]
|
|
18
|
+
- Updated dependencies [9cfbf6cd]
|
|
19
|
+
- Updated dependencies [187208d2]
|
|
20
|
+
- Updated dependencies [5ec0faf8]
|
|
21
|
+
- @akinon/next@1.122.0
|
|
22
|
+
- @akinon/pz-bkm@1.122.0
|
|
23
|
+
- @akinon/pz-gpay@1.122.0
|
|
24
|
+
- @akinon/pz-akifast@1.122.0
|
|
25
|
+
- @akinon/pz-virtual-try-on@1.122.0
|
|
26
|
+
- @akinon/pz-apple-pay@1.122.0
|
|
27
|
+
- @akinon/pz-b2b@1.122.0
|
|
28
|
+
- @akinon/pz-basket-gift-pack@1.122.0
|
|
29
|
+
- @akinon/pz-checkout-gift-pack@1.122.0
|
|
30
|
+
- @akinon/pz-click-collect@1.122.0
|
|
31
|
+
- @akinon/pz-credit-payment@1.122.0
|
|
32
|
+
- @akinon/pz-cybersource-uc@1.122.0
|
|
33
|
+
- @akinon/pz-flow-payment@1.122.0
|
|
34
|
+
- @akinon/pz-google-pay@1.122.0
|
|
35
|
+
- @akinon/pz-haso@1.122.0
|
|
36
|
+
- @akinon/pz-hepsipay@1.122.0
|
|
37
|
+
- @akinon/pz-masterpass@1.122.0
|
|
38
|
+
- @akinon/pz-masterpass-rest@1.122.0
|
|
39
|
+
- @akinon/pz-multi-basket@1.122.0
|
|
40
|
+
- @akinon/pz-one-click-checkout@1.122.0
|
|
41
|
+
- @akinon/pz-otp@1.122.0
|
|
42
|
+
- @akinon/pz-pay-on-delivery@1.122.0
|
|
43
|
+
- @akinon/pz-saved-card@1.122.0
|
|
44
|
+
- @akinon/pz-similar-products@1.122.0
|
|
45
|
+
- @akinon/pz-tabby-extension@1.122.0
|
|
46
|
+
- @akinon/pz-tamara-extension@1.122.0
|
|
47
|
+
|
|
3
48
|
## 1.121.0
|
|
4
49
|
|
|
5
50
|
### Minor Changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "projectzeronext",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.122.0",
|
|
4
4
|
"private": true,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
@@ -24,32 +24,32 @@
|
|
|
24
24
|
"test:middleware": "jest middleware-matcher.test.ts --bail"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@akinon/next": "1.
|
|
28
|
-
"@akinon/pz-akifast": "1.
|
|
29
|
-
"@akinon/pz-apple-pay": "1.
|
|
30
|
-
"@akinon/pz-b2b": "1.
|
|
31
|
-
"@akinon/pz-basket-gift-pack": "1.
|
|
32
|
-
"@akinon/pz-bkm": "1.
|
|
33
|
-
"@akinon/pz-checkout-gift-pack": "1.
|
|
34
|
-
"@akinon/pz-click-collect": "1.
|
|
35
|
-
"@akinon/pz-credit-payment": "1.
|
|
36
|
-
"@akinon/pz-cybersource-uc": "1.
|
|
37
|
-
"@akinon/pz-flow-payment": "1.
|
|
38
|
-
"@akinon/pz-google-pay": "1.
|
|
39
|
-
"@akinon/pz-gpay": "1.
|
|
40
|
-
"@akinon/pz-haso": "1.
|
|
41
|
-
"@akinon/pz-hepsipay": "1.
|
|
42
|
-
"@akinon/pz-masterpass": "1.
|
|
43
|
-
"@akinon/pz-masterpass-rest": "1.
|
|
44
|
-
"@akinon/pz-multi-basket": "1.
|
|
45
|
-
"@akinon/pz-one-click-checkout": "1.
|
|
46
|
-
"@akinon/pz-otp": "1.
|
|
47
|
-
"@akinon/pz-pay-on-delivery": "1.
|
|
48
|
-
"@akinon/pz-saved-card": "1.
|
|
49
|
-
"@akinon/pz-similar-products": "1.
|
|
50
|
-
"@akinon/pz-tabby-extension": "1.
|
|
51
|
-
"@akinon/pz-tamara-extension": "1.
|
|
52
|
-
"@akinon/pz-virtual-try-on": "1.
|
|
27
|
+
"@akinon/next": "1.122.0",
|
|
28
|
+
"@akinon/pz-akifast": "1.122.0",
|
|
29
|
+
"@akinon/pz-apple-pay": "1.122.0",
|
|
30
|
+
"@akinon/pz-b2b": "1.122.0",
|
|
31
|
+
"@akinon/pz-basket-gift-pack": "1.122.0",
|
|
32
|
+
"@akinon/pz-bkm": "1.122.0",
|
|
33
|
+
"@akinon/pz-checkout-gift-pack": "1.122.0",
|
|
34
|
+
"@akinon/pz-click-collect": "1.122.0",
|
|
35
|
+
"@akinon/pz-credit-payment": "1.122.0",
|
|
36
|
+
"@akinon/pz-cybersource-uc": "1.122.0",
|
|
37
|
+
"@akinon/pz-flow-payment": "1.122.0",
|
|
38
|
+
"@akinon/pz-google-pay": "1.122.0",
|
|
39
|
+
"@akinon/pz-gpay": "1.122.0",
|
|
40
|
+
"@akinon/pz-haso": "1.122.0",
|
|
41
|
+
"@akinon/pz-hepsipay": "1.122.0",
|
|
42
|
+
"@akinon/pz-masterpass": "1.122.0",
|
|
43
|
+
"@akinon/pz-masterpass-rest": "1.122.0",
|
|
44
|
+
"@akinon/pz-multi-basket": "1.122.0",
|
|
45
|
+
"@akinon/pz-one-click-checkout": "1.122.0",
|
|
46
|
+
"@akinon/pz-otp": "1.122.0",
|
|
47
|
+
"@akinon/pz-pay-on-delivery": "1.122.0",
|
|
48
|
+
"@akinon/pz-saved-card": "1.122.0",
|
|
49
|
+
"@akinon/pz-similar-products": "1.122.0",
|
|
50
|
+
"@akinon/pz-tabby-extension": "1.122.0",
|
|
51
|
+
"@akinon/pz-tamara-extension": "1.122.0",
|
|
52
|
+
"@akinon/pz-virtual-try-on": "1.122.0",
|
|
53
53
|
"@hookform/resolvers": "2.9.0",
|
|
54
54
|
"@next/third-parties": "14.1.0",
|
|
55
55
|
"@react-google-maps/api": "2.17.1",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"yup": "0.32.11"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
-
"@akinon/eslint-plugin-projectzero": "1.
|
|
75
|
+
"@akinon/eslint-plugin-projectzero": "1.122.0",
|
|
76
76
|
"@semantic-release/changelog": "6.0.2",
|
|
77
77
|
"@semantic-release/exec": "6.0.3",
|
|
78
78
|
"@semantic-release/git": "10.0.1",
|
|
@@ -242,7 +242,9 @@
|
|
|
242
242
|
"total": "Total",
|
|
243
243
|
"items": "items",
|
|
244
244
|
"packages": "Packages",
|
|
245
|
-
"package_no": "Package no"
|
|
245
|
+
"package_no": "Package no",
|
|
246
|
+
"back_to_orders": "Back to Orders",
|
|
247
|
+
"no_orders_found": "No orders found"
|
|
246
248
|
},
|
|
247
249
|
"return": {
|
|
248
250
|
"title": "Return Items",
|
|
@@ -242,7 +242,9 @@
|
|
|
242
242
|
"total": "Toplam",
|
|
243
243
|
"items": "adet",
|
|
244
244
|
"packages": "paket",
|
|
245
|
-
"package_no": "Paket no"
|
|
245
|
+
"package_no": "Paket no",
|
|
246
|
+
"back_to_orders": "Siparişlere geri dön",
|
|
247
|
+
"no_orders_found": "Sipariş bulunamadı"
|
|
246
248
|
},
|
|
247
249
|
"return": {
|
|
248
250
|
"title": "İade Ürünleri",
|
|
@@ -61,7 +61,26 @@ const AccountOrderDetail = ({ params: { id } }) => {
|
|
|
61
61
|
}, [order, isSuccess, localeValue]);
|
|
62
62
|
|
|
63
63
|
if (isLoading && isFetching) {
|
|
64
|
-
return
|
|
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
|
+
);
|
|
65
84
|
}
|
|
66
85
|
|
|
67
86
|
return (
|
|
@@ -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',
|
|
51
|
+
'border border-gray-200 transition-all duration-150 hover:border-primary focus:border-primary',
|
|
52
52
|
'appearance-none bg-transparent'
|
|
53
53
|
),
|
|
54
54
|
className
|
|
@@ -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
|
|
24
|
+
{order?.number}
|
|
25
25
|
</span>
|
|
26
26
|
</div>
|
|
27
27
|
|