@graphcommerce/magento-cart 3.4.0 → 3.4.1

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,18 @@
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.4.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart@3.4.0...@graphcommerce/magento-cart@3.4.1) (2021-10-28)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * External SVG's can't have alt tags ([1b1414a](https://github.com/ho-nl/m2-pwa/commit/1b1414a782d55d3acf7b0e6bcaa50f2ad5f18f39))
12
+ * sadFace size ([b75dd19](https://github.com/ho-nl/m2-pwa/commit/b75dd19dd49ff95d5f99305637b6687171ebb7d5))
13
+
14
+
15
+
16
+
17
+
6
18
  # [3.4.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart@3.3.2...@graphcommerce/magento-cart@3.4.0) (2021-10-28)
7
19
 
8
20
 
@@ -23,7 +23,7 @@ export default function ApolloCartErrorFullPage(props: ApolloCartErrorFullPagePr
23
23
  return (
24
24
  <ApolloErrorFullPage
25
25
  error={error}
26
- icon={<SvgImageSimple src={iconSadFace} alt='person' size='xxl' />}
26
+ icon={<SvgImageSimple src={iconSadFace} size='xxl' />}
27
27
  button={action}
28
28
  {...passedProps}
29
29
  />
@@ -21,9 +21,7 @@ type CartFabContentProps = CartFabProps & CartTotalQuantityFragment
21
21
 
22
22
  function CartFabContent(props: CartFabContentProps) {
23
23
  const { total_quantity, icon, ...fabProps } = props
24
- const cartIcon = icon ?? (
25
- <SvgImageSimple src={iconShoppingBag} alt='Shopping Bag' loading='eager' size='large' />
26
- )
24
+ const cartIcon = icon ?? <SvgImageSimple src={iconShoppingBag} loading='eager' size='large' />
27
25
  const { boxShadow } = useFixedFabAnimation()
28
26
 
29
27
  return (
@@ -56,7 +56,7 @@ export default function CartStartCheckout(props: CartStartCheckoutProps) {
56
56
  variant='pill'
57
57
  color='secondary'
58
58
  className={classes.checkoutButton}
59
- endIcon={<SvgImageSimple src={iconChevronRight} inverted alt='checkout' />}
59
+ endIcon={<SvgImageSimple src={iconChevronRight} inverted />}
60
60
  disabled={!hasTotals}
61
61
  >
62
62
  <span className={classes.checkoutButtonLabel}>Start Checkout</span>{' '}
@@ -10,7 +10,7 @@ export default function EmptyCart(props: EmptyCartProps) {
10
10
  return (
11
11
  <FullPageMessage
12
12
  title='Your cart is empty'
13
- icon={<SvgImageSimple src={iconSadFace} alt='Empty Cart' layout='fill' />}
13
+ icon={<SvgImageSimple src={iconSadFace} size='xxl' />}
14
14
  button={
15
15
  <Link href='/' passHref>
16
16
  <Button variant='contained' color='primary' size='large'>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphcommerce/magento-cart",
3
- "version": "3.4.0",
3
+ "version": "3.4.1",
4
4
  "sideEffects": false,
5
5
  "prettier": "@graphcommerce/prettier-config-pwa",
6
6
  "browserslist": [
@@ -24,10 +24,10 @@
24
24
  "@graphcommerce/framer-scroller": "^0.4.1",
25
25
  "@graphcommerce/graphql": "^2.105.1",
26
26
  "@graphcommerce/image": "^2.105.1",
27
- "@graphcommerce/magento-customer": "^3.3.0",
27
+ "@graphcommerce/magento-customer": "^3.3.1",
28
28
  "@graphcommerce/magento-graphql": "^2.104.1",
29
- "@graphcommerce/magento-store": "^3.1.3",
30
- "@graphcommerce/next-ui": "^3.11.0",
29
+ "@graphcommerce/magento-store": "^3.1.4",
30
+ "@graphcommerce/next-ui": "^3.11.1",
31
31
  "@graphcommerce/react-hook-form": "^2.102.13",
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": "f923ddb5d98378c8737314e7296bba77b1c2dc9b"
41
+ "gitHead": "e01d10a0e89c68c316c3e4bb6a306e9a6959a7f6"
42
42
  }