@graphcommerce/magento-customer 4.0.1 β†’ 4.1.2

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,95 @@
1
1
  # Change Log
2
2
 
3
+ ## 4.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96)
8
+ Thanks [@paales](https://github.com/paales)! - made packages public
9
+
10
+ - Updated dependencies
11
+ [[`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96),
12
+ [`81ea406d5`](https://github.com/ho-nl/m2-pwa/commit/81ea406d54d6b5c662c030a7fea444abc4117a20),
13
+ [`3a719c88c`](https://github.com/ho-nl/m2-pwa/commit/3a719c88cad1eab58602de28c41adc0fc4827e1d),
14
+ [`5ffcb56bf`](https://github.com/ho-nl/m2-pwa/commit/5ffcb56bfcbe49ebeaf24f9341e819a145ab9a14)]:
15
+ - @graphcommerce/ecommerce-ui@1.0.1
16
+ - @graphcommerce/graphql@3.0.3
17
+ - @graphcommerce/image@3.1.0
18
+ - @graphcommerce/magento-graphql@3.0.3
19
+ - @graphcommerce/magento-store@4.0.3
20
+ - @graphcommerce/next-ui@4.1.2
21
+ - @graphcommerce/react-hook-form@3.0.3
22
+
23
+ ## 4.1.1
24
+
25
+ ### Patch Changes
26
+
27
+ - [#1274](https://github.com/ho-nl/m2-pwa/pull/1274)
28
+ [`381e4c86a`](https://github.com/ho-nl/m2-pwa/commit/381e4c86a8321ce96e1fa5c7d3c0a0c0ff3e02c7)
29
+ Thanks [@paales](https://github.com/paales)! - Moved `ApolloErrorAlert`, `ApolloErrorFullPage` and
30
+ `ApolloErrorSnackbar` to the ecommerce-ui package.
31
+
32
+ Created `ComposedSubmitButton` and `ComposedSubmitLinkOrButton` to reduce complexity from
33
+ `magento-graphcms` example.
34
+
35
+ Removed dependency an `@graphcommerce/react-hook-form` from `magento-graphcms` example.
36
+
37
+ Added dependency `@graphcommerce/ecommerce-ui` from `magento-graphcms` example.
38
+
39
+ * [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
40
+ [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2)
41
+ Thanks [@paales](https://github.com/paales)! - We've moved lots of internal packages from
42
+ `dependencies` to `peerDependencies`. The result of this is that there will be significantly less
43
+ duplicate packages in the node_modules folders.
44
+
45
+ - [#1274](https://github.com/ho-nl/m2-pwa/pull/1274)
46
+ [`b08a8eb1d`](https://github.com/ho-nl/m2-pwa/commit/b08a8eb1d024b9d3e7712ef034029151670db275)
47
+ Thanks [@paales](https://github.com/paales)! - Fixed extraction of translations and updated
48
+ various translations for english πŸ‡ΊπŸ‡ΈπŸ‡¬πŸ‡§ and dutch πŸ‡³πŸ‡±
49
+
50
+ * [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
51
+ [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d)
52
+ Thanks [@paales](https://github.com/paales)! - Upgraded to
53
+ [NextJS 12.1](https://nextjs.org/blog/next-12-1)! This is just for compatibility, but we'll be
54
+ implementing
55
+ [On-demand Incremental Static Regeneration](https://nextjs.org/blog/next-12-1#on-demand-incremental-static-regeneration-beta)
56
+ soon.
57
+
58
+ This will greatly reduce the requirement to rebuid stuff and we'll add a management UI on the
59
+ frontend to be able to revalidate pages manually.
60
+
61
+ * Updated dependencies
62
+ [[`381e4c86a`](https://github.com/ho-nl/m2-pwa/commit/381e4c86a8321ce96e1fa5c7d3c0a0c0ff3e02c7),
63
+ [`351347afe`](https://github.com/ho-nl/m2-pwa/commit/351347afeae5bd837408d46c7593bcf5473dc621),
64
+ [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2),
65
+ [`e7c8e2756`](https://github.com/ho-nl/m2-pwa/commit/e7c8e2756d637cbcd2e793d62ef5721d35d9fa7b),
66
+ [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d)]:
67
+ - @graphcommerce/ecommerce-ui@1.0.0
68
+ - @graphcommerce/next-ui@4.1.1
69
+ - @graphcommerce/react-hook-form@3.0.2
70
+ - @graphcommerce/graphql@3.0.2
71
+ - @graphcommerce/image@3.0.2
72
+ - @graphcommerce/magento-graphql@3.0.2
73
+ - @graphcommerce/magento-store@4.0.2
74
+
75
+ ## 4.1.0
76
+
77
+ ### Minor Changes
78
+
79
+ - [#1273](https://github.com/ho-nl/m2-pwa/pull/1273)
80
+ [`8c4e4f7cd`](https://github.com/ho-nl/m2-pwa/commit/8c4e4f7cdd2fa4252788fbc9889d0803bba20eef)
81
+ Thanks [@paales](https://github.com/paales)! - Added darkmode support! β˜€οΈπŸŒ‘, adds a toggle to the
82
+ hamburger menu.
83
+
84
+ ### Patch Changes
85
+
86
+ - Updated dependencies
87
+ [[`e0008d60d`](https://github.com/ho-nl/m2-pwa/commit/e0008d60d712603219129dd411d1985bf1ebbed1),
88
+ [`5d9f8320f`](https://github.com/ho-nl/m2-pwa/commit/5d9f8320ff9621d7357fbe01319ab0cafdf9095d),
89
+ [`8c4e4f7cd`](https://github.com/ho-nl/m2-pwa/commit/8c4e4f7cdd2fa4252788fbc9889d0803bba20eef),
90
+ [`5082b8c81`](https://github.com/ho-nl/m2-pwa/commit/5082b8c8191cc3e0b4627678bf837af093513d57)]:
91
+ - @graphcommerce/next-ui@4.1.0
92
+
3
93
  ## 4.0.1
4
94
 
5
95
  ### Patch Changes
@@ -1,8 +1,7 @@
1
- import { ApolloErrorAlert, ApolloErrorAlertProps } from '@graphcommerce/next-ui'
1
+ import { ApolloErrorAlert, ApolloErrorAlertProps } from '@graphcommerce/ecommerce-ui'
2
2
  import { Trans } from '@lingui/macro'
3
3
  import { Link } from '@mui/material'
4
4
  import NextLink from 'next/link'
5
- import React from 'react'
6
5
  import { useExtractCustomerErrors } from '../../hooks/useExtractCustomerErrors'
7
6
 
8
7
  type MagentoErrorAlertProps = ApolloErrorAlertProps
@@ -13,7 +12,7 @@ export default function ApolloCustomerErrorAlert(props: MagentoErrorAlertProps)
13
12
  const action = unauthorized && (
14
13
  <NextLink href='/account/signin' passHref>
15
14
  <Link underline='hover'>
16
- <Trans>Create Account</Trans> / <Trans>Sign In</Trans>
15
+ <Trans>Create Account</Trans> / <Trans>Sign in</Trans>
17
16
  </Link>
18
17
  </NextLink>
19
18
  )
@@ -1,9 +1,5 @@
1
- import {
2
- ApolloErrorFullPage,
3
- ApolloErrorAlertProps,
4
- iconPerson,
5
- SvgIcon,
6
- } from '@graphcommerce/next-ui'
1
+ import { ApolloErrorFullPage, ApolloErrorAlertProps } from '@graphcommerce/ecommerce-ui'
2
+ import { iconPerson, SvgIcon } from '@graphcommerce/next-ui'
7
3
  import { Trans } from '@lingui/macro'
8
4
  import { Button } from '@mui/material'
9
5
  import PageLink from 'next/link'
@@ -26,7 +22,7 @@ export default function ApolloCustomerErrorFullPage(props: ApolloCustomerErrorFu
26
22
  unauthorized ? (
27
23
  <PageLink href={signInHref} passHref>
28
24
  <Button variant='contained' color='primary' size='large'>
29
- <Trans>Login</Trans>
25
+ <Trans>Log in</Trans>
30
26
  </Button>
31
27
  </PageLink>
32
28
  ) : undefined
@@ -31,7 +31,7 @@ function CustomerMenuFabItemContent(props: CustomerMenuFabItemProps) {
31
31
  variant='dot'
32
32
  overlap='circular'
33
33
  >
34
- {icon ?? <SvgIcon src={iconPerson} />}
34
+ {icon ?? <SvgIcon src={iconPerson} size='medium' />}
35
35
  </DesktopHeaderBadge>
36
36
  }
37
37
  href={requireAuth ? guestHref : authHref}
@@ -1,8 +1,7 @@
1
- import { ApolloErrorSnackbar } from '@graphcommerce/next-ui'
1
+ import { ApolloErrorSnackbar } from '@graphcommerce/ecommerce-ui'
2
2
  import { useFormGqlMutation } from '@graphcommerce/react-hook-form'
3
3
  import { Trans } from '@lingui/macro'
4
4
  import { Button } from '@mui/material'
5
- import React from 'react'
6
5
  import { DeleteCustomerAddressFormDocument } from './DeleteCustomerAddressForm.gql'
7
6
 
8
7
  export type DeleteCustomerAddressFormProps = {
@@ -63,7 +63,7 @@ export default function SignInForm(props: SignInFormProps) {
63
63
  variant='contained'
64
64
  size='large'
65
65
  >
66
- <Trans>Log In</Trans>
66
+ <Trans>Log in</Trans>
67
67
  </Button>
68
68
  </FormControl>
69
69
  </FormActions>
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.0.1",
5
+ "version": "4.1.2",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,18 +12,21 @@
12
12
  }
13
13
  },
14
14
  "devDependencies": {
15
- "@graphcommerce/eslint-config-pwa": "^4.0.1",
16
- "@graphcommerce/prettier-config-pwa": "^4.0.1",
17
- "@graphcommerce/typescript-config-pwa": "^4.0.1",
18
- "@playwright/test": "^1.18.1"
15
+ "@graphcommerce/eslint-config-pwa": "^4.0.3",
16
+ "@graphcommerce/prettier-config-pwa": "^4.0.2",
17
+ "@graphcommerce/typescript-config-pwa": "^4.0.2",
18
+ "@playwright/test": "^1.19.1"
19
19
  },
20
20
  "dependencies": {
21
- "@graphcommerce/graphql": "^3.0.1",
22
- "@graphcommerce/image": "^3.0.1",
23
- "@graphcommerce/magento-graphql": "^3.0.1",
24
- "@graphcommerce/magento-store": "^4.0.1",
25
- "@graphcommerce/next-ui": "^4.0.1",
26
- "@graphcommerce/react-hook-form": "^3.0.1",
21
+ "@graphcommerce/ecommerce-ui": "^1.0.1",
22
+ "@graphcommerce/graphql": "^3.0.3",
23
+ "@graphcommerce/image": "^3.1.0",
24
+ "@graphcommerce/magento-graphql": "^3.0.3",
25
+ "@graphcommerce/magento-store": "^4.0.3",
26
+ "@graphcommerce/next-ui": "^4.1.2",
27
+ "@graphcommerce/react-hook-form": "^3.0.3"
28
+ },
29
+ "peerDependencies": {
27
30
  "@lingui/macro": "^3.13.2",
28
31
  "@mui/material": "^5.4.1",
29
32
  "framer-motion": "^6.2.4",