@vectoriox/iox-builder 11.11.1 → 11.12.1

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/index.d.ts CHANGED
@@ -143,7 +143,9 @@ interface InteractionAction {
143
143
  duration: number;
144
144
  /** Delay in milliseconds before the action starts. */
145
145
  delay: number;
146
- easing: 'linear' | 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out';
146
+ /** G6 (D8): a CSS keyword, a `cubic-bezier()`, or the NAME of one of the look's easing tokens (`ease-standard`,
147
+ * `ease-enter`, `ease-exit`, `ease-spring`) — resolved by both runtimes through iox-ui's `resolveInteractionEasing`. */
148
+ easing: string;
147
149
  /**
148
150
  * Extra parameters — `{ distance: 20 }` for move actions. For `setContext`/`clearContext` this
149
151
  * holds a `SetContextParams` (`{ slot, value, noReverse? }`), read structurally by the shared
@@ -208,6 +210,7 @@ declare const ACTION_TYPE_OPTIONS: {
208
210
  value: InteractionActionType;
209
211
  label: string;
210
212
  }[];
213
+ /** The keyword easings — the panel lists the look's easing tokens (iox-ui `EASING_TOKENS`) and a custom curve beside them. */
211
214
  declare const EASING_OPTIONS: string[];
212
215
  /**
213
216
  * A named, reusable collection of CSS style properties stored at the org level.
@@ -245,7 +248,7 @@ interface InteractionPreset {
245
248
  name: string;
246
249
  interactions: IoxInteraction[];
247
250
  }
248
- type ElementState = 'hover' | 'active' | 'focus' | 'first-child' | 'last-child' | 'nth-child(odd)' | 'nth-child(even)' | 'parent-hover' | 'trigger-hover' | 'trigger-on' | 'wrong' | 'accepted' | 'current' | 'on';
251
+ type ElementState = 'hover' | 'active' | 'focus' | 'first-child' | 'last-child' | 'nth-child(odd)' | 'nth-child(even)' | 'parent-hover' | 'trigger-hover' | 'trigger-on' | 'wrong' | 'accepted' | 'current' | 'on' | 'disabled' | 'busy' | 'selected' | 'scrolled';
249
252
  /** Interaction pseudo-classes — compiled to .iox-node-{id}:state */
250
253
  declare const INTERACTION_STATES: ElementState[];
251
254
  /** Structural pseudo-classes — matched on the outer element by the shared `planStateRule` (@vectoriox/iox-ui), the
@@ -2478,6 +2481,9 @@ declare class BuilderComponent implements OnInit, AfterViewInit, OnChanges, OnDe
2478
2481
  * Both fall back to their native unit in production (no variables defined).
2479
2482
  */
2480
2483
  private updatePreviewVh;
2484
+ /** Keep the Scrolled attribute (iox-ui SCROLLED_ATTRIBUTE) on the canvas page and the header overlay — written only
2485
+ * when it changes, so the overlay's mutation observers never wake for a scroll tick. */
2486
+ private syncScrolled;
2481
2487
  private initLenis;
2482
2488
  private destroyLenis;
2483
2489
  /**
@@ -4489,8 +4495,8 @@ declare function syncNodeDesign(ref: ComponentRef<unknown> | null | undefined, n
4489
4495
  /** A node's base style map, from its style traits (the live values the Style panel edits). */
4490
4496
  declare function nodeStyleMap(node: ComponentNode): Record<string, any>;
4491
4497
  /**
4492
- * Re-register a node's compiled rules from its CURRENT style values — the base rule (with the default
4493
- * hover transition), its self-scoped state rules and its breakpoint layers — exactly as the
4498
+ * Re-register a node's compiled rules from its CURRENT style values — the base rule (its transition naming what its
4499
+ * states change, G2), its self-scoped state rules and its breakpoint layers — exactly as the
4494
4500
  * RenderDirective registers them at render. For edits that rewrite a node's styles from outside the Style
4495
4501
  * panel (a Card's layout preset, a reset to defaults).
4496
4502
  */
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@vectoriox/iox-builder",
3
- "version": "11.11.1",
3
+ "version": "11.12.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=20.0.0",
6
6
  "@angular/core": ">=20.0.0",
7
7
  "@angular/animations": ">=20.0.0",
8
8
  "@angular/cdk": ">=20.0.0",
9
- "@vectoriox/iox-ui": ">=5.81.0",
9
+ "@vectoriox/iox-ui": ">=5.82.1",
10
10
  "interactjs": "^1.10.27",
11
11
  "primeng": ">=20.0.0",
12
12
  "swiper": ">=12.0.0",