gt-react-native 11.1.14 → 11.1.16
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/commonjs/index.js +6 -0
- package/dist/module/index.d.ts +1 -1
- package/dist/module/index.d.ts.map +1 -1
- package/dist/module/index.js +2 -2
- package/package.json +2 -2
- package/src/index.tsx +1 -0
package/dist/commonjs/index.js
CHANGED
|
@@ -112,6 +112,12 @@ Object.defineProperty(exports, "getFormatLocales", {
|
|
|
112
112
|
});
|
|
113
113
|
exports.getLocale = require_utils_getLocale.getLocale;
|
|
114
114
|
exports.getLocaleFromNativeStore = require_utils_nativeStore.getLocaleFromNativeStore;
|
|
115
|
+
Object.defineProperty(exports, "getLocaleProperties", {
|
|
116
|
+
enumerable: true,
|
|
117
|
+
get: function() {
|
|
118
|
+
return _generaltranslation_react_core_pure.getLocaleProperties;
|
|
119
|
+
}
|
|
120
|
+
});
|
|
115
121
|
Object.defineProperty(exports, "getLocales", {
|
|
116
122
|
enumerable: true,
|
|
117
123
|
get: function() {
|
package/dist/module/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export { Branch, Currency, DateTime, Derive, Num, Plural, RelativeTime, T, Var,
|
|
|
2
2
|
export { GTProvider } from './provider/GTProvider';
|
|
3
3
|
export { useCustomMapping, useDefaultLocale, useEnableI18n, useFormatLocales, useGT, useLocale, useLocaleDirection, useLocaleProperties, useLocales, useMessages, useRegion, useSetEnableI18n, useSetLocale, useSetRegion, useTranslations, } from '@generaltranslation/react-core/hooks';
|
|
4
4
|
export { useLocaleSelector, useRegionSelector } from './hooks/selectors';
|
|
5
|
-
export { createRenderPipeline, decodeMsg, decodeOptions, decodeVars, declareVar, derive, getDefaultLocale, getFormatLocales, getLocales, resolveCanonicalLocale, getReactI18nCache, getTranslationsSnapshot, getVersionId, gtFallback, mFallback, msg, setReactI18nCache, } from '@generaltranslation/react-core/pure';
|
|
5
|
+
export { createRenderPipeline, decodeMsg, decodeOptions, decodeVars, declareVar, derive, getDefaultLocale, getFormatLocales, getLocaleProperties, getLocales, resolveCanonicalLocale, getReactI18nCache, getTranslationsSnapshot, getVersionId, gtFallback, mFallback, msg, setReactI18nCache, } from '@generaltranslation/react-core/pure';
|
|
6
6
|
export { getLocaleFromNativeStore } from './utils/nativeStore';
|
|
7
7
|
export { getLocale } from './utils/getLocale';
|
|
8
8
|
export { initializeGT } from './setup/initializeGT';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,GAAG,EACH,MAAM,EACN,YAAY,EACZ,CAAC,EACD,GAAG,GACJ,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAGnD,OAAO,EACL,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,gBAAgB,EAChB,KAAK,EACL,SAAS,EACT,kBAAkB,EAClB,mBAAmB,EACnB,UAAU,EACV,WAAW,EACX,SAAS,EACT,gBAAgB,EAChB,YAAY,EACZ,YAAY,EACZ,eAAe,GAChB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAGzE,OAAO,EACL,oBAAoB,EACpB,SAAS,EACT,aAAa,EACb,UAAU,EACV,UAAU,EACV,MAAM,EACN,gBAAgB,EAChB,gBAAgB,EAChB,UAAU,EACV,sBAAsB,EACtB,iBAAiB,EACjB,uBAAuB,EACvB,YAAY,EACZ,UAAU,EACV,SAAS,EACT,GAAG,EACH,iBAAiB,GAClB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,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M,sBAAsB,CAAC;AAGpD,YAAY,EACV,oBAAoB,EACpB,yBAAyB,EACzB,cAAc,EACd,eAAe,GAChB,MAAM,qCAAqC,CAAC;AAC7C,YAAY,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,YAAY,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,YAAY,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC"}
|
package/dist/module/index.js
CHANGED
|
@@ -4,6 +4,6 @@ import { GTProvider } from "./provider/GTProvider.js";
|
|
|
4
4
|
import { useLocaleSelector, useRegionSelector } from "./hooks/selectors.js";
|
|
5
5
|
import { initializeGT } from "./setup/initializeGT.js";
|
|
6
6
|
import { Branch, Currency, DateTime, Derive, Num, Plural, RelativeTime, T, Var } from "@generaltranslation/react-core/components";
|
|
7
|
-
import { createRenderPipeline, declareVar, decodeMsg, decodeOptions, decodeVars, derive, getDefaultLocale, getFormatLocales, getLocales, getReactI18nCache, getTranslationsSnapshot, getVersionId, gtFallback, mFallback, msg, resolveCanonicalLocale, setReactI18nCache } from "@generaltranslation/react-core/pure";
|
|
7
|
+
import { createRenderPipeline, declareVar, decodeMsg, decodeOptions, decodeVars, derive, getDefaultLocale, getFormatLocales, getLocaleProperties, getLocales, getReactI18nCache, getTranslationsSnapshot, getVersionId, gtFallback, mFallback, msg, resolveCanonicalLocale, setReactI18nCache } from "@generaltranslation/react-core/pure";
|
|
8
8
|
import { useCustomMapping, useDefaultLocale, useEnableI18n, useFormatLocales, useGT, useLocale, useLocaleDirection, useLocaleProperties, useLocales, useMessages, useRegion, useSetEnableI18n, useSetLocale, useSetRegion, useTranslations } from "@generaltranslation/react-core/hooks";
|
|
9
|
-
export { Branch, Currency, DateTime, Derive, GTProvider, Num, Plural, RelativeTime, T, Var, createRenderPipeline, declareVar, decodeMsg, decodeOptions, decodeVars, derive, getDefaultLocale, getFormatLocales, getLocale, getLocaleFromNativeStore, getLocales, getReactI18nCache, getTranslationsSnapshot, getVersionId, gtFallback, initializeGT, mFallback, msg, resolveCanonicalLocale, setReactI18nCache, useCustomMapping, useDefaultLocale, useEnableI18n, useFormatLocales, useGT, useLocale, useLocaleDirection, useLocaleProperties, useLocaleSelector, useLocales, useMessages, useRegion, useRegionSelector, useSetEnableI18n, useSetLocale, useSetRegion, useTranslations };
|
|
9
|
+
export { Branch, Currency, DateTime, Derive, GTProvider, Num, Plural, RelativeTime, T, Var, createRenderPipeline, declareVar, decodeMsg, decodeOptions, decodeVars, derive, getDefaultLocale, getFormatLocales, getLocale, getLocaleFromNativeStore, getLocaleProperties, getLocales, getReactI18nCache, getTranslationsSnapshot, getVersionId, gtFallback, initializeGT, mFallback, msg, resolveCanonicalLocale, setReactI18nCache, useCustomMapping, useDefaultLocale, useEnableI18n, useFormatLocales, useGT, useLocale, useLocaleDirection, useLocaleProperties, useLocaleSelector, useLocales, useMessages, useRegion, useRegionSelector, useSetEnableI18n, useSetLocale, useSetRegion, useTranslations };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gt-react-native",
|
|
3
|
-
"version": "11.1.
|
|
3
|
+
"version": "11.1.16",
|
|
4
4
|
"description": "An i18n package for React Native",
|
|
5
5
|
"main": "./dist/commonjs/index.js",
|
|
6
6
|
"module": "./dist/module/index.js",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"@formatjs/intl-pluralrules": "^5.4.6",
|
|
94
94
|
"@formatjs/intl-relativetimeformat": "^11.4.13",
|
|
95
95
|
"@generaltranslation/format": "0.1.8",
|
|
96
|
-
"@generaltranslation/react-core": "11.1.
|
|
96
|
+
"@generaltranslation/react-core": "11.1.16",
|
|
97
97
|
"@generaltranslation/supported-locales": "2.1.20",
|
|
98
98
|
"generaltranslation": "9.1.7",
|
|
99
99
|
"gt-i18n": "1.0.17"
|