@akinon/projectzero 1.79.0-rc.2 → 1.79.0-rc.4

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,19 @@
1
1
  # @akinon/projectzero
2
2
 
3
+ ## 1.79.0-rc.4
4
+
5
+ ### Minor Changes
6
+
7
+ - 7a1e1f73: ZERO-3138: Close the search input with the esc key
8
+ - c82875bc: ZERO-3140: Fix style layout size
9
+
10
+ ## 1.79.0-rc.3
11
+
12
+ ### Minor Changes
13
+
14
+ - 64699d3f: ZERO-2761: Fix invalid import for plugin module
15
+ - 7727ae55: ZERO-3073: Refactor basket page to use server-side data fetching and simplify component structure
16
+
3
17
  ## 1.79.0-rc.2
4
18
 
5
19
  ## 1.79.0-rc.1
@@ -1,5 +1,91 @@
1
1
  # projectzeronext
2
2
 
3
+ ## 1.79.0-rc.4
4
+
5
+ ### Minor Changes
6
+
7
+ - 7a1e1f73: ZERO-3138: Close the search input with the esc key
8
+ - c82875bc: ZERO-3140: Fix style layout size
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies [fdbf156f]
13
+ - @akinon/pz-masterpass@1.79.0-rc.4
14
+ - @akinon/next@1.79.0-rc.4
15
+ - @akinon/pz-akifast@1.79.0-rc.4
16
+ - @akinon/pz-b2b@1.79.0-rc.4
17
+ - @akinon/pz-basket-gift-pack@1.79.0-rc.4
18
+ - @akinon/pz-bkm@1.79.0-rc.4
19
+ - @akinon/pz-checkout-gift-pack@1.79.0-rc.4
20
+ - @akinon/pz-click-collect@1.79.0-rc.4
21
+ - @akinon/pz-credit-payment@1.79.0-rc.4
22
+ - @akinon/pz-gpay@1.79.0-rc.4
23
+ - @akinon/pz-one-click-checkout@1.79.0-rc.4
24
+ - @akinon/pz-otp@1.79.0-rc.4
25
+ - @akinon/pz-pay-on-delivery@1.79.0-rc.4
26
+ - @akinon/pz-saved-card@1.79.0-rc.4
27
+ - @akinon/pz-tabby-extension@1.79.0-rc.4
28
+
29
+ ## 1.79.0-rc.3
30
+
31
+ ### Minor Changes
32
+
33
+ - e8dcbe3c: ZERO-3112: Update button component
34
+ - fd4b74e9: ZERO-3126: add reset checkout state query
35
+ - 82174637: ZERO-2887: Add LoaderSpinner to Filters component
36
+ - 4d3deb4f: ZERO-2935: sentry 8 upgrade
37
+ - 64699d3f: ZERO-2761: Fix invalid import for plugin module
38
+ - 7727ae55: ZERO-3073: Refactor basket page to use server-side data fetching and simplify component structure
39
+ - b02d5ea9: ZERO-3135: Add cancellation request images display in order cancellation item
40
+ - 2d305aaf: ZERO-2935: Update Sentry configuration: remove hideSourceMaps option and add it to withPzConfig
41
+ - 6a0a0807: ZERO-3112: Update button
42
+ - 14d6b00c: ZERO-3122: Refactor error handling in login and registration forms to support nested error messages
43
+ - 121044ba: ZERO-3120: Add sample regex for sitemap with url extension like .xml.gz
44
+
45
+ ### Patch Changes
46
+
47
+ - Updated dependencies [5dfeea04]
48
+ - Updated dependencies [2d9b2b2c]
49
+ - Updated dependencies [fd4b74e9]
50
+ - Updated dependencies [f49bb74f]
51
+ - Updated dependencies [e9541a13]
52
+ - Updated dependencies [4d3deb4f]
53
+ - Updated dependencies [72fd4d67]
54
+ - Updated dependencies [c53ef7b9]
55
+ - Updated dependencies [64699d3f]
56
+ - Updated dependencies [7727ae55]
57
+ - Updated dependencies [17f87524]
58
+ - Updated dependencies [65d3b862]
59
+ - Updated dependencies [bbe18b9f]
60
+ - Updated dependencies [4920742c]
61
+ - Updated dependencies [7e56d6b6]
62
+ - Updated dependencies [43c182ee]
63
+ - Updated dependencies [2d305aaf]
64
+ - Updated dependencies [4cc22c7c]
65
+ - Updated dependencies [eeb20bea]
66
+ - Updated dependencies [6a0a0807]
67
+ - Updated dependencies [f2c92d5c]
68
+ - Updated dependencies [7bd3d992]
69
+ - Updated dependencies [fdd255ee]
70
+ - Updated dependencies [59fa21ce]
71
+ - Updated dependencies [49eeebfa]
72
+ - Updated dependencies [3f9b8d7e]
73
+ - @akinon/next@1.79.0-rc.3
74
+ - @akinon/pz-checkout-gift-pack@1.79.0-rc.3
75
+ - @akinon/pz-one-click-checkout@1.79.0-rc.3
76
+ - @akinon/pz-basket-gift-pack@1.79.0-rc.3
77
+ - @akinon/pz-pay-on-delivery@1.79.0-rc.3
78
+ - @akinon/pz-credit-payment@1.79.0-rc.3
79
+ - @akinon/pz-click-collect@1.79.0-rc.3
80
+ - @akinon/pz-masterpass@1.79.0-rc.3
81
+ - @akinon/pz-akifast@1.79.0-rc.3
82
+ - @akinon/pz-gpay@1.79.0-rc.3
83
+ - @akinon/pz-b2b@1.79.0-rc.3
84
+ - @akinon/pz-bkm@1.79.0-rc.3
85
+ - @akinon/pz-otp@1.79.0-rc.3
86
+ - @akinon/pz-tabby-extension@1.79.0-rc.3
87
+ - @akinon/pz-saved-card@1.79.0-rc.3
88
+
3
89
  ## 1.79.0-rc.2
4
90
 
5
91
  ### Minor Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "projectzeronext",
3
- "version": "1.79.0-rc.2",
3
+ "version": "1.79.0-rc.4",
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.2",
26
- "@akinon/pz-akifast": "1.79.0-rc.2",
27
- "@akinon/pz-b2b": "1.79.0-rc.2",
28
- "@akinon/pz-basket-gift-pack": "1.79.0-rc.2",
29
- "@akinon/pz-bkm": "1.79.0-rc.2",
30
- "@akinon/pz-checkout-gift-pack": "1.79.0-rc.2",
31
- "@akinon/pz-click-collect": "1.79.0-rc.2",
32
- "@akinon/pz-credit-payment": "1.79.0-rc.2",
33
- "@akinon/pz-gpay": "1.79.0-rc.2",
34
- "@akinon/pz-masterpass": "1.79.0-rc.2",
35
- "@akinon/pz-one-click-checkout": "1.79.0-rc.2",
36
- "@akinon/pz-otp": "1.79.0-rc.2",
37
- "@akinon/pz-pay-on-delivery": "1.79.0-rc.2",
38
- "@akinon/pz-saved-card": "1.79.0-rc.2",
39
- "@akinon/pz-tabby-extension": "1.79.0-rc.2",
25
+ "@akinon/next": "1.79.0-rc.4",
26
+ "@akinon/pz-akifast": "1.79.0-rc.4",
27
+ "@akinon/pz-b2b": "1.79.0-rc.4",
28
+ "@akinon/pz-basket-gift-pack": "1.79.0-rc.4",
29
+ "@akinon/pz-bkm": "1.79.0-rc.4",
30
+ "@akinon/pz-checkout-gift-pack": "1.79.0-rc.4",
31
+ "@akinon/pz-click-collect": "1.79.0-rc.4",
32
+ "@akinon/pz-credit-payment": "1.79.0-rc.4",
33
+ "@akinon/pz-gpay": "1.79.0-rc.4",
34
+ "@akinon/pz-masterpass": "1.79.0-rc.4",
35
+ "@akinon/pz-one-click-checkout": "1.79.0-rc.4",
36
+ "@akinon/pz-otp": "1.79.0-rc.4",
37
+ "@akinon/pz-pay-on-delivery": "1.79.0-rc.4",
38
+ "@akinon/pz-saved-card": "1.79.0-rc.4",
39
+ "@akinon/pz-tabby-extension": "1.79.0-rc.4",
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.2",
64
+ "@akinon/eslint-plugin-projectzero": "1.79.0-rc.4",
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={clsx(
95
- 'cursor-pointer',
96
- Number(layoutSize) === value ? 'fill-black' : 'fill-gray-500'
97
- )}
94
+ className="cursor-pointer"
98
95
  >
99
- <Icon key={value} name={icon} size={16} />
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
  <>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akinon/projectzero",
3
- "version": "1.79.0-rc.2",
3
+ "version": "1.79.0-rc.4",
4
4
  "private": false,
5
5
  "description": "CLI tool to manage your Project Zero Next project",
6
6
  "bin": {