@graphcommerce/magento-cart 3.6.2 → 3.6.6

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,28 @@
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.5](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart@3.6.4...@graphcommerce/magento-cart@3.6.5) (2021-11-12)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * behaviour for CartFab animation including darkTheme support ([6152ef3](https://github.com/ho-nl/m2-pwa/commit/6152ef32d093e42c58ee79d4d713c5b8c2870746))
12
+
13
+
14
+
15
+
16
+
17
+ ## [3.6.4](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart@3.6.3...@graphcommerce/magento-cart@3.6.4) (2021-11-12)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **cart-fab:** background color on focus ([f1ed4b4](https://github.com/ho-nl/m2-pwa/commit/f1ed4b4a5306d767ccd0be43bcfad1d481072029))
23
+
24
+
25
+
26
+
27
+
6
28
  # [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
29
 
8
30
 
@@ -20,7 +20,7 @@ const useStyles = makeStyles(
20
20
  (theme: Theme) => ({
21
21
  fab: {
22
22
  boxShadow: 'none',
23
- background: theme.palette.background.default,
23
+ background: 'none',
24
24
  [theme.breakpoints.down('sm')]: {
25
25
  width: responsiveVal(42, 56),
26
26
  height: responsiveVal(42, 56),
@@ -42,11 +42,18 @@ type CartFabContentProps = CartFabProps & CartTotalQuantityFragment
42
42
  function CartFabContent(props: CartFabContentProps) {
43
43
  const { total_quantity, icon, ...fabProps } = props
44
44
  const cartIcon = icon ?? <SvgImageSimple src={iconShoppingBag} loading='eager' size='large' />
45
- const { boxShadow } = useFixedFabAnimation()
45
+ const { boxShadow, backgroundColor } = useFixedFabAnimation()
46
46
  const classes = useStyles(props)
47
47
 
48
48
  return (
49
- <m.div style={{ boxShadow, width: 'inherit', borderRadius: 'inherit' }}>
49
+ <m.div
50
+ style={{
51
+ boxShadow,
52
+ backgroundColor,
53
+ width: 'inherit',
54
+ borderRadius: 'inherit',
55
+ }}
56
+ >
50
57
  <PageLink href='/cart' passHref>
51
58
  <Fab
52
59
  aria-label='Cart'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphcommerce/magento-cart",
3
- "version": "3.6.2",
3
+ "version": "3.6.6",
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.5.2",
27
+ "@graphcommerce/magento-customer": "^3.5.6",
28
28
  "@graphcommerce/magento-graphql": "^2.104.4",
29
- "@graphcommerce/magento-store": "^3.2.17",
30
- "@graphcommerce/next-ui": "^3.15.0",
29
+ "@graphcommerce/magento-store": "^3.2.20",
30
+ "@graphcommerce/next-ui": "^3.16.0",
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": "0d7e797850cec8d51ef8d88937a104aab6af4c35"
41
+ "gitHead": "1c54da5e12541a73e71f3414ee53d7170e0685f9"
42
42
  }