@graphcommerce/magento-search 7.1.0-canary.65 → 7.1.0-canary.66
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 +11 -11
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 7.1.0-canary.66
|
4
|
+
|
3
5
|
## 7.1.0-canary.65
|
4
6
|
|
5
7
|
## 7.1.0-canary.64
|
@@ -1033,31 +1035,31 @@
|
|
1033
1035
|
All occurences of `<Trans>` and `t` need to be replaced:
|
1034
1036
|
|
1035
1037
|
```tsx
|
1036
|
-
import { Trans, t } from
|
1038
|
+
import { Trans, t } from "@lingui/macro";
|
1037
1039
|
|
1038
1040
|
function MyComponent() {
|
1039
|
-
const foo =
|
1041
|
+
const foo = "bar";
|
1040
1042
|
return (
|
1041
1043
|
<div aria-label={t`Account ${foo}`}>
|
1042
1044
|
<Trans>My Translation {foo}</Trans>
|
1043
1045
|
</div>
|
1044
|
-
)
|
1046
|
+
);
|
1045
1047
|
}
|
1046
1048
|
```
|
1047
1049
|
|
1048
1050
|
Needs to be replaced with:
|
1049
1051
|
|
1050
1052
|
```tsx
|
1051
|
-
import { Trans } from
|
1052
|
-
import { i18n } from
|
1053
|
+
import { Trans } from "@lingui/react";
|
1054
|
+
import { i18n } from "@lingui/core";
|
1053
1055
|
|
1054
1056
|
function MyComponent() {
|
1055
|
-
const foo =
|
1057
|
+
const foo = "bar";
|
1056
1058
|
return (
|
1057
1059
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
1058
|
-
<Trans key=
|
1060
|
+
<Trans key="My Translation {foo}" values={{ foo }}></Trans>
|
1059
1061
|
</div>
|
1060
|
-
)
|
1062
|
+
);
|
1061
1063
|
}
|
1062
1064
|
```
|
1063
1065
|
|
package/package.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"name": "@graphcommerce/magento-search",
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
5
|
-
"version": "7.1.0-canary.
|
5
|
+
"version": "7.1.0-canary.66",
|
6
6
|
"sideEffects": false,
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
8
8
|
"eslintConfig": {
|
@@ -12,20 +12,20 @@
|
|
12
12
|
}
|
13
13
|
},
|
14
14
|
"peerDependencies": {
|
15
|
-
"@graphcommerce/ecommerce-ui": "^7.1.0-canary.
|
16
|
-
"@graphcommerce/eslint-config-pwa": "^7.1.0-canary.
|
17
|
-
"@graphcommerce/graphql": "^7.1.0-canary.
|
18
|
-
"@graphcommerce/image": "^7.1.0-canary.
|
19
|
-
"@graphcommerce/magento-product": "^7.1.0-canary.
|
20
|
-
"@graphcommerce/next-ui": "^7.1.0-canary.
|
21
|
-
"@graphcommerce/prettier-config-pwa": "^7.1.0-canary.
|
22
|
-
"@graphcommerce/react-hook-form": "^7.1.0-canary.
|
23
|
-
"@graphcommerce/typescript-config-pwa": "^7.1.0-canary.
|
15
|
+
"@graphcommerce/ecommerce-ui": "^7.1.0-canary.66",
|
16
|
+
"@graphcommerce/eslint-config-pwa": "^7.1.0-canary.66",
|
17
|
+
"@graphcommerce/graphql": "^7.1.0-canary.66",
|
18
|
+
"@graphcommerce/image": "^7.1.0-canary.66",
|
19
|
+
"@graphcommerce/magento-product": "^7.1.0-canary.66",
|
20
|
+
"@graphcommerce/next-ui": "^7.1.0-canary.66",
|
21
|
+
"@graphcommerce/prettier-config-pwa": "^7.1.0-canary.66",
|
22
|
+
"@graphcommerce/react-hook-form": "^7.1.0-canary.66",
|
23
|
+
"@graphcommerce/typescript-config-pwa": "^7.1.0-canary.66",
|
24
24
|
"@lingui/core": "^4.2.1",
|
25
25
|
"@lingui/macro": "^4.2.1",
|
26
26
|
"@lingui/react": "^4.2.1",
|
27
27
|
"@mui/material": "^5.10.16",
|
28
|
-
"next": "
|
28
|
+
"next": "*",
|
29
29
|
"react": "^18.2.0",
|
30
30
|
"react-dom": "^18.2.0"
|
31
31
|
}
|