Releases: readium/ts-toolkit
Releases · readium/ts-toolkit
Shared Models 2.1.2
What's Changed
Full Changelog: navigator/2.2.5...shared/2.1.2
Global 2.1.1
Shared
Fixed
- Replaced
instanceofchecks withArray.isArrayandtypeof === 'object'to ensure compatibility with theiframecontext. (#159) - Removed
postinstallscript generating locale files as it was failing when installed as a dependency (#160).
Navigator HTML Injectables
Changed
- Updated shared models (#159) as some checks were not working properly in the
iframecontext.
Navigator
Changed
- Updated shared models (#159) as some checks were not working properly in the
iframecontext.
Removed
- Removed
appearanceproperty fromUserPropertiesandReadiumCSS,Themeenum andthemeproperty from the Preferences API, since ReadiumCSS is no longer providing reading modes (night, sepia) as ofv2.0.0-beta.19.
Navigator 2.2.5
Added
- More defenses to iframes in EpubNavigator
- Support for ReadiumCSS experimental flags in Preferences API (#176)
Changed
- Updated ReadiumCSS to
v2.0.0-beta.24
Navigator 2.2.4
Added
- Added the handling of iOS and iPadOS patches to the WebPub Preferences API
Changed
- Updated ReadiumCSS to
v2.0.0-beta.22 - Switched experimental WebPublication Navigator Preferences to ReadiumCSS
- Updated ligatures handling in EpubPreferencesEditor to match ReadiumCSS
Navigator 2.2.3
Fixed
- Implements fix from ReadiumCSS where text normalization would override the font weight set through the Preferences API
Changed
- Updates ReadiumCSS with some slight improvement for text alignment
Navigator 2.2.2
Added
- Guard
WebPubSettingsassignment ondisplayTransformability
Navigator 2.2.1
Added
- Implemented Preferences API for WebPublication Navigator
Navigator 2.2.0
Added
- Experimental WebPublication Navigator
Navigator HTML Injectables 2.2.2
Added
Decoratornow applies a contrasting color for highlighted text, based on thetintand thebackground-colorof the document element. (#173)Decoratornow observes mutation events on the document element to update the contrasting color andmix-blend-modeof the fallback implementation. (#173)
Changed
- To be consistent with the other injectables,
Decoratorrects are now using classNamereadium-highlightinstead ofr2-highlight-0, and adata-readiumattribute set totrue.
Fixed
- Fixed check of selection range that cannot use the Highlight API. Previously, the check was catching ranges for which the ancestor contained an incompatible element e.g.
img. It now makes sure this element is in the actual range. (#170)
Navigator HTML Injectables 2.2.1
Added
- Implemented Preferences API for WebPublication Navigator