@spark-web/data-table 0.3.0 → 0.3.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @spark-web/data-table
2
2
 
3
+ ## 0.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#499](https://github.com/brighte-labs/spark-web/pull/499)
8
+ [`20ffdc3`](https://github.com/brighte-labs/spark-web/commit/20ffdc32181d717a1199944ada85129dec35841b)
9
+ Thanks [@ralcoriza-brighte](https://github.com/ralcoriza-brighte)! - Re-export
10
+ row-specific types from @tanstack/react-table
11
+
3
12
  ## 0.3.0
4
13
 
5
14
  ### Minor Changes
@@ -1,5 +1,5 @@
1
1
  import { type DataAttributeMap } from '@spark-web/utils/internal';
2
- import type { ColumnDef, ColumnHelper, Row, Table, TableOptions } from '@tanstack/react-table';
2
+ import type { ColumnDef, ColumnHelper, ExpandedState, OnChangeFn, Row, Table, TableOptions } from '@tanstack/react-table';
3
3
  import { createColumnHelper } from '@tanstack/react-table';
4
4
  import type { HTMLAttributes, ReactElement } from 'react';
5
5
  /**
@@ -23,4 +23,4 @@ declare type DataTableProps<T> = TableSubsetAttributes & TableSubsetOptions<T> &
23
23
  onRowClick?: (row: Row<T>) => void;
24
24
  };
25
25
  export { createColumnHelper, DataTable };
26
- export type { ColumnDef, ColumnHelper, DataTableProps, Row };
26
+ export type { ColumnDef, ColumnHelper, DataTableProps, Row as DataTableRow, ExpandedState, OnChangeFn, };
@@ -1,2 +1,2 @@
1
1
  export { createColumnHelper, DataTable } from "./data-table.js";
2
- export type { ColumnDef, ColumnHelper, DataTableProps } from "./data-table.js";
2
+ export type { ColumnDef, ColumnHelper, DataTableProps, DataTableRow, ExpandedState, OnChangeFn, } from "./data-table.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spark-web/data-table",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "homepage": "https://github.com/brighte-labs/spark-web#readme",
5
5
  "repository": {
6
6
  "type": "git",