Skip to content

Releases: FormidableLabs/victory

35.3.1

22 Jun 17:52
Compare
Choose a tag to compare

(2020-10-20)

  • #1724 Fixes a regression introduced in 35.3.0 affecting charts whose dimensions are updated via a useEffect hook

  • #1723 - Avoids unnecessary re-renders caused by empty events. Thanks @Hypnosphi!

35.3.0

22 Jun 17:52
Compare
Choose a tag to compare

(2020-10-13)

  • #1715 Adds a dependency on json-safe-stringify in VictorySharedEvents
  • #1716 Changes how event updates are cached to support React Strict Mode

35.2.0

22 Jun 17:51
Compare
Choose a tag to compare

(2020-10-08)

Accessibility Improvements

  • #1708 - This PR adds ariaLabel to Victory's primitive components (VictoryLabel, Area, Bar etc.). This new prop can take a string or a function that expected to return a string, and adds aria-label attributes to svg elements Victory renders. This PR also adds tabIndex and aria-label props to VictoryClipContainer, and creates a new groupContainer, VictoryAccessibleGroup, which renders a g tag and an optional desc tag along with its other children. VictoryAccessibleGroup also takes aria-label and aria-describedby props. Thanks @ljones87 for all the hard work on this new feature!

  • #1709 - Adds default onFocus and onBlur event handlers to VictoryTooltip so that users can trigger tooltips by tabbing through the chart elements when tabIndex is set.

Bug fixes for labels and tooltips

  • #1707 - Respects user-provided props on the label component VictoryVoronoiContainer renders, including text, style, flyoutStyle, width and height
  • #1710 - Adds support for providing functions to the angle prop on VictoryLabel
  • #1711 - Fixes a bug related to applying angles to labels whose position is set by datum rather than coordinate.

35.1.1

22 Jun 17:51
Compare
Choose a tag to compare

(2020-09-28)

  • #1693 - Add aria-labelledby and aria-describedby props to VictoryContainer. Thanks @elliotdickison!

35.1.0

22 Jun 17:50
Compare
Choose a tag to compare

(2020-09-25)

  • #1692 - Adds a unique key prop for chart backgrounds
  • #1690 - Fixes a minor positioning bug in label backgrounds
  • #1688 - Fixes vertical alignment issue for labels. Thanks @Hypnosphi!
  • #1685 - Adds an optional preserveAspectRatio prop to VictoryContainer, and uses height: "100%" rather than height: "auto", giving users finer control over how Victory's svgs are positioned and scaled within their containers.

35.0.9

22 Jun 17:49
Compare
Choose a tag to compare

v35.0.8

01 Sep 15:48
Compare
Choose a tag to compare
  • #1657 - Fix bug in ouiaSafe prop on VictoryContainer

v35.0.7

01 Sep 15:48
Compare
Choose a tag to compare
  • #1654 - Add optional OUIA props for VictoryContainer. Thanks @dlabrecq!

v35.0.6

01 Sep 15:47
Compare
Choose a tag to compare

v35.0.5

01 Sep 15:47
Compare
Choose a tag to compare
  • #1648 - Fix a bug effecting backgroundStyles when using functional styles. Thanks @chacestew!

  • #1649 - update lodash dependency