What's Changed
- Changed fallback values for
getOrigin
invokation to be percentages strings; - Added fallbacks for
getOrigin
'soriginX
andoriginY
to be percentages if no unit is specified; - Changed region
height
to respect the adapter region implementation will with the newheight
property in the Region protocol, when available, and to fallback to thelines
property; - Added new Renderer boolean property
roundRegionHeightLineFit
to letcaptions-renderer
to slightly override the adapterheight
property, in order to show the next full line, if cut; - Added new css style variable --sub37-region-area-bg-color, to change color to the area covered by
height
. It defaults totransparent
; - Typescript: exported type
CaptionsRenderer
to reference the component; - Tests: Improved tests structure through fixture;
Full Changelog: https://github.com/alexandercerutti/sub37/compare/@sub37/[email protected]...@sub37/[email protected]