@graphcommerce/magento-search 7.1.0-canary.64 → 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 +12 -8
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 7.1.0-canary.66
|
4
|
+
|
5
|
+
## 7.1.0-canary.65
|
6
|
+
|
3
7
|
## 7.1.0-canary.64
|
4
8
|
|
5
9
|
## 7.1.0-canary.63
|
@@ -1031,31 +1035,31 @@
|
|
1031
1035
|
All occurences of `<Trans>` and `t` need to be replaced:
|
1032
1036
|
|
1033
1037
|
```tsx
|
1034
|
-
import { Trans, t } from
|
1038
|
+
import { Trans, t } from "@lingui/macro";
|
1035
1039
|
|
1036
1040
|
function MyComponent() {
|
1037
|
-
const foo =
|
1041
|
+
const foo = "bar";
|
1038
1042
|
return (
|
1039
1043
|
<div aria-label={t`Account ${foo}`}>
|
1040
1044
|
<Trans>My Translation {foo}</Trans>
|
1041
1045
|
</div>
|
1042
|
-
)
|
1046
|
+
);
|
1043
1047
|
}
|
1044
1048
|
```
|
1045
1049
|
|
1046
1050
|
Needs to be replaced with:
|
1047
1051
|
|
1048
1052
|
```tsx
|
1049
|
-
import { Trans } from
|
1050
|
-
import { i18n } from
|
1053
|
+
import { Trans } from "@lingui/react";
|
1054
|
+
import { i18n } from "@lingui/core";
|
1051
1055
|
|
1052
1056
|
function MyComponent() {
|
1053
|
-
const foo =
|
1057
|
+
const foo = "bar";
|
1054
1058
|
return (
|
1055
1059
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
1056
|
-
<Trans key=
|
1060
|
+
<Trans key="My Translation {foo}" values={{ foo }}></Trans>
|
1057
1061
|
</div>
|
1058
|
-
)
|
1062
|
+
);
|
1059
1063
|
}
|
1060
1064
|
```
|
1061
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
|
}
|