@graphcommerce/magento-cart 3.5.15 → 3.6.3

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
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.6.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart@3.5.15...@graphcommerce/magento-cart@3.6.0) (2021-11-09)
7
+
8
+
9
+ ### Features
10
+
11
+ * added dutch translations ([59a4fd9](https://github.com/ho-nl/m2-pwa/commit/59a4fd9d170d9454c443b4723fdf5da0196cec7d))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [3.5.9](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart@3.5.8...@graphcommerce/magento-cart@3.5.9) (2021-11-04)
7
18
 
8
19
 
@@ -1,4 +1,5 @@
1
- import { iconSadFace, FullPageMessage, SvgImageSimple } from '@graphcommerce/next-ui'
1
+ import { FullPageMessage, SvgImageSimple, iconSadFace } from '@graphcommerce/next-ui'
2
+ import { t, Trans } from '@lingui/macro'
2
3
  import { Button } from '@material-ui/core'
3
4
  import Link from 'next/link'
4
5
  import React from 'react'
@@ -9,17 +10,17 @@ export default function EmptyCart(props: EmptyCartProps) {
9
10
 
10
11
  return (
11
12
  <FullPageMessage
12
- title='Your cart is empty'
13
+ title={t`Your cart is empty`}
13
14
  icon={<SvgImageSimple src={iconSadFace} size='xxl' />}
14
15
  button={
15
16
  <Link href='/' passHref>
16
17
  <Button variant='contained' color='primary' size='large'>
17
- Continue shopping
18
+ <Trans>Continue shopping</Trans>
18
19
  </Button>
19
20
  </Link>
20
21
  }
21
22
  >
22
- {children ?? <>Discover our collection and add items to your basket!</>}
23
+ {children ?? <Trans>Discover our collection and add items to your basket!</Trans>}
23
24
  </FullPageMessage>
24
25
  )
25
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphcommerce/magento-cart",
3
- "version": "3.5.15",
3
+ "version": "3.6.3",
4
4
  "sideEffects": false,
5
5
  "prettier": "@graphcommerce/prettier-config-pwa",
6
6
  "browserslist": [
@@ -24,10 +24,10 @@
24
24
  "@graphcommerce/framer-scroller": "^1.0.3",
25
25
  "@graphcommerce/graphql": "^2.105.4",
26
26
  "@graphcommerce/image": "^2.105.3",
27
- "@graphcommerce/magento-customer": "^3.4.15",
27
+ "@graphcommerce/magento-customer": "^3.5.3",
28
28
  "@graphcommerce/magento-graphql": "^2.104.4",
29
- "@graphcommerce/magento-store": "^3.2.14",
30
- "@graphcommerce/next-ui": "^3.14.6",
29
+ "@graphcommerce/magento-store": "^3.2.18",
30
+ "@graphcommerce/next-ui": "^3.15.1",
31
31
  "@graphcommerce/react-hook-form": "^2.103.1",
32
32
  "@graphql-typed-document-node/core": "^3.1.0",
33
33
  "@material-ui/core": "^4.12.3",
@@ -38,5 +38,5 @@
38
38
  "react": "^17.0.2",
39
39
  "react-dom": "^17.0.2"
40
40
  },
41
- "gitHead": "16fea60d75deb4aa038a072a86b43771fb6595f8"
41
+ "gitHead": "9fb7a52af72eb5c9677f24e11d7b62871151c46e"
42
42
  }