@tanstack/svelte-table 9.0.0-beta.65 → 9.0.0-beta.69
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/README.md +3 -1
- package/dist/createTableHook.svelte.d.ts +1 -1
- package/package.json +6 -6
- package/skills/create-table-hook/SKILL.md +1 -1
- package/skills/getting-started/SKILL.md +1 -1
- package/skills/migrate-v8-to-v9/SKILL.md +2 -2
- package/skills/table-state/SKILL.md +1 -1
- package/skills/with-tanstack-query/SKILL.md +1 -1
- package/skills/with-tanstack-virtual/SKILL.md +1 -1
package/README.md
CHANGED
|
@@ -35,6 +35,8 @@
|
|
|
35
35
|
>
|
|
36
36
|
> - [Angular Table](https://tanstack.com/table/alpha/docs/framework/angular/angular-table)
|
|
37
37
|
> - [Lit Table](https://tanstack.com/table/alpha/docs/framework/lit/lit-table)
|
|
38
|
+
> - [Octane Table](https://tanstack.com/table/beta/docs/framework/octane/quick-start)
|
|
39
|
+
> - [Preact Table](https://tanstack.com/table/beta/docs/framework/preact/quick-start)
|
|
38
40
|
> - [React Table](https://tanstack.com/table/alpha/docs/framework/react/react-table)
|
|
39
41
|
> - [Solid Table](https://tanstack.com/table/alpha/docs/framework/solid/solid-table)
|
|
40
42
|
> - [Svelte Table](https://tanstack.com/table/alpha/docs/framework/svelte/svelte-table)
|
|
@@ -44,7 +46,7 @@
|
|
|
44
46
|
|
|
45
47
|
A headless table library for building powerful datagrids with full control over markup, styles, and behavior.
|
|
46
48
|
|
|
47
|
-
- Framework
|
|
49
|
+
- Framework-agnostic core with bindings for React, Preact, Octane, Vue, Solid, Svelte, Angular, Ember, Lit, and Alpine
|
|
48
50
|
- 100% customizable — bring your own UI, components, and styles
|
|
49
51
|
- Sorting, filtering, grouping, aggregation & row selection
|
|
50
52
|
- Lightweight, virtualizable & server‑side friendly
|
|
@@ -66,7 +66,7 @@ export type AppColumnHelper<TFeatures extends TableFeatures, TData extends RowDa
|
|
|
66
66
|
* Creates a data column definition with an accessor key or function.
|
|
67
67
|
* The cell, header, and footer contexts include pre-bound components.
|
|
68
68
|
*/
|
|
69
|
-
accessor: <TAccessor extends AccessorFn<TData> | DeepKeys<TData>, TValue extends TAccessor extends AccessorFn<TData, infer TReturn> ? TReturn : TAccessor extends DeepKeys<TData> ? DeepValue<TData, TAccessor> : never>(accessor: TAccessor, column: TAccessor extends AccessorFn<TData> ? AppColumnDefBase<TFeatures, TData, TValue, TCellComponents, THeaderComponents> & {
|
|
69
|
+
accessor: <TAccessor extends AccessorFn<TData> | DeepKeys<TData>, TValue extends (TAccessor extends AccessorFn<TData, infer TReturn> ? TReturn : TAccessor extends DeepKeys<TData> ? DeepValue<TData, TAccessor> : never)>(accessor: TAccessor, column: TAccessor extends AccessorFn<TData> ? AppColumnDefBase<TFeatures, TData, TValue, TCellComponents, THeaderComponents> & {
|
|
70
70
|
id: string;
|
|
71
71
|
} : AppColumnDefBase<TFeatures, TData, TValue, TCellComponents, THeaderComponents>) => TAccessor extends AccessorFn<TData> ? AccessorFnColumnDef<TFeatures, TData, TValue> : AccessorKeyColumnDef<TFeatures, TData, TValue>;
|
|
72
72
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/svelte-table",
|
|
3
|
-
"version": "9.0.0-beta.
|
|
3
|
+
"version": "9.0.0-beta.69",
|
|
4
4
|
"description": "Headless UI for building powerful tables & datagrids for Svelte.",
|
|
5
5
|
"author": "Tanner Linsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -57,15 +57,15 @@
|
|
|
57
57
|
],
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"@tanstack/svelte-store": "^0.12.0",
|
|
60
|
-
"@tanstack/table-core": "9.0.0-beta.
|
|
60
|
+
"@tanstack/table-core": "9.0.0-beta.69"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@sveltejs/package": "^2.5.8",
|
|
64
|
-
"@sveltejs/vite-plugin-svelte": "^7.
|
|
64
|
+
"@sveltejs/vite-plugin-svelte": "^7.2.0",
|
|
65
65
|
"@testing-library/svelte": "^5.4.2",
|
|
66
|
-
"eslint-plugin-svelte": "^3.
|
|
67
|
-
"svelte": "^5.56.
|
|
68
|
-
"svelte-check": "^4.
|
|
66
|
+
"eslint-plugin-svelte": "^3.22.0",
|
|
67
|
+
"svelte": "^5.56.8",
|
|
68
|
+
"svelte-check": "^4.7.4"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
71
|
"svelte": "^5.0.0"
|
|
@@ -6,7 +6,7 @@ metadata:
|
|
|
6
6
|
type: lifecycle
|
|
7
7
|
library: '@tanstack/svelte-table'
|
|
8
8
|
framework: svelte
|
|
9
|
-
library_version: '9.0.0-beta.
|
|
9
|
+
library_version: '9.0.0-beta.69'
|
|
10
10
|
requires:
|
|
11
11
|
- '@tanstack/table-core#migrate-v8-to-v9'
|
|
12
12
|
- getting-started
|
|
@@ -58,7 +58,7 @@ const table = createTable({
|
|
|
58
58
|
| `filterFns` / `aggregationFns` table options | Same-named feature slots |
|
|
59
59
|
| Top-level `onStateChange` | Per-slice callbacks, external atoms, or store subscription |
|
|
60
60
|
|
|
61
|
-
Available feature imports are `columnFilteringFeature`, `globalFilteringFeature`, `rowSortingFeature`, `rowPaginationFeature`, `rowSelectionFeature`, `rowExpandingFeature`, `rowPinningFeature`, `columnPinningFeature`, `columnVisibilityFeature`, `columnOrderingFeature`, `columnSizingFeature`, `columnResizingFeature`, `rowAggregationFeature`, `columnGroupingFeature`, and `columnFacetingFeature`. An API does not exist unless its feature is registered. Put a feature before its dependent slot in the same `tableFeatures` call. Aggregation is independent from grouping: register `rowAggregationFeature` for aggregation APIs and add `columnGroupingFeature` only for grouped rows.
|
|
61
|
+
Available feature imports are `cellSelectionFeature`, `columnFilteringFeature`, `globalFilteringFeature`, `rowSortingFeature`, `rowPaginationFeature`, `rowSelectionFeature`, `rowExpandingFeature`, `rowPinningFeature`, `columnPinningFeature`, `columnVisibilityFeature`, `columnOrderingFeature`, `columnSizingFeature`, `columnResizingFeature`, `rowAggregationFeature`, `columnGroupingFeature`, and `columnFacetingFeature`. An API does not exist unless its feature is registered. Put a feature before its dependent slot in the same `tableFeatures` call. Aggregation is independent from grouping: register `rowAggregationFeature` for aggregation APIs and add `columnGroupingFeature` only for grouped rows.
|
|
62
62
|
|
|
63
63
|
### Row-model mapping
|
|
64
64
|
|