@generaltranslation/react-core 1.2.2 → 1.2.4
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/CHANGELOG.md +17 -0
- package/dist/errors-dir/createErrors.d.ts +0 -1
- package/dist/errors-dir/createErrors.d.ts.map +1 -1
- package/dist/index.cjs.min.cjs +37 -3
- package/dist/index.cjs.min.cjs.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.min.mjs +37 -3
- package/dist/index.esm.min.mjs.map +1 -1
- package/dist/internal.cjs.min.cjs +37 -3
- package/dist/internal.cjs.min.cjs.map +1 -1
- package/dist/internal.d.ts +1 -0
- package/dist/internal.d.ts.map +1 -1
- package/dist/internal.esm.min.mjs +37 -3
- package/dist/internal.esm.min.mjs.map +1 -1
- package/dist/messages/messages.d.ts +1 -73
- package/dist/messages/messages.d.ts.map +1 -1
- package/dist/provider/hooks/useErrorChecks.d.ts +2 -2
- package/dist/provider/hooks/useErrorChecks.d.ts.map +1 -1
- package/dist/provider/hooks/useLoadTranslations.d.ts +1 -1
- package/dist/provider/hooks/useLoadTranslations.d.ts.map +1 -1
- package/dist/types-dir/config.d.ts +4 -4
- package/dist/types-dir/config.d.ts.map +1 -1
- package/dist/types-dir/types.d.ts +1 -12
- package/dist/types-dir/types.d.ts.map +1 -1
- package/dist/types.d.ts +7 -17
- package/dist/types.d.ts.map +1 -1
- package/package.json +4 -3
package/dist/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ import useSetLocale from './hooks/useSetLocale';
|
|
|
17
17
|
import LocaleSelector from './ui/LocaleSelector';
|
|
18
18
|
import useLocaleSelector from './hooks/useLocaleSelector';
|
|
19
19
|
import RegionSelector from './ui/RegionSelector';
|
|
20
|
-
import { DictionaryTranslationOptions, InlineTranslationOptions, RuntimeTranslationOptions } from './types-dir/types';
|
|
20
|
+
import type { DictionaryTranslationOptions, InlineTranslationOptions, RuntimeTranslationOptions } from './types-dir/types';
|
|
21
21
|
import { useGTClass, useLocaleProperties } from './hooks/useGTClass';
|
|
22
22
|
import { useRegionSelector } from './hooks/useRegionSelector';
|
|
23
23
|
import { useLocaleDirection } from './hooks/useLocaleDirection';
|
|
@@ -28,5 +28,6 @@ import useRuntimeTranslation from './provider/hooks/useRuntimeTranslation';
|
|
|
28
28
|
import useCreateInternalUseGTFunction from './provider/hooks/translation/useCreateInternalUseGTFunction';
|
|
29
29
|
import useCreateInternalUseTranslationsFunction from './provider/hooks/translation/useCreateInternalUseTranslationsFunction';
|
|
30
30
|
import { useCreateInternalUseTranslationsObjFunction } from './provider/hooks/translation/useCreateInternalUseTranslationsObjFunction';
|
|
31
|
+
export * from 'gt-i18n/fallbacks';
|
|
31
32
|
export { Var, Num, Currency, DateTime, Static, T, GTProvider, Plural, Branch, useGT, useTranslations, useDefaultLocale, useLocale, useLocales, useSetLocale, useLocaleSelector, useRegion, useRegionSelector, useGTClass, useLocaleProperties, useLocaleDirection, LocaleSelector, RegionSelector, DictionaryTranslationOptions, InlineTranslationOptions, RuntimeTranslationOptions, msg, decodeMsg, decodeOptions, useMessages, GTContext, useRuntimeTranslation, useCreateInternalUseGTFunction, useCreateInternalUseTranslationsFunction, useCreateInternalUseTranslationsObjFunction, };
|
|
32
33
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,wBAAwB,CAAC;AACvC,OAAO,KAAK,MAAM,2BAA2B,CAAC;AAC9C,OAAO,eAAe,MAAM,qCAAqC,CAAC;AAClE,OAAO,gBAAgB,MAAM,0BAA0B,CAAC;AACxD,OAAO,SAAS,MAAM,mBAAmB,CAAC;AAC1C,OAAO,SAAS,MAAM,mBAAmB,CAAC;AAC1C,OAAO,UAAU,MAAM,uBAAuB,CAAC;AAC/C,OAAO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