@graphcommerce/magento-product-grouped 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 +9 -9
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
|
|
@@ -1320,31 +1322,31 @@
|
|
|
1320
1322
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
1321
1323
|
|
|
1322
1324
|
```tsx
|
|
1323
|
-
import { Trans, t } from
|
|
1325
|
+
import { Trans, t } from '@lingui/macro'
|
|
1324
1326
|
|
|
1325
1327
|
function MyComponent() {
|
|
1326
|
-
const foo =
|
|
1328
|
+
const foo = 'bar'
|
|
1327
1329
|
return (
|
|
1328
1330
|
<div aria-label={t`Account ${foo}`}>
|
|
1329
1331
|
<Trans>My Translation {foo}</Trans>
|
|
1330
1332
|
</div>
|
|
1331
|
-
)
|
|
1333
|
+
)
|
|
1332
1334
|
}
|
|
1333
1335
|
```
|
|
1334
1336
|
|
|
1335
1337
|
Needs to be replaced with:
|
|
1336
1338
|
|
|
1337
1339
|
```tsx
|
|
1338
|
-
import { Trans } from
|
|
1339
|
-
import { i18n } from
|
|
1340
|
+
import { Trans } from '@lingui/react'
|
|
1341
|
+
import { i18n } from '@lingui/core'
|
|
1340
1342
|
|
|
1341
1343
|
function MyComponent() {
|
|
1342
|
-
const foo =
|
|
1344
|
+
const foo = 'bar'
|
|
1343
1345
|
return (
|
|
1344
1346
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
|
1345
|
-
<Trans key=
|
|
1347
|
+
<Trans key='My Translation {foo}' values={{ foo }}></Trans>
|
|
1346
1348
|
</div>
|
|
1347
|
-
)
|
|
1349
|
+
)
|
|
1348
1350
|
}
|
|
1349
1351
|
```
|
|
1350
1352
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-product-grouped",
|
|
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,14 +12,14 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@graphcommerce/eslint-config-pwa": "^8.0.
|
|
16
|
-
"@graphcommerce/graphql": "^8.0.
|
|
17
|
-
"@graphcommerce/magento-cart": "^8.0.
|
|
18
|
-
"@graphcommerce/magento-product": "^8.0.
|
|
19
|
-
"@graphcommerce/magento-product-simple": "^8.0.
|
|
20
|
-
"@graphcommerce/magento-product-virtual": "^8.0.
|
|
21
|
-
"@graphcommerce/prettier-config-pwa": "^8.0.
|
|
22
|
-
"@graphcommerce/typescript-config-pwa": "^8.0.
|
|
15
|
+
"@graphcommerce/eslint-config-pwa": "^8.0.7",
|
|
16
|
+
"@graphcommerce/graphql": "^8.0.7",
|
|
17
|
+
"@graphcommerce/magento-cart": "^8.0.7",
|
|
18
|
+
"@graphcommerce/magento-product": "^8.0.7",
|
|
19
|
+
"@graphcommerce/magento-product-simple": "^8.0.7",
|
|
20
|
+
"@graphcommerce/magento-product-virtual": "^8.0.7",
|
|
21
|
+
"@graphcommerce/prettier-config-pwa": "^8.0.7",
|
|
22
|
+
"@graphcommerce/typescript-config-pwa": "^8.0.7",
|
|
23
23
|
"@lingui/core": "^4.2.1",
|
|
24
24
|
"@lingui/macro": "^4.2.1",
|
|
25
25
|
"@lingui/react": "^4.2.1",
|