@graphcommerce/magento-cart-coupon 3.0.1 → 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,75 @@
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
+
19
+ ## 3.0.3
20
+
21
+ ### Patch Changes
22
+
23
+ - [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96)
24
+ Thanks [@paales](https://github.com/paales)! - made packages public
25
+
26
+ - Updated dependencies
27
+ [[`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96),
28
+ [`81ea406d5`](https://github.com/ho-nl/m2-pwa/commit/81ea406d54d6b5c662c030a7fea444abc4117a20),
29
+ [`3a719c88c`](https://github.com/ho-nl/m2-pwa/commit/3a719c88cad1eab58602de28c41adc0fc4827e1d),
30
+ [`5ffcb56bf`](https://github.com/ho-nl/m2-pwa/commit/5ffcb56bfcbe49ebeaf24f9341e819a145ab9a14)]:
31
+ - @graphcommerce/graphql@3.0.3
32
+ - @graphcommerce/image@3.1.0
33
+ - @graphcommerce/magento-cart@4.1.2
34
+ - @graphcommerce/magento-store@4.0.3
35
+ - @graphcommerce/next-ui@4.1.2
36
+ - @graphcommerce/react-hook-form@3.0.3
37
+
38
+ ## 3.0.2
39
+
40
+ ### Patch Changes
41
+
42
+ - [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
43
+ [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2)
44
+ Thanks [@paales](https://github.com/paales)! - We've moved lots of internal packages from
45
+ `dependencies` to `peerDependencies`. The result of this is that there will be significantly less
46
+ duplicate packages in the node_modules folders.
47
+
48
+ * [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
49
+ [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d)
50
+ Thanks [@paales](https://github.com/paales)! - Upgraded to
51
+ [NextJS 12.1](https://nextjs.org/blog/next-12-1)! This is just for compatibility, but we'll be
52
+ implementing
53
+ [On-demand Incremental Static Regeneration](https://nextjs.org/blog/next-12-1#on-demand-incremental-static-regeneration-beta)
54
+ soon.
55
+
56
+ This will greatly reduce the requirement to rebuid stuff and we'll add a management UI on the
57
+ frontend to be able to revalidate pages manually.
58
+
59
+ * Updated dependencies
60
+ [[`381e4c86a`](https://github.com/ho-nl/m2-pwa/commit/381e4c86a8321ce96e1fa5c7d3c0a0c0ff3e02c7),
61
+ [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2),
62
+ [`e7c8e2756`](https://github.com/ho-nl/m2-pwa/commit/e7c8e2756d637cbcd2e793d62ef5721d35d9fa7b),
63
+ [`b08a8eb1d`](https://github.com/ho-nl/m2-pwa/commit/b08a8eb1d024b9d3e7712ef034029151670db275),
64
+ [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d),
65
+ [`5a4809b1a`](https://github.com/ho-nl/m2-pwa/commit/5a4809b1a705aa32f620f520085df48ee25f9949)]:
66
+ - @graphcommerce/magento-cart@4.1.1
67
+ - @graphcommerce/next-ui@4.1.1
68
+ - @graphcommerce/react-hook-form@3.0.2
69
+ - @graphcommerce/graphql@3.0.2
70
+ - @graphcommerce/image@3.0.2
71
+ - @graphcommerce/magento-store@4.0.2
72
+
3
73
  ## 3.0.1
4
74
 
5
75
  ### Patch Changes
@@ -4,7 +4,7 @@ import {
4
4
  iconChevronDown,
5
5
  iconChevronUp,
6
6
  responsiveVal,
7
- SvgIcon,
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
- <SvgIcon src={iconChevronUp} size='large' sx={{ display: 'inherit' }} />
99
+ <IconSvg src={iconChevronUp} size='large' sx={{ display: 'inherit' }} />
100
100
  )}
101
101
  {!coupon && !open && (
102
- <SvgIcon src={iconChevronDown} size='large' sx={{ display: 'inherit' }} />
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 { SvgIcon, iconCancelAlt, extendableComponent } from '@graphcommerce/next-ui'
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={<SvgIcon src={iconCancelAlt} />}
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.1",
5
+ "version": "3.0.4",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,18 +12,20 @@
12
12
  }
13
13
  },
14
14
  "devDependencies": {
15
- "@graphcommerce/eslint-config-pwa": "^4.0.1",
16
- "@graphcommerce/prettier-config-pwa": "^4.0.1",
17
- "@graphcommerce/typescript-config-pwa": "^4.0.1",
18
- "@playwright/test": "^1.18.1"
15
+ "@graphcommerce/eslint-config-pwa": "^4.0.3",
16
+ "@graphcommerce/prettier-config-pwa": "^4.0.2",
17
+ "@graphcommerce/typescript-config-pwa": "^4.0.2",
18
+ "@playwright/test": "^1.19.1"
19
19
  },
20
20
  "dependencies": {
21
- "@graphcommerce/graphql": "^3.0.1",
22
- "@graphcommerce/image": "^3.0.1",
23
- "@graphcommerce/magento-cart": "^4.0.1",
24
- "@graphcommerce/magento-store": "^4.0.1",
25
- "@graphcommerce/next-ui": "^4.0.1",
26
- "@graphcommerce/react-hook-form": "^3.0.1",
21
+ "@graphcommerce/graphql": "^3.0.3",
22
+ "@graphcommerce/image": "^3.1.0",
23
+ "@graphcommerce/magento-cart": "^4.1.3",
24
+ "@graphcommerce/magento-store": "^4.0.3",
25
+ "@graphcommerce/next-ui": "^4.2.0",
26
+ "@graphcommerce/react-hook-form": "^3.0.3"
27
+ },
28
+ "peerDependencies": {
27
29
  "@lingui/macro": "^3.13.2",
28
30
  "@mui/material": "^5.4.1",
29
31
  "framer-motion": "^6.2.4",