@graphcommerce/magento-cart-coupon 8.0.6 → 8.0.7
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 +10 -8
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 8.0.7
|
|
4
|
+
|
|
3
5
|
## 8.0.6
|
|
4
6
|
|
|
5
7
|
## 8.0.5
|
|
@@ -1260,31 +1262,31 @@
|
|
|
1260
1262
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
1261
1263
|
|
|
1262
1264
|
```tsx
|
|
1263
|
-
import { Trans, t } from
|
|
1265
|
+
import { Trans, t } from '@lingui/macro'
|
|
1264
1266
|
|
|
1265
1267
|
function MyComponent() {
|
|
1266
|
-
const foo =
|
|
1268
|
+
const foo = 'bar'
|
|
1267
1269
|
return (
|
|
1268
1270
|
<div aria-label={t`Account ${foo}`}>
|
|
1269
1271
|
<Trans>My Translation {foo}</Trans>
|
|
1270
1272
|
</div>
|
|
1271
|
-
)
|
|
1273
|
+
)
|
|
1272
1274
|
}
|
|
1273
1275
|
```
|
|
1274
1276
|
|
|
1275
1277
|
Needs to be replaced with:
|
|
1276
1278
|
|
|
1277
1279
|
```tsx
|
|
1278
|
-
import { Trans } from
|
|
1279
|
-
import { i18n } from
|
|
1280
|
+
import { Trans } from '@lingui/react'
|
|
1281
|
+
import { i18n } from '@lingui/core'
|
|
1280
1282
|
|
|
1281
1283
|
function MyComponent() {
|
|
1282
|
-
const foo =
|
|
1284
|
+
const foo = 'bar'
|
|
1283
1285
|
return (
|
|
1284
1286
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
|
1285
|
-
<Trans key=
|
|
1287
|
+
<Trans key='My Translation {foo}' values={{ foo }}></Trans>
|
|
1286
1288
|
</div>
|
|
1287
|
-
)
|
|
1289
|
+
)
|
|
1288
1290
|
}
|
|
1289
1291
|
```
|
|
1290
1292
|
|
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.7",
|
|
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.7",
|
|
16
|
+
"@graphcommerce/graphql": "^8.0.7",
|
|
17
|
+
"@graphcommerce/image": "^8.0.7",
|
|
18
|
+
"@graphcommerce/magento-cart": "^8.0.7",
|
|
19
|
+
"@graphcommerce/magento-store": "^8.0.7",
|
|
20
|
+
"@graphcommerce/next-ui": "^8.0.7",
|
|
21
|
+
"@graphcommerce/prettier-config-pwa": "^8.0.7",
|
|
22
|
+
"@graphcommerce/react-hook-form": "^8.0.7",
|
|
23
|
+
"@graphcommerce/typescript-config-pwa": "^8.0.7",
|
|
24
24
|
"@lingui/core": "^4.2.1",
|
|
25
25
|
"@lingui/macro": "^4.2.1",
|
|
26
26
|
"@lingui/react": "^4.2.1",
|