@vectoriox/iox-builder 11.51.0 → 11.52.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.
@@ -24,7 +24,7 @@ import { formContentInHost, isInteractiveHost, findFormContentInHosts, formPrese
24
24
  import { Subject, BehaviorSubject, of, forkJoin, combineLatest } from 'rxjs';
25
25
  import { isPlaceholderRow, variableAliases, listPlaceholderFields } from '@vectoriox/iox-ui/data-core';
26
26
  import interact from 'interactjs';
27
- import { HeaderTrait, HeaderBehaviour, HeaderEdge, HeaderInk, HeaderGround, SECTION_EDGE_TRAIT, SECTION_EDGES, SECTION_SHAPE_TRAIT, SectionShape, MenuTrait, MenuForm, MenuReveal, MenuHover, MenuPhoneForm, MenuShows, MenuButtonKind, headerAttributes, HeaderAttribute, openingMediaOf, localeDirection, pageColumn, pageOpeningScheme, menuDialogAttributes, MenuAttribute, closeWord } from '@vectoriox/iox-ui/design-core';
27
+ import { HeaderTrait, HeaderBehaviour, HeaderEdge, HeaderInk, HeaderGround, HeaderShape, HeaderBrand, SECTION_EDGE_TRAIT, SECTION_EDGES, SECTION_SHAPE_TRAIT, SectionShape, MenuTrait, MenuForm, MenuReveal, MenuHover, MenuPhoneForm, MenuShows, MenuButtonKind, headerAttributes, HeaderAttribute, openingMediaOf, localeDirection, pageColumn, pageOpeningScheme, menuDialogAttributes, MenuAttribute, closeWord } from '@vectoriox/iox-ui/design-core';
28
28
  import { map, catchError, skip } from 'rxjs/operators';
29
29
  import * as i1 from '@angular/common/http';
30
30
  import { SAMPLE_PRODUCT, productInScope, simulatedCartTransport, storefrontCatalog, SAMPLE_STUDIO, SAMPLE_CART_LINE, SAMPLE_SWATCHES } from '@vectoriox/iox-ui/commerce-core';
@@ -2451,6 +2451,21 @@ function buildHeaderBehaviourTraits() {
2451
2451
  { label: 'Over the picture', value: HeaderGround.Over },
2452
2452
  { label: 'Over the picture, then glass', value: HeaderGround.OverGlass },
2453
2453
  ]),
2454
+ // HI3 slice 2 (HI3-D16/D18/D21): its outline and how its name sits — written by the Header studio (Bar ▸ Shape, Name)
2455
+ // and the composer. AD-F station 2 (R-H36): traits here, so a composed pill / islands KEEPS its word through the
2456
+ // builder's load and save (with no trait the canvas never drew it and the first save dropped it), the studio's
2457
+ // Apply sticks, and the AI designer's `set` on a header is a Container input (`NODE_BASELINES`), never refused.
2458
+ // No default (R-H4): a header that never chose saves neither — a full bar whose name fits.
2459
+ new TraitConfig(HeaderTrait.Shape, 'Outline', TraitInputType.Select, [
2460
+ { label: 'A full bar', value: HeaderShape.Bar },
2461
+ { label: 'One pill', value: HeaderShape.Pill },
2462
+ { label: 'Islands', value: HeaderShape.Islands },
2463
+ ]),
2464
+ new TraitConfig(HeaderTrait.Brand, 'Name', TraitInputType.Select, [
2465
+ { label: 'Fits the bar', value: HeaderBrand.Fits },
2466
+ { label: 'Hangs below the bar', value: HeaderBrand.Hangs },
2467
+ { label: 'Arrives once the page moves', value: HeaderBrand.Later },
2468
+ ]),
2454
2469
  ];
2455
2470
  }
2456
2471
  /**