@syncfusion/ej2-treemap 19.3.53 → 19.4.38

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,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-treemap@*",
3
- "_id": "@syncfusion/ej2-treemap@16.25.1",
3
+ "_id": "@syncfusion/ej2-treemap@16.28.1",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-wC49WCDP1gwnssmaXw+q3KABDbjdwcRg/lgNd/XFTM1gCQDVREbk0ki4vGqyPtcCtYmy10Os4Kq9ikrmTlyL9g==",
5
+ "_integrity": "sha512-Iy/+1aBnp4r7ljoh40MlLZjy3qQ5BX9t1wEcSaZrjGqdmJnJiHWCChBNlLSbCZN4seENkhkLP9FZ1tysjJMJ8Q==",
6
6
  "_location": "/@syncfusion/ej2-treemap",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -23,8 +23,8 @@
23
23
  "/@syncfusion/ej2-react-treemap",
24
24
  "/@syncfusion/ej2-vue-treemap"
25
25
  ],
26
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-treemap/-/ej2-treemap-16.25.1.tgz",
27
- "_shasum": "3dadad272c2f405e19f182ad9c1a4652c66b4a3b",
26
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-treemap/-/ej2-treemap-16.28.1.tgz",
27
+ "_shasum": "eef18fe35e45cf02701889a03f6626019710d6f6",
28
28
  "_spec": "@syncfusion/ej2-treemap@*",
29
29
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
30
30
  "author": {
@@ -35,12 +35,12 @@
35
35
  },
36
36
  "bundleDependencies": false,
37
37
  "dependencies": {
38
- "@syncfusion/ej2-base": "~19.3.53",
39
- "@syncfusion/ej2-compression": "~19.3.53",
40
- "@syncfusion/ej2-data": "~19.3.53",
41
- "@syncfusion/ej2-file-utils": "~19.3.53",
42
- "@syncfusion/ej2-pdf-export": "~19.3.53",
43
- "@syncfusion/ej2-svg-base": "~19.3.53"
38
+ "@syncfusion/ej2-base": "~19.4.38",
39
+ "@syncfusion/ej2-compression": "~19.4.38",
40
+ "@syncfusion/ej2-data": "~19.4.38",
41
+ "@syncfusion/ej2-file-utils": "~19.4.38",
42
+ "@syncfusion/ej2-pdf-export": "~19.4.38",
43
+ "@syncfusion/ej2-svg-base": "~19.4.38"
44
44
  },
45
45
  "deprecated": false,
46
46
  "description": "Essential JS 2 TreeMap Components",
@@ -73,6 +73,6 @@
73
73
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
74
74
  },
75
75
  "typings": "index.d.ts",
76
- "version": "19.3.53",
76
+ "version": "19.4.38",
77
77
  "sideEffects": false
78
78
  }
@@ -571,7 +571,7 @@ var LayoutPanel = /** @class */ (function () {
571
571
  for (var i = 0; i < this.renderItems.length; i++) {
572
572
  _loop_1(i);
573
573
  }
574
- if (templateGroup.childNodes.length > 0 && !isNullOrUndefined(secondaryEle)) {
574
+ if (templateGroup.childNodes.length > 0) {
575
575
  secondaryEle.appendChild(templateGroup);
576
576
  }
577
577
  this.treemap.svgObject.appendChild(this.layoutGroup);
@@ -148,6 +148,40 @@ export function getThemeStyle(theme) {
148
148
  labelFontFamily: 'Helvetica Neue'
149
149
  };
150
150
  break;
151
+ case 'fluentui':
152
+ style = {
153
+ backgroundColor: 'rgba(255,255,255, 0.0)',
154
+ titleFontColor: '#201F1E',
155
+ subTitleFontColor: '#201F1E',
156
+ tooltipFillColor: '#FFFFFF',
157
+ tooltipFontColor: '#323130',
158
+ tooltipFillOpacity: 1,
159
+ tooltipTextOpacity: 1,
160
+ legendTitleColor: '#201F1E',
161
+ legendTextColor: '#201F1E',
162
+ fontFamily: 'Segoe UI',
163
+ fontSize: '14px',
164
+ legendFontSize: '12px',
165
+ labelFontFamily: 'Segoe UI'
166
+ };
167
+ break;
168
+ case 'fluentuidark':
169
+ style = {
170
+ backgroundColor: 'rgba(255,255,255, 0.0)',
171
+ titleFontColor: '#F3F2F1',
172
+ subTitleFontColor: '#F3F2F1',
173
+ tooltipFillColor: '#252423',
174
+ tooltipFontColor: '#F3F2F1',
175
+ tooltipFillOpacity: 1,
176
+ tooltipTextOpacity: 1,
177
+ legendTitleColor: '#F3F2F1',
178
+ legendTextColor: '#F3F2F1',
179
+ fontFamily: 'Segoe UI',
180
+ fontSize: '14px',
181
+ legendFontSize: '12px',
182
+ labelFontFamily: 'Segoe UI'
183
+ };
184
+ break;
151
185
  default:
152
186
  style = {
153
187
  backgroundColor: '#FFFFFF',
@@ -427,13 +427,11 @@ export function findLabelLocation(rect, position, labelSize, type, treemap) {
427
427
  }
428
428
  export function measureElement(element, parentElement) {
429
429
  var size = new Size(0, 0);
430
- if (!isNullOrUndefined(parentElement)) {
431
- parentElement.appendChild(element);
432
- size.height = element.offsetHeight;
433
- size.width = element.offsetWidth;
434
- var measureElementId = document.getElementById(element.id);
435
- measureElementId.parentNode.removeChild(measureElementId);
436
- }
430
+ parentElement.appendChild(element);
431
+ size.height = element.offsetHeight;
432
+ size.width = element.offsetWidth;
433
+ var measureElementId = document.getElementById(element.id);
434
+ measureElementId.parentNode.removeChild(measureElementId);
437
435
  return size;
438
436
  }
439
437
  export function getArea(rect) {