lecom-ui 4.1.2 → 4.1.3
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
CHANGED
|
@@ -3,7 +3,7 @@ import * as React$1 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 { Row, Table, Column as Column$1 } from '@tanstack/react-table';
|
|
6
|
+
import { Row as Row$1, Table, Column as Column$1 } from '@tanstack/react-table';
|
|
7
7
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
8
8
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
9
9
|
import { CustomStyles as CustomStyles$2 } from '@/components/Button';
|
|
@@ -320,7 +320,7 @@ declare const Pagination: {
|
|
|
320
320
|
};
|
|
321
321
|
|
|
322
322
|
interface ColumnRender<TData, TValue> {
|
|
323
|
-
row: Row<TData>;
|
|
323
|
+
row: Row$1<TData>;
|
|
324
324
|
value: TValue;
|
|
325
325
|
}
|
|
326
326
|
interface ColumnSort<TData, TValue> {
|
|
@@ -338,10 +338,10 @@ interface CheckedHeaderChange<TData, TValue> {
|
|
|
338
338
|
value: boolean;
|
|
339
339
|
}
|
|
340
340
|
interface CheckedCell<TData> {
|
|
341
|
-
row: Row<TData>;
|
|
341
|
+
row: Row$1<TData>;
|
|
342
342
|
}
|
|
343
343
|
interface CheckedCellChange<TData> {
|
|
344
|
-
row: Row<TData>;
|
|
344
|
+
row: Row$1<TData>;
|
|
345
345
|
value: boolean;
|
|
346
346
|
}
|
|
347
347
|
interface Column<TData, TValue> {
|
|
@@ -365,7 +365,28 @@ interface DataTableProps<TData, TValue> {
|
|
|
365
365
|
pagination?: PaginationProps;
|
|
366
366
|
vwDiff?: number;
|
|
367
367
|
vhDiff?: number;
|
|
368
|
-
onIsSelected?: (row: Row<TData>) => boolean;
|
|
368
|
+
onIsSelected?: (row: Row$1<TData>) => boolean;
|
|
369
|
+
}
|
|
370
|
+
interface Row<TData> {
|
|
371
|
+
row: Row$1<TData>;
|
|
372
|
+
}
|
|
373
|
+
interface Header<TData, TValue> {
|
|
374
|
+
table: Table<TData>;
|
|
375
|
+
column: Column$1<TData, TValue>;
|
|
376
|
+
}
|
|
377
|
+
interface BuildColumns<TData, TValue> {
|
|
378
|
+
columns: Column<TData, TValue>[];
|
|
379
|
+
}
|
|
380
|
+
interface BuildHeaderSelect<TData, TValue> {
|
|
381
|
+
table: Table<TData>;
|
|
382
|
+
column: Column$1<TData, TValue>;
|
|
383
|
+
checkedHeader: Column<TData, TValue>['checkedHeader'];
|
|
384
|
+
onCheckedHeaderChange: Column<TData, TValue>['onCheckedHeaderChange'];
|
|
385
|
+
}
|
|
386
|
+
interface BuildCellSelect<TData, TValue> {
|
|
387
|
+
row: Row$1<TData>;
|
|
388
|
+
checkedCell: Column<TData, TValue>['checkedCell'];
|
|
389
|
+
onCheckedCellChange: Column<TData, TValue>['onCheckedCellChange'];
|
|
369
390
|
}
|
|
370
391
|
|
|
371
392
|
declare function DataTable<TData, TValue>({ columnFullSize, fixedColumns, isLoading, columns, data, noResults, pagination, vwDiff, vhDiff, onIsSelected, }: DataTableProps<TData, TValue>): React$1.JSX.Element;
|
|
@@ -712,4 +733,4 @@ declare const fonts: {
|
|
|
712
733
|
ibm: string[];
|
|
713
734
|
};
|
|
714
735
|
|
|
715
|
-
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, DataTable, 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, type PaginationProps, Popover, PopoverContent, PopoverTrigger, Rpa, type RpaProps, ScrollArea, ScrollBar, type SideBarProps, Skeleton, Spin, type SpinProps, Switch, TOAST_REMOVE_DELAY, Tag, type TagProps, type TextColor, type ToastNotificationProps, type ToasterToast, Tooltip, TooltipArrow, TooltipContent, type TooltipContentProps, TooltipPortal, TooltipProvider, TooltipTrigger, Translations, TypeMessageNotification, Typography, type TypographyProps, type UsePaginationItem, accordionVariants, buttonVariants, colors, fonts, getPositionClass, initializeI18n, notificationVariants, reducer, tagVariants, toast, typographyVariants, useIsMobile, useNotificationToast, usePagination, useSidebar };
|
|
736
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, type BgColor, type BuildCellSelect, type BuildColumns, type BuildHeaderSelect, Button, type ButtonProps, CadastroFacil, type CadastroFacilProps, type CalloutNotificationProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, type CheckboxProps, type CheckedCell, type CheckedCellChange, type CheckedHeader, type CheckedHeaderChange, type Color, type ColorToken, type Column, type ColumnRender, type ColumnSort, type ColumnTitle, type CustomStyles$1 as CustomStyles, DataTable, type DataTableProps, 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 Header, 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, type PaginationProps, Popover, PopoverContent, PopoverTrigger, type Row, Rpa, type RpaProps, ScrollArea, ScrollBar, type SideBarProps, Skeleton, Spin, type SpinProps, Switch, TOAST_REMOVE_DELAY, Tag, type TagProps, type TextColor, type ToastNotificationProps, type ToasterToast, Tooltip, TooltipArrow, TooltipContent, type TooltipContentProps, TooltipPortal, TooltipProvider, TooltipTrigger, Translations, TypeMessageNotification, Typography, type TypographyProps, type UsePaginationItem, accordionVariants, buttonVariants, colors, fonts, getPositionClass, initializeI18n, notificationVariants, reducer, tagVariants, toast, typographyVariants, useIsMobile, useNotificationToast, usePagination, useSidebar };
|