Releases: unovue/vue-charts
Releases · unovue/vue-charts
v0.4.0
Added
- feat(text): support default slot as text content (#24)
- feat(tooltip): type cursor slot props and align with Recharts (#24)
Fixed
- fix(axis): revert attrs forwarding in CartesianAxis (#24)
- fix(axis): remove duplicate class and forward style in XAxis/YAxis
- fix(axis): correct axisLine prop type to boolean | SVGAttributes (#23)
- fix(filterProps): add kebab-case stroke attribute keys to SVGElementProps (#23)
- fix(cartesian-axis): correct axisLine prop type from string to boolean (#23)
Contributors
v0.3.0
Added
- feat: implement Treemap component with flat mode, nest mode (breadcrumb navigation), built-in tooltip, entrance animation, and arrow indicator for nest nodes
- feat: add treemap layout utility (d3-hierarchy squarify)
- feat: implement ReferenceDot component with
#shapeslot - feat: implement Customized component
- feat: implement Polygon shape component
- feat: export Treemap, Text, and Customized from public API
- feat: add public hooks — tooltip (
useIsTooltipActive,useActiveTooltipCoordinate,useActiveTooltipLabel), layout (usePlotArea,useChartWidth,useChartHeight), axis (useXAxisDomain,useYAxisDomain,useXAxisTicks,useYAxisTicks), and 9 scale hooks - feat: add
createCategoricalInverseutility and inverse scale selectors
Fixed
- fix: legend is not taking into account user assign style (by @zernonia)
- fix: tabindex typo and fixing accessibility layer (by @zernonia)
- fix(Treemap): align event API with Recharts and fix onMouseLeave hover state
- fix(Treemap): correct type imports and add missing positions field
- fix: treemap nest mode drills into wrong group due to d3 sort reorder
- fix: re-trigger slide-in animation on nest mode navigation
- fix: align treemap animation with recharts — slide-in from left instead of center-scale
- fix(ReferenceDot): make fill and stroke optional in ReferenceDotShapeProps
- fix(rootProps): widen class prop type from string to VueClassValue
- fix: align class type interfaces to VueClassValue across all components
Changed
- refactor: replace legacy
animationDuration/animationEasing/animationBeginprops withtransition - refactor: replace
classNameprop with native Vueclassacross all components - refactor: align Treemap with Recharts architecture — Redux store + standard Tooltip
- refactor: extract shared
classPropandVueClassValuetype - refactor: extract duplicated scale and cell utils into shared modules
Contributors
Thank you to our contributors for this release! 🎉