@gemx-dev/clarity-visualize 0.8.59 → 0.8.61
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.
|
@@ -415,6 +415,7 @@ function createParentWindowCanvas(iframeDoc, portalCanvasId) {
|
|
|
415
415
|
if (canvas_1 === null) {
|
|
416
416
|
canvas_1 = parentDoc.createElement('canvas');
|
|
417
417
|
canvas_1.id = canvasId;
|
|
418
|
+
canvas_1.classList.add("clarity-heatmap-canvas" /* Constant.HeatmapCanvas */);
|
|
418
419
|
canvas_1.width = 0;
|
|
419
420
|
canvas_1.height = 0;
|
|
420
421
|
canvas_1.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.
|
|
3
|
+
"version": "0.8.61",
|
|
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.
|
|
12
|
+
"@gemx-dev/clarity-decode": "^0.8.61"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@rollup/plugin-commonjs": "^24.0.0",
|
|
@@ -35,7 +35,6 @@ export function createParentWindowCanvas(
|
|
|
35
35
|
throw new Error('Not in iframe: ' + iframeDoc.defaultView);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
|
|
39
38
|
try {
|
|
40
39
|
const parentWindow = iframeDoc.defaultView?.parent;
|
|
41
40
|
const parentDoc = parentWindow?.document;
|
|
@@ -55,6 +54,7 @@ export function createParentWindowCanvas(
|
|
|
55
54
|
if (canvas === null) {
|
|
56
55
|
canvas = parentDoc.createElement('canvas');
|
|
57
56
|
canvas.id = canvasId;
|
|
57
|
+
canvas.classList.add(Constant.HeatmapCanvas);
|
|
58
58
|
canvas.width = 0;
|
|
59
59
|
canvas.height = 0;
|
|
60
60
|
canvas.style.position = Constant.Absolute;
|