- 21 Mar, 2022 7 commits
-
-
dependabot[bot] authored
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.2 to 10.4.4. - [Release notes](https://github.com/postcss/autoprefixer/releases) - [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/autoprefixer/compare/10.4.2...10.4.4) --- updated-dependencies: - dependency-name: autoprefixer dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [@sentry/cli](https://github.com/getsentry/sentry-cli) from 1.73.2 to 1.74.2. - [Release notes](https://github.com/getsentry/sentry-cli/releases) - [Changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-cli/compare/1.73.2...1.74.2) --- updated-dependencies: - dependency-name: "@sentry/cli" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.8 to 8.4.12. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/postcss/compare/8.4.8...8.4.12) --- updated-dependencies: - dependency-name: postcss dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.17.5 to 7.17.8. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.17.8/packages/babel-core) --- updated-dependencies: - dependency-name: "@babel/core" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [commander](https://github.com/tj/commander.js) from 9.0.0 to 9.1.0. - [Release notes](https://github.com/tj/commander.js/releases) - [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/tj/commander.js/compare/v9.0.0...v9.1.0) --- updated-dependencies: - dependency-name: commander dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [prettier](https://github.com/prettier/prettier) from 2.5.1 to 2.6.0. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/2.5.1...2.6.0) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.1092.0 to 2.1096.0. - [Release notes](https://github.com/aws/aws-sdk-js/releases) - [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js/compare/v2.1092.0...v2.1096.0) --- updated-dependencies: - dependency-name: aws-sdk dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
-
- 17 Mar, 2022 12 commits
-
-
Robert Knight authored
-
Robert Knight authored
-
Robert Knight authored
-
Robert Knight authored
-
Robert Knight authored
-
Robert Knight authored
-
Robert Knight authored
-
Robert Knight authored
-
Robert Knight authored
-
Robert Knight authored
-
Robert Knight authored
-
Lyza Danger Gardner authored
Prevent body from jumping right in cases where `margin: auto` is set on the body. Body may move left to make room for sidebar, but should never move to the right. Fixes #4280
-
- 15 Mar, 2022 15 commits
-
-
Robert Knight authored
Revert the mousedown propagation change from e70287cf. In order to prevent VitalSource's own text selection highlight from appearing, it is necessary to stop propagation of both mouseup and mousedown events.
-
Robert Knight authored
In the context of our LMS app, this banner is displayed inside a nested iframe, so it is important to open the link in a new tab.
-
Robert Knight authored
-
Robert Knight authored
Use the term `charBoxes` consistently within the file and to avoid confusion with the `text` parameter.
-
Robert Knight authored
The name was out of place in this module and it was unused.
-
Robert Knight authored
-
Robert Knight authored
Previously the text layer in VitalSource PDFs consisted of a set of absolutely positioned elements, one per word. When the user was making a text selection and the cursor was between words, the browser could not determine an appropriate caret position in the text. As a result text selection was tricky. Improve this by re-implementing ImageTextLayer to produce a more structured DOM tree. Group the characters into words, lines and columns. Words are laid out using inline layout into `<hypothesis-text-line>` elements, which are then arranged using block layouts into `<hypothesis-text-column>` elements. Columns are absolutely positioned. Within lines and columns the gaps between words and lines are fine-tuned using margins. This use of inline and block layouts allows the browser to set the selection correctly when the cursor is between words or lines. The visual gap between selected words has also been eliminated by adding inter-word spaces to the previous word. - Separate page layout analysis from DOM construction. This makes these elements easier to understand and improve. - Change DOM structure generated by `ImageTextLayer` to a hierarchical structure of words, lines and columns. - Change ImageTextLayer to use DOMRect and DOMPoint as the types for rect and point structs. This allows sharing of geometry utilities with other code. - Simplify rescaling of text layer when image size changes by expressing all margins, sizes and scales in the text layer in terms of CSS variables (`--x-scale` and `--y-scale`) defined on the root `<hypothesis-text-layer>` element. When the image is resized, these variables are simply updated to reflect the new image size.
-
Lyza Danger Gardner authored
-
Robert Knight authored
Add a test page at http://localhost:3000/pdf/jstor that shows the JSTOR content banner.
-
Robert Knight authored
Add the ability to specify custom configuration for a PDF test case by putting the configuration in a `<basename>.config.json` file alongside the PDF, where `<basename>` is the name of the PDF file minus the '.pdf' extension.
-
Robert Knight authored
Add an option that enables the embedder to configure a content provider/partner banner to be shown in the client, indicating who is providing the content.
-
Robert Knight authored
-
Lyza Danger Gardner authored
-
Robert Knight authored
Add an option to show a banner at the top of the PDF viewer indicating where the content came from. This is a contractual requirement for working with certain content providers.
-
Robert Knight authored
Listen for mouseup/mousedown events on the document body rather than document itself, so that we can still capture them if an event listener on `document.body` or `document.documentElement` stops propagation of the event. The VitalSource integration does this for example to prevent VitalSource's own selection UI appearing, but ordinary web pages could do something similar. In VitalSource books, this change makes the adder behave the same as it does in HTML and PDF documents where, when making a selection with the mouse, the adder only appears when the mouse is released so it doesn't get in the way during the selection. While updating the tests for this change, they were converted to use a real document, as the complexity of mocking the relevant parts of the DOM document interface accurately is now too high.
-
- 14 Mar, 2022 6 commits
-
-
dependabot[bot] authored
Bumps [katex](https://github.com/KaTeX/KaTeX) from 0.15.2 to 0.15.3. - [Release notes](https://github.com/KaTeX/KaTeX/releases) - [Changelog](https://github.com/KaTeX/KaTeX/blob/main/CHANGELOG.md) - [Commits](https://github.com/KaTeX/KaTeX/compare/v0.15.2...v0.15.3) --- updated-dependencies: - dependency-name: katex dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [karma-chrome-launcher](https://github.com/karma-runner/karma-chrome-launcher) from 3.1.0 to 3.1.1. - [Release notes](https://github.com/karma-runner/karma-chrome-launcher/releases) - [Changelog](https://github.com/karma-runner/karma-chrome-launcher/blob/master/CHANGELOG.md) - [Commits](https://github.com/karma-runner/karma-chrome-launcher/compare/v3.1.0...v3.1.1) --- updated-dependencies: - dependency-name: karma-chrome-launcher dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [eslint](https://github.com/eslint/eslint) from 8.10.0 to 8.11.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v8.10.0...v8.11.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.5.0 to 13.5.1. - [Release notes](https://github.com/puppeteer/puppeteer/releases) - [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md) - [Commits](https://github.com/puppeteer/puppeteer/compare/v13.5.0...v13.5.1) --- updated-dependencies: - dependency-name: puppeteer dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [@sentry/browser](https://github.com/getsentry/sentry-javascript) from 6.18.1 to 6.18.2. - [Release notes](https://github.com/getsentry/sentry-javascript/releases) - [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-javascript/compare/6.18.1...6.18.2) --- updated-dependencies: - dependency-name: "@sentry/browser" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.1088.0 to 2.1092.0. - [Release notes](https://github.com/aws/aws-sdk-js/releases) - [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js/compare/v2.1088.0...v2.1092.0) --- updated-dependencies: - dependency-name: aws-sdk dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
-