@vectoriox/iox-builder 1.4.9 → 1.4.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vectoriox/iox-builder",
3
- "version": "1.4.9",
3
+ "version": "1.4.11",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=20.0.0",
6
6
  "@angular/core": ">=20.0.0",
@@ -717,6 +717,7 @@ declare class BuilderComponent implements OnInit, AfterViewInit, OnChanges, OnDe
717
717
  private lenis?;
718
718
  private lenisRafId?;
719
719
  private canvasRo?;
720
+ private previewFrameRo?;
720
721
  private canvasContentHeight;
721
722
  handleToolbarModeChange(mode: BuilderMode): void;
722
723
  handleToolbarDeviceChange(device: DeviceMode): void;
@@ -751,10 +752,10 @@ declare class BuilderComponent implements OnInit, AfterViewInit, OnChanges, OnDe
751
752
  ngAfterViewInit(): void;
752
753
  ngOnDestroy(): void;
753
754
  /**
754
- * Set --preview-vh on .preview-scroll so that vh values rewritten by
755
- * StyleRegistryService resolve to the SIMULATED viewport height, not the
756
- * real browser viewport. e.g. desktop (900px): --preview-vh = 9px 100vh = 900px.
757
- * Falls back to 1vh in production where --preview-vh is never defined.
755
+ * Set --preview-vh on .preview-scroll so that 100vh fills the visible canvas
756
+ * frame at the current scale. Value = canvas frame height ÷ scale ÷ 100, so
757
+ * calc(100 * var(--preview-vh)) equals the frame height in canvas-space pixels.
758
+ * Falls back to 1vh in the live page (no --preview-vh defined there).
758
759
  */
759
760
  private updatePreviewVh;
760
761
  private initLenis;