@tanstack/react-table 9.0.0-alpha.35 → 9.0.0-alpha.36
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/FlexRender.d.cts +1 -1
- package/dist/Subscribe.d.cts +1 -1
- package/dist/createTableHook.d.cts +1 -1
- package/dist/flex-render.cjs +5 -0
- package/dist/flex-render.d.cts +2 -0
- package/dist/flex-render.d.ts +2 -0
- package/dist/flex-render.js +3 -0
- package/dist/useTable.d.cts +1 -1
- package/package.json +6 -2
- package/src/flex-render.ts +1 -0
package/dist/FlexRender.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Cell, CellData, Header, RowData, TableFeatures } from "@tanstack/table-core";
|
|
2
1
|
import React, { ComponentType, JSX, ReactNode } from "react";
|
|
2
|
+
import { Cell, CellData, Header, RowData, TableFeatures } from "@tanstack/table-core";
|
|
3
3
|
|
|
4
4
|
//#region src/FlexRender.d.ts
|
|
5
5
|
type Renderable<TProps> = ReactNode | ComponentType<TProps>;
|
package/dist/Subscribe.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RowData, Table, TableFeatures, TableState } from "@tanstack/table-core";
|
|
2
1
|
import { FunctionComponent, ReactNode } from "react";
|
|
2
|
+
import { RowData, Table, TableFeatures, TableState } from "@tanstack/table-core";
|
|
3
3
|
import { Atom, ReadonlyAtom } from "@tanstack/react-store";
|
|
4
4
|
|
|
5
5
|
//#region src/Subscribe.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactTable } from "./useTable.cjs";
|
|
2
|
-
import { AccessorFn, AccessorFnColumnDef, AccessorKeyColumnDef, Cell, CellContext, CellData, Column, ColumnDef, DeepKeys, DeepValue, DisplayColumnDef, GroupColumnDef, Header, IdentifiedColumnDef, NoInfer, Row, RowData, Table, TableFeatures, TableOptions, TableState } from "@tanstack/table-core";
|
|
3
2
|
import { ComponentType, ReactNode } from "react";
|
|
3
|
+
import { AccessorFn, AccessorFnColumnDef, AccessorKeyColumnDef, Cell, CellContext, CellData, Column, ColumnDef, DeepKeys, DeepValue, DisplayColumnDef, GroupColumnDef, Header, IdentifiedColumnDef, NoInfer, Row, RowData, Table, TableFeatures, TableOptions, TableState } from "@tanstack/table-core";
|
|
4
4
|
|
|
5
5
|
//#region src/createTableHook.d.ts
|
|
6
6
|
/**
|
package/dist/useTable.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FlexRenderProps } from "./FlexRender.cjs";
|
|
2
2
|
import { SubscribePropsWithStore } from "./Subscribe.cjs";
|
|
3
|
-
import { CellData, RowData, Table, TableFeatures, TableOptions, TableState } from "@tanstack/table-core";
|
|
4
3
|
import { FunctionComponent, ReactNode } from "react";
|
|
4
|
+
import { CellData, RowData, Table, TableFeatures, TableOptions, TableState } from "@tanstack/table-core";
|
|
5
5
|
import { Atom, ReadonlyAtom } from "@tanstack/react-store";
|
|
6
6
|
|
|
7
7
|
//#region src/useTable.d.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/react-table",
|
|
3
|
-
"version": "9.0.0-alpha.
|
|
3
|
+
"version": "9.0.0-alpha.36",
|
|
4
4
|
"description": "Headless UI for building powerful tables & datagrids for React.",
|
|
5
5
|
"author": "Tanner Linsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -29,6 +29,10 @@
|
|
|
29
29
|
"import": "./dist/index.js",
|
|
30
30
|
"require": "./dist/index.cjs"
|
|
31
31
|
},
|
|
32
|
+
"./flex-render": {
|
|
33
|
+
"import": "./dist/flex-render.js",
|
|
34
|
+
"require": "./dist/flex-render.cjs"
|
|
35
|
+
},
|
|
32
36
|
"./legacy": {
|
|
33
37
|
"import": "./dist/legacy.js",
|
|
34
38
|
"require": "./dist/legacy.cjs"
|
|
@@ -49,7 +53,7 @@
|
|
|
49
53
|
],
|
|
50
54
|
"dependencies": {
|
|
51
55
|
"@tanstack/react-store": "^0.11.0",
|
|
52
|
-
"@tanstack/table-core": "9.0.0-alpha.
|
|
56
|
+
"@tanstack/table-core": "9.0.0-alpha.36"
|
|
53
57
|
},
|
|
54
58
|
"devDependencies": {
|
|
55
59
|
"@eslint-react/eslint-plugin": "^4.2.3",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './FlexRender'
|