@arach/arc-iso 0.6.0 → 0.7.0

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +7 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -22,7 +22,7 @@ export declare interface ArcConnectorStyle {
22
22
  dashed?: boolean;
23
23
  }
24
24
 
25
- export declare function ArcDiagram({ data, className, interactive, mode, theme, label, labelPosition, defaultZoom, zoomLevels, showArcToggle, showAutoLayout, showControls, showMinimap, showLegend, showFocusStory, frame, hoverEffects, onNodeHover, titleBlock, maxFitZoom, }: ArcDiagramProps): JSX.Element;
25
+ export declare function ArcDiagram({ data, className, interactive, mode, theme, label, labelPosition, defaultZoom, zoomLevels, showArcToggle, showAutoLayout, showControls, showMinimap, showLegend, showFocusStory, frame, hoverEffects, onNodeHover, titleBlock, maxFitZoom, defaultViewMode, defaultIsoStyle, }: ArcDiagramProps): JSX.Element;
26
26
 
27
27
  declare interface ArcDiagram_2 {
28
28
  layout: DiagramLayout_2;
@@ -100,6 +100,10 @@ declare interface ArcDiagramProps {
100
100
  onNodeHover?: (nodeId: string | null) => void;
101
101
  /** Override the engineering title-block fields (shown when the theme opts in). */
102
102
  titleBlock?: TitleBlockInfo;
103
+ /** Render the diagram in isometric projection. Default: '2d' */
104
+ defaultViewMode?: ViewMode_2;
105
+ /** Isometric render style — 'solid' | 'blueprint' | 'cyanotype'. Default: 'solid' */
106
+ defaultIsoStyle?: IsoStyleId;
103
107
  }
104
108
 
105
109
  declare interface ArcDiagramProps_2 {
@@ -1066,6 +1070,8 @@ export declare function validateDiagramShape(value: unknown): string | null;
1066
1070
 
1067
1071
  export declare type ViewMode = '2d' | 'isometric';
1068
1072
 
1073
+ declare type ViewMode_2 = '2d' | 'isometric';
1074
+
1069
1075
  declare interface ZoomConfig {
1070
1076
  defaultZoom?: number | 'fit';
1071
1077
  zoomLevels?: number[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arach/arc-iso",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",