@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/arc-iso-slim.es.js +1192 -730
- package/dist/arc-iso-slim.umd.js +7 -7
- package/dist/arc-iso.es.js +1648 -1186
- package/dist/arc-iso.umd.js +27 -27
- package/dist/index.d.ts +11 -0
- package/package.json +1 -1
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 { }
|