Skip to content

@sub37/captions-renderer@1.1.0

Latest
Compare
Choose a tag to compare

What's Changed

  • Changed fallback values for getOrigin invokation to be percentages strings;
  • Added fallbacks for getOrigin's originX and originY to be percentages if no unit is specified;
  • Changed region height to respect the adapter region implementation will with the new height property in the Region protocol, when available, and to fallback to the lines property;
  • Added new Renderer boolean property roundRegionHeightLineFit to let captions-renderer to slightly override the adapter height 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 to transparent;
  • Typescript: exported type CaptionsRenderer to reference the component;
  • Tests: Improved tests structure through fixture;

Full Changelog: https://github.com/alexandercerutti/sub37/compare/@sub37/captions-renderer@v1.0.1...@sub37/captions-renderer@1.1.0