@graphcommerce/magento-product-downloadable 9.0.0-canary.56 → 9.0.0-canary.58
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 +9 -9
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 9.0.0-canary.58
|
4
|
+
|
5
|
+
## 9.0.0-canary.57
|
6
|
+
|
3
7
|
## 9.0.0-canary.56
|
4
8
|
|
5
9
|
## 9.0.0-canary.55
|
@@ -1352,31 +1356,31 @@
|
|
1352
1356
|
All occurences of `<Trans>` and `t` need to be replaced:
|
1353
1357
|
|
1354
1358
|
```tsx
|
1355
|
-
import { Trans, t } from
|
1359
|
+
import { Trans, t } from '@lingui/macro'
|
1356
1360
|
|
1357
1361
|
function MyComponent() {
|
1358
|
-
const foo =
|
1362
|
+
const foo = 'bar'
|
1359
1363
|
return (
|
1360
1364
|
<div aria-label={t`Account ${foo}`}>
|
1361
1365
|
<Trans>My Translation {foo}</Trans>
|
1362
1366
|
</div>
|
1363
|
-
)
|
1367
|
+
)
|
1364
1368
|
}
|
1365
1369
|
```
|
1366
1370
|
|
1367
1371
|
Needs to be replaced with:
|
1368
1372
|
|
1369
1373
|
```tsx
|
1370
|
-
import { Trans } from
|
1371
|
-
import { i18n } from
|
1374
|
+
import { Trans } from '@lingui/react'
|
1375
|
+
import { i18n } from '@lingui/core'
|
1372
1376
|
|
1373
1377
|
function MyComponent() {
|
1374
|
-
const foo =
|
1378
|
+
const foo = 'bar'
|
1375
1379
|
return (
|
1376
1380
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
1377
|
-
<Trans key=
|
1381
|
+
<Trans key='My Translation {foo}' values={{ foo }}></Trans>
|
1378
1382
|
</div>
|
1379
|
-
)
|
1383
|
+
)
|
1380
1384
|
}
|
1381
1385
|
```
|
1382
1386
|
|
package/package.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"name": "@graphcommerce/magento-product-downloadable",
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
5
|
-
"version": "9.0.0-canary.
|
5
|
+
"version": "9.0.0-canary.58",
|
6
6
|
"sideEffects": false,
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
8
8
|
"eslintConfig": {
|
@@ -12,14 +12,14 @@
|
|
12
12
|
}
|
13
13
|
},
|
14
14
|
"peerDependencies": {
|
15
|
-
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.
|
16
|
-
"@graphcommerce/graphql": "^9.0.0-canary.
|
17
|
-
"@graphcommerce/magento-cart": "^9.0.0-canary.
|
18
|
-
"@graphcommerce/magento-product": "^9.0.0-canary.
|
19
|
-
"@graphcommerce/magento-store": "^9.0.0-canary.
|
20
|
-
"@graphcommerce/next-ui": "^9.0.0-canary.
|
21
|
-
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.
|
22
|
-
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.
|
15
|
+
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.58",
|
16
|
+
"@graphcommerce/graphql": "^9.0.0-canary.58",
|
17
|
+
"@graphcommerce/magento-cart": "^9.0.0-canary.58",
|
18
|
+
"@graphcommerce/magento-product": "^9.0.0-canary.58",
|
19
|
+
"@graphcommerce/magento-store": "^9.0.0-canary.58",
|
20
|
+
"@graphcommerce/next-ui": "^9.0.0-canary.58",
|
21
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.58",
|
22
|
+
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.58",
|
23
23
|
"@lingui/core": "^4.2.1",
|
24
24
|
"@lingui/macro": "^4.2.1",
|
25
25
|
"@lingui/react": "^4.2.1",
|