@graphcommerce/magento-search 6.2.0-canary.88 → 6.2.0-canary.89
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,6 @@
|
|
1
1
|
import { iconSearch, responsiveVal, IconSvg, extendableComponent } from '@graphcommerce/next-ui'
|
2
2
|
import { Trans } from '@lingui/react'
|
3
|
+
// eslint-disable-next-line @typescript-eslint/no-restricted-imports
|
3
4
|
import { TextField, TextFieldProps } from '@mui/material'
|
4
5
|
|
5
6
|
export type SearchButtonProps = TextFieldProps
|
@@ -20,9 +20,6 @@ const { classes } = extendableComponent('SearchForm' as const, ['root'] as const
|
|
20
20
|
export function SearchForm(props: SearchFormProps) {
|
21
21
|
const searchInputElement = useRef<HTMLInputElement>(null)
|
22
22
|
|
23
|
-
const renderCount = useRef(0)
|
24
|
-
console.log('SearchForm render', renderCount.current++)
|
25
|
-
|
26
23
|
useEffect(() => {
|
27
24
|
searchInputElement.current?.focus()
|
28
25
|
}, [])
|
package/package.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"name": "@graphcommerce/magento-search",
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
5
|
-
"version": "6.2.0-canary.
|
5
|
+
"version": "6.2.0-canary.89",
|
6
6
|
"sideEffects": false,
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
8
8
|
"eslintConfig": {
|
@@ -12,17 +12,17 @@
|
|
12
12
|
}
|
13
13
|
},
|
14
14
|
"devDependencies": {
|
15
|
-
"@graphcommerce/eslint-config-pwa": "6.2.0-canary.
|
16
|
-
"@graphcommerce/prettier-config-pwa": "6.2.0-canary.
|
17
|
-
"@graphcommerce/typescript-config-pwa": "6.2.0-canary.
|
15
|
+
"@graphcommerce/eslint-config-pwa": "6.2.0-canary.89",
|
16
|
+
"@graphcommerce/prettier-config-pwa": "6.2.0-canary.89",
|
17
|
+
"@graphcommerce/typescript-config-pwa": "6.2.0-canary.89"
|
18
18
|
},
|
19
19
|
"dependencies": {
|
20
|
-
"@graphcommerce/ecommerce-ui": "6.2.0-canary.
|
21
|
-
"@graphcommerce/graphql": "6.2.0-canary.
|
22
|
-
"@graphcommerce/image": "6.2.0-canary.
|
23
|
-
"@graphcommerce/magento-product": "6.2.0-canary.
|
24
|
-
"@graphcommerce/next-ui": "6.2.0-canary.
|
25
|
-
"@graphcommerce/react-hook-form": "6.2.0-canary.
|
20
|
+
"@graphcommerce/ecommerce-ui": "6.2.0-canary.89",
|
21
|
+
"@graphcommerce/graphql": "6.2.0-canary.89",
|
22
|
+
"@graphcommerce/image": "6.2.0-canary.89",
|
23
|
+
"@graphcommerce/magento-product": "6.2.0-canary.89",
|
24
|
+
"@graphcommerce/next-ui": "6.2.0-canary.89",
|
25
|
+
"@graphcommerce/react-hook-form": "6.2.0-canary.89"
|
26
26
|
},
|
27
27
|
"peerDependencies": {
|
28
28
|
"@lingui/react": "^4.2.1",
|