@verbaly/next 0.24.0 → 0.26.0
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/README.md +2 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -44,12 +44,13 @@ export default withVerbaly({}, { locales: ['en', 'es', 'pt'] });
|
|
|
44
44
|
// app/layout.tsx
|
|
45
45
|
import { getRequestLocale, getVerbalyProps } from '@verbaly/next/server';
|
|
46
46
|
import { VerbalyProvider } from '@verbaly/next/client';
|
|
47
|
+
import { localeDirection } from 'verbaly';
|
|
47
48
|
|
|
48
49
|
export default async function RootLayout({ children }: { children: React.ReactNode }) {
|
|
49
50
|
const locale = await getRequestLocale();
|
|
50
51
|
const props = await getVerbalyProps();
|
|
51
52
|
return (
|
|
52
|
-
<html lang={locale}>
|
|
53
|
+
<html lang={locale} dir={localeDirection(locale)}>
|
|
53
54
|
<body>
|
|
54
55
|
<VerbalyProvider {...props}>{children}</VerbalyProvider>
|
|
55
56
|
</body>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verbaly/next",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.0",
|
|
4
4
|
"description": "Next.js integration for Verbaly: App Router/RSC with per-request locale negotiation, Turbopack and webpack support, flash-free hydration.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"i18n",
|
|
@@ -64,13 +64,13 @@
|
|
|
64
64
|
"access": "public"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@verbaly/compiler": "^0.
|
|
67
|
+
"@verbaly/compiler": "^0.26.0"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"next": "^15.0.0 || ^16.0.0",
|
|
71
71
|
"react": "^18.0.0 || ^19.0.0",
|
|
72
|
-
"@verbaly/react": "^0.
|
|
73
|
-
"verbaly": "^0.
|
|
72
|
+
"@verbaly/react": "^0.26.0",
|
|
73
|
+
"verbaly": "^0.26.0"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@types/react": "^19.2.17",
|
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
"next": "^16.2.10",
|
|
80
80
|
"react": "^19.2.7",
|
|
81
81
|
"react-dom": "^19.2.7",
|
|
82
|
-
"verbaly": "0.
|
|
83
|
-
"
|
|
82
|
+
"@verbaly/react": "0.26.0",
|
|
83
|
+
"verbaly": "0.26.0"
|
|
84
84
|
},
|
|
85
85
|
"scripts": {
|
|
86
86
|
"build": "tsdown",
|