lecom-ui 2.8.8 → 2.8.9

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,8 +1,14 @@
1
1
  import { initReactI18next } from 'react-i18next';
2
2
  import i18n from 'i18next';
3
- export { default } from 'i18next';
3
+ export { default as i18n } from 'i18next';
4
4
  import { translations } from './locales/index.js';
5
5
 
6
+ var Translations = /* @__PURE__ */ ((Translations2) => {
7
+ Translations2["PT_BR"] = "pt_BR";
8
+ Translations2["EN_US"] = "en_US";
9
+ Translations2["ES_ES"] = "es_ES";
10
+ return Translations2;
11
+ })(Translations || {});
6
12
  const i18nConfig = {
7
13
  resources: translations,
8
14
  lng: "pt_BR" /* PT_BR */,
@@ -13,3 +19,5 @@ const i18nConfig = {
13
19
  }
14
20
  };
15
21
  i18n.use(initReactI18next).init(i18nConfig);
22
+
23
+ export { Translations };
package/dist/index.d.ts CHANGED
@@ -10,6 +10,7 @@ import * as PopoverPrimitive from '@radix-ui/react-popover';
10
10
  import * as SwitchPrimitives from '@radix-ui/react-switch';
11
11
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
12
12
  import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
13
+ export { default as i18n } from 'i18next';
13
14
 
14
15
  declare const accordionVariants: (props?: ({
15
16
  variant?: "default" | null | undefined;
@@ -603,6 +604,12 @@ type SidebarContext = {
603
604
  declare const SidebarContext: React.Context<SidebarContext | null>;
604
605
  declare function useSidebar(): SidebarContext;
605
606
 
607
+ declare enum Translations {
608
+ PT_BR = "pt_BR",
609
+ EN_US = "en_US",
610
+ ES_ES = "es_ES"
611
+ }
612
+
606
613
  type Fonts = 'roboto' | 'montserrat' | 'ibm';
607
614
  declare const fonts: {
608
615
  roboto: string[];
@@ -610,4 +617,4 @@ declare const fonts: {
610
617
  ibm: string[];
611
618
  };
612
619
 
613
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, type BgColor, Button, type ButtonProps, CadastroFacil, type CadastroFacilProps, type CalloutNotificationProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, type CheckboxProps, type Color, type ColorToken, type CustomStyles$1 as CustomStyles, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type FillColor, type Fonts, type HeaderProps, type InlineNotificationProps, Layout, type LayoutProps, LogoLecom, LogoLecomBrand, type LogoLecomBrandProps, type LogoLecomProps, ModoTeste, type ModoTesteProps, Notification, type NotificationProps, Pagination, PaginationContent, PaginationEllipsis, PaginationFirst, PaginationIndex, PaginationItem, PaginationLast, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverTrigger, Rpa, type RpaProps, ScrollArea, ScrollBar, type SideBarProps, Skeleton, Spin, type SpinProps, Switch, TOAST_REMOVE_DELAY, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRowBody, TableRowHeader, Tag, type TagProps, type TextColor, type ToastNotificationProps, type ToasterToast, Tooltip, TooltipArrow, TooltipContent, type TooltipContentProps, TooltipProvider, TooltipTrigger, TypeMessageNotification, Typography, type TypographyProps, accordionVariants, buttonVariants, colors, fonts, getPositionClass, notificationVariants, reducer, tagVariants, toast, typographyVariants, useNotificationToast, useSidebar };
620
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, type BgColor, Button, type ButtonProps, CadastroFacil, type CadastroFacilProps, type CalloutNotificationProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, type CheckboxProps, type Color, type ColorToken, type CustomStyles$1 as CustomStyles, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type FillColor, type Fonts, type HeaderProps, type InlineNotificationProps, Layout, type LayoutProps, LogoLecom, LogoLecomBrand, type LogoLecomBrandProps, type LogoLecomProps, ModoTeste, type ModoTesteProps, Notification, type NotificationProps, Pagination, PaginationContent, PaginationEllipsis, PaginationFirst, PaginationIndex, PaginationItem, PaginationLast, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverTrigger, Rpa, type RpaProps, ScrollArea, ScrollBar, type SideBarProps, Skeleton, Spin, type SpinProps, Switch, TOAST_REMOVE_DELAY, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRowBody, TableRowHeader, Tag, type TagProps, type TextColor, type ToastNotificationProps, type ToasterToast, Tooltip, TooltipArrow, TooltipContent, type TooltipContentProps, TooltipProvider, TooltipTrigger, Translations, TypeMessageNotification, Typography, type TypographyProps, accordionVariants, buttonVariants, colors, fonts, getPositionClass, notificationVariants, reducer, tagVariants, toast, typographyVariants, useNotificationToast, useSidebar };
package/dist/index.js CHANGED
@@ -23,5 +23,7 @@ export { Typography, typographyVariants } from './components/Typography/Typograp
23
23
  export { ScrollArea, ScrollBar } from './components/ScrollArea/ScrollArea.js';
24
24
  export { Spin } from './components/Spin/Spin.js';
25
25
  export { useSidebar } from './components/Sidebar/Sidebar.js';
26
+ export { Translations } from './i18n/index.js';
26
27
  export { colors } from './tokens/colors.js';
27
28
  export { fonts } from './tokens/fonts.js';
29
+ export { default as i18n } from 'i18next';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lecom-ui",
3
- "version": "2.8.8",
3
+ "version": "2.8.9",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",