@graphcommerce/magento-customer 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 +2 -10
- package/components/AccountAddresses/AccountAddresses.tsx +2 -2
- package/components/AccountDeleteForm/AccountDeleteForm.tsx +1 -1
- package/components/AccountMenuItem/AccountMenuItem.tsx +1 -1
- package/components/AccountOrders/AccountOrders.tsx +1 -1
- package/components/AddressFields/AddressCountryRegion.tsx +11 -9
- package/components/AddressFields/AddressHouseNumber.tsx +1 -1
- package/components/ApolloCustomerError/ApolloCustomerErrorFullPage.tsx +1 -1
- package/components/CancelOrder/CancelOrderForm.tsx +3 -3
- package/components/ConfirmCustomer/ConfirmCustomerForm.tsx +1 -1
- package/components/ContactForm/ContactForm.tsx +2 -1
- package/components/CreateCustomerAddressForm/CreateCustomerAddressForm.tsx +6 -2
- package/components/CustomerFab/CustomerFab.tsx +1 -1
- package/components/CustomerMenuFabItem/CustomerMenuFabItem.tsx +1 -1
- package/components/EditAddressForm/EditAddressForm.tsx +6 -2
- package/components/NoOrdersFound/NoOrdersFound.tsx +1 -1
- package/components/OrderCard/OrderCard.tsx +1 -1
- package/components/OrderDetails/OrderDetails.tsx +4 -4
- package/components/OrderItem/OrderItem.tsx +1 -1
- package/components/OrderItems/OrderItems.tsx +1 -1
- package/components/ReorderItems/ReorderItems.tsx +1 -1
- package/components/SignOutForm/SignOutForm.tsx +1 -1
- package/components/SignUpForm/SignUpForm.tsx +8 -5
- package/components/SignUpForm/SignUpFormInline.tsx +1 -1
- package/components/TrackingLink/TrackingLink.tsx +1 -1
- package/components/WaitForCustomer/WaitForCustomer.tsx +2 -2
- package/hooks/useAccountSignInUpForm.tsx +1 -1
- package/hooks/useSignInForm.ts +1 -2
- package/package.json +14 -14
- package/test/authentication.playwright.ts +1 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,7 @@ import { CheckboxElement, EmailElement } from '@graphcommerce/ecommerce-ui'
|
|
|
2
2
|
import { useApolloClient, useMutation } from '@graphcommerce/graphql'
|
|
3
3
|
import { Button, FormActions, FormRow } from '@graphcommerce/next-ui'
|
|
4
4
|
import { useForm } from '@graphcommerce/react-hook-form'
|
|
5
|
-
import {
|
|
5
|
+
import { t, Trans } from '@lingui/macro'
|
|
6
6
|
import { Box, Typography } from '@mui/material'
|
|
7
7
|
import { CustomerDocument, useCustomerQuery } from '../../hooks'
|
|
8
8
|
import { signOut } from '../SignOutForm/signOut'
|
|
@@ -2,9 +2,9 @@ import type { ImageProps } from '@graphcommerce/image'
|
|
|
2
2
|
import type { ButtonProps } from '@graphcommerce/next-ui'
|
|
3
3
|
import {
|
|
4
4
|
Button,
|
|
5
|
-
IconSvg,
|
|
6
5
|
extendableComponent,
|
|
7
6
|
iconChevronRight,
|
|
7
|
+
IconSvg,
|
|
8
8
|
responsiveVal,
|
|
9
9
|
} from '@graphcommerce/next-ui'
|
|
10
10
|
import type { SxProps, Theme } from '@mui/material'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Pagination, SectionContainer
|
|
1
|
+
import { extendableComponent, Pagination, SectionContainer } from '@graphcommerce/next-ui'
|
|
2
2
|
import { Trans } from '@lingui/react'
|
|
3
3
|
import type { SxProps, Theme } from '@mui/material'
|
|
4
4
|
import { Box, Link } from '@mui/material'
|
|
@@ -8,12 +8,8 @@ import { useMemo } from 'react'
|
|
|
8
8
|
import type { AddressFieldsOptions } from './useAddressFieldsForm'
|
|
9
9
|
import { useAddressFieldsForm } from './useAddressFieldsForm'
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
TFieldValues extends FieldValues = FieldValues,
|
|
14
|
-
TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>,
|
|
15
|
-
>(props: AddressFieldsOptions<TFieldValues, TName>) {
|
|
16
|
-
const form = useAddressFieldsForm<TFieldValues, TName>(props)
|
|
11
|
+
function useAddressCountryRegion(props: AddressFieldsOptions) {
|
|
12
|
+
const form = useAddressFieldsForm(props)
|
|
17
13
|
const { control, name } = form
|
|
18
14
|
|
|
19
15
|
const countryQuery = useQuery(CountryRegionsDocument)
|
|
@@ -41,11 +37,15 @@ export function useAddressCountryRegion<
|
|
|
41
37
|
return { ...form, country, countryList, regionList, loading: countryQuery.loading }
|
|
42
38
|
}
|
|
43
39
|
|
|
44
|
-
|
|
40
|
+
type AddressCountryRegionComponent = <
|
|
45
41
|
TFieldValues extends FieldValues = FieldValues,
|
|
46
42
|
TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>,
|
|
47
|
-
>(
|
|
48
|
-
|
|
43
|
+
>(
|
|
44
|
+
props: AddressFieldsOptions<TFieldValues, TName>,
|
|
45
|
+
) => React.ReactNode
|
|
46
|
+
|
|
47
|
+
export function AddressCountryRegionBase(props: AddressFieldsOptions) {
|
|
48
|
+
const form = useAddressCountryRegion(props)
|
|
49
49
|
const { control, name, readOnly, required, countryList, regionList, loading } = form
|
|
50
50
|
|
|
51
51
|
if (loading) {
|
|
@@ -95,3 +95,5 @@ export function AddressCountryRegion<
|
|
|
95
95
|
</FormRow>
|
|
96
96
|
)
|
|
97
97
|
}
|
|
98
|
+
|
|
99
|
+
export const AddressCountryRegion = AddressCountryRegionBase as AddressCountryRegionComponent
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { FieldPath, FieldValues } from '@graphcommerce/ecommerce-ui'
|
|
2
|
-
import {
|
|
2
|
+
import { houseNumberPattern, TextFieldElement } from '@graphcommerce/ecommerce-ui'
|
|
3
3
|
import { i18n } from '@lingui/core'
|
|
4
4
|
import { Trans } from '@lingui/react'
|
|
5
5
|
import type { AddressFieldsOptions } from './useAddressFieldsForm'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ApolloErrorFullPageProps } from '@graphcommerce/ecommerce-ui'
|
|
2
2
|
import { ApolloErrorFullPage } from '@graphcommerce/ecommerce-ui'
|
|
3
|
-
import {
|
|
3
|
+
import { iconPerson, IconSvg } from '@graphcommerce/next-ui'
|
|
4
4
|
import { Trans } from '@lingui/react'
|
|
5
5
|
import { Button } from '@mui/material'
|
|
6
6
|
import type { SetOptional } from 'type-fest'
|
|
@@ -2,12 +2,12 @@ import { ApolloErrorSnackbar, CheckboxElement, SelectElement } from '@graphcomme
|
|
|
2
2
|
import { useQuery } from '@graphcommerce/graphql'
|
|
3
3
|
import { StoreConfigDocument } from '@graphcommerce/magento-store'
|
|
4
4
|
import {
|
|
5
|
-
Button,
|
|
6
|
-
FormRow,
|
|
7
|
-
IconSvg,
|
|
8
5
|
breakpointVal,
|
|
6
|
+
Button,
|
|
9
7
|
filterNonNullableKeys,
|
|
8
|
+
FormRow,
|
|
10
9
|
iconChevronDown,
|
|
10
|
+
IconSvg,
|
|
11
11
|
} from '@graphcommerce/next-ui'
|
|
12
12
|
import { useFormGqlMutation } from '@graphcommerce/react-hook-form'
|
|
13
13
|
import { Trans } from '@lingui/macro'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EmailElement, useFormGqlMutation } from '@graphcommerce/ecommerce-ui'
|
|
2
|
-
import { Button, FormRow,
|
|
2
|
+
import { Button, FormRow, iconPerson, LayoutTitle } from '@graphcommerce/next-ui'
|
|
3
3
|
import { Trans } from '@lingui/react'
|
|
4
4
|
import { Alert, Box, Typography } from '@mui/material'
|
|
5
5
|
import { useRouter } from 'next/router'
|
|
@@ -9,6 +9,7 @@ import { FormPersist, useFormGqlMutation } from '@graphcommerce/react-hook-form'
|
|
|
9
9
|
import { Trans } from '@lingui/macro'
|
|
10
10
|
import type { CustomerQuery } from '../../hooks'
|
|
11
11
|
import { CustomerDocument, useCustomerQuery } from '../../hooks'
|
|
12
|
+
import type { ContactUsMutationVariables } from './ContactUsMutation.gql'
|
|
12
13
|
import { ContactUsDocument } from './ContactUsMutation.gql'
|
|
13
14
|
|
|
14
15
|
function findTelephone(data: CustomerQuery): string | undefined {
|
|
@@ -129,7 +130,7 @@ export function ContactForm() {
|
|
|
129
130
|
<Trans>Submit</Trans>
|
|
130
131
|
</Button>
|
|
131
132
|
|
|
132
|
-
<FormPersist form={form} name='ContactUs' />
|
|
133
|
+
<FormPersist<ContactUsMutationVariables> form={form} name='ContactUs' />
|
|
133
134
|
<MessageSnackbar
|
|
134
135
|
open={submittedWithoutErrors}
|
|
135
136
|
variant='pill'
|
|
@@ -9,6 +9,7 @@ import { useRouter } from 'next/router'
|
|
|
9
9
|
import { AddressFields } from '../AddressFields/AddressFields'
|
|
10
10
|
import { CompanyFields } from '../CompanyFields'
|
|
11
11
|
import { NameFields } from '../NameFields/NameFields'
|
|
12
|
+
import type { CreateCustomerAddressMutationVariables } from './CreateCustomerAddress.gql'
|
|
12
13
|
import { CreateCustomerAddressDocument } from './CreateCustomerAddress.gql'
|
|
13
14
|
|
|
14
15
|
export function CreateCustomerAddressForm() {
|
|
@@ -61,9 +62,12 @@ export function CreateCustomerAddressForm() {
|
|
|
61
62
|
return (
|
|
62
63
|
<>
|
|
63
64
|
<Form onSubmit={submitHandler} noValidate>
|
|
64
|
-
<CompanyFields form={form} />
|
|
65
|
+
<CompanyFields<CreateCustomerAddressMutationVariables> form={form} />
|
|
65
66
|
<NameFields form={form} prefix />
|
|
66
|
-
<AddressFields
|
|
67
|
+
<AddressFields<CreateCustomerAddressMutationVariables>
|
|
68
|
+
form={form}
|
|
69
|
+
name={{ regionId: 'region.region_id' }}
|
|
70
|
+
/>
|
|
67
71
|
|
|
68
72
|
<FormRow>
|
|
69
73
|
<TelephoneElement
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IconSvg, MenuFabSecondaryItem
|
|
1
|
+
import { iconPerson, IconSvg, MenuFabSecondaryItem } from '@graphcommerce/next-ui'
|
|
2
2
|
import type { SxProps, Theme } from '@mui/material'
|
|
3
3
|
import { Badge, NoSsr } from '@mui/material'
|
|
4
4
|
import type { MouseEventHandler } from 'react'
|
|
@@ -10,6 +10,7 @@ import type { AccountAddressFragment } from '../AccountAddress/AccountAddress.gq
|
|
|
10
10
|
import { AddressFields } from '../AddressFields/AddressFields'
|
|
11
11
|
import { CompanyFields } from '../CompanyFields'
|
|
12
12
|
import { NameFields } from '../NameFields/NameFields'
|
|
13
|
+
import type { UpdateCustomerAddressMutationVariables } from './UpdateCustomerAddress.gql'
|
|
13
14
|
import { UpdateCustomerAddressDocument } from './UpdateCustomerAddress.gql'
|
|
14
15
|
|
|
15
16
|
export type EditAddressFormProps = {
|
|
@@ -79,9 +80,12 @@ export function EditAddressForm(props: EditAddressFormProps) {
|
|
|
79
80
|
return (
|
|
80
81
|
<>
|
|
81
82
|
<Form onSubmit={submitHandler} noValidate sx={sx}>
|
|
82
|
-
<CompanyFields form={form} />
|
|
83
|
+
<CompanyFields<UpdateCustomerAddressMutationVariables> form={form} />
|
|
83
84
|
<NameFields form={form} prefix />
|
|
84
|
-
<AddressFields
|
|
85
|
+
<AddressFields<UpdateCustomerAddressMutationVariables>
|
|
86
|
+
form={form}
|
|
87
|
+
name={{ regionId: 'region.region_id' }}
|
|
88
|
+
/>
|
|
85
89
|
<FormRow>
|
|
86
90
|
<TelephoneElement
|
|
87
91
|
variant='outlined'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { extendableComponent, iconBox, IconHeader } from '@graphcommerce/next-ui'
|
|
2
2
|
import { Trans } from '@lingui/react'
|
|
3
3
|
import type { SxProps, Theme } from '@mui/material'
|
|
4
4
|
import { Box } from '@mui/material'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Money } from '@graphcommerce/magento-store'
|
|
2
|
-
import { DateTimeFormat,
|
|
2
|
+
import { DateTimeFormat, extendableComponent, NextLink } from '@graphcommerce/next-ui'
|
|
3
3
|
import type { SxProps, Theme } from '@mui/material'
|
|
4
4
|
import { Box, ListItemButton, Skeleton, styled } from '@mui/material'
|
|
5
5
|
import type { UseOrderCardItemImages } from '../../hooks/useOrderCardItemImages'
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
|
-
DateTimeFormat,
|
|
3
|
-
IconSvg,
|
|
4
|
-
SectionContainer,
|
|
5
2
|
breakpointVal,
|
|
3
|
+
DateTimeFormat,
|
|
6
4
|
extendableComponent,
|
|
7
5
|
iconInvoice,
|
|
6
|
+
IconSvg,
|
|
7
|
+
SectionContainer,
|
|
8
8
|
} from '@graphcommerce/next-ui'
|
|
9
9
|
import { Trans } from '@lingui/macro'
|
|
10
10
|
import type { SxProps, Theme } from '@mui/material'
|
|
11
|
-
import { Box,
|
|
11
|
+
import { Box, lighten, Typography } from '@mui/material'
|
|
12
12
|
import { AddressMultiLine } from '../AddressMultiLine/AddressMultiLine'
|
|
13
13
|
import { TrackingLink } from '../TrackingLink/TrackingLink'
|
|
14
14
|
import type { OrderDetailsFragment } from './OrderDetails.gql'
|
|
@@ -2,7 +2,7 @@ import { Image } from '@graphcommerce/image'
|
|
|
2
2
|
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
3
3
|
import { useProductLink } from '@graphcommerce/magento-product/hooks/useProductLink'
|
|
4
4
|
import { Money } from '@graphcommerce/magento-store'
|
|
5
|
-
import {
|
|
5
|
+
import { extendableComponent, NextLink, responsiveVal } from '@graphcommerce/next-ui'
|
|
6
6
|
import { Box } from '@mui/material'
|
|
7
7
|
import type { OrderCardItemImageFragment } from '../../hooks/OrderCardItemImage.gql'
|
|
8
8
|
import type { OrderItemFragment } from './OrderItem.gql'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { extendableComponent, SectionContainer } from '@graphcommerce/next-ui'
|
|
2
2
|
import { Trans } from '@lingui/react'
|
|
3
3
|
import type { SxProps, Theme } from '@mui/material'
|
|
4
4
|
import { Box, Button } from '@mui/material'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
2
2
|
import { AddProductsToCartSnackbarMessage } from '@graphcommerce/magento-product/components/AddProductsToCart/AddProductsToCartSnackbarMessage'
|
|
3
|
-
import { IconSvg, LinkOrButton,
|
|
3
|
+
import { iconChevronRight, IconSvg, LinkOrButton, nonNullable } from '@graphcommerce/next-ui'
|
|
4
4
|
import { useFormGqlMutation } from '@graphcommerce/react-hook-form'
|
|
5
5
|
import { Trans } from '@lingui/macro'
|
|
6
6
|
import { Box } from '@mui/material'
|
|
@@ -4,8 +4,8 @@ import { useFormGqlMutation } from '@graphcommerce/react-hook-form'
|
|
|
4
4
|
import { useRouter } from 'next/router'
|
|
5
5
|
import React from 'react'
|
|
6
6
|
import { ApolloCustomerErrorAlert } from '../ApolloCustomerError/ApolloCustomerErrorAlert'
|
|
7
|
-
import { SignOutFormDocument } from './SignOutForm.gql'
|
|
8
7
|
import { signOut } from './signOut'
|
|
8
|
+
import { SignOutFormDocument } from './SignOutForm.gql'
|
|
9
9
|
|
|
10
10
|
export type SignOutFormProps = {
|
|
11
11
|
button: (props: { formState: FormState<Record<string, unknown>> }) => React.ReactNode
|
|
@@ -21,15 +21,14 @@ type SignUpFormProps = {
|
|
|
21
21
|
clearErrors: UseFormClearErrors<{ email?: string; requestedMode?: 'signin' | 'signup' }>
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
type SignUpFormValues = SignUpMutationVariables & { confirmPassword?: string }
|
|
25
|
+
|
|
24
26
|
export function SignUpForm(props: SignUpFormProps) {
|
|
25
27
|
const { email, setError, clearErrors } = props
|
|
26
28
|
|
|
27
29
|
const storeConfig = useQuery(StoreConfigDocument)
|
|
28
30
|
const signIn = useSignInForm({ email })
|
|
29
|
-
const form = useFormGqlMutation<
|
|
30
|
-
SignUpMutation,
|
|
31
|
-
SignUpMutationVariables & { confirmPassword?: string }
|
|
32
|
-
>(
|
|
31
|
+
const form = useFormGqlMutation<SignUpMutation, SignUpFormValues>(
|
|
33
32
|
SignUpDocument,
|
|
34
33
|
{
|
|
35
34
|
defaultValues: { email },
|
|
@@ -125,7 +124,11 @@ export function SignUpForm(props: SignUpFormProps) {
|
|
|
125
124
|
<Trans id='Create Account' />
|
|
126
125
|
</Button>
|
|
127
126
|
</FormActions>
|
|
128
|
-
<FormPersist
|
|
127
|
+
<FormPersist<SignUpFormValues>
|
|
128
|
+
form={form}
|
|
129
|
+
name='SignUp'
|
|
130
|
+
exclude={['password', 'confirmPassword']}
|
|
131
|
+
/>
|
|
129
132
|
</form>
|
|
130
133
|
)
|
|
131
134
|
}
|
|
@@ -2,7 +2,7 @@ import { ApolloErrorAlert, PasswordRepeatElement } from '@graphcommerce/ecommerc
|
|
|
2
2
|
import { useQuery } from '@graphcommerce/graphql'
|
|
3
3
|
import { graphqlErrorByCategory } from '@graphcommerce/magento-graphql'
|
|
4
4
|
import { StoreConfigDocument } from '@graphcommerce/magento-store'
|
|
5
|
-
import { Button, Form, FormRow
|
|
5
|
+
import { Button, extendableComponent, Form, FormRow } from '@graphcommerce/next-ui'
|
|
6
6
|
import { useFormGqlMutation } from '@graphcommerce/react-hook-form'
|
|
7
7
|
import { Trans } from '@lingui/react'
|
|
8
8
|
import { Alert, Box } from '@mui/material'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { iconLocation, IconSvg } from '@graphcommerce/next-ui'
|
|
2
2
|
import { Trans } from '@lingui/react'
|
|
3
3
|
import type { SxProps, Theme } from '@mui/material'
|
|
4
4
|
import { Box, Link, Typography } from '@mui/material'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { WaitForQueriesProps } from '@graphcommerce/ecommerce-ui'
|
|
2
|
-
import {
|
|
2
|
+
import { mergeErrors, WaitForQueries } from '@graphcommerce/ecommerce-ui'
|
|
3
3
|
import type { FullPageMessageProps } from '@graphcommerce/next-ui'
|
|
4
|
-
import { FullPageMessage,
|
|
4
|
+
import { FullPageMessage, iconPerson, IconSvg } from '@graphcommerce/next-ui'
|
|
5
5
|
import { Trans } from '@lingui/react'
|
|
6
6
|
import { Button, CircularProgress } from '@mui/material'
|
|
7
7
|
import React from 'react'
|
|
@@ -5,9 +5,9 @@ import { useFormGqlQuery } from '@graphcommerce/react-hook-form'
|
|
|
5
5
|
import { useEffect } from 'react'
|
|
6
6
|
import type { IsEmailAvailableQuery, IsEmailAvailableQueryVariables } from './IsEmailAvailable.gql'
|
|
7
7
|
import { IsEmailAvailableDocument } from './IsEmailAvailable.gql'
|
|
8
|
-
import { UseCustomerValidateTokenDocument } from './UseCustomerValidateToken.gql'
|
|
9
8
|
import { useCustomerAccountCanSignUp } from './useCustomerPermissions'
|
|
10
9
|
import { useCustomerSession } from './useCustomerSession'
|
|
10
|
+
import { UseCustomerValidateTokenDocument } from './UseCustomerValidateToken.gql'
|
|
11
11
|
|
|
12
12
|
export type UseFormIsEmailAvailableProps = {
|
|
13
13
|
onSubmitted?: (data: { email: string }) => void
|
package/hooks/useSignInForm.ts
CHANGED
|
@@ -15,8 +15,7 @@ type UseSignInFormProps = {
|
|
|
15
15
|
* To extend the actions that happen after a successful sign in, you can use the `onComplete`
|
|
16
16
|
* option.
|
|
17
17
|
*
|
|
18
|
-
* @
|
|
19
|
-
* @graphcommerce/magento-cart/plugins/useSignInFormMergeCart
|
|
18
|
+
* @graphcommerce/magento-cart/plugins/useSignInFormMergeCart
|
|
20
19
|
*/
|
|
21
20
|
export function useSignInForm({ email, ...options }: UseSignInFormProps) {
|
|
22
21
|
const client = useApolloClient()
|
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": "9.0.
|
|
5
|
+
"version": "9.0.4-canary.1",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -12,19 +12,19 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@graphcommerce/ecommerce-ui": "^9.0.
|
|
16
|
-
"@graphcommerce/eslint-config-pwa": "^9.0.
|
|
17
|
-
"@graphcommerce/framer-next-pages": "^9.0.
|
|
18
|
-
"@graphcommerce/framer-utils": "^9.0.
|
|
19
|
-
"@graphcommerce/graphql": "^9.0.
|
|
20
|
-
"@graphcommerce/graphql-mesh": "^9.0.
|
|
21
|
-
"@graphcommerce/image": "^9.0.
|
|
22
|
-
"@graphcommerce/magento-graphql": "^9.0.
|
|
23
|
-
"@graphcommerce/magento-store": "^9.0.
|
|
24
|
-
"@graphcommerce/next-ui": "^9.0.
|
|
25
|
-
"@graphcommerce/prettier-config-pwa": "^9.0.
|
|
26
|
-
"@graphcommerce/react-hook-form": "^9.0.
|
|
27
|
-
"@graphcommerce/typescript-config-pwa": "^9.0.
|
|
15
|
+
"@graphcommerce/ecommerce-ui": "^9.0.4-canary.1",
|
|
16
|
+
"@graphcommerce/eslint-config-pwa": "^9.0.4-canary.1",
|
|
17
|
+
"@graphcommerce/framer-next-pages": "^9.0.4-canary.1",
|
|
18
|
+
"@graphcommerce/framer-utils": "^9.0.4-canary.1",
|
|
19
|
+
"@graphcommerce/graphql": "^9.0.4-canary.1",
|
|
20
|
+
"@graphcommerce/graphql-mesh": "^9.0.4-canary.1",
|
|
21
|
+
"@graphcommerce/image": "^9.0.4-canary.1",
|
|
22
|
+
"@graphcommerce/magento-graphql": "^9.0.4-canary.1",
|
|
23
|
+
"@graphcommerce/magento-store": "^9.0.4-canary.1",
|
|
24
|
+
"@graphcommerce/next-ui": "^9.0.4-canary.1",
|
|
25
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.4-canary.1",
|
|
26
|
+
"@graphcommerce/react-hook-form": "^9.0.4-canary.1",
|
|
27
|
+
"@graphcommerce/typescript-config-pwa": "^9.0.4-canary.1",
|
|
28
28
|
"@lingui/core": "^4.2.1",
|
|
29
29
|
"@lingui/macro": "^4.2.1",
|
|
30
30
|
"@lingui/react": "^4.2.1",
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
/* eslint-disable import/no-extraneous-dependencies */
|
|
2
|
-
|
|
3
1
|
/* eslint-disable @typescript-eslint/no-non-null-assertion */
|
|
4
|
-
import { waitForGraphQlResponse } from '@graphcommerce/graphql/
|
|
2
|
+
import { waitForGraphQlResponse } from '@graphcommerce/graphql/__playwright__/apolloClient.fixture'
|
|
5
3
|
import type { SignUpMutation } from '@graphcommerce/magento-customer/components'
|
|
6
4
|
import { SignUpDocument } from '@graphcommerce/magento-customer/components'
|
|
7
5
|
import type { SignUpConfirmMutation } from '@graphcommerce/magento-customer/components/SignUpForm/SignUpConfirm.gql'
|