q2-tecton-elements 1.52.7 → 1.52.8

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.
Files changed (44) hide show
  1. package/dist/cjs/q2-chart-area.cjs.entry.js +14 -1
  2. package/dist/cjs/q2-chart-area.cjs.entry.js.map +1 -1
  3. package/dist/cjs/q2-chart-bar.cjs.entry.js +20 -3
  4. package/dist/cjs/q2-chart-bar.cjs.entry.js.map +1 -1
  5. package/dist/cjs/q2-chart-donut.cjs.entry.js +22 -1
  6. package/dist/cjs/q2-chart-donut.cjs.entry.js.map +1 -1
  7. package/dist/cjs/q2-select.cjs.entry.js +1 -2
  8. package/dist/cjs/q2-select.cjs.entry.js.map +1 -1
  9. package/dist/collection/components/q2-chart-area/q2-chart-area.js +14 -1
  10. package/dist/collection/components/q2-chart-area/q2-chart-area.js.map +1 -1
  11. package/dist/collection/components/q2-chart-bar/q2-chart-bar.js +20 -3
  12. package/dist/collection/components/q2-chart-bar/q2-chart-bar.js.map +1 -1
  13. package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +22 -1
  14. package/dist/collection/components/q2-chart-donut/q2-chart-donut.js.map +1 -1
  15. package/dist/collection/components/q2-select/q2-select.js +1 -2
  16. package/dist/collection/components/q2-select/q2-select.js.map +1 -1
  17. package/dist/collection/components/q2-select/test/q2-select-test.spec.js +0 -4
  18. package/dist/collection/components/q2-select/test/q2-select-test.spec.js.map +1 -1
  19. package/dist/components/q2-chart-area.js +14 -1
  20. package/dist/components/q2-chart-area.js.map +1 -1
  21. package/dist/components/q2-chart-bar.js +20 -3
  22. package/dist/components/q2-chart-bar.js.map +1 -1
  23. package/dist/components/q2-chart-donut.js +22 -1
  24. package/dist/components/q2-chart-donut.js.map +1 -1
  25. package/dist/components/q2-select2.js +1 -2
  26. package/dist/components/q2-select2.js.map +1 -1
  27. package/dist/esm/q2-chart-area.entry.js +14 -1
  28. package/dist/esm/q2-chart-area.entry.js.map +1 -1
  29. package/dist/esm/q2-chart-bar.entry.js +20 -3
  30. package/dist/esm/q2-chart-bar.entry.js.map +1 -1
  31. package/dist/esm/q2-chart-donut.entry.js +22 -1
  32. package/dist/esm/q2-chart-donut.entry.js.map +1 -1
  33. package/dist/esm/q2-select.entry.js +1 -2
  34. package/dist/esm/q2-select.entry.js.map +1 -1
  35. package/dist/q2-tecton-elements/q2-chart-area.entry.js +16 -3
  36. package/dist/q2-tecton-elements/q2-chart-area.entry.js.map +1 -1
  37. package/dist/q2-tecton-elements/q2-chart-bar.entry.js +98 -81
  38. package/dist/q2-tecton-elements/q2-chart-bar.entry.js.map +1 -1
  39. package/dist/q2-tecton-elements/q2-chart-donut.entry.js +28 -7
  40. package/dist/q2-tecton-elements/q2-chart-donut.entry.js.map +1 -1
  41. package/dist/q2-tecton-elements/q2-select.entry.js +1 -2
  42. package/dist/q2-tecton-elements/q2-select.entry.js.map +1 -1
  43. package/dist/types/components/q2-chart-bar/q2-chart-bar.d.ts +1 -0
  44. package/package.json +3 -3
@@ -4022,7 +4022,20 @@ const Q2ChartArea = class {
4022
4022
  // #endregion
4023
4023
  // #region Component Lifecycle Events
4024
4024
  disconnectedCallback() {
4025
+ // CRITICAL: Dispose eCharts instance to prevent memory leaks
4026
+ // eCharts holds references to canvas, event listeners, and animation frames
4027
+ if (this.chart) {
4028
+ this.chart.dispose();
4029
+ this.chart = null;
4030
+ }
4031
+ // Remove window resize listener
4025
4032
  window.removeEventListener('resize', this.resizeEventListener);
4033
+ // Clear cached style references that hold DOM references (Safari memory management)
4034
+ this.chartContainerStyles = null;
4035
+ this.hostElementStyles = null;
4036
+ // Clear DOM and event listener references
4037
+ this.chartContainer = null;
4038
+ this.resizeEventListener = null;
4026
4039
  }
4027
4040
  componentDidLoad() {
4028
4041
  const chart = charting.init(this.chartContainer);
@@ -4208,7 +4221,7 @@ const Q2ChartArea = class {
4208
4221
  // #endregion
4209
4222
  // #region Render Methods
4210
4223
  render() {
4211
- return (index.h("div", { key: 'def52250043e30ff84063a2fb709f968bf73edd2', class: "container" }, index.h("div", { key: 'fb4ed567e0cd828a56ae38f727b09b658a890623', ref: el => (this.chartContainer = el), class: "chart-container", role: "img", "test-id": "areaChartContainer" })));
4224
+ return (index.h("div", { key: '65fc35a8deb9c129ee3fe7227dd06c7b733cd301', class: "container" }, index.h("div", { key: '2998df4d236c7d0de38ebe42dcd47b56c21f9b7a', ref: el => (this.chartContainer = el), class: "chart-container", role: "img", "test-id": "areaChartContainer" })));
4212
4225
  }
4213
4226
  get hostElement() { return index.getElement(this); }
4214
4227
  static get watchers() { return {