@graphcommerce/magento-cart-items 2.107.2 → 2.108.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 +17 -0
- package/CartItem/CartItem.tsx +11 -14
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,23 @@
|
|
|
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.108.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-items@2.107.5...@graphcommerce/magento-cart-items@2.108.0) (2021-11-02)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* darkTheme ([d0517af](https://github.com/ho-nl/m2-pwa/commit/d0517af5a788532c48f567ee3e840986efa26a67))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* darkTheme ([968f4f1](https://github.com/ho-nl/m2-pwa/commit/968f4f1360417bf7daa36454c19e6bc5cf53ae90))
|
|
17
|
+
* darkTheme ([3ed6647](https://github.com/ho-nl/m2-pwa/commit/3ed664714670315bc9f20542549724f66cb5052d))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
6
23
|
## [2.107.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-items@2.107.0...@graphcommerce/magento-cart-items@2.107.1) (2021-10-28)
|
|
7
24
|
|
|
8
25
|
|
package/CartItem/CartItem.tsx
CHANGED
|
@@ -57,29 +57,26 @@ const useStyles = makeStyles(
|
|
|
57
57
|
width: rowImageSize,
|
|
58
58
|
height: rowImageSize,
|
|
59
59
|
padding: responsiveVal(5, 10),
|
|
60
|
-
border: `1px solid
|
|
60
|
+
border: `1px solid ${theme.palette.divider}`,
|
|
61
61
|
borderRadius: '50%',
|
|
62
62
|
alignSelf: 'center',
|
|
63
63
|
},
|
|
64
64
|
badge: {
|
|
65
65
|
'& > button': {
|
|
66
|
-
background: theme.palette.
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
'&:hover, &:active, &:visited': {
|
|
70
|
-
background: theme.palette.text.primary,
|
|
71
|
-
opacity: 0.75,
|
|
66
|
+
background: theme.palette.background.paper,
|
|
67
|
+
'& svg': {
|
|
68
|
+
stroke: theme.palette.text.primary,
|
|
72
69
|
},
|
|
73
|
-
'
|
|
74
|
-
|
|
70
|
+
'&:hover, &:active, &:visited': {
|
|
71
|
+
background: theme.palette.background.paper,
|
|
72
|
+
'& svg': {
|
|
73
|
+
stroke: theme.palette.text.primary,
|
|
74
|
+
},
|
|
75
75
|
},
|
|
76
76
|
[theme.breakpoints.down('sm')]: {
|
|
77
77
|
width: 30,
|
|
78
78
|
height: 30,
|
|
79
79
|
minHeight: 'unset',
|
|
80
|
-
'& .MuiSvgIcon-root': {
|
|
81
|
-
fontSize: 20,
|
|
82
|
-
},
|
|
83
80
|
},
|
|
84
81
|
},
|
|
85
82
|
},
|
|
@@ -91,7 +88,7 @@ const useStyles = makeStyles(
|
|
|
91
88
|
},
|
|
92
89
|
image: {
|
|
93
90
|
gridColumn: 1,
|
|
94
|
-
backgroundColor: theme.palette.background.
|
|
91
|
+
backgroundColor: theme.palette.background.image,
|
|
95
92
|
objectFit: 'cover',
|
|
96
93
|
display: 'block',
|
|
97
94
|
width: '110% !important',
|
|
@@ -112,7 +109,7 @@ const useStyles = makeStyles(
|
|
|
112
109
|
itemPrice: {
|
|
113
110
|
gridArea: 'itemPrice',
|
|
114
111
|
textAlign: 'left',
|
|
115
|
-
color: theme.palette.text.
|
|
112
|
+
color: theme.palette.text.secondary,
|
|
116
113
|
alignSelf: 'center',
|
|
117
114
|
[theme.breakpoints.up('sm')]: {
|
|
118
115
|
alignSelf: 'flex-start',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphcommerce/magento-cart-items",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.108.0",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
6
6
|
"browserslist": [
|
|
@@ -14,29 +14,29 @@
|
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@graphcommerce/browserslist-config-pwa": "^3.0.2",
|
|
17
|
-
"@graphcommerce/eslint-config-pwa": "^3.1.
|
|
17
|
+
"@graphcommerce/eslint-config-pwa": "^3.1.3",
|
|
18
18
|
"@graphcommerce/prettier-config-pwa": "^3.0.3",
|
|
19
19
|
"@graphcommerce/typescript-config-pwa": "^3.1.1",
|
|
20
20
|
"@playwright/test": "^1.16.2"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@apollo/client": "^3.4.16",
|
|
24
|
-
"@graphcommerce/graphql": "^2.105.
|
|
25
|
-
"@graphcommerce/image": "^2.105.
|
|
26
|
-
"@graphcommerce/magento-cart": "^3.
|
|
27
|
-
"@graphcommerce/magento-customer": "^3.
|
|
28
|
-
"@graphcommerce/magento-product": "^3.
|
|
29
|
-
"@graphcommerce/magento-store": "^3.
|
|
30
|
-
"@graphcommerce/next-ui": "^3.
|
|
31
|
-
"@graphcommerce/react-hook-form": "^2.102.
|
|
24
|
+
"@graphcommerce/graphql": "^2.105.2",
|
|
25
|
+
"@graphcommerce/image": "^2.105.2",
|
|
26
|
+
"@graphcommerce/magento-cart": "^3.5.0",
|
|
27
|
+
"@graphcommerce/magento-customer": "^3.4.0",
|
|
28
|
+
"@graphcommerce/magento-product": "^3.5.0",
|
|
29
|
+
"@graphcommerce/magento-store": "^3.2.0",
|
|
30
|
+
"@graphcommerce/next-ui": "^3.12.0",
|
|
31
|
+
"@graphcommerce/react-hook-form": "^2.102.14",
|
|
32
32
|
"@graphql-typed-document-node/core": "^3.1.0",
|
|
33
33
|
"@material-ui/core": "^4.12.3",
|
|
34
34
|
"@material-ui/lab": "^4.0.0-alpha.60",
|
|
35
35
|
"clsx": "^1.1.1",
|
|
36
36
|
"framer-motion": "^4.1.17",
|
|
37
|
-
"next": "^12.0.
|
|
37
|
+
"next": "^12.0.2",
|
|
38
38
|
"react": "^17.0.2",
|
|
39
39
|
"react-dom": "^17.0.2"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "b37db76e3e0dfc34a2b25068be5e6c7afcca6bfa"
|
|
42
42
|
}
|