Changes:
- Refactored entity difference calculation;
- Refactored entity conversion to DOM elements;
- Refactored line creation and entities association;
Bug fix:
- Fixed Issue #11;
Changes:
- 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;
- First version released