lecom-ui 5.2.75 → 5.2.77
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 +1 -1
- package/dist/components/DataTable/DataTable.utils.js +10 -3
- package/dist/components/DataTable/Table.js +1 -2
- package/dist/components/Switch/Switch.js +6 -42
- package/dist/index.d.ts +10 -110
- package/dist/index.js +0 -5
- package/dist/plugin/extend.js +78 -78
- package/dist/plugin/fontFaces.js +172 -172
- package/dist/plugin/general.js +12 -12
- package/dist/plugin/pluginDev.cjs +5 -5
- package/dist/plugin/pluginNext.cjs +5 -5
- package/dist/plugin/pluginNextTurbo.cjs +5 -5
- package/dist/plugin/pluginVite.cjs +5 -5
- package/dist/plugin/template.js +31 -31
- package/dist/plugin/typographies.js +152 -152
- package/dist/plugin/varsTheme.js +79 -79
- package/dist/style.min.css +1 -1
- package/package.json +5 -8
- package/dist/components/Collapse/Collapse.js +0 -94
- package/dist/components/Combobox/Combobox.js +0 -128
- package/dist/components/CustomDivider/CustomDivider.js +0 -207
- package/dist/components/Steps/Steps.js +0 -102
- package/dist/components/TagInput/TagInput.js +0 -107
package/README.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
lecom-ui
|
|
1
|
+
lecom-ui
|
|
@@ -60,8 +60,7 @@ function buildColumns({
|
|
|
60
60
|
className: clsx(
|
|
61
61
|
"group flex items-center gap-1",
|
|
62
62
|
hasSort && "hover:cursor-pointer"
|
|
63
|
-
)
|
|
64
|
-
onClick: () => externalColumn.onSort?.({ table, column })
|
|
63
|
+
)
|
|
65
64
|
},
|
|
66
65
|
typeof externalColumn.title === "string" ? /* @__PURE__ */ React.createElement(
|
|
67
66
|
Typography,
|
|
@@ -77,7 +76,15 @@ function buildColumns({
|
|
|
77
76
|
ArrowUpDown,
|
|
78
77
|
{
|
|
79
78
|
size: 16,
|
|
80
|
-
className: "text-grey-400 group-hover:text-grey-950"
|
|
79
|
+
className: "text-grey-400 group-hover:text-grey-950 hover:cursor-pointer",
|
|
80
|
+
onClick: (e) => {
|
|
81
|
+
e.stopPropagation();
|
|
82
|
+
const handler = column.getToggleSortingHandler?.();
|
|
83
|
+
if (handler) handler(e);
|
|
84
|
+
else if (externalColumn.onSort) {
|
|
85
|
+
externalColumn.onSort({ table, column });
|
|
86
|
+
}
|
|
87
|
+
}
|
|
81
88
|
}
|
|
82
89
|
)
|
|
83
90
|
);
|
|
@@ -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
|
|
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,7 +19,7 @@ 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
|
|
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';
|
|
@@ -712,9 +712,9 @@ interface HeaderProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<
|
|
|
712
712
|
}
|
|
713
713
|
|
|
714
714
|
declare const inputVariants: (props?: ({
|
|
715
|
-
variant?: "
|
|
716
|
-
size?: "
|
|
717
|
-
radius?: "
|
|
715
|
+
variant?: "filled" | "default" | "borderless" | null | undefined;
|
|
716
|
+
size?: "small" | "large" | "default" | null | undefined;
|
|
717
|
+
radius?: "small" | "large" | "default" | "full" | null | undefined;
|
|
718
718
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
719
719
|
interface InputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'size' | 'sufix' | 'prefix'>, VariantProps<typeof inputVariants> {
|
|
720
720
|
sufix?: React$1.ReactNode;
|
|
@@ -873,7 +873,7 @@ declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimi
|
|
|
873
873
|
declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
874
874
|
|
|
875
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<
|
|
876
|
+
declare const ResizablePanel: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLButtonElement | HTMLElement | HTMLDivElement | HTMLOListElement | HTMLLIElement | HTMLAnchorElement | HTMLSpanElement | HTMLLabelElement | HTMLParagraphElement | HTMLHeadingElement | 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
877
|
className?: string;
|
|
878
878
|
collapsedSize?: number | undefined;
|
|
879
879
|
collapsible?: boolean | undefined;
|
|
@@ -930,11 +930,7 @@ interface SpinProps extends React$1.SVGAttributes<SVGSVGElement> {
|
|
|
930
930
|
}
|
|
931
931
|
declare const Spin: React$1.ForwardRefExoticComponent<SpinProps & React$1.RefAttributes<SVGSVGElement>>;
|
|
932
932
|
|
|
933
|
-
|
|
934
|
-
loading?: boolean;
|
|
935
|
-
className?: string;
|
|
936
|
-
}
|
|
937
|
-
declare const Switch: React$1.ForwardRefExoticComponent<SwitchProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
933
|
+
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
938
934
|
|
|
939
935
|
declare const tagVariants: (props?: ({
|
|
940
936
|
color?: "blue" | "grey" | "purple" | "yellow" | "red" | "orange" | "green" | "pink" | "turquoise" | null | undefined;
|
|
@@ -1028,8 +1024,8 @@ declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.
|
|
|
1028
1024
|
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1029
1025
|
|
|
1030
1026
|
declare const textareaVariants: (props?: ({
|
|
1031
|
-
variant?: "
|
|
1032
|
-
radius?: "
|
|
1027
|
+
variant?: "filled" | "default" | "borderless" | null | undefined;
|
|
1028
|
+
radius?: "small" | "large" | "default" | null | undefined;
|
|
1033
1029
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1034
1030
|
interface TextareaProps extends React$1.ComponentProps<'textarea'>, VariantProps<typeof textareaVariants> {
|
|
1035
1031
|
resize?: 'none' | 'both' | 'horizontal' | 'vertical';
|
|
@@ -1056,101 +1052,5 @@ declare const DrawerFooter: {
|
|
|
1056
1052
|
declare const DrawerTitle: React$1.ForwardRefExoticComponent<React$1.ComponentPropsWithoutRef<typeof Drawer$1.Title> & React$1.RefAttributes<React$1.ElementRef<typeof Drawer$1.Title>>>;
|
|
1057
1053
|
declare const DrawerDescription: React$1.ForwardRefExoticComponent<React$1.ComponentPropsWithoutRef<typeof Drawer$1.Description> & React$1.RefAttributes<React$1.ElementRef<typeof Drawer$1.Description>>>;
|
|
1058
1054
|
|
|
1059
|
-
|
|
1060
|
-
|
|
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 };
|
|
1055
|
+
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, ResizableHandle, ResizablePanel, ResizablePanelGroup, Rpa, SairModoTeste, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Skeleton, Spin, Switch, TOAST_REMOVE_DELAY, Tabs, TabsContent, TabsList, TabsTrigger, Tag, Textarea, ToggleGroup, ToggleGroupItem, 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 };
|
|
1056
|
+
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
|
@@ -43,11 +43,6 @@ export { fonts } from './tokens/fonts.js';
|
|
|
43
43
|
export { Tabs, TabsContent, TabsList, TabsTrigger } from './components/Tabs/Tabs.js';
|
|
44
44
|
export { Textarea, textareaVariants } from './components/Textarea/Textarea.js';
|
|
45
45
|
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
46
|
export { Bar, BarChart, CartesianGrid, Label, LabelList, XAxis, YAxis } from 'recharts';
|
|
52
47
|
export { z as zod } from 'zod';
|
|
53
48
|
export { zodResolver } from '@hookform/resolvers/zod';
|
package/dist/plugin/extend.js
CHANGED
|
@@ -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 };
|