@arach/arc-iso 0.7.0 → 0.8.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.
package/dist/index.d.ts CHANGED
@@ -829,6 +829,14 @@ export declare interface NodePosition {
829
829
  z?: number;
830
830
  isoHeight?: number;
831
831
  isoDepth?: number;
832
+ /** Painter's-algorithm bias when two boxes occupy the same volume. Higher draws later (in front). */
833
+ isoOrder?: number;
834
+ /** Top-face label axis. Omit / `auto` = along the longer edge. */
835
+ isoLabelDir?: 'auto' | 'x' | 'y';
836
+ /** Rotate the print 180° on the face. */
837
+ isoLabelFlip?: boolean;
838
+ /** Typeface for the printed label. Omit / `theme` follows the diagram brand. */
839
+ isoLabelFont?: 'theme' | 'ui' | 'mono';
832
840
  }
833
841
 
834
842
  declare interface NodePosition_2 {
@@ -1076,6 +1084,9 @@ declare interface ZoomConfig {
1076
1084
  defaultZoom?: number | 'fit';
1077
1085
  zoomLevels?: number[];
1078
1086
  zoomStep?: number;
1087
+ /** Cap for `defaultZoom: 'fit'` / Fit. Embeds stay at 1 so a small diagram
1088
+ * isn't blown up; the editor passes 2 so the drawing can fill the view. */
1089
+ maxFitZoom?: number;
1079
1090
  }
1080
1091
 
1081
1092
  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.8.0",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",