Fix report

Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
This commit is contained in:
Charles de Dreuille
2025-07-26 09:18:07 +01:00
parent ef8855a9db
commit df17867133
3 changed files with 14 additions and 30 deletions
+2 -18
View File
@@ -1505,21 +1505,13 @@ export interface SwitchProps extends SwitchProps_2 {
// @public
export const Tab: (props: TabProps) => JSX_2.Element;
// Warning: (ae-missing-release-tag) "Table" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
// @public
export function Table<TData>(
props: TableProps<TData> & {
ref?: React.ForwardedRef<HTMLTableElement>;
},
): JSX_2.Element;
// @public (undocumented)
export namespace Table {
var // (undocumented)
displayName: string;
}
// @public (undocumented)
export const TableCellProfile: ForwardRefExoticComponent<
TableCellProfileProps & RefAttributes<HTMLDivElement>
@@ -1560,19 +1552,11 @@ export interface TableCellTextProps
title: string;
}
// Warning: (ae-missing-release-tag) "TablePagination" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
// @public
export function TablePagination<TData>(
props: TablePaginationProps<TData>,
): JSX_2.Element;
// @public (undocumented)
export namespace TablePagination {
var // (undocumented)
displayName: string;
}
// @public (undocumented)
export interface TablePaginationProps<TData>
extends React.HTMLAttributes<HTMLDivElement> {
+6 -6
View File
@@ -37,8 +37,12 @@ function getAriaSort(sortDirection: string | false) {
return 'none';
}
/** @public */
function Table<TData>(
/**
* A table component built on top of TanStack Table with built-in styling.
*
* @public
*/
export function Table<TData>(
props: TableProps<TData> & { ref?: React.ForwardedRef<HTMLTableElement> },
) {
const { className, table, ref, ...rest } = props;
@@ -114,7 +118,3 @@ function Table<TData>(
</RawTable>
);
}
Table.displayName = 'Table';
export { Table };
@@ -21,8 +21,12 @@ import clsx from 'clsx';
import { Select } from '../../Select';
import { Icon } from '../../Icon';
/** @public */
function TablePagination<TData>(props: TablePaginationProps<TData>) {
/**
* Pagination controls for Table components with page navigation and size selection.
*
* @public
*/
export function TablePagination<TData>(props: TablePaginationProps<TData>) {
const {
className,
table,
@@ -102,7 +106,3 @@ function TablePagination<TData>(props: TablePaginationProps<TData>) {
</div>
);
}
TablePagination.displayName = 'TablePagination';
export { TablePagination };