@helpwave/hightide 0.1.14 → 0.1.15

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.
@@ -1,8 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode } from 'react';
3
- import { RowData, FilterFn, ColumnDef, Table as Table$1, InitialTableState, Row, TableState, FilterFns, TableOptions, RowSelectionState } from '@tanstack/react-table';
3
+ import { RowData, FilterFn, ColumnDef, Table as Table$1, InitialTableState, Row, TableState, TableOptions, RowSelectionState } from '@tanstack/react-table';
4
4
  import { TableFilterType } from './TableFilterButton.mjs';
5
- import { RowModel } from '@tanstack/table-core/src/types';
6
5
 
7
6
  declare module '@tanstack/react-table' {
8
7
  interface ColumnMeta<TData extends RowData, TValue> {
@@ -26,9 +25,7 @@ type TableProps<T> = {
26
25
  onRowClick?: (row: Row<T>, table: Table$1<T>) => void;
27
26
  state?: Omit<TableState, 'columnSizing' | 'columnSizingInfo'>;
28
27
  tableClassName?: string;
29
- filters?: FilterFns;
30
- getCoreRowModel?: (table: Table$1<T>) => () => RowModel<T>;
31
- } & TableOptions<T>;
28
+ } & Partial<TableOptions<T>>;
32
29
  /**
33
30
  * The standard table
34
31
  */
@@ -1,8 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode } from 'react';
3
- import { RowData, FilterFn, ColumnDef, Table as Table$1, InitialTableState, Row, TableState, FilterFns, TableOptions, RowSelectionState } from '@tanstack/react-table';
3
+ import { RowData, FilterFn, ColumnDef, Table as Table$1, InitialTableState, Row, TableState, TableOptions, RowSelectionState } from '@tanstack/react-table';
4
4
  import { TableFilterType } from './TableFilterButton.js';
5
- import { RowModel } from '@tanstack/table-core/src/types';
6
5
 
7
6
  declare module '@tanstack/react-table' {
8
7
  interface ColumnMeta<TData extends RowData, TValue> {
@@ -26,9 +25,7 @@ type TableProps<T> = {
26
25
  onRowClick?: (row: Row<T>, table: Table$1<T>) => void;
27
26
  state?: Omit<TableState, 'columnSizing' | 'columnSizingInfo'>;
28
27
  tableClassName?: string;
29
- filters?: FilterFns;
30
- getCoreRowModel?: (table: Table$1<T>) => () => RowModel<T>;
31
- } & TableOptions<T>;
28
+ } & Partial<TableOptions<T>>;
32
29
  /**
33
30
  * The standard table
34
31
  */