lecom-ui 5.4.43 → 5.4.45

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.
Files changed (36) hide show
  1. package/README.md +1 -1
  2. package/dist/components/Accordion/Accordion.js +22 -19
  3. package/dist/components/Chart/Chart.js +1 -1
  4. package/dist/components/Combobox/Combobox.js +17 -4
  5. package/dist/components/CustomTagInput/CustomTagInput.js +107 -33
  6. package/dist/components/Dialog/Dialog.js +2 -2
  7. package/dist/components/Input/Input.js +9 -4
  8. package/dist/components/Label/Label.js +39 -3
  9. package/dist/components/MultiSelect/MultiSelect.js +214 -179
  10. package/dist/components/Textarea/Textarea.js +9 -5
  11. package/dist/hooks/useDynamicMaxHeight.js +49 -0
  12. package/dist/i18n/locales/en_us.js +4 -0
  13. package/dist/i18n/locales/es_es.js +4 -0
  14. package/dist/i18n/locales/pt_br.js +4 -0
  15. package/dist/index.d.ts +31 -13
  16. package/dist/index.js +2 -1
  17. package/dist/plugin/extend.js +79 -79
  18. package/dist/plugin/fontFaces.js +172 -172
  19. package/dist/plugin/general.js +12 -12
  20. package/dist/plugin/pluginDev.cjs +5 -5
  21. package/dist/plugin/pluginNext.cjs +5 -5
  22. package/dist/plugin/pluginNextTurbo.cjs +5 -5
  23. package/dist/plugin/pluginVite.cjs +5 -5
  24. package/dist/plugin/template.js +31 -31
  25. package/dist/plugin/typographies.js +152 -152
  26. package/dist/plugin/varsTheme.js +79 -79
  27. package/dist/style.min.css +1 -1
  28. package/package.json +1 -1
  29. package/dist/components/Collapse/Collapse.js +0 -94
  30. package/dist/components/CustomIcon/Icons/CadastroFacil.js +0 -23
  31. package/dist/components/CustomIcon/Icons/LogoLecom.js +0 -30
  32. package/dist/components/CustomIcon/Icons/LogoLecomBrand.js +0 -23
  33. package/dist/components/CustomIcon/Icons/ModoTeste.js +0 -23
  34. package/dist/components/CustomIcon/Icons/Rpa.js +0 -23
  35. package/dist/components/CustomIcon/Icons/SairModoTeste.js +0 -31
  36. package/dist/components/IconHandler/IconHandler.js +0 -99
package/dist/index.d.ts CHANGED
@@ -9,7 +9,7 @@ import * as recharts_types_util_types from 'recharts/types/util/types';
9
9
  export { BaseAxisProps } from 'recharts/types/util/types';
10
10
  import * as recharts from 'recharts';
11
11
  import { ResponsiveContainer, Legend, LegendProps, Tooltip as Tooltip$1 } from 'recharts';
12
- export { Bar, BarChart, BarProps, CartesianGrid, Label, LabelList, LegendType, XAxis, YAxis } from 'recharts';
12
+ export { Bar, BarChart, BarProps, CartesianGrid, Label as ChartLabel, LabelList, LegendType, XAxis, YAxis } from 'recharts';
13
13
  import * as recharts_types_component_DefaultTooltipContent from 'recharts/types/component/DefaultTooltipContent';
14
14
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
15
15
  import { FillColor as FillColor$1, BgColor as BgColor$1 } from '@/tokens/colors';
@@ -791,9 +791,10 @@ interface HeaderProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<
791
791
  }
792
792
 
793
793
  declare const inputVariants: (props?: ({
794
- variant?: "filled" | "default" | "borderless" | null | undefined;
795
- size?: "small" | "large" | "default" | null | undefined;
796
- radius?: "small" | "large" | "default" | "full" | null | undefined;
794
+ variant?: "default" | "filled" | "borderless" | null | undefined;
795
+ size?: "default" | "small" | "large" | null | undefined;
796
+ radius?: "default" | "small" | "large" | "full" | null | undefined;
797
+ status?: "default" | "error" | null | undefined;
797
798
  } & class_variance_authority_types.ClassProp) | undefined) => string;
798
799
  interface InputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'size' | 'sufix' | 'prefix'>, VariantProps<typeof inputVariants> {
799
800
  sufix?: React$1.ReactNode;
@@ -806,6 +807,11 @@ interface InputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>,
806
807
  }
807
808
  declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
808
809
 
810
+ declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: ({
811
+ variant?: "heading-xxlarge-500" | "heading-xlarge-500" | "heading-large-600" | "heading-large-500" | "heading-medium-600" | "heading-medium-500" | "heading-small-600" | "heading-small-500" | "heading-xsmall-600" | "heading-xsmall-500" | "heading-xxsmall-600" | "heading-xxsmall-500" | "body-large-700" | "body-large-500" | "body-large-400" | "body-medium-700" | "body-medium-500" | "body-medium-400" | "body-small-700" | "body-small-500" | "body-small-400" | "code-medium-400" | null | undefined;
812
+ status?: "default" | "error" | null | undefined;
813
+ } & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLLabelElement>>;
814
+
809
815
  interface SideBarProps {
810
816
  items: {
811
817
  title: string;
@@ -836,6 +842,7 @@ declare const Layout: {
836
842
 
837
843
  type MultiSelectSize = 'small' | 'medium' | 'large';
838
844
  type MultiSelectFont = 'body-small-400' | 'body-medium-400' | 'body-large-400';
845
+ type MultiSelectStatus = 'default' | 'error';
839
846
  interface MultiSelectOption {
840
847
  label: string;
841
848
  value: string;
@@ -869,6 +876,10 @@ interface MultiSelectProps extends React$1.ButtonHTMLAttributes<HTMLButtonElemen
869
876
  classNameContent?: string;
870
877
  size?: MultiSelectSize;
871
878
  readOnly?: boolean;
879
+ status?: MultiSelectStatus;
880
+ dynamicHeight?: boolean;
881
+ dynamicHeightBottomPadding?: number;
882
+ dynamicHeightMinHeight?: number;
872
883
  }
873
884
  interface MultiSelectTreeOption {
874
885
  label: string;
@@ -884,7 +895,7 @@ declare enum TypeMessageNotification {
884
895
  WARNING = "warning"
885
896
  }
886
897
  declare const notificationVariants: (props?: ({
887
- variant?: "success" | "error" | "information" | "warning" | null | undefined;
898
+ variant?: "error" | "success" | "information" | "warning" | null | undefined;
888
899
  } & class_variance_authority_types.ClassProp) | undefined) => string;
889
900
  type BaseNotificationProps = VariantProps<typeof notificationVariants> & {
890
901
  action?: React$1.ReactNode;
@@ -999,7 +1010,7 @@ declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimi
999
1010
  declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
1000
1011
 
1001
1012
  declare const ResizablePanelGroup: ({ className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => React$1.JSX.Element;
1002
- declare const ResizablePanel: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLButtonElement | HTMLElement | HTMLOListElement | HTMLLIElement | HTMLAnchorElement | HTMLSpanElement | HTMLDivElement | HTMLHeadingElement | HTMLParagraphElement | HTMLLabelElement | HTMLInputElement | HTMLUListElement | HTMLObjectElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLCanvasElement | HTMLTableCaptionElement | HTMLTableColElement | HTMLDataElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDialogElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLFormElement | HTMLHeadElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLImageElement | HTMLLegendElement | HTMLLinkElement | HTMLMapElement | HTMLMenuElement | HTMLMetaElement | HTMLMeterElement | HTMLOptGroupElement | HTMLOptionElement | HTMLOutputElement | HTMLPictureElement | HTMLPreElement | HTMLProgressElement | HTMLScriptElement | HTMLSelectElement | HTMLSlotElement | HTMLSourceElement | HTMLStyleElement | HTMLTableElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTemplateElement | HTMLTextAreaElement | HTMLTimeElement | HTMLTitleElement | HTMLTableRowElement | HTMLTrackElement | HTMLVideoElement>, "id" | "onResize"> & {
1013
+ declare const ResizablePanel: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLDivElement | HTMLElement | HTMLButtonElement | HTMLOListElement | HTMLLIElement | HTMLAnchorElement | HTMLSpanElement | HTMLInputElement | HTMLHeadingElement | HTMLParagraphElement | HTMLLabelElement | HTMLObjectElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLCanvasElement | HTMLTableCaptionElement | HTMLTableColElement | HTMLDataElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDialogElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLFormElement | HTMLHeadElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLImageElement | HTMLLegendElement | HTMLLinkElement | HTMLMapElement | HTMLMenuElement | HTMLMetaElement | HTMLMeterElement | HTMLOptGroupElement | HTMLOptionElement | HTMLOutputElement | HTMLPictureElement | HTMLPreElement | HTMLProgressElement | HTMLScriptElement | HTMLSelectElement | HTMLSlotElement | HTMLSourceElement | HTMLStyleElement | HTMLTableElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTemplateElement | HTMLTextAreaElement | HTMLTimeElement | HTMLTitleElement | HTMLTableRowElement | HTMLTrackElement | HTMLUListElement | HTMLVideoElement>, "id" | "onResize"> & {
1003
1014
  className?: string;
1004
1015
  collapsedSize?: number | undefined;
1005
1016
  collapsible?: boolean | undefined;
@@ -1165,10 +1176,11 @@ declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.
1165
1176
  declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1166
1177
 
1167
1178
  declare const textareaVariants: (props?: ({
1168
- variant?: "filled" | "default" | "borderless" | null | undefined;
1169
- size?: "small" | "large" | "default" | null | undefined;
1170
- radius?: "small" | "large" | "default" | "full" | null | undefined;
1179
+ variant?: "default" | "filled" | "borderless" | null | undefined;
1180
+ size?: "default" | "small" | "large" | null | undefined;
1181
+ radius?: "default" | "small" | "large" | "full" | null | undefined;
1171
1182
  resize?: "default" | "both" | "horizontal" | "vertical" | "vertical-limited" | null | undefined;
1183
+ status?: "default" | "error" | null | undefined;
1172
1184
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1173
1185
  interface TextareaProps extends React$1.ComponentProps<'textarea'>, VariantProps<typeof textareaVariants> {
1174
1186
  }
@@ -1239,8 +1251,11 @@ type ComboboxProps = {
1239
1251
  size?: ComboboxSize;
1240
1252
  allowCreate?: boolean;
1241
1253
  onCreateOption?: (inputValue: string) => void;
1254
+ dynamicHeight?: boolean;
1255
+ dynamicHeightBottomPadding?: number;
1256
+ dynamicHeightMinHeight?: number;
1242
1257
  };
1243
- declare function Combobox({ options, value, onChange, placeholder, disabled, notFoundContent, status, searchTerm, triggerClassName, contentClassName, itemsClassName, rounded, showSearch, size, allowCreate, onCreateOption, }: ComboboxProps): React$1.JSX.Element;
1258
+ declare function Combobox({ options, value, onChange, placeholder, disabled, notFoundContent, status, searchTerm, triggerClassName, contentClassName, itemsClassName, rounded, showSearch, size, allowCreate, onCreateOption, dynamicHeight, dynamicHeightBottomPadding, dynamicHeightMinHeight, }: ComboboxProps): React$1.JSX.Element;
1244
1259
 
1245
1260
  interface TagItem {
1246
1261
  label: string;
@@ -1332,6 +1347,7 @@ interface CustomTagItem {
1332
1347
  label: string;
1333
1348
  color?: TagProps['color'];
1334
1349
  }
1350
+ type CustomTagInputStatus = 'default' | 'error';
1335
1351
  interface CustomTagInputProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'onChange' | 'color'> {
1336
1352
  value: CustomTagItem[];
1337
1353
  onChange: (items: CustomTagItem[]) => void;
@@ -1347,6 +1363,8 @@ interface CustomTagInputProps extends Omit<React$1.HTMLAttributes<HTMLDivElement
1347
1363
  allowDuplicates?: boolean;
1348
1364
  enableReorder?: boolean;
1349
1365
  color?: TagProps['color'];
1366
+ maxLength?: number;
1367
+ status?: CustomTagInputStatus;
1350
1368
  }
1351
1369
  declare function CustomTagInput(props: CustomTagInputProps): React$1.JSX.Element;
1352
1370
 
@@ -1357,7 +1375,7 @@ interface DateInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputEleme
1357
1375
  declare const DateInput: React$1.ForwardRefExoticComponent<DateInputProps & React$1.RefAttributes<HTMLInputElement>>;
1358
1376
 
1359
1377
  declare const badgeVariants: (props?: ({
1360
- variant?: "destructive" | "default" | "outline" | "secondary" | null | undefined;
1378
+ variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
1361
1379
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1362
1380
  interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
1363
1381
  }
@@ -1471,5 +1489,5 @@ interface MaskedInputProps extends Omit<InputProps$1, 'onChange' | 'value'> {
1471
1489
  }
1472
1490
  declare const MaskedInput: React$1.ForwardRefExoticComponent<MaskedInputProps & React$1.RefAttributes<HTMLInputElement>>;
1473
1491
 
1474
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Badge, BrandModules, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, CadastroFacil, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, ColorPicker, Combobox, CustomDivider, CustomTagInput, MemoizedDataTable as DataTable, DateInput, DatePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogScroll, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ErrorEmptyDisplay, FooterInfo, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Input, Layout, LogoLecom, LogoLecomBrand, MASK_PRESETS, MaskedInput, ModoTeste, MultiSelect, NewUpdate, Notification, NumberControl, Pagination, PaginationContent, PaginationEllipsis, PaginationFirst, PaginationIndex, PaginationItem, PaginationLast, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverTrigger, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, Rpa, SairModoTeste, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Spin, Steps, Switch, SyntaxHighlighter, TOAST_REMOVE_DELAY, Tabs, TabsContent, TabsList, TabsTrigger, Tag, TagInput, Textarea, ToggleGroup, ToggleGroupItem, Tooltip, TooltipArrow, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, Translations, TypeMessageNotification, Typography, Upload, accordionVariants, badgeVariants, buttonVariants, colors, fonts, initializeI18n, inputVariants, notificationVariants, reducer, tagVariants, textareaVariants, toast, typographyVariants, useFormField, useIsMobile, useNotificationToast, usePagination, useSidebar };
1475
- export type { BadgeProps, BgColor, BrandModulesProps, BuildCellSelect, BuildColumns, BuildHeaderSelect, ButtonProps, CadastroFacilProps, CalloutNotificationProps, ChartConfig, CheckboxProps, CheckedCell, CheckedCellChange, CheckedHeader, CheckedHeaderChange, Color, ColorToken, Column, ColumnRender, ColumnSort, ColumnSortClient, ColumnTitle, ComboboxFont, ComboboxGroup, ComboboxOption, ComboboxProps, ComboboxRounded, ComboboxSize, ComboboxStatus, CustomStyles$1 as CustomStyles, CustomTagInputProps, CustomTagItem, DataTableProps, DateInputProps, DatePickerProps, DialogContentProps, ErrorEmptyDisplayProps, File, FillColor, Fonts, FooterInfoProps, Header, HeaderProps, InlineNotificationProps, InputProps, LayoutProps, LogoLecomBrandProps, LogoLecomProps, MaskPreset, MaskedInputProps, Meta, ModoTesteProps, MultiSelectFont, MultiSelectOption, MultiSelectSize, MultiSelectTreeOption, NewUpdateProps, NotificationProps, PaginationProps, Row, RpaProps, SideBarProps, SpinProps, StepsProps, SwitchProps, TableProps, TagInputProps, TagItem, TagProps, TextColor, TextareaProps, TimelineStepItem, ToastNotificationProps, ToasterToast, TooltipContentProps, TypographyProps, UploadProps, UsePaginationItem };
1492
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Badge, BrandModules, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, CadastroFacil, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, ColorPicker, Combobox, CustomDivider, CustomTagInput, MemoizedDataTable as DataTable, DateInput, DatePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogScroll, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ErrorEmptyDisplay, FooterInfo, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Input, Label, Layout, LogoLecom, LogoLecomBrand, MASK_PRESETS, MaskedInput, ModoTeste, MultiSelect, NewUpdate, Notification, NumberControl, Pagination, PaginationContent, PaginationEllipsis, PaginationFirst, PaginationIndex, PaginationItem, PaginationLast, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverTrigger, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, Rpa, SairModoTeste, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Spin, Steps, Switch, SyntaxHighlighter, TOAST_REMOVE_DELAY, Tabs, TabsContent, TabsList, TabsTrigger, Tag, TagInput, Textarea, ToggleGroup, ToggleGroupItem, Tooltip, TooltipArrow, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, Translations, TypeMessageNotification, Typography, Upload, accordionVariants, badgeVariants, buttonVariants, colors, fonts, initializeI18n, inputVariants, notificationVariants, reducer, tagVariants, textareaVariants, toast, typographyVariants, useFormField, useIsMobile, useNotificationToast, usePagination, useSidebar };
1493
+ export type { BadgeProps, BgColor, BrandModulesProps, BuildCellSelect, BuildColumns, BuildHeaderSelect, ButtonProps, CadastroFacilProps, CalloutNotificationProps, ChartConfig, CheckboxProps, CheckedCell, CheckedCellChange, CheckedHeader, CheckedHeaderChange, Color, ColorToken, Column, ColumnRender, ColumnSort, ColumnSortClient, ColumnTitle, ComboboxFont, ComboboxGroup, ComboboxOption, ComboboxProps, ComboboxRounded, ComboboxSize, ComboboxStatus, CustomStyles$1 as CustomStyles, CustomTagInputProps, CustomTagItem, DataTableProps, DateInputProps, DatePickerProps, DialogContentProps, ErrorEmptyDisplayProps, File, FillColor, Fonts, FooterInfoProps, Header, HeaderProps, InlineNotificationProps, InputProps, LayoutProps, LogoLecomBrandProps, LogoLecomProps, MaskPreset, MaskedInputProps, Meta, ModoTesteProps, MultiSelectFont, MultiSelectOption, MultiSelectSize, MultiSelectStatus, MultiSelectTreeOption, NewUpdateProps, NotificationProps, PaginationProps, Row, RpaProps, SideBarProps, SpinProps, StepsProps, SwitchProps, TableProps, TagInputProps, TagItem, TagProps, TextColor, TextareaProps, TimelineStepItem, ToastNotificationProps, ToasterToast, TooltipContentProps, TypographyProps, UploadProps, UsePaginationItem };
package/dist/index.js CHANGED
@@ -20,6 +20,7 @@ export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMe
20
20
  export { ErrorEmptyDisplay } from './components/ErrorEmptyDisplay/ErrorEmptyDisplay.js';
21
21
  export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField } from './components/Form/Form.js';
22
22
  export { Input, inputVariants } from './components/Input/Input.js';
23
+ export { Label } from './components/Label/Label.js';
23
24
  export { Layout } from './components/Layout/Layout.js';
24
25
  export { MultiSelect } from './components/MultiSelect/MultiSelect.js';
25
26
  export { Notification, TypeMessageNotification, notificationVariants } from './components/Notification/Notification.js';
@@ -63,7 +64,7 @@ export { DateInput } from './components/DateInput/DateInput.js';
63
64
  export { Badge, badgeVariants } from './components/Badge/Badge.js';
64
65
  export { MaskedInput } from './components/MaskedInput/MaskedInput.js';
65
66
  export { MASK_PRESETS } from './components/MaskedInput/presets.js';
66
- export { Bar, BarChart, CartesianGrid, Label, LabelList, XAxis, YAxis } from 'recharts';
67
+ export { Bar, BarChart, CartesianGrid, Label as ChartLabel, LabelList, XAxis, YAxis } from 'recharts';
67
68
  export { z as zod } from 'zod';
68
69
  export { zodResolver } from '@hookform/resolvers/zod';
69
70
  export { useForm } from 'react-hook-form';
@@ -1,79 +1,79 @@
1
- const extend = {
2
- colors: {
3
- background: 'hsl(var(--background))',
4
- foreground: 'hsl(var(--foreground))',
5
- card: {
6
- DEFAULT: 'hsl(var(--card))',
7
- foreground: 'hsl(var(--card-foreground))',
8
- },
9
- popover: {
10
- DEFAULT: 'hsl(var(--popover))',
11
- foreground: 'hsl(var(--popover-foreground))',
12
- },
13
- primary: {
14
- DEFAULT: 'hsl(var(--primary))',
15
- foreground: 'hsl(var(--primary-foreground))',
16
- },
17
- secondary: {
18
- DEFAULT: 'hsl(var(--secondary))',
19
- foreground: 'hsl(var(--secondary-foreground))',
20
- },
21
- muted: {
22
- DEFAULT: 'hsl(var(--muted))',
23
- foreground: 'hsl(var(--muted-foreground))',
24
- },
25
- accent: {
26
- DEFAULT: 'hsl(var(--accent))',
27
- foreground: 'hsl(var(--accent-foreground))',
28
- },
29
- destructive: {
30
- DEFAULT: 'hsl(var(--destructive))',
31
- foreground: 'hsl(var(--destructive-foreground))',
32
- },
33
- border: 'hsl(var(--border))',
34
- input: 'hsl(var(--input))',
35
- ring: 'hsl(var(--ring))',
36
- chart: {
37
- 1: 'hsl(var(--chart-1))',
38
- 2: 'hsl(var(--chart-2))',
39
- 3: 'hsl(var(--chart-3))',
40
- 4: 'hsl(var(--chart-4))',
41
- 5: 'hsl(var(--chart-5))',
42
- 6: 'hsl(var(--chart-6))',
43
- 7: 'hsl(var(--chart-7))',
44
- 8: 'hsl(var(--chart-8))',
45
- },
46
- sidebar: {
47
- DEFAULT: 'hsl(var(--sidebar-background))',
48
- foreground: 'hsl(var(--sidebar-foreground))',
49
- primary: 'hsl(var(--sidebar-primary))',
50
- 'primary-foreground': 'hsl(var(--sidebar-primary-foreground))',
51
- accent: 'hsl(var(--sidebar-accent))',
52
- 'accent-foreground': 'hsl(var(--sidebar-accent-foreground))',
53
- border: 'hsl(var(--sidebar-border))',
54
- ring: 'hsl(var(--sidebar-ring))',
55
- },
56
- },
57
- borderRadius: {
58
- lg: 'var(--radius)',
59
- md: 'calc(var(--radius) - 2px)',
60
- sm: 'calc(var(--radius) - 4px)',
61
- },
62
- keyframes: {
63
- 'accordion-down': {
64
- from: { height: '0' },
65
- to: { height: 'var(--radix-accordion-content-height)' },
66
- },
67
- 'accordion-up': {
68
- from: { height: 'var(--radix-accordion-content-height)' },
69
- to: { height: '0' },
70
- },
71
- },
72
- animation: {
73
- 'accordion-down': 'accordion-down 0.2s ease-out',
74
- 'accordion-up': 'accordion-up 0.2s ease-out',
75
- 'spin-slow': 'spin 2s linear infinite',
76
- },
77
- };
78
-
79
- export { extend };
1
+ const extend = {
2
+ colors: {
3
+ background: 'hsl(var(--background))',
4
+ foreground: 'hsl(var(--foreground))',
5
+ card: {
6
+ DEFAULT: 'hsl(var(--card))',
7
+ foreground: 'hsl(var(--card-foreground))',
8
+ },
9
+ popover: {
10
+ DEFAULT: 'hsl(var(--popover))',
11
+ foreground: 'hsl(var(--popover-foreground))',
12
+ },
13
+ primary: {
14
+ DEFAULT: 'hsl(var(--primary))',
15
+ foreground: 'hsl(var(--primary-foreground))',
16
+ },
17
+ secondary: {
18
+ DEFAULT: 'hsl(var(--secondary))',
19
+ foreground: 'hsl(var(--secondary-foreground))',
20
+ },
21
+ muted: {
22
+ DEFAULT: 'hsl(var(--muted))',
23
+ foreground: 'hsl(var(--muted-foreground))',
24
+ },
25
+ accent: {
26
+ DEFAULT: 'hsl(var(--accent))',
27
+ foreground: 'hsl(var(--accent-foreground))',
28
+ },
29
+ destructive: {
30
+ DEFAULT: 'hsl(var(--destructive))',
31
+ foreground: 'hsl(var(--destructive-foreground))',
32
+ },
33
+ border: 'hsl(var(--border))',
34
+ input: 'hsl(var(--input))',
35
+ ring: 'hsl(var(--ring))',
36
+ chart: {
37
+ 1: 'hsl(var(--chart-1))',
38
+ 2: 'hsl(var(--chart-2))',
39
+ 3: 'hsl(var(--chart-3))',
40
+ 4: 'hsl(var(--chart-4))',
41
+ 5: 'hsl(var(--chart-5))',
42
+ 6: 'hsl(var(--chart-6))',
43
+ 7: 'hsl(var(--chart-7))',
44
+ 8: 'hsl(var(--chart-8))',
45
+ },
46
+ sidebar: {
47
+ DEFAULT: 'hsl(var(--sidebar-background))',
48
+ foreground: 'hsl(var(--sidebar-foreground))',
49
+ primary: 'hsl(var(--sidebar-primary))',
50
+ 'primary-foreground': 'hsl(var(--sidebar-primary-foreground))',
51
+ accent: 'hsl(var(--sidebar-accent))',
52
+ 'accent-foreground': 'hsl(var(--sidebar-accent-foreground))',
53
+ border: 'hsl(var(--sidebar-border))',
54
+ ring: 'hsl(var(--sidebar-ring))',
55
+ },
56
+ },
57
+ borderRadius: {
58
+ lg: 'var(--radius)',
59
+ md: 'calc(var(--radius) - 2px)',
60
+ sm: 'calc(var(--radius) - 4px)',
61
+ },
62
+ keyframes: {
63
+ 'accordion-down': {
64
+ from: { height: '0' },
65
+ to: { height: 'var(--radix-accordion-content-height)' },
66
+ },
67
+ 'accordion-up': {
68
+ from: { height: 'var(--radix-accordion-content-height)' },
69
+ to: { height: '0' },
70
+ },
71
+ },
72
+ animation: {
73
+ 'accordion-down': 'accordion-down 0.2s ease-out',
74
+ 'accordion-up': 'accordion-up 0.2s ease-out',
75
+ 'spin-slow': 'spin 2s linear infinite',
76
+ },
77
+ };
78
+
79
+ export { extend };