@graphcommerce/magento-search-overlay 9.0.3 → 9.0.4-canary.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
@@ -1,12 +1,8 @@
1
1
  # @graphcommerce/magento-search-overlay
2
2
 
3
- ## 9.0.3
3
+ ## 9.0.4-canary.1
4
4
 
5
- ## 9.0.3-canary.0
6
-
7
- ## 9.0.2
8
-
9
- ## 9.0.2-canary.0
5
+ ## 9.0.4-canary.0
10
6
 
11
7
  ## 9.0.1
12
8
 
@@ -14,12 +10,6 @@
14
10
 
15
11
  - [#2461](https://github.com/graphcommerce-org/graphcommerce/pull/2461) [`24c68c1`](https://github.com/graphcommerce-org/graphcommerce/commit/24c68c1903d5396efee7f571a1380ffa234338fd) - Solve issue with the SearchField throwing an error in production. ([@paales](https://github.com/paales))
16
12
 
17
- ## 9.0.1-canary.1
18
-
19
- ### Patch Changes
20
-
21
- - [#2461](https://github.com/graphcommerce-org/graphcommerce/pull/2461) [`24c68c1`](https://github.com/graphcommerce-org/graphcommerce/commit/24c68c1903d5396efee7f571a1380ffa234338fd) - Solve issue with the SearchField throwing an error in production. ([@paales](https://github.com/paales))
22
-
23
13
  ## 9.0.0
24
14
 
25
15
  ### Major Changes
@@ -1,7 +1,7 @@
1
1
  import { useMotionValueValue } from '@graphcommerce/framer-utils'
2
2
  import type { ProductListItemRenderer } from '@graphcommerce/magento-product'
3
- import { MediaQuery, Overlay } from '@graphcommerce/next-ui'
4
- import { Box, useTheme } from '@mui/material'
3
+ import { Overlay } from '@graphcommerce/next-ui'
4
+ import { useTheme } from '@mui/material'
5
5
  import { SearchOverlayBodyBase } from './SearchOverlayBodyBase'
6
6
  import { SearchOverlayCategories } from './SearchOverlayCategories'
7
7
  import { SearchOverlayHeader } from './SearchOverlayHeader'
@@ -42,7 +42,7 @@ export function SearchOverlay(props: SearchOverlayProps) {
42
42
  className='SearchOverlay-root'
43
43
  {...slotProps?.overlay}
44
44
  >
45
- <SearchOverlayProvider open={open}>
45
+ <SearchOverlayProvider>
46
46
  <SearchOverlayHeader {...slotProps?.header} />
47
47
  <SearchOverlayBodyBase {...slotProps?.body}>
48
48
  <SearchOverlaySuggestions {...slotProps?.suggestions} />
@@ -1,5 +1,4 @@
1
1
  import { useMotionSelector } from '@graphcommerce/framer-utils'
2
- import { SearchFab } from '@graphcommerce/magento-search/components/SearchFab/SearchFab.interceptor'
3
2
  import { motionValue } from 'framer-motion'
4
3
  import dynamic from 'next/dynamic'
5
4
  import type { SearchOverlayProps } from './SearchOverlay'
@@ -39,11 +39,10 @@ export function useSearchOverlay() {
39
39
 
40
40
  type SearchOverlayProviderProps = {
41
41
  children: ReactNode
42
- open: boolean
43
42
  }
44
43
 
45
44
  export function SearchOverlayProvider(props: SearchOverlayProviderProps) {
46
- const { children, open, ...overlayProps } = props
45
+ const { children } = props
47
46
  const router = useRouter()
48
47
  const [params, setParams] = useState<ProductListParams>({
49
48
  filters: {},
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-search-overlay",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "9.0.3",
5
+ "version": "9.0.4-canary.1",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,18 +12,18 @@
12
12
  }
13
13
  },
14
14
  "peerDependencies": {
15
- "@graphcommerce/ecommerce-ui": "^9.0.3",
16
- "@graphcommerce/eslint-config-pwa": "^9.0.3",
17
- "@graphcommerce/framer-utils": "^9.0.3",
18
- "@graphcommerce/graphql": "^9.0.3",
19
- "@graphcommerce/image": "^9.0.3",
20
- "@graphcommerce/magento-product": "^9.0.3",
21
- "@graphcommerce/magento-search": "^9.0.3",
22
- "@graphcommerce/magento-store": "^9.0.3",
23
- "@graphcommerce/next-ui": "^9.0.3",
24
- "@graphcommerce/prettier-config-pwa": "^9.0.3",
25
- "@graphcommerce/react-hook-form": "^9.0.3",
26
- "@graphcommerce/typescript-config-pwa": "^9.0.3",
15
+ "@graphcommerce/ecommerce-ui": "^9.0.4-canary.1",
16
+ "@graphcommerce/eslint-config-pwa": "^9.0.4-canary.1",
17
+ "@graphcommerce/framer-utils": "^9.0.4-canary.1",
18
+ "@graphcommerce/graphql": "^9.0.4-canary.1",
19
+ "@graphcommerce/image": "^9.0.4-canary.1",
20
+ "@graphcommerce/magento-product": "^9.0.4-canary.1",
21
+ "@graphcommerce/magento-search": "^9.0.4-canary.1",
22
+ "@graphcommerce/magento-store": "^9.0.4-canary.1",
23
+ "@graphcommerce/next-ui": "^9.0.4-canary.1",
24
+ "@graphcommerce/prettier-config-pwa": "^9.0.4-canary.1",
25
+ "@graphcommerce/react-hook-form": "^9.0.4-canary.1",
26
+ "@graphcommerce/typescript-config-pwa": "^9.0.4-canary.1",
27
27
  "@lingui/core": "^4.2.1",
28
28
  "@lingui/macro": "^4.2.1",
29
29
  "@lingui/react": "^4.2.1",