@graphcommerce/magento-search 3.3.0 → 3.3.1

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
@@ -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) => (
@@ -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} alt='Search' size='medium' />,
33
+ endAdornment: <SvgImageSimple src={iconSearch} size='medium' />,
34
34
  classes: { root: classes.inputRoot },
35
35
  ...InputProps,
36
36
  }}
@@ -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} alt='search' />
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} alt='close' />
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.0",
3
+ "version": "3.3.1",
4
4
  "sideEffects": false,
5
5
  "prettier": "@graphcommerce/prettier-config-pwa",
6
6
  "browserslist": [
@@ -22,7 +22,7 @@
22
22
  "dependencies": {
23
23
  "@graphcommerce/graphql": "^2.105.1",
24
24
  "@graphcommerce/image": "^2.105.1",
25
- "@graphcommerce/next-ui": "^3.11.0",
25
+ "@graphcommerce/next-ui": "^3.11.1",
26
26
  "@graphcommerce/react-hook-form": "^2.102.13",
27
27
  "@graphql-typed-document-node/core": "^3.1.0",
28
28
  "@material-ui/core": "^4.12.3",
@@ -30,5 +30,5 @@
30
30
  "react": "^17.0.2",
31
31
  "react-dom": "^17.0.2"
32
32
  },
33
- "gitHead": "f923ddb5d98378c8737314e7296bba77b1c2dc9b"
33
+ "gitHead": "e01d10a0e89c68c316c3e4bb6a306e9a6959a7f6"
34
34
  }