@graphcommerce/magento-cart-coupon 3.0.3 → 3.0.4
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,21 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 3.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1292](https://github.com/ho-nl/m2-pwa/pull/1292)
|
|
8
|
+
[`5a1ba9e66`](https://github.com/ho-nl/m2-pwa/commit/5a1ba9e664abbac89c4f5f71f7d6d6ed1aefa5c0)
|
|
9
|
+
Thanks [@paales](https://github.com/paales)! - Renamed SvgIcon to IconSvg to prevent collisions
|
|
10
|
+
with MUI
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
[[`5a1ba9e66`](https://github.com/ho-nl/m2-pwa/commit/5a1ba9e664abbac89c4f5f71f7d6d6ed1aefa5c0),
|
|
14
|
+
[`990df655b`](https://github.com/ho-nl/m2-pwa/commit/990df655b73b469718d6cb5837ee65dfe2ad6a1d),
|
|
15
|
+
[`63f9b56eb`](https://github.com/ho-nl/m2-pwa/commit/63f9b56eb68ba790567ff1427e599fd2c3c8f1ee)]:
|
|
16
|
+
- @graphcommerce/magento-cart@4.1.3
|
|
17
|
+
- @graphcommerce/next-ui@4.2.0
|
|
18
|
+
|
|
3
19
|
## 3.0.3
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
iconChevronDown,
|
|
5
5
|
iconChevronUp,
|
|
6
6
|
responsiveVal,
|
|
7
|
-
|
|
7
|
+
IconSvg,
|
|
8
8
|
extendableComponent,
|
|
9
9
|
} from '@graphcommerce/next-ui'
|
|
10
10
|
import { Trans } from '@lingui/macro'
|
|
@@ -96,10 +96,10 @@ export default function CouponAccordion(props: CouponAccordionProps) {
|
|
|
96
96
|
endIcon={
|
|
97
97
|
<>
|
|
98
98
|
{!coupon && open && (
|
|
99
|
-
<
|
|
99
|
+
<IconSvg src={iconChevronUp} size='large' sx={{ display: 'inherit' }} />
|
|
100
100
|
)}
|
|
101
101
|
{!coupon && !open && (
|
|
102
|
-
<
|
|
102
|
+
<IconSvg src={iconChevronDown} size='large' sx={{ display: 'inherit' }} />
|
|
103
103
|
)}
|
|
104
104
|
</>
|
|
105
105
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useFormGqlMutationCart, ApolloCartErrorAlert } from '@graphcommerce/magento-cart'
|
|
2
|
-
import {
|
|
2
|
+
import { IconSvg, iconCancelAlt, extendableComponent } from '@graphcommerce/next-ui'
|
|
3
3
|
import { lighten, Button, Box, SxProps, Theme } from '@mui/material'
|
|
4
4
|
import { CouponFragment } from '../Api/Coupon.gql'
|
|
5
5
|
import { RemoveCouponFormDocument } from './RemoveCouponForm.gql'
|
|
@@ -24,7 +24,7 @@ export default function RemoveCouponForm(props: RemoveCouponFormProps) {
|
|
|
24
24
|
variant='text'
|
|
25
25
|
color='secondary'
|
|
26
26
|
className={classes.button}
|
|
27
|
-
endIcon={<
|
|
27
|
+
endIcon={<IconSvg src={iconCancelAlt} />}
|
|
28
28
|
sx={(theme) => ({
|
|
29
29
|
fontWeight: 600,
|
|
30
30
|
background: lighten(theme.palette.secondary.light, theme.palette.action.hoverOpacity),
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-cart-coupon",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "3.0.
|
|
5
|
+
"version": "3.0.4",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@graphcommerce/graphql": "^3.0.3",
|
|
22
22
|
"@graphcommerce/image": "^3.1.0",
|
|
23
|
-
"@graphcommerce/magento-cart": "^4.1.
|
|
23
|
+
"@graphcommerce/magento-cart": "^4.1.3",
|
|
24
24
|
"@graphcommerce/magento-store": "^4.0.3",
|
|
25
|
-
"@graphcommerce/next-ui": "^4.
|
|
25
|
+
"@graphcommerce/next-ui": "^4.2.0",
|
|
26
26
|
"@graphcommerce/react-hook-form": "^3.0.3"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|