@graphcommerce/magento-customer 4.13.3 → 4.14.0-canary.3

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,8 +1,16 @@
1
1
  # Change Log
2
2
 
3
- ## 4.13.3
3
+ ## 4.14.0-canary.3
4
4
 
5
- ## 4.13.2
5
+ ## 4.14.0-canary.2
6
+
7
+ ### Patch Changes
8
+
9
+ - [#1718](https://github.com/graphcommerce-org/graphcommerce/pull/1718) [`37e86cdc8`](https://github.com/graphcommerce-org/graphcommerce/commit/37e86cdc86ccca3db77d6c59b1e14c8112bb7893) - Remove usage of PropsWithChildren ([@paales](https://github.com/paales))
10
+
11
+ ## 4.13.2-canary.1
12
+
13
+ ## 4.13.2-canary.0
6
14
 
7
15
  ## 4.13.1
8
16
 
@@ -3,14 +3,16 @@ import { useFormGqlMutation } from '@graphcommerce/react-hook-form'
3
3
  import { Trans } from '@lingui/react'
4
4
  import { Box, SxProps, TextField, Theme } from '@mui/material'
5
5
  import PageLink from 'next/link'
6
- import { PropsWithChildren } from 'react'
7
6
  import { SignInDocument, SignInMutationVariables } from './SignIn.gql'
8
7
 
9
- type InlineSignInFormProps = Omit<SignInMutationVariables, 'password'> & { sx?: SxProps<Theme> }
8
+ type InlineSignInFormProps = Omit<SignInMutationVariables, 'password'> & {
9
+ sx?: SxProps<Theme>
10
+ children?: React.ReactNode
11
+ }
10
12
 
11
13
  const { classes } = extendableComponent('SignInFormInline', ['form', 'button'] as const)
12
14
 
13
- export function SignInFormInline(props: PropsWithChildren<InlineSignInFormProps>) {
15
+ export function SignInFormInline(props: InlineSignInFormProps) {
14
16
  const { email, sx = [] } = props
15
17
  const form = useFormGqlMutation(
16
18
  SignInDocument,
@@ -5,7 +5,7 @@ import { useFormGqlMutation } from '@graphcommerce/react-hook-form'
5
5
  import { i18n } from '@lingui/core'
6
6
  import { Trans } from '@lingui/react'
7
7
  import { Box, TextField } from '@mui/material'
8
- import React, { PropsWithChildren } from 'react'
8
+ import React from 'react'
9
9
  import { SignUpMutationVariables, SignUpMutation, SignUpDocument } from './SignUp.gql'
10
10
 
11
11
  type SignUpFormInlineProps = Pick<SignUpMutationVariables, 'email'> & {
@@ -28,7 +28,7 @@ export function SignUpFormInline({
28
28
  firstname,
29
29
  lastname,
30
30
  onSubmitted = () => {},
31
- }: PropsWithChildren<SignUpFormInlineProps>) {
31
+ }: SignUpFormInlineProps) {
32
32
  const form = useFormGqlMutation<
33
33
  SignUpMutation,
34
34
  SignUpMutationVariables & { confirmPassword?: string }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-customer",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "4.13.3",
5
+ "version": "4.14.0-canary.3",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -19,15 +19,15 @@
19
19
  "type-fest": "^2.12.2"
20
20
  },
21
21
  "dependencies": {
22
- "@graphcommerce/ecommerce-ui": "4.30.2",
23
- "@graphcommerce/framer-utils": "4.30.2",
24
- "@graphcommerce/graphql": "4.30.2",
25
- "@graphcommerce/graphql-mesh": "4.30.2",
26
- "@graphcommerce/image": "4.30.2",
27
- "@graphcommerce/magento-graphql": "4.13.3",
28
- "@graphcommerce/magento-store": "4.13.3",
29
- "@graphcommerce/next-ui": "4.30.2",
30
- "@graphcommerce/react-hook-form": "4.30.2"
22
+ "@graphcommerce/ecommerce-ui": "4.31.0-canary.2",
23
+ "@graphcommerce/framer-utils": "4.31.0-canary.2",
24
+ "@graphcommerce/graphql": "4.31.0-canary.2",
25
+ "@graphcommerce/graphql-mesh": "4.31.0-canary.2",
26
+ "@graphcommerce/image": "4.31.0-canary.2",
27
+ "@graphcommerce/magento-graphql": "4.14.0-canary.3",
28
+ "@graphcommerce/magento-store": "4.14.0-canary.3",
29
+ "@graphcommerce/next-ui": "4.31.0-canary.2",
30
+ "@graphcommerce/react-hook-form": "4.31.0-canary.2"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "@lingui/react": "^3.13.2",