gantri-components 2.83.0-beta.17 → 2.83.0-beta.18
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/components/table/components/after-row-component/after-row-component.types.d.ts +1 -1
- package/dist/components/table/components/table-row/helpers/get-row-component-props/get-row-component-props.d.ts +1 -0
- package/dist/components/table/components/table-row/table-row.constants.d.ts +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes, JSXElementConstructor } from 'react';
|
|
2
2
|
import { Row, RowData } from '@tanstack/react-table';
|
|
3
|
-
export interface AfterRowComponentProps<TData extends RowData> {
|
|
3
|
+
export interface AfterRowComponentProps<TData extends RowData> extends Partial<HTMLAttributes<HTMLTableRowElement>> {
|
|
4
4
|
getAfterRowComponent: GetAfterRowComponentDef<TData> | undefined;
|
|
5
5
|
row: Row<TData>;
|
|
6
6
|
}
|
|
@@ -4,6 +4,7 @@ import { TableRowProps } from '../../table-row.types';
|
|
|
4
4
|
export declare const getRowComponentProps: <TData extends RowData<import("../../../..").CustomTData>>(props: TableRowProps<TData>) => {
|
|
5
5
|
className: string;
|
|
6
6
|
onClick: (event: MouseEvent<HTMLTableRowElement>) => void;
|
|
7
|
+
"data-is-data-row": string;
|
|
7
8
|
"data-row-is-clickable": string | undefined;
|
|
8
9
|
"data-row-status": import("../../../..").RowStatusValue | undefined;
|
|
9
10
|
defaultChecked?: boolean | undefined;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/** See `RowStatusValue` type for possible values. */
|
|
2
2
|
export declare const dataAttrRowStatus: "data-row-status";
|
|
3
3
|
export declare const dataAttrRowIsClickable: "data-row-is-clickable";
|
|
4
|
+
export declare const dataAttrIsDataRow: "data-is-data-row";
|
|
4
5
|
export declare const dataAttrRowHighlightOnHover: "data-row-highlight-on-hover";
|
|
5
6
|
/** Applying this data attribute marks a row as active, applying a new background color. */
|
|
6
7
|
export declare const dataAttrActiveRow: "data-active-row";
|