@tanstack/svelte-table 8.0.8 → 8.0.13

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.
@@ -2669,7 +2669,7 @@ var drawChart = (function (exports) {
2669
2669
  </script>
2670
2670
  <script>
2671
2671
  /*<!--*/
2672
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"name":"packages","children":[{"name":"table-core/build/esm/index.js","uid":"feb1-163"},{"name":"svelte-table/src","children":[{"uid":"feb1-165","name":"placeholder.svelte"},{"uid":"feb1-167","name":"placeholder.ts"},{"uid":"feb1-169","name":"render-component.ts"},{"uid":"feb1-171","name":"index.ts"}]}]}]}],"isRoot":true},"nodeParts":{"feb1-163":{"renderedLength":139119,"gzipLength":23690,"brotliLength":0,"mainUid":"feb1-162"},"feb1-165":{"renderedLength":927,"gzipLength":445,"brotliLength":0,"mainUid":"feb1-164"},"feb1-167":{"renderedLength":246,"gzipLength":184,"brotliLength":0,"mainUid":"feb1-166"},"feb1-169":{"renderedLength":1458,"gzipLength":539,"brotliLength":0,"mainUid":"feb1-168"},"feb1-171":{"renderedLength":3046,"gzipLength":993,"brotliLength":0,"mainUid":"feb1-170"}},"nodeMetas":{"feb1-162":{"id":"/packages/table-core/build/esm/index.js","moduleParts":{"index.production.js":"feb1-163"},"imported":[],"importedBy":[{"uid":"feb1-170"}]},"feb1-164":{"id":"/packages/svelte-table/src/placeholder.svelte","moduleParts":{"index.production.js":"feb1-165"},"imported":[{"uid":"feb1-172"}],"importedBy":[{"uid":"feb1-166"}]},"feb1-166":{"id":"/packages/svelte-table/src/placeholder.ts","moduleParts":{"index.production.js":"feb1-167"},"imported":[{"uid":"feb1-172"},{"uid":"feb1-164"}],"importedBy":[{"uid":"feb1-170"}]},"feb1-168":{"id":"/packages/svelte-table/src/render-component.ts","moduleParts":{"index.production.js":"feb1-169"},"imported":[{"uid":"feb1-172"}],"importedBy":[{"uid":"feb1-170"}]},"feb1-170":{"id":"/packages/svelte-table/src/index.ts","moduleParts":{"index.production.js":"feb1-171"},"imported":[{"uid":"feb1-162"},{"uid":"feb1-166"},{"uid":"feb1-172"},{"uid":"feb1-173"},{"uid":"feb1-168"}],"importedBy":[],"isEntry":true},"feb1-172":{"id":"svelte/internal","moduleParts":{},"imported":[],"importedBy":[{"uid":"feb1-170"},{"uid":"feb1-166"},{"uid":"feb1-168"},{"uid":"feb1-164"}],"isExternal":true},"feb1-173":{"id":"svelte/store","moduleParts":{},"imported":[],"importedBy":[{"uid":"feb1-170"}],"isExternal":true}},"env":{"rollup":"2.75.7"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
2672
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"name":"packages","children":[{"name":"table-core/build/esm/index.js","uid":"75ae-163"},{"name":"svelte-table/src","children":[{"uid":"75ae-165","name":"placeholder.svelte"},{"uid":"75ae-167","name":"placeholder.ts"},{"uid":"75ae-169","name":"render-component.ts"},{"uid":"75ae-171","name":"index.ts"}]}]}]}],"isRoot":true},"nodeParts":{"75ae-163":{"renderedLength":139119,"gzipLength":23690,"brotliLength":0,"mainUid":"75ae-162"},"75ae-165":{"renderedLength":927,"gzipLength":445,"brotliLength":0,"mainUid":"75ae-164"},"75ae-167":{"renderedLength":246,"gzipLength":184,"brotliLength":0,"mainUid":"75ae-166"},"75ae-169":{"renderedLength":1458,"gzipLength":539,"brotliLength":0,"mainUid":"75ae-168"},"75ae-171":{"renderedLength":3046,"gzipLength":993,"brotliLength":0,"mainUid":"75ae-170"}},"nodeMetas":{"75ae-162":{"id":"/packages/table-core/build/esm/index.js","moduleParts":{"index.production.js":"75ae-163"},"imported":[],"importedBy":[{"uid":"75ae-170"}]},"75ae-164":{"id":"/packages/svelte-table/src/placeholder.svelte","moduleParts":{"index.production.js":"75ae-165"},"imported":[{"uid":"75ae-172"}],"importedBy":[{"uid":"75ae-166"}]},"75ae-166":{"id":"/packages/svelte-table/src/placeholder.ts","moduleParts":{"index.production.js":"75ae-167"},"imported":[{"uid":"75ae-172"},{"uid":"75ae-164"}],"importedBy":[{"uid":"75ae-170"}]},"75ae-168":{"id":"/packages/svelte-table/src/render-component.ts","moduleParts":{"index.production.js":"75ae-169"},"imported":[{"uid":"75ae-172"}],"importedBy":[{"uid":"75ae-170"}]},"75ae-170":{"id":"/packages/svelte-table/src/index.ts","moduleParts":{"index.production.js":"75ae-171"},"imported":[{"uid":"75ae-162"},{"uid":"75ae-166"},{"uid":"75ae-172"},{"uid":"75ae-173"},{"uid":"75ae-168"}],"importedBy":[],"isEntry":true},"75ae-172":{"id":"svelte/internal","moduleParts":{},"imported":[],"importedBy":[{"uid":"75ae-170"},{"uid":"75ae-166"},{"uid":"75ae-168"},{"uid":"75ae-164"}],"isExternal":true},"75ae-173":{"id":"svelte/store","moduleParts":{},"imported":[],"importedBy":[{"uid":"75ae-170"}],"isExternal":true}},"env":{"rollup":"2.75.7"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
2673
2673
 
2674
2674
  const run = () => {
2675
2675
  const width = window.innerWidth;
@@ -0,0 +1,205 @@
1
+ {
2
+ "version": 2,
3
+ "tree": {
4
+ "name": "root",
5
+ "children": [
6
+ {
7
+ "name": "index.production.js",
8
+ "children": [
9
+ {
10
+ "name": "packages",
11
+ "children": [
12
+ {
13
+ "name": "table-core/build/esm/index.js",
14
+ "uid": "75ae-175"
15
+ },
16
+ {
17
+ "name": "svelte-table/src",
18
+ "children": [
19
+ {
20
+ "uid": "75ae-177",
21
+ "name": "placeholder.svelte"
22
+ },
23
+ {
24
+ "uid": "75ae-179",
25
+ "name": "placeholder.ts"
26
+ },
27
+ {
28
+ "uid": "75ae-181",
29
+ "name": "render-component.ts"
30
+ },
31
+ {
32
+ "uid": "75ae-183",
33
+ "name": "index.ts"
34
+ }
35
+ ]
36
+ }
37
+ ]
38
+ }
39
+ ]
40
+ }
41
+ ],
42
+ "isRoot": true
43
+ },
44
+ "nodeParts": {
45
+ "75ae-175": {
46
+ "renderedLength": 139119,
47
+ "gzipLength": 23690,
48
+ "brotliLength": 0,
49
+ "mainUid": "75ae-174"
50
+ },
51
+ "75ae-177": {
52
+ "renderedLength": 927,
53
+ "gzipLength": 445,
54
+ "brotliLength": 0,
55
+ "mainUid": "75ae-176"
56
+ },
57
+ "75ae-179": {
58
+ "renderedLength": 246,
59
+ "gzipLength": 184,
60
+ "brotliLength": 0,
61
+ "mainUid": "75ae-178"
62
+ },
63
+ "75ae-181": {
64
+ "renderedLength": 1458,
65
+ "gzipLength": 539,
66
+ "brotliLength": 0,
67
+ "mainUid": "75ae-180"
68
+ },
69
+ "75ae-183": {
70
+ "renderedLength": 3046,
71
+ "gzipLength": 993,
72
+ "brotliLength": 0,
73
+ "mainUid": "75ae-182"
74
+ }
75
+ },
76
+ "nodeMetas": {
77
+ "75ae-174": {
78
+ "id": "/packages/table-core/build/esm/index.js",
79
+ "moduleParts": {
80
+ "index.production.js": "75ae-175"
81
+ },
82
+ "imported": [],
83
+ "importedBy": [
84
+ {
85
+ "uid": "75ae-182"
86
+ }
87
+ ]
88
+ },
89
+ "75ae-176": {
90
+ "id": "/packages/svelte-table/src/placeholder.svelte",
91
+ "moduleParts": {
92
+ "index.production.js": "75ae-177"
93
+ },
94
+ "imported": [
95
+ {
96
+ "uid": "75ae-184"
97
+ }
98
+ ],
99
+ "importedBy": [
100
+ {
101
+ "uid": "75ae-178"
102
+ }
103
+ ]
104
+ },
105
+ "75ae-178": {
106
+ "id": "/packages/svelte-table/src/placeholder.ts",
107
+ "moduleParts": {
108
+ "index.production.js": "75ae-179"
109
+ },
110
+ "imported": [
111
+ {
112
+ "uid": "75ae-184"
113
+ },
114
+ {
115
+ "uid": "75ae-176"
116
+ }
117
+ ],
118
+ "importedBy": [
119
+ {
120
+ "uid": "75ae-182"
121
+ }
122
+ ]
123
+ },
124
+ "75ae-180": {
125
+ "id": "/packages/svelte-table/src/render-component.ts",
126
+ "moduleParts": {
127
+ "index.production.js": "75ae-181"
128
+ },
129
+ "imported": [
130
+ {
131
+ "uid": "75ae-184"
132
+ }
133
+ ],
134
+ "importedBy": [
135
+ {
136
+ "uid": "75ae-182"
137
+ }
138
+ ]
139
+ },
140
+ "75ae-182": {
141
+ "id": "/packages/svelte-table/src/index.ts",
142
+ "moduleParts": {
143
+ "index.production.js": "75ae-183"
144
+ },
145
+ "imported": [
146
+ {
147
+ "uid": "75ae-174"
148
+ },
149
+ {
150
+ "uid": "75ae-178"
151
+ },
152
+ {
153
+ "uid": "75ae-184"
154
+ },
155
+ {
156
+ "uid": "75ae-185"
157
+ },
158
+ {
159
+ "uid": "75ae-180"
160
+ }
161
+ ],
162
+ "importedBy": [],
163
+ "isEntry": true
164
+ },
165
+ "75ae-184": {
166
+ "id": "svelte/internal",
167
+ "moduleParts": {},
168
+ "imported": [],
169
+ "importedBy": [
170
+ {
171
+ "uid": "75ae-182"
172
+ },
173
+ {
174
+ "uid": "75ae-178"
175
+ },
176
+ {
177
+ "uid": "75ae-180"
178
+ },
179
+ {
180
+ "uid": "75ae-176"
181
+ }
182
+ ],
183
+ "isExternal": true
184
+ },
185
+ "75ae-185": {
186
+ "id": "svelte/store",
187
+ "moduleParts": {},
188
+ "imported": [],
189
+ "importedBy": [
190
+ {
191
+ "uid": "75ae-182"
192
+ }
193
+ ],
194
+ "isExternal": true
195
+ }
196
+ },
197
+ "env": {
198
+ "rollup": "2.75.7"
199
+ },
200
+ "options": {
201
+ "gzip": true,
202
+ "brotli": false,
203
+ "sourcemap": false
204
+ }
205
+ }
@@ -0,0 +1,27 @@
1
+ /**
2
+ * svelte-table
3
+ *
4
+ * Copyright (c) TanStack
5
+ *
6
+ * This source code is licensed under the MIT license found in the
7
+ * LICENSE.md file in the root directory of this source tree.
8
+ *
9
+ * @license MIT
10
+ */
11
+ import * as _tanstack_table_core from '@tanstack/table-core';
12
+ import { Table, TableGenerics, TableOptions } from '@tanstack/table-core';
13
+ export * from '@tanstack/table-core';
14
+ import { Readable } from 'svelte/store';
15
+
16
+ declare function renderClient(Comp: any, props: any): any;
17
+ declare const renderComponent: typeof renderClient;
18
+
19
+ declare function render(component: any, props: any): any;
20
+ declare const createTable: () => Table<{
21
+ Renderer: typeof render;
22
+ Rendered: any;
23
+ }>;
24
+ declare type ReadableOrVal<T> = T | Readable<T>;
25
+ declare function createTableInstance<TGenerics extends TableGenerics>(table: Table<TGenerics>, options: ReadableOrVal<TableOptions<TGenerics>>): Readable<_tanstack_table_core.TableInstance<TGenerics>>;
26
+
27
+ export { createTable, createTableInstance, render, renderComponent };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tanstack/svelte-table",
3
3
  "author": "Tanner Linsley",
4
- "version": "8.0.8",
4
+ "version": "8.0.13",
5
5
  "description": "Headless UI for building powerful tables & datagrids for Svelte.",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/tanstack/table#readme",
@@ -30,11 +30,11 @@
30
30
  "node": ">=12"
31
31
  },
32
32
  "files": [
33
- "build",
33
+ "build/**",
34
34
  "src"
35
35
  ],
36
36
  "dependencies": {
37
- "@tanstack/table-core": "8.0.8"
37
+ "@tanstack/table-core": "8.0.13"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "svelte": "^3.48.0"