@graphcommerce/next-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 +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Change Log
|
|
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
|
|
@@ -1576,31 +1578,31 @@
|
|
|
1576
1578
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
1577
1579
|
|
|
1578
1580
|
```tsx
|
|
1579
|
-
import { Trans, t } from
|
|
1581
|
+
import { Trans, t } from "@lingui/macro";
|
|
1580
1582
|
|
|
1581
1583
|
function MyComponent() {
|
|
1582
|
-
const foo =
|
|
1584
|
+
const foo = "bar";
|
|
1583
1585
|
return (
|
|
1584
1586
|
<div aria-label={t`Account ${foo}`}>
|
|
1585
1587
|
<Trans>My Translation {foo}</Trans>
|
|
1586
1588
|
</div>
|
|
1587
|
-
)
|
|
1589
|
+
);
|
|
1588
1590
|
}
|
|
1589
1591
|
```
|
|
1590
1592
|
|
|
1591
1593
|
Needs to be replaced with:
|
|
1592
1594
|
|
|
1593
1595
|
```tsx
|
|
1594
|
-
import { Trans } from
|
|
1595
|
-
import { i18n } from
|
|
1596
|
+
import { Trans } from "@lingui/react";
|
|
1597
|
+
import { i18n } from "@lingui/core";
|
|
1596
1598
|
|
|
1597
1599
|
function MyComponent() {
|
|
1598
|
-
const foo =
|
|
1600
|
+
const foo = "bar";
|
|
1599
1601
|
return (
|
|
1600
1602
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
|
1601
|
-
<Trans key=
|
|
1603
|
+
<Trans key="My Translation {foo}" values={{ foo }}></Trans>
|
|
1602
1604
|
</div>
|
|
1603
|
-
)
|
|
1605
|
+
);
|
|
1604
1606
|
}
|
|
1605
1607
|
```
|
|
1606
1608
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/next-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": {
|
|
@@ -20,26 +20,26 @@
|
|
|
20
20
|
"react-is": "^18.2.0"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@types/cookie": "^0.
|
|
23
|
+
"@types/cookie": "^0.6.0",
|
|
24
24
|
"@types/react-is": "^18.2.4",
|
|
25
25
|
"schema-dts": "^1.1.2",
|
|
26
|
-
"typescript": "5.
|
|
26
|
+
"typescript": "5.3.3"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
|
-
"@graphcommerce/eslint-config-pwa": "^7.1.0-canary.
|
|
30
|
-
"@graphcommerce/framer-next-pages": "^7.1.0-canary.
|
|
31
|
-
"@graphcommerce/framer-scroller": "^7.1.0-canary.
|
|
32
|
-
"@graphcommerce/framer-utils": "^7.1.0-canary.
|
|
33
|
-
"@graphcommerce/image": "^7.1.0-canary.
|
|
34
|
-
"@graphcommerce/prettier-config-pwa": "^7.1.0-canary.
|
|
35
|
-
"@graphcommerce/typescript-config-pwa": "^7.1.0-canary.
|
|
29
|
+
"@graphcommerce/eslint-config-pwa": "^7.1.0-canary.66",
|
|
30
|
+
"@graphcommerce/framer-next-pages": "^7.1.0-canary.66",
|
|
31
|
+
"@graphcommerce/framer-scroller": "^7.1.0-canary.66",
|
|
32
|
+
"@graphcommerce/framer-utils": "^7.1.0-canary.66",
|
|
33
|
+
"@graphcommerce/image": "^7.1.0-canary.66",
|
|
34
|
+
"@graphcommerce/prettier-config-pwa": "^7.1.0-canary.66",
|
|
35
|
+
"@graphcommerce/typescript-config-pwa": "^7.1.0-canary.66",
|
|
36
36
|
"@lingui/core": "^4.2.1",
|
|
37
37
|
"@lingui/macro": "^4.2.1",
|
|
38
38
|
"@lingui/react": "^4.2.1",
|
|
39
39
|
"@mui/lab": "^5.0.0-alpha.68",
|
|
40
40
|
"@mui/material": "^5.10.16",
|
|
41
41
|
"framer-motion": "^10.0.0",
|
|
42
|
-
"next": "
|
|
42
|
+
"next": "*",
|
|
43
43
|
"react": "^18.2.0",
|
|
44
44
|
"react-dom": "^18.2.0"
|
|
45
45
|
}
|