@graphcommerce/magento-search 4.1.1 → 4.1.2

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,16 @@
1
1
  # Change Log
2
2
 
3
+ ## 4.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1353](https://github.com/graphcommerce-org/graphcommerce/pull/1353) [`0e5ee7ba8`](https://github.com/graphcommerce-org/graphcommerce/commit/0e5ee7ba89698e5e711001e846ed182528060cba) Thanks [@paales](https://github.com/paales)! - Eslint: enable rules that were previously disabled and make fixes
8
+
9
+ * [#1353](https://github.com/graphcommerce-org/graphcommerce/pull/1353) [`5fa60655c`](https://github.com/graphcommerce-org/graphcommerce/commit/5fa60655c85ff3b3debe663b94450cbff5c52520) Thanks [@paales](https://github.com/paales)! - Reduce the allowed props of the SearchLink component
10
+
11
+ * Updated dependencies [[`49a2d6617`](https://github.com/graphcommerce-org/graphcommerce/commit/49a2d661712e1787fba46c6195f7b559189e23d9), [`f67da3cfb`](https://github.com/graphcommerce-org/graphcommerce/commit/f67da3cfbe2dcf5ea23519d088c5aa0074029182), [`218766869`](https://github.com/graphcommerce-org/graphcommerce/commit/218766869f7468c067a590857c942f3819f8add4), [`0e5ee7ba8`](https://github.com/graphcommerce-org/graphcommerce/commit/0e5ee7ba89698e5e711001e846ed182528060cba), [`829b8690b`](https://github.com/graphcommerce-org/graphcommerce/commit/829b8690bc5d0a46e596299e4120e9837a9f179c)]:
12
+ - @graphcommerce/next-ui@4.4.0
13
+
3
14
  ## 4.1.1
4
15
 
5
16
  ### Patch Changes
@@ -9,7 +9,7 @@ import { Link, LinkProps } from '@mui/material'
9
9
  import PageLink from 'next/link'
10
10
  import { SetRequired } from 'type-fest'
11
11
 
12
- export type SearchLinknProps = SetRequired<LinkProps, 'href'>
12
+ export type SearchLinkProps = SetRequired<Pick<LinkProps, 'href' | 'sx' | 'children'>, 'href'>
13
13
 
14
14
  const name = 'SearchLink' as const
15
15
  const parts = ['root', 'text', 'svg'] as const
@@ -22,7 +22,7 @@ const { classes } = extendableComponent(name, parts)
22
22
  * const MyComponent = () => <SearchLink href='/search' />
23
23
  * ```
24
24
  */
25
- export function SearchLink(props: SearchLinknProps) {
25
+ export function SearchLink(props: SearchLinkProps) {
26
26
  const { href, sx = [], children, ...linkProps } = props
27
27
 
28
28
  const fabSize = useFabSize('responsive')
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": "4.1.1",
5
+ "version": "4.1.2",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,7 +12,7 @@
12
12
  }
13
13
  },
14
14
  "devDependencies": {
15
- "@graphcommerce/eslint-config-pwa": "^4.0.5",
15
+ "@graphcommerce/eslint-config-pwa": "^4.1.2",
16
16
  "@graphcommerce/prettier-config-pwa": "^4.0.3",
17
17
  "@graphcommerce/typescript-config-pwa": "^4.0.2",
18
18
  "@playwright/test": "^1.19.2"
@@ -20,7 +20,7 @@
20
20
  "dependencies": {
21
21
  "@graphcommerce/graphql": "^3.0.4",
22
22
  "@graphcommerce/image": "^3.1.1",
23
- "@graphcommerce/next-ui": "^4.2.4",
23
+ "@graphcommerce/next-ui": "^4.4.0",
24
24
  "@graphcommerce/react-hook-form": "^3.0.4",
25
25
  "type-fest": "^2.12.0"
26
26
  },