@martinomagnifico/tablechart 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.7] - 2026-10-16
4
+
5
+ ### Added
6
+
7
+ - A `tooltipparent` option. Can by body or any other selector.
8
+
9
+ ### Changed
10
+
11
+ - The text of a tooltip has the size of the chart's text on the screen, also when the chart is scaled.
12
+ - A scroll closes a tooltip, like a key. It opens again when the mouse moves.
13
+
14
+ ### Fixed
15
+
16
+ - After a scroll, a tooltip could show at the top of the window, for a row that had scrolled away.
17
+ - The arrow of a tooltip points at the middle of its row and stops just short of it, at every size. It was a little to the right, and on a large screen it covered the mark.
18
+
19
+
20
+
3
21
  ## [1.0.6] - 2026-10-16
4
22
 
5
23
  ### Changed
@@ -259,6 +259,8 @@ interface Config {
259
259
  tooltip: boolean | "auto";
260
260
  /** The old name of `tooltip`, until the next minor version. */
261
261
  hover?: boolean;
262
+ /** Where the tooltip goes in the page: an element or a selector, `body` by default. In a scaled element, such as the slides of a presentation, the tooltip has their scale. */
263
+ tooltipparent: HTMLElement | string | null;
262
264
  /** The table under the chart: `"always"`, only in `"print"`, in print when numbers are left out (`"auto"`), or `"never"`. A figure overrides it with `data-chart-table`. */
263
265
  table: "never" | "auto" | "print" | "always";
264
266
  /** The name of the total that a donut without a total row works out, for screen readers. */