Repository navigation
v0.3.15
0.3.15 (2025-12-24)
⭐ New Features
added no-truncate tailwind util to remove truncate easily (4cc275b)
table: added virtualization to table (22164ad)
This involves some minor breaking changes. Note virtualization is NOT enabled by
default.
-
(breaking) The table is now wrapped in two divs. The class attribute is still
forwarded to the table, but now wrapperClass can be used to forward classes to
the root wrapper div. This was required to make virtualization work.
.resizable-cols-setup is now also added to the wrapper. -
If using slots with virtualization be sure to read the docs for the
virtualizerOptions and update the props passed to your slot element. -
(breaking) cells are now styled as truncate by default to avoid issues with
virtualization. -
Improved performance not just via virtualization: Classes are now all
pre-computed including style merges, instead of inline in the template. -
Added stories to testvirtualization.
-
Added has-scrollbar-* classes so we can style overflowed states better
-
This required several tricks to get working with sticky headers and fit width
false and resize in general. Read docs carefully.
table: added onSetup/Teardown callbacks to vResizableCols (a0e411e)
table: added sticky header option to Table (014987a)
🐛 Fixes
table: fixed last column not being draggable when fitWidth is false (770be78)
table: fixed "el went missing" error when disabling/enabling (c3ec9a1)
table: fixed incorrectly named header cells (td => th) (d2d4367)
- technically breaking since it's been wrong for so long
📖 Documentation
table: fixed missing style prop and incorrect classes in story for table with initial sizing (d3616e2)
The style prop always needs to be passed as it determines the real size after
the initial setup. While the story appeared to work, in more complex real life
scenarios it fails.
Setup only classes also need to be correctly prefixed so as to not affect
post-setup styles.