Skip to content

Endfield Vision 2.2.11

Choose a tag to compare

@bYpaws bYpaws released this 30 Oct 14:25
· 4 commits to main since this release

A new chart for shares of a total and a sticky header fix. Everything is backward compatible.

New

  • SplitBars. One horizontal 100% bar per row, split into segments by share of the row total: how a price was split, what a cost is made of. Series are shared across rows (same key, same color and label; colors match BarChart and DonutChart). Zero and negative values are not drawn and not counted.
    • Row label above the bar with an aside on the right; showValues (or renderValues) under the bar; a shared legend whose items take a hint.
    • Hover, or the arrow keys on a focused bar, highlight a segment and show its series, value (format) and share.
    • Each bar is role="img" with the shares in its label; a row with no values shows rowEmpty text instead of the bar.
    • size (sm / md), rounded ends, 2 px gaps, the entrance animation from MotionProvider.
    • splitSegments is exported for custom layouts.

Fixed

  • DataTable stickyHeader and nested tables. The page-sticky shift now applies only to the table's own header: tables inside expanded rows (renderExpanded) no longer move with it.

Install

npm install endfield-vision@2.2.11

The same build is attached to this release as an archive for installs without the registry.


По-русски

Новый график SplitBars: по строке - горизонтальная полоса 100%, разделённая на доли серий (подпись и итог над полосой, значения под ней, легенда с пояснениями, подсказка по наведению и стрелкам, пустая строка - текстом). Исправлено: липкая шапка DataTable больше не сдвигает шапки вложенных таблиц в раскрытых строках. Все изменения обратно совместимы.