next-intlayer 7.5.0 → 7.5.1
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _intlayer_types0 from "@intlayer/types";
|
|
2
2
|
import { LocalesValues } from "@intlayer/types";
|
|
3
3
|
|
|
4
4
|
//#region src/client/useLocale.d.ts
|
|
@@ -9,9 +9,9 @@ declare const useLocale: ({
|
|
|
9
9
|
onChange
|
|
10
10
|
}?: UseLocaleProps) => {
|
|
11
11
|
pathWithoutLocale: string;
|
|
12
|
-
locale:
|
|
13
|
-
defaultLocale:
|
|
14
|
-
availableLocales:
|
|
12
|
+
locale: _intlayer_types0.DeclaredLocales;
|
|
13
|
+
defaultLocale: _intlayer_types0.DeclaredLocales;
|
|
14
|
+
availableLocales: _intlayer_types0.DeclaredLocales[];
|
|
15
15
|
setLocale: (locale: LocalesValues) => void;
|
|
16
16
|
};
|
|
17
17
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLocale.d.ts","names":[],"sources":["../../../src/client/useLocale.ts"],"sourcesContent":[],"mappings":";;;;KAQK,cAAA;4CACuC;;AADvC,cAkBQ,SAlBM,
|
|
1
|
+
{"version":3,"file":"useLocale.d.ts","names":[],"sources":["../../../src/client/useLocale.ts"],"sourcesContent":[],"mappings":";;;;KAQK,cAAA;4CACuC;;AADvC,cAkBQ,SAlBM,EACyB,CAAA;EAAA;AAAa,CAAA,CAAA,EAiBjB,cAjBiB,EAAA,GAAA;EAiB5C,iBAiCZ,EAAA,MAAA;EAjCyB,MAAA,EAAiC,gBAAA,CAAA,eAAjC;EAAc,aAAA,kCAAA;EAAmB,gBAAA,oCAAA"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _intlayer_types3 from "@intlayer/types";
|
|
2
2
|
import { LocalesValues } from "@intlayer/types";
|
|
3
3
|
|
|
4
4
|
//#region src/client/useLocalePageRouter.d.ts
|
|
5
5
|
declare const useLocalePageRouter: () => {
|
|
6
6
|
pathWithoutLocale: string;
|
|
7
|
-
locale:
|
|
8
|
-
defaultLocale:
|
|
9
|
-
availableLocales:
|
|
7
|
+
locale: _intlayer_types3.DeclaredLocales;
|
|
8
|
+
defaultLocale: _intlayer_types3.DeclaredLocales;
|
|
9
|
+
availableLocales: _intlayer_types3.DeclaredLocales[];
|
|
10
10
|
setLocale: (locale: LocalesValues) => void;
|
|
11
11
|
};
|
|
12
12
|
//#endregion
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _intlayer_types2 from "@intlayer/types";
|
|
2
2
|
|
|
3
3
|
//#region src/generateStaticParams.d.ts
|
|
4
4
|
declare const generateStaticParams: () => {
|
|
5
|
-
locale:
|
|
5
|
+
locale: _intlayer_types2.Locale;
|
|
6
6
|
}[];
|
|
7
7
|
//#endregion
|
|
8
8
|
export { generateStaticParams };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "next-intlayer",
|
|
3
|
-
"version": "7.5.
|
|
3
|
+
"version": "7.5.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Simplify internationalization i18n in Next.js with context providers, hooks, locale detection, and multilingual content integration.",
|
|
6
6
|
"keywords": [
|
|
@@ -118,15 +118,15 @@
|
|
|
118
118
|
"typecheck": "tsc --noEmit --project tsconfig.types.json"
|
|
119
119
|
},
|
|
120
120
|
"dependencies": {
|
|
121
|
-
"@intlayer/chokidar": "7.5.
|
|
122
|
-
"@intlayer/config": "7.5.
|
|
123
|
-
"@intlayer/core": "7.5.
|
|
124
|
-
"@intlayer/dictionaries-entry": "7.5.
|
|
125
|
-
"@intlayer/types": "7.5.
|
|
126
|
-
"@intlayer/webpack": "7.5.
|
|
121
|
+
"@intlayer/chokidar": "7.5.1",
|
|
122
|
+
"@intlayer/config": "7.5.1",
|
|
123
|
+
"@intlayer/core": "7.5.1",
|
|
124
|
+
"@intlayer/dictionaries-entry": "7.5.1",
|
|
125
|
+
"@intlayer/types": "7.5.1",
|
|
126
|
+
"@intlayer/webpack": "7.5.1",
|
|
127
127
|
"defu": "6.1.4",
|
|
128
128
|
"node-loader": "2.1.0",
|
|
129
|
-
"react-intlayer": "7.5.
|
|
129
|
+
"react-intlayer": "7.5.1"
|
|
130
130
|
},
|
|
131
131
|
"devDependencies": {
|
|
132
132
|
"@types/node": "25.0.3",
|