Skip to content

Commit

Permalink
[shared] @data-ui/core -> @data-ui/shared
Browse files Browse the repository at this point in the history
  • Loading branch information
williaster committed Nov 3, 2017
1 parent 62f303f commit 485eeba
Show file tree
Hide file tree
Showing 26 changed files with 25 additions and 25 deletions.
9 changes: 0 additions & 9 deletions packages/core/README.md

This file was deleted.

2 changes: 1 addition & 1 deletion packages/histogram/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"react": "^15.0.0-0 || ^16.0.0-0"
},
"dependencies": {
"@data-ui/core": "0.0.0",
"@data-ui/shared": "0.0.0",
"@data-ui/theme": "0.0.9",
"@vx/axis": "0.0.140",
"@vx/curve": "0.0.140",
Expand Down
2 changes: 1 addition & 1 deletion packages/histogram/src/chart/Histogram.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import componentName from '../utils/componentName';
import computeDomainsFromBins from '../utils/computeDomainsFromBins';
import getValueKey from '../utils/getValueKey';
import { themeShape } from '../utils/propShapes';
import WithTooltip, { withTooltipPropTypes } from '@data-ui/core/build/enhancer/WithTooltip';
import WithTooltip, { withTooltipPropTypes } from '@data-ui/shared/build/enhancer/WithTooltip';

export const propTypes = {
...withTooltipPropTypes,
Expand Down
2 changes: 1 addition & 1 deletion packages/histogram/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export { default as DensitySeries } from './series/DensitySeries';

export { default as XAxis } from './axis/XAxis';
export { default as YAxis } from './axis/YAxis';
export { default as WithTooltip, withTooltipPropTypes } from '@data-ui/core/build/enhancer/WithTooltip';
export { default as WithTooltip, withTooltipPropTypes } from '@data-ui/shared/build/enhancer/WithTooltip';

export { LinearGradient } from '@vx/gradient';
export { PatternLines } from '@vx/pattern';
Expand Down
2 changes: 1 addition & 1 deletion packages/network/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"react": "^15.0.0-0 || ^16.0.0-0"
},
"dependencies": {
"@data-ui/core": "0.0.0",
"@data-ui/shared": "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 '@data-ui/core/build/enhancer/WithTooltip';
import WithTooltip, { withTooltipPropTypes } from '@data-ui/shared/build/enhancer/WithTooltip';
import Layout from '../layout/atlasForce';
import Links from './Links';
import Nodes from './Nodes';
Expand Down
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 '@data-ui/core/build/enhancer/WithTooltip';
} from '@data-ui/shared/build/enhancer/WithTooltip';
2 changes: 1 addition & 1 deletion packages/radial-chart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"author": "Chris Williams <[email protected]>",
"license": "MIT",
"dependencies": {
"@data-ui/core": "0.0.0",
"@data-ui/shared": "0.0.0",
"@data-ui/theme": "0.0.9",
"@vx/event": "0.0.140",
"@vx/group": "0.0.140",
Expand Down
2 changes: 1 addition & 1 deletion packages/radial-chart/src/chart/RadialChart.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Group } from '@vx/group';
import PropTypes from 'prop-types';
import React from 'react';

import WithTooltip, { withTooltipPropTypes } from '@data-ui/core/build/enhancer/WithTooltip';
import WithTooltip, { withTooltipPropTypes } from '@data-ui/shared/build/enhancer/WithTooltip';

export const propTypes = {
...withTooltipPropTypes,
Expand Down
2 changes: 1 addition & 1 deletion packages/radial-chart/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ export { default as ArcLabel } from './label/ArcLabel';
export { default as ArcSeries } from './series/ArcSeries';
export { default as RadialChart, propTypes as radialChartPropTypes } from './chart/RadialChart';
export { singleHueScaleFactory, multiHueScaleFactory } from './util/fillScaleFactory';
export { default as WithTooltip, withTooltipPropTypes } from '@data-ui/core/build/enhancer/WithTooltip';
export { default as WithTooltip, withTooltipPropTypes } from '@data-ui/shared/build/enhancer/WithTooltip';
File renamed without changes.
File renamed without changes.
9 changes: 9 additions & 0 deletions packages/shared/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# @data-ui/shared

Shared ``@data-ui` components used across multiple packages.

`npm install --save @data-ui/shared`

<a title="package version" href="https://img.shields.io/npm/v/@data-ui/shared.svg?style=flat-square">
<img src="https://img.shields.io/npm/v/@data-ui/shared.svg?style=flat-square" />
</a>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@data-ui/core",
"name": "@data-ui/shared",
"version": "0.0.0",
"description": "Shared @data-ui components used across multiple packages",
"main": "build/index.js",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/sparkline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"react": "^15.0.0-0 || ^16.0.0-0"
},
"dependencies": {
"@data-ui/core": "0.0.0",
"@data-ui/shared": "0.0.0",
"@data-ui/theme": "0.0.8",
"@vx/axis": "0.0.140",
"@vx/curve": "0.0.140",
Expand Down
2 changes: 1 addition & 1 deletion packages/sparkline/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export { default as BandLine } from './annotation/BandLine';
export { default as Label } from './annotation/Label';
export { default as HorizontalReferenceLine } from './annotation/HorizontalReferenceLine';
export { default as VerticalReferenceLine } from './annotation/VerticalReferenceLine';
export { default as WithTooltip, Tooltip, withTooltipPropTypes } from '@data-ui/core/build/enhancer/WithTooltip';
export { default as WithTooltip, Tooltip, withTooltipPropTypes } from '@data-ui/shared/build/enhancer/WithTooltip';

export { LinearGradient } from '@vx/gradient';
export { PatternLines } from '@vx/pattern';
Expand Down
2 changes: 1 addition & 1 deletion packages/xy-chart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"author": "Chris Williams <[email protected]>",
"license": "MIT",
"dependencies": {
"@data-ui/core": "0.0.0",
"@data-ui/shared": "0.0.0",
"@data-ui/theme": "0.0.9",
"@vx/axis": "0.0.145",
"@vx/curve": "0.0.140",
Expand Down
2 changes: 1 addition & 1 deletion packages/xy-chart/src/chart/XYChart.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Grid from '@vx/grid/build/grids/Grid';
import Group from '@vx/group/build/Group';

import Voronoi from './Voronoi';
import WithTooltip, { withTooltipPropTypes } from '@data-ui/core/build/enhancer/WithTooltip';
import WithTooltip, { withTooltipPropTypes } from '@data-ui/shared/build/enhancer/WithTooltip';

import {
collectDataFromChildSeries,
Expand Down
4 changes: 2 additions & 2 deletions packages/xy-chart/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ export { default as PointSeries, pointComponentPropTypes } from './series/PointS
export { default as StackedBarSeries } from './series/StackedBarSeries';

export { default as HorizontalReferenceLine } from './annotation/HorizontalReferenceLine';
export { default as CrossHair } from '@data-ui/core/build/components/CrossHair';
export { default as WithTooltip, withTooltipPropTypes } from '@data-ui/core/build/enhancer/WithTooltip';
export { default as CrossHair } from '@data-ui/shared/build/components/CrossHair';
export { default as WithTooltip, withTooltipPropTypes } from '@data-ui/shared/build/enhancer/WithTooltip';

export { LinearGradient } from '@vx/gradient';
export { PatternLines, PatternCircles, PatternWaves, PatternHexagons } from '@vx/pattern';
Expand Down

0 comments on commit 485eeba

Please sign in to comment.