- 16 Feb, 2021 10 commits
-
-
Lyza Danger Gardner authored
- Add a utility function for generating the right set of available pagination page numbers, given `currentPage`, `totalPages` and the maximum number of page options desired
-
Lyza Danger Gardner authored
- Make `Button` take `iconPosition` prop {`left|right`} to allow for right-aligned icons on buttons - Add parameters to `button--labeled` mixin to allow for background color overrides
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
This test isn't meaningful as a number of other tests would fail if sub-components were rendered without the presence of an `annotation`
-
Lyza Danger Gardner authored
Leave class naming alone for now, as these modules haven't been fully normalized/component-ized yet.
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
-
dependabot-preview[bot] authored
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 5.5.0 to 7.1.0. - [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/v5.5.0...v7.1.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
Robert Knight authored
The feature test for the `CSS.supports` API did not work in the most recent versions of Chrome or in Firefox because `typeof CSS` returns `object` in those browsers. In Safari and older versions of Chrome it returns `function`. This change most likely occurred due to https://chromium-review.googlesource.com/c/chromium/src/+/2434404. All of the browsers we currently support implement the two-argument version of `CSS.supports` (see [1]) and so we can fix the issue by removing the feature test. Note that the single-argument version of `CSS.supports` is not supported by some of the oldest browsers that we support. [1] https://developer.mozilla.org/en-US/docs/Web/API/CSS/supports#browser_compatibility
-
- 15 Feb, 2021 7 commits
-
-
dependabot-preview[bot] authored
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.5 to 8.2.6. - [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.2.5...8.2.6) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [axe-core](https://github.com/dequelabs/axe-core) from 4.1.1 to 4.1.2. - [Release notes](https://github.com/dequelabs/axe-core/releases) - [Changelog](https://github.com/dequelabs/axe-core/blob/develop/CHANGELOG.md) - [Commits](https://github.com/dequelabs/axe-core/compare/v4.1.1...v4.1.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [karma](https://github.com/karma-runner/karma) from 6.1.0 to 6.1.1. - [Release notes](https://github.com/karma-runner/karma/releases) - [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md) - [Commits](https://github.com/karma-runner/karma/compare/v6.1.0...v6.1.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [sass](https://github.com/sass/dart-sass) from 1.32.6 to 1.32.7. - [Release notes](https://github.com/sass/dart-sass/releases) - [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md) - [Commits](https://github.com/sass/dart-sass/compare/1.32.6...1.32.7) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [commander](https://github.com/tj/commander.js) from 7.0.0 to 7.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/v7.0.0...v7.1.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.10 to 7.12.16. - [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.12.16/packages/babel-core) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [eslint](https://github.com/eslint/eslint) from 7.19.0 to 7.20.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v7.19.0...v7.20.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
- 12 Feb, 2021 5 commits
-
-
Robert Knight authored
When Shadow DOM was first considered for use in the client `<link rel="stylesheet">` was not widely supported as a way to load external styles into shadow roots. This was resolved in the spec in https://github.com/whatwg/html/pull/1572 and has now long been supported by all browsers. Using `<link>` simplifies the code and also avoids a possible problem with sites that have a strict CSP policy that disallows inline styles. In the browser extension context a `<link>` can still work in that scenario as long as the stylesheet is loaded from a `chrome-extension://` URL.
-
Robert Knight authored
Follow the example of the `<hypothesis-sidebar>` element by making the `<hypothesis-notebook>` element an unstyled shadow-host which serves as the root container for the notebook, isolating it from the page's styles. Inside this is a styled element which serves as the visual container. As well as isolating the notebook from the host page's styles, this will also make it possible to avoid loading annotator styles into the host page. See https://github.com/hypothesis/client/issues/2979. To reduce resource usage a little when the notebook is not used, only the notebook's shadow host is created initially. The styled inner container is created when the notebook is shown for the first time.
-
Lyza Danger Gardner authored
-
Eduardo Sanz García authored
The BucketBar component has a CSS property that disables click events (`pointer-events: none`). Hence, it is pointless to register a click event listener to the BucketBar. `pointer-events: none` was added to the BucketBar more than 6 years ago.
-
Eduardo Sanz García authored
Currently, if the client's sidebar is opened it doesn't behave graciously when the browser window is resized. Sometimes the sidebar appears floating on the middle of the window. We discussed several alternative solutions: when the sidebar is opened and the window is resized, then... 1. close the sidebar and the user opens it manually 2. maintain the sidebar open, but scale it properly 3. close the sidebar and open it after X milliseconds of the last resize event 4. close the sidebar if the width of the window is reduced, but maintain it open if the window's width is increased We implemented solution #2, because it gives a more consistent behaviour for both sidebars, PDF and non-PDF. In addition, I added a mechanism to register and unregister events, to avoid resource leaks.
-
- 11 Feb, 2021 5 commits
-
-
Kyle Keating authored
Rename "svg-icon" class to "SvgIcon"
-
Kyle Keating authored
- Move svg-icon into frontend-shared/styles - Update annotator.scss and sidebar.scss to reference new frontend-shared sass entry file
-
Kyle Keating authored
This makes the focus outline behave with a rounded radius.
-
Kyle Keating authored
- Remove existing customized styling on text and input fields - Override default outline style and instead, replace with a box-shadow that is styled similar to the default outline but with a fixed color - This allows the outline to still retain a small border radius, and a custom color at the same time
-
Eduardo Sanz García authored
Remove a few container elements left-over from the tests.
-
- 10 Feb, 2021 1 commit
-
-
Kyle Keating authored
Change -B to --open-browser
-
- 08 Feb, 2021 11 commits
-
-
dependabot-preview[bot] authored
Bumps [sass](https://github.com/sass/dart-sass) from 1.32.5 to 1.32.6. - [Release notes](https://github.com/sass/dart-sass/releases) - [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md) - [Commits](https://github.com/sass/dart-sass/compare/1.32.5...1.32.6) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [@sentry/browser](https://github.com/getsentry/sentry-javascript) from 6.0.3 to 6.1.0. - [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.0.3...6.1.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [karma](https://github.com/karma-runner/karma) from 6.0.3 to 6.1.0. - [Release notes](https://github.com/karma-runner/karma/releases) - [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md) - [Commits](https://github.com/karma-runner/karma/compare/v6.0.3...v6.1.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [@hypothesis/frontend-shared](https://github.com/hypothesis/client) from 1.4.0 to 1.7.0. - [Release notes](https://github.com/hypothesis/client/releases) - [Changelog](https://github.com/hypothesis/client/blob/v1.7.0/CHANGELOG.md) - [Commits](https://github.com/hypothesis/client/compare/v1.4.0...v1.7.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [chai](https://github.com/chaijs/chai) from 4.2.0 to 4.3.0. - [Release notes](https://github.com/chaijs/chai/releases) - [Changelog](https://github.com/chaijs/chai/blob/master/History.md) - [Commits](https://github.com/chaijs/chai/compare/4.2.0...4.3.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.4 to 8.2.5. - [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.2.4...8.2.5) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.12.11 to 7.12.13. - [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.12.13/packages/babel-preset-env) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react) from 7.12.10 to 7.12.13. - [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.12.13/packages/babel-preset-react) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.834.0 to 2.839.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.834.0...v2.839.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 18.0.15 to 18.1.0. - [Release notes](https://github.com/octokit/rest.js/releases) - [Commits](https://github.com/octokit/rest.js/compare/v18.0.15...v18.1.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
Robert Knight authored
Post Slack messages about client deployment events to #eng-ci. Messages with a non-success status are also posted to #eng-frontend for visibility. This change is intended to reduce the amount of noise in the Fixes https://github.com/hypothesis/playbook/issues/517
-
- 05 Feb, 2021 1 commit
-
-
Kyle Keating authored
Add /components folder in frontend-shared
-