@graphcommerce/magento-cart-email 3.0.38 → 3.0.39
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 +13 -0
- package/EmailForm/EmailForm.tsx +3 -2
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 3.0.39
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1557](https://github.com/graphcommerce-org/graphcommerce/pull/1557) [`84428ccab`](https://github.com/graphcommerce-org/graphcommerce/commit/84428ccab8d1d263893766197076651eae68759c) Thanks [@paales](https://github.com/paales)! - Use WaitForQuery component to handle the loading state
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`01f1588c9`](https://github.com/graphcommerce-org/graphcommerce/commit/01f1588c9200bb39dd61146e260bfa2b32060612), [`84428ccab`](https://github.com/graphcommerce-org/graphcommerce/commit/84428ccab8d1d263893766197076651eae68759c), [`2ce406727`](https://github.com/graphcommerce-org/graphcommerce/commit/2ce406727c01a3367cea26c331d8455748592ce9)]:
|
|
10
|
+
- @graphcommerce/graphql@3.4.3
|
|
11
|
+
- @graphcommerce/magento-customer@4.8.1
|
|
12
|
+
- @graphcommerce/magento-cart@4.6.1
|
|
13
|
+
- @graphcommerce/magento-product@4.4.17
|
|
14
|
+
- @graphcommerce/magento-store@4.2.19
|
|
15
|
+
|
|
3
16
|
## 3.0.38
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/EmailForm/EmailForm.tsx
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { WaitForQueries } from '@graphcommerce/ecommerce-ui'
|
|
1
2
|
import { useQuery } from '@graphcommerce/graphql'
|
|
2
3
|
import {
|
|
3
4
|
ApolloCartErrorAlert,
|
|
@@ -69,7 +70,7 @@ export const EmailForm = React.memo<EmailFormProps>((props) => {
|
|
|
69
70
|
InputProps={{
|
|
70
71
|
autoComplete: 'email',
|
|
71
72
|
endAdornment: (
|
|
72
|
-
<
|
|
73
|
+
<WaitForQueries waitFor={isEmailAvailable}>
|
|
73
74
|
{isEmailAvailable.data?.isEmailAvailable && (
|
|
74
75
|
<PageLink href='/account/signin' passHref>
|
|
75
76
|
<Button color='secondary' style={{ whiteSpace: 'nowrap' }}>
|
|
@@ -77,7 +78,7 @@ export const EmailForm = React.memo<EmailFormProps>((props) => {
|
|
|
77
78
|
</Button>
|
|
78
79
|
</PageLink>
|
|
79
80
|
)}
|
|
80
|
-
</
|
|
81
|
+
</WaitForQueries>
|
|
81
82
|
),
|
|
82
83
|
}}
|
|
83
84
|
/>
|
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.
|
|
5
|
+
"version": "3.0.39",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
"@playwright/test": "^1.21.1"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@graphcommerce/graphql": "3.4.
|
|
21
|
+
"@graphcommerce/graphql": "3.4.3",
|
|
22
22
|
"@graphcommerce/image": "3.1.7",
|
|
23
|
-
"@graphcommerce/magento-cart": "4.6.
|
|
24
|
-
"@graphcommerce/magento-customer": "4.8.
|
|
25
|
-
"@graphcommerce/magento-product": "4.4.
|
|
26
|
-
"@graphcommerce/magento-store": "4.2.
|
|
23
|
+
"@graphcommerce/magento-cart": "4.6.1",
|
|
24
|
+
"@graphcommerce/magento-customer": "4.8.1",
|
|
25
|
+
"@graphcommerce/magento-product": "4.4.17",
|
|
26
|
+
"@graphcommerce/magento-store": "4.2.19",
|
|
27
27
|
"@graphcommerce/next-ui": "4.14.0",
|
|
28
28
|
"@graphcommerce/react-hook-form": "3.3.1"
|
|
29
29
|
},
|