Releases: FormidableLabs/victory
Releases · FormidableLabs/victory
35.4.3
(2020-12-07)
- #1755 - Export
Portal
type
35.4.2
(2020-12-01)
- #1751 - Add missing static
defaultEvents
to VictoryTooltip
types. Thanks @beccanelson!
35.4.1
(2020-12-01)
- #1750 - Add missing
className
prop to the Background
primitive component. Thanks @beccanelson!
35.4.0
(2020-11-25)
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.
35.3.5
(2020-11-09)
- #1743 - Add a
role
prop for VictoryContainer
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.
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!
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!