Repository navigation
Commit 5b9b26b
committed
feat(Table): useTableColumnsVirtualization windows the unpinned columns
Table.virtualization accepts a columns capability, alone or in a list with
at most one rows capability. Table mounts only the unpinned columns near the
inline viewport, plus two overscan columns per side, and keeps the pinned
start and end runs mounted. Each column's pitch is the width it renders at
the table's minimum width. The header row and every body row render the same
inaccessible spacer cells for unmounted columns. While columns window, the
table carries aria-colcount and mounted cells carry full-table aria-colindex.
The server and first client use the same seed from initialViewportWidth.
Inline geometry comes from the shared Table viewport measurement.
Unsupported content or structure renders every column with a development
warning. With both capabilities, this slice windows the rows and renders
every column. The retained focused column, the first-visible-column anchor
and windowing both axes together come in later slices.
This diff was generated with AI assistance (Navi).
Tags: ai-generated1 parent f4c490b commit 5b9b26b
18 files changed
Lines changed: 1449 additions & 53 deletions
File tree
- .changeset
- apps/storybook/stories
- packages/core
- src
- Table
- __tests__
- plugins
- stickyColumns
- virtualization
- utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
| 10 | + | |
| 11 | + | |
8 | 12 | | |
9 | 13 | | |
10 | 14 | | |
| |||
65 | 69 | | |
66 | 70 | | |
67 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments