@graphcommerce/magento-cart-email 3.0.19 → 3.0.22

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,37 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.0.22
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`a9df81310`](https://github.com/graphcommerce-org/graphcommerce/commit/a9df81310c051876dd82fb2819105dece47cc213), [`b359fe252`](https://github.com/graphcommerce-org/graphcommerce/commit/b359fe252a50bb8195601ba97c3eef6a7be146ba), [`f167f9963`](https://github.com/graphcommerce-org/graphcommerce/commit/f167f99630966a7de43717937d43669e66132494)]:
8
+ - @graphcommerce/next-ui@4.8.1
9
+ - @graphcommerce/magento-product@4.4.0
10
+ - @graphcommerce/magento-cart@4.3.1
11
+ - @graphcommerce/magento-customer@4.3.2
12
+ - @graphcommerce/magento-store@4.2.5
13
+ - @graphcommerce/image@3.1.6
14
+
15
+ ## 3.0.21
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies [[`a12db31b9`](https://github.com/graphcommerce-org/graphcommerce/commit/a12db31b9db9d27d86f59c1bfe58a0879999b9d3), [`cf575395c`](https://github.com/graphcommerce-org/graphcommerce/commit/cf575395c16e9c571f75d4563004c3018a29aeaa)]:
20
+ - @graphcommerce/magento-customer@4.3.1
21
+ - @graphcommerce/magento-cart@4.3.0
22
+ - @graphcommerce/magento-product@4.3.6
23
+
24
+ ## 3.0.20
25
+
26
+ ### Patch Changes
27
+
28
+ - Updated dependencies [[`0363b9671`](https://github.com/graphcommerce-org/graphcommerce/commit/0363b9671db7c2932321d97faf6f1eb385238397), [`c6a62a338`](https://github.com/graphcommerce-org/graphcommerce/commit/c6a62a338abf8af83d3a6eb7ed796586009910ca), [`3ac90b57c`](https://github.com/graphcommerce-org/graphcommerce/commit/3ac90b57c68b96f9d81771d6664ed9435a28fc1d), [`00f6167ff`](https://github.com/graphcommerce-org/graphcommerce/commit/00f6167ff4096bf7432f3d8e8e739ecbf6ab0dd2), [`7159d3ab3`](https://github.com/graphcommerce-org/graphcommerce/commit/7159d3ab31e937c9c921023c46e80db5813e789c), [`32370574b`](https://github.com/graphcommerce-org/graphcommerce/commit/32370574bef6345b857ae911049ca27a64bc7e08), [`ed2b67a06`](https://github.com/graphcommerce-org/graphcommerce/commit/ed2b67a0618d9db97e79ed2a8226e0ae12403943), [`4c146c682`](https://github.com/graphcommerce-org/graphcommerce/commit/4c146c68242e6edc616807fb73173cc959c26034)]:
29
+ - @graphcommerce/next-ui@4.8.0
30
+ - @graphcommerce/magento-product@4.3.5
31
+ - @graphcommerce/magento-customer@4.3.0
32
+ - @graphcommerce/magento-cart@4.2.15
33
+ - @graphcommerce/magento-store@4.2.4
34
+
3
35
  ## 3.0.19
4
36
 
5
37
  ### Patch Changes
@@ -12,15 +12,7 @@ import {
12
12
  import { AnimatedRow, extendableComponent, FormDiv, FormRow } from '@graphcommerce/next-ui'
13
13
  import { emailPattern, useFormCompose, UseFormComposeOptions } from '@graphcommerce/react-hook-form'
14
14
  import { Trans } from '@lingui/react'
15
- import {
16
- CircularProgress,
17
- TextField,
18
- Typography,
19
- Alert,
20
- Button,
21
- SxProps,
22
- Theme,
23
- } from '@mui/material'
15
+ import { CircularProgress, TextField, Typography, Alert, Button } from '@mui/material'
24
16
  import { AnimatePresence } from 'framer-motion'
25
17
  import React, { useEffect, useState } from 'react'
26
18
  import { CartEmailDocument } from './CartEmail.gql'
@@ -28,7 +20,6 @@ import { SetGuestEmailOnCartDocument } from './SetGuestEmailOnCart.gql'
28
20
 
29
21
  export type EmailFormProps = Pick<UseFormComposeOptions, 'step'> & {
30
22
  children?: React.ReactNode
31
- sx?: SxProps<Theme>
32
23
  }
33
24
 
34
25
  const name = 'EmailForm' as const
@@ -36,7 +27,7 @@ const parts = ['root', 'formRow'] as const
36
27
  const { classes } = extendableComponent(name, parts)
37
28
 
38
29
  export function EmailForm(props: EmailFormProps) {
39
- const { step, children, sx } = props
30
+ const { step, children } = props
40
31
  const [expand, setExpand] = useState(false)
41
32
 
42
33
  useMergeCustomerCart()
@@ -81,13 +72,13 @@ export function EmailForm(props: EmailFormProps) {
81
72
  if (formState.isSubmitting) endAdornment = <CircularProgress />
82
73
 
83
74
  return (
84
- <FormDiv contained background='default' className={classes.root} sx={sx}>
75
+ <FormDiv>
85
76
  <AnimatePresence initial={false}>
86
77
  <AnimatedRow key='emailform'>
87
78
  <form noValidate onSubmit={submit}>
88
79
  <FormRow>
89
80
  <Typography variant='h5' component='h2' gutterBottom>
90
- <Trans id='Log in or create an account' />
81
+ <Trans id='Personal details' />
91
82
  </Typography>
92
83
  </FormRow>
93
84
  <FormRow className={classes.formRow} sx={{ py: 0 }}>
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-cart-email",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "3.0.19",
5
+ "version": "3.0.22",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -19,12 +19,12 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "@graphcommerce/graphql": "3.1.3",
22
- "@graphcommerce/image": "3.1.5",
23
- "@graphcommerce/magento-cart": "4.2.14",
24
- "@graphcommerce/magento-customer": "4.2.12",
25
- "@graphcommerce/magento-product": "4.3.4",
26
- "@graphcommerce/magento-store": "4.2.3",
27
- "@graphcommerce/next-ui": "4.7.2",
22
+ "@graphcommerce/image": "3.1.6",
23
+ "@graphcommerce/magento-cart": "4.3.1",
24
+ "@graphcommerce/magento-customer": "4.3.2",
25
+ "@graphcommerce/magento-product": "4.4.0",
26
+ "@graphcommerce/magento-store": "4.2.5",
27
+ "@graphcommerce/next-ui": "4.8.1",
28
28
  "@graphcommerce/react-hook-form": "3.1.3"
29
29
  },
30
30
  "peerDependencies": {