lecom-ui 2.7.7 → 2.7.8
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/dist/index.d.ts +11 -12
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import * as React from 'react';
|
|
|
3
3
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
6
|
-
import { ColumnDef } from '@tanstack/react-table';
|
|
7
6
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
8
7
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
9
8
|
import { CustomStyles as CustomStyles$2 } from '@/components/Button';
|
|
@@ -240,16 +239,6 @@ interface LogoLecomBrandProps extends React.SVGAttributes<SVGSVGElement> {
|
|
|
240
239
|
}
|
|
241
240
|
declare const LogoLecomBrand: React.ForwardRefExoticComponent<LogoLecomBrandProps & React.RefAttributes<SVGSVGElement>>;
|
|
242
241
|
|
|
243
|
-
interface DataTableProps<TData, TValue> {
|
|
244
|
-
columns: ColumnDef<TData, TValue>[];
|
|
245
|
-
data: TData[];
|
|
246
|
-
noResults?: React.ReactNode;
|
|
247
|
-
onRowSelectionChange?: (rowSelection: {
|
|
248
|
-
[key: string]: string;
|
|
249
|
-
}) => void;
|
|
250
|
-
}
|
|
251
|
-
declare function DataTable<TData, TValue>({ columns, data, noResults, onRowSelectionChange, }: DataTableProps<TData, TValue>): React.JSX.Element;
|
|
252
|
-
|
|
253
242
|
declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
|
|
254
243
|
declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
255
244
|
declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
|
|
@@ -549,6 +538,16 @@ declare const Skeleton: ({ className, ...props }: React.HTMLAttributes<HTMLDivEl
|
|
|
549
538
|
|
|
550
539
|
declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
551
540
|
|
|
541
|
+
declare const Table: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableElement> & React.RefAttributes<HTMLTableElement>>;
|
|
542
|
+
declare const TableHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
543
|
+
declare const TableBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
544
|
+
declare const TableFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
545
|
+
declare const TableRowHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableRowElement> & React.RefAttributes<HTMLTableRowElement>>;
|
|
546
|
+
declare const TableRowBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableRowElement> & React.RefAttributes<HTMLTableRowElement>>;
|
|
547
|
+
declare const TableHead: React.ForwardRefExoticComponent<React.ThHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
|
|
548
|
+
declare const TableCell: React.ForwardRefExoticComponent<React.TdHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
|
|
549
|
+
declare const TableCaption: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableCaptionElement> & React.RefAttributes<HTMLTableCaptionElement>>;
|
|
550
|
+
|
|
552
551
|
declare const tagVariants: (props?: ({
|
|
553
552
|
color?: "blue" | "grey" | "green" | "orange" | "pink" | "purple" | "red" | "turquoise" | "yellow" | null | undefined;
|
|
554
553
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -605,4 +604,4 @@ declare const fonts: {
|
|
|
605
604
|
ibm: string[];
|
|
606
605
|
};
|
|
607
606
|
|
|
608
|
-
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,
|
|
607
|
+
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, 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 };
|
package/dist/index.js
CHANGED
|
@@ -7,7 +7,6 @@ export { LogoLecom } from './components/CustomIcon/Icons/LogoLecom.js';
|
|
|
7
7
|
export { ModoTeste } from './components/CustomIcon/Icons/ModoTeste.js';
|
|
8
8
|
export { Rpa } from './components/CustomIcon/Icons/Rpa.js';
|
|
9
9
|
export { LogoLecomBrand } from './components/CustomIcon/Icons/LogoLecomBrand.js';
|
|
10
|
-
export { DataTable } from './components/DataTable/DataTable.js';
|
|
11
10
|
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from './components/Dialog/Dialog.js';
|
|
12
11
|
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from './components/DropdownMenu/DropdownMenu.js';
|
|
13
12
|
export { Layout } from './components/Layout/Layout.js';
|
|
@@ -17,6 +16,7 @@ export { Pagination, PaginationContent, PaginationEllipsis, PaginationFirst, Pag
|
|
|
17
16
|
export { Popover, PopoverContent, PopoverTrigger } from './components/Popover/Popover.js';
|
|
18
17
|
export { Skeleton } from './components/Skeleton/Skeleton.js';
|
|
19
18
|
export { Switch } from './components/Switch/Switch.js';
|
|
19
|
+
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRowBody, TableRowHeader } from './components/Table/Table.js';
|
|
20
20
|
export { Tag, tagVariants } from './components/Tag/Tag.js';
|
|
21
21
|
export { Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger } from './components/Tooltip/Tooltip.js';
|
|
22
22
|
export { Typography, typographyVariants } from './components/Typography/Typography.js';
|