@graphcommerce/next-ui 7.1.0-canary.65 → 7.1.0-canary.67
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 +17 -8
- package/Overlay/components/index.ts +1 -0
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 7.1.0-canary.67
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2108](https://github.com/graphcommerce-org/graphcommerce/pull/2108) [`7fc4bb9`](https://github.com/graphcommerce-org/graphcommerce/commit/7fc4bb925c59da46961c9656a2a67b37a9c2d652) - Removed the 'NoSSR' functionality from `<WaitForQueries/>` component as it slows down rendering. The 'feature' was necessary for the following use case: When hydrating a component that was server rendered and was living inside a `<Suspense />` component. It would cause an hydration error and this was the workaround. With useSuspenseQuery and React 18, this problem will not occur.
|
|
8
|
+
([@StefanAngenent](https://github.com/StefanAngenent))
|
|
9
|
+
|
|
10
|
+
## 7.1.0-canary.66
|
|
11
|
+
|
|
3
12
|
## 7.1.0-canary.65
|
|
4
13
|
|
|
5
14
|
## 7.1.0-canary.64
|
|
@@ -1576,31 +1585,31 @@
|
|
|
1576
1585
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
1577
1586
|
|
|
1578
1587
|
```tsx
|
|
1579
|
-
import { Trans, t } from
|
|
1588
|
+
import { Trans, t } from "@lingui/macro";
|
|
1580
1589
|
|
|
1581
1590
|
function MyComponent() {
|
|
1582
|
-
const foo =
|
|
1591
|
+
const foo = "bar";
|
|
1583
1592
|
return (
|
|
1584
1593
|
<div aria-label={t`Account ${foo}`}>
|
|
1585
1594
|
<Trans>My Translation {foo}</Trans>
|
|
1586
1595
|
</div>
|
|
1587
|
-
)
|
|
1596
|
+
);
|
|
1588
1597
|
}
|
|
1589
1598
|
```
|
|
1590
1599
|
|
|
1591
1600
|
Needs to be replaced with:
|
|
1592
1601
|
|
|
1593
1602
|
```tsx
|
|
1594
|
-
import { Trans } from
|
|
1595
|
-
import { i18n } from
|
|
1603
|
+
import { Trans } from "@lingui/react";
|
|
1604
|
+
import { i18n } from "@lingui/core";
|
|
1596
1605
|
|
|
1597
1606
|
function MyComponent() {
|
|
1598
|
-
const foo =
|
|
1607
|
+
const foo = "bar";
|
|
1599
1608
|
return (
|
|
1600
1609
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
|
1601
|
-
<Trans key=
|
|
1610
|
+
<Trans key="My Translation {foo}" values={{ foo }}></Trans>
|
|
1602
1611
|
</div>
|
|
1603
|
-
)
|
|
1612
|
+
);
|
|
1604
1613
|
}
|
|
1605
1614
|
```
|
|
1606
1615
|
|
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.67",
|
|
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.67",
|
|
30
|
+
"@graphcommerce/framer-next-pages": "^7.1.0-canary.67",
|
|
31
|
+
"@graphcommerce/framer-scroller": "^7.1.0-canary.67",
|
|
32
|
+
"@graphcommerce/framer-utils": "^7.1.0-canary.67",
|
|
33
|
+
"@graphcommerce/image": "^7.1.0-canary.67",
|
|
34
|
+
"@graphcommerce/prettier-config-pwa": "^7.1.0-canary.67",
|
|
35
|
+
"@graphcommerce/typescript-config-pwa": "^7.1.0-canary.67",
|
|
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
|
}
|