@syncfusion/ej2-treemap 19.4.52 → 20.1.47
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/dist/ej2-treemap.umd.min.js +2 -2
- package/dist/ej2-treemap.umd.min.js.map +1 -1
- package/dist/es6/ej2-treemap.es2015.js +8 -4
- package/dist/es6/ej2-treemap.es2015.js.map +1 -1
- package/dist/es6/ej2-treemap.es5.js +8 -4
- package/dist/es6/ej2-treemap.es5.js.map +1 -1
- package/dist/global/ej2-treemap.min.js +2 -2
- package/dist/global/ej2-treemap.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +11 -11
- package/src/treemap/model/pdf-export.js +2 -2
- package/src/treemap/model/theme.js +2 -2
- package/src/treemap/user-interaction/tooltip.js +4 -0
- package/src/treemap/utils/enum.d.ts +5 -1
|
@@ -2429,7 +2429,7 @@ function getThemeStyle(theme) {
|
|
|
2429
2429
|
labelFontFamily: 'Helvetica Neue'
|
|
2430
2430
|
};
|
|
2431
2431
|
break;
|
|
2432
|
-
case '
|
|
2432
|
+
case 'fluent':
|
|
2433
2433
|
style = {
|
|
2434
2434
|
backgroundColor: 'rgba(255,255,255, 0.0)',
|
|
2435
2435
|
titleFontColor: '#201F1E',
|
|
@@ -2446,7 +2446,7 @@ function getThemeStyle(theme) {
|
|
|
2446
2446
|
labelFontFamily: 'Segoe UI'
|
|
2447
2447
|
};
|
|
2448
2448
|
break;
|
|
2449
|
-
case '
|
|
2449
|
+
case 'fluentdark':
|
|
2450
2450
|
style = {
|
|
2451
2451
|
backgroundColor: 'rgba(255,255,255, 0.0)',
|
|
2452
2452
|
titleFontColor: '#F3F2F1',
|
|
@@ -2692,8 +2692,8 @@ class PdfExport {
|
|
|
2692
2692
|
const backgroundElement = exportElement.childNodes[0];
|
|
2693
2693
|
if (!isNullOrUndefined(backgroundElement)) {
|
|
2694
2694
|
const backgroundColor = backgroundElement.getAttribute('fill');
|
|
2695
|
-
if ((this.control.theme === 'Tailwind' || this.control.theme === 'TailwindDark' || this.control.theme === 'Bootstrap5' || this.control.theme === 'Bootstrap5Dark'
|
|
2696
|
-
&& (backgroundColor === 'rgba(255,255,255, 0.0)' || backgroundColor === 'transparent')) {
|
|
2695
|
+
if ((this.control.theme === 'Tailwind' || this.control.theme === 'TailwindDark' || this.control.theme === 'Bootstrap5' || this.control.theme === 'Bootstrap5Dark'
|
|
2696
|
+
|| this.control.theme === 'Fluent' || this.control.theme === 'FluentDark') && (backgroundColor === 'rgba(255,255,255, 0.0)' || backgroundColor === 'transparent')) {
|
|
2697
2697
|
exportElement.childNodes[0].setAttribute('fill', 'rgba(255,255,255, 1)');
|
|
2698
2698
|
}
|
|
2699
2699
|
}
|
|
@@ -5601,6 +5601,10 @@ class TreeMapTooltip {
|
|
|
5601
5601
|
textStyle: args['textStyle'],
|
|
5602
5602
|
fill: this.treemap.tooltipSettings.fill ? this.treemap.tooltipSettings.fill : this.treemap.themeStyle.tooltipFillColor
|
|
5603
5603
|
});
|
|
5604
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5605
|
+
if (this.treemap.isVue || this.treemap.isVue3) {
|
|
5606
|
+
this.svgTooltip.controlInstance = this.treemap;
|
|
5607
|
+
}
|
|
5604
5608
|
this.svgTooltip.opacity = this.treemap.themeStyle.tooltipFillOpacity || this.svgTooltip.opacity;
|
|
5605
5609
|
this.svgTooltip.appendTo(tooltipEle);
|
|
5606
5610
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|