@graphcommerce/magento-search 3.4.15 → 3.4.19

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,29 @@
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.19](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-search@3.4.18...@graphcommerce/magento-search@3.4.19) (2021-11-12)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **search-button:** spacings ([ccb7274](https://github.com/ho-nl/m2-pwa/commit/ccb727444a57941e22f14dff15ce20101cbc160c))
12
+
13
+
14
+
15
+
16
+
17
+ ## [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)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * restyle menu to h4 ([642e166](https://github.com/ho-nl/m2-pwa/commit/642e16635dc06f38bed91ffd1a374922ac70439b))
23
+ * **search-button:** add label for accessibility score ([1871e5b](https://github.com/ho-nl/m2-pwa/commit/1871e5b0b264ae4c98ebf3af1d074bb23d4dbbd8))
24
+
25
+
26
+
27
+
28
+
6
29
  ## [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
30
 
8
31
 
@@ -12,6 +12,7 @@ const useStyles = makeStyles(
12
12
  },
13
13
  [theme.breakpoints.up('sm')]: {
14
14
  width: '100%',
15
+ marginRight: 0,
15
16
  },
16
17
  },
17
18
  inputRoot: {
@@ -24,15 +25,17 @@ const useStyles = makeStyles(
24
25
  export type SearchButtonProps = UseStyles<typeof useStyles> & TextFieldProps
25
26
 
26
27
  export default function SearchButton(props: SearchButtonProps) {
27
- const { InputProps, ...textFieldProps } = props
28
+ const { InputProps, label = 'Search...', ...textFieldProps } = props
28
29
  const classes = useStyles(props)
29
30
 
30
31
  return (
31
32
  <TextField
32
33
  variant='outlined'
33
34
  size='small'
34
- label='...'
35
35
  classes={{ root: classes.root }}
36
+ label={label}
37
+ id='search-input'
38
+ InputLabelProps={{ shrink: false }}
36
39
  InputProps={{
37
40
  readOnly: true,
38
41
  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.15",
3
+ "version": "3.4.19",
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.7",
25
+ "@graphcommerce/next-ui": "^3.15.2",
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": "c9d9c589d7e118318f3b44d8322e9bc71feca484"
33
+ "gitHead": "47e8be849eaecea00f8673696ae1ec3283ec5fd6"
34
34
  }