@gemx-dev/clarity-visualize 0.8.61 → 0.8.62

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.
@@ -805,6 +805,7 @@ var HeatmapHelper = /** @class */ (function () {
805
805
  if (canvas === null) {
806
806
  canvas = doc.createElement("CANVAS" /* Constant.Canvas */);
807
807
  canvas.id = "clarity-heatmap-canvas" /* Constant.HeatmapCanvas */;
808
+ canvas.classList.add("clarity-heatmap-canvas" /* Constant.HeatmapCanvas */);
808
809
  canvas.width = 0;
809
810
  canvas.height = 0;
810
811
  canvas.style.position = "absolute" /* Constant.Absolute */;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gemx-dev/clarity-visualize",
3
- "version": "0.8.61",
3
+ "version": "0.8.62",
4
4
  "description": "Clarity visualize",
5
5
  "author": "Microsoft Corp.",
6
6
  "license": "MIT",
@@ -9,7 +9,7 @@
9
9
  "unpkg": "build/clarity.visualize.min.js",
10
10
  "types": "types/index.d.ts",
11
11
  "dependencies": {
12
- "@gemx-dev/clarity-decode": "^0.8.61"
12
+ "@gemx-dev/clarity-decode": "^0.8.62"
13
13
  },
14
14
  "devDependencies": {
15
15
  "@rollup/plugin-commonjs": "^24.0.0",
package/src/heatmap.ts CHANGED
@@ -198,6 +198,7 @@ export class HeatmapHelper {
198
198
  if (canvas === null) {
199
199
  canvas = doc.createElement(Constant.Canvas) as HTMLCanvasElement;
200
200
  canvas.id = Constant.HeatmapCanvas;
201
+ canvas.classList.add(Constant.HeatmapCanvas);
201
202
  canvas.width = 0;
202
203
  canvas.height = 0;
203
204
  canvas.style.position = Constant.Absolute;