@archilogic/floor-plan-sdk 5.0.0-beta.15 → 5.0.0-beta.16

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/dist/fpe.api.json CHANGED
@@ -708,8 +708,8 @@
708
708
  },
709
709
  {
710
710
  "kind": "Reference",
711
- "text": "StyleProps",
712
- "canonicalReference": "@archilogic/floor-plan-sdk!~StyleProps:interface"
711
+ "text": "ShapeStyle",
712
+ "canonicalReference": "@archilogic/floor-plan-sdk!~ShapeStyle:interface"
713
713
  },
714
714
  {
715
715
  "kind": "Content",
@@ -793,8 +793,8 @@
793
793
  },
794
794
  {
795
795
  "kind": "Reference",
796
- "text": "StyleProps",
797
- "canonicalReference": "@archilogic/floor-plan-sdk!~StyleProps:interface"
796
+ "text": "ShapeStyle",
797
+ "canonicalReference": "@archilogic/floor-plan-sdk!~ShapeStyle:interface"
798
798
  },
799
799
  {
800
800
  "kind": "Content",
package/dist/fpe.d.ts CHANGED
@@ -2711,11 +2711,6 @@ interface ApiUrls {
2711
2711
  apiProductDataPath?: string;
2712
2712
  }
2713
2713
  declare const setApiUrls: ({ apiStorageUrl: newApiStorageUrl, spaceApiUrl, apiProductDataPath: newApiProductDataPath }?: ApiUrls) => void;
2714
- /** style definition used internally for rendering a node */
2715
- interface StyleProps extends ShapeStyle {
2716
- /** draw a dashed contour */
2717
- dash?: boolean;
2718
- }
2719
2714
 
2720
2715
  interface InfoWindowArgs {
2721
2716
  /** pixel width of the window - default 100 */
@@ -2853,7 +2848,7 @@ interface PlanGraphicArgs extends GraphicArgs {
2853
2848
  }
2854
2849
  type GraphicUpdate = {
2855
2850
  position?: Vector2$3;
2856
- style?: StyleProps;
2851
+ style?: ShapeStyle;
2857
2852
  shapes?: Shape[];
2858
2853
  };
2859
2854
  declare class PlanGraphic {
@@ -3004,8 +2999,8 @@ declare class FloorPlanEngine extends FloorPlanCore {
3004
2999
  * @param {StartupOptions} args - Startup options
3005
3000
  */
3006
3001
  set(args: FpeConfig): void;
3007
- drawNodePreview(id: string, layout: SpaceGraphLayout, layer: PlanLayer, style?: StyleProps): void;
3008
- drawNodeUpdate(id: string, style?: 'selected' | StyleProps | false): void;
3002
+ drawNodePreview(id: string, layout: SpaceGraphLayout, layer: PlanLayer, style?: ShapeStyle): void;
3003
+ drawNodeUpdate(id: string, style?: 'selected' | ShapeStyle | false): void;
3009
3004
  drawResourceUpdate({ resourceId }: {
3010
3005
  resourceId: string;
3011
3006
  }): void;