@graphcommerce/ecommerce-ui 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 +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# @graphcommerce/ecommerce-ui
|
|
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
|
|
@@ -1066,31 +1070,31 @@
|
|
|
1066
1070
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
1067
1071
|
|
|
1068
1072
|
```tsx
|
|
1069
|
-
import { Trans, t } from
|
|
1073
|
+
import { Trans, t } from "@lingui/macro";
|
|
1070
1074
|
|
|
1071
1075
|
function MyComponent() {
|
|
1072
|
-
const foo =
|
|
1076
|
+
const foo = "bar";
|
|
1073
1077
|
return (
|
|
1074
1078
|
<div aria-label={t`Account ${foo}`}>
|
|
1075
1079
|
<Trans>My Translation {foo}</Trans>
|
|
1076
1080
|
</div>
|
|
1077
|
-
)
|
|
1081
|
+
);
|
|
1078
1082
|
}
|
|
1079
1083
|
```
|
|
1080
1084
|
|
|
1081
1085
|
Needs to be replaced with:
|
|
1082
1086
|
|
|
1083
1087
|
```tsx
|
|
1084
|
-
import { Trans } from
|
|
1085
|
-
import { i18n } from
|
|
1088
|
+
import { Trans } from "@lingui/react";
|
|
1089
|
+
import { i18n } from "@lingui/core";
|
|
1086
1090
|
|
|
1087
1091
|
function MyComponent() {
|
|
1088
|
-
const foo =
|
|
1092
|
+
const foo = "bar";
|
|
1089
1093
|
return (
|
|
1090
1094
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
|
1091
|
-
<Trans key=
|
|
1095
|
+
<Trans key="My Translation {foo}" values={{ foo }}></Trans>
|
|
1092
1096
|
</div>
|
|
1093
|
-
)
|
|
1097
|
+
);
|
|
1094
1098
|
}
|
|
1095
1099
|
```
|
|
1096
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
|
}
|