- 22 Feb, 2021 10 commits
-
-
dependabot-preview[bot] authored
-
Lyza Danger Gardner authored
-
dependabot-preview[bot] authored
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.1.3 to 4.1.5. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v4.1.3...v4.1.5) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [mocha](https://github.com/mochajs/mocha) from 8.2.1 to 8.3.0. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md) - [Commits](https://github.com/mochajs/mocha/compare/v8.2.1...v8.3.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [@sentry/browser](https://github.com/getsentry/sentry-javascript) from 6.1.0 to 6.2.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.1.0...6.2.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [sass](https://github.com/sass/dart-sass) from 1.32.7 to 1.32.8. - [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.7...1.32.8) 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.13 to 7.12.17. - [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.17/packages/babel-preset-env) 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.839.0 to 2.848.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.839.0...v2.848.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.1.0 to 18.2.0. - [Release notes](https://github.com/octokit/rest.js/releases) - [Commits](https://github.com/octokit/rest.js/compare/v18.1.0...v18.2.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.16 to 7.12.17. - [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.17/packages/babel-core) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
- 19 Feb, 2021 1 commit
-
-
Robert Knight authored
These custom names were a method of reducing the likelihood of these elements being affected by the page's CSS. Since Shadow DOM support is now much more ubiquitous this is not an issue, so switch back to ordinary `<div>`s. Note that the shadow hosts still use custom element names to prevent them being impacted by page styles. The elements being changed here are inside the shadow DOM.
-
- 18 Feb, 2021 1 commit
-
-
Kyle Keating authored
-
- 16 Feb, 2021 17 commits
-
-
Robert Knight authored
Add a new `/ui-playground` route to the client's dev server which hosts a UI component playground/demo app, plus a link to this route on the dev server homepage. The demo app provides a place to see and experiment with UI components outside the context of the sidebar/notebook apps. - Add new `/ui-playground` route to dev server which serves a small Preact SPA - Add Preact SPA in `dev-server/ui-playground/` with a couple of placeholder "demos" for the `Button` and `Menu` components - Add configuration to gulpfile.js to build ui-playground JS and CSS bundles for Preact SPA
-
Kyle Keating authored
-
Kyle Keating authored
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
- Update NotebookView to corral pagination, Notebook-y state - Update NotebookResultCount to be dumber (to balance with PaginatedThreadList) - Integrate PaginatedThreadList into NotebookView
-
Lyza Danger Gardner authored
Add a PaginatedThreadList component, which renders pagination controls. This component is not yet hooked up to anything.
-
Lyza Danger Gardner authored
- Add a component to render pagination controls - Component is unused
-
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 4 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.
-