@tanstack/react-table 8.0.0-alpha.1 → 8.0.0-alpha.11

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.
Files changed (96) hide show
  1. package/build/cjs/_virtual/_rollupPluginBabelHelpers.js +0 -78
  2. package/build/cjs/_virtual/_rollupPluginBabelHelpers.js.map +1 -1
  3. package/build/cjs/index.js +67 -12
  4. package/build/cjs/index.js.map +1 -1
  5. package/build/esm/index.js +30 -3346
  6. package/build/esm/index.js.map +1 -1
  7. package/build/stats-html.html +1 -1
  8. package/build/stats-react.json +28 -632
  9. package/build/types/index.d.ts +3 -7
  10. package/build/umd/index.development.js +37 -3348
  11. package/build/umd/index.development.js.map +1 -1
  12. package/build/umd/index.production.js +1 -1
  13. package/build/umd/index.production.js.map +1 -1
  14. package/package.json +4 -1
  15. package/src/index.tsx +56 -7
  16. package/build/cjs/aggregationTypes.js +0 -130
  17. package/build/cjs/aggregationTypes.js.map +0 -1
  18. package/build/cjs/core.js +0 -493
  19. package/build/cjs/core.js.map +0 -1
  20. package/build/cjs/createTable.js +0 -103
  21. package/build/cjs/createTable.js.map +0 -1
  22. package/build/cjs/features/Expanding.js +0 -234
  23. package/build/cjs/features/Expanding.js.map +0 -1
  24. package/build/cjs/features/Filters.js +0 -396
  25. package/build/cjs/features/Filters.js.map +0 -1
  26. package/build/cjs/features/Grouping.js +0 -228
  27. package/build/cjs/features/Grouping.js.map +0 -1
  28. package/build/cjs/features/Headers.js +0 -483
  29. package/build/cjs/features/Headers.js.map +0 -1
  30. package/build/cjs/features/Ordering.js +0 -83
  31. package/build/cjs/features/Ordering.js.map +0 -1
  32. package/build/cjs/features/Pinning.js +0 -163
  33. package/build/cjs/features/Pinning.js.map +0 -1
  34. package/build/cjs/features/Sorting.js +0 -269
  35. package/build/cjs/features/Sorting.js.map +0 -1
  36. package/build/cjs/features/Visibility.js +0 -160
  37. package/build/cjs/features/Visibility.js.map +0 -1
  38. package/build/cjs/filterTypes.js +0 -172
  39. package/build/cjs/filterTypes.js.map +0 -1
  40. package/build/cjs/sortTypes.js +0 -121
  41. package/build/cjs/sortTypes.js.map +0 -1
  42. package/build/cjs/utils/columnFilterRowsFn.js +0 -130
  43. package/build/cjs/utils/columnFilterRowsFn.js.map +0 -1
  44. package/build/cjs/utils/expandRowsFn.js +0 -38
  45. package/build/cjs/utils/expandRowsFn.js.map +0 -1
  46. package/build/cjs/utils/globalFilterRowsFn.js +0 -100
  47. package/build/cjs/utils/globalFilterRowsFn.js.map +0 -1
  48. package/build/cjs/utils/groupRowsFn.js +0 -154
  49. package/build/cjs/utils/groupRowsFn.js.map +0 -1
  50. package/build/cjs/utils/sortRowsFn.js +0 -93
  51. package/build/cjs/utils/sortRowsFn.js.map +0 -1
  52. package/build/cjs/utils.js +0 -143
  53. package/build/cjs/utils.js.map +0 -1
  54. package/build/types/aggregationTypes.d.ts +0 -22
  55. package/build/types/core.d.ts +0 -122
  56. package/build/types/createTable.d.ts +0 -35
  57. package/build/types/features/Expanding.d.ts +0 -52
  58. package/build/types/features/Filters.d.ts +0 -93
  59. package/build/types/features/Grouping.d.ts +0 -82
  60. package/build/types/features/Headers.d.ts +0 -41
  61. package/build/types/features/Ordering.d.ts +0 -19
  62. package/build/types/features/Pinning.d.ts +0 -39
  63. package/build/types/features/Sorting.d.ts +0 -75
  64. package/build/types/features/Visibility.d.ts +0 -47
  65. package/build/types/filterTypes.d.ts +0 -50
  66. package/build/types/sortTypes.d.ts +0 -17
  67. package/build/types/types.d.ts +0 -122
  68. package/build/types/utils/columnFilterRowsFn.d.ts +0 -2
  69. package/build/types/utils/expandRowsFn.d.ts +0 -2
  70. package/build/types/utils/globalFilterRowsFn.d.ts +0 -2
  71. package/build/types/utils/groupRowsFn.d.ts +0 -2
  72. package/build/types/utils/sortRowsFn.d.ts +0 -2
  73. package/build/types/utils.d.ts +0 -24
  74. package/src/aggregationTypes.ts +0 -115
  75. package/src/core.tsx +0 -1194
  76. package/src/createTable.tsx +0 -181
  77. package/src/features/Expanding.ts +0 -388
  78. package/src/features/Filters.ts +0 -707
  79. package/src/features/Grouping.ts +0 -451
  80. package/src/features/Headers.ts +0 -907
  81. package/src/features/Ordering.ts +0 -134
  82. package/src/features/Pinning.ts +0 -213
  83. package/src/features/Sorting.ts +0 -487
  84. package/src/features/Visibility.ts +0 -281
  85. package/src/features/withColumnResizing.oldts +0 -281
  86. package/src/features/withPagination.oldts +0 -208
  87. package/src/features/withRowSelection.oldts +0 -467
  88. package/src/filterTypes.ts +0 -251
  89. package/src/sortTypes.ts +0 -159
  90. package/src/types.ts +0 -285
  91. package/src/utils/columnFilterRowsFn.ts +0 -162
  92. package/src/utils/expandRowsFn.ts +0 -53
  93. package/src/utils/globalFilterRowsFn.ts +0 -129
  94. package/src/utils/groupRowsFn.ts +0 -196
  95. package/src/utils/sortRowsFn.ts +0 -115
  96. package/src/utils.tsx +0 -243
@@ -7,103 +7,12 @@
7
7
  "name": "index.production.js",
8
8
  "children": [
9
9
  {
10
- "name": "packages/react-table/src",
11
- "children": [
12
- {
13
- "name": "utils",
14
- "children": [
15
- {
16
- "uid": "22aa-45",
17
- "name": "columnFilterRowsFn.ts"
18
- },
19
- {
20
- "uid": "22aa-47",
21
- "name": "globalFilterRowsFn.ts"
22
- },
23
- {
24
- "uid": "22aa-49",
25
- "name": "sortRowsFn.ts"
26
- },
27
- {
28
- "uid": "22aa-55",
29
- "name": "groupRowsFn.ts"
30
- },
31
- {
32
- "uid": "22aa-57",
33
- "name": "expandRowsFn.ts"
34
- }
35
- ]
36
- },
37
- {
38
- "uid": "22aa-53",
39
- "name": "utils.tsx"
40
- },
41
- {
42
- "name": "features",
43
- "children": [
44
- {
45
- "uid": "22aa-59",
46
- "name": "Visibility.ts"
47
- },
48
- {
49
- "uid": "22aa-63",
50
- "name": "Grouping.ts"
51
- },
52
- {
53
- "uid": "22aa-65",
54
- "name": "Ordering.ts"
55
- },
56
- {
57
- "uid": "22aa-67",
58
- "name": "Pinning.ts"
59
- },
60
- {
61
- "uid": "22aa-69",
62
- "name": "Headers.ts"
63
- },
64
- {
65
- "uid": "22aa-73",
66
- "name": "Filters.ts"
67
- },
68
- {
69
- "uid": "22aa-77",
70
- "name": "Sorting.ts"
71
- },
72
- {
73
- "uid": "22aa-79",
74
- "name": "Expanding.ts"
75
- }
76
- ]
77
- },
78
- {
79
- "uid": "22aa-61",
80
- "name": "aggregationTypes.ts"
81
- },
82
- {
83
- "uid": "22aa-71",
84
- "name": "filterTypes.ts"
85
- },
86
- {
87
- "uid": "22aa-75",
88
- "name": "sortTypes.ts"
89
- },
90
- {
91
- "uid": "22aa-81",
92
- "name": "core.tsx"
93
- },
94
- {
95
- "uid": "22aa-83",
96
- "name": "createTable.tsx"
97
- },
98
- {
99
- "uid": "22aa-85",
100
- "name": "index.tsx"
101
- }
102
- ]
10
+ "uid": "ff18-113",
11
+ "name": "\u0000rollupPluginBabelHelpers.js"
103
12
  },
104
13
  {
105
- "uid": "22aa-51",
106
- "name": "\u0000rollupPluginBabelHelpers.js"
14
+ "name": "packages/react-table/src/index.tsx",
15
+ "uid": "ff18-115"
107
16
  }
108
17
  ]
109
18
  }
@@ -111,582 +20,69 @@
111
20
  "isRoot": true
112
21
  },
113
22
  "nodeParts": {
114
- "22aa-45": {
115
- "renderedLength": 3156,
116
- "gzipLength": 860,
117
- "brotliLength": 0,
118
- "mainUid": "22aa-44"
119
- },
120
- "22aa-47": {
121
- "renderedLength": 2523,
122
- "gzipLength": 714,
123
- "brotliLength": 0,
124
- "mainUid": "22aa-46"
125
- },
126
- "22aa-49": {
127
- "renderedLength": 2416,
128
- "gzipLength": 811,
129
- "brotliLength": 0,
130
- "mainUid": "22aa-48"
131
- },
132
- "22aa-51": {
133
- "renderedLength": 2695,
134
- "gzipLength": 1065,
135
- "brotliLength": 0,
136
- "mainUid": "22aa-50"
137
- },
138
- "22aa-53": {
139
- "renderedLength": 3913,
140
- "gzipLength": 1413,
141
- "brotliLength": 0,
142
- "mainUid": "22aa-52"
143
- },
144
- "22aa-55": {
145
- "renderedLength": 4797,
146
- "gzipLength": 1351,
147
- "brotliLength": 0,
148
- "mainUid": "22aa-54"
149
- },
150
- "22aa-57": {
151
- "renderedLength": 631,
152
- "gzipLength": 278,
153
- "brotliLength": 0,
154
- "mainUid": "22aa-56"
155
- },
156
- "22aa-59": {
157
- "renderedLength": 5559,
158
- "gzipLength": 1139,
159
- "brotliLength": 0,
160
- "mainUid": "22aa-58"
161
- },
162
- "22aa-61": {
163
- "renderedLength": 2520,
164
- "gzipLength": 755,
165
- "brotliLength": 0,
166
- "mainUid": "22aa-60"
167
- },
168
- "22aa-63": {
169
- "renderedLength": 7455,
170
- "gzipLength": 1615,
171
- "brotliLength": 0,
172
- "mainUid": "22aa-62"
173
- },
174
- "22aa-65": {
175
- "renderedLength": 2381,
176
- "gzipLength": 745,
177
- "brotliLength": 0,
178
- "mainUid": "22aa-64"
179
- },
180
- "22aa-67": {
181
- "renderedLength": 5325,
182
- "gzipLength": 1040,
183
- "brotliLength": 0,
184
- "mainUid": "22aa-66"
185
- },
186
- "22aa-69": {
187
- "renderedLength": 17919,
188
- "gzipLength": 2898,
189
- "brotliLength": 0,
190
- "mainUid": "22aa-68"
191
- },
192
- "22aa-71": {
193
- "renderedLength": 4437,
194
- "gzipLength": 786,
195
- "brotliLength": 0,
196
- "mainUid": "22aa-70"
197
- },
198
- "22aa-73": {
199
- "renderedLength": 15814,
200
- "gzipLength": 2768,
201
- "brotliLength": 0,
202
- "mainUid": "22aa-72"
203
- },
204
- "22aa-75": {
205
- "renderedLength": 2752,
206
- "gzipLength": 846,
207
- "brotliLength": 0,
208
- "mainUid": "22aa-74"
209
- },
210
- "22aa-77": {
211
- "renderedLength": 9830,
212
- "gzipLength": 2116,
213
- "brotliLength": 0,
214
- "mainUid": "22aa-76"
215
- },
216
- "22aa-79": {
217
- "renderedLength": 7502,
218
- "gzipLength": 1624,
219
- "brotliLength": 0,
220
- "mainUid": "22aa-78"
221
- },
222
- "22aa-81": {
223
- "renderedLength": 15063,
224
- "gzipLength": 3151,
225
- "brotliLength": 0,
226
- "mainUid": "22aa-80"
227
- },
228
- "22aa-83": {
229
- "renderedLength": 1694,
230
- "gzipLength": 487,
23
+ "ff18-113": {
24
+ "renderedLength": 410,
25
+ "gzipLength": 231,
231
26
  "brotliLength": 0,
232
- "mainUid": "22aa-82"
27
+ "mainUid": "ff18-112"
233
28
  },
234
- "22aa-85": {
235
- "renderedLength": 0,
236
- "gzipLength": 0,
29
+ "ff18-115": {
30
+ "renderedLength": 1429,
31
+ "gzipLength": 565,
237
32
  "brotliLength": 0,
238
- "mainUid": "22aa-84"
33
+ "mainUid": "ff18-114"
239
34
  }
240
35
  },
241
36
  "nodeMetas": {
242
- "22aa-44": {
243
- "id": "/packages/react-table/src/utils/columnFilterRowsFn.ts",
244
- "moduleParts": {
245
- "index.production.js": "22aa-45"
246
- },
247
- "imported": [],
248
- "importedBy": [
249
- {
250
- "uid": "22aa-84"
251
- }
252
- ]
253
- },
254
- "22aa-46": {
255
- "id": "/packages/react-table/src/utils/globalFilterRowsFn.ts",
256
- "moduleParts": {
257
- "index.production.js": "22aa-47"
258
- },
259
- "imported": [],
260
- "importedBy": [
261
- {
262
- "uid": "22aa-84"
263
- }
264
- ]
265
- },
266
- "22aa-48": {
267
- "id": "/packages/react-table/src/utils/sortRowsFn.ts",
268
- "moduleParts": {
269
- "index.production.js": "22aa-49"
270
- },
271
- "imported": [],
272
- "importedBy": [
273
- {
274
- "uid": "22aa-84"
275
- }
276
- ]
277
- },
278
- "22aa-50": {
37
+ "ff18-112": {
279
38
  "id": "\u0000rollupPluginBabelHelpers.js",
280
39
  "moduleParts": {
281
- "index.production.js": "22aa-51"
282
- },
283
- "imported": [],
284
- "importedBy": [
285
- {
286
- "uid": "22aa-82"
287
- },
288
- {
289
- "uid": "22aa-52"
290
- },
291
- {
292
- "uid": "22aa-80"
293
- },
294
- {
295
- "uid": "22aa-58"
296
- },
297
- {
298
- "uid": "22aa-76"
299
- },
300
- {
301
- "uid": "22aa-78"
302
- },
303
- {
304
- "uid": "22aa-60"
305
- }
306
- ]
307
- },
308
- "22aa-52": {
309
- "id": "/packages/react-table/src/utils.tsx",
310
- "moduleParts": {
311
- "index.production.js": "22aa-53"
312
- },
313
- "imported": [
314
- {
315
- "uid": "22aa-50"
316
- },
317
- {
318
- "uid": "22aa-87"
319
- }
320
- ],
321
- "importedBy": [
322
- {
323
- "uid": "22aa-54"
324
- },
325
- {
326
- "uid": "22aa-80"
327
- },
328
- {
329
- "uid": "22aa-58"
330
- },
331
- {
332
- "uid": "22aa-64"
333
- },
334
- {
335
- "uid": "22aa-66"
336
- },
337
- {
338
- "uid": "22aa-68"
339
- },
340
- {
341
- "uid": "22aa-72"
342
- },
343
- {
344
- "uid": "22aa-76"
345
- },
346
- {
347
- "uid": "22aa-62"
348
- },
349
- {
350
- "uid": "22aa-78"
351
- }
352
- ]
353
- },
354
- "22aa-54": {
355
- "id": "/packages/react-table/src/utils/groupRowsFn.ts",
356
- "moduleParts": {
357
- "index.production.js": "22aa-55"
358
- },
359
- "imported": [
360
- {
361
- "uid": "22aa-52"
362
- }
363
- ],
364
- "importedBy": [
365
- {
366
- "uid": "22aa-84"
367
- }
368
- ]
369
- },
370
- "22aa-56": {
371
- "id": "/packages/react-table/src/utils/expandRowsFn.ts",
372
- "moduleParts": {
373
- "index.production.js": "22aa-57"
374
- },
375
- "imported": [],
376
- "importedBy": [
377
- {
378
- "uid": "22aa-84"
379
- }
380
- ]
381
- },
382
- "22aa-58": {
383
- "id": "/packages/react-table/src/features/Visibility.ts",
384
- "moduleParts": {
385
- "index.production.js": "22aa-59"
386
- },
387
- "imported": [
388
- {
389
- "uid": "22aa-50"
390
- },
391
- {
392
- "uid": "22aa-52"
393
- }
394
- ],
395
- "importedBy": [
396
- {
397
- "uid": "22aa-80"
398
- }
399
- ]
400
- },
401
- "22aa-60": {
402
- "id": "/packages/react-table/src/aggregationTypes.ts",
403
- "moduleParts": {
404
- "index.production.js": "22aa-61"
405
- },
406
- "imported": [
407
- {
408
- "uid": "22aa-50"
409
- }
410
- ],
411
- "importedBy": [
412
- {
413
- "uid": "22aa-62"
414
- }
415
- ]
416
- },
417
- "22aa-62": {
418
- "id": "/packages/react-table/src/features/Grouping.ts",
419
- "moduleParts": {
420
- "index.production.js": "22aa-63"
421
- },
422
- "imported": [
423
- {
424
- "uid": "22aa-60"
425
- },
426
- {
427
- "uid": "22aa-52"
428
- }
429
- ],
430
- "importedBy": [
431
- {
432
- "uid": "22aa-80"
433
- },
434
- {
435
- "uid": "22aa-64"
436
- }
437
- ]
438
- },
439
- "22aa-64": {
440
- "id": "/packages/react-table/src/features/Ordering.ts",
441
- "moduleParts": {
442
- "index.production.js": "22aa-65"
443
- },
444
- "imported": [
445
- {
446
- "uid": "22aa-52"
447
- },
448
- {
449
- "uid": "22aa-62"
450
- }
451
- ],
452
- "importedBy": [
453
- {
454
- "uid": "22aa-80"
455
- }
456
- ]
457
- },
458
- "22aa-66": {
459
- "id": "/packages/react-table/src/features/Pinning.ts",
460
- "moduleParts": {
461
- "index.production.js": "22aa-67"
462
- },
463
- "imported": [
464
- {
465
- "uid": "22aa-52"
466
- }
467
- ],
468
- "importedBy": [
469
- {
470
- "uid": "22aa-80"
471
- }
472
- ]
473
- },
474
- "22aa-68": {
475
- "id": "/packages/react-table/src/features/Headers.ts",
476
- "moduleParts": {
477
- "index.production.js": "22aa-69"
478
- },
479
- "imported": [
480
- {
481
- "uid": "22aa-52"
482
- }
483
- ],
484
- "importedBy": [
485
- {
486
- "uid": "22aa-80"
487
- }
488
- ]
489
- },
490
- "22aa-70": {
491
- "id": "/packages/react-table/src/filterTypes.ts",
492
- "moduleParts": {
493
- "index.production.js": "22aa-71"
40
+ "index.production.js": "ff18-113"
494
41
  },
495
42
  "imported": [],
496
43
  "importedBy": [
497
44
  {
498
- "uid": "22aa-72"
499
- }
500
- ]
501
- },
502
- "22aa-72": {
503
- "id": "/packages/react-table/src/features/Filters.ts",
504
- "moduleParts": {
505
- "index.production.js": "22aa-73"
506
- },
507
- "imported": [
508
- {
509
- "uid": "22aa-70"
510
- },
511
- {
512
- "uid": "22aa-52"
513
- }
514
- ],
515
- "importedBy": [
516
- {
517
- "uid": "22aa-80"
518
- }
519
- ]
520
- },
521
- "22aa-74": {
522
- "id": "/packages/react-table/src/sortTypes.ts",
523
- "moduleParts": {
524
- "index.production.js": "22aa-75"
525
- },
526
- "imported": [],
527
- "importedBy": [
528
- {
529
- "uid": "22aa-76"
530
- }
531
- ]
532
- },
533
- "22aa-76": {
534
- "id": "/packages/react-table/src/features/Sorting.ts",
535
- "moduleParts": {
536
- "index.production.js": "22aa-77"
537
- },
538
- "imported": [
539
- {
540
- "uid": "22aa-50"
541
- },
542
- {
543
- "uid": "22aa-74"
544
- },
545
- {
546
- "uid": "22aa-52"
547
- }
548
- ],
549
- "importedBy": [
550
- {
551
- "uid": "22aa-80"
552
- }
553
- ]
554
- },
555
- "22aa-78": {
556
- "id": "/packages/react-table/src/features/Expanding.ts",
557
- "moduleParts": {
558
- "index.production.js": "22aa-79"
559
- },
560
- "imported": [
561
- {
562
- "uid": "22aa-50"
563
- },
564
- {
565
- "uid": "22aa-52"
566
- }
567
- ],
568
- "importedBy": [
569
- {
570
- "uid": "22aa-80"
45
+ "uid": "ff18-114"
571
46
  }
572
47
  ]
573
48
  },
574
- "22aa-80": {
575
- "id": "/packages/react-table/src/core.tsx",
576
- "moduleParts": {
577
- "index.production.js": "22aa-81"
578
- },
579
- "imported": [
580
- {
581
- "uid": "22aa-50"
582
- },
583
- {
584
- "uid": "22aa-52"
585
- },
586
- {
587
- "uid": "22aa-58"
588
- },
589
- {
590
- "uid": "22aa-64"
591
- },
592
- {
593
- "uid": "22aa-66"
594
- },
595
- {
596
- "uid": "22aa-68"
597
- },
598
- {
599
- "uid": "22aa-72"
600
- },
601
- {
602
- "uid": "22aa-76"
603
- },
604
- {
605
- "uid": "22aa-62"
606
- },
607
- {
608
- "uid": "22aa-78"
609
- }
610
- ],
611
- "importedBy": [
612
- {
613
- "uid": "22aa-82"
614
- }
615
- ]
616
- },
617
- "22aa-82": {
618
- "id": "/packages/react-table/src/createTable.tsx",
619
- "moduleParts": {
620
- "index.production.js": "22aa-83"
621
- },
622
- "imported": [
623
- {
624
- "uid": "22aa-50"
625
- },
626
- {
627
- "uid": "22aa-87"
628
- },
629
- {
630
- "uid": "22aa-80"
631
- }
632
- ],
633
- "importedBy": [
634
- {
635
- "uid": "22aa-84"
636
- }
637
- ]
638
- },
639
- "22aa-84": {
49
+ "ff18-114": {
640
50
  "id": "/packages/react-table/src/index.tsx",
641
51
  "moduleParts": {
642
- "index.production.js": "22aa-85"
52
+ "index.production.js": "ff18-115"
643
53
  },
644
54
  "imported": [
645
55
  {
646
- "uid": "22aa-86"
647
- },
648
- {
649
- "uid": "22aa-44"
650
- },
651
- {
652
- "uid": "22aa-46"
653
- },
654
- {
655
- "uid": "22aa-48"
56
+ "uid": "ff18-112"
656
57
  },
657
58
  {
658
- "uid": "22aa-54"
59
+ "uid": "ff18-116"
659
60
  },
660
61
  {
661
- "uid": "22aa-56"
662
- },
663
- {
664
- "uid": "22aa-82"
62
+ "uid": "ff18-117"
665
63
  }
666
64
  ],
667
65
  "importedBy": [],
668
66
  "isEntry": true
669
67
  },
670
- "22aa-86": {
671
- "id": "/packages/react-table/src/types.ts",
68
+ "ff18-116": {
69
+ "id": "react",
672
70
  "moduleParts": {},
673
71
  "imported": [],
674
72
  "importedBy": [
675
73
  {
676
- "uid": "22aa-84"
74
+ "uid": "ff18-114"
677
75
  }
678
- ]
76
+ ],
77
+ "isExternal": true
679
78
  },
680
- "22aa-87": {
681
- "id": "react",
79
+ "ff18-117": {
80
+ "id": "@tanstack/table-core",
682
81
  "moduleParts": {},
683
82
  "imported": [],
684
83
  "importedBy": [
685
84
  {
686
- "uid": "22aa-82"
687
- },
688
- {
689
- "uid": "22aa-52"
85
+ "uid": "ff18-114"
690
86
  }
691
87
  ],
692
88
  "isExternal": true