@graphcommerce/magento-cart-email 3.0.38 → 3.0.41

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,40 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.0.41
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`a88f166f0`](https://github.com/graphcommerce-org/graphcommerce/commit/a88f166f0115c58254fe47171da51a5850658a32), [`d92780d5c`](https://github.com/graphcommerce-org/graphcommerce/commit/d92780d5c3bb80b5a1519c087338548303e4cc2f)]:
8
+ - @graphcommerce/next-ui@4.15.1
9
+ - @graphcommerce/magento-cart@4.6.3
10
+ - @graphcommerce/magento-customer@4.8.3
11
+ - @graphcommerce/magento-product@4.4.19
12
+ - @graphcommerce/magento-store@4.2.21
13
+
14
+ ## 3.0.40
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies [[`e167992df`](https://github.com/graphcommerce-org/graphcommerce/commit/e167992dfdc6964a392af719667f8a188626ab1b), [`9c2504b4e`](https://github.com/graphcommerce-org/graphcommerce/commit/9c2504b4ed75f41d3003c4d3339814010e85e37e)]:
19
+ - @graphcommerce/next-ui@4.15.0
20
+ - @graphcommerce/magento-cart@4.6.2
21
+ - @graphcommerce/magento-customer@4.8.2
22
+ - @graphcommerce/magento-product@4.4.18
23
+ - @graphcommerce/magento-store@4.2.20
24
+
25
+ ## 3.0.39
26
+
27
+ ### Patch Changes
28
+
29
+ - [#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
30
+
31
+ - 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)]:
32
+ - @graphcommerce/graphql@3.4.3
33
+ - @graphcommerce/magento-customer@4.8.1
34
+ - @graphcommerce/magento-cart@4.6.1
35
+ - @graphcommerce/magento-product@4.4.17
36
+ - @graphcommerce/magento-store@4.2.19
37
+
3
38
  ## 3.0.38
4
39
 
5
40
  ### Patch Changes
@@ -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
- <NoSsr>
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
- </NoSsr>
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.38",
5
+ "version": "3.0.41",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -18,13 +18,13 @@
18
18
  "@playwright/test": "^1.21.1"
19
19
  },
20
20
  "dependencies": {
21
- "@graphcommerce/graphql": "3.4.2",
21
+ "@graphcommerce/graphql": "3.4.3",
22
22
  "@graphcommerce/image": "3.1.7",
23
- "@graphcommerce/magento-cart": "4.6.0",
24
- "@graphcommerce/magento-customer": "4.8.0",
25
- "@graphcommerce/magento-product": "4.4.16",
26
- "@graphcommerce/magento-store": "4.2.18",
27
- "@graphcommerce/next-ui": "4.14.0",
23
+ "@graphcommerce/magento-cart": "4.6.3",
24
+ "@graphcommerce/magento-customer": "4.8.3",
25
+ "@graphcommerce/magento-product": "4.4.19",
26
+ "@graphcommerce/magento-store": "4.2.21",
27
+ "@graphcommerce/next-ui": "4.15.1",
28
28
  "@graphcommerce/react-hook-form": "3.3.1"
29
29
  },
30
30
  "peerDependencies": {