etclabscore / expedition

🧭 A block explorer for the Ethereum stack.
https://expedition.dev/
Apache License 2.0
65 stars 121 forks source link

chore(deps): bump victory from 33.1.7 to 35.4.4 #474

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps victory from 33.1.7 to 35.4.4.

Release notes

Sourced from victory's releases.

v35.0.8

  • #1657 - Fix bug in ouiaSafe prop on VictoryContainer

v35.0.7

  • #1654 - Add optional OUIA props for VictoryContainer. Thanks @dlabrecq!

v35.0.6

v35.0.5

  • #1648 - Fix a bug effecting backgroundStyles when using functional styles. Thanks @chacestew!

  • #1649 - update lodash dependency

v35.0.4

#1645 - Fix bug in text size approximation. Thanks @nburt!

v35.0.2

#1631 - Correct types for TextSize utility. Thanks @jlismore!

v35.0.1

#1628 - Correct typescript error

v35.0.0

Label and Theme Improvements!

This release introduces new label features and makes improvements to themes. This release includes breaking style changes. Please double check your label and tooltip styles when upgrading. Polar axes and pie charts may be particularly impacted.

New Features!

  • VictoryLabel now supports label backgrounds, which are rendered as rect elements behind your labels. Backgrounds are styled via the new backgroundStyle prop on VictoryLabel. This prop may be given as a style object, or an array of objects for styling multi-line labels. Background elements are sized for their corresponding text elements, but padding may also be added with the backgroundPadding prop, which accepts a single number, an object with values for "top", "bottom", "left" and "right", or an array of either of these for adding background padding to multi-line labels.

  • VictoryTooltip has a new flyoutPadding prop that may be used to add padding between the edge of the flyout and the label within it. The flyoutPadding prop may be given as a single number of as an object with values for "top", "bottom", "left" and "right". This is a breaking change, as style.padding no longer adds padding between the flyout and its label. Both of Victory's built-in themes have been altered so that tooltips get flyoutPadding={5} by default.

  • VictoryPie now supports the labelPlacement prop used in polar charts. Possible values are "vertical" "parallel" and "perpendicular". When not given, vertical labels are rendered as before.

  • Themes now support polarAxis, polarDependentAxis, and polarIndependentAxis namespaces that are merges with the less specific axis, dependentAxis, and independentAxis themes as appropriate.

Improvements

  • Changes Victory's default branch from master to main 🖤

  • Textsize approximations have changed, and are much more accurate in most cases. This may be a breaking change for layouts that depended on approximated text size

  • Tooltip themes are now correctly merged with label styles and props.

  • VictoryPolarAxis elements are now rendered relative to the origin independently, rather than being translated as a group. This allows for correct positioning of elements within VictoryPortal This may be a breaking change for custom components in VictoryPolarAxis

  • Corrects the labelPosition prop on VictoryPie (previously startAngle and endAngle were inverted) This is a breaking change

  • Alters material and greyscale themes. The following theme updates may cause breaking style changes

    • Uses more widely available default fonts for labels
Changelog

Sourced from victory's changelog.

35.4.4 (2020-12-24)

  • #1761 - Add more font widths for the textsize util. Thanks @dlabrecq!

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!

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
Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 3 years ago

Superseded by #477.