@pdg/react-table 1.0.102 → 1.0.104

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.
Files changed (54) hide show
  1. package/dist/@types/index.d.ts +1 -1
  2. package/dist/@types/types.d.ts +11 -11
  3. package/dist/InfoTable/InfoTable.d.ts +7 -7
  4. package/dist/InfoTable/InfoTable.types.d.ts +78 -79
  5. package/dist/InfoTable/index.d.ts +4 -4
  6. package/dist/SearchTable/SearchTable.d.ts +8 -8
  7. package/dist/SearchTable/SearchTable.types.d.ts +33 -34
  8. package/dist/SearchTable/index.d.ts +4 -4
  9. package/dist/Table/Table.d.ts +8 -8
  10. package/dist/Table/Table.types.d.ts +129 -130
  11. package/dist/Table/index.d.ts +4 -4
  12. package/dist/TableBodyCell/TableBodyCell.d.ts +4 -4
  13. package/dist/TableBodyCell/TableBodyCell.types.d.ts +18 -18
  14. package/dist/TableBodyCell/index.d.ts +4 -4
  15. package/dist/TableBodyRow/TableBodyRow.d.ts +7 -7
  16. package/dist/TableBodyRow/TableBodyRow.types.d.ts +18 -19
  17. package/dist/TableBodyRow/index.d.ts +4 -4
  18. package/dist/TableButton/TableButton.d.ts +4 -4
  19. package/dist/TableButton/TableButton.types.d.ts +3 -4
  20. package/dist/TableButton/index.d.ts +4 -4
  21. package/dist/TableCommonCell/TableCommonCell.d.ts +4 -4
  22. package/dist/TableCommonCell/TableCommonCell.types.d.ts +11 -11
  23. package/dist/TableCommonCell/index.d.ts +4 -4
  24. package/dist/TableContext/TableContext.d.ts +4 -4
  25. package/dist/TableContext/TableContext.types.d.ts +14 -14
  26. package/dist/TableContext/index.d.ts +5 -5
  27. package/dist/TableContext/useTableState.d.ts +2 -2
  28. package/dist/TableContextProvider/TableContextProvider.d.ts +4 -4
  29. package/dist/TableContextProvider/TableContextProvider.types.d.ts +6 -6
  30. package/dist/TableContextProvider/index.d.ts +4 -4
  31. package/dist/TableFooterCell/TableFooterCell.d.ts +4 -4
  32. package/dist/TableFooterCell/TableFooterCell.types.d.ts +5 -5
  33. package/dist/TableFooterCell/index.d.ts +4 -4
  34. package/dist/TableHeadCell/TableHeadCell.d.ts +4 -4
  35. package/dist/TableHeadCell/TableHeadCell.types.d.ts +11 -11
  36. package/dist/TableHeadCell/index.d.ts +4 -4
  37. package/dist/TableMenuButton/TableMenuButton.d.ts +4 -4
  38. package/dist/TableMenuButton/TableMenuButton.types.d.ts +9 -10
  39. package/dist/TableMenuButton/index.d.ts +4 -4
  40. package/dist/TablePagination/TablePagination.d.ts +4 -4
  41. package/dist/TablePagination/TablePagination.types.d.ts +13 -13
  42. package/dist/TablePagination/index.d.ts +4 -4
  43. package/dist/TableTopHead/TableTopHead.d.ts +4 -4
  44. package/dist/TableTopHead/TableTopHead.types.d.ts +17 -18
  45. package/dist/TableTopHead/index.d.ts +4 -4
  46. package/dist/index.d.ts +7 -7
  47. package/dist/index.esm.js +1974 -2006
  48. package/dist/index.js +1974 -2006
  49. package/package.json +18 -18
  50. package/dist/@util/index.d.ts +0 -1
  51. package/dist/@util/table.d.ts +0 -8
  52. package/dist/InfoTable/InfoTable.style.d.ts +0 -14
  53. package/dist/Table/Table.styles.d.ts +0 -5
  54. package/dist/TableTopHead/TableTopHead.style.d.ts +0 -4
@@ -1,4 +1,4 @@
1
- import TableBodyCell from './TableBodyCell';
2
- export default TableBodyCell;
3
- export { TableBodyCell };
4
- export * from './TableBodyCell.types';
1
+ import TableBodyCell from './TableBodyCell';
2
+ export default TableBodyCell;
3
+ export { TableBodyCell };
4
+ export * from './TableBodyCell.types';
@@ -1,7 +1,7 @@
1
- import React from 'react';
2
- import { TableBodyRowProps as Props } from './TableBodyRow.types';
3
- export declare const StyledBodyRow: import("@emotion/styled").StyledComponent<import("@mui/material").TableRowOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "ref"> & {
4
- ref?: ((instance: HTMLTableRowElement | null) => void) | React.RefObject<HTMLTableRowElement> | null | undefined;
5
- }, "className" | "style" | "classes" | "children" | "hover" | "selected" | "sx"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
6
- declare const TableBodyRow: React.FC<Props>;
7
- export default TableBodyRow;
1
+ import React from 'react';
2
+ import { TableBodyRowProps as Props } from './TableBodyRow.types';
3
+ export declare const StyledBodyRow: import("@emotion/styled").StyledComponent<import("@mui/material").TableRowOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "ref"> & {
4
+ ref?: ((instance: HTMLTableRowElement | null) => void) | React.RefObject<HTMLTableRowElement> | null | undefined;
5
+ }, "className" | "style" | "classes" | "children" | "hover" | "selected" | "sx"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
6
+ declare const TableBodyRow: React.FC<Props>;
7
+ export default TableBodyRow;
@@ -1,19 +1,18 @@
1
- import { TableCellProps, TableRowProps } from '@mui/material';
2
- import { TableColumn, TableItem, TableProps } from '../Table';
3
- import { TableBodyCellProps } from '../TableBodyCell';
4
- import { CommonSxProps } from '../@types';
5
- export interface TableBodyRowProps extends Omit<TableRowProps, 'id' | 'onClick'> {
6
- id: string | number;
7
- index: number;
8
- defaultAlign?: TableCellProps['align'];
9
- defaultEllipsis?: boolean;
10
- sortable?: boolean;
11
- columns: TableColumn[];
12
- item: TableItem;
13
- onClick: TableProps['onClick'];
14
- onCheckChange: TableBodyCellProps['onCheckChange'];
15
- onGetColumnClassName?(column: TableColumn, item: TableItem, index: number): CommonSxProps['className'] | undefined;
16
- onGetColumnStyle?(column: TableColumn, item: TableItem, index: number): CommonSxProps['style'] | undefined;
17
- onGetColumnSx?(column: TableColumn, item: TableItem, index: number): CommonSxProps['sx'] | undefined;
18
- }
19
- export declare const TableBodyRowDefaultProps: {};
1
+ import { TableCellProps, TableRowProps } from '@mui/material';
2
+ import { TableColumn, TableItem, TableProps } from '../Table';
3
+ import { TableBodyCellProps } from '../TableBodyCell';
4
+ import { CommonSxProps } from '../@types';
5
+ export interface TableBodyRowProps extends Omit<TableRowProps, 'id' | 'onClick'> {
6
+ id: string | number;
7
+ index: number;
8
+ defaultAlign?: TableCellProps['align'];
9
+ defaultEllipsis?: boolean;
10
+ sortable?: boolean;
11
+ columns: TableColumn[];
12
+ item: TableItem;
13
+ onClick: TableProps['onClick'];
14
+ onCheckChange: TableBodyCellProps['onCheckChange'];
15
+ onGetColumnClassName?(column: TableColumn, item: TableItem, index: number): CommonSxProps['className'] | undefined;
16
+ onGetColumnStyle?(column: TableColumn, item: TableItem, index: number): CommonSxProps['style'] | undefined;
17
+ onGetColumnSx?(column: TableColumn, item: TableItem, index: number): CommonSxProps['sx'] | undefined;
18
+ }
@@ -1,4 +1,4 @@
1
- import TableBodyRow from './TableBodyRow';
2
- export default TableBodyRow;
3
- export { TableBodyRow };
4
- export * from './TableBodyRow.types';
1
+ import TableBodyRow from './TableBodyRow';
2
+ export default TableBodyRow;
3
+ export { TableBodyRow };
4
+ export * from './TableBodyRow.types';
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { TableButtonProps as Props } from './TableButton.types';
3
- declare const TableButton: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLButtonElement>>;
4
- export default TableButton;
1
+ import React from 'react';
2
+ import { TableButtonProps as Props } from './TableButton.types';
3
+ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLButtonElement>>>;
4
+ export default _default;
@@ -1,4 +1,3 @@
1
- import { PdgButtonProps } from '@pdg/react-component';
2
- export interface TableButtonProps extends Omit<PdgButtonProps, 'size'> {
3
- }
4
- export declare const TableButtonDefaultProps: Pick<TableButtonProps, 'variant' | 'color'>;
1
+ import { PdgButtonProps } from '@pdg/react-component';
2
+ export interface TableButtonProps extends Omit<PdgButtonProps, 'size'> {
3
+ }
@@ -1,4 +1,4 @@
1
- import TableButton from './TableButton';
2
- export default TableButton;
3
- export { TableButton };
4
- export * from './TableButton.types';
1
+ import TableButton from './TableButton';
2
+ export default TableButton;
3
+ export { TableButton };
4
+ export * from './TableButton.types';
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { TableCommonCellProps } from './TableCommonCell.types';
3
- declare const TableCommonCell: React.FC<TableCommonCellProps>;
4
- export default TableCommonCell;
1
+ import React from 'react';
2
+ import { TableCommonCellProps } from './TableCommonCell.types';
3
+ declare const TableCommonCell: React.FC<TableCommonCellProps>;
4
+ export default TableCommonCell;
@@ -1,11 +1,11 @@
1
- import { TableColumn, TableItem, TableProps } from '../Table/Table.types';
2
- import { CommonSxProps } from '../@types';
3
- export interface TableCommonCellProps extends CommonSxProps {
4
- type: 'head' | 'body' | 'footer';
5
- column: TableColumn;
6
- defaultAlign?: TableProps['defaultAlign'];
7
- defaultEllipsis?: boolean;
8
- index?: number;
9
- item?: TableItem;
10
- onClick?: TableProps['onClick'];
11
- }
1
+ import { TableColumn, TableItem, TableProps } from '../Table/Table.types';
2
+ import { CommonSxProps } from '../@types';
3
+ export interface TableCommonCellProps extends CommonSxProps {
4
+ type: 'head' | 'body' | 'footer';
5
+ column: TableColumn;
6
+ defaultAlign?: TableProps['defaultAlign'];
7
+ defaultEllipsis?: boolean;
8
+ index?: number;
9
+ item?: TableItem;
10
+ onClick?: TableProps['onClick'];
11
+ }
@@ -1,4 +1,4 @@
1
- import TableCommonCell from './TableCommonCell';
2
- export default TableCommonCell;
3
- export { TableCommonCell };
4
- export * from './TableCommonCell.types';
1
+ import TableCommonCell from './TableCommonCell';
2
+ export default TableCommonCell;
3
+ export { TableCommonCell };
4
+ export * from './TableCommonCell.types';
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
2
- import { TableContextValue } from './TableContext.types';
3
- declare const TableContext: import("react").Context<TableContextValue>;
4
- export default TableContext;
1
+ /// <reference types="react" />
2
+ import { TableContextValue } from './TableContext.types';
3
+ declare const TableContext: import("react").Context<TableContextValue>;
4
+ export default TableContext;
@@ -1,14 +1,14 @@
1
- import { TableColumn, TableItem } from '../Table';
2
- import { TableBodyCellCommands } from '../TableBodyCell';
3
- import { TableHeadCellCommands } from '../TableHeadCell';
4
- export interface TableContextValue {
5
- menuOpen: boolean;
6
- openMenuId?: string;
7
- setMenuOpen(menuOpen: boolean, openMenuId?: string): void;
8
- setItemColumnChecked(item: TableItem, column: TableColumn, checked: boolean): void;
9
- setItemColumnCheckDisabled(item: TableItem, column: TableColumn, checkDisabled: boolean): void;
10
- setItemColumnCommands(item: TableItem, column: TableColumn, commands: TableBodyCellCommands): void;
11
- setHeadColumnChecked(column: TableColumn, checked: boolean): void;
12
- setHeadColumnCommands(column: TableColumn, commands: TableHeadCellCommands): void;
13
- }
14
- export declare const TableContextDefaultValue: TableContextValue;
1
+ import { TableColumn, TableItem } from '../Table';
2
+ import { TableBodyCellCommands } from '../TableBodyCell';
3
+ import { TableHeadCellCommands } from '../TableHeadCell';
4
+ export interface TableContextValue {
5
+ menuOpen: boolean;
6
+ openMenuId?: string;
7
+ setMenuOpen(menuOpen: boolean, openMenuId?: string): void;
8
+ setItemColumnChecked(item: TableItem, column: TableColumn, checked: boolean): void;
9
+ setItemColumnCheckDisabled(item: TableItem, column: TableColumn, checkDisabled: boolean): void;
10
+ setItemColumnCommands(item: TableItem, column: TableColumn, commands: TableBodyCellCommands): void;
11
+ setHeadColumnChecked(column: TableColumn, checked: boolean): void;
12
+ setHeadColumnCommands(column: TableColumn, commands: TableHeadCellCommands): void;
13
+ }
14
+ export declare const TableContextDefaultValue: TableContextValue;
@@ -1,5 +1,5 @@
1
- import TableContext from './TableContext';
2
- export default TableContext;
3
- export { TableContext };
4
- export * from './TableContext.types';
5
- export { default as useFormState } from './useTableState';
1
+ import TableContext from './TableContext';
2
+ export default TableContext;
3
+ export { TableContext };
4
+ export * from './TableContext.types';
5
+ export { default as useFormState } from './useTableState';
@@ -1,2 +1,2 @@
1
- import { TableContextValue } from './TableContext.types';
2
- export default function useTableState(): TableContextValue;
1
+ import { TableContextValue } from './TableContext.types';
2
+ export default function useTableState(): TableContextValue;
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { TableContextProviderProps as Props } from './TableContextProvider.types';
3
- declare const TableContextProvider: React.FC<Props>;
4
- export default TableContextProvider;
1
+ import React from 'react';
2
+ import { TableContextProviderProps as Props } from './TableContextProvider.types';
3
+ declare const TableContextProvider: React.FC<Props>;
4
+ export default TableContextProvider;
@@ -1,6 +1,6 @@
1
- import { ReactNode } from 'react';
2
- import { TableContextValue } from '../TableContext';
3
- export interface TableContextProviderProps {
4
- value: TableContextValue;
5
- children: ReactNode;
6
- }
1
+ import { ReactNode } from 'react';
2
+ import { TableContextValue } from '../TableContext';
3
+ export interface TableContextProviderProps {
4
+ value: TableContextValue;
5
+ children: ReactNode;
6
+ }
@@ -1,4 +1,4 @@
1
- import TableContextProvider from './TableContextProvider';
2
- export default TableContextProvider;
3
- export { TableContextProvider };
4
- export * from './TableContextProvider.types';
1
+ import TableContextProvider from './TableContextProvider';
2
+ export default TableContextProvider;
3
+ export { TableContextProvider };
4
+ export * from './TableContextProvider.types';
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { TableFooterCellProps } from './TableFooterCell.types';
3
- declare const TableFooterCell: React.FC<TableFooterCellProps>;
4
- export default TableFooterCell;
1
+ import React from 'react';
2
+ import { TableFooterCellProps } from './TableFooterCell.types';
3
+ declare const TableFooterCell: React.FC<TableFooterCellProps>;
4
+ export default TableFooterCell;
@@ -1,5 +1,5 @@
1
- import { TableColumn, TableProps } from '../Table/Table.types';
2
- export interface TableFooterCellProps {
3
- column: TableColumn;
4
- defaultAlign?: TableProps['defaultAlign'];
5
- }
1
+ import { TableColumn, TableProps } from '../Table/Table.types';
2
+ export interface TableFooterCellProps {
3
+ column: TableColumn;
4
+ defaultAlign?: TableProps['defaultAlign'];
5
+ }
@@ -1,4 +1,4 @@
1
- import TableFooterCell from './TableFooterCell';
2
- export default TableFooterCell;
3
- export { TableFooterCell };
4
- export * from './TableFooterCell.types';
1
+ import TableFooterCell from './TableFooterCell';
2
+ export default TableFooterCell;
3
+ export { TableFooterCell };
4
+ export * from './TableFooterCell.types';
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { TableHeadCellProps } from './TableHeadCell.types';
3
- declare const TableHeadCell: React.FC<TableHeadCellProps>;
4
- export default TableHeadCell;
1
+ import React from 'react';
2
+ import { TableHeadCellProps } from './TableHeadCell.types';
3
+ declare const TableHeadCell: React.FC<TableHeadCellProps>;
4
+ export default TableHeadCell;
@@ -1,11 +1,11 @@
1
- import { TableColumn, TableProps } from '../Table/Table.types';
2
- export interface TableHeadCellCommands {
3
- setChecked(checked: boolean): void;
4
- setCheckDisabled(checkDisabled: boolean): void;
5
- }
6
- export interface TableHeadCellProps {
7
- column: TableColumn;
8
- defaultAlign?: TableProps['defaultAlign'];
9
- top?: number;
10
- onCheckChange(column: TableColumn, checked: boolean): void;
11
- }
1
+ import { TableColumn, TableProps } from '../Table/Table.types';
2
+ export interface TableHeadCellCommands {
3
+ setChecked(checked: boolean): void;
4
+ setCheckDisabled(checkDisabled: boolean): void;
5
+ }
6
+ export interface TableHeadCellProps {
7
+ column: TableColumn;
8
+ defaultAlign?: TableProps['defaultAlign'];
9
+ top?: number;
10
+ onCheckChange(column: TableColumn, checked: boolean): void;
11
+ }
@@ -1,4 +1,4 @@
1
- import TableHeadCell from './TableHeadCell';
2
- export default TableHeadCell;
3
- export { TableHeadCell };
4
- export * from './TableHeadCell.types';
1
+ import TableHeadCell from './TableHeadCell';
2
+ export default TableHeadCell;
3
+ export { TableHeadCell };
4
+ export * from './TableHeadCell.types';
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { TableMenuButtonProps as Props } from './TableMenuButton.types';
3
- declare const TableMenuButton: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLButtonElement>>;
4
- export default TableMenuButton;
1
+ import React from 'react';
2
+ import { TableMenuButtonProps as Props } from './TableMenuButton.types';
3
+ declare const TableMenuButton: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLButtonElement>>;
4
+ export default TableMenuButton;
@@ -1,10 +1,9 @@
1
- import { ReactElement } from 'react';
2
- import { PopperPlacementType } from '@mui/base/Popper/Popper.types';
3
- import { PdgButtonProps } from '@pdg/react-component';
4
- export interface TableMenuButtonProps extends Omit<PdgButtonProps, 'size' | 'onClick'> {
5
- placement?: PopperPlacementType;
6
- inModal?: boolean;
7
- zIndex?: number;
8
- menuList: ReactElement;
9
- }
10
- export declare const TableMenuButtonDefaultProps: Pick<TableMenuButtonProps, 'variant' | 'color' | 'placement'>;
1
+ import { ReactElement } from 'react';
2
+ import { PopperPlacementType } from '@mui/base/Popper/Popper.types';
3
+ import { PdgButtonProps } from '@pdg/react-component';
4
+ export interface TableMenuButtonProps extends Omit<PdgButtonProps, 'size' | 'onClick'> {
5
+ placement?: PopperPlacementType;
6
+ inModal?: boolean;
7
+ zIndex?: number;
8
+ menuList: ReactElement;
9
+ }
@@ -1,4 +1,4 @@
1
- import TableMenuButton from './TableMenuButton';
2
- export default TableMenuButton;
3
- export { TableMenuButton };
4
- export * from './TableMenuButton.types';
1
+ import TableMenuButton from './TableMenuButton';
2
+ export default TableMenuButton;
3
+ export { TableMenuButton };
4
+ export * from './TableMenuButton.types';
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { TablePaginationProps } from './TablePagination.types';
3
- declare const TablePagination: React.FC<TablePaginationProps>;
4
- export default TablePagination;
1
+ import React from 'react';
2
+ import { TablePaginationProps } from './TablePagination.types';
3
+ declare const TablePagination: React.FC<TablePaginationProps>;
4
+ export default TablePagination;
@@ -1,13 +1,13 @@
1
- import { StackProps } from '@mui/material';
2
- import { CommonSxProps } from '../@types';
3
- export interface TablePaging {
4
- current_page: number;
5
- per_page: number;
6
- last_page: number;
7
- total: number;
8
- }
9
- export interface TablePaginationProps extends Pick<CommonSxProps, 'className' | 'style' | 'sx'> {
10
- paging: TablePaging;
11
- align?: StackProps['alignItems'];
12
- onChange?(page: number): void;
13
- }
1
+ import { StackProps } from '@mui/material';
2
+ import { CommonSxProps } from '../@types';
3
+ export interface TablePaging {
4
+ current_page: number;
5
+ per_page: number;
6
+ last_page: number;
7
+ total: number;
8
+ }
9
+ export interface TablePaginationProps extends Pick<CommonSxProps, 'className' | 'style' | 'sx'> {
10
+ paging: TablePaging;
11
+ align?: StackProps['alignItems'];
12
+ onChange?(page: number): void;
13
+ }
@@ -1,4 +1,4 @@
1
- import TablePagination from './TablePagination';
2
- export default TablePagination;
3
- export { TablePagination };
4
- export * from './TablePagination.types';
1
+ import TablePagination from './TablePagination';
2
+ export default TablePagination;
3
+ export { TablePagination };
4
+ export * from './TablePagination.types';
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { TableTopHeadProps as Props } from './TableTopHead.types';
3
- declare const TableTopHead: React.FC<Props>;
4
- export default TableTopHead;
1
+ import React from 'react';
2
+ import { TableTopHeadProps as Props } from './TableTopHead.types';
3
+ declare const TableTopHead: React.FC<Props>;
4
+ export default TableTopHead;
@@ -1,18 +1,17 @@
1
- import { ReactNode } from 'react';
2
- import { TableCellProps } from '@mui/material';
3
- import { TableColumn, TableProps } from '../Table/Table.types';
4
- export interface TableTopHeadRowColumn {
5
- colSpan?: number;
6
- rowSpan?: number;
7
- label?: ReactNode;
8
- align?: TableCellProps['align'];
9
- }
10
- export type TableTopHeadRowColumnValue = TableTopHeadRowColumn | false | undefined | null;
11
- export interface TableTopHeadProps {
12
- caption?: ReactNode;
13
- rows?: TableTopHeadRowColumnValue[] | TableTopHeadRowColumnValue[][];
14
- columns: TableColumn[];
15
- defaultAlign: TableProps['defaultAlign'];
16
- onCheckChange(column: TableColumn, checked: boolean): void;
17
- }
18
- export declare const TableTopHeadDefaultProps: {};
1
+ import { ReactNode } from 'react';
2
+ import { TableCellProps } from '@mui/material';
3
+ import { TableColumn, TableProps } from '../Table/Table.types';
4
+ export interface TableTopHeadRowColumn {
5
+ colSpan?: number;
6
+ rowSpan?: number;
7
+ label?: ReactNode;
8
+ align?: TableCellProps['align'];
9
+ }
10
+ export type TableTopHeadRowColumnValue = TableTopHeadRowColumn | false | undefined | null;
11
+ export interface TableTopHeadProps {
12
+ caption?: ReactNode;
13
+ rows?: TableTopHeadRowColumnValue[] | TableTopHeadRowColumnValue[][];
14
+ columns: TableColumn[];
15
+ defaultAlign: TableProps['defaultAlign'];
16
+ onCheckChange(column: TableColumn, checked: boolean): void;
17
+ }
@@ -1,4 +1,4 @@
1
- import TableTopHead from './TableTopHead';
2
- export default TableTopHead;
3
- export { TableTopHead };
4
- export * from './TableTopHead.types';
1
+ import TableTopHead from './TableTopHead';
2
+ export default TableTopHead;
3
+ export { TableTopHead };
4
+ export * from './TableTopHead.types';
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import './index.scss';
2
- export * from './@types';
3
- export * from './Table';
4
- export * from './SearchTable';
5
- export * from './TableButton';
6
- export * from './TableMenuButton';
7
- export * from './InfoTable';
1
+ import './index.scss';
2
+ export * from './@types';
3
+ export * from './Table';
4
+ export * from './SearchTable';
5
+ export * from './TableButton';
6
+ export * from './TableMenuButton';
7
+ export * from './InfoTable';