@graphcommerce/magento-newsletter 8.0.0-canary.40 → 8.0.0-canary.69
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +56 -10
- package/components/GuestNewsletter/GuestNewsletter.tsx +1 -0
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
@@ -1,8 +1,54 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
-
## 8.0.0-canary.
|
3
|
+
## 8.0.0-canary.69
|
4
4
|
|
5
|
-
## 7.1.0-canary.
|
5
|
+
## 7.1.0-canary.68
|
6
|
+
|
7
|
+
## 7.1.0-canary.67
|
8
|
+
|
9
|
+
## 7.1.0-canary.66
|
10
|
+
|
11
|
+
## 7.1.0-canary.65
|
12
|
+
|
13
|
+
## 7.1.0-canary.64
|
14
|
+
|
15
|
+
## 7.1.0-canary.63
|
16
|
+
|
17
|
+
## 7.1.0-canary.62
|
18
|
+
|
19
|
+
## 7.1.0-canary.61
|
20
|
+
|
21
|
+
## 7.1.0-canary.60
|
22
|
+
|
23
|
+
## 7.1.0-canary.59
|
24
|
+
|
25
|
+
## 7.1.0-canary.58
|
26
|
+
|
27
|
+
## 7.1.0-canary.57
|
28
|
+
|
29
|
+
## 7.1.0-canary.56
|
30
|
+
|
31
|
+
## 7.1.0-canary.55
|
32
|
+
|
33
|
+
## 7.1.0-canary.54
|
34
|
+
|
35
|
+
## 7.1.0-canary.53
|
36
|
+
|
37
|
+
## 7.1.0-canary.52
|
38
|
+
|
39
|
+
## 7.1.0-canary.51
|
40
|
+
|
41
|
+
## 7.1.0-canary.50
|
42
|
+
|
43
|
+
## 7.1.0-canary.49
|
44
|
+
|
45
|
+
## 7.1.0-canary.48
|
46
|
+
|
47
|
+
## 7.1.0-canary.47
|
48
|
+
|
49
|
+
## 7.1.0-canary.46
|
50
|
+
|
51
|
+
## 7.1.0-canary.45
|
6
52
|
|
7
53
|
## 7.1.0-canary.38
|
8
54
|
|
@@ -1099,31 +1145,31 @@
|
|
1099
1145
|
All occurences of `<Trans>` and `t` need to be replaced:
|
1100
1146
|
|
1101
1147
|
```tsx
|
1102
|
-
import { Trans, t } from
|
1148
|
+
import { Trans, t } from "@lingui/macro";
|
1103
1149
|
|
1104
1150
|
function MyComponent() {
|
1105
|
-
const foo =
|
1151
|
+
const foo = "bar";
|
1106
1152
|
return (
|
1107
1153
|
<div aria-label={t`Account ${foo}`}>
|
1108
1154
|
<Trans>My Translation {foo}</Trans>
|
1109
1155
|
</div>
|
1110
|
-
)
|
1156
|
+
);
|
1111
1157
|
}
|
1112
1158
|
```
|
1113
1159
|
|
1114
1160
|
Needs to be replaced with:
|
1115
1161
|
|
1116
1162
|
```tsx
|
1117
|
-
import { Trans } from
|
1118
|
-
import { i18n } from
|
1163
|
+
import { Trans } from "@lingui/react";
|
1164
|
+
import { i18n } from "@lingui/core";
|
1119
1165
|
|
1120
1166
|
function MyComponent() {
|
1121
|
-
const foo =
|
1167
|
+
const foo = "bar";
|
1122
1168
|
return (
|
1123
1169
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
1124
|
-
<Trans key=
|
1170
|
+
<Trans key="My Translation {foo}" values={{ foo }}></Trans>
|
1125
1171
|
</div>
|
1126
|
-
)
|
1172
|
+
);
|
1127
1173
|
}
|
1128
1174
|
```
|
1129
1175
|
|
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": "8.0.0-canary.
|
5
|
+
"version": "8.0.0-canary.69",
|
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": "8.0.0-canary.
|
16
|
-
"@graphcommerce/eslint-config-pwa": "8.0.0-canary.
|
17
|
-
"@graphcommerce/graphql": "8.0.0-canary.
|
18
|
-
"@graphcommerce/magento-cart": "8.0.0-canary.
|
19
|
-
"@graphcommerce/magento-customer": "8.0.0-canary.
|
20
|
-
"@graphcommerce/next-ui": "8.0.0-canary.
|
21
|
-
"@graphcommerce/prettier-config-pwa": "8.0.0-canary.
|
22
|
-
"@graphcommerce/react-hook-form": "8.0.0-canary.
|
23
|
-
"@graphcommerce/typescript-config-pwa": "8.0.0-canary.
|
15
|
+
"@graphcommerce/ecommerce-ui": "^8.0.0-canary.69",
|
16
|
+
"@graphcommerce/eslint-config-pwa": "^8.0.0-canary.69",
|
17
|
+
"@graphcommerce/graphql": "^8.0.0-canary.69",
|
18
|
+
"@graphcommerce/magento-cart": "^8.0.0-canary.69",
|
19
|
+
"@graphcommerce/magento-customer": "^8.0.0-canary.69",
|
20
|
+
"@graphcommerce/next-ui": "^8.0.0-canary.69",
|
21
|
+
"@graphcommerce/prettier-config-pwa": "^8.0.0-canary.69",
|
22
|
+
"@graphcommerce/react-hook-form": "^8.0.0-canary.69",
|
23
|
+
"@graphcommerce/typescript-config-pwa": "^8.0.0-canary.69",
|
24
24
|
"@lingui/core": "^4.2.1",
|
25
25
|
"@lingui/macro": "^4.2.1",
|
26
26
|
"@lingui/react": "^4.2.1",
|