Skip to content

Endfield Vision 2.2.7

Choose a tag to compare

@bYpaws bYpaws released this 29 Oct 07:05
· 9 commits to main since this release

A frameless segmented control, clearer scrolling for segments and tabs, and two layout fixes. Everything is backward compatible.

New

  • SegmentedControl variant="plain". No frame or background; the selected segment is a tinted chip like Tabs variant="pill". Still a radiogroup with arrow keys, same heights as other controls.
  • Scrolling that looks like scrolling. When segments don't fit, the edge with hidden ones fades out and shows an arrow; one click brings the next segment fully into view. The area right under the arrow is fully clear, the fade starts past it. Tabs use the same module, so their arrows now also step to the next tab.
  • Mouse wheel. Over an overflowing SegmentedControl or tab strip, the wheel scrolls the strip instead of the page; at the edge the page scrolls again.
  • ThumbnailGrid fill="auto-fit". Empty columns collapse, so a few tiles share the whole width.
  • --ev-statusbar-h on :root. Plus --ev-shell-statusbar-h inside AppShell: the status bar height, or 0 without one, for calc(100dvh - ...) in page layouts.

Install

npm install endfield-vision@2.2.7

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


По-русски

SegmentedControl variant="plain" - без рамки, выбранный сегмент тонированной плашкой, как у вкладок-плашек. Не влезшие сегменты и вкладки прокручиваются заметно: затухающий край, стрелка до следующего элемента, колёсико мыши крутит ленту, у края - снова страницу. ThumbnailGrid fill="auto-fit" - несколько плиток на всю ширину. Токен --ev-statusbar-h на :root и --ev-shell-statusbar-h в каркасе. Все изменения обратно совместимы.