@graphcommerce/magento-newsletter 7.1.0-canary.64 → 7.1.0-canary.66
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +12 -8
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 7.1.0-canary.66
|
4
|
+
|
5
|
+
## 7.1.0-canary.65
|
6
|
+
|
3
7
|
## 7.1.0-canary.64
|
4
8
|
|
5
9
|
## 7.1.0-canary.63
|
@@ -1135,31 +1139,31 @@
|
|
1135
1139
|
All occurences of `<Trans>` and `t` need to be replaced:
|
1136
1140
|
|
1137
1141
|
```tsx
|
1138
|
-
import { Trans, t } from
|
1142
|
+
import { Trans, t } from "@lingui/macro";
|
1139
1143
|
|
1140
1144
|
function MyComponent() {
|
1141
|
-
const foo =
|
1145
|
+
const foo = "bar";
|
1142
1146
|
return (
|
1143
1147
|
<div aria-label={t`Account ${foo}`}>
|
1144
1148
|
<Trans>My Translation {foo}</Trans>
|
1145
1149
|
</div>
|
1146
|
-
)
|
1150
|
+
);
|
1147
1151
|
}
|
1148
1152
|
```
|
1149
1153
|
|
1150
1154
|
Needs to be replaced with:
|
1151
1155
|
|
1152
1156
|
```tsx
|
1153
|
-
import { Trans } from
|
1154
|
-
import { i18n } from
|
1157
|
+
import { Trans } from "@lingui/react";
|
1158
|
+
import { i18n } from "@lingui/core";
|
1155
1159
|
|
1156
1160
|
function MyComponent() {
|
1157
|
-
const foo =
|
1161
|
+
const foo = "bar";
|
1158
1162
|
return (
|
1159
1163
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
1160
|
-
<Trans key=
|
1164
|
+
<Trans key="My Translation {foo}" values={{ foo }}></Trans>
|
1161
1165
|
</div>
|
1162
|
-
)
|
1166
|
+
);
|
1163
1167
|
}
|
1164
1168
|
```
|
1165
1169
|
|
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": "7.1.0-canary.
|
5
|
+
"version": "7.1.0-canary.66",
|
6
6
|
"sideEffects": false,
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
8
8
|
"eslintConfig": {
|
@@ -12,21 +12,21 @@
|
|
12
12
|
}
|
13
13
|
},
|
14
14
|
"peerDependencies": {
|
15
|
-
"@graphcommerce/ecommerce-ui": "^7.1.0-canary.
|
16
|
-
"@graphcommerce/eslint-config-pwa": "^7.1.0-canary.
|
17
|
-
"@graphcommerce/graphql": "^7.1.0-canary.
|
18
|
-
"@graphcommerce/magento-cart": "^7.1.0-canary.
|
19
|
-
"@graphcommerce/magento-customer": "^7.1.0-canary.
|
20
|
-
"@graphcommerce/next-ui": "^7.1.0-canary.
|
21
|
-
"@graphcommerce/prettier-config-pwa": "^7.1.0-canary.
|
22
|
-
"@graphcommerce/react-hook-form": "^7.1.0-canary.
|
23
|
-
"@graphcommerce/typescript-config-pwa": "^7.1.0-canary.
|
15
|
+
"@graphcommerce/ecommerce-ui": "^7.1.0-canary.66",
|
16
|
+
"@graphcommerce/eslint-config-pwa": "^7.1.0-canary.66",
|
17
|
+
"@graphcommerce/graphql": "^7.1.0-canary.66",
|
18
|
+
"@graphcommerce/magento-cart": "^7.1.0-canary.66",
|
19
|
+
"@graphcommerce/magento-customer": "^7.1.0-canary.66",
|
20
|
+
"@graphcommerce/next-ui": "^7.1.0-canary.66",
|
21
|
+
"@graphcommerce/prettier-config-pwa": "^7.1.0-canary.66",
|
22
|
+
"@graphcommerce/react-hook-form": "^7.1.0-canary.66",
|
23
|
+
"@graphcommerce/typescript-config-pwa": "^7.1.0-canary.66",
|
24
24
|
"@lingui/core": "^4.2.1",
|
25
25
|
"@lingui/macro": "^4.2.1",
|
26
26
|
"@lingui/react": "^4.2.1",
|
27
27
|
"@mui/material": "^5.10.16",
|
28
28
|
"framer-motion": "^10.0.0",
|
29
|
-
"next": "
|
29
|
+
"next": "*",
|
30
30
|
"react": "^18.2.0",
|
31
31
|
"react-dom": "^18.2.0"
|
32
32
|
}
|