Skip to content

Commit

Permalink
[network] use WithTooltip from @data-ui/core. add @data-ui/core to tr…
Browse files Browse the repository at this point in the history
…avis.
  • Loading branch information
williaster committed Nov 1, 2017
1 parent d3f0bde commit e455c1f
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 281 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ env:
- PACKAGE=data-ui-theme
- PACKAGE=forms
- PACKAGE=network
- PACKAGE=core
script:
- 'cd ./packages/$PACKAGE && npm install && npm run test'
- 'cd ../../'
Expand Down
1 change: 1 addition & 0 deletions packages/network/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"react": "^15.0.0-0 || ^16.0.0-0"
},
"dependencies": {
"@data-ui/core": "0.0.0",
"@data-ui/theme": "0.0.9",
"@vx/event": "0.0.141",
"@vx/glyph": "0.0.140",
Expand Down
2 changes: 1 addition & 1 deletion packages/network/src/chart/Network.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
import React from 'react';

import { Group } from '@vx/group';
import WithTooltip, { withTooltipPropTypes } from '../enhancer/WithTooltip';
import WithTooltip, { withTooltipPropTypes } from '@data-ui/core/build/enhancer/WithTooltip';
import Layout from '../layout/atlasForce';
import Links from './Links';
import Nodes from './Nodes';
Expand Down
122 changes: 0 additions & 122 deletions packages/network/src/enhancer/WithTooltip.jsx

This file was deleted.

2 changes: 1 addition & 1 deletion packages/network/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ export {
export {
default as WithTooltip,
withTooltipPropTypes,
} from './enhancer/WithTooltip';
} from '@data-ui/core/build/enhancer/WithTooltip';
157 changes: 0 additions & 157 deletions packages/network/test/enhancer/WithTooltip.test.js

This file was deleted.

0 comments on commit e455c1f

Please sign in to comment.