@thatopen/components 2.1.0 → 2.1.1

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.
@@ -33,6 +33,10 @@ export declare class VertexPicker extends Component implements Disposable {
33
33
  * The event passes a THREE.Vector3 representing the position of the lost vertex.
34
34
  */
35
35
  readonly onVertexLost: Event<THREE.Vector3>;
36
+ /**
37
+ * An event that is triggered when the picker is enabled or disabled
38
+ */
39
+ readonly onEnabled: Event<boolean>;
36
40
  /**
37
41
  * A reference to the Components instance associated with this VertexPicker.
38
42
  */
package/package.json CHANGED
@@ -1,56 +1,56 @@
1
- {
2
- "name": "@thatopen/components",
3
- "description": "Collection of core functionalities to author BIM apps.",
4
- "version": "2.1.0",
5
- "author": "That Open Company",
6
- "contributors": [
7
- "Antonio Gonzalez Viegas (https://github.com/agviegas)",
8
- "Juan Hoyos (https://github.com/HoyosJuan)",
9
- "Harry Collin (https://github.com/harrycollin)"
10
- ],
11
- "license": "MIT",
12
- "homepage": "https://github.com/ThatOpen/engine_components/tree/main/packages/components#readme",
13
- "bugs": {
14
- "url": "https://github.com/ThatOpen/engine_components/issues"
15
- },
16
- "type": "module",
17
- "main": "dist/index.cjs",
18
- "module": "dist/index.mjs",
19
- "types": "dist/index.d.ts",
20
- "files": [
21
- "dist"
22
- ],
23
- "repository": {
24
- "type": "git",
25
- "url": "git+https://github.com/ThatOpen/engine_components/tree/main/packages/components.git"
26
- },
27
- "packageManager": "yarn@3.2.1",
28
- "scripts": {
29
- "dev": "vite --host",
30
- "test": "jest",
31
- "build": "tsc --p ./tsconfig-build.json && vite build",
32
- "prepublishOnly": "node ./resources/updateComponentsVersion.mjs && yarn build",
33
- "publish-repo": "npm publish",
34
- "publish-alpha": "npm publish --tag alpha"
35
- },
36
- "publishConfig": {
37
- "access": "public"
38
- },
39
- "devDependencies": {
40
- "@thatopen/fragments": "~2.1.0",
41
- "@thatopen/ui": "~2.0.0",
42
- "@types/three": "0.160.0",
43
- "stats.js": "^0.17.0",
44
- "three": "^0.160.1",
45
- "web-ifc": "0.0.55"
46
- },
47
- "dependencies": {
48
- "camera-controls": "2.7.3",
49
- "three-mesh-bvh": "0.7.0"
50
- },
51
- "peerDependencies": {
52
- "@thatopen/fragments": "~2.1.0",
53
- "three": "^0.160.1",
54
- "web-ifc": "0.0.55"
55
- }
56
- }
1
+ {
2
+ "name": "@thatopen/components",
3
+ "description": "Collection of core functionalities to author BIM apps.",
4
+ "version": "2.1.1",
5
+ "author": "That Open Company",
6
+ "contributors": [
7
+ "Antonio Gonzalez Viegas (https://github.com/agviegas)",
8
+ "Juan Hoyos (https://github.com/HoyosJuan)",
9
+ "Harry Collin (https://github.com/harrycollin)"
10
+ ],
11
+ "license": "MIT",
12
+ "homepage": "https://github.com/ThatOpen/engine_components/tree/main/packages/components#readme",
13
+ "bugs": {
14
+ "url": "https://github.com/ThatOpen/engine_components/issues"
15
+ },
16
+ "type": "module",
17
+ "main": "dist/index.cjs",
18
+ "module": "dist/index.mjs",
19
+ "types": "dist/index.d.ts",
20
+ "files": [
21
+ "dist"
22
+ ],
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "git+https://github.com/ThatOpen/engine_components/tree/main/packages/components.git"
26
+ },
27
+ "packageManager": "yarn@3.2.1",
28
+ "scripts": {
29
+ "dev": "vite --host",
30
+ "test": "jest",
31
+ "build": "tsc --p ./tsconfig-build.json && vite build",
32
+ "prepublishOnly": "node ./resources/updateComponentsVersion.mjs && yarn build",
33
+ "publish-repo": "npm publish",
34
+ "publish-alpha": "npm publish --tag alpha"
35
+ },
36
+ "publishConfig": {
37
+ "access": "public"
38
+ },
39
+ "devDependencies": {
40
+ "@thatopen/fragments": "~2.1.0",
41
+ "@thatopen/ui": "~2.1.0",
42
+ "@types/three": "0.160.0",
43
+ "stats.js": "^0.17.0",
44
+ "three": "^0.160.1",
45
+ "web-ifc": "0.0.55"
46
+ },
47
+ "dependencies": {
48
+ "camera-controls": "2.7.3",
49
+ "three-mesh-bvh": "0.7.0"
50
+ },
51
+ "peerDependencies": {
52
+ "@thatopen/fragments": "~2.1.0",
53
+ "three": "^0.160.1",
54
+ "web-ifc": "0.0.55"
55
+ }
56
+ }