@graphcommerce/magento-search 3.4.13 → 3.4.17

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,18 @@
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.4.16](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-search@3.4.15...@graphcommerce/magento-search@3.4.16) (2021-11-09)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * restyle menu to h4 ([642e166](https://github.com/ho-nl/m2-pwa/commit/642e16635dc06f38bed91ffd1a374922ac70439b))
12
+ * **search-button:** add label for accessibility score ([1871e5b](https://github.com/ho-nl/m2-pwa/commit/1871e5b0b264ae4c98ebf3af1d074bb23d4dbbd8))
13
+
14
+
15
+
16
+
17
+
6
18
  ## [3.4.7](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-search@3.4.6...@graphcommerce/magento-search@3.4.7) (2021-11-03)
7
19
 
8
20
 
@@ -24,15 +24,17 @@ const useStyles = makeStyles(
24
24
  export type SearchButtonProps = UseStyles<typeof useStyles> & TextFieldProps
25
25
 
26
26
  export default function SearchButton(props: SearchButtonProps) {
27
- const { InputProps, ...textFieldProps } = props
27
+ const { InputProps, label = 'Search...', ...textFieldProps } = props
28
28
  const classes = useStyles(props)
29
29
 
30
30
  return (
31
31
  <TextField
32
32
  variant='outlined'
33
33
  size='small'
34
- label='...'
35
34
  classes={{ root: classes.root }}
35
+ label={label}
36
+ id='search-input'
37
+ InputLabelProps={{ shrink: false }}
36
38
  InputProps={{
37
39
  readOnly: true,
38
40
  endAdornment: <SvgImageSimple src={iconSearch} size='medium' />,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphcommerce/magento-search",
3
- "version": "3.4.13",
3
+ "version": "3.4.17",
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.4",
24
24
  "@graphcommerce/image": "^2.105.3",
25
- "@graphcommerce/next-ui": "^3.14.5",
25
+ "@graphcommerce/next-ui": "^3.15.0",
26
26
  "@graphcommerce/react-hook-form": "^2.103.1",
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": "15fd80e36ef6ebee46e0255872504a72288854de"
33
+ "gitHead": "0d7e797850cec8d51ef8d88937a104aab6af4c35"
34
34
  }