@akinon/projectzero 1.79.0-rc.3 → 1.79.0-rc.5
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,5 +1,52 @@
|
|
|
1
1
|
# projectzeronext
|
|
2
2
|
|
|
3
|
+
## 1.79.0-rc.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [778aabf8]
|
|
8
|
+
- @akinon/next@1.79.0-rc.5
|
|
9
|
+
- @akinon/pz-akifast@1.79.0-rc.5
|
|
10
|
+
- @akinon/pz-b2b@1.79.0-rc.5
|
|
11
|
+
- @akinon/pz-basket-gift-pack@1.79.0-rc.5
|
|
12
|
+
- @akinon/pz-bkm@1.79.0-rc.5
|
|
13
|
+
- @akinon/pz-checkout-gift-pack@1.79.0-rc.5
|
|
14
|
+
- @akinon/pz-click-collect@1.79.0-rc.5
|
|
15
|
+
- @akinon/pz-credit-payment@1.79.0-rc.5
|
|
16
|
+
- @akinon/pz-gpay@1.79.0-rc.5
|
|
17
|
+
- @akinon/pz-masterpass@1.79.0-rc.5
|
|
18
|
+
- @akinon/pz-one-click-checkout@1.79.0-rc.5
|
|
19
|
+
- @akinon/pz-otp@1.79.0-rc.5
|
|
20
|
+
- @akinon/pz-pay-on-delivery@1.79.0-rc.5
|
|
21
|
+
- @akinon/pz-saved-card@1.79.0-rc.5
|
|
22
|
+
- @akinon/pz-tabby-extension@1.79.0-rc.5
|
|
23
|
+
|
|
24
|
+
## 1.79.0-rc.4
|
|
25
|
+
|
|
26
|
+
### Minor Changes
|
|
27
|
+
|
|
28
|
+
- 7a1e1f73: ZERO-3138: Close the search input with the esc key
|
|
29
|
+
- c82875bc: ZERO-3140: Fix style layout size
|
|
30
|
+
|
|
31
|
+
### Patch Changes
|
|
32
|
+
|
|
33
|
+
- Updated dependencies [fdbf156f]
|
|
34
|
+
- @akinon/pz-masterpass@1.79.0-rc.4
|
|
35
|
+
- @akinon/next@1.79.0-rc.4
|
|
36
|
+
- @akinon/pz-akifast@1.79.0-rc.4
|
|
37
|
+
- @akinon/pz-b2b@1.79.0-rc.4
|
|
38
|
+
- @akinon/pz-basket-gift-pack@1.79.0-rc.4
|
|
39
|
+
- @akinon/pz-bkm@1.79.0-rc.4
|
|
40
|
+
- @akinon/pz-checkout-gift-pack@1.79.0-rc.4
|
|
41
|
+
- @akinon/pz-click-collect@1.79.0-rc.4
|
|
42
|
+
- @akinon/pz-credit-payment@1.79.0-rc.4
|
|
43
|
+
- @akinon/pz-gpay@1.79.0-rc.4
|
|
44
|
+
- @akinon/pz-one-click-checkout@1.79.0-rc.4
|
|
45
|
+
- @akinon/pz-otp@1.79.0-rc.4
|
|
46
|
+
- @akinon/pz-pay-on-delivery@1.79.0-rc.4
|
|
47
|
+
- @akinon/pz-saved-card@1.79.0-rc.4
|
|
48
|
+
- @akinon/pz-tabby-extension@1.79.0-rc.4
|
|
49
|
+
|
|
3
50
|
## 1.79.0-rc.3
|
|
4
51
|
|
|
5
52
|
### Minor Changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "projectzeronext",
|
|
3
|
-
"version": "1.79.0-rc.
|
|
3
|
+
"version": "1.79.0-rc.5",
|
|
4
4
|
"private": true,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
@@ -22,21 +22,21 @@
|
|
|
22
22
|
"prestart": "pz-prestart"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@akinon/next": "1.79.0-rc.
|
|
26
|
-
"@akinon/pz-akifast": "1.79.0-rc.
|
|
27
|
-
"@akinon/pz-b2b": "1.79.0-rc.
|
|
28
|
-
"@akinon/pz-basket-gift-pack": "1.79.0-rc.
|
|
29
|
-
"@akinon/pz-bkm": "1.79.0-rc.
|
|
30
|
-
"@akinon/pz-checkout-gift-pack": "1.79.0-rc.
|
|
31
|
-
"@akinon/pz-click-collect": "1.79.0-rc.
|
|
32
|
-
"@akinon/pz-credit-payment": "1.79.0-rc.
|
|
33
|
-
"@akinon/pz-gpay": "1.79.0-rc.
|
|
34
|
-
"@akinon/pz-masterpass": "1.79.0-rc.
|
|
35
|
-
"@akinon/pz-one-click-checkout": "1.79.0-rc.
|
|
36
|
-
"@akinon/pz-otp": "1.79.0-rc.
|
|
37
|
-
"@akinon/pz-pay-on-delivery": "1.79.0-rc.
|
|
38
|
-
"@akinon/pz-saved-card": "1.79.0-rc.
|
|
39
|
-
"@akinon/pz-tabby-extension": "1.79.0-rc.
|
|
25
|
+
"@akinon/next": "1.79.0-rc.5",
|
|
26
|
+
"@akinon/pz-akifast": "1.79.0-rc.5",
|
|
27
|
+
"@akinon/pz-b2b": "1.79.0-rc.5",
|
|
28
|
+
"@akinon/pz-basket-gift-pack": "1.79.0-rc.5",
|
|
29
|
+
"@akinon/pz-bkm": "1.79.0-rc.5",
|
|
30
|
+
"@akinon/pz-checkout-gift-pack": "1.79.0-rc.5",
|
|
31
|
+
"@akinon/pz-click-collect": "1.79.0-rc.5",
|
|
32
|
+
"@akinon/pz-credit-payment": "1.79.0-rc.5",
|
|
33
|
+
"@akinon/pz-gpay": "1.79.0-rc.5",
|
|
34
|
+
"@akinon/pz-masterpass": "1.79.0-rc.5",
|
|
35
|
+
"@akinon/pz-one-click-checkout": "1.79.0-rc.5",
|
|
36
|
+
"@akinon/pz-otp": "1.79.0-rc.5",
|
|
37
|
+
"@akinon/pz-pay-on-delivery": "1.79.0-rc.5",
|
|
38
|
+
"@akinon/pz-saved-card": "1.79.0-rc.5",
|
|
39
|
+
"@akinon/pz-tabby-extension": "1.79.0-rc.5",
|
|
40
40
|
"@hookform/resolvers": "2.9.0",
|
|
41
41
|
"@next/third-parties": "14.1.0",
|
|
42
42
|
"@react-google-maps/api": "2.17.1",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"yup": "0.32.11"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@akinon/eslint-plugin-projectzero": "1.79.0-rc.
|
|
64
|
+
"@akinon/eslint-plugin-projectzero": "1.79.0-rc.5",
|
|
65
65
|
"@semantic-release/changelog": "6.0.2",
|
|
66
66
|
"@semantic-release/exec": "6.0.3",
|
|
67
67
|
"@semantic-release/git": "10.0.1",
|
|
@@ -91,12 +91,18 @@ export const CategoryHeader = (props: Props) => {
|
|
|
91
91
|
value: String(value)
|
|
92
92
|
});
|
|
93
93
|
}}
|
|
94
|
-
className=
|
|
95
|
-
'cursor-pointer',
|
|
96
|
-
Number(layoutSize) === value ? 'fill-black' : 'fill-gray-500'
|
|
97
|
-
)}
|
|
94
|
+
className="cursor-pointer"
|
|
98
95
|
>
|
|
99
|
-
<Icon
|
|
96
|
+
<Icon
|
|
97
|
+
key={value}
|
|
98
|
+
name={icon}
|
|
99
|
+
size={16}
|
|
100
|
+
className={
|
|
101
|
+
Number(layoutSize) === value
|
|
102
|
+
? 'text-black'
|
|
103
|
+
: 'text-gray-500'
|
|
104
|
+
}
|
|
105
|
+
/>
|
|
100
106
|
</a>
|
|
101
107
|
))}
|
|
102
108
|
</div>
|
|
@@ -22,12 +22,24 @@ export default function Search() {
|
|
|
22
22
|
if (isSearchOpen) {
|
|
23
23
|
inputRef.current?.focus();
|
|
24
24
|
document.body.style.overflow = 'hidden';
|
|
25
|
+
|
|
26
|
+
const handleEscKey = (e: KeyboardEvent) => {
|
|
27
|
+
if (e.key === 'Escape') {
|
|
28
|
+
dispatch(closeSearch());
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
document.addEventListener('keydown', handleEscKey);
|
|
33
|
+
return () => {
|
|
34
|
+
document.removeEventListener('keydown', handleEscKey);
|
|
35
|
+
document.body.style.overflow = 'auto';
|
|
36
|
+
};
|
|
25
37
|
}
|
|
26
38
|
|
|
27
39
|
return () => {
|
|
28
40
|
document.body.style.overflow = 'auto';
|
|
29
41
|
};
|
|
30
|
-
}, [isSearchOpen]);
|
|
42
|
+
}, [isSearchOpen, dispatch]);
|
|
31
43
|
|
|
32
44
|
return (
|
|
33
45
|
<>
|