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