@graphcommerce/magento-product 4.0.3 → 4.0.4

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,21 @@
1
1
  # Change Log
2
2
 
3
+ ## 4.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1285](https://github.com/ho-nl/m2-pwa/pull/1285)
8
+ [`c85294ba6`](https://github.com/ho-nl/m2-pwa/commit/c85294ba6d742ce78c074559a1e95409b25a5017)
9
+ Thanks [@paales](https://github.com/paales)! - upgraded dependencies
10
+
11
+ - Updated dependencies
12
+ [[`ed9703b06`](https://github.com/ho-nl/m2-pwa/commit/ed9703b062d23ee01b1605ff9917c0ac3247fc25),
13
+ [`c85294ba6`](https://github.com/ho-nl/m2-pwa/commit/c85294ba6d742ce78c074559a1e95409b25a5017),
14
+ [`16d77b280`](https://github.com/ho-nl/m2-pwa/commit/16d77b2806e49e376d06bc0d578d38eb724b0c17)]:
15
+ - @graphcommerce/magento-store@4.1.0
16
+ - @graphcommerce/next-ui@4.1.3
17
+ - @graphcommerce/framer-scroller@2.0.4
18
+
3
19
  ## 4.0.3
4
20
 
5
21
  ### Patch Changes
@@ -80,7 +80,7 @@ export default function ProductAddToCart(
80
80
  })}
81
81
  {...buttonProps}
82
82
  >
83
- Add to Cart
83
+ <Trans>Add to Cart</Trans>
84
84
  </Button>
85
85
 
86
86
  <ApolloCartErrorAlert error={error} />
@@ -89,14 +89,14 @@ export default function ProductAddToCart(
89
89
  open={!formState.isSubmitting && formState.isSubmitSuccessful && !error?.message}
90
90
  variant='pill'
91
91
  action={
92
- <PageLink href='/cart'>
92
+ <PageLink href='/cart' passHref>
93
93
  <Button
94
94
  size='medium'
95
95
  variant='pill'
96
96
  color='secondary'
97
97
  endIcon={<SvgIcon src={iconChevronRight} />}
98
98
  >
99
- View shopping cart
99
+ <Trans>View shopping cart</Trans>
100
100
  </Button>
101
101
  </PageLink>
102
102
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-product",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "4.0.3",
5
+ "version": "4.0.4",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,19 +12,19 @@
12
12
  }
13
13
  },
14
14
  "devDependencies": {
15
- "@graphcommerce/eslint-config-pwa": "^4.0.3",
15
+ "@graphcommerce/eslint-config-pwa": "^4.0.4",
16
16
  "@graphcommerce/prettier-config-pwa": "^4.0.2",
17
17
  "@graphcommerce/typescript-config-pwa": "^4.0.2",
18
18
  "@playwright/test": "^1.19.1"
19
19
  },
20
20
  "dependencies": {
21
- "@graphcommerce/framer-scroller": "^2.0.3",
21
+ "@graphcommerce/framer-scroller": "^2.0.4",
22
22
  "@graphcommerce/graphql": "^3.0.3",
23
23
  "@graphcommerce/image": "^3.1.0",
24
24
  "@graphcommerce/magento-cart": "^4.1.2",
25
- "@graphcommerce/magento-store": "^4.0.3",
26
- "@graphcommerce/next-ui": "^4.1.2",
27
- "schema-dts": "^1.0.0",
25
+ "@graphcommerce/magento-store": "^4.1.0",
26
+ "@graphcommerce/next-ui": "^4.1.3",
27
+ "schema-dts": "^1.1.0",
28
28
  "type-fest": "^2.12.0"
29
29
  },
30
30
  "peerDependencies": {