@vectoriox/iox-builder 1.4.12 → 1.4.14

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.12",
3
+ "version": "1.4.14",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=20.0.0",
6
6
  "@angular/core": ">=20.0.0",
@@ -708,6 +708,10 @@ declare class BuilderComponent implements OnInit, AfterViewInit, OnChanges, OnDe
708
708
  isPanning: boolean;
709
709
  panX: number;
710
710
  panY: number;
711
+ /** Canvas frame height in canvas-space pixels (= previewScroll.clientHeight / scale).
712
+ * Used as iox-page-component's height so position:fixed top:0;bottom:0 fills the
713
+ * same area as height:100vh (both resolve to this value). */
714
+ canvasFrameHeight: number;
711
715
  private panStartX;
712
716
  private panStartY;
713
717
  private panOriginX;
@@ -829,8 +833,21 @@ declare class StyleRegistryService {
829
833
  readonly changes$: Subject<void>;
830
834
  private rules;
831
835
  private styleEl;
832
- /** Properties that must live on the wrapper element to affect the parent layout. */
836
+ /**
837
+ * Properties that must live on the OUTER wrapper (.iox-outer-{id}) because they
838
+ * affect how the element participates in its PARENT layout (flex/block flow).
839
+ * Everything else goes to the INNER element (.iox-node-{id}).
840
+ *
841
+ * Exception — out-of-flow positioning (position:fixed/absolute):
842
+ * When position is fixed or absolute, width is redirected to the inner element
843
+ * (the positioned one) and a default width:100% is added if none is set, so the
844
+ * element stays visible. top/right/bottom/left/zIndex are always inner because
845
+ * they are co-ordinates of the positioned element, not the flow wrapper.
846
+ * position itself goes to inner with `!important` to beat component-scoped CSS.
847
+ */
833
848
  private static readonly OUTER_PROPS;
849
+ /** Properties that need !important on the inner element to beat Angular's scoped-CSS specificity boost. */
850
+ private static readonly IMPORTANT_PROPS;
834
851
  init(): void;
835
852
  /**
836
853
  * Write or update the base styles for a node, or a pseudo-class state override.