@orderly.network/i18n 3.1.8 → 3.1.9-alpha.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/dist/{constant-D6teljvV.d.mts → constant-CkciSwqL.d.mts} +1 -1
- package/dist/{constant-D6teljvV.d.ts → constant-CkciSwqL.d.ts} +1 -1
- package/dist/constant.d.mts +1 -1
- package/dist/constant.d.ts +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/utils.d.mts +1 -1
- package/dist/utils.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1402,4 +1402,4 @@ declare const defaultNS = "translation";
|
|
|
1402
1402
|
declare const i18nLocalStorageKey = "orderly_i18nLng";
|
|
1403
1403
|
declare const i18nCookieKey = "orderly_i18nLng";
|
|
1404
1404
|
|
|
1405
|
-
export { type AsyncResources as A, type LocaleCode as L, type PopupMode as P, type Resources as R, type LanguageContextState as a, type Language as b,
|
|
1405
|
+
export { type AsyncResources as A, type LocaleCode as L, type PopupMode as P, type Resources as R, type LanguageContextState as a, type Language as b, LanguageContext as c, LocaleEnum as d, type LocaleMessages as e, type PopupProps as f, defaultLanguages as g, defaultLng as h, defaultNS as i, en as j, i18nCookieKey as k, i18nLocalStorageKey as l, useLanguageContext as u };
|
|
@@ -1402,4 +1402,4 @@ declare const defaultNS = "translation";
|
|
|
1402
1402
|
declare const i18nLocalStorageKey = "orderly_i18nLng";
|
|
1403
1403
|
declare const i18nCookieKey = "orderly_i18nLng";
|
|
1404
1404
|
|
|
1405
|
-
export { type AsyncResources as A, type LocaleCode as L, type PopupMode as P, type Resources as R, type LanguageContextState as a, type Language as b,
|
|
1405
|
+
export { type AsyncResources as A, type LocaleCode as L, type PopupMode as P, type Resources as R, type LanguageContextState as a, type Language as b, LanguageContext as c, LocaleEnum as d, type LocaleMessages as e, type PopupProps as f, defaultLanguages as g, defaultLng as h, defaultNS as i, en as j, i18nCookieKey as k, i18nLocalStorageKey as l, useLanguageContext as u };
|
package/dist/constant.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { d as LocaleEnum, g as defaultLanguages, h as defaultLng, i as defaultNS, k as i18nCookieKey, l as i18nLocalStorageKey } from './constant-CkciSwqL.mjs';
|
|
2
2
|
import 'react';
|
package/dist/constant.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { d as LocaleEnum, g as defaultLanguages, h as defaultLng, i as defaultNS, k as i18nCookieKey, l as i18nLocalStorageKey } from './constant-CkciSwqL.js';
|
|
2
2
|
import 'react';
|
package/dist/index.d.mts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { R as Resources, A as AsyncResources, L as LocaleCode, a as LanguageContextState } from './constant-
|
|
2
|
-
export { b as Language,
|
|
1
|
+
import { R as Resources, A as AsyncResources, L as LocaleCode, a as LanguageContextState } from './constant-CkciSwqL.mjs';
|
|
2
|
+
export { b as Language, c as LanguageContext, d as LocaleEnum, e as LocaleMessages, P as PopupMode, f as PopupProps, g as defaultLanguages, h as defaultLng, i as defaultNS, j as en, k as i18nCookieKey, l as i18nLocalStorageKey, u as useLanguageContext } from './constant-CkciSwqL.mjs';
|
|
3
3
|
import * as react_i18next from 'react-i18next';
|
|
4
4
|
import { FallbackNs, UseTranslationOptions } from 'react-i18next';
|
|
5
5
|
export * from 'react-i18next';
|
|
6
6
|
import * as i18next from 'i18next';
|
|
7
7
|
import { InitOptions, FlatNamespace, KeyPrefix } from 'i18next';
|
|
8
8
|
export { createInstance, default as i18next } from 'i18next';
|
|
9
|
-
import {
|
|
9
|
+
import { FC, PropsWithChildren } from 'react';
|
|
10
10
|
import { $Tuple } from 'react-i18next/helpers';
|
|
11
11
|
export { generatePath, getLocalePathFromPathname, isRTLDirectionLanguage, parseI18nLang, removeLangPrefix, syncDocumentDirection } from './utils.mjs';
|
|
12
12
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { R as Resources, A as AsyncResources, L as LocaleCode, a as LanguageContextState } from './constant-
|
|
2
|
-
export { b as Language,
|
|
1
|
+
import { R as Resources, A as AsyncResources, L as LocaleCode, a as LanguageContextState } from './constant-CkciSwqL.js';
|
|
2
|
+
export { b as Language, c as LanguageContext, d as LocaleEnum, e as LocaleMessages, P as PopupMode, f as PopupProps, g as defaultLanguages, h as defaultLng, i as defaultNS, j as en, k as i18nCookieKey, l as i18nLocalStorageKey, u as useLanguageContext } from './constant-CkciSwqL.js';
|
|
3
3
|
import * as react_i18next from 'react-i18next';
|
|
4
4
|
import { FallbackNs, UseTranslationOptions } from 'react-i18next';
|
|
5
5
|
export * from 'react-i18next';
|
|
6
6
|
import * as i18next from 'i18next';
|
|
7
7
|
import { InitOptions, FlatNamespace, KeyPrefix } from 'i18next';
|
|
8
8
|
export { createInstance, default as i18next } from 'i18next';
|
|
9
|
-
import {
|
|
9
|
+
import { FC, PropsWithChildren } from 'react';
|
|
10
10
|
import { $Tuple } from 'react-i18next/helpers';
|
|
11
11
|
export { generatePath, getLocalePathFromPathname, isRTLDirectionLanguage, parseI18nLang, removeLangPrefix, syncDocumentDirection } from './utils.js';
|
|
12
12
|
|
package/dist/utils.d.mts
CHANGED
package/dist/utils.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orderly.network/i18n",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.9-alpha.0",
|
|
4
4
|
"description": "Internationalization for orderly sdk",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"yargs": "^17.7.2"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@babel/preset-env": "^7.
|
|
39
|
+
"@babel/preset-env": "^7.29.7",
|
|
40
40
|
"@babel/preset-react": "^7.22.5",
|
|
41
41
|
"@babel/preset-typescript": "^7.22.5",
|
|
42
42
|
"@types/react": "^18.3.2",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"react-dom": "^18.2.0",
|
|
51
51
|
"tsup": "^8.5.1",
|
|
52
52
|
"typescript": "^5.1.6",
|
|
53
|
-
"tsconfig": "1.1.
|
|
53
|
+
"tsconfig": "1.1.9-alpha.0"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"react": ">=18",
|