Skip to content

Commit

Permalink
fix(vx-react-spring): fix imports and types
Browse files Browse the repository at this point in the history
  • Loading branch information
williaster committed Aug 19, 2020
1 parent 88239bb commit ffc5235
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 6 deletions.
1 change: 0 additions & 1 deletion packages/vx-axis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"@types/react": "*",
"@vx/group": "0.0.198",
"@vx/point": "0.0.198",
"@vx/react-spring": "0.0.198",
"@vx/shape": "0.0.198",
"@vx/scale": "0.0.198",
"@vx/text": "0.0.198",
Expand Down
1 change: 0 additions & 1 deletion packages/vx-axis/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export { default as Axis } from './axis/Axis';
export { default as AnimatedAxis } from './axis/AnimatedAxis';
export { default as AxisLeft } from './axis/AxisLeft';
export { default as AxisRight } from './axis/AxisRight';
export { default as AxisTop } from './axis/AxisTop';
Expand Down
1 change: 1 addition & 0 deletions packages/vx-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"@vx/network": "0.0.198",
"@vx/pattern": "0.0.198",
"@vx/point": "0.0.198",
"@vx/react-spring": "0.0.198",
"@vx/responsive": "0.0.198",
"@vx/scale": "0.0.198",
"@vx/shape": "0.0.198",
Expand Down
3 changes: 2 additions & 1 deletion packages/vx-demo/src/sandboxes/vx-axis/Example.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import AreaClosed from '@vx/shape/lib/shapes/AreaClosed';
import { Grid } from '@vx/grid';
import { curveMonotoneX } from '@vx/curve';
import { scaleUtc, scaleLinear, scaleLog, scaleBand, ScaleInput, coerceNumber } from '@vx/scale';
import { AnimatedAxis, Orientation, SharedAxisProps, AxisScale } from '@vx/axis';
import { Orientation, SharedAxisProps, AxisScale } from '@vx/axis';
import { AnimatedAxis } from '@vx/react-spring';
import { LinearGradient } from '@vx/gradient';
import { timeFormat } from 'd3-time-format';

Expand Down
1 change: 1 addition & 0 deletions packages/vx-demo/src/sandboxes/vx-axis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"@vx/grid": "latest",
"@vx/group": "latest",
"@vx/mock-data": "latest",
"@vx/react-spring": "latest",
"@vx/responsive": "latest",
"@vx/shape": "latest",
"@vx/scale": "latest",
Expand Down
2 changes: 1 addition & 1 deletion packages/vx-react-spring/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vx/react-spring",
"version": "0.0.0",
"version": "0.0.198",
"description": "Vx primitives that rely on react-spring for animation",
"sideEffects": false,
"main": "lib/index.js",
Expand Down
4 changes: 2 additions & 2 deletions packages/vx-react-spring/src/axis/AnimatedAxis.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import Axis, { AxisProps } from './Axis';
import Axis, { AxisProps } from '@vx/axis/lib/axis/Axis';
import { AxisScale } from '@vx/axis/lib/types';
import AnimatedTicksRenderer from './AnimatedTicksRenderer';
import { AxisScale } from '../types';

export default function AnimatedAxis<Scale extends AxisScale>(
axisProps: Omit<AxisProps<Scale>, 'ticksComponent'>,
Expand Down

0 comments on commit ffc5235

Please sign in to comment.