Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

victory-histogram

Package Overview
Dependencies
Maintainers
16
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

victory-histogram - npm Package Versions

1
11

35.4.1

Diff

Changelog

Source

35.4.1 (2020-12-01)

  • #1750 - Add missing className prop to the Background primitive component. Thanks @beccanelson!
boygirl
published 35.4.0 •

Changelog

Source

35.4.0 (2020-11-25)

  • #1748 - Thank you @Hypnosphi!

Support for Global Events

This release adds a concept of global events that are attached to window rather than to any of the elements rendered by Victory components. Global events are only supported for "parent" events that would normally be attached to svg elements rendered by Victory's containerComponents. Events that should be global can be flagged by including onGlobal in the name of the event handler. So, for example, use onGlobalMouseUp rather than onMouseUp to create a global mouse up handler.

VictoryBrushContainer uses Global Events

VictoryBrushContainer now uses global events in its defaultEvents so that brushing continues even as the user's mouse moves outside of the chart area.

boygirl
published 35.3.5 •

Changelog

Source

35.3.5 (2020-11-09)

  • #1743 - Add a role prop for VictoryContainer
boygirl
published 35.3.4 •

Changelog

Source

35.3.4 (2020-11-06)

  • #1738 - Stop timers used by VictoryAnimation when there are no active subscriptions. Thanks @noVerity!
  • #1739 - Improve types related to styles and themes across all packages.
  • #1740 - Replace all instances of Object.keys with lodash keys for consistency.
boygirl
published 35.3.3 •

Changelog

Source

35.3.3 (2020-11-02)

  • #1733 - Fix TS definitions affection multi-line labels and tooltip orientations. Thanks @paolostyle!
  • #1732 - Fix a bug affecting stacked histograms. Thanks @keithbro!
boygirl
published 35.3.2 •

Changelog

Source

35.3.2 (2020-10-28)

  • #1728 - Use exact versions for Victory interdependencies to make it easier for users to specify exact versions
  • #1726 - Decrease throttle on VictoryCursorContainer for smoother movement. Thanks @Alexander-AJ-Berman!
boygirl
published 35.3.1 •

Changelog

Source

35.3.1 (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!

boygirl
published 35.3.0 •

Changelog

Source

35.3.0 (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
boygirl
published 35.2.0 •

Changelog

Source

35.2.0 (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.
boygirl
published 35.1.1 •

Changelog

Source

35.1.1 (2020-09-28)

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

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc