@archilogic/extension-sdk 0.13.0 → 0.13.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @archilogic/extension-sdk
2
2
 
3
+ ## 0.13.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 5b9044b: Update `@archilogic` engine and SDK dependencies to their latest releases: `floor-plan-core`/`floor-plan-webgl` `5.8.0`, `floor-plan-io` `5.21.1`, `space-graph-core`/`space-graph-io` `0.25.6`, `spaceapi-sdk` `4.2.0`, `taxonomy` `1.5.0`, and `types` `4.12.0`.
8
+
3
9
  ## 0.13.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -2292,6 +2292,8 @@ declare class LayoutWall extends LayoutEdgeElementBase {
2292
2292
  constructor(id: string, edges: SpatialGraphEdge[]);
2293
2293
  copyForClone(wall: LayoutWall): void;
2294
2294
  setParameters(parameters: RecursivePartial<LayoutWallParameters>): void;
2295
+ insertElement(element: LayoutElement): void;
2296
+ removeElement(element: LayoutElement): void;
2295
2297
  calculateBoundingBox(): BoundingBox3d;
2296
2298
  }
2297
2299
 
@@ -2448,14 +2450,14 @@ declare type NodeLabel = {
2448
2450
  text?: Rgb;
2449
2451
  textOutline?: boolean;
2450
2452
  /** Only render the label when zoom is within [min, max]. */
2451
- visible?: [number, number];
2453
+ visible?: ZoomRange;
2452
2454
  /**
2453
2455
  * Controls fixed screen size (1/zoom) scaling:
2454
2456
  * - `false`: render at world scale
2455
2457
  * - `true` or omitted: always apply 1/zoom scaling
2456
2458
  * - `[min, max]`: apply 1/zoom scaling within the zoom range; outside it, clamp to the scale at the boundary (1/min or 1/max) to avoid jumps
2457
2459
  */
2458
- fixedScreenSize?: boolean | [number, number];
2460
+ fixedScreenSize?: boolean | ZoomRange;
2459
2461
  };
2460
2462
 
2461
2463
  declare type NodeResult = {
@@ -4065,4 +4067,7 @@ declare type ViewUpdateValue = Partial<LayoutViewJson> & {
4065
4067
  parameters?: Partial<LayoutViewJson['parameters']>;
4066
4068
  };
4067
4069
 
4070
+ /** A `[min, max]` zoom range (inclusive bounds) used for zoom-dependent rendering. */
4071
+ declare type ZoomRange = [min: number, max: number];
4072
+
4068
4073
  export { }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@archilogic/extension-sdk",
3
3
  "description": "",
4
- "version": "0.13.0",
4
+ "version": "0.13.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -28,9 +28,9 @@
28
28
  }
29
29
  },
30
30
  "devDependencies": {
31
- "@archilogic/floor-plan-core": "^5.5.0",
31
+ "@archilogic/floor-plan-core": "^5.8.0",
32
32
  "@archilogic/space-graph-sdk": "^0.9.0",
33
- "vite-plugin-static-copy": "^3.1.4"
33
+ "vite-plugin-static-copy": "^4.1.1"
34
34
  },
35
35
  "nx": {}
36
36
  }