@graphcommerce/magento-cart-items 2.106.2 → 2.107.0
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
|
+
# [2.107.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-items@2.106.2...@graphcommerce/magento-cart-items@2.107.0) (2021-10-28)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* dynamic icons, update SvgImage uses to SvgImageSimple ([3d3cc0e](https://github.com/ho-nl/m2-pwa/commit/3d3cc0e0336fcde1cce6ba19705f82c1edf9bfc6))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [2.106.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-items@2.105.7...@graphcommerce/magento-cart-items@2.106.0) (2021-10-27)
|
|
7
18
|
|
|
8
19
|
|
package/CartItem/CartItem.tsx
CHANGED
|
@@ -112,7 +112,7 @@ const useStyles = makeStyles(
|
|
|
112
112
|
itemPrice: {
|
|
113
113
|
gridArea: 'itemPrice',
|
|
114
114
|
textAlign: 'left',
|
|
115
|
-
color: theme.palette.
|
|
115
|
+
color: theme.palette.text.disabled,
|
|
116
116
|
alignSelf: 'center',
|
|
117
117
|
[theme.breakpoints.up('sm')]: {
|
|
118
118
|
alignSelf: 'flex-start',
|
|
@@ -11,7 +11,7 @@ const useStyles = makeStyles(
|
|
|
11
11
|
letterSpacing: 1,
|
|
12
12
|
textTransform: 'uppercase',
|
|
13
13
|
fontWeight: 500,
|
|
14
|
-
color: theme.palette.
|
|
14
|
+
color: theme.palette.text.disabled,
|
|
15
15
|
},
|
|
16
16
|
select: {
|
|
17
17
|
padding: `${theme.spacings.xxs} ${theme.spacings.xxs}`,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useFormGqlMutationCart, ApolloCartErrorAlert } from '@graphcommerce/magento-cart'
|
|
2
|
-
import { SvgImage, iconClose } from '@graphcommerce/next-ui'
|
|
2
|
+
import { SvgImage, iconClose, SvgImageSimple } from '@graphcommerce/next-ui'
|
|
3
3
|
import { Fab } from '@material-ui/core'
|
|
4
4
|
import React from 'react'
|
|
5
5
|
import {
|
|
@@ -19,7 +19,7 @@ export default function RemoveItemFromCartFab(props: RemoveItemFromCartProps) {
|
|
|
19
19
|
return (
|
|
20
20
|
<form noValidate onSubmit={submitHandler} {...formProps}>
|
|
21
21
|
<Fab aria-label='Remove Product' size='small' type='submit' disabled={formState.isSubmitting}>
|
|
22
|
-
<
|
|
22
|
+
<SvgImageSimple src={iconClose} alt='close' inverted loading='eager' />
|
|
23
23
|
</Fab>
|
|
24
24
|
<ApolloCartErrorAlert error={error} />
|
|
25
25
|
</form>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphcommerce/magento-cart-items",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.107.0",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
6
6
|
"browserslist": [
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"@apollo/client": "^3.4.16",
|
|
24
24
|
"@graphcommerce/graphql": "^2.105.1",
|
|
25
25
|
"@graphcommerce/image": "^2.105.1",
|
|
26
|
-
"@graphcommerce/magento-cart": "^3.
|
|
27
|
-
"@graphcommerce/magento-customer": "^3.
|
|
28
|
-
"@graphcommerce/magento-product": "^3.
|
|
29
|
-
"@graphcommerce/magento-store": "^3.1.
|
|
30
|
-
"@graphcommerce/next-ui": "^3.
|
|
26
|
+
"@graphcommerce/magento-cart": "^3.4.0",
|
|
27
|
+
"@graphcommerce/magento-customer": "^3.3.0",
|
|
28
|
+
"@graphcommerce/magento-product": "^3.4.0",
|
|
29
|
+
"@graphcommerce/magento-store": "^3.1.3",
|
|
30
|
+
"@graphcommerce/next-ui": "^3.11.0",
|
|
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": "
|
|
41
|
+
"gitHead": "f923ddb5d98378c8737314e7296bba77b1c2dc9b"
|
|
42
42
|
}
|