@vectoriox/iox-builder 4.20.0 → 4.21.0

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
@@ -266,6 +266,10 @@ declare const TARGETED_STATE_BASE: Partial<Record<ElementState, string>>;
266
266
  * `.iox-valid` host classes it sets from `forceInvalid`/`showValid` (decision D5), so authoring
267
267
  * "Wrong"/"Accepted" styles compiles to a CLASS-compound selector, not `:state`. Currently only
268
268
  * meaningful on Field (or any future component with the same host classes).
269
+ *
270
+ * Defined in `@vectoriox/iox-ui` (`style-compiler/parts.ts`), not here — the SSR engine needs
271
+ * this exact mapping too and does not depend on iox-builder. Re-exported for every existing
272
+ * `@vectoriox/iox-builder` consumer, so nothing importing from here needs to change.
269
273
  */
270
274
  declare const VALIDATION_STATES: ElementState[];
271
275
  /** The host class each validation state maps to. */
@@ -2003,9 +2007,6 @@ declare class RenderDirective implements OnInit, OnDestroy {
2003
2007
  private childSubs;
2004
2008
  /** Host element drag was registered on (collapsed path) — unregistered on destroy. */
2005
2009
  private hostDragEl;
2006
- /** type -> its declared parts (board 7), cached so partClassNameFor doesn't instantiate a
2007
- * fresh ComponentConfig on every render — same precedent as the layer tree's own icon cache. */
2008
- private static readonly partsCache;
2009
2010
  constructor(vcr: ViewContainerRef, injector: Injector, envInjector: EnvironmentInjector, doc: Document, registryService: ComponentRegistryService, overlayService: OverlayService, styleRegistry: StyleRegistryService, interactionEngine: InteractionEngineService, cdr: ChangeDetectorRef, panelEventService: PanelEventService, dragEngine: DragEngineService);
2010
2011
  /**
2011
2012
  * Tag for a variable-tag directive-host (whose selector lists several tags, so
@@ -2025,9 +2026,6 @@ declare class RenderDirective implements OnInit, OnDestroy {
2025
2026
  * registry — at state-restore time the parent isn't registered yet, since it registers only
2026
2027
  * AFTER rendering its children). Used to key relational (parent-hover) rules. (issue #1)
2027
2028
  */
2028
- /** The stable class a declared part compiles against, e.g. ('Field', 'error') -> 'iox-field__error'.
2029
- * Undefined when the type declares no such part (or no parts at all) — caller skips it. */
2030
- private partClassNameFor;
2031
2029
  private resolveParentNodeId;
2032
2030
  /** Nearest ANCESTOR of the styled element that is a registered iox-node AND contains the trigger
2033
2031
  * element — i.e. the DOM equivalent of `nearestCommonAncestorId`, resolved per rendered instance.
@@ -3133,11 +3131,11 @@ declare class GalleryConfig extends ComponentConfig {
3133
3131
  }
3134
3132
 
3135
3133
  /**
3136
- * Field's styleable sub-elements (board 7 — "the failure design"). Class names match
3137
- * `IoxFieldComponent`'s own template exactly (`@vectoriox/iox-ui`) — the part mechanism styles
3138
- * what that component already renders, it does not invent new markup. "Whole field" (the node's
3139
- * own base styling) is not listed here — the Style panel always offers it as the implicit first
3140
- * choice, falling back to the node's ordinary `styleTraits`.
3134
+ * Field's styleable sub-elements (board 7 — "the failure design"), for the Style panel's picker.
3135
+ * Class names come from the SHARED `PART_CLASS_NAMES` (`@vectoriox/iox-ui`) — the same map the
3136
+ * SSR engine resolves a part's selector from — so the picker can never drift from what actually
3137
+ * gets compiled. "Whole field" (the node's own base styling) is not listed here — the Style panel
3138
+ * always offers it as the implicit first choice, falling back to the node's ordinary `styleTraits`.
3141
3139
  */
3142
3140
  declare const FIELD_PARTS: StylePart[];
3143
3141
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vectoriox/iox-builder",
3
- "version": "4.20.0",
3
+ "version": "4.21.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=20.0.0",
6
6
  "@angular/core": ">=20.0.0",