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