lecom-ui 5.2.75 → 5.2.76

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/README.md CHANGED
@@ -1 +1 @@
1
- lecom-ui
1
+ lecom-ui
@@ -74,7 +74,7 @@ const NotificationCallout = ({ ...props }) => {
74
74
  content: props.content,
75
75
  ref: contentRef,
76
76
  className: cn(
77
- "transition-all duration-300 leading-4",
77
+ "transition-all duration-300",
78
78
  isCollapsed && getCollapseClass()
79
79
  )
80
80
  }
@@ -58,7 +58,7 @@ const NotificationInline = ({
58
58
  {
59
59
  title,
60
60
  content,
61
- className: "max-h-11 overflow-hidden leading-4"
61
+ className: "max-h-11 overflow-hidden"
62
62
  }
63
63
  ),
64
64
  action,
@@ -1,60 +1,24 @@
1
1
  import * as React from 'react';
2
- import * as SwitchPrimitives from '@radix-ui/react-switch';
3
2
  import { cn } from '../../lib/utils.js';
3
+ import * as SwitchPrimitives from '@radix-ui/react-switch';
4
4
 
5
- const Spinner = () => /* @__PURE__ */ React.createElement("svg", { className: "animate-spin h-4 w-4 text-blue-600", viewBox: "0 0 24 24" }, /* @__PURE__ */ React.createElement(
6
- "circle",
7
- {
8
- className: "opacity-25",
9
- cx: "12",
10
- cy: "12",
11
- r: "10",
12
- stroke: "currentColor",
13
- strokeWidth: "4",
14
- fill: "none"
15
- }
16
- ), /* @__PURE__ */ React.createElement(
17
- "path",
18
- {
19
- className: "opacity-75",
20
- fill: "currentColor",
21
- d: "M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z"
22
- }
23
- ));
24
- const Switch = React.forwardRef(({ className, loading = false, disabled, ...props }, ref) => /* @__PURE__ */ React.createElement(
5
+ const Switch = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React.createElement(
25
6
  SwitchPrimitives.Root,
26
7
  {
27
- ref,
28
- disabled: disabled || loading,
29
8
  className: cn(
30
- "peer flex items-center shrink-0 h-6 w-12 p-[2px] group rounded-full cursor-pointer bg-transparent focus:outline-none transition-colors",
31
- "data-[state=unchecked]:border-2 data-[state=unchecked]:border-grey-400",
32
- "data-[state=unchecked]:hover:border-grey-500 data-[state=unchecked]:active:border-grey-700",
33
- "data-[state=unchecked]:disabled:border-grey-300",
34
- "data-[state=checked]:bg-blue-600 data-[state=checked]:hover:bg-blue-700",
35
- "data-[state=checked]:active:bg-blue-800 data-[state=checked]:disabled:bg-blue-200",
36
- "disabled:cursor-not-allowed",
9
+ "peer flex items-center shrink-0 h-6 w-12 p-[2px] group rounded-full cursor-pointer bg-transparent focus:outline-none transition-colors data-[state=unchecked]:border-2 data-[state=unchecked]:border-grey-400 data-[state=unchecked]:hover:border-grey-500 data-[state=unchecked]:active:border-grey-700 data-[state=unchecked]:disabled:border-grey-300 data-[state=checked]:bg-blue-600 data-[state=checked]:hover:bg-blue-700 data-[state=checked]:active:bg-blue-800 data-[state=checked]:disabled:bg-blue-200 disabled:cursor-not-allowed",
37
10
  className
38
11
  ),
12
+ ref,
39
13
  ...props
40
14
  },
41
15
  /* @__PURE__ */ React.createElement(
42
16
  SwitchPrimitives.Thumb,
43
17
  {
44
18
  className: cn(
45
- "pointer-events-none rounded-full shadow-sm transition-all h-4 w-4",
46
- "data-[state=unchecked]:bg-grey-400 data-[state=unchecked]:translate-x-1",
47
- "group-hover:data-[state=unchecked]:bg-grey-500",
48
- "group-focus:ring-8 group-focus:ring-blue-200 group-focus:ring-opacity-50",
49
- "group-active:group-enabled:h-5 group-active:group-enabled:w-5",
50
- "group-active:data-[state=unchecked]:bg-grey-700",
51
- "group-active:group-enabled:data-[state=unchecked]:translate-x-[-2px]",
52
- "group-disabled:data-[state=unchecked]:bg-grey-300 group-disabled:data-[state=unchecked]:bg-opacity-65",
53
- "data-[state=checked]:bg-white data-[state=checked]:translate-x-6",
54
- "flex items-center justify-center"
19
+ "pointer-events-none rounded-full shadow-sm transition-all h-4 w-4 data-[state=unchecked]:bg-grey-400 data-[state=unchecked]:translate-x-1 group-hover:data-[state=unchecked]:bg-grey-500 group-focus:ring-8 group-focus:ring-blue-200 group-focus:ring-opacity-50 group-active:group-enabled:h-5 group-active:group-enabled:w-5 group-active:data-[state=unchecked]:bg-grey-700 group-active:group-enabled:data-[state=unchecked]:translate-x-[-2px] group-disabled:data-[state=unchecked]:bg-grey-300 group-disabled:data-[state=unchecked]:bg-opacity-65 data-[state=checked]:bg-white data-[state=checked]:translate-x-6"
55
20
  )
56
- },
57
- loading && /* @__PURE__ */ React.createElement(Spinner, null)
21
+ }
58
22
  )
59
23
  ));
60
24
  Switch.displayName = "Switch";
package/dist/index.d.ts CHANGED
@@ -19,17 +19,15 @@ import * as DialogPrimitive from '@radix-ui/react-dialog';
19
19
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
20
20
  import * as _radix_ui_react_slot from '@radix-ui/react-slot';
21
21
  import * as react_hook_form from 'react-hook-form';
22
- import { FieldValues, FieldPath, ControllerProps, Control } from 'react-hook-form';
22
+ import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
23
23
  export { useForm } from 'react-hook-form';
24
24
  import * as LabelPrimitive from '@radix-ui/react-label';
25
25
  import { CustomStyles as CustomStyles$2 } from '@/components/Button';
26
26
  import * as PopoverPrimitive from '@radix-ui/react-popover';
27
27
  import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
28
- import * as ResizablePrimitive from 'react-resizable-panels';
29
28
  import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
30
29
  import * as SelectPrimitive from '@radix-ui/react-select';
31
30
  import * as SwitchPrimitives from '@radix-ui/react-switch';
32
- import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
33
31
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
34
32
  import { InitOptions } from 'i18next';
35
33
  export { TFunction, default as i18n } from 'i18next';
@@ -348,8 +346,6 @@ interface LogoLecomBrandProps extends React$1.SVGAttributes<SVGSVGElement> {
348
346
  }
349
347
  declare const LogoLecomBrand: React$1.ForwardRefExoticComponent<LogoLecomBrandProps & React$1.RefAttributes<SVGSVGElement>>;
350
348
 
351
- declare const SairModoTeste: ({ color, strokeWidth, width, height, ...props }: React$1.SVGProps<SVGSVGElement>) => React$1.JSX.Element;
352
-
353
349
  type UsePaginationProps = {
354
350
  count?: number;
355
351
  defaultPage?: number;
@@ -712,9 +708,9 @@ interface HeaderProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<
712
708
  }
713
709
 
714
710
  declare const inputVariants: (props?: ({
715
- variant?: "default" | "filled" | "borderless" | null | undefined;
716
- size?: "default" | "small" | "large" | null | undefined;
717
- radius?: "default" | "small" | "large" | "full" | null | undefined;
711
+ variant?: "filled" | "default" | "borderless" | null | undefined;
712
+ size?: "small" | "large" | "default" | null | undefined;
713
+ radius?: "small" | "large" | "default" | "full" | null | undefined;
718
714
  } & class_variance_authority_types.ClassProp) | undefined) => string;
719
715
  interface InputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'size' | 'sufix' | 'prefix'>, VariantProps<typeof inputVariants> {
720
716
  sufix?: React$1.ReactNode;
@@ -872,28 +868,6 @@ declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrim
872
868
  declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
873
869
  declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
874
870
 
875
- declare const ResizablePanelGroup: ({ className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => React$1.JSX.Element;
876
- declare const ResizablePanel: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLDivElement | HTMLElement | HTMLButtonElement | HTMLOListElement | HTMLLIElement | HTMLAnchorElement | HTMLSpanElement | 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"> & {
877
- className?: string;
878
- collapsedSize?: number | undefined;
879
- collapsible?: boolean | undefined;
880
- defaultSize?: number | undefined;
881
- id?: string;
882
- maxSize?: number | undefined;
883
- minSize?: number | undefined;
884
- onCollapse?: ResizablePrimitive.PanelOnCollapse;
885
- onExpand?: ResizablePrimitive.PanelOnExpand;
886
- onResize?: ResizablePrimitive.PanelOnResize;
887
- order?: number;
888
- style?: object;
889
- tagName?: keyof HTMLElementTagNameMap | undefined;
890
- } & {
891
- children?: React$1.ReactNode | undefined;
892
- } & React$1.RefAttributes<ResizablePrimitive.ImperativePanelHandle>>;
893
- declare const ResizableHandle: ({ withHandle, className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
894
- withHandle?: boolean;
895
- }) => React$1.JSX.Element;
896
-
897
871
  declare const ScrollArea: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
898
872
  declare const ScrollBar: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
899
873
 
@@ -930,11 +904,7 @@ interface SpinProps extends React$1.SVGAttributes<SVGSVGElement> {
930
904
  }
931
905
  declare const Spin: React$1.ForwardRefExoticComponent<SpinProps & React$1.RefAttributes<SVGSVGElement>>;
932
906
 
933
- interface SwitchProps extends React$1.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root> {
934
- loading?: boolean;
935
- className?: string;
936
- }
937
- declare const Switch: React$1.ForwardRefExoticComponent<SwitchProps & React$1.RefAttributes<HTMLButtonElement>>;
907
+ declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
938
908
 
939
909
  declare const tagVariants: (props?: ({
940
910
  color?: "blue" | "grey" | "purple" | "yellow" | "red" | "orange" | "green" | "pink" | "turquoise" | null | undefined;
@@ -944,14 +914,6 @@ interface TagProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'color'>
944
914
  }
945
915
  declare const Tag: React$1.ForwardRefExoticComponent<TagProps & React$1.RefAttributes<HTMLDivElement>>;
946
916
 
947
- declare const toggleVariants: (props?: ({
948
- variant?: "outline" | null | undefined;
949
- color?: "blue" | "grey" | null | undefined;
950
- size?: "default" | "sm" | "lg" | null | undefined;
951
- } & class_variance_authority_types.ClassProp) | undefined) => string;
952
- declare function ToggleGroup({ className, size, color, children, ...props }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants>): React$1.JSX.Element;
953
- declare function ToggleGroupItem({ className, children, size, color, ...props }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>): React$1.JSX.Element;
954
-
955
917
  declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
956
918
  declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
957
919
  declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
@@ -1028,8 +990,8 @@ declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.
1028
990
  declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1029
991
 
1030
992
  declare const textareaVariants: (props?: ({
1031
- variant?: "default" | "filled" | "borderless" | null | undefined;
1032
- radius?: "default" | "small" | "large" | null | undefined;
993
+ variant?: "filled" | "default" | "borderless" | null | undefined;
994
+ radius?: "small" | "large" | "default" | null | undefined;
1033
995
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1034
996
  interface TextareaProps extends React$1.ComponentProps<'textarea'>, VariantProps<typeof textareaVariants> {
1035
997
  resize?: 'none' | 'both' | 'horizontal' | 'vertical';
@@ -1056,101 +1018,5 @@ declare const DrawerFooter: {
1056
1018
  declare const DrawerTitle: React$1.ForwardRefExoticComponent<React$1.ComponentPropsWithoutRef<typeof Drawer$1.Title> & React$1.RefAttributes<React$1.ElementRef<typeof Drawer$1.Title>>>;
1057
1019
  declare const DrawerDescription: React$1.ForwardRefExoticComponent<React$1.ComponentPropsWithoutRef<typeof Drawer$1.Description> & React$1.RefAttributes<React$1.ElementRef<typeof Drawer$1.Description>>>;
1058
1020
 
1059
- type TimelineStepItem = {
1060
- title: React$1.ReactNode;
1061
- description?: React$1.ReactNode;
1062
- status?: 'completed' | 'current' | 'pending' | 'error';
1063
- };
1064
- interface StepsProps {
1065
- items: TimelineStepItem[];
1066
- current?: number;
1067
- className?: string;
1068
- dotSize?: 'small' | 'medium' | 'large';
1069
- color?: string;
1070
- }
1071
- declare const Steps: React$1.FC<StepsProps>;
1072
-
1073
- interface ComboboxOption {
1074
- label: string;
1075
- value: string;
1076
- disabled?: boolean;
1077
- }
1078
- interface ComboboxGroup {
1079
- label: string;
1080
- options: ComboboxOption[];
1081
- }
1082
- type ComboboxProps = {
1083
- options: (ComboboxOption | ComboboxGroup)[];
1084
- value: string | null;
1085
- onChange: (value: string | null) => void;
1086
- placeholder?: string;
1087
- disabled?: boolean;
1088
- notFoundContent?: React$1.ReactNode;
1089
- status?: 'default' | 'error';
1090
- searchTerm?: string;
1091
- triggerClassName?: string;
1092
- contentClassName?: string;
1093
- };
1094
- declare function Combobox({ options, value, onChange, placeholder, disabled, notFoundContent, status, searchTerm, triggerClassName, contentClassName, }: ComboboxProps): React$1.JSX.Element;
1095
-
1096
- interface TagValue {
1097
- label: string;
1098
- value: string;
1099
- }
1100
- interface TagInputProps extends React$1.HTMLAttributes<HTMLDivElement> {
1101
- value: TagValue[];
1102
- onRemove: (value: string) => void;
1103
- placeholder?: string;
1104
- disabled?: boolean;
1105
- readOnly?: boolean;
1106
- className?: string;
1107
- size?: 'small' | 'default' | 'large';
1108
- variant?: 'default' | 'filled' | 'borderless';
1109
- radius?: 'default' | 'full';
1110
- }
1111
- declare function TagInput({ value, onRemove, placeholder, disabled, readOnly, className, size, variant, radius, ...props }: TagInputProps): React$1.JSX.Element;
1112
-
1113
- interface CustomDividerProps {
1114
- name?: string;
1115
- control?: Control<any>;
1116
- isActive?: boolean;
1117
- isGroupDivider?: boolean;
1118
- orientation?: 'left' | 'center' | 'right';
1119
- dashed?: boolean;
1120
- plain?: boolean;
1121
- lineOnly?: boolean;
1122
- optionLabels?: [string, string];
1123
- ButtonComponent?: typeof Button;
1124
- buttonSize?: 'small' | 'medium' | 'large' | 'extraLarge' | null | undefined;
1125
- buttonClassName?: string;
1126
- className?: string;
1127
- style?: React$1.CSSProperties;
1128
- children?: React$1.ReactNode;
1129
- }
1130
- declare function CustomDivider({ name, control, isActive, isGroupDivider, orientation, dashed, plain, lineOnly, optionLabels, ButtonComponent, buttonSize, buttonClassName, className, style, children, }: CustomDividerProps): React$1.JSX.Element;
1131
- declare namespace CustomDivider {
1132
- var displayName: string;
1133
- }
1134
-
1135
- type ExpandIconPosition = 'start' | 'end';
1136
- declare const collapseTriggerVariants: (props?: ({
1137
- size?: "small" | "medium" | "large" | null | undefined;
1138
- ghost?: boolean | null | undefined;
1139
- } & class_variance_authority_types.ClassProp) | undefined) => string;
1140
- interface CollapsePanelProps extends React$1.ComponentPropsWithoutRef<typeof AccordionPrimitive.Item> {
1141
- header: React$1.ReactNode;
1142
- children: React$1.ReactNode;
1143
- extra?: React$1.ReactNode;
1144
- expandIcon?: React$1.ReactNode;
1145
- expandIconPosition?: ExpandIconPosition;
1146
- size?: 'small' | 'medium' | 'large';
1147
- ghost?: boolean;
1148
- disabled?: boolean;
1149
- className?: string;
1150
- }
1151
- declare const Collapse: React$1.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React$1.RefAttributes<HTMLDivElement>> & {
1152
- Panel: React$1.ForwardRefExoticComponent<CollapsePanelProps & React$1.RefAttributes<HTMLDivElement>>;
1153
- };
1154
-
1155
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, CadastroFacil, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapse, Combobox, CustomDivider, DataTable, 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, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Input, Layout, LogoLecom, LogoLecomBrand, ModoTeste, MultiSelect, Notification, 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, Skeleton, Spin, Steps, Switch, TOAST_REMOVE_DELAY, Tabs, TabsContent, TabsList, TabsTrigger, Tag, TagInput, Textarea, ToggleGroup, ToggleGroupItem, Tooltip, TooltipArrow, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, Translations, TypeMessageNotification, Typography, Upload, accordionVariants, buttonVariants, collapseTriggerVariants, colors, fonts, initializeI18n, inputVariants, notificationVariants, reducer, tagVariants, textareaVariants, toast, typographyVariants, useFormField, useIsMobile, useNotificationToast, usePagination, useSidebar };
1156
- export type { BgColor, BuildCellSelect, BuildColumns, BuildHeaderSelect, ButtonProps, CadastroFacilProps, CalloutNotificationProps, ChartConfig, CheckboxProps, CheckedCell, CheckedCellChange, CheckedHeader, CheckedHeaderChange, Color, ColorToken, Column, ColumnRender, ColumnSort, ColumnSortClient, ColumnTitle, ComboboxGroup, ComboboxOption, ComboboxProps, CustomStyles$1 as CustomStyles, DataTableProps, DialogContentProps, ErrorEmptyDisplayProps, ExpandIconPosition, File, FillColor, Fonts, Header, HeaderProps, InlineNotificationProps, InputProps, LayoutProps, LogoLecomBrandProps, LogoLecomProps, Meta, ModoTesteProps, NotificationProps, PaginationProps, Row, RpaProps, SideBarProps, SpinProps, StepsProps, SwitchProps, TableProps, TagInputProps, TagProps, TagValue, TextColor, TextareaProps, TimelineStepItem, ToastNotificationProps, ToasterToast, TooltipContentProps, TypographyProps, UploadProps, UsePaginationItem };
1021
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, CadastroFacil, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, DataTable, 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, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Input, Layout, LogoLecom, LogoLecomBrand, ModoTeste, MultiSelect, Notification, Pagination, PaginationContent, PaginationEllipsis, PaginationFirst, PaginationIndex, PaginationItem, PaginationLast, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverTrigger, RadioGroup, RadioGroupItem, Rpa, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Skeleton, Spin, Switch, TOAST_REMOVE_DELAY, Tabs, TabsContent, TabsList, TabsTrigger, Tag, Textarea, Tooltip, TooltipArrow, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, Translations, TypeMessageNotification, Typography, Upload, accordionVariants, buttonVariants, colors, fonts, initializeI18n, inputVariants, notificationVariants, reducer, tagVariants, textareaVariants, toast, typographyVariants, useFormField, useIsMobile, useNotificationToast, usePagination, useSidebar };
1022
+ export type { BgColor, BuildCellSelect, BuildColumns, BuildHeaderSelect, ButtonProps, CadastroFacilProps, CalloutNotificationProps, ChartConfig, CheckboxProps, CheckedCell, CheckedCellChange, CheckedHeader, CheckedHeaderChange, Color, ColorToken, Column, ColumnRender, ColumnSort, ColumnSortClient, ColumnTitle, CustomStyles$1 as CustomStyles, DataTableProps, DialogContentProps, ErrorEmptyDisplayProps, File, FillColor, Fonts, Header, HeaderProps, InlineNotificationProps, InputProps, LayoutProps, LogoLecomBrandProps, LogoLecomProps, Meta, ModoTesteProps, NotificationProps, PaginationProps, Row, RpaProps, SideBarProps, SpinProps, TableProps, TagProps, TextColor, TextareaProps, ToastNotificationProps, ToasterToast, TooltipContentProps, TypographyProps, UploadProps, UsePaginationItem };
package/dist/index.js CHANGED
@@ -9,7 +9,6 @@ export { LogoLecom } from './components/CustomIcon/Icons/LogoLecom.js';
9
9
  export { ModoTeste } from './components/CustomIcon/Icons/ModoTeste.js';
10
10
  export { Rpa } from './components/CustomIcon/Icons/Rpa.js';
11
11
  export { LogoLecomBrand } from './components/CustomIcon/Icons/LogoLecomBrand.js';
12
- export { SairModoTeste } from './components/CustomIcon/Icons/SairModoTeste.js';
13
12
  export { DataTable } from './components/DataTable/DataTable.js';
14
13
  export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogScroll, DialogTitle, DialogTrigger } from './components/Dialog/Dialog.js';
15
14
  export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from './components/DropdownMenu/DropdownMenu.js';
@@ -23,7 +22,6 @@ export { TOAST_REMOVE_DELAY, reducer, toast, useNotificationToast } from './comp
23
22
  export { Pagination, PaginationContent, PaginationEllipsis, PaginationFirst, PaginationIndex, PaginationItem, PaginationLast, PaginationNext, PaginationPrevious } from './components/Pagination/Pagination.js';
24
23
  export { Popover, PopoverContent, PopoverTrigger } from './components/Popover/Popover.js';
25
24
  export { RadioGroup, RadioGroupItem } from './components/RadioGroup/RadioGroup.js';
26
- export { ResizableHandle, ResizablePanel, ResizablePanelGroup } from './components/ResizablePanel/ResizablePanel.js';
27
25
  export { ScrollArea, ScrollBar } from './components/ScrollArea/ScrollArea.js';
28
26
  export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from './components/Select/Select.js';
29
27
  export { useSidebar } from './components/Sidebar/Sidebar.js';
@@ -31,7 +29,6 @@ export { Skeleton } from './components/Skeleton/Skeleton.js';
31
29
  export { Spin } from './components/Spin/Spin.js';
32
30
  export { Switch } from './components/Switch/Switch.js';
33
31
  export { Tag, tagVariants } from './components/Tag/Tag.js';
34
- export { ToggleGroup, ToggleGroupItem } from './components/ToggleGroup/ToggleGroup.js';
35
32
  export { Tooltip, TooltipArrow, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger } from './components/Tooltip/Tooltip.js';
36
33
  export { Typography, typographyVariants } from './components/Typography/Typography.js';
37
34
  export { Upload } from './components/Upload/Upload.js';
@@ -43,11 +40,6 @@ export { fonts } from './tokens/fonts.js';
43
40
  export { Tabs, TabsContent, TabsList, TabsTrigger } from './components/Tabs/Tabs.js';
44
41
  export { Textarea, textareaVariants } from './components/Textarea/Textarea.js';
45
42
  export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger } from './components/Drawer/Drawer.js';
46
- export { Steps } from './components/Steps/Steps.js';
47
- export { Combobox } from './components/Combobox/Combobox.js';
48
- export { TagInput } from './components/TagInput/TagInput.js';
49
- export { CustomDivider } from './components/CustomDivider/CustomDivider.js';
50
- export { Collapse, collapseTriggerVariants } from './components/Collapse/Collapse.js';
51
43
  export { Bar, BarChart, CartesianGrid, Label, LabelList, XAxis, YAxis } from 'recharts';
52
44
  export { z as zod } from 'zod';
53
45
  export { zodResolver } from '@hookform/resolvers/zod';
@@ -1,78 +1,78 @@
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
- },
76
- };
77
-
78
- 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
+ },
76
+ };
77
+
78
+ export { extend };