@graphcommerce/magento-cart-items 3.0.48 → 3.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,49 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`755d2cf83`](https://github.com/graphcommerce-org/graphcommerce/commit/755d2cf83343a5ad3d61063eff595d821de360aa), [`dc7f2dda4`](https://github.com/graphcommerce-org/graphcommerce/commit/dc7f2dda40ff8572fc11161de6eb62ca13e720dd)]:
8
+ - @graphcommerce/next-ui@4.23.0
9
+ - @graphcommerce/magento-cart@4.7.2
10
+ - @graphcommerce/magento-customer@4.10.2
11
+ - @graphcommerce/magento-product@4.5.2
12
+ - @graphcommerce/magento-store@4.2.30
13
+
14
+ ## 3.1.1
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies []:
19
+ - @graphcommerce/magento-customer@4.10.1
20
+ - @graphcommerce/magento-product@4.5.1
21
+ - @graphcommerce/magento-store@4.2.29
22
+ - @graphcommerce/magento-cart@4.7.1
23
+
24
+ ## 3.1.0
25
+
26
+ ### Minor Changes
27
+
28
+ - [#1602](https://github.com/graphcommerce-org/graphcommerce/pull/1602) [`5f781a217`](https://github.com/graphcommerce-org/graphcommerce/commit/5f781a217ce63ed56bc1a9983487b04400a8a315) Thanks [@ErwinOtten](https://github.com/ErwinOtten)! - Default styles and layout fixes
29
+
30
+ - Scaled icons and fonts down. Size in typography is now more gradual: https://graphcommerce.vercel.app/test/typography
31
+ - Multiple accessibility fixes. Missing button/input labels, and fixed spacing issues resulting in high % appropriately sized tap targets
32
+ - Replaced responsiveVal usage with better performaning breakpointVal where possible
33
+ - All buttons are now Pill by default.
34
+ - Cleaned up checkout styles
35
+
36
+ ### Patch Changes
37
+
38
+ - Updated dependencies [[`b40a352f7`](https://github.com/graphcommerce-org/graphcommerce/commit/b40a352f7bccdb831dce1d45baf98d51b0921d58), [`04708dacc`](https://github.com/graphcommerce-org/graphcommerce/commit/04708daccc213c6ea927bc67fa3bd0d5b1fad619), [`bb94e7045`](https://github.com/graphcommerce-org/graphcommerce/commit/bb94e7045460cb671c45d612a0833731d7c20c30), [`b0dc4e2e1`](https://github.com/graphcommerce-org/graphcommerce/commit/b0dc4e2e1982d502d38dd50a0f493396360a7a15), [`4a5286dfe`](https://github.com/graphcommerce-org/graphcommerce/commit/4a5286dfeaa1719e594a0078f274fbab53969c4e), [`0ad5159eb`](https://github.com/graphcommerce-org/graphcommerce/commit/0ad5159ebef54b4ce7fee6f71b4bf710dba9ef8e), [`40983df17`](https://github.com/graphcommerce-org/graphcommerce/commit/40983df170ed0435c47496285dfe30aafeb2eeac), [`d46d5ed0c`](https://github.com/graphcommerce-org/graphcommerce/commit/d46d5ed0cc5794391b7527fc17bbb68ec2212e33), [`e573278e4`](https://github.com/graphcommerce-org/graphcommerce/commit/e573278e43506a6b17a2981e61d0e9fad41eb2eb), [`5f781a217`](https://github.com/graphcommerce-org/graphcommerce/commit/5f781a217ce63ed56bc1a9983487b04400a8a315), [`ec96a0eb0`](https://github.com/graphcommerce-org/graphcommerce/commit/ec96a0eb049ee2204f32f9c578455cf9c131dbd2), [`ac6eedbb1`](https://github.com/graphcommerce-org/graphcommerce/commit/ac6eedbb14d3abd8cf1231a98dc2a8b7f4659f1f)]:
39
+ - @graphcommerce/magento-product@4.5.0
40
+ - @graphcommerce/next-ui@4.22.0
41
+ - @graphcommerce/magento-customer@4.10.0
42
+ - @graphcommerce/magento-cart@4.7.0
43
+ - @graphcommerce/magento-store@4.2.28
44
+ - @graphcommerce/graphql@3.4.7
45
+ - @graphcommerce/image@3.1.9
46
+
3
47
  ## 3.0.48
4
48
 
5
49
  ### Patch Changes
@@ -1,7 +1,6 @@
1
1
  import { useCartQuery } from '@graphcommerce/magento-cart'
2
- import { AnimatedRow, RenderType, TypeRenderer } from '@graphcommerce/next-ui'
3
- import { AnimatePresence } from 'framer-motion'
4
- import React from 'react'
2
+ import { RenderType, TypeRenderer } from '@graphcommerce/next-ui'
3
+ import { Box } from '@mui/material'
5
4
  import { CartItemsFragment } from '../Api/CartItems.gql'
6
5
  import { CartItemsQueryDocument } from './CartItemsQuery.gql'
7
6
 
@@ -14,15 +13,15 @@ export function CartItems(props: CartProps) {
14
13
  const { renderer } = props
15
14
 
16
15
  return (
17
- <AnimatePresence initial={false}>
16
+ <>
18
17
  {data?.cart?.items?.map((item) => {
19
18
  if (!item?.uid || !data.cart?.id) return null
20
19
  return (
21
- <AnimatedRow layout key={item.uid}>
20
+ <Box key={item.uid}>
22
21
  <RenderType renderer={renderer} {...item} />
23
- </AnimatedRow>
22
+ </Box>
24
23
  )
25
24
  })}
26
- </AnimatePresence>
25
+ </>
27
26
  )
28
27
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-cart-items",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "3.0.48",
5
+ "version": "3.1.2",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -18,13 +18,13 @@
18
18
  "@playwright/test": "^1.21.1"
19
19
  },
20
20
  "dependencies": {
21
- "@graphcommerce/graphql": "3.4.6",
22
- "@graphcommerce/image": "3.1.8",
23
- "@graphcommerce/magento-cart": "4.6.9",
24
- "@graphcommerce/magento-customer": "4.9.5",
25
- "@graphcommerce/magento-product": "4.4.25",
26
- "@graphcommerce/magento-store": "4.2.27",
27
- "@graphcommerce/next-ui": "4.21.0",
21
+ "@graphcommerce/graphql": "3.4.7",
22
+ "@graphcommerce/image": "3.1.9",
23
+ "@graphcommerce/magento-cart": "4.7.2",
24
+ "@graphcommerce/magento-customer": "4.10.2",
25
+ "@graphcommerce/magento-product": "4.5.2",
26
+ "@graphcommerce/magento-store": "4.2.30",
27
+ "@graphcommerce/next-ui": "4.23.0",
28
28
  "@graphcommerce/react-hook-form": "3.3.2"
29
29
  },
30
30
  "peerDependencies": {