@graphcommerce/magento-product 3.0.27 → 3.2.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,39 @@
|
|
|
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.2.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-product@3.1.0...@graphcommerce/magento-product@3.2.0) (2021-10-19)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **framer-scroller:** better defaults so the Scroller doesn't look broken when providing no props ([b177ce9](https://github.com/ho-nl/m2-pwa/commit/b177ce9570abb9ccfd4eb5cc34e43d157bb4e81a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.1.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-product@3.0.29...@graphcommerce/magento-product@3.1.0) (2021-10-18)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **message-snackbar:** severity props ([c7be8a5](https://github.com/ho-nl/m2-pwa/commit/c7be8a51faf7a5937b7fab5bb352df2089ae4eea))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
## [3.0.28](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-product@3.0.27...@graphcommerce/magento-product@3.0.28) (2021-10-15)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Bug Fixes
|
|
32
|
+
|
|
33
|
+
* **ProductListCount:** use theme instead of hardcoded color value ([cdfa232](https://github.com/ho-nl/m2-pwa/commit/cdfa2325c82fb94d4ff269e1d99ded1bca5e3a10))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
6
39
|
## [3.0.23](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-product@3.0.22...@graphcommerce/magento-product@3.0.23) (2021-10-11)
|
|
7
40
|
|
|
8
41
|
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
TextInputNumber,
|
|
10
10
|
iconCheckmark,
|
|
11
11
|
iconChevronRight,
|
|
12
|
+
SvgImageSimple,
|
|
12
13
|
} from '@graphcommerce/next-ui'
|
|
13
14
|
import { Divider, makeStyles, Theme, Typography } from '@material-ui/core'
|
|
14
15
|
import PageLink from 'next/link'
|
|
@@ -21,10 +22,6 @@ const useStyles = makeStyles(
|
|
|
21
22
|
marginTop: theme.spacings.sm,
|
|
22
23
|
width: '100%',
|
|
23
24
|
},
|
|
24
|
-
messageIcon: {
|
|
25
|
-
marginBottom: '-2px',
|
|
26
|
-
marginRight: 5,
|
|
27
|
-
},
|
|
28
25
|
price: {
|
|
29
26
|
fontWeight: theme.typography.fontWeightBold,
|
|
30
27
|
margin: `${theme.spacings.sm} 0`,
|
|
@@ -92,29 +89,22 @@ export default function ProductAddToCart(
|
|
|
92
89
|
<MessageSnackbar
|
|
93
90
|
open={!formState.isSubmitting && formState.isSubmitSuccessful && !error?.message}
|
|
94
91
|
variant='pill'
|
|
95
|
-
color='default'
|
|
96
92
|
action={
|
|
97
93
|
<PageLink href='/cart'>
|
|
98
94
|
<Button
|
|
99
95
|
size='medium'
|
|
100
96
|
variant='pill'
|
|
101
97
|
color='secondary'
|
|
102
|
-
endIcon={<
|
|
98
|
+
endIcon={<SvgImageSimple src={iconChevronRight} inverted />}
|
|
103
99
|
>
|
|
104
100
|
View shopping cart
|
|
105
101
|
</Button>
|
|
106
102
|
</PageLink>
|
|
107
103
|
}
|
|
108
104
|
>
|
|
109
|
-
|
|
110
|
-
<SvgImage
|
|
111
|
-
src={iconCheckmark}
|
|
112
|
-
loading='eager'
|
|
113
|
-
alt='checkmark'
|
|
114
|
-
className={classes.messageIcon}
|
|
115
|
-
/>
|
|
105
|
+
<>
|
|
116
106
|
<strong>{name}</strong> has been added to your shopping cart!
|
|
117
|
-
|
|
107
|
+
</>
|
|
118
108
|
</MessageSnackbar>
|
|
119
109
|
</form>
|
|
120
110
|
)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphcommerce/magento-product",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
6
6
|
"browserslist": [
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@apollo/client": "^3.4.16",
|
|
24
|
-
"@graphcommerce/framer-scroller": "^0.
|
|
24
|
+
"@graphcommerce/framer-scroller": "^0.3.0",
|
|
25
25
|
"@graphcommerce/graphql": "^2.103.7",
|
|
26
26
|
"@graphcommerce/image": "^2.104.10",
|
|
27
|
-
"@graphcommerce/magento-cart": "^3.
|
|
28
|
-
"@graphcommerce/magento-store": "^3.0.
|
|
29
|
-
"@graphcommerce/next-ui": "^3.
|
|
27
|
+
"@graphcommerce/magento-cart": "^3.2.0",
|
|
28
|
+
"@graphcommerce/magento-store": "^3.0.27",
|
|
29
|
+
"@graphcommerce/next-ui": "^3.7.0",
|
|
30
30
|
"@graphql-typed-document-node/core": "^3.1.0",
|
|
31
31
|
"@material-ui/core": "^4.12.3",
|
|
32
32
|
"@material-ui/lab": "^4.0.0-alpha.60",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"schema-dts": "^1.0.0",
|
|
39
39
|
"type-fest": "^2.5.0"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "a7749d81f482a77bc6bcbf237aca551ed3b7a835"
|
|
42
42
|
}
|