@aquera/nile-visualization 2.9.32 → 2.9.33
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/README.md
CHANGED
|
@@ -36,6 +36,9 @@ To run a local development server that serves the basic demo located in `demo/in
|
|
|
36
36
|
|
|
37
37
|
In this section, you can find the updates for each release of `nile-visualization`. It's a good practice to maintain detailed release notes to help users and developers understand what changes have been made from one version to another and how these changes might affect their projects.
|
|
38
38
|
|
|
39
|
+
#### Version 2.9.33 (September 15, 2026)
|
|
40
|
+
- Nile KPI Chart: Fixed the hover tooltip and marker sticking on screen after a scroll (UIF-1354)
|
|
41
|
+
|
|
39
42
|
#### Version 2.9.32 (September 10, 2026)
|
|
40
43
|
- Nile Chart: Added the `noBorder` config option — set `noBorder: true` on the chart config (root or `aq`) to remove the `border-bottom` divider under the card header, so the header and the plot read as one surface. Header padding, titles and actions are untouched; it composes with `noPadding` and has no effect when the header is hidden via `noHeader`. Reflected as the `no-border` attribute, so `<nile-chart no-border>` and `el.noBorder = true` work too, and the config is kept in sync both ways — assigning a config that omits `noBorder` clears it again, the same as `noHeader` / `noPadding`. Example at `examples/no-border.html` (UIF-1352)
|
|
41
44
|
|
|
@@ -166,6 +166,9 @@ let NileKpiChart = class NileKpiChart extends NileElement {
|
|
|
166
166
|
* Set by nile-chart: skip host border/shadow (variant card/gauge) so the parent chart-card is the only frame.
|
|
167
167
|
*/
|
|
168
168
|
this.embedInNileChart = false;
|
|
169
|
+
this._onViewportChange = () => {
|
|
170
|
+
this._hideTip();
|
|
171
|
+
};
|
|
169
172
|
// ── Chart sizing ─────────────────────────────────────────────────────────
|
|
170
173
|
this._lastSparkSize = { w: 0, h: 0 };
|
|
171
174
|
this._lastGaugeSize = { w: 0, h: 0 };
|
|
@@ -658,6 +661,8 @@ let NileKpiChart = class NileKpiChart extends NileElement {
|
|
|
658
661
|
super.connectedCallback();
|
|
659
662
|
ensureTooltipStyles();
|
|
660
663
|
this._createTipEl();
|
|
664
|
+
document.addEventListener('scroll', this._onViewportChange, { capture: true, passive: true });
|
|
665
|
+
window.addEventListener('resize', this._onViewportChange, { passive: true });
|
|
661
666
|
if (!this._hc) {
|
|
662
667
|
getHighcharts().then(hc => { this._hc = hc; this.requestUpdate(); });
|
|
663
668
|
}
|
|
@@ -666,6 +671,8 @@ let NileKpiChart = class NileKpiChart extends NileElement {
|
|
|
666
671
|
}
|
|
667
672
|
disconnectedCallback() {
|
|
668
673
|
super.disconnectedCallback();
|
|
674
|
+
document.removeEventListener('scroll', this._onViewportChange, { capture: true });
|
|
675
|
+
window.removeEventListener('resize', this._onViewportChange);
|
|
669
676
|
this._hideTip();
|
|
670
677
|
this._tipEl?.remove();
|
|
671
678
|
this._tipEl = null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aquera/nile-visualization",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.33",
|
|
4
4
|
"description": "A visualization Library for the Nile Design System",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Aquera Inc",
|
|
@@ -90,4 +90,4 @@
|
|
|
90
90
|
"@web/test-runner": "^0.14.0",
|
|
91
91
|
"@web/test-runner-puppeteer": "0.16.0"
|
|
92
92
|
}
|
|
93
|
-
}
|
|
93
|
+
}
|