@graphcommerce/magento-product 11.0.0-canary.56 → 11.0.0-canary.57
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,19 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 11.0.0-canary.57
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#2708](https://github.com/graphcommerce-org/graphcommerce/pull/2708) [`28aa653`](https://github.com/graphcommerce-org/graphcommerce/commit/28aa653188ed5dc4a0cc5401ee5149b31858e01d) - **Breaking change:** GraphCommerce imports `motion/react` and requires the `motion` package. In your project, replace the `framer-motion` dependency with `motion` 14 and change the imports from `framer-motion` to `motion/react`. ([@paales](https://github.com/paales))
|
|
8
|
+
|
|
9
|
+
- [#2708](https://github.com/graphcommerce-org/graphcommerce/pull/2708) [`cb36d6c`](https://github.com/graphcommerce-org/graphcommerce/commit/cb36d6c219e067ffe2fb2e847a8ff84e8f87a5e8) - **Breaking change:** GraphCommerce requires Lingui 6 and Node.js 22.19 or later. Lingui 6 has no `@lingui/macro` package: import the JSX macros from `@lingui/react/macro`. The `lingui-next` config excludes `.d.ts` files and `node_modules` outside the working directory too. ([@paales](https://github.com/paales))
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#2708](https://github.com/graphcommerce-org/graphcommerce/pull/2708) [`4442f72`](https://github.com/graphcommerce-org/graphcommerce/commit/4442f72de4139d4a10df3f4a9364fbeabdfc4f51) - The `handleSubmit` of `useFormGql` returns the result of `onValid`, the same as `handleSubmit` of React Hook Form 7.91. `ProductFiltersProContext.submit` returns `Promise<unknown>`. ([@paales](https://github.com/paales))
|
|
14
|
+
|
|
15
|
+
- [#2708](https://github.com/graphcommerce-org/graphcommerce/pull/2708) [`1c97bc6`](https://github.com/graphcommerce-org/graphcommerce/commit/1c97bc6d6d01e80d98fe70e595b06804be2ba905) - Uses `@googlemaps/js-api-loader` 2, `cookie` 2, `fetch-retry` 6, `web-vitals` 6 and `schema-dts` 2. `usePlacesAutocomplete` loads the Places library with `setOptions` and `importLibrary`. ([@paales](https://github.com/paales))
|
|
16
|
+
|
|
3
17
|
## 11.0.0-canary.56
|
|
4
18
|
|
|
5
19
|
## 11.0.0-canary.55
|
|
@@ -9,7 +9,7 @@ import { useMatchMediaMotionValue, useMemoObject } from '@graphcommerce/next-ui'
|
|
|
9
9
|
import type { Theme } from '@mui/material'
|
|
10
10
|
// eslint-disable-next-line @typescript-eslint/no-restricted-imports
|
|
11
11
|
import { useEventCallback, useMediaQuery, useTheme } from '@mui/material'
|
|
12
|
-
import { m, useTransform } from '
|
|
12
|
+
import { m, useTransform } from 'motion/react'
|
|
13
13
|
import { useRouter } from 'next/router'
|
|
14
14
|
import type { BaseSyntheticEvent, MutableRefObject } from 'react'
|
|
15
15
|
import React, { createContext, useContext, useEffect, useMemo, useRef } from 'react'
|
|
@@ -44,7 +44,7 @@ export type ProductFiltersProContext = DataProps & {
|
|
|
44
44
|
* To get active form values use `useWatch`.
|
|
45
45
|
*/
|
|
46
46
|
params: ProductFilterParams
|
|
47
|
-
submit: (e?: BaseSyntheticEvent<object, any, any> | undefined) => Promise<
|
|
47
|
+
submit: (e?: BaseSyntheticEvent<object, any, any> | undefined) => Promise<unknown>
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
const FilterFormContext = createContext<ProductFiltersProContext | null>(null)
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from '@graphcommerce/next-ui'
|
|
10
10
|
import type { SxProps, Theme } from '@mui/material'
|
|
11
11
|
import { Box, styled } from '@mui/material'
|
|
12
|
-
import { m, useTransform } from '
|
|
12
|
+
import { m, useTransform } from 'motion/react'
|
|
13
13
|
import React, { useEffect, useRef, useState } from 'react'
|
|
14
14
|
|
|
15
15
|
const MotionDiv = styled(m.div)({})
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { MotionImageAspectPropsAdditional } from '@graphcommerce/framer-scroller'
|
|
2
2
|
import { Fab, iconPlay, IconSvg, sxx, YoutubeEmbed, type FabProps } from '@graphcommerce/next-ui'
|
|
3
3
|
import { Avatar, Box, IconButton, styled, type SxProps, type Theme } from '@mui/material'
|
|
4
|
-
import { m, type MotionProps, type MotionStyle } from '
|
|
4
|
+
import { m, type MotionProps, type MotionStyle } from 'motion/react'
|
|
5
5
|
import React, { useState } from 'react'
|
|
6
6
|
import type { ProductVideoFragment } from './ProductVideo.gql'
|
|
7
7
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-product",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "11.0.0-canary.
|
|
5
|
+
"version": "11.0.0-canary.57",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -12,29 +12,28 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"schema-dts": "^
|
|
15
|
+
"schema-dts": "^2.1.0"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"typescript": "
|
|
18
|
+
"typescript": "6.0.3"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@graphcommerce/ecommerce-ui": "^11.0.0-canary.
|
|
22
|
-
"@graphcommerce/eslint-config-pwa": "^11.0.0-canary.
|
|
23
|
-
"@graphcommerce/framer-next-pages": "^11.0.0-canary.
|
|
24
|
-
"@graphcommerce/framer-scroller": "^11.0.0-canary.
|
|
25
|
-
"@graphcommerce/graphql": "^11.0.0-canary.
|
|
26
|
-
"@graphcommerce/graphql-mesh": "^11.0.0-canary.
|
|
27
|
-
"@graphcommerce/image": "^11.0.0-canary.
|
|
28
|
-
"@graphcommerce/magento-cart": "^11.0.0-canary.
|
|
29
|
-
"@graphcommerce/magento-store": "^11.0.0-canary.
|
|
30
|
-
"@graphcommerce/next-ui": "^11.0.0-canary.
|
|
31
|
-
"@graphcommerce/prettier-config-pwa": "^11.0.0-canary.
|
|
32
|
-
"@graphcommerce/typescript-config-pwa": "^11.0.0-canary.
|
|
33
|
-
"@lingui/core": "^
|
|
34
|
-
"@lingui/
|
|
35
|
-
"@lingui/react": "^5",
|
|
21
|
+
"@graphcommerce/ecommerce-ui": "^11.0.0-canary.57",
|
|
22
|
+
"@graphcommerce/eslint-config-pwa": "^11.0.0-canary.57",
|
|
23
|
+
"@graphcommerce/framer-next-pages": "^11.0.0-canary.57",
|
|
24
|
+
"@graphcommerce/framer-scroller": "^11.0.0-canary.57",
|
|
25
|
+
"@graphcommerce/graphql": "^11.0.0-canary.57",
|
|
26
|
+
"@graphcommerce/graphql-mesh": "^11.0.0-canary.57",
|
|
27
|
+
"@graphcommerce/image": "^11.0.0-canary.57",
|
|
28
|
+
"@graphcommerce/magento-cart": "^11.0.0-canary.57",
|
|
29
|
+
"@graphcommerce/magento-store": "^11.0.0-canary.57",
|
|
30
|
+
"@graphcommerce/next-ui": "^11.0.0-canary.57",
|
|
31
|
+
"@graphcommerce/prettier-config-pwa": "^11.0.0-canary.57",
|
|
32
|
+
"@graphcommerce/typescript-config-pwa": "^11.0.0-canary.57",
|
|
33
|
+
"@lingui/core": "^6",
|
|
34
|
+
"@lingui/react": "^6",
|
|
36
35
|
"@mui/material": "^7.0.0",
|
|
37
|
-
"
|
|
36
|
+
"motion": "^14.0.0",
|
|
38
37
|
"next": "*",
|
|
39
38
|
"react": "^19.2.0",
|
|
40
39
|
"react-dom": "^19.2.0"
|