@graphcommerce/magento-cart-items 2.108.5 → 2.108.9
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 +12 -0
- package/CartItem/CartItem.tsx +14 -2
- package/CartItem/CartItemOptionDropdown.tsx +0 -1
- package/package.json +7 -7
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
|
+
## [2.108.9](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-items@2.108.8...@graphcommerce/magento-cart-items@2.108.9) (2021-11-04)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* mobile cart ([fcafe5d](https://github.com/ho-nl/m2-pwa/commit/fcafe5d446f14fca6579d9005dd57389040c4cd3))
|
|
12
|
+
* remove hardcoded fontSize ([e4e09e1](https://github.com/ho-nl/m2-pwa/commit/e4e09e11baeb8edeff634550b8cdb88571d96911))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
6
18
|
# [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
19
|
|
|
8
20
|
|
package/CartItem/CartItem.tsx
CHANGED
|
@@ -97,6 +97,10 @@ const useStyles = makeStyles(
|
|
|
97
97
|
marginTop: '-5%',
|
|
98
98
|
},
|
|
99
99
|
itemName: {
|
|
100
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
101
|
+
[theme.breakpoints.up('sm')]: {
|
|
102
|
+
...theme.typography.h6,
|
|
103
|
+
},
|
|
100
104
|
gridArea: 'itemName',
|
|
101
105
|
color: theme.palette.text.primary,
|
|
102
106
|
textDecoration: 'none',
|
|
@@ -104,6 +108,10 @@ const useStyles = makeStyles(
|
|
|
104
108
|
maxWidth: 'max-content',
|
|
105
109
|
},
|
|
106
110
|
itemNameWithOptions: {
|
|
111
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
112
|
+
[theme.breakpoints.up('sm')]: {
|
|
113
|
+
...theme.typography.h6,
|
|
114
|
+
},
|
|
107
115
|
alignSelf: 'flex-end',
|
|
108
116
|
},
|
|
109
117
|
itemPrice: {
|
|
@@ -117,7 +125,7 @@ const useStyles = makeStyles(
|
|
|
117
125
|
},
|
|
118
126
|
quantity: {
|
|
119
127
|
gridArea: 'quantity',
|
|
120
|
-
justifySelf: '
|
|
128
|
+
justifySelf: 'right',
|
|
121
129
|
transform: 'translateY(0)',
|
|
122
130
|
[theme.breakpoints.up('sm')]: {
|
|
123
131
|
transform: 'translateY(-6px)',
|
|
@@ -156,6 +164,10 @@ export default function CartItem(props: CartItemProps) {
|
|
|
156
164
|
component='div'
|
|
157
165
|
className={classes.picture}
|
|
158
166
|
overlap='circular'
|
|
167
|
+
anchorOrigin={{
|
|
168
|
+
vertical: 'top',
|
|
169
|
+
horizontal: 'left',
|
|
170
|
+
}}
|
|
159
171
|
>
|
|
160
172
|
<PageLink href={productLink}>
|
|
161
173
|
<a className={classes.productLink}>
|
|
@@ -174,7 +186,7 @@ export default function CartItem(props: CartItemProps) {
|
|
|
174
186
|
|
|
175
187
|
<PageLink href={productLink}>
|
|
176
188
|
<Link
|
|
177
|
-
variant='
|
|
189
|
+
variant='body1'
|
|
178
190
|
className={clsx(classes.itemName, withOptions && classes.itemNameWithOptions)}
|
|
179
191
|
>
|
|
180
192
|
{name}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphcommerce/magento-cart-items",
|
|
3
|
-
"version": "2.108.
|
|
3
|
+
"version": "2.108.9",
|
|
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.3",
|
|
25
25
|
"@graphcommerce/image": "^2.105.2",
|
|
26
|
-
"@graphcommerce/magento-cart": "^3.5.
|
|
27
|
-
"@graphcommerce/magento-customer": "^3.4.
|
|
28
|
-
"@graphcommerce/magento-product": "^3.5.
|
|
29
|
-
"@graphcommerce/magento-store": "^3.2.
|
|
30
|
-
"@graphcommerce/next-ui": "^3.
|
|
26
|
+
"@graphcommerce/magento-cart": "^3.5.9",
|
|
27
|
+
"@graphcommerce/magento-customer": "^3.4.9",
|
|
28
|
+
"@graphcommerce/magento-product": "^3.5.9",
|
|
29
|
+
"@graphcommerce/magento-store": "^3.2.9",
|
|
30
|
+
"@graphcommerce/next-ui": "^3.14.1",
|
|
31
31
|
"@graphcommerce/react-hook-form": "^2.103.0",
|
|
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": "fe3be5507a3b323564cd53fca9831fb5053373ee"
|
|
42
42
|
}
|