react-overlay 还依赖的老版本 dom-helpers 所以不能升级
This commit is contained in:
parent
2d39cb9806
commit
0ae4d28487
|
@ -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",
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue