@tanstack/table-core 8.11.0 → 8.11.2

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.
@@ -53,11 +53,11 @@ export interface RowModel<TData extends RowData> {
53
53
  export type AccessorFn<TData extends RowData, TValue = unknown> = (originalRow: TData, index: number) => TValue;
54
54
  export type ColumnDefTemplate<TProps extends object> = string | ((props: TProps) => any);
55
55
  export type StringOrTemplateHeader<TData, TValue> = string | ColumnDefTemplate<HeaderContext<TData, TValue>>;
56
- interface StringHeaderIdentifier {
56
+ export interface StringHeaderIdentifier {
57
57
  header: string;
58
58
  id?: string;
59
59
  }
60
- interface IdIdentifier<TData extends RowData, TValue> {
60
+ export interface IdIdentifier<TData extends RowData, TValue> {
61
61
  id: string;
62
62
  header?: StringOrTemplateHeader<TData, TValue>;
63
63
  }
@@ -83,7 +83,7 @@ interface AccessorFnColumnDefBase<TData extends RowData, TValue = unknown> exten
83
83
  accessorFn: AccessorFn<TData, TValue>;
84
84
  }
85
85
  export type AccessorFnColumnDef<TData extends RowData, TValue = unknown> = AccessorFnColumnDefBase<TData, TValue> & ColumnIdentifiers<TData, TValue>;
86
- interface AccessorKeyColumnDefBase<TData extends RowData, TValue = unknown> extends ColumnDefBase<TData, TValue> {
86
+ export interface AccessorKeyColumnDefBase<TData extends RowData, TValue = unknown> extends ColumnDefBase<TData, TValue> {
87
87
  id?: string;
88
88
  accessorKey: (string & {}) | keyof TData;
89
89
  }
@@ -2211,7 +2211,7 @@
2211
2211
  };
2212
2212
  const mutateRowIsSelected = (selectedRowIds, id, value, includeChildren, table) => {
2213
2213
  var _row$subRows;
2214
- const row = table.getRow(id);
2214
+ const row = table.getRow(id, true);
2215
2215
 
2216
2216
  // const isGrouped = row.getIsGrouped()
2217
2217