Skip to content
This repository was archived by the owner on Jul 1, 2025. It is now read-only.

v0.3.0

Pre-release
Pre-release

Choose a tag to compare

@davelandry davelandry released this 12 Apr 14:35

Refactor to use Popper.js

  • shoutout to @nbond211 and #27
  • tooltips now respect screen bounds
  • tooltips now have arrows

Full Changelog

  • updates documentation (3b8ccbb)
  • updates popper.js to v1.14.3 (f3fcc8e)
  • fixes tooltip arrow position (22568b1)
  • fixes position of arrow when tooltip flips (508cb58)
  • fixes reference to this.data to be this._data and fixes check whether this._position is an array or HTMLElement (0f0dae3)
  • modifies default tooltip arrow styles to hide border (669f722)
  • replaces reference to this._className with "d3plus-tooltip" and fixes language in description for public arrow method (ba1ee1f)
  • adds public methods for arrow and arrowStyle (e330091)
  • renames translate method to position and allows it to accept HTMLElements as input (05b921d)
  • moves tooltip render logic into loop to handle multiple data points (c0738ae)
  • adds calculations for the offset from the tooltip arrow (2303dc2)
  • adds arrow to tooltip (work in progress) (aef8d61)
  • adds mouse following behavior to Popper.js tooltip (c3b1523)
  • first pass at refactoring tooltip to use Popper.js (85a3890ond211 )
  • installs popper.js and updates dependencies (d026fa5)
  • updates environment files (03019d8)
  • updates d3plus-dev to v0.6.3 (9a4ecac)
  • updates d3-selection to v1.3.0 (f4855a6)
  • updates d3plus-common to v0.6.33 (2427161)