@arach/arc-iso 0.7.0 → 0.9.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/dist/index.d.ts CHANGED
@@ -333,6 +333,8 @@ export declare interface DiagramConfig {
333
333
  theme: 'dark' | 'light';
334
334
  /** Render style: shaded solids, or a technical line-art plate. */
335
335
  style?: IsoStyleId;
336
+ /** Flat mineral inks and deterministic stipple; defaults to the existing material. */
337
+ material?: 'standard' | 'retro-print';
336
338
  canvas: {
337
339
  width: number;
338
340
  height: number;
@@ -829,6 +831,14 @@ export declare interface NodePosition {
829
831
  z?: number;
830
832
  isoHeight?: number;
831
833
  isoDepth?: number;
834
+ /** Painter's-algorithm bias when two boxes occupy the same volume. Higher draws later (in front). */
835
+ isoOrder?: number;
836
+ /** Top-face label axis. Omit / `auto` = along the longer edge. */
837
+ isoLabelDir?: 'auto' | 'x' | 'y';
838
+ /** Rotate the print 180° on the face. */
839
+ isoLabelFlip?: boolean;
840
+ /** Typeface for the printed label. Omit / `theme` follows the diagram brand. */
841
+ isoLabelFont?: 'theme' | 'ui' | 'mono';
832
842
  }
833
843
 
834
844
  declare interface NodePosition_2 {
@@ -1076,6 +1086,9 @@ declare interface ZoomConfig {
1076
1086
  defaultZoom?: number | 'fit';
1077
1087
  zoomLevels?: number[];
1078
1088
  zoomStep?: number;
1089
+ /** Cap for `defaultZoom: 'fit'` / Fit. Embeds stay at 1 so a small diagram
1090
+ * isn't blown up; the editor passes 2 so the drawing can fill the view. */
1091
+ maxFitZoom?: number;
1079
1092
  }
1080
1093
 
1081
1094
  export { }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arach/arc-iso",
3
- "version": "0.7.0",
3
+ "version": "0.9.1",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",