@graphcommerce/next-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 +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Change Log
|
|
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
|
|
@@ -1574,31 +1578,31 @@
|
|
|
1574
1578
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
1575
1579
|
|
|
1576
1580
|
```tsx
|
|
1577
|
-
import { Trans, t } from
|
|
1581
|
+
import { Trans, t } from "@lingui/macro";
|
|
1578
1582
|
|
|
1579
1583
|
function MyComponent() {
|
|
1580
|
-
const foo =
|
|
1584
|
+
const foo = "bar";
|
|
1581
1585
|
return (
|
|
1582
1586
|
<div aria-label={t`Account ${foo}`}>
|
|
1583
1587
|
<Trans>My Translation {foo}</Trans>
|
|
1584
1588
|
</div>
|
|
1585
|
-
)
|
|
1589
|
+
);
|
|
1586
1590
|
}
|
|
1587
1591
|
```
|
|
1588
1592
|
|
|
1589
1593
|
Needs to be replaced with:
|
|
1590
1594
|
|
|
1591
1595
|
```tsx
|
|
1592
|
-
import { Trans } from
|
|
1593
|
-
import { i18n } from
|
|
1596
|
+
import { Trans } from "@lingui/react";
|
|
1597
|
+
import { i18n } from "@lingui/core";
|
|
1594
1598
|
|
|
1595
1599
|
function MyComponent() {
|
|
1596
|
-
const foo =
|
|
1600
|
+
const foo = "bar";
|
|
1597
1601
|
return (
|
|
1598
1602
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
|
1599
|
-
<Trans key=
|
|
1603
|
+
<Trans key="My Translation {foo}" values={{ foo }}></Trans>
|
|
1600
1604
|
</div>
|
|
1601
|
-
)
|
|
1605
|
+
);
|
|
1602
1606
|
}
|
|
1603
1607
|
```
|
|
1604
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
|
}
|