@tanstack/svelte-table 9.0.0-alpha.51 → 9.0.0-alpha.53
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.
|
@@ -41,6 +41,13 @@ function createRuneWritableAtom(initialValue) {
|
|
|
41
41
|
export function svelteReactivity() {
|
|
42
42
|
return {
|
|
43
43
|
createOptionsStore: true,
|
|
44
|
+
wrapExternalAtoms: false,
|
|
45
|
+
addSubscription: () => {
|
|
46
|
+
throw new Error('Feature not supported in current reactivity implementation');
|
|
47
|
+
},
|
|
48
|
+
unmount: () => {
|
|
49
|
+
throw new Error('Feature not supported in current reactivity implementation');
|
|
50
|
+
},
|
|
44
51
|
schedule: (fn) => queueMicrotask(() => fn()),
|
|
45
52
|
createReadonlyAtom: (fn, _options) => {
|
|
46
53
|
const storeAtom = createAtom(() => fn(), {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/svelte-table",
|
|
3
|
-
"version": "9.0.0-alpha.
|
|
3
|
+
"version": "9.0.0-alpha.53",
|
|
4
4
|
"description": "Headless UI for building powerful tables & datagrids for Svelte.",
|
|
5
5
|
"author": "Tanner Linsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -53,13 +53,13 @@
|
|
|
53
53
|
],
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@tanstack/svelte-store": "^0.12.0",
|
|
56
|
-
"@tanstack/table-core": "9.0.0-alpha.
|
|
56
|
+
"@tanstack/table-core": "9.0.0-alpha.53"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@sveltejs/package": "^2.5.7",
|
|
60
60
|
"@sveltejs/vite-plugin-svelte": "^7.1.2",
|
|
61
|
-
"eslint-plugin-svelte": "^3.
|
|
62
|
-
"svelte": "^5.
|
|
61
|
+
"eslint-plugin-svelte": "^3.19.0",
|
|
62
|
+
"svelte": "^5.56.0",
|
|
63
63
|
"svelte-check": "^4.4.8"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
package/src/reactivity.svelte.ts
CHANGED
|
@@ -58,6 +58,17 @@ function createRuneWritableAtom<T>(initialValue: T): Atom<T> {
|
|
|
58
58
|
export function svelteReactivity(): TableReactivityBindings {
|
|
59
59
|
return {
|
|
60
60
|
createOptionsStore: true,
|
|
61
|
+
wrapExternalAtoms: false,
|
|
62
|
+
addSubscription: () => {
|
|
63
|
+
throw new Error(
|
|
64
|
+
'Feature not supported in current reactivity implementation',
|
|
65
|
+
)
|
|
66
|
+
},
|
|
67
|
+
unmount: () => {
|
|
68
|
+
throw new Error(
|
|
69
|
+
'Feature not supported in current reactivity implementation',
|
|
70
|
+
)
|
|
71
|
+
},
|
|
61
72
|
schedule: (fn) => queueMicrotask(() => fn()),
|
|
62
73
|
createReadonlyAtom: <T>(fn: () => T, _options?: TableAtomOptions<T>) => {
|
|
63
74
|
const storeAtom = createAtom(() => fn(), {
|