@graphcommerce/magento-newsletter 9.0.0-canary.103 → 9.0.0-canary.105
Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 9.0.0-canary.105
|
4
|
+
|
5
|
+
## 9.0.0-canary.104
|
6
|
+
|
3
7
|
## 9.0.0-canary.103
|
4
8
|
|
5
9
|
## 8.1.0-canary.52
|
@@ -546,7 +550,7 @@
|
|
546
550
|
All occurences of `<Trans>` and `t` need to be replaced:
|
547
551
|
|
548
552
|
```tsx
|
549
|
-
import {
|
553
|
+
import { t, Trans } from '@lingui/macro'
|
550
554
|
|
551
555
|
function MyComponent() {
|
552
556
|
const foo = 'bar'
|
@@ -561,8 +565,8 @@
|
|
561
565
|
Needs to be replaced with:
|
562
566
|
|
563
567
|
```tsx
|
564
|
-
import { Trans } from '@lingui/react'
|
565
568
|
import { i18n } from '@lingui/core'
|
569
|
+
import { Trans } from '@lingui/react'
|
566
570
|
|
567
571
|
function MyComponent() {
|
568
572
|
const foo = 'bar'
|
@@ -6,8 +6,7 @@ import {
|
|
6
6
|
Box,
|
7
7
|
FormControl,
|
8
8
|
FormControlLabel,
|
9
|
-
FormHelperText,
|
10
|
-
// eslint-disable-next-line @typescript-eslint/no-restricted-imports
|
9
|
+
FormHelperText, // eslint-disable-next-line @typescript-eslint/no-restricted-imports
|
11
10
|
Switch,
|
12
11
|
} from '@mui/material'
|
13
12
|
import React from 'react'
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ApolloErrorSnackbar, EmailElement, useFormGqlMutation } from '@graphcommerce/ecommerce-ui'
|
2
|
-
import { Form, MessageSnackbar
|
2
|
+
import { Button, Form, MessageSnackbar } from '@graphcommerce/next-ui'
|
3
3
|
import { Trans } from '@lingui/react'
|
4
4
|
import type { SxProps, Theme } from '@mui/material'
|
5
5
|
import { GuestNewsletterToggleDocument } from '../GuestNewsletterToggle/GuestNewsletterToggle.gql'
|
@@ -6,8 +6,7 @@ import type { SwitchProps, SxProps, Theme } from '@mui/material'
|
|
6
6
|
import {
|
7
7
|
FormControl,
|
8
8
|
FormControlLabel,
|
9
|
-
FormHelperText,
|
10
|
-
// eslint-disable-next-line @typescript-eslint/no-restricted-imports
|
9
|
+
FormHelperText, // eslint-disable-next-line @typescript-eslint/no-restricted-imports
|
11
10
|
Switch,
|
12
11
|
} from '@mui/material'
|
13
12
|
import React from 'react'
|
package/package.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"name": "@graphcommerce/magento-newsletter",
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
5
|
-
"version": "9.0.0-canary.
|
5
|
+
"version": "9.0.0-canary.105",
|
6
6
|
"sideEffects": false,
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
8
8
|
"eslintConfig": {
|
@@ -12,15 +12,15 @@
|
|
12
12
|
}
|
13
13
|
},
|
14
14
|
"peerDependencies": {
|
15
|
-
"@graphcommerce/ecommerce-ui": "^9.0.0-canary.
|
16
|
-
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.
|
17
|
-
"@graphcommerce/graphql": "^9.0.0-canary.
|
18
|
-
"@graphcommerce/magento-cart": "^9.0.0-canary.
|
19
|
-
"@graphcommerce/magento-customer": "^9.0.0-canary.
|
20
|
-
"@graphcommerce/next-ui": "^9.0.0-canary.
|
21
|
-
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.
|
22
|
-
"@graphcommerce/react-hook-form": "^9.0.0-canary.
|
23
|
-
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.
|
15
|
+
"@graphcommerce/ecommerce-ui": "^9.0.0-canary.105",
|
16
|
+
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.105",
|
17
|
+
"@graphcommerce/graphql": "^9.0.0-canary.105",
|
18
|
+
"@graphcommerce/magento-cart": "^9.0.0-canary.105",
|
19
|
+
"@graphcommerce/magento-customer": "^9.0.0-canary.105",
|
20
|
+
"@graphcommerce/next-ui": "^9.0.0-canary.105",
|
21
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.105",
|
22
|
+
"@graphcommerce/react-hook-form": "^9.0.0-canary.105",
|
23
|
+
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.105",
|
24
24
|
"@lingui/core": "^4.2.1",
|
25
25
|
"@lingui/macro": "^4.2.1",
|
26
26
|
"@lingui/react": "^4.2.1",
|