@vectoriox/iox-builder 1.4.26 → 1.4.27
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
|
@@ -802,10 +802,14 @@ declare class BuilderComponent implements OnInit, AfterViewInit, OnChanges, OnDe
|
|
|
802
802
|
ngAfterViewInit(): void;
|
|
803
803
|
ngOnDestroy(): void;
|
|
804
804
|
/**
|
|
805
|
-
* Set --preview-vh on .preview-scroll so that
|
|
806
|
-
*
|
|
807
|
-
*
|
|
808
|
-
*
|
|
805
|
+
* Set --preview-vh / --preview-vw on .preview-scroll so that viewport-relative
|
|
806
|
+
* units (vh, vw) inside the canvas resolve to the simulated canvas dimensions
|
|
807
|
+
* rather than the real browser viewport.
|
|
808
|
+
*
|
|
809
|
+
* --preview-vh = canvas frame height (unscaled) / 100
|
|
810
|
+
* --preview-vw = canvas width from viewport state / 100
|
|
811
|
+
*
|
|
812
|
+
* Both fall back to their native unit in production (no variables defined).
|
|
809
813
|
*/
|
|
810
814
|
private updatePreviewVh;
|
|
811
815
|
private initLenis;
|
|
@@ -916,10 +920,12 @@ declare class StyleRegistryService {
|
|
|
916
920
|
destroy(): void;
|
|
917
921
|
private compile;
|
|
918
922
|
/**
|
|
919
|
-
* Rewrite
|
|
920
|
-
*
|
|
921
|
-
*
|
|
922
|
-
*
|
|
923
|
+
* Rewrite viewport-relative units so they resolve to the simulated canvas
|
|
924
|
+
* dimensions rather than the real browser viewport.
|
|
925
|
+
*
|
|
926
|
+
* --preview-vh / --preview-vw are set by BuilderComponent via ResizeObserver
|
|
927
|
+
* and viewport-state subscription. In production (no variables defined) the
|
|
928
|
+
* fallbacks `1vh` / `1vw` restore the original browser behaviour.
|
|
923
929
|
*/
|
|
924
930
|
private rewriteVh;
|
|
925
931
|
private toKebabCase;
|