v30.0.0
Victory is becoming a monorepo!
This will not be a breaking change for the majority of users, especially those importing all components from the main victory
npm package
Breaking Changes
- The
Axis
/Grid
primitive component has been renamedLineSegment
- Victory no longer supports git installs
victory-chart
andvictory-core
packages export different sets of packages than they used to. See the complete list below
New Package Organization
victory
exports everything exported from the packages belowvictory-axis@30.0.0
exportsVictoryAxis
victory-area@30.0.0
exportsVictoryArea
andArea
victory-bar@30.0.0
exportsVictoryBar
andBar
victory-box-plot@30.0.0
exportsVictoryBoxPlot
victory-brush-container@30.0.0
exportsVictoryBrushContainer
,BrushHelpers
andbrushContainerMixin
victory-brush-line@30.0.0
exportsVictoryBrushLine
victory-candlestick@30.0.0
exportsVictoryCandlestick
andCandle
victory-chart@30.0.0
exportsVictoryChart
victory-core@30.0.0
still exports several packages that are used by several Victory components:VictoryAnimation
VictoryClipContainer
VictoryContainer
VictoryLabel
VictoryPortal
andPortal
VictoryTheme
VictoryTransition
- Several primitive components:
Arc
,Border
/Box
,Circle
,ClipPath
,LineSegment
(formerlyAxis
/Grid
),Line
,Path
,Point
,Rect
,Text
,TSpan
,Whisker
- Several utilities:
addEvents
,Axis
,Collection
,CommonProps
,Data
,DefaultTransitions
,Domain
,Events
,Helpers
,Immutable
,LabelHelpers
,Log
,PropTypes
,Scale
,Selection
,Style
,TextSize
,Timer
,Transitions
,Wrapper
victory-create-container@30.0.0
exportscreateContainer
,combineContainerMixins
andmakeCreateContainerFunction
victory-cursor-container@30.0.0
exportsVictoryCursorContainer
,CursorHelpers
andcursorContainerMixin
victory-errorbar@30.0.0
exportsVictoryErrorBar
andErrorBar
victory-group@30.0.0
exportsVictoryGroup
victory-legend@30.0.0
exportsVictoryLegend
victory-line@30.0.0
exportsVictoryLine
andCurve
victory-pie@30.0.0
exportsVictoryPie
andSlice
victory-scatter@30.0.0
exportsVictoryScatter
victory-selection-container@30.0.0
exportsVictorySelectionContainer
,SelectionHelpers
andselectionContainerMixin
victory-shared-events@30.0.0
exportsVictorySharedEvents
victory-stack@30.0.0
exportsVictoryStack
victory-tooltip@30.0.0
exportsVictoryTooltip
andFlyout
victory-voronoi@30.0.0
exportsVictoryVoronoi
andVoronoi
victory-voronoi-container@30.0.0
exportsVictoryVoronoiContainer
,VoronoiHelpers
andvoronoiContainerMixin
victory-zoom-container@30.0.0
exportsVictoryZoomContainer
,RawZoomHelpers
,ZoomHelpers
andzoomContainerMixin