diff --git a/packages/core/package.json b/packages/core/package.json index 52c7ef70a..20a48950a 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,7 +1,7 @@ { "name": "@thatopen/components", "description": "Collection of core functionalities to author BIM apps.", - "version": "2.4.0-alpha.14", + "version": "2.4.0-alpha.15", "author": "That Open Company", "contributors": [ "Antonio Gonzalez Viegas (https://github.com/agviegas)", @@ -37,7 +37,7 @@ "access": "public" }, "devDependencies": { - "@thatopen/fragments": ">=2.4.0-alpha.8", + "@thatopen/fragments": ">=2.4.0-alpha.9", "@thatopen/ui": "~2.3.0", "@types/three": "0.160.0", "stats.js": "^0.17.0", @@ -51,7 +51,7 @@ "three-mesh-bvh": "0.7.0" }, "peerDependencies": { - "@thatopen/fragments": ">=2.4.0-alpha.8", + "@thatopen/fragments": ">=2.4.0-alpha.9", "three": "^0.160.1", "web-ifc": "0.0.61" } diff --git a/packages/core/src/core/Types/src/component-with-ui.ts b/packages/core/src/core/Types/src/component-with-ui.ts index 4ea26a2b0..fc4d2245f 100644 --- a/packages/core/src/core/Types/src/component-with-ui.ts +++ b/packages/core/src/core/Types/src/component-with-ui.ts @@ -2,10 +2,10 @@ import { Component } from "./component"; export type ComponentUIElement = { name: string; - enabled: boolean; componentID: string; attributes: { [name: string]: string }; get: () => HTMLElement; + disabled?: boolean; }; export abstract class ComponentWithUI extends Component { diff --git a/packages/front/package.json b/packages/front/package.json index 75c314ca8..24a3b125f 100644 --- a/packages/front/package.json +++ b/packages/front/package.json @@ -33,12 +33,12 @@ "publish-alpha": "npm publish --tag alpha" }, "peerDependencies": { - "@thatopen/fragments": ">=2.4.0-alpha.8", + "@thatopen/fragments": ">=2.4.0-alpha.9", "three": "^0.160.1", "web-ifc": "0.0.61" }, "devDependencies": { - "@thatopen/fragments": ">=2.4.0-alpha.8", + "@thatopen/fragments": ">=2.4.0-alpha.9", "@thatopen/ui": "~2.3.0", "@thatopen/ui-obc": "~2.3.0", "@types/earcut": "^2.1.4", @@ -47,7 +47,7 @@ "web-ifc": "0.0.61" }, "dependencies": { - "@thatopen/components": ">=2.4.0-alpha.13", + "@thatopen/components": ">=2.4.0-alpha.15", "camera-controls": "2.7.3", "dexie": "^4.0.4", "earcut": "^2.2.4", diff --git a/yarn.lock b/yarn.lock index 60dec658f..6ec6a5ce5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -689,8 +689,8 @@ __metadata: version: 0.0.0-use.local resolution: "@thatopen/components-front@workspace:packages/front" dependencies: - "@thatopen/components": ">=2.4.0-alpha.13" - "@thatopen/fragments": ">=2.4.0-alpha.8" + "@thatopen/components": ">=2.4.0-alpha.14" + "@thatopen/fragments": ">=2.4.0-alpha.9" "@thatopen/ui": ~2.3.0 "@thatopen/ui-obc": ~2.3.0 "@types/earcut": ^2.1.4 @@ -703,17 +703,17 @@ __metadata: three: ^0.160.1 web-ifc: 0.0.61 peerDependencies: - "@thatopen/fragments": ">=2.4.0-alpha.8" + "@thatopen/fragments": ">=2.4.0-alpha.9" three: ^0.160.1 web-ifc: 0.0.61 languageName: unknown linkType: soft -"@thatopen/components@>=2.4.0-alpha.13, @thatopen/components@workspace:packages/core": +"@thatopen/components@>=2.4.0-alpha.14, @thatopen/components@workspace:packages/core": version: 0.0.0-use.local resolution: "@thatopen/components@workspace:packages/core" dependencies: - "@thatopen/fragments": ">=2.4.0-alpha.8" + "@thatopen/fragments": ">=2.4.0-alpha.9" "@thatopen/ui": ~2.3.0 "@types/three": 0.160.0 camera-controls: 2.7.3 @@ -724,21 +724,21 @@ __metadata: three-mesh-bvh: 0.7.0 web-ifc: 0.0.61 peerDependencies: - "@thatopen/fragments": ">=2.4.0-alpha.8" + "@thatopen/fragments": ">=2.4.0-alpha.9" three: ^0.160.1 web-ifc: 0.0.61 languageName: unknown linkType: soft -"@thatopen/fragments@npm:>=2.4.0-alpha.8": - version: 2.4.0-alpha.8 - resolution: "@thatopen/fragments@npm:2.4.0-alpha.8" +"@thatopen/fragments@npm:>=2.4.0-alpha.9": + version: 2.4.0-alpha.9 + resolution: "@thatopen/fragments@npm:2.4.0-alpha.9" dependencies: flatbuffers: 23.3.3 three-mesh-bvh: 0.7.0 peerDependencies: three: ^0.160.1 - checksum: d4be85ef5f96d892be594675192ba037550135f8ba1243a2875dd5c8b9eb72059b7e110a2f8bbbdc6f8d1c696a986c688c7fd70bf410ffadea1dd7b09fc8cb35 + checksum: 260ee1be9268412b9b810fac5300c0cd600797c885c51c6812eaef2ad2a234b3e34f874348e02dc88c505872cbdabfb47f2be2593cfb138e55d1b70861a7e6c9 languageName: node linkType: hard