@tanstack/svelte-table
Advanced tools
Comparing version 9.0.0-alpha.5 to 9.0.0-alpha.6
export * from '@tanstack/table-core'; | ||
export { default as FlexRender } from './flex-render.svelte'; | ||
export { renderComponent } from './render-component'; | ||
export { createSvelteTable } from './table.svelte'; | ||
export { createTable } from './table.svelte'; |
export * from '@tanstack/table-core'; | ||
export { default as FlexRender } from './flex-render.svelte'; | ||
export { renderComponent } from './render-component'; | ||
export { createSvelteTable } from './table.svelte'; | ||
export { createTable } from './table.svelte'; |
@@ -9,3 +9,3 @@ import { type RowData, type TableOptions } from '@tanstack/table-core'; | ||
* <script> | ||
* const table = createSvelteTable({ ... }) | ||
* const table = createTable({ ... }) | ||
* </script> | ||
@@ -29,2 +29,2 @@ * | ||
*/ | ||
export declare function createSvelteTable<TData extends RowData>(options: TableOptions<TData>): import("@tanstack/table-core").Table<TData>; | ||
export declare function createTable<TData extends RowData>(options: TableOptions<TData>): import("@tanstack/table-core").Table<TData>; |
@@ -1,2 +0,2 @@ | ||
import { createTable, } from '@tanstack/table-core'; | ||
import { _createTable, } from '@tanstack/table-core'; | ||
/** | ||
@@ -9,3 +9,3 @@ * Creates a reactive TanStack table object for Svelte. | ||
* <script> | ||
* const table = createSvelteTable({ ... }) | ||
* const table = createTable({ ... }) | ||
* </script> | ||
@@ -29,3 +29,3 @@ * | ||
*/ | ||
export function createSvelteTable(options) { | ||
export function createTable(options) { | ||
const resolvedOptions = mergeObjects({ | ||
@@ -39,3 +39,3 @@ state: {}, | ||
}, options); | ||
const table = createTable(resolvedOptions); | ||
const table = _createTable(resolvedOptions); | ||
let state = $state(table.initialState); | ||
@@ -42,0 +42,0 @@ function updateOptions() { |
{ | ||
"name": "@tanstack/svelte-table", | ||
"version": "9.0.0-alpha.5", | ||
"version": "9.0.0-alpha.6", | ||
"description": "Headless UI for building powerful tables & datagrids for Svelte.", | ||
@@ -43,3 +43,3 @@ "author": "Tanner Linsley", | ||
"dependencies": { | ||
"@tanstack/table-core": "9.0.0-alpha.4" | ||
"@tanstack/table-core": "9.0.0-alpha.6" | ||
}, | ||
@@ -46,0 +46,0 @@ "devDependencies": { |
export * from '@tanstack/table-core' | ||
export { default as FlexRender } from './flex-render.svelte' | ||
export { renderComponent } from './render-component' | ||
export { createSvelteTable } from './table.svelte' | ||
export { createTable } from './table.svelte' |
import { | ||
createTable, | ||
_createTable, | ||
type RowData, | ||
@@ -16,3 +16,3 @@ type TableOptions, | ||
* <script> | ||
* const table = createSvelteTable({ ... }) | ||
* const table = createTable({ ... }) | ||
* </script> | ||
@@ -36,3 +36,3 @@ * | ||
*/ | ||
export function createSvelteTable<TData extends RowData>( | ||
export function createTable<TData extends RowData>( | ||
options: TableOptions<TData> | ||
@@ -55,3 +55,3 @@ ) { | ||
const table = createTable(resolvedOptions) | ||
const table = _createTable(resolvedOptions) | ||
let state = $state<Partial<TableState>>(table.initialState) | ||
@@ -58,0 +58,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18330
+ Added@jridgewell/gen-mapping@0.3.7(transitive)
+ Added@jridgewell/sourcemap-codec@1.4.16-beta.0(transitive)
+ Added@tanstack/table-core@9.0.0-alpha.6(transitive)
+ Addedsvelte@5.10.1(transitive)
- Removed@jridgewell/gen-mapping@0.3.8(transitive)
- Removed@jridgewell/set-array@1.2.1(transitive)
- Removed@tanstack/table-core@9.0.0-alpha.4(transitive)
- Removedsvelte@5.12.0(transitive)