@graphcommerce/magento-product-downloadable 9.0.0-canary.55 → 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 +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.57
|
4
|
+
|
5
|
+
## 9.0.0-canary.56
|
6
|
+
|
3
7
|
## 9.0.0-canary.55
|
4
8
|
|
5
9
|
## 9.0.0-canary.54
|
@@ -1350,31 +1354,31 @@
|
|
1350
1354
|
All occurences of `<Trans>` and `t` need to be replaced:
|
1351
1355
|
|
1352
1356
|
```tsx
|
1353
|
-
import { Trans, t } from
|
1357
|
+
import { Trans, t } from '@lingui/macro'
|
1354
1358
|
|
1355
1359
|
function MyComponent() {
|
1356
|
-
const foo =
|
1360
|
+
const foo = 'bar'
|
1357
1361
|
return (
|
1358
1362
|
<div aria-label={t`Account ${foo}`}>
|
1359
1363
|
<Trans>My Translation {foo}</Trans>
|
1360
1364
|
</div>
|
1361
|
-
)
|
1365
|
+
)
|
1362
1366
|
}
|
1363
1367
|
```
|
1364
1368
|
|
1365
1369
|
Needs to be replaced with:
|
1366
1370
|
|
1367
1371
|
```tsx
|
1368
|
-
import { Trans } from
|
1369
|
-
import { i18n } from
|
1372
|
+
import { Trans } from '@lingui/react'
|
1373
|
+
import { i18n } from '@lingui/core'
|
1370
1374
|
|
1371
1375
|
function MyComponent() {
|
1372
|
-
const foo =
|
1376
|
+
const foo = 'bar'
|
1373
1377
|
return (
|
1374
1378
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
1375
|
-
<Trans key=
|
1379
|
+
<Trans key='My Translation {foo}' values={{ foo }}></Trans>
|
1376
1380
|
</div>
|
1377
|
-
)
|
1381
|
+
)
|
1378
1382
|
}
|
1379
1383
|
```
|
1380
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",
|