@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.
@@ -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, type PopupProps as c, LanguageContext as d, type LocaleMessages as e, LocaleEnum as f, defaultLanguages as g, defaultLng as h, defaultNS as i, i18nLocalStorageKey as j, i18nCookieKey as k, en as l, useLanguageContext as u };
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, type PopupProps as c, LanguageContext as d, type LocaleMessages as e, LocaleEnum as f, defaultLanguages as g, defaultLng as h, defaultNS as i, i18nLocalStorageKey as j, i18nCookieKey as k, en as l, useLanguageContext as u };
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 };
@@ -1,2 +1,2 @@
1
- export { f as LocaleEnum, g as defaultLanguages, h as defaultLng, i as defaultNS, k as i18nCookieKey, j as i18nLocalStorageKey } from './constant-D6teljvV.mjs';
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';
@@ -1,2 +1,2 @@
1
- export { f as LocaleEnum, g as defaultLanguages, h as defaultLng, i as defaultNS, k as i18nCookieKey, j as i18nLocalStorageKey } from './constant-D6teljvV.js';
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-D6teljvV.mjs';
2
- export { b as Language, d as LanguageContext, f as LocaleEnum, e as LocaleMessages, P as PopupMode, c as PopupProps, g as defaultLanguages, h as defaultLng, i as defaultNS, l as en, k as i18nCookieKey, j as i18nLocalStorageKey, u as useLanguageContext } from './constant-D6teljvV.mjs';
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 { PropsWithChildren, FC } from 'react';
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-D6teljvV.js';
2
- export { b as Language, d as LanguageContext, f as LocaleEnum, e as LocaleMessages, P as PopupMode, c as PopupProps, g as defaultLanguages, h as defaultLng, i as defaultNS, l as en, k as i18nCookieKey, j as i18nLocalStorageKey, u as useLanguageContext } from './constant-D6teljvV.js';
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 { PropsWithChildren, FC } from 'react';
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
@@ -1,4 +1,4 @@
1
- import { L as LocaleCode } from './constant-D6teljvV.mjs';
1
+ import { L as LocaleCode } from './constant-CkciSwqL.mjs';
2
2
  import 'react';
3
3
 
4
4
  /**
package/dist/utils.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { L as LocaleCode } from './constant-D6teljvV.js';
1
+ import { L as LocaleCode } from './constant-CkciSwqL.js';
2
2
  import 'react';
3
3
 
4
4
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orderly.network/i18n",
3
- "version": "3.1.8",
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.22.9",
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.8"
53
+ "tsconfig": "1.1.9-alpha.0"
54
54
  },
55
55
  "peerDependencies": {
56
56
  "react": ">=18",