lecom-ui 2.9.2 → 2.9.3

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.
@@ -9,6 +9,7 @@ import { LogoLecomBrand } from '../CustomIcon/Icons/LogoLecomBrand.js';
9
9
  import { Header } from '../Header/Header.js';
10
10
  import { SidebarProvider, Sidebar, SidebarContent, SidebarGroup, SidebarGroupContent, SidebarMenu, SidebarMenuItem, SidebarMenuButton, SidebarFooter } from '../Sidebar/Sidebar.js';
11
11
  import { Typography } from '../Typography/Typography.js';
12
+ import '../../i18n/index.js';
12
13
 
13
14
  const Layout = ({ children, header, sideBar }) => {
14
15
  const { t } = useTranslation();
package/dist/index.d.ts CHANGED
@@ -367,6 +367,13 @@ interface HeaderProps extends React.HTMLAttributes<HTMLElement>, VariantProps<ty
367
367
  onOpenMenuChange?: () => void;
368
368
  }
369
369
 
370
+ declare enum Translations {
371
+ PT_BR = "pt_BR",
372
+ EN_US = "en_US",
373
+ ES_ES = "es_ES"
374
+ }
375
+ declare const i18n: node_modules_i18next.i18n;
376
+
370
377
  interface SideBarProps {
371
378
  items: {
372
379
  title: string;
@@ -604,13 +611,6 @@ type SidebarContext = {
604
611
  declare const SidebarContext: React.Context<SidebarContext | null>;
605
612
  declare function useSidebar(): SidebarContext;
606
613
 
607
- declare enum Translations {
608
- PT_BR = "pt_BR",
609
- EN_US = "en_US",
610
- ES_ES = "es_ES"
611
- }
612
- declare const i18n: node_modules_i18next.i18n;
613
-
614
614
  type Fonts = 'roboto' | 'montserrat' | 'ibm';
615
615
  declare const fonts: {
616
616
  roboto: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lecom-ui",
3
- "version": "2.9.2",
3
+ "version": "2.9.3",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",