vanilla-intlayer 8.12.4 → 8.12.5-canary.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.
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
2
|
-
import * as _$
|
|
2
|
+
import * as _$_intlayer_types0 from "@intlayer/types";
|
|
3
3
|
|
|
4
4
|
//#region src/client/useLocaleStorage.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Get the current locale from storage (cookie or localStorage).
|
|
7
7
|
*/
|
|
8
|
-
declare const localeInStorage: _$
|
|
8
|
+
declare const localeInStorage: _$_intlayer_types0.Locale;
|
|
9
9
|
/**
|
|
10
10
|
* @deprecated Use localeInStorage instead.
|
|
11
11
|
*/
|
|
12
|
-
declare const localeCookie: _$
|
|
12
|
+
declare const localeCookie: _$_intlayer_types0.Locale;
|
|
13
13
|
/**
|
|
14
14
|
* Persist the locale to storage (cookie and/or localStorage).
|
|
15
15
|
*/
|
|
@@ -22,14 +22,14 @@ declare const setLocaleCookie: (locale: LocalesValues, isCookieEnabled: boolean)
|
|
|
22
22
|
* Returns the current locale from storage and a setter.
|
|
23
23
|
*/
|
|
24
24
|
declare const useLocaleStorage: (isCookieEnabled?: boolean) => {
|
|
25
|
-
localeStorage: _$
|
|
25
|
+
localeStorage: _$_intlayer_types0.Locale;
|
|
26
26
|
setLocaleStorage: (locale: LocalesValues) => void;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
29
|
* @deprecated Use useLocaleStorage instead.
|
|
30
30
|
*/
|
|
31
31
|
declare const useLocaleCookie: (isCookieEnabled?: boolean) => {
|
|
32
|
-
localeStorage: _$
|
|
32
|
+
localeStorage: _$_intlayer_types0.Locale;
|
|
33
33
|
setLocaleStorage: (locale: LocalesValues) => void;
|
|
34
34
|
};
|
|
35
35
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLocaleStorage.d.ts","names":[],"sources":["../../../src/client/useLocaleStorage.ts"],"mappings":";;;;;;;cAWa,eAAA,EAAkE,
|
|
1
|
+
{"version":3,"file":"useLocaleStorage.d.ts","names":[],"sources":["../../../src/client/useLocaleStorage.ts"],"mappings":";;;;;;;cAWa,eAAA,EAAkE,kBAAA,CAAnD,MAAA;;;;cAKf,YAAA,EAA8B,kBAAA,CAAlB,MAAA;AAAzB;;;AAAA,cAKa,kBAAA,GACX,MAAA,EAAQ,aAAA,EACR,eAAA;;AAFF;;cAYa,eAAA,GAAe,MAAA,EAXlB,aAAA,EAAa,eAAA;;;;cAgBV,gBAAA,GAAoB,eAAA;iBAUhC,kBAAA,CAAA,MAAA;6BAAA,aAAA;AAAA;;;;cAKY,eAAA,GAAe,eAAA;iBAAmB,kBAAA,CAAA,MAAA;6BAAA,aAAA;AAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vanilla-intlayer",
|
|
3
|
-
"version": "8.12.
|
|
3
|
+
"version": "8.12.5-canary.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Easily internationalize i18n your Vanilla JS, HTML, and PHP applications with type-safe multilingual content management.",
|
|
6
6
|
"keywords": [
|
|
@@ -101,11 +101,11 @@
|
|
|
101
101
|
"typecheck": "tsc --noEmit --project tsconfig.types.json"
|
|
102
102
|
},
|
|
103
103
|
"dependencies": {
|
|
104
|
-
"@intlayer/api": "8.12.
|
|
105
|
-
"@intlayer/config": "8.12.
|
|
106
|
-
"@intlayer/core": "8.12.
|
|
107
|
-
"@intlayer/editor": "8.12.
|
|
108
|
-
"@intlayer/types": "8.12.
|
|
104
|
+
"@intlayer/api": "8.12.5-canary.0",
|
|
105
|
+
"@intlayer/config": "8.12.5-canary.0",
|
|
106
|
+
"@intlayer/core": "8.12.5-canary.0",
|
|
107
|
+
"@intlayer/editor": "8.12.5-canary.0",
|
|
108
|
+
"@intlayer/types": "8.12.5-canary.0"
|
|
109
109
|
},
|
|
110
110
|
"devDependencies": {
|
|
111
111
|
"@types/node": "25.9.2",
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"vitest": "4.1.8"
|
|
119
119
|
},
|
|
120
120
|
"peerDependencies": {
|
|
121
|
-
"intlayer": "8.12.
|
|
121
|
+
"intlayer": "8.12.5-canary.0"
|
|
122
122
|
},
|
|
123
123
|
"peerDependenciesMeta": {
|
|
124
124
|
"intlayer": {
|