@vectoriox/iox-builder 1.4.28 → 1.4.29

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.28",
3
+ "version": "1.4.29",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=20.0.0",
6
6
  "@angular/core": ">=20.0.0",
@@ -129,6 +129,8 @@ interface StylePreset {
129
129
  name: string;
130
130
  /** Flat CSS property map — same shape as IoxLayoutNode.styleProps. */
131
131
  styleProps: Record<string, any>;
132
+ /** Per-state style overrides stored alongside the preset (e.g. hover, active, focus). */
133
+ stateStyles?: Partial<Record<ElementState, Record<string, any>>>;
132
134
  }
133
135
  type ElementState = 'hover' | 'active' | 'focus' | 'first-child' | 'last-child' | 'nth-child(odd)' | 'nth-child(even)';
134
136
  /** Interaction pseudo-classes — compiled to .iox-node-{id}:state */