Repository navigation
Endfield Vision 2.2.5
Video previews and a player, plus a width for form controls. Everything is backward compatible.
New
- Video in
Thumbnail.kind="video"shows a muted first frame cropped toaspect, with a Video badge and a play mark on top, plus the usual loading and error states.badge={null}oroverlay={null}removes the defaults. VideoPlayer. Native controls, full container width, height capped at 72vh (maxHeight), a URL or a blob URL as the source, and a placeholder if the video can't play.- Video in
LightboxandThumbnailGrid. An item withkind: 'video'opens in the player. Arrow keys and swipes inside the player control the video instead of switching items. - Control width.
widthonInput,NumberInput,MoneyInput,SearchInput,SelectandMultiSelect:xs | sm | md | lg(new--ev-control-w-*tokens for a short number, an amount, a date and text), a number in px or a CSS length. The field never gets wider than its container; withoutwidthit still spans the full width.controlWidthStyleis available on its own.
Install
npm install endfield-vision@2.2.5The same build is attached to this release as an archive for installs without the registry.
По-русски
Видео: у Thumbnail - kind="video" (немой первый кадр, значок «Видео», знак воспроизведения, загрузка и ошибка), новый VideoPlayer (родные элементы управления, ширина по контейнеру, высота до 72vh, адрес или blob URL), видео в Lightbox и ThumbnailGrid открывается в плеере. Ширина контролов: width у Input, NumberInput, MoneyInput, SearchInput, Select и MultiSelect - xs | sm | md | lg (токены --ev-control-w-*), px или CSS-длина. Все изменения обратно совместимы.