react-overlay 还依赖的老版本 dom-helpers 所以不能升级

This commit is contained in:
2betop 2019-12-31 11:38:46 +08:00
parent 2d39cb9806
commit 0ae4d28487
4 changed files with 9 additions and 8 deletions

View File

@ -32,7 +32,7 @@
"autobind-decorator": "2.4.0",
"blueimp-canvastoblob": "2.1.0",
"classnames": "2.2.5",
"dom-helpers": "5.1.3",
"dom-helpers": "3.3.1",
"downshift": "3.1.4",
"echarts": "^4.1.0",
"flv.js": "1.5.0",
@ -78,6 +78,7 @@
"devDependencies": {
"@types/async": "^2.0.45",
"@types/classnames": "^2.2.3",
"@types/dom-helpers": "^3.4.1",
"@types/history": "^4.6.0",
"@types/hoist-non-react-statics": "^3.0.1",
"@types/jest": "^24.0.11",

View File

@ -5,7 +5,7 @@
*/
import React from 'react';
import css from 'dom-helpers/css';
import css = require('dom-helpers/style/index');
import {ClassNamesFn, themeable} from '../theme';
import Transition, {
EXITED,

View File

@ -14,7 +14,7 @@ import hoistNonReactStatic = require('hoist-non-react-statics');
import onClickOutside from 'react-onclickoutside';
import {Action} from '../types';
import keycode from 'keycode';
import matches from 'dom-helpers/matches';
import matches = require('dom-helpers/query/matches');
import Overlay from '../components/Overlay';
import PopOver from '../components/PopOver';

View File

@ -1,11 +1,11 @@
import React from 'react';
import ReactDOM from 'react-dom';
import hoistNonReactStatic = require('hoist-non-react-statics');
import domOwnerDocument from 'dom-helpers/ownerDocument';
import css from 'dom-helpers/css';
import getOffset from 'dom-helpers/offset';
import getPosition from 'dom-helpers/position';
import getScrollTop from 'dom-helpers/scrollTop';
import domOwnerDocument = require('dom-helpers/ownerDocument');
import css = require('dom-helpers/style/index');
import getOffset = require('dom-helpers/query/offset');
import getPosition = require('dom-helpers/query/position');
import getScrollTop = require('dom-helpers/query/scrollTop');
const bsMapping: {
[propName: string]: string;