Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/octane-table-octane-0-12.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@tanstack/octane-table': minor
---

Require octane `>=0.12.0` and depend on `@tanstack/octane-store` `^0.13.0`. `AppTable`, `AppCell` and `AppHeader` now render their contexts directly as providers, since octane removed `Context.Provider`.
6 changes: 3 additions & 3 deletions docs/framework/octane/guide/table-context.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@ Reach for `createTableHookContexts` instead of hand-rolling `createContext`. It

```tsx
// cell-slot-context.ts
export const { cellContext, useCellContext } =
export const { cellContext: CellContext, useCellContext } =
createTableHookContexts<typeof features>()

// provide the (stable) cell once, near where you render it
function CellSlot({ cell }: { cell: Cell<typeof features, Person, unknown> }) @{
<cellContext.Provider value={cell}>
<CellContext value={cell}>
<DeeplyNestedCellUI />
</cellContext.Provider>
</CellContext>
}

// read it anywhere below, no prop drilling
Expand Down
5 changes: 3 additions & 2 deletions examples/octane/aggregation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@
},
"dependencies": {
"@faker-js/faker": "^10.6.0",
"@tanstack/octane-store": "^0.12.3",
"@tanstack/octane-store": "^0.13.0",
"@tanstack/octane-table": "^9.2.8",
"octane": "0.1.36"
"octane": "0.12.1"
},
"devDependencies": {
"@rolldown/binding-wasm32-wasi": "~1.2.12",
"@tsrx/oxc": "0.20.0",
"@tsrx/typescript-plugin": "^0.6.0",
"typescript": "6.0.3",
"vite": "^8.3.2"
Expand Down
3 changes: 2 additions & 1 deletion examples/octane/basic-dynamic-columns/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
"dependencies": {
"@faker-js/faker": "^10.6.0",
"@tanstack/octane-table": "^9.2.8",
"octane": "0.1.36"
"octane": "0.12.1"
},
"devDependencies": {
"@rolldown/binding-wasm32-wasi": "~1.2.12",
"@tsrx/oxc": "0.20.0",
"@tsrx/typescript-plugin": "^0.6.0",
"typescript": "6.0.3",
"vite": "^8.3.2"
Expand Down
5 changes: 3 additions & 2 deletions examples/octane/basic-external-atoms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@
},
"dependencies": {
"@faker-js/faker": "^10.6.0",
"@tanstack/octane-store": "^0.12.3",
"@tanstack/octane-store": "^0.13.0",
"@tanstack/octane-table": "^9.2.8",
"octane": "0.1.36"
"octane": "0.12.1"
},
"devDependencies": {
"@rolldown/binding-wasm32-wasi": "~1.2.12",
"@tsrx/oxc": "0.20.0",
"@tsrx/typescript-plugin": "^0.6.0",
"typescript": "6.0.3",
"vite": "^8.3.2"
Expand Down
3 changes: 2 additions & 1 deletion examples/octane/basic-external-state/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
"dependencies": {
"@faker-js/faker": "^10.6.0",
"@tanstack/octane-table": "^9.2.8",
"octane": "0.1.36"
"octane": "0.12.1"
},
"devDependencies": {
"@rolldown/binding-wasm32-wasi": "~1.2.12",
"@tsrx/oxc": "0.20.0",
"@tsrx/typescript-plugin": "^0.6.0",
"typescript": "6.0.3",
"vite": "^8.3.2"
Expand Down
5 changes: 3 additions & 2 deletions examples/octane/basic-subscribe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@
},
"dependencies": {
"@faker-js/faker": "^10.6.0",
"@tanstack/octane-store": "^0.12.3",
"@tanstack/octane-store": "^0.13.0",
"@tanstack/octane-table": "^9.2.8",
"octane": "0.1.36"
"octane": "0.12.1"
},
"devDependencies": {
"@rolldown/binding-wasm32-wasi": "~1.2.12",
"@tsrx/oxc": "0.20.0",
"@tsrx/typescript-plugin": "^0.6.0",
"typescript": "6.0.3",
"vite": "^8.3.2"
Expand Down
3 changes: 2 additions & 1 deletion examples/octane/basic-use-app-table/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@
},
"dependencies": {
"@tanstack/octane-table": "^9.2.8",
"octane": "0.1.36"
"octane": "0.12.1"
},
"devDependencies": {
"@rolldown/binding-wasm32-wasi": "~1.2.12",
"@tsrx/oxc": "0.20.0",
"@tsrx/typescript-plugin": "^0.6.0",
"typescript": "6.0.3",
"vite": "^8.3.2"
Expand Down
3 changes: 2 additions & 1 deletion examples/octane/basic-use-table/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@
},
"dependencies": {
"@tanstack/octane-table": "^9.2.8",
"octane": "0.1.36"
"octane": "0.12.1"
},
"devDependencies": {
"@rolldown/binding-wasm32-wasi": "~1.2.12",
"@tsrx/oxc": "0.20.0",
"@tsrx/typescript-plugin": "^0.6.0",
"typescript": "6.0.3",
"vite": "^8.3.2"
Expand Down
3 changes: 2 additions & 1 deletion examples/octane/cell-spanning/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
"dependencies": {
"@faker-js/faker": "^10.6.0",
"@tanstack/octane-table": "^9.2.8",
"octane": "0.1.36"
"octane": "0.12.1"
},
"devDependencies": {
"@rolldown/binding-wasm32-wasi": "~1.2.12",
"@tsrx/oxc": "0.20.0",
"@tsrx/typescript-plugin": "^0.6.0",
"typescript": "6.0.3",
"vite": "^8.3.2"
Expand Down
3 changes: 2 additions & 1 deletion examples/octane/column-ordering/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
"dependencies": {
"@faker-js/faker": "^10.6.0",
"@tanstack/octane-table": "^9.2.8",
"octane": "0.1.36"
"octane": "0.12.1"
},
"devDependencies": {
"@rolldown/binding-wasm32-wasi": "~1.2.12",
"@tsrx/oxc": "0.20.0",
"@tsrx/typescript-plugin": "^0.6.0",
"typescript": "6.0.3",
"vite": "^8.3.2"
Expand Down
3 changes: 2 additions & 1 deletion examples/octane/column-pinning-split/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
"dependencies": {
"@faker-js/faker": "^10.6.0",
"@tanstack/octane-table": "^9.2.8",
"octane": "0.1.36"
"octane": "0.12.1"
},
"devDependencies": {
"@rolldown/binding-wasm32-wasi": "~1.2.12",
"@tsrx/oxc": "0.20.0",
"@tsrx/typescript-plugin": "^0.6.0",
"typescript": "6.0.3",
"vite": "^8.3.2"
Expand Down
3 changes: 2 additions & 1 deletion examples/octane/column-pinning-sticky/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
"dependencies": {
"@faker-js/faker": "^10.6.0",
"@tanstack/octane-table": "^9.2.8",
"octane": "0.1.36"
"octane": "0.12.1"
},
"devDependencies": {
"@rolldown/binding-wasm32-wasi": "~1.2.12",
"@tsrx/oxc": "0.20.0",
"@tsrx/typescript-plugin": "^0.6.0",
"typescript": "6.0.3",
"vite": "^8.3.2"
Expand Down
3 changes: 2 additions & 1 deletion examples/octane/column-pinning/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
"dependencies": {
"@faker-js/faker": "^10.6.0",
"@tanstack/octane-table": "^9.2.8",
"octane": "0.1.36"
"octane": "0.12.1"
},
"devDependencies": {
"@rolldown/binding-wasm32-wasi": "~1.2.12",
"@tsrx/oxc": "0.20.0",
"@tsrx/typescript-plugin": "^0.6.0",
"typescript": "6.0.3",
"vite": "^8.3.2"
Expand Down
3 changes: 2 additions & 1 deletion examples/octane/column-resizing-performant/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
"dependencies": {
"@faker-js/faker": "^10.6.0",
"@tanstack/octane-table": "^9.2.8",
"octane": "0.1.36"
"octane": "0.12.1"
},
"devDependencies": {
"@rolldown/binding-wasm32-wasi": "~1.2.12",
"@tsrx/oxc": "0.20.0",
"@tsrx/typescript-plugin": "^0.6.0",
"typescript": "6.0.3",
"vite": "^8.3.2"
Expand Down
3 changes: 2 additions & 1 deletion examples/octane/column-resizing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
"dependencies": {
"@faker-js/faker": "^10.6.0",
"@tanstack/octane-table": "^9.2.8",
"octane": "0.1.36"
"octane": "0.12.1"
},
"devDependencies": {
"@rolldown/binding-wasm32-wasi": "~1.2.12",
"@tsrx/oxc": "0.20.0",
"@tsrx/typescript-plugin": "^0.6.0",
"typescript": "6.0.3",
"vite": "^8.3.2"
Expand Down
3 changes: 2 additions & 1 deletion examples/octane/column-sizing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
"dependencies": {
"@faker-js/faker": "^10.6.0",
"@tanstack/octane-table": "^9.2.8",
"octane": "0.1.36"
"octane": "0.12.1"
},
"devDependencies": {
"@rolldown/binding-wasm32-wasi": "~1.2.12",
"@tsrx/oxc": "0.20.0",
"@tsrx/typescript-plugin": "^0.6.0",
"typescript": "6.0.3",
"vite": "^8.3.2"
Expand Down
3 changes: 2 additions & 1 deletion examples/octane/column-visibility/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
"dependencies": {
"@faker-js/faker": "^10.6.0",
"@tanstack/octane-table": "^9.2.8",
"octane": "0.1.36"
"octane": "0.12.1"
},
"devDependencies": {
"@rolldown/binding-wasm32-wasi": "~1.2.12",
"@tsrx/oxc": "0.20.0",
"@tsrx/typescript-plugin": "^0.6.0",
"typescript": "6.0.3",
"vite": "^8.3.2"
Expand Down
5 changes: 3 additions & 2 deletions examples/octane/composable-tables/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@
},
"dependencies": {
"@faker-js/faker": "^10.6.0",
"@tanstack/octane-store": "^0.12.3",
"@tanstack/octane-store": "^0.13.0",
"@tanstack/octane-table": "^9.2.8",
"octane": "0.1.36"
"octane": "0.12.1"
},
"devDependencies": {
"@rolldown/binding-wasm32-wasi": "~1.2.12",
"@tsrx/oxc": "0.20.0",
"@tsrx/typescript-plugin": "^0.6.0",
"typescript": "6.0.3",
"vite": "^8.3.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* directly on the table object, e.g., <table.PaginationControls />
*/
import { useTableContext } from '../hooks/table'
import type { PaginationState } from '@tanstack/octane-table'

/**
* Pagination controls for the table
Expand Down
3 changes: 2 additions & 1 deletion examples/octane/custom-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
"dependencies": {
"@faker-js/faker": "^10.6.0",
"@tanstack/octane-table": "^9.2.8",
"octane": "0.1.36"
"octane": "0.12.1"
},
"devDependencies": {
"@rolldown/binding-wasm32-wasi": "~1.2.12",
"@tsrx/oxc": "0.20.0",
"@tsrx/typescript-plugin": "^0.6.0",
"typescript": "6.0.3",
"vite": "^8.3.2"
Expand Down
3 changes: 2 additions & 1 deletion examples/octane/expanding/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
"dependencies": {
"@faker-js/faker": "^10.6.0",
"@tanstack/octane-table": "^9.2.8",
"octane": "0.1.36"
"octane": "0.12.1"
},
"devDependencies": {
"@rolldown/binding-wasm32-wasi": "~1.2.12",
"@tsrx/oxc": "0.20.0",
"@tsrx/typescript-plugin": "^0.6.0",
"typescript": "6.0.3",
"vite": "^8.3.2"
Expand Down
3 changes: 2 additions & 1 deletion examples/octane/filters-faceted-bucketed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
"dependencies": {
"@faker-js/faker": "^10.6.0",
"@tanstack/octane-table": "^9.2.8",
"octane": "0.1.36"
"octane": "0.12.1"
},
"devDependencies": {
"@rolldown/binding-wasm32-wasi": "~1.2.12",
"@tsrx/oxc": "0.20.0",
"@tsrx/typescript-plugin": "^0.6.0",
"typescript": "6.0.3",
"vite": "^8.3.2"
Expand Down
3 changes: 2 additions & 1 deletion examples/octane/filters-faceted/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@
"@faker-js/faker": "^10.6.0",
"@tanstack/match-sorter-utils": "^9.2.6",
"@tanstack/octane-table": "^9.2.8",
"octane": "0.1.36"
"octane": "0.12.1"
},
"devDependencies": {
"@rolldown/binding-wasm32-wasi": "~1.2.12",
"@tsrx/oxc": "0.20.0",
"@tsrx/typescript-plugin": "^0.6.0",
"typescript": "6.0.3",
"vite": "^8.3.2"
Expand Down
3 changes: 2 additions & 1 deletion examples/octane/filters-fuzzy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@
"@faker-js/faker": "^10.6.0",
"@tanstack/match-sorter-utils": "^9.2.6",
"@tanstack/octane-table": "^9.2.8",
"octane": "0.1.36"
"octane": "0.12.1"
},
"devDependencies": {
"@rolldown/binding-wasm32-wasi": "~1.2.12",
"@tsrx/oxc": "0.20.0",
"@tsrx/typescript-plugin": "^0.6.0",
"typescript": "6.0.3",
"vite": "^8.3.2"
Expand Down
3 changes: 2 additions & 1 deletion examples/octane/filters/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@
"@faker-js/faker": "^10.6.0",
"@tanstack/match-sorter-utils": "^9.2.6",
"@tanstack/octane-table": "^9.2.8",
"octane": "0.1.36"
"octane": "0.12.1"
},
"devDependencies": {
"@rolldown/binding-wasm32-wasi": "~1.2.12",
"@tsrx/oxc": "0.20.0",
"@tsrx/typescript-plugin": "^0.6.0",
"typescript": "6.0.3",
"vite": "^8.3.2"
Expand Down
3 changes: 2 additions & 1 deletion examples/octane/grouped-aggregation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
"dependencies": {
"@faker-js/faker": "^10.6.0",
"@tanstack/octane-table": "^9.2.8",
"octane": "0.1.36"
"octane": "0.12.1"
},
"devDependencies": {
"@rolldown/binding-wasm32-wasi": "~1.2.12",
"@tsrx/oxc": "0.20.0",
"@tsrx/typescript-plugin": "^0.6.0",
"typescript": "6.0.3",
"vite": "^8.3.2"
Expand Down
3 changes: 2 additions & 1 deletion examples/octane/grouping/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
"dependencies": {
"@faker-js/faker": "^10.6.0",
"@tanstack/octane-table": "^9.2.8",
"octane": "0.1.36"
"octane": "0.12.1"
},
"devDependencies": {
"@rolldown/binding-wasm32-wasi": "~1.2.12",
"@tsrx/oxc": "0.20.0",
"@tsrx/typescript-plugin": "^0.6.0",
"typescript": "6.0.3",
"vite": "^8.3.2"
Expand Down
3 changes: 2 additions & 1 deletion examples/octane/header-groups/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
"dependencies": {
"@faker-js/faker": "^10.6.0",
"@tanstack/octane-table": "^9.2.8",
"octane": "0.1.36"
"octane": "0.12.1"
},
"devDependencies": {
"@rolldown/binding-wasm32-wasi": "~1.2.12",
"@tsrx/oxc": "0.20.0",
"@tsrx/typescript-plugin": "^0.6.0",
"typescript": "6.0.3",
"vite": "^8.3.2"
Expand Down
3 changes: 2 additions & 1 deletion examples/octane/kitchen-sink/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@
"@faker-js/faker": "^10.6.0",
"@tanstack/match-sorter-utils": "^9.2.6",
"@tanstack/octane-table": "^9.2.8",
"octane": "0.1.36"
"octane": "0.12.1"
},
"devDependencies": {
"@rolldown/binding-wasm32-wasi": "~1.2.12",
"@tsrx/oxc": "0.20.0",
"@tsrx/typescript-plugin": "^0.6.0",
"typescript": "6.0.3",
"vite": "^8.3.2"
Expand Down
Loading
Loading