@graphcommerce/magento-search 3.3.0 → 3.3.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 +11 -0
- package/CategorySearchResult/index.tsx +1 -3
- package/Search.graphql +1 -1
- package/SearchButton/index.tsx +1 -1
- package/SearchForm/index.tsx +2 -2
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.3.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-search@3.3.0...@graphcommerce/magento-search@3.3.1) (2021-10-28)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* External SVG's can't have alt tags ([1b1414a](https://github.com/ho-nl/m2-pwa/commit/1b1414a782d55d3acf7b0e6bcaa50f2ad5f18f39))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.3.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-search@3.2.2...@graphcommerce/magento-search@3.3.0) (2021-10-28)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -54,9 +54,7 @@ export default function CategorySearchResult(props: CategorySearchResultProps) {
|
|
|
54
54
|
variant='contained'
|
|
55
55
|
className={classes.categoryButton}
|
|
56
56
|
disableElevation
|
|
57
|
-
endIcon={
|
|
58
|
-
<SvgImageSimple src={iconChevronRight} alt='chevron right' size='small' loading='eager' />
|
|
59
|
-
}
|
|
57
|
+
endIcon={<SvgImageSimple src={iconChevronRight} size='small' />}
|
|
60
58
|
>
|
|
61
59
|
<div>
|
|
62
60
|
{catProps?.breadcrumbs?.map((breadcrumb) => (
|
package/Search.graphql
CHANGED
package/SearchButton/index.tsx
CHANGED
|
@@ -30,7 +30,7 @@ export default function SearchButton(props: SearchButtonProps) {
|
|
|
30
30
|
classes={{ root: classes.root }}
|
|
31
31
|
InputProps={{
|
|
32
32
|
readOnly: true,
|
|
33
|
-
endAdornment: <SvgImageSimple src={iconSearch}
|
|
33
|
+
endAdornment: <SvgImageSimple src={iconSearch} size='medium' />,
|
|
34
34
|
classes: { root: classes.inputRoot },
|
|
35
35
|
...InputProps,
|
|
36
36
|
}}
|
package/SearchForm/index.tsx
CHANGED
|
@@ -56,7 +56,7 @@ export default function SearchForm(props: SearchFormProps) {
|
|
|
56
56
|
|
|
57
57
|
const endAdornment = !watch('search') ? (
|
|
58
58
|
<IconButton size='small'>
|
|
59
|
-
<SvgImageSimple src={iconSearch}
|
|
59
|
+
<SvgImageSimple src={iconSearch} />
|
|
60
60
|
</IconButton>
|
|
61
61
|
) : (
|
|
62
62
|
<>
|
|
@@ -66,7 +66,7 @@ export default function SearchForm(props: SearchFormProps) {
|
|
|
66
66
|
</div>
|
|
67
67
|
)}
|
|
68
68
|
<IconButton onClick={handleReset} size='small'>
|
|
69
|
-
<SvgImageSimple src={iconClose}
|
|
69
|
+
<SvgImageSimple src={iconClose} />
|
|
70
70
|
</IconButton>
|
|
71
71
|
</>
|
|
72
72
|
)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphcommerce/magento-search",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.4",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
6
6
|
"browserslist": [
|
|
@@ -14,21 +14,21 @@
|
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@graphcommerce/browserslist-config-pwa": "^3.0.2",
|
|
17
|
-
"@graphcommerce/eslint-config-pwa": "^3.1.
|
|
17
|
+
"@graphcommerce/eslint-config-pwa": "^3.1.3",
|
|
18
18
|
"@graphcommerce/prettier-config-pwa": "^3.0.3",
|
|
19
19
|
"@graphcommerce/typescript-config-pwa": "^3.1.1",
|
|
20
20
|
"@playwright/test": "^1.16.2"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@graphcommerce/graphql": "^2.105.
|
|
24
|
-
"@graphcommerce/image": "^2.105.
|
|
25
|
-
"@graphcommerce/next-ui": "^3.11.
|
|
26
|
-
"@graphcommerce/react-hook-form": "^2.102.
|
|
23
|
+
"@graphcommerce/graphql": "^2.105.2",
|
|
24
|
+
"@graphcommerce/image": "^2.105.2",
|
|
25
|
+
"@graphcommerce/next-ui": "^3.11.4",
|
|
26
|
+
"@graphcommerce/react-hook-form": "^2.102.14",
|
|
27
27
|
"@graphql-typed-document-node/core": "^3.1.0",
|
|
28
28
|
"@material-ui/core": "^4.12.3",
|
|
29
|
-
"next": "^12.0.
|
|
29
|
+
"next": "^12.0.2",
|
|
30
30
|
"react": "^17.0.2",
|
|
31
31
|
"react-dom": "^17.0.2"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "b6321b8f479a0ef6e4b1b543702158d964bbeac6"
|
|
34
34
|
}
|