Releases: hypothesis/client
Releases · hypothesis/client
v1.1612.0
Style shape highlights with CSS Move the styling of shape highlights from inline styles set in JS to CSS. This makes them consistent with text highlights and also enables shape highlight visibility to reflect the global highlights-visible status. Shape highlights use a different class than regular highlights because they have different colors and other attributes. Fixes https://github.com/hypothesis/client/issues/6971
v1.1611.0
Style shape highlights with CSS Move the styling of shape highlights from inline styles set in JS to CSS. This makes them consistent with text highlights and also enables shape highlight visibility to reflect the global highlights-visible status. Shape highlights use a different class than regular highlights because they have different colors and other attributes. Fixes https://github.com/hypothesis/client/issues/6971
v1.1610.0
Style shape highlights with CSS Move the styling of shape highlights from inline styles set in JS to CSS. This makes them consistent with text highlights and also enables shape highlight visibility to reflect the global highlights-visible status. Shape highlights use a different class than regular highlights because they have different colors and other attributes. Fixes https://github.com/hypothesis/client/issues/6971
v1.1609.0
v1.1608.0
v1.1607.0
Implement anchoring and highlighting of shapes in PDFs - Change `anchor` method of integrations to support resolving selectors to DOM ranges or "anchored shapes". An anchored shape is a combination of an anchor element, such as the container for a PDF page, and a shape whose coordinates are relative to the anchor. - Expose `PDFPageView.view` property in PDF.js types - Implement anchoring of rect and point shape selectors in PDFs - Implement initial creation of highlight elements for shapes - In `Guest`, anchor newly created annotations with shape regions in order to draw highlights.
v1.1606.0
Show mention suggestions only when editing a mention
v1.1605.0
Remove unused `root` parameter from PDF anchoring functions This is a vestige from when the HTML and PDF anchoring modules were required to have the same interface. The common interface is now implemented by `PDFIntegration` which uses functions in the PDF anchoring module.
v1.1604.0
Generate shape selectors for rect and point annotations in PDFs After drawing a rectangle or selecting a point using the new rect/point annotation tools, map the coordinates of the shape to PDF user space coordinates, in the page containing the top-left corner of the shape, and save them as a new "ShapeSelector" selector in the annotation payload. Anchoring of this selector is not yet implemented, so the annotation will become an orphan after the page is reloaded. - Extend the `describe` operation of integrations to take a _region_ rather than _range_ argument. A _region_ is either a DOM range or a shape. - Add a new `ShapeSelector` selector type which represents a 2D region of a document. For paged media the coordinates are relative to the selected page. - Support describing (ie. serializing) shapes in the PDF integration - Throw exceptions in the HTML and VitalSource integrations if passed a shape, since that is not yet supported.
v1.1603.0
Do not try to match usernames when mathing display-name mentions