pge-front-common 14.0.3 → 14.0.6
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/lib/components/TableV2/TableHeaderContext.d.ts +2 -0
- package/lib/components/TableV2/index.d.ts +8 -0
- package/lib/components/TableV2/index.types.d.ts +20 -0
- package/lib/components/TableV2/table.stories.d.ts +6 -0
- package/lib/index.d.ts +28 -1
- package/lib/index.esm.js +353 -318
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +358 -317
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { TableBodyProps, TableCellProps, TableFooterProps, TableHeaderProps, TableProps, TableRowProps } from "./index.types";
|
|
3
|
+
export declare const Table: ({ children, className, ...props }: TableProps) => React.JSX.Element;
|
|
4
|
+
export declare const TableHeader: ({ children, ...props }: TableHeaderProps) => React.JSX.Element;
|
|
5
|
+
export declare const TableBody: ({ children, ...props }: TableBodyProps) => React.JSX.Element;
|
|
6
|
+
export declare const TableRow: ({ children, ...props }: TableRowProps) => React.JSX.Element;
|
|
7
|
+
export declare const TableCell: ({ children, ...props }: TableCellProps) => React.JSX.Element;
|
|
8
|
+
export declare const TableFooter: ({ children, ...props }: TableFooterProps) => React.JSX.Element;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
export type TableProps = React.HTMLAttributes<HTMLTableElement> & {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
className?: string;
|
|
5
|
+
};
|
|
6
|
+
export type TableHeaderProps = React.HTMLAttributes<HTMLTableSectionElement> & {
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
};
|
|
9
|
+
export type TableBodyProps = React.HTMLAttributes<HTMLTableSectionElement> & {
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
};
|
|
12
|
+
export type TableRowProps = React.HTMLAttributes<HTMLTableRowElement> & {
|
|
13
|
+
children: ReactNode;
|
|
14
|
+
};
|
|
15
|
+
export type TableCellProps = React.TdHTMLAttributes<HTMLTableCellElement> & {
|
|
16
|
+
children: ReactNode;
|
|
17
|
+
};
|
|
18
|
+
export type TableFooterProps = React.HTMLAttributes<HTMLTableSectionElement> & {
|
|
19
|
+
children: ReactNode;
|
|
20
|
+
};
|
package/lib/index.d.ts
CHANGED
|
@@ -407,6 +407,33 @@ interface Props {
|
|
|
407
407
|
}
|
|
408
408
|
declare const MenuAction: ({ itens }: Props) => React__default.JSX.Element;
|
|
409
409
|
|
|
410
|
+
type TableProps = React.HTMLAttributes<HTMLTableElement> & {
|
|
411
|
+
children: ReactNode;
|
|
412
|
+
className?: string;
|
|
413
|
+
};
|
|
414
|
+
type TableHeaderProps = React.HTMLAttributes<HTMLTableSectionElement> & {
|
|
415
|
+
children: ReactNode;
|
|
416
|
+
};
|
|
417
|
+
type TableBodyProps = React.HTMLAttributes<HTMLTableSectionElement> & {
|
|
418
|
+
children: ReactNode;
|
|
419
|
+
};
|
|
420
|
+
type TableRowProps = React.HTMLAttributes<HTMLTableRowElement> & {
|
|
421
|
+
children: ReactNode;
|
|
422
|
+
};
|
|
423
|
+
type TableCellProps = React.TdHTMLAttributes<HTMLTableCellElement> & {
|
|
424
|
+
children: ReactNode;
|
|
425
|
+
};
|
|
426
|
+
type TableFooterProps = React.HTMLAttributes<HTMLTableSectionElement> & {
|
|
427
|
+
children: ReactNode;
|
|
428
|
+
};
|
|
429
|
+
|
|
430
|
+
declare const Table: ({ children, className, ...props }: TableProps) => React__default.JSX.Element;
|
|
431
|
+
declare const TableHeader: ({ children, ...props }: TableHeaderProps) => React__default.JSX.Element;
|
|
432
|
+
declare const TableBody: ({ children, ...props }: TableBodyProps) => React__default.JSX.Element;
|
|
433
|
+
declare const TableRow: ({ children, ...props }: TableRowProps) => React__default.JSX.Element;
|
|
434
|
+
declare const TableCell: ({ children, ...props }: TableCellProps) => React__default.JSX.Element;
|
|
435
|
+
declare const TableFooter: ({ children, ...props }: TableFooterProps) => React__default.JSX.Element;
|
|
436
|
+
|
|
410
437
|
declare const IconDownload: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
411
438
|
|
|
412
439
|
declare const IconVisibility: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
@@ -477,4 +504,4 @@ declare const CommonDotIcon: (props?: SVGProps<SVGSVGElement>) => React__default
|
|
|
477
504
|
|
|
478
505
|
declare function installPrimeReactStyles(): void;
|
|
479
506
|
|
|
480
|
-
export { Accordion, AccordionItem, type AccordionItemProps, Blanket, BoxError, BoxSuccess, Button, type ButtonProps$1 as ButtonProps, Checkbox, type Column, CommonDotIcon, DateInput, Dropdown, FileUpload, FooterPge as Footer, Header, HeaderPge, IconAdd, IconAddCell, IconArrowExpland, IconArrowRecall, IconCLose, IconCalendar, IconCheck, IconCheckCircle, IconCircleExpland, IconCircleRecall, IconDelete, IconDownload, IconEdit, IconEventAvaliable, IconHourglass, IconInvisibility, IconLogout, IconNewTab, IconPdf, IconPrint, IconProfile, IconQuestionMark, IconRemove, IconSearch, IconSwap, IconTriangleExpand, IconTriangleRecall, IconUpAndDownArror, IconUpload, IconUploadFile, IconUploadV2, IconVisibility, IconWarning, InformativeBox, type InformativeBoxProps, InputBase, type InputProps, LoadingSpinner, Menu, MenuAction, MenuList, Modal, ModalBody, ModalFooter, ModalHeader, ModalUI, Option, type OptionsProps$1 as OptionsProps, PaginationTable, Pagination as PaginationV2, PasswordInput, PgeButton, RadioGroupBase, type RadioGroupBaseProps, SelectDefault, type SelectDefaultProps, SelectMult, type SelectMultProps, TableComponent, type TableComponentProps, TextareaBase, type TextareaBaseProps, Title, Tooltip, installPrimeReactStyles };
|
|
507
|
+
export { Accordion, AccordionItem, type AccordionItemProps, Blanket, BoxError, BoxSuccess, Button, type ButtonProps$1 as ButtonProps, Checkbox, type Column, CommonDotIcon, DateInput, Dropdown, FileUpload, FooterPge as Footer, Header, HeaderPge, IconAdd, IconAddCell, IconArrowExpland, IconArrowRecall, IconCLose, IconCalendar, IconCheck, IconCheckCircle, IconCircleExpland, IconCircleRecall, IconDelete, IconDownload, IconEdit, IconEventAvaliable, IconHourglass, IconInvisibility, IconLogout, IconNewTab, IconPdf, IconPrint, IconProfile, IconQuestionMark, IconRemove, IconSearch, IconSwap, IconTriangleExpand, IconTriangleRecall, IconUpAndDownArror, IconUpload, IconUploadFile, IconUploadV2, IconVisibility, IconWarning, InformativeBox, type InformativeBoxProps, InputBase, type InputProps, LoadingSpinner, Menu, MenuAction, MenuList, Modal, ModalBody, ModalFooter, ModalHeader, ModalUI, Option, type OptionsProps$1 as OptionsProps, PaginationTable, Pagination as PaginationV2, PasswordInput, PgeButton, RadioGroupBase, type RadioGroupBaseProps, SelectDefault, type SelectDefaultProps, SelectMult, type SelectMultProps, Table, TableBody, TableCell, TableComponent, type TableComponentProps, TableFooter, TableHeader, TableRow, TextareaBase, type TextareaBaseProps, Title, Tooltip, installPrimeReactStyles };
|