@politicalwatch/tipi-uikit 1.7.6 → 1.7.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@politicalwatch/tipi-uikit",
3
- "version": "1.7.6",
3
+ "version": "1.7.8",
4
4
  "main": "src/components/index.js",
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -262,8 +262,8 @@ class d3sunburst extends d3chart {
262
262
 
263
263
  console.log('VALOR DE D en mouseover', d);
264
264
  const text = this.cfg.tooltip.suffix
265
- ? `<div>${d.target.data[this.cfg.key]}: ${d.target.value} ${label}</div>`
266
- : `<div>${d.target.data[this.cfg.key]}: ${d.target.value}</div>`;
265
+ ? `<div>${d.target.__data__.data[this.cfg.key]}: ${d.target.__data__.data.value} ${label}</div>`
266
+ : `<div>${d.target.__data__.data[this.cfg.key]}: ${d.target.__data__.data.value}</div>`;
267
267
  this.tooltip.html(text).classed('active', true);
268
268
  })
269
269
  .on('mouseout', () => {