Skip to content

Releases: readium/ts-toolkit

Shared Models 2.1.2

18 Dec 13:25
d14754a

Choose a tag to compare

What's Changed

Full Changelog: navigator/2.2.5...shared/2.1.2

Global 2.1.1

09 Dec 11:33
21c3240

Choose a tag to compare

Shared

Fixed

  • Replaced instanceof checks with Array.isArray and typeof === 'object' to ensure compatibility with the iframe context. (#159)
  • Removed postinstall script 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 iframe context.

Navigator

Changed

  • Updated shared models (#159) as some checks were not working properly in the iframe context.

Removed

  • Removed appearance property from UserProperties and ReadiumCSS, Theme enum and theme property from the Preferences API, since ReadiumCSS is no longer providing reading modes (night, sepia) as of v2.0.0-beta.19.

Navigator 2.2.5

09 Dec 11:42

Choose a tag to compare

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

09 Dec 11:40
f71acd4

Choose a tag to compare

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

09 Dec 11:39
e34b47d

Choose a tag to compare

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

09 Dec 11:39
377b386

Choose a tag to compare

Added

  • Guard WebPubSettings assignment on displayTransformability

Navigator 2.2.1

09 Dec 11:37
87fdae3

Choose a tag to compare

Added

  • Implemented Preferences API for WebPublication Navigator

Navigator 2.2.0

09 Dec 11:34
9f3d844

Choose a tag to compare

Added

  • Experimental WebPublication Navigator

Navigator HTML Injectables 2.2.2

09 Dec 11:42

Choose a tag to compare

Added

  • Decorator now applies a contrasting color for highlighted text, based on the tint and the background-color of the document element. (#173)
  • Decorator now observes mutation events on the document element to update the contrasting color and mix-blend-mode of the fallback implementation. (#173)

Changed

  • To be consistent with the other injectables, Decorator rects are now using className readium-highlight instead of r2-highlight-0, and a data-readium attribute set to true.

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

09 Dec 11:38
87fdae3

Choose a tag to compare

Added

  • Implemented Preferences API for WebPublication Navigator