@cognite/reveal 4.2.0-dev.20230428 → 4.2.0-dev.20230501

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.
@@ -12,11 +12,11 @@ export interface Image360Annotation {
12
12
  */
13
13
  readonly annotation: AnnotationModel;
14
14
  /**
15
- * Set the display color of this annotation. Default: Color(1, 1, 0)
15
+ * Set the display color of this annotation. Default: Random, based on annotation label
16
16
  */
17
17
  setColor(color?: Color): void;
18
18
  /**
19
19
  * Set whether this annotation should be visible. Default: true
20
20
  */
21
- setVisibility(visible?: boolean): void;
21
+ setVisible(visible?: boolean): void;
22
22
  }
@@ -22,6 +22,6 @@ export declare class ImageAnnotationObject implements Image360Annotation {
22
22
  updateMaterial(): void;
23
23
  setDefaultStyle(appearance: Image360AnnotationAppearance): void;
24
24
  setColor(color?: Color): void;
25
- setVisibility(visible?: boolean): void;
25
+ setVisible(visible?: boolean): void;
26
26
  }
27
27
  export {};
@@ -7,11 +7,11 @@ import { Color } from 'three';
7
7
  */
8
8
  export type Image360AnnotationAppearance = {
9
9
  /**
10
- * The color of the annotation. Default: THREE.Color(1, 1, 0)
10
+ * The color of the annotation. Default: Random, based on annotation label
11
11
  */
12
12
  color?: Color;
13
13
  /**
14
14
  * Whether the annotation is visible. Default: true
15
15
  */
16
- visibility?: boolean;
16
+ visible?: boolean;
17
17
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cognite/reveal",
3
- "version": "4.2.0-dev.20230428",
3
+ "version": "4.2.0-dev.20230501",
4
4
  "description": "WebGL based 3D viewer for CAD and point clouds processed in Cognite Data Fusion.",
5
5
  "homepage": "https://github.com/cognitedata/reveal/tree/master/viewer",
6
6
  "repository": {
@@ -125,7 +125,7 @@
125
125
  "nock": "13.3.0",
126
126
  "prettier": "2.8.8",
127
127
  "process": "0.11.10",
128
- "puppeteer": "19.10.1",
128
+ "puppeteer": "19.11.0",
129
129
  "random-seed": "0.3.0",
130
130
  "raw-loader": "4.0.2",
131
131
  "remove-files-webpack-plugin": "1.5.0",