@graphcommerce/ecommerce-ui 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 +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# @graphcommerce/ecommerce-ui
|
|
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
|
|
@@ -1068,31 +1070,31 @@
|
|
|
1068
1070
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
1069
1071
|
|
|
1070
1072
|
```tsx
|
|
1071
|
-
import { Trans, t } from
|
|
1073
|
+
import { Trans, t } from "@lingui/macro";
|
|
1072
1074
|
|
|
1073
1075
|
function MyComponent() {
|
|
1074
|
-
const foo =
|
|
1076
|
+
const foo = "bar";
|
|
1075
1077
|
return (
|
|
1076
1078
|
<div aria-label={t`Account ${foo}`}>
|
|
1077
1079
|
<Trans>My Translation {foo}</Trans>
|
|
1078
1080
|
</div>
|
|
1079
|
-
)
|
|
1081
|
+
);
|
|
1080
1082
|
}
|
|
1081
1083
|
```
|
|
1082
1084
|
|
|
1083
1085
|
Needs to be replaced with:
|
|
1084
1086
|
|
|
1085
1087
|
```tsx
|
|
1086
|
-
import { Trans } from
|
|
1087
|
-
import { i18n } from
|
|
1088
|
+
import { Trans } from "@lingui/react";
|
|
1089
|
+
import { i18n } from "@lingui/core";
|
|
1088
1090
|
|
|
1089
1091
|
function MyComponent() {
|
|
1090
|
-
const foo =
|
|
1092
|
+
const foo = "bar";
|
|
1091
1093
|
return (
|
|
1092
1094
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
|
1093
|
-
<Trans key=
|
|
1095
|
+
<Trans key="My Translation {foo}" values={{ foo }}></Trans>
|
|
1094
1096
|
</div>
|
|
1095
|
-
)
|
|
1097
|
+
);
|
|
1096
1098
|
}
|
|
1097
1099
|
```
|
|
1098
1100
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/ecommerce-ui",
|
|
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,18 +12,18 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@graphcommerce/eslint-config-pwa": "^7.1.0-canary.
|
|
16
|
-
"@graphcommerce/graphql": "^7.1.0-canary.
|
|
17
|
-
"@graphcommerce/next-ui": "^7.1.0-canary.
|
|
18
|
-
"@graphcommerce/prettier-config-pwa": "^7.1.0-canary.
|
|
19
|
-
"@graphcommerce/react-hook-form": "^7.1.0-canary.
|
|
20
|
-
"@graphcommerce/typescript-config-pwa": "^7.1.0-canary.
|
|
15
|
+
"@graphcommerce/eslint-config-pwa": "^7.1.0-canary.66",
|
|
16
|
+
"@graphcommerce/graphql": "^7.1.0-canary.66",
|
|
17
|
+
"@graphcommerce/next-ui": "^7.1.0-canary.66",
|
|
18
|
+
"@graphcommerce/prettier-config-pwa": "^7.1.0-canary.66",
|
|
19
|
+
"@graphcommerce/react-hook-form": "^7.1.0-canary.66",
|
|
20
|
+
"@graphcommerce/typescript-config-pwa": "^7.1.0-canary.66",
|
|
21
21
|
"@lingui/core": "^4.2.1",
|
|
22
22
|
"@lingui/macro": "^4.2.1",
|
|
23
23
|
"@lingui/react": "^4.2.1",
|
|
24
24
|
"@mui/material": "^5.10.16",
|
|
25
25
|
"framer-motion": "^10.0.0",
|
|
26
|
-
"next": "
|
|
26
|
+
"next": "*",
|
|
27
27
|
"react": "^18.2.0",
|
|
28
28
|
"react-dom": "^18.2.0"
|
|
29
29
|
}
|