@graphcommerce/magento-cart-coupon 8.0.6 → 8.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -8
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 8.0.8
|
|
4
|
+
|
|
5
|
+
## 8.0.7
|
|
6
|
+
|
|
3
7
|
## 8.0.6
|
|
4
8
|
|
|
5
9
|
## 8.0.5
|
|
@@ -1260,31 +1264,31 @@
|
|
|
1260
1264
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
1261
1265
|
|
|
1262
1266
|
```tsx
|
|
1263
|
-
import { Trans, t } from
|
|
1267
|
+
import { Trans, t } from '@lingui/macro'
|
|
1264
1268
|
|
|
1265
1269
|
function MyComponent() {
|
|
1266
|
-
const foo =
|
|
1270
|
+
const foo = 'bar'
|
|
1267
1271
|
return (
|
|
1268
1272
|
<div aria-label={t`Account ${foo}`}>
|
|
1269
1273
|
<Trans>My Translation {foo}</Trans>
|
|
1270
1274
|
</div>
|
|
1271
|
-
)
|
|
1275
|
+
)
|
|
1272
1276
|
}
|
|
1273
1277
|
```
|
|
1274
1278
|
|
|
1275
1279
|
Needs to be replaced with:
|
|
1276
1280
|
|
|
1277
1281
|
```tsx
|
|
1278
|
-
import { Trans } from
|
|
1279
|
-
import { i18n } from
|
|
1282
|
+
import { Trans } from '@lingui/react'
|
|
1283
|
+
import { i18n } from '@lingui/core'
|
|
1280
1284
|
|
|
1281
1285
|
function MyComponent() {
|
|
1282
|
-
const foo =
|
|
1286
|
+
const foo = 'bar'
|
|
1283
1287
|
return (
|
|
1284
1288
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
|
1285
|
-
<Trans key=
|
|
1289
|
+
<Trans key='My Translation {foo}' values={{ foo }}></Trans>
|
|
1286
1290
|
</div>
|
|
1287
|
-
)
|
|
1291
|
+
)
|
|
1288
1292
|
}
|
|
1289
1293
|
```
|
|
1290
1294
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-cart-coupon",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "8.0.
|
|
5
|
+
"version": "8.0.8",
|
|
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/eslint-config-pwa": "^8.0.
|
|
16
|
-
"@graphcommerce/graphql": "^8.0.
|
|
17
|
-
"@graphcommerce/image": "^8.0.
|
|
18
|
-
"@graphcommerce/magento-cart": "^8.0.
|
|
19
|
-
"@graphcommerce/magento-store": "^8.0.
|
|
20
|
-
"@graphcommerce/next-ui": "^8.0.
|
|
21
|
-
"@graphcommerce/prettier-config-pwa": "^8.0.
|
|
22
|
-
"@graphcommerce/react-hook-form": "^8.0.
|
|
23
|
-
"@graphcommerce/typescript-config-pwa": "^8.0.
|
|
15
|
+
"@graphcommerce/eslint-config-pwa": "^8.0.8",
|
|
16
|
+
"@graphcommerce/graphql": "^8.0.8",
|
|
17
|
+
"@graphcommerce/image": "^8.0.8",
|
|
18
|
+
"@graphcommerce/magento-cart": "^8.0.8",
|
|
19
|
+
"@graphcommerce/magento-store": "^8.0.8",
|
|
20
|
+
"@graphcommerce/next-ui": "^8.0.8",
|
|
21
|
+
"@graphcommerce/prettier-config-pwa": "^8.0.8",
|
|
22
|
+
"@graphcommerce/react-hook-form": "^8.0.8",
|
|
23
|
+
"@graphcommerce/typescript-config-pwa": "^8.0.8",
|
|
24
24
|
"@lingui/core": "^4.2.1",
|
|
25
25
|
"@lingui/macro": "^4.2.1",
|
|
26
26
|
"@lingui/react": "^4.2.1",
|