@smartnet360/svelte-components 0.0.31 → 0.0.32

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.
@@ -274,8 +274,9 @@
274
274
  containerSize.height = height;
275
275
 
276
276
  if (chartDiv && chartDiv.children.length > 0) {
277
- // Use Plotly.Plots.resize for better performance than full re-render
278
- Plotly.Plots.resize(chartDiv);
277
+ // Re-render chart to apply size-based adaptations
278
+ // This recalculates layout with new containerSize for proper adaptation
279
+ renderChart();
279
280
  }
280
281
  }
281
282
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartnet360/svelte-components",
3
- "version": "0.0.31",
3
+ "version": "0.0.32",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run prepack",