@graphcommerce/magento-newsletter 7.1.0-canary.65 → 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 +10 -8
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 7.1.0-canary.66
|
4
|
+
|
3
5
|
## 7.1.0-canary.65
|
4
6
|
|
5
7
|
## 7.1.0-canary.64
|
@@ -1137,31 +1139,31 @@
|
|
1137
1139
|
All occurences of `<Trans>` and `t` need to be replaced:
|
1138
1140
|
|
1139
1141
|
```tsx
|
1140
|
-
import { Trans, t } from
|
1142
|
+
import { Trans, t } from "@lingui/macro";
|
1141
1143
|
|
1142
1144
|
function MyComponent() {
|
1143
|
-
const foo =
|
1145
|
+
const foo = "bar";
|
1144
1146
|
return (
|
1145
1147
|
<div aria-label={t`Account ${foo}`}>
|
1146
1148
|
<Trans>My Translation {foo}</Trans>
|
1147
1149
|
</div>
|
1148
|
-
)
|
1150
|
+
);
|
1149
1151
|
}
|
1150
1152
|
```
|
1151
1153
|
|
1152
1154
|
Needs to be replaced with:
|
1153
1155
|
|
1154
1156
|
```tsx
|
1155
|
-
import { Trans } from
|
1156
|
-
import { i18n } from
|
1157
|
+
import { Trans } from "@lingui/react";
|
1158
|
+
import { i18n } from "@lingui/core";
|
1157
1159
|
|
1158
1160
|
function MyComponent() {
|
1159
|
-
const foo =
|
1161
|
+
const foo = "bar";
|
1160
1162
|
return (
|
1161
1163
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
1162
|
-
<Trans key=
|
1164
|
+
<Trans key="My Translation {foo}" values={{ foo }}></Trans>
|
1163
1165
|
</div>
|
1164
|
-
)
|
1166
|
+
);
|
1165
1167
|
}
|
1166
1168
|
```
|
1167
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
|
}
|