@graphcommerce/magento-search 8.0.0-canary.40 → 8.0.0-canary.70
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 +58 -10
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
@@ -1,8 +1,56 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
-
## 8.0.0-canary.
|
3
|
+
## 8.0.0-canary.70
|
4
4
|
|
5
|
-
##
|
5
|
+
## 8.0.0-canary.69
|
6
|
+
|
7
|
+
## 7.1.0-canary.68
|
8
|
+
|
9
|
+
## 7.1.0-canary.67
|
10
|
+
|
11
|
+
## 7.1.0-canary.66
|
12
|
+
|
13
|
+
## 7.1.0-canary.65
|
14
|
+
|
15
|
+
## 7.1.0-canary.64
|
16
|
+
|
17
|
+
## 7.1.0-canary.63
|
18
|
+
|
19
|
+
## 7.1.0-canary.62
|
20
|
+
|
21
|
+
## 7.1.0-canary.61
|
22
|
+
|
23
|
+
## 7.1.0-canary.60
|
24
|
+
|
25
|
+
## 7.1.0-canary.59
|
26
|
+
|
27
|
+
## 7.1.0-canary.58
|
28
|
+
|
29
|
+
## 7.1.0-canary.57
|
30
|
+
|
31
|
+
## 7.1.0-canary.56
|
32
|
+
|
33
|
+
## 7.1.0-canary.55
|
34
|
+
|
35
|
+
## 7.1.0-canary.54
|
36
|
+
|
37
|
+
## 7.1.0-canary.53
|
38
|
+
|
39
|
+
## 7.1.0-canary.52
|
40
|
+
|
41
|
+
## 7.1.0-canary.51
|
42
|
+
|
43
|
+
## 7.1.0-canary.50
|
44
|
+
|
45
|
+
## 7.1.0-canary.49
|
46
|
+
|
47
|
+
## 7.1.0-canary.48
|
48
|
+
|
49
|
+
## 7.1.0-canary.47
|
50
|
+
|
51
|
+
## 7.1.0-canary.46
|
52
|
+
|
53
|
+
## 7.1.0-canary.45
|
6
54
|
|
7
55
|
## 7.1.0-canary.38
|
8
56
|
|
@@ -995,31 +1043,31 @@
|
|
995
1043
|
All occurences of `<Trans>` and `t` need to be replaced:
|
996
1044
|
|
997
1045
|
```tsx
|
998
|
-
import { Trans, t } from
|
1046
|
+
import { Trans, t } from "@lingui/macro";
|
999
1047
|
|
1000
1048
|
function MyComponent() {
|
1001
|
-
const foo =
|
1049
|
+
const foo = "bar";
|
1002
1050
|
return (
|
1003
1051
|
<div aria-label={t`Account ${foo}`}>
|
1004
1052
|
<Trans>My Translation {foo}</Trans>
|
1005
1053
|
</div>
|
1006
|
-
)
|
1054
|
+
);
|
1007
1055
|
}
|
1008
1056
|
```
|
1009
1057
|
|
1010
1058
|
Needs to be replaced with:
|
1011
1059
|
|
1012
1060
|
```tsx
|
1013
|
-
import { Trans } from
|
1014
|
-
import { i18n } from
|
1061
|
+
import { Trans } from "@lingui/react";
|
1062
|
+
import { i18n } from "@lingui/core";
|
1015
1063
|
|
1016
1064
|
function MyComponent() {
|
1017
|
-
const foo =
|
1065
|
+
const foo = "bar";
|
1018
1066
|
return (
|
1019
1067
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
1020
|
-
<Trans key=
|
1068
|
+
<Trans key="My Translation {foo}" values={{ foo }}></Trans>
|
1021
1069
|
</div>
|
1022
|
-
)
|
1070
|
+
);
|
1023
1071
|
}
|
1024
1072
|
```
|
1025
1073
|
|
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": "8.0.0-canary.
|
5
|
+
"version": "8.0.0-canary.70",
|
6
6
|
"sideEffects": false,
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
8
8
|
"eslintConfig": {
|
@@ -12,15 +12,15 @@
|
|
12
12
|
}
|
13
13
|
},
|
14
14
|
"peerDependencies": {
|
15
|
-
"@graphcommerce/ecommerce-ui": "8.0.0-canary.
|
16
|
-
"@graphcommerce/eslint-config-pwa": "8.0.0-canary.
|
17
|
-
"@graphcommerce/graphql": "8.0.0-canary.
|
18
|
-
"@graphcommerce/image": "8.0.0-canary.
|
19
|
-
"@graphcommerce/magento-product": "8.0.0-canary.
|
20
|
-
"@graphcommerce/next-ui": "8.0.0-canary.
|
21
|
-
"@graphcommerce/prettier-config-pwa": "8.0.0-canary.
|
22
|
-
"@graphcommerce/react-hook-form": "8.0.0-canary.
|
23
|
-
"@graphcommerce/typescript-config-pwa": "8.0.0-canary.
|
15
|
+
"@graphcommerce/ecommerce-ui": "^8.0.0-canary.70",
|
16
|
+
"@graphcommerce/eslint-config-pwa": "^8.0.0-canary.70",
|
17
|
+
"@graphcommerce/graphql": "^8.0.0-canary.70",
|
18
|
+
"@graphcommerce/image": "^8.0.0-canary.70",
|
19
|
+
"@graphcommerce/magento-product": "^8.0.0-canary.70",
|
20
|
+
"@graphcommerce/next-ui": "^8.0.0-canary.70",
|
21
|
+
"@graphcommerce/prettier-config-pwa": "^8.0.0-canary.70",
|
22
|
+
"@graphcommerce/react-hook-form": "^8.0.0-canary.70",
|
23
|
+
"@graphcommerce/typescript-config-pwa": "^8.0.0-canary.70",
|
24
24
|
"@lingui/core": "^4.2.1",
|
25
25
|
"@lingui/macro": "^4.2.1",
|
26
26
|
"@lingui/react": "^4.2.1",
|