Merge pull request #3701 from matrix-org/dbkr/yarn_upgrade_dec19

yarn upgrade
pull/21833/head
David Baker 2019-12-05 14:32:47 +00:00 committed by GitHub
commit 625e3ef93a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 549 additions and 447 deletions

View File

@ -47,7 +47,7 @@ const ARIA_MENU_ITEM_ROLES = new Set(["menuitem", "menuitemcheckbox", "menuitemr
// all options inside the menu should be of role=menuitem/menuitemcheckbox/menuitemradiobutton and have tabIndex={-1}
// this will allow the ContextMenu to manage its own focus using arrow keys as per the ARIA guidelines.
export class ContextMenu extends React.Component {
propTypes: {
static propTypes = {
top: PropTypes.number,
bottom: PropTypes.number,
left: PropTypes.number,

View File

@ -90,7 +90,7 @@ function isInLowerLeftHalf(x, y, rect) {
* tooltip along one edge of the target.
*/
export default class InteractiveTooltip extends React.Component {
propTypes: {
static propTypes = {
// Content to show in the tooltip
content: PropTypes.node.isRequired,
// Function to call when visibility of the tooltip changes

992
yarn.lock

File diff suppressed because it is too large Load Diff