@graphcommerce/magento-search 7.1.0-canary.65 → 7.1.0-canary.67
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.67
|
4
|
+
|
5
|
+
## 7.1.0-canary.66
|
6
|
+
|
3
7
|
## 7.1.0-canary.65
|
4
8
|
|
5
9
|
## 7.1.0-canary.64
|
@@ -1033,31 +1037,31 @@
|
|
1033
1037
|
All occurences of `<Trans>` and `t` need to be replaced:
|
1034
1038
|
|
1035
1039
|
```tsx
|
1036
|
-
import { Trans, t } from
|
1040
|
+
import { Trans, t } from "@lingui/macro";
|
1037
1041
|
|
1038
1042
|
function MyComponent() {
|
1039
|
-
const foo =
|
1043
|
+
const foo = "bar";
|
1040
1044
|
return (
|
1041
1045
|
<div aria-label={t`Account ${foo}`}>
|
1042
1046
|
<Trans>My Translation {foo}</Trans>
|
1043
1047
|
</div>
|
1044
|
-
)
|
1048
|
+
);
|
1045
1049
|
}
|
1046
1050
|
```
|
1047
1051
|
|
1048
1052
|
Needs to be replaced with:
|
1049
1053
|
|
1050
1054
|
```tsx
|
1051
|
-
import { Trans } from
|
1052
|
-
import { i18n } from
|
1055
|
+
import { Trans } from "@lingui/react";
|
1056
|
+
import { i18n } from "@lingui/core";
|
1053
1057
|
|
1054
1058
|
function MyComponent() {
|
1055
|
-
const foo =
|
1059
|
+
const foo = "bar";
|
1056
1060
|
return (
|
1057
1061
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
1058
|
-
<Trans key=
|
1062
|
+
<Trans key="My Translation {foo}" values={{ foo }}></Trans>
|
1059
1063
|
</div>
|
1060
|
-
)
|
1064
|
+
);
|
1061
1065
|
}
|
1062
1066
|
```
|
1063
1067
|
|
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.67",
|
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.67",
|
16
|
+
"@graphcommerce/eslint-config-pwa": "^7.1.0-canary.67",
|
17
|
+
"@graphcommerce/graphql": "^7.1.0-canary.67",
|
18
|
+
"@graphcommerce/image": "^7.1.0-canary.67",
|
19
|
+
"@graphcommerce/magento-product": "^7.1.0-canary.67",
|
20
|
+
"@graphcommerce/next-ui": "^7.1.0-canary.67",
|
21
|
+
"@graphcommerce/prettier-config-pwa": "^7.1.0-canary.67",
|
22
|
+
"@graphcommerce/react-hook-form": "^7.1.0-canary.67",
|
23
|
+
"@graphcommerce/typescript-config-pwa": "^7.1.0-canary.67",
|
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
|
}
|