lecom-ui 4.0.4 → 4.0.5

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,5 +1,5 @@
1
1
  import { initReactI18next } from 'react-i18next';
2
- export { useTranslation } from 'react-i18next';
2
+ export { Translation, useTranslation } from 'react-i18next';
3
3
  import i18n from 'i18next';
4
4
  export { default as i18n } from 'i18next';
5
5
  import { translations } from './locales/index.js';
package/dist/index.d.ts CHANGED
@@ -12,8 +12,8 @@ import * as SwitchPrimitives from '@radix-ui/react-switch';
12
12
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
13
13
  import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
14
14
  import { InitOptions } from 'i18next';
15
- export { default as i18n } from 'i18next';
16
- export { useTranslation } from 'react-i18next';
15
+ export { TFunction, default as i18n } from 'i18next';
16
+ export { Translation, useTranslation } from 'react-i18next';
17
17
 
18
18
  declare const accordionVariants: (props?: ({
19
19
  variant?: "default" | null | undefined;
package/dist/index.js CHANGED
@@ -29,4 +29,4 @@ export { Translations, initializeI18n } from './i18n/index.js';
29
29
  export { colors } from './tokens/colors.js';
30
30
  export { fonts } from './tokens/fonts.js';
31
31
  export { default as i18n } from 'i18next';
32
- export { useTranslation } from 'react-i18next';
32
+ export { Translation, useTranslation } from 'react-i18next';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lecom-ui",
3
- "version": "4.0.4",
3
+ "version": "4.0.5",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",