@vectoriox/iox-ui 5.147.0 → 5.148.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.
Files changed (31) hide show
  1. package/composite-core/index.d.ts +15 -1
  2. package/design-core/index.d.ts +70 -6
  3. package/fesm2022/vectoriox-iox-ui-composite-core.mjs +31 -2
  4. package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
  5. package/fesm2022/vectoriox-iox-ui-design-core.mjs +101 -12
  6. package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
  7. package/fesm2022/vectoriox-iox-ui-generation-core.mjs +1154 -959
  8. package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
  9. package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
  10. package/generation-core/index.d.ts +81 -36
  11. package/harness-core/index.d.ts +8 -1
  12. package/package.json +1 -1
  13. package/src/composite-core/slider.ts +33 -2
  14. package/src/design-core/design-apply.ts +6 -0
  15. package/src/design-core/flavor-spec.generated.ts +48 -0
  16. package/src/design-core/flavor-tokens.ts +6 -2
  17. package/src/design-core/header-behaviour.ts +25 -8
  18. package/src/design-core/node-classes.ts +15 -0
  19. package/src/design-core/token-css.ts +6 -3
  20. package/src/generation-core/check-layout.ts +34 -6
  21. package/src/generation-core/compose-layout.ts +64 -41
  22. package/src/generation-core/compose-site.ts +6 -2
  23. package/src/generation-core/footer-mix.ts +7 -2
  24. package/src/generation-core/layout-column.ts +120 -0
  25. package/src/generation-core/layout-language.ts +66 -12
  26. package/src/generation-core/layout-space.ts +6 -5
  27. package/src/generation-core/layout-type.ts +6 -3
  28. package/src/generation-core/layout-wire.ts +27 -5
  29. package/src/generation-core/site-spec.generated.ts +11 -23
  30. package/src/harness-core/business-types.ts +8 -0
  31. package/styles/iox-design.css +14 -3
@@ -39,6 +39,7 @@ declare const SPEC_SITE_PLAN_SHAPE: {
39
39
  readonly layoutPage: {
40
40
  readonly dial: "'distinct' | 'daring' — how far the page breaks the usual layout (site.layout.vocab.dials; follows How animated, never the model's)";
41
41
  readonly sections: "layoutSection[] — the page in the layout language (site.layout): 4–8 sections of layers on a 12-column grid, checked by generation-core checkLayout, stamped by composeLayout";
42
+ readonly "column?": "string — axes.columns: the content column the model chose for this page (award §0c CW2, AW-D34; offered per type — harness COLUMN_NEVER; absent = the site's word). composeSite writes it as pageSettings.column";
42
43
  readonly "givenAway?": "{ at, section }[] — the model's sections silent section fallback gave away (replaced by a ready-made section or dropped), at their places in the model's page; the page's minimums forgive what they carried (iox-ui#67). Set by the server, never by a model";
43
44
  };
44
45
  readonly film: {
@@ -5656,6 +5657,10 @@ declare const SPEC_SITE_LAYOUT: {
5656
5657
  readonly minScale: 0.9;
5657
5658
  readonly maxTextBlur: 5;
5658
5659
  readonly maxRotate: 8;
5660
+ readonly listItemMinPx: {
5661
+ readonly picture: 280;
5662
+ readonly words: 240;
5663
+ };
5659
5664
  readonly longTextChars: 160;
5660
5665
  readonly longTextColumns: 7;
5661
5666
  readonly maxPhotos: 14;
@@ -8899,8 +8904,8 @@ declare const SPEC_SITE_LAYOUT: {
8899
8904
  readonly where: "commerce track G (C-D21) — the shop's parts, handed over as words (AW-D19)";
8900
8905
  };
8901
8906
  readonly pageColumn: {
8902
- readonly built: readonly [];
8903
- readonly where: "award §0c CW2: `LayoutPage.column` on the layout wire (one enum, offered per type — harness COLUMN_NEVER); until then a composed page wears the site's word (design ▸ content width)";
8907
+ readonly built: readonly ["wide", "contained", "narrow"];
8908
+ readonly where: "award §0c CW2: `LayoutPage.column` on the layout wire (generation-core layoutWireJsonSchema `columns`, offered per type — harness COLUMN_NEVER; `checkLayout` mends a never word, `column-mended`); composeSite writes it as `pageSettings.column`";
8904
8909
  };
8905
8910
  };
8906
8911
  readonly rows: readonly [{
@@ -8999,24 +9004,6 @@ declare const SPEC_SITE_LAYOUT: {
8999
9004
  readonly drawnAs: null;
9000
9005
  readonly tier: "pro";
9001
9006
  readonly meaning: "an out-of-season card with notify me";
9002
- }, {
9003
- readonly key: "pageColumn.wide";
9004
- readonly phase: "CW2";
9005
- readonly drawnAs: null;
9006
- readonly tier: "all";
9007
- readonly meaning: "the page runs the window minus the one gutter (a gallery, a bold page) — never a formal type";
9008
- }, {
9009
- readonly key: "pageColumn.contained";
9010
- readonly phase: "CW2";
9011
- readonly drawnAs: null;
9012
- readonly tier: "all";
9013
- readonly meaning: "the page's words sit in one centred column; grounds keep the window";
9014
- }, {
9015
- readonly key: "pageColumn.narrow";
9016
- readonly phase: "CW2";
9017
- readonly drawnAs: null;
9018
- readonly tier: "all";
9019
- readonly meaning: "a reading column — a story, a case study, a long page of words";
9020
9007
  }];
9021
9008
  };
9022
9009
  };
@@ -9472,6 +9459,10 @@ declare enum LayoutDial {
9472
9459
  interface LayoutPage {
9473
9460
  dial: `${LayoutDial}`;
9474
9461
  sections: LayoutSection[];
9462
+ /** Award §0c CW2 (AW-D34): the content column the model chose for this page — `wide · contained · narrow` (design-core
9463
+ * `ColumnId`), offered per type (a formal type is never offered `wide`; `checkLayout` mends one). Absent = the
9464
+ * site's word. composeSite writes it as `pageSettings.column`. */
9465
+ column?: string;
9475
9466
  /** Silent section fallback (iox-ui#67): the model's sections given away — replaced by a ready-made one or dropped — each
9476
9467
  * at its place in the model's page. The page's MINIMUMS forgive what these carried; set only by `fallBackBySection`. */
9477
9468
  givenAway?: LayoutGivenAway[];
@@ -9568,8 +9559,14 @@ declare enum LayoutMendKind {
9568
9559
  ListWords = "list-words",
9569
9560
  /** A carried part whose action points at a node the new page no longer has (RD1 — a scroll link to a section that
9570
9561
  * left): the action is dropped from the carry and the drop is said (`mendCarry`), never refused. */
9571
- Link = "link"
9562
+ Link = "link",
9563
+ /** Award §0c CW2 (AW-D34): a page asking a column word its business type never wears (a law firm's `wide`): it takes
9564
+ * the column the type is offered first (`contained`) — said to the owner as `column-mended`. A word outside the
9565
+ * axis is dropped (the page wears the site's). */
9566
+ Column = "column"
9572
9567
  }
9568
+ /** What the build says when the column a page asked for was mended (award §0c CW2). */
9569
+ declare const LAYOUT_COLUMN_MENDED = "column-mended";
9573
9570
  /** Why a layer's `scrub` is mended (AW10-D12) — the words the build says. */
9574
9571
  declare enum LayoutScrubRefusal {
9575
9572
  /** The first screen never scrubs: it is wholly in view at load (AW10-D8); its scroll motion is copy-out. */
@@ -9670,6 +9667,9 @@ type LayoutMend = {
9670
9667
  layer: string;
9671
9668
  source: string;
9672
9669
  mix: LayoutListMix;
9670
+ } | {
9671
+ kind: LayoutMendKind.Column;
9672
+ column: string | null;
9673
9673
  };
9674
9674
  interface LayoutIssue {
9675
9675
  code: `${LayoutIssueCode}`;
@@ -9703,6 +9703,8 @@ interface LayoutSite {
9703
9703
  }>;
9704
9704
  };
9705
9705
  sections: LayoutSection[];
9706
+ /** Award §0c CW2: the page's own column word (`LayoutPage.column`); absent = the design's (`ComposeLayoutOptions.design`). */
9707
+ column?: string;
9706
9708
  }
9707
9709
  /** A size as CSS — the prototype's `.s-*` rules. `screen` is computed per word (`screenFontSize`). */
9708
9710
  declare const LAYOUT_FONT_SIZE: Readonly<Record<Exclude<LayoutSize, LayoutSize.Screen>, string>>;
@@ -9726,8 +9728,7 @@ declare const LAYOUT_RISE: Readonly<Record<LayoutRole, number>>;
9726
9728
  /** The kinds a visitor OPERATES: never moved for style (Emil gate 4). */
9727
9729
  declare const LAYOUT_OPERATED: ReadonlySet<string>;
9728
9730
  declare const LAYOUT_TEXT_KINDS: ReadonlySet<string>;
9729
- /** The grid's gutter and column gap (the prototype's `--gutter` and `.grid`). */
9730
- declare const LAYOUT_GUTTER = "max(4vw, 16px)";
9731
+ /** The grid's column gap (the prototype's `.grid`). Its inset is the page's column since CW2 — `layout-column.ts`. */
9731
9732
  declare const LAYOUT_COLUMN_GAP = "1.2vw";
9732
9733
  /** A depth's `params.phone`: scene-core `ParallaxPhone.Rest` — stacked on a phone, a layer never glides into its neighbour.
9733
9734
  * Stamped verbatim and read where it plays (not imported, as `PatternTrack`); compose-layout.spec holds the two equal. */
@@ -9755,18 +9756,25 @@ declare function phoneGapBefore(prev: LayoutLayer | null, next: LayoutLayer): nu
9755
9756
  declare const LAYOUT_SCREEN_PX: readonly [number, number];
9756
9757
  /** How wide `cols` columns of the laptop grid stand, in vw (12 columns: 92vw). */
9757
9758
  declare function layoutColumnsVw(cols: number): number;
9759
+ /** The page a word is judged on (award §0c CW2): the content column's width in px (null: wide — the window), and the
9760
+ * density's gutter (the one gutter's floor; default today's composed 16px). */
9761
+ interface LayoutRoomColumn {
9762
+ columnPx?: number | null;
9763
+ gutter?: number;
9764
+ }
9758
9765
  /** The room a layer of `cols` columns has on a screen `width` px wide, in px — a phone stacks every layer full width
9759
- * inside its gutters (`max(4vw, 16px)` a side). */
9760
- declare function layoutRoomPx(cols: number, width: number, phone: boolean): number;
9766
+ * inside its gutters (`max(4%, gutter)` a side); a laptop in a column has the column's 12 columns, never more than the
9767
+ * window's (wide: today's 92vw grid). */
9768
+ declare function layoutRoomPx(cols: number, width: number, phone: boolean, page?: LayoutRoomColumn): number;
9761
9769
  /**
9762
9770
  * A `screen` word's size (iox-ui#46): the word fills its columns' width — `widthEm` is how wide it stands at 1em in its
9763
9771
  * own face (design-core `textWidthEm`, from the face's measured letters) — and never stands taller than its rows; never
9764
9772
  * under 36px or over 560px. `rows` 0 sizes by width alone (a phone's stacked word). Held sections are one screen tall.
9765
9773
  */
9766
- declare function screenFontSize(widthEm: number, cols: number, rows: number, sectionRows: number, screens: number): string;
9774
+ declare function screenFontSize(widthEm: number, cols: number, rows: number, sectionRows: number, screens: number, columnPx?: number | null, capAlways?: boolean): string;
9767
9775
  /** How many px a `screen` word `widthEm` wide runs past its room at its smallest size, on a screen `width` px wide — 0
9768
9776
  * when it fits. The one thing sizing cannot mend: the static check refuses it (a browser would show it cut). */
9769
- declare function screenWordOverflowPx(widthEm: number, cols: number, width: number, phone: boolean): number;
9777
+ declare function screenWordOverflowPx(widthEm: number, cols: number, width: number, phone: boolean, page?: LayoutRoomColumn): number;
9770
9778
 
9771
9779
  /**
9772
9780
  * The Site Plan (contract `site.planShape`, `SPEC_SITE_PLAN_SHAPE`: every key typed and explained, and the
@@ -12267,8 +12275,16 @@ interface CheckLayoutContext {
12267
12275
  rhythm?: string | null;
12268
12276
  /** AW6: how the footer's ground reads — the `tail` rhythm's last sections wear it. Absent: the tail is not judged. */
12269
12277
  footerTone?: GroundTone | null;
12278
+ /** Award §0c CW2 (AW-D34): the column words this business type never wears (harness-core `BusinessType.column.never`):
12279
+ * a page asking one is mended to the first word it may wear (`column-mended`). */
12280
+ columnNever?: ReadonlyArray<string>;
12270
12281
  }
12271
12282
  type LayoutColours = Readonly<Record<LayoutColour, string>>;
12283
+ /**
12284
+ * Award §0c CW2 (AW-D34, R-H25): the page's column word — a word outside the axis is dropped (the page wears the site's);
12285
+ * a word the business type never wears (a formal type's `wide`) takes the first it may (`contained`). Both mend alone.
12286
+ */
12287
+ declare function columnIssues(page: Pick<LayoutPage, 'column'>, ctx: Pick<CheckLayoutContext, 'columnNever'>): LayoutIssue[];
12272
12288
  /** A preset's five colours in a mode as `#rrggbb` (the prototype's `presetColours`), or null when it does not wear that mode. */
12273
12289
  declare function layoutPresetColours(presetId: string, mode: 'light' | 'dark'): LayoutColours | null;
12274
12290
  /** A section of one photo on one side and words on the other: 'start' | 'end' | null (the prototype's `splitSide`). */
@@ -12468,6 +12484,20 @@ interface ComposedLayout {
12468
12484
  * colour the ground's words take; otherwise null (M8 gate 2, fix first part 3).
12469
12485
  */
12470
12486
  declare function phoneWordsColour(l: LayoutLayer, li: number, s: Pick<LayoutSection, 'layers' | 'ground'>): string | null;
12487
+ /** Award §0c CW2 (AW-D38, amended 2026-11-23 — Doron: half the contained column holds TWO pictures, not one): the least an
12488
+ * item of a grid may stand at the check's laptop — a picture item, a words-only one. The ONE table: the contract's
12489
+ * `layout.limits.listItemMinPx` (layout.mjs LIMITS), which build-spec's column gate holds every look to. */
12490
+ declare const LIST_ITEM_MIN_PX: Readonly<{
12491
+ picture: number;
12492
+ words: number;
12493
+ }>;
12494
+ /**
12495
+ * How many columns a grid of items takes in a cell `span` columns wide: three across most of the page, fewer in less
12496
+ * room. On a page in a column (award §0c CW2, AW-D38) the count is also judged in px of the COLUMN at the check's laptop
12497
+ * (1440): the most items that each keep their least (`LIST_ITEM_MIN_PX`: 280px a picture item, 240px words only) — contained keeps three
12498
+ * across, narrow gives two pictures. Wide stays as it was (the span alone).
12499
+ */
12500
+ declare function listColumns(span: number, columnPx?: number | null, picture?: boolean, density?: string): number;
12471
12501
  /** What a list frame is recomposed from: its mix, the list it shows, and the place it stands in. */
12472
12502
  interface ListFrameInput {
12473
12503
  /** The mix to compose (Bindings ▸ List's pick, `withListWord`). */
@@ -12490,6 +12520,10 @@ interface ListFrameInput {
12490
12520
  readonly col?: readonly [number, number];
12491
12521
  /** Where the gaps are said (`sections[i].layers[j]`). */
12492
12522
  readonly path?: string;
12523
+ /** Award §0c CW2: the page's column word and the look's Spacing — a grid's item count is judged in px of the column
12524
+ * (`listColumns`). Absent: wide, as before. */
12525
+ readonly column?: string;
12526
+ readonly density?: string;
12493
12527
  }
12494
12528
  /** A recomposed list frame, and what the composer said while composing it (a word drawn as its stand-in…). */
12495
12529
  interface ListFrame {
@@ -12651,6 +12685,7 @@ interface ComposedPage {
12651
12685
  };
12652
12686
  opening?: `${ColorScheme}`;
12653
12687
  legal?: `${LegalKind}`;
12688
+ column?: string;
12654
12689
  };
12655
12690
  /** M1-6c: the page's search-result words — written (a static page) or bound to the route item (a template page),
12656
12691
  * in the seo-core document shape the shared `resolveSeo` reads. */
@@ -15727,7 +15762,14 @@ interface LayoutWireOptions {
15727
15762
  /** AW10 (H3): the look's By the scroll (`design.scrub`). Not never, the wire offers `letters` and a layer's `scrub`
15728
15763
  * switch; never or absent, neither (no property is added either way). */
15729
15764
  scrub?: ScrubId | string | null;
15730
- }
15765
+ /** Award §0c CW2 (AW-D34, H3): the column words this business type's pages may take (`layoutColumnsOffered` —
15766
+ * harness `column.never` left out). Given, the page carries ONE enum `column` (+1 property, 0 unions); absent, or on
15767
+ * a redesign (`carry` — its page keeps its word, and the request is at the budget's 40 already), the wire is
15768
+ * byte-identical. */
15769
+ columns?: ReadonlyArray<string>;
15770
+ }
15771
+ /** The column words a page of a type is offered (award §0c, AW-D34): the axis's words less what the type never wears. */
15772
+ declare function layoutColumnsOffered(never?: ReadonlyArray<string> | null): string[];
15731
15773
  /** The entrances the wire offers under the look's scrub (AW10 H3). */
15732
15774
  declare function layoutEntersOffered(scrub?: ScrubId | string | null): string[];
15733
15775
  /** The switches the wire offers under the look's scrub (AW10 H3). */
@@ -15799,6 +15841,7 @@ interface LayoutWireSection {
15799
15841
  }
15800
15842
  interface LayoutWire {
15801
15843
  sections: LayoutWireSection[];
15844
+ column?: string;
15802
15845
  }
15803
15846
  /** The strict format for one composed page — with the list ingredients when `options.lists` is given. */
15804
15847
  declare function layoutWireJsonSchema(options?: LayoutWireOptions): JsonSchema;
@@ -15830,7 +15873,7 @@ declare function expandLayoutWire(wire: unknown, dial: `${LayoutDial}`): {
15830
15873
  issues: LayoutIssue[];
15831
15874
  };
15832
15875
  /** A layout page (or a saved CL2.1 site's sections) → the wire. */
15833
- declare function layoutToWire(page: Pick<LayoutPage, 'sections'>): LayoutWire;
15876
+ declare function layoutToWire(page: Pick<LayoutPage, 'sections'> & Partial<Pick<LayoutPage, 'column'>>): LayoutWire;
15834
15877
 
15835
15878
  /**
15836
15879
  * The render check of a composed page (M8-G2-D8), split where it can run. `measureLayout` runs in a BROWSER (the owner's,
@@ -16007,8 +16050,9 @@ declare function layoutElementStyle(l: Pick<LayoutLayer, 'kind' | 'role' | 'size
16007
16050
  declare function layoutTextWidthEm(l: Pick<LayoutLayer, 'kind' | 'role' | 'size' | 'text'>, design: DesignChoices): number;
16008
16051
  /** The columns a `screen` word fills: its span, and half a column more for each side it bleeds off. */
16009
16052
  declare function screenWordColumns(l: Pick<LayoutLayer, 'col' | 'bleed'>): number;
16010
- /** Where a `screen` word cannot fit even at its smallest size: the screen and by how many px — null when it fits both. */
16011
- declare function screenWordMisfit(l: LayoutLayer, design: DesignChoices): {
16053
+ /** Where a `screen` word cannot fit even at its smallest size: the screen and by how many px — null when it fits both.
16054
+ * `column` is the page's word (award §0c CW2): on the laptop a column gives the word its columns of the column. */
16055
+ declare function screenWordMisfit(l: LayoutLayer, design: DesignChoices, column?: string | null): {
16012
16056
  width: number;
16013
16057
  phone: boolean;
16014
16058
  px: number;
@@ -16604,12 +16648,13 @@ declare const LAYOUT_LINE_HEIGHT = 1.2;
16604
16648
  /** The kinds a held section's line may be lit by the scroll (`kinetic`). */
16605
16649
  declare const LAYOUT_KINETIC_KINDS: ReadonlySet<string>;
16606
16650
  /** A grid box's size in px on the laptop. */
16607
- declare function layoutBoxPx(col: readonly number[], row: readonly number[], s: Pick<LayoutSection, 'pin' | 'screens' | 'rows'>): {
16651
+ declare function layoutBoxPx(col: readonly number[], row: readonly number[], s: Pick<LayoutSection, 'pin' | 'screens' | 'rows'>, columnPx?: number): {
16608
16652
  w: number;
16609
16653
  h: number;
16610
16654
  };
16611
- /** Whether a sized text layer's words fit its box at its size (the check's estimate; a `screen` word is sized to fit). */
16612
- declare function layoutTextFits(l: LayoutLayer, s: Pick<LayoutSection, 'pin' | 'screens' | 'rows'>, size?: string | undefined): boolean;
16655
+ /** Whether a sized text layer's words fit its box at its size (the check's estimate; a `screen` word is sized to fit).
16656
+ * `columnPx` is one grid column on the check's laptop — the page's column's twelfth (award §0c CW2, AW-D38). */
16657
+ declare function layoutTextFits(l: LayoutLayer, s: Pick<LayoutSection, 'pin' | 'screens' | 'rows'>, size?: string | undefined, columnPx?: number): boolean;
16613
16658
  /**
16614
16659
  * A rule: a shape one row high with no words on it — the looks' hairline ("a shape one row high"). The composer draws it
16615
16660
  * as a line, never as the row's full height (the bar's grey boxes: a 150–180 px block where a hairline was meant).
@@ -17451,5 +17496,5 @@ declare function siteTreeOf(studio: SiteStudio): SiteTree;
17451
17496
  * its phone menu, the footer's copyright line. */
17452
17497
  declare function siteGlobalsOf(globals: ReadonlyArray<SerializedNode>): SiteTreeGlobals | null;
17453
17498
 
17454
- export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, ADDITION_CAPS, ADDITION_ITEMS_KEY, ADDITION_ITEM_SOURCE_SUFFIX, ADDITION_KEY_PREFIX, ADDITION_SLUG, ADJUSTMENTS, ADJUST_AXIS_LABELS, ADJUST_OWN, ADJUST_STEPS, ADJUST_STEP_IDS, AI_COMPOSED_PAGES_BY_TIER, AI_COMPOSED_PAGES_ESTIMATED, AI_COMPOSED_PAGE_LEAN_TOKENS, AI_PLAN_REASKED_PART, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_FEATURE, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AWARD_COMPOSED_PAGES_ESTIMATED, AdditionHeldBack, AdditionIssueCode, AdditionOrigin, AdditionsPart, AdditionsSkipped, AdjustAxis, AdjustKind, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BASELINE_WORDS_HE, BODY_TOKEN, BUILD_STEPS, BUTTON_LINK_PROPS, BaselineRole, BindScope, BodyIngredient, BodyMixError, BodyRepairCode, BodyRhythm, BodySeam, BodySectionWord, BodyTexture, BuildNoticeCode, BuildStep, CARRIED_BUTTON_STYLES, CARRY_LAYER_KINDS, CARRY_PHOTO_KINDS, CARRY_PROMPT_QUOTE, CARRY_WHOLE_LAYER_KINDS, CONTENT_ROLE_MEANINGS, COPY_OUT, CREDITS_PER_USD, CardBindTarget, CarryBlockKind, CarryKeptReason, CarryKind, CarryReferenceVia, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_FOOTER_PATTERN, DEFAULT_GENERATION_TIER, DEFAULT_HEADER_PATTERN, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, ENTRANCE_EASING, ENTRANCE_ORIGIN_LOOK, ENTRANCE_TRIGGER, EntrancePart, EntranceSide, FACT_KEYS, FIELD_TYPE_OF_CONTROL, FILL_ASPECT, FILM_PATTERN, FINAL_GENERATION_STAGES, FINDING_SEVERITY, FOOTER_LEGAL_ROLE, FOOTER_TOKEN, FORM_LEGAL_ROLE, FilmUnplaced, FooterArrange, FooterClosing, FooterGround, FooterHold, FooterIngredient, FooterMixError, FooterRepairCode, FooterRole, GRAMMAR_TOO_LARGE_MESSAGE, GenerationTier, GlobalSlot, GroundTone, HAND_PAGE_KEY_PREFIX, HEADER_TOKEN, HEBREW_PREFIXES, HeaderAction, HeaderArrange, HeaderIngredient, HeaderMixError, HeaderPages, HeaderRepairCode, HeaderReplacedKind, IMPRINT_COUNTRIES, ISRAEL, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptPagesChoice, KeptReason, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_GUTTER, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_LIST_TOKEN, LAYOUT_MIX_OFFERED, LAYOUT_MIX_OFFERED_AWARD, LAYOUT_MIX_WORDS, LAYOUT_OPERATED, LAYOUT_OWNED_PROPS, LAYOUT_PACE, LAYOUT_PHONE_BREAKPOINT, LAYOUT_PHONE_PADDING, LAYOUT_PHOTO_ASPECT, LAYOUT_READY_MADE_TOKEN, LAYOUT_RISE, LAYOUT_SCREEN_PX, LAYOUT_TEXT_KINDS, LAYOUT_TOOLTIP_TRAIT, LAYOUT_VIEWPORTS, LAYOUT_WIRE_AUTOPLAY_MS, LEGAL_KINDS, LEGAL_PAGE_SETTING, LIST_CARD_PART, LIST_DECK_MAX_PX, LIST_DECK_SHARE, LIST_FRAME_STYLE_KEYS, LIST_INGREDIENTS, LIST_LONG_WORDS, LIST_RHYTHMS, LIST_ROLE_WORDS, LIST_RULES, LIST_TABLE, LIST_WORDS_BESIDE_RULE, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutListArrange, LayoutListArrive, LayoutListHover, LayoutListHow, LayoutListItem, LayoutListMove, LayoutListPhone, LayoutListRole, LayoutListSide, LayoutListWho, LayoutMendKind, LayoutMixIngredient, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutScrubRefusal, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, LegalBlocks, LegalFact, LegalKind, ListWordRefusal, MAX_SITE_PICTURES, MOTION_TRIGGERS, MOVING_OPENING_MEDIA, MenuSide, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, ONCE_ENTRANCE_MS, OPENING_HEIGHT, OPENING_MIX_PROP, OPENING_TOKEN, OpeningExtra, OpeningFrame, OpeningIngredient, OpeningMedia, OpeningMixError, OpeningMotion, OpeningRepairCode, OpeningRole, OpeningWords, PAGE_ARCHETYPES, PERSONAL_CONTROLS, PHOTO_ANALYSIS_WIDTH, PHOTO_CALM_DETAIL, PHOTO_GRID, PHOTO_LIGHT_LUMINANCE, PICTURE_ASPECTS, PICTURE_NEVER, PICTURE_REAL_PLACE_FAMILIES, PICTURE_REROLL_EVERY, PICTURE_REVIEW_FORMAT, PICTURE_REVIEW_SHAPE, PICTURE_TEXT_CONTRAST, PICTURE_WORLDS, PICTURE_WORLD_IDS, PLAN_EDITS_ANSWER_SHAPES, PLAN_EDITS_PART_SCHEMA_NAMES, PLAN_EDIT_OP_PART, PLAN_EDIT_SHAPE, PLAN_EDIT_WIRE_KEYS, PLAN_PARTS, PLAN_PART_KEYS, PLAN_WIRE_DERIVED, PLAN_WIRE_PART_SCHEMA_NAMES, PLAN_WIRE_SHAPE, PREVIOUS_ROUTE_SUFFIX, PRICING_PATTERN, PROOF_FINGERPRINTS, PUBLISH_BLOCKING_PLACEHOLDERS, PageDataKind, PathIssueCollector, PatternDirective, PatternGlobalPosition, PatternOpens, PatternPlaceholder, PatternRecipe, PhoneMenuBreakpoint, PhotoTone, PictureRefusal, PictureWorld, PlaceholderKind, PlanChangeAction, PlanChangeKind, PlanDataSourceMode, PlanDataSourceType, PlanEditIssueCode, PlanEditOp, PlanEditsOutcome, PlanPart, PlanWireEntry, PlanWireShapeError, PlanWordIssueCode, PreflightRefusalCode, PriceBindTarget, PublishRefusalCode, PublishScope, REDESIGN_ADDITIONS_SCHEMA_NAMES, REDESIGN_BACK_DAYS, REDESIGN_PARTS, REDESIGN_STEPS, RENDER_CHECK, REQUIRED_CONTENT_ROLES, RedesignPageResult, RedesignPart, RedesignRefusalCode, RedesignStep, RelativeOp, SAMPLE_IMAGE_REF, SCENE_LEVEL, SCENE_OTHER_PAGES, SCRIM_BACKGROUND, SCRIM_COVER, SCRIM_LEVELS, SCRUBBED_ENTRANCE, SCRUB_UNTIL, SHOP_CART_BUTTON_ID, SHOP_CART_DRAWER_ID, SHOP_FIELDS, SHOP_LATEST_LIMIT, SHOP_LIST_LIMIT, SHOP_NEED, SHOP_ONLY_CONTENT_ROLES, SHOP_PRODUCTS_MAX, SHOP_ROLES, SHOP_SLUG_FIELD, SHOWCASE_FILM, SHOWCASE_SHOP, SIGN_IN_DIALOG_ID, SITE_CHECKS, SITE_FACT_LABELS, SITE_HEADER_PATTERN, SITE_LIBRARY, SITE_LOCALES, SITE_NEED_IDS, SITE_PATTERNS, SITE_PLAN_VERSION, SITE_TEMPLATES, SPEC_SITE_ARCHETYPES, SPEC_SITE_COPY_LENGTHS, SPEC_SITE_DENSITY_COPY, SPEC_SITE_FACTS, SPEC_SITE_FOOTER_PARTS, SPEC_SITE_HEADER_PARTS, SPEC_SITE_LAYOUT, SPEC_SITE_LIBRARY, SPEC_SITE_LOCALES, SPEC_SITE_NEED_IDS, SPEC_SITE_PATTERNS, SPEC_SITE_PICTURE_NEVER, SPEC_SITE_PICTURE_WORLDS, SPEC_SITE_PLAN_SHAPE, SPEC_SITE_REQUIRED_ROLES, SPEC_SITE_ROLES, SPEC_SITE_TEMPLATES, STAMPED_PAGE_ARCHETYPES, START_QUOTE_STEPS, START_QUOTE_TOKENS, STOCK_FAMILIES, STOCK_FAMILY_INTENTS, STOCK_INTENT_ORDER, STOCK_INTENT_SUBJECTS, STOCK_ITEM_ASPECT, STOCK_MIN_KEPT, STOCK_PROVIDER_TERMS, STOCK_SEED_MARGIN, STOCK_SUBJECT_WORDS, STORE_CONTACT_CODES, STRICT_SCHEMA_BUDGET, STRICT_SCHEMA_LIMITS, STUDIO_TEMPLATE, SWAP_CARRY_KINDS, ScrimLevel, ScrubUntil, SectionFallbackLastResort, SectionMaker, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePageMaker, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StagedPageReason, StagedPageWay, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, additionKey, additionSourcesOf, additionsNeedContent, adjustStepLabel, adjustStepOf, adjustStyleProps, aiRefusalNext, aiStepParts, applyHeaderMix, applyLayoutEdits, applyOpeningMix, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, bentoFill, blocksPublish, bodyMeaning, bodyMix, bodyMixFromWords, bodyMixOfPlan, bodyMixWords, bodySeamClass, bodySeamShape, bodyTokenOf, bodyWireWords, bodyWordDrawn, bodyWordOffered, bodyWordTier, bodyWordWaits, bodyWords, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, canonicalNodeJson, canonicalValue, carryBlockOf, carryButtonLink, carryHandles, carryInto, carryKindOf, carryNotPlaced, checkAdditions, checkBody, checkCarry, checkFooter, checkHeader, checkLayout, checkList, checkOpening, chooseScrim, composablePage, composeContextOf, composeLayout, composeListFrame, composeNavHeader, composeOpening, composePresetForm, composeSection, composeSite, composedPagesMax, composedPagesShare, composerLeftovers, composingShare, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, copyOutInteraction, costUsd, countryLegalFacts, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeCarryForPrompt, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, distinctFooter, distinctHeader, drawnBodyMix, drawnFooterMix, drawnHeaderMix, drawnOpeningMix, driftAt, driftOverlap, duplicateNodeIds, editedPageIds, emptyAreaPhrase, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandAdditions, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, factIssues, failedBuildStep, fallBackBySection, fieldToWire, filmOfPlan, filmPlacement, findNavRoot, findOpening, fingerprintOf, fingerprintOfPlanPage, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWords, formAsksPersonalData, formLegalFacts, frameWords, generationTierOf, groundToneOf, handPageKey, handPlanPage, harvestPage, hash53, headerAdvice, headerCompanions, headerContextOfPlan, headerGallery, headerGalleryIdOf, headerMeaning, headerMix, headerMixFromWords, headerMixOfNavKind, headerMixOfPlan, headerMixValue, headerMixWords, headerPatternIdOf, headerRecipe, headerReferences, headerShape, headerSiteFor, headerTokenOf, headerTokenWords, headerWireWords, headerWordDrawn, headerWords, isActiveBuild, isAdditionKey, isHandPageKey, isLayoutRule, isLegalKind, isNonEmptyString, isPerItemPage, isPictureWorld, isPlainObject, isRedesignRun, isRtlLocale, isScrubbedEntrance, isSectionCarryHandle, isSectionStamp, isShopResource, isTemplateRoute, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsVw, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutEntersOffered, layoutFlagsOffered, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListBare, layoutListBinding, layoutListDrawnCols, layoutListPair, layoutListShapes, layoutListsContext, layoutLookChanges, layoutLookOf, layoutMixOffered, layoutMotionOf, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutScrubTakes, layoutShapeHasPurpose, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, legalFactsOf, legalFormLine, legalKindBlocks, legalKindOfPage, legalKindRow, legalKindsFor, legalLabel, legalPageOf, legalRoute, legalTitle, listBelowPro, listBindingOfType, listBuiltWords, listDetailOf, listIngredientWords, listMeaning, listMixFromWords, listMixValue, listMixWords, listNeverIsEmpty, listOverhang, listPanelRows, listShapeOfType, listTokenOf, listTokensOf, listWait, listWordOffered, listWordRefusal, listWordTier, listWords, luminanceOf, measureLayout, mendCarry, mendLayout, mendNotices, menuAtEveryWidth, menuLookOf, menuWords, modelCanDo, moveBarItem, moveEntrance, namedFooterMix, namedHeaderMix, namedOpeningMix, navHeaderContext, navPages, navShapeBreakpoint, navShapeOf, nearestHeaderMix, nestSitePages, nextSourceOf, nodeBindPaths, offeredForTier, onceEntrance, openingAdvice, openingAdviceMix, openingContextOf, openingFromSection, openingGallery, openingGalleryIdOf, openingMeaning, openingMix, openingMixFromWords, openingMixOfPlan, openingMixValue, openingMixWords, openingPatternIdOf, openingPhoneInset, openingRecipe, openingReferences, openingTokenOf, openingWireWords, openingWordDrawn, openingWordOffered, openingWordTier, openingWordWaits, openingWords, orientationOfRatio, outwardCredits, ownPhotoFit, ownerContentInto, paddingKeepingClear, pageBuildSource, pageListIssues, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pickListWord, pictureAspect, pictureItemsOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureTargets, pictureTryFits, pinnedPagesOf, pixelsUnder, placeFilm, plainCarryText, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planHeader, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWireShape, planWordIssues, previousRoute, pricesIn, publishRefusal, publishVerdict, quietMoveEntrance, readHeader, readOpening, readyMadeColumn, recipeListBinds, recomposeAsks, redesignAdditionsJsonSchema, redesignBackOpen, redesignBackUntil, redesignDiscardable, redesignPreviousChoices, refitBuiltPage, refitPage, refreshSectionStamps, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, rewordStoreGlobal, rhythmIssues, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, scrubEntranceStamps, scrubTokenOf, scrubUntilChoice, scrubbedEntrance, scrubsEntrance, sectionBuildKey, sectionEntrances, sectionFingerprint, sectionOrigin, sectionPatternIds, sectionToWire, sectionTokenOf, sectionUnchanged, sectionsNamed, sequenceShare, sequenceTokenOf, setStyleProps, shapeKeys, shopCategoriesOf, shopContentType, shopListAliases, shopListsShownOn, shopPageOfPlan, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteBuiltWithLaw, siteFactLabel, siteGlobalsOf, siteNavPages, sitePagesOf, siteParentRoute, siteSells, siteTreeOf, siteTreeOfPlan, slotBudget, splitCssValue, splitSide, stampHeaderMix, stampOpeningMix, stampOpeningMotion, stampSection, startComposingShare, startQuote, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlots, stockWord, stockWords, storedHeaderMix, storedOpeningMix, strictSchemaComplexity, strictSchemaRefusal, swapParts, tierOf, tierOffers, toneOf, typesOfAddition, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkSerialized, wearBodyMix, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withAdditions, withCarriedText, withComposedPages, withDerivedSources, withDistinctFooter, withDistinctHeader, withHeaderWord, withListWord, withOpeningWord, withShownList, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, writtenTexts };
17455
- export type { AddBarItemResult, AdditionIssue, AdditionItem, AdditionPage, AdditionsStudio, AdjustStep, AiBuyCredits, AiEntitlementsView, AiMeter, AiModelEntry, AiRefusal, AiTokenCounts, AiTokenPrice, AreaLuminance, ArtDirection, AuditPage, AuditPlaceholder, BarItemsEditResult, BodyContext, BodyGap, BodyMix, BodyRepair, BodySeamShape, BuildNotice, BuildStepError, BuildStepFacts, BuildStepRecord, CalmReading, CarryBlock, CarryBound, CarryCheckContext, CarryForm, CarryKept, CarryPhoto, CarryReference, CarryWord, CheckLayoutContext, CmsDataSourcePlan, ComposeContext, ComposeIssue, ComposeLayoutOptions, ComposedDataSource, ComposedItem, ComposedLayout, ComposedNavHeader, ComposedOpening, ComposedPage, ComposedPlaceholder, ComposedProduct, ComposedRoute, ComposedSection, ComposedShop, ComposedSite, ContentFieldPlan, ContentRoles, ContentSeedPlan, ContentTypePlan, CreateNodeOptions, CreatedRecord, DataSourcePlan, DriftBox, DriftLayer, DriftMeeting, DynamicKeysAsList, EntranceAction, EntranceActionOptions, EntranceInteraction, EntranceMark, EntranceSpec, EntranceStamp, FactKey, FilmPlacement, FilmTarget, FingerprintedPage, FooterContext, FooterMix, FooterRepair, FooterWait, FrameRegion, HarvestContext, HeaderApplied, HeaderContext, HeaderEditOptions, HeaderGalleryEntry, HeaderGap, HeaderMix, HeaderPage, HeaderReading, HeaderRecipe, HeaderRepair, HeaderReplaced, HeaderSite, JsonSchema, KeptPageRefusal, LayoutBandMove, LayoutColours, LayoutEdit, LayoutFingerprint, LayoutForm, LayoutGallery, LayoutGalleryList, LayoutGap, LayoutGivenAway, LayoutIssue, LayoutLayer, LayoutListBare, LayoutListBinding, LayoutListMix, LayoutListNever, LayoutListShape, LayoutLook, LayoutMend, LayoutMixOfferOptions, LayoutPage, LayoutPhotoAddress, LayoutReadyMade, LayoutRect, LayoutSection, LayoutSite, LayoutTrack, LayoutVoid, LayoutWire, LayoutWireLayer, LayoutWireList, LayoutWireOptions, LayoutWireSection, LayoutWireSlot, LayoutWireTrack, LegalContext, LegalFacts, LegalKindRow, LegalLinePart, LegalTracker, LegalWords, ListCheckOptions, ListFrame, ListFrameInput, ListHangStep, ListIngredient, ListOverhang, ListPanelContext, ListPanelRow, ListPanelWord, ListPick, ListShapeReading, ListWait, ListWordNever, ListWordShape, LookBefore, MeasuredLayer, MeasuredLayout, NavHeaderInput, NavHeaderOptions, NavPage, NavShapeOptions, NavShapeResult, NodeBaseline, OpeningApplied, OpeningContext, OpeningGalleryEntry, OpeningGap, OpeningInput, OpeningMix, OpeningNotPlaced, OpeningReading, OpeningRecipe, OpeningRepair, OpeningSite, OwnPhoto, OwnPhotoPlacement, PageArchetype, PageArchetypeId, PageArchetypeSlot, PageCarry, PageData, PageDataLine, PagePlan, PageSectionPlan, PageSeoPlan, PathIssue, PatternManifestEntry, PatternManifestOptions, PatternNode, PatternPath, PatternRoleNeed, PatternTrack, PhotoInventory, PhotoWordsArea, PicturePlan, PicturePlanOptions, PicturePromptContext, PictureReview, PictureSlot, PictureTryBudget, PictureWorldSpec, PicturesEstimate, PixelReading, PlacedFilm, PlainObject, PlanChange, PlanDirection, PlanEdit, PlanEditIssue, PlanEditResult, PlanEditsAnswer, PlanEntrancesInput, PlanFilm, PlanMixes, PlanWireContext, PlanWireOptions, PlanWireParts, PlanWordContext, PlanWordIssue, PreflightRefusal, PublishRefusal, QuoteRoute, RecipeListBinds, RedesignAdditions, RedesignAdditionsStaged, RedesignBack, RedesignBackPreview, RedesignLook, RedesignPageOutcome, RedesignPagePreflight, RedesignPageRefusal, RedesignRequest, RedesignRun, RedesignSnapshot, RedesignSnapshotPage, RedesignStaged, RedesignSwitch, RedesignSwitchPreview, RefitResult, RelativeDataSourcePlan, RhythmContext, ScrimChoice, ScrubContext, ScrubbableStamp, SectionEntrances, SectionFallback, SectionInput, SectionJudge, SectionOptions, SectionOrigin, SectionOriginContext, SectionStamp, SectionStampOrigin, SectionSwap, SerializedBinding, SerializedNode, SerializedResponsive, ShapeEntry, ShapeIssueCodes, ShopDataSourcePlan, ShopOptionPlan, ShopPlan, ShopProductPlan, ShowcaseInput, SiteAudit, SiteAuditOptions, SiteAuditSnapshot, SiteBuildRun, SiteBusiness, SiteCheck, SiteFinding, SiteNeedId, SitePageRef, SitePattern, SitePlan, SitePlanContext, SitePlanIssue, SitePlanSource, SitePlanValidation, SiteStudio, SiteStudioPage, SiteStudioRun, SiteTemplate, SiteTree, SiteTreeGlobals, SiteTreePage, SiteTreeSection, SiteTreeType, StagedAddition, StagedPage, StampedAction, StampedInteraction, StartQuote, StartQuotePart, StartQuoteRoutes, StartQuoteTokens, StockCredit, StockItemSlot, StockLink, StockNeed, StockPhoto, StockPhotoTraits, StockPlacement, StockPlanOptions, StockProviderTerms, StockReview, StockSlot, StockTarget, StrictSchemaComplexity, StrictSchemaRefusal, TemplatePlanInput, TieredRow, UndoKept, UndoPreview, UndoRecord, WireOptions, WordsArea, WrittenText };
17499
+ export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, ADDITION_CAPS, ADDITION_ITEMS_KEY, ADDITION_ITEM_SOURCE_SUFFIX, ADDITION_KEY_PREFIX, ADDITION_SLUG, ADJUSTMENTS, ADJUST_AXIS_LABELS, ADJUST_OWN, ADJUST_STEPS, ADJUST_STEP_IDS, AI_COMPOSED_PAGES_BY_TIER, AI_COMPOSED_PAGES_ESTIMATED, AI_COMPOSED_PAGE_LEAN_TOKENS, AI_PLAN_REASKED_PART, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_FEATURE, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AWARD_COMPOSED_PAGES_ESTIMATED, AdditionHeldBack, AdditionIssueCode, AdditionOrigin, AdditionsPart, AdditionsSkipped, AdjustAxis, AdjustKind, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BASELINE_WORDS_HE, BODY_TOKEN, BUILD_STEPS, BUTTON_LINK_PROPS, BaselineRole, BindScope, BodyIngredient, BodyMixError, BodyRepairCode, BodyRhythm, BodySeam, BodySectionWord, BodyTexture, BuildNoticeCode, BuildStep, CARRIED_BUTTON_STYLES, CARRY_LAYER_KINDS, CARRY_PHOTO_KINDS, CARRY_PROMPT_QUOTE, CARRY_WHOLE_LAYER_KINDS, CONTENT_ROLE_MEANINGS, COPY_OUT, CREDITS_PER_USD, CardBindTarget, CarryBlockKind, CarryKeptReason, CarryKind, CarryReferenceVia, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_FOOTER_PATTERN, DEFAULT_GENERATION_TIER, DEFAULT_HEADER_PATTERN, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, ENTRANCE_EASING, ENTRANCE_ORIGIN_LOOK, ENTRANCE_TRIGGER, EntrancePart, EntranceSide, FACT_KEYS, FIELD_TYPE_OF_CONTROL, FILL_ASPECT, FILM_PATTERN, FINAL_GENERATION_STAGES, FINDING_SEVERITY, FOOTER_LEGAL_ROLE, FOOTER_TOKEN, FORM_LEGAL_ROLE, FilmUnplaced, FooterArrange, FooterClosing, FooterGround, FooterHold, FooterIngredient, FooterMixError, FooterRepairCode, FooterRole, GRAMMAR_TOO_LARGE_MESSAGE, GenerationTier, GlobalSlot, GroundTone, HAND_PAGE_KEY_PREFIX, HEADER_TOKEN, HEBREW_PREFIXES, HeaderAction, HeaderArrange, HeaderIngredient, HeaderMixError, HeaderPages, HeaderRepairCode, HeaderReplacedKind, IMPRINT_COUNTRIES, ISRAEL, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptPagesChoice, KeptReason, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_COLUMN_MENDED, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_LIST_TOKEN, LAYOUT_MIX_OFFERED, LAYOUT_MIX_OFFERED_AWARD, LAYOUT_MIX_WORDS, LAYOUT_OPERATED, LAYOUT_OWNED_PROPS, LAYOUT_PACE, LAYOUT_PHONE_BREAKPOINT, LAYOUT_PHONE_PADDING, LAYOUT_PHOTO_ASPECT, LAYOUT_READY_MADE_TOKEN, LAYOUT_RISE, LAYOUT_SCREEN_PX, LAYOUT_TEXT_KINDS, LAYOUT_TOOLTIP_TRAIT, LAYOUT_VIEWPORTS, LAYOUT_WIRE_AUTOPLAY_MS, LEGAL_KINDS, LEGAL_PAGE_SETTING, LIST_CARD_PART, LIST_DECK_MAX_PX, LIST_DECK_SHARE, LIST_FRAME_STYLE_KEYS, LIST_INGREDIENTS, LIST_ITEM_MIN_PX, LIST_LONG_WORDS, LIST_RHYTHMS, LIST_ROLE_WORDS, LIST_RULES, LIST_TABLE, LIST_WORDS_BESIDE_RULE, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutListArrange, LayoutListArrive, LayoutListHover, LayoutListHow, LayoutListItem, LayoutListMove, LayoutListPhone, LayoutListRole, LayoutListSide, LayoutListWho, LayoutMendKind, LayoutMixIngredient, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutScrubRefusal, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, LegalBlocks, LegalFact, LegalKind, ListWordRefusal, MAX_SITE_PICTURES, MOTION_TRIGGERS, MOVING_OPENING_MEDIA, MenuSide, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, ONCE_ENTRANCE_MS, OPENING_HEIGHT, OPENING_MIX_PROP, OPENING_TOKEN, OpeningExtra, OpeningFrame, OpeningIngredient, OpeningMedia, OpeningMixError, OpeningMotion, OpeningRepairCode, OpeningRole, OpeningWords, PAGE_ARCHETYPES, PERSONAL_CONTROLS, PHOTO_ANALYSIS_WIDTH, PHOTO_CALM_DETAIL, PHOTO_GRID, PHOTO_LIGHT_LUMINANCE, PICTURE_ASPECTS, PICTURE_NEVER, PICTURE_REAL_PLACE_FAMILIES, PICTURE_REROLL_EVERY, PICTURE_REVIEW_FORMAT, PICTURE_REVIEW_SHAPE, PICTURE_TEXT_CONTRAST, PICTURE_WORLDS, PICTURE_WORLD_IDS, PLAN_EDITS_ANSWER_SHAPES, PLAN_EDITS_PART_SCHEMA_NAMES, PLAN_EDIT_OP_PART, PLAN_EDIT_SHAPE, PLAN_EDIT_WIRE_KEYS, PLAN_PARTS, PLAN_PART_KEYS, PLAN_WIRE_DERIVED, PLAN_WIRE_PART_SCHEMA_NAMES, PLAN_WIRE_SHAPE, PREVIOUS_ROUTE_SUFFIX, PRICING_PATTERN, PROOF_FINGERPRINTS, PUBLISH_BLOCKING_PLACEHOLDERS, PageDataKind, PathIssueCollector, PatternDirective, PatternGlobalPosition, PatternOpens, PatternPlaceholder, PatternRecipe, PhoneMenuBreakpoint, PhotoTone, PictureRefusal, PictureWorld, PlaceholderKind, PlanChangeAction, PlanChangeKind, PlanDataSourceMode, PlanDataSourceType, PlanEditIssueCode, PlanEditOp, PlanEditsOutcome, PlanPart, PlanWireEntry, PlanWireShapeError, PlanWordIssueCode, PreflightRefusalCode, PriceBindTarget, PublishRefusalCode, PublishScope, REDESIGN_ADDITIONS_SCHEMA_NAMES, REDESIGN_BACK_DAYS, REDESIGN_PARTS, REDESIGN_STEPS, RENDER_CHECK, REQUIRED_CONTENT_ROLES, RedesignPageResult, RedesignPart, RedesignRefusalCode, RedesignStep, RelativeOp, SAMPLE_IMAGE_REF, SCENE_LEVEL, SCENE_OTHER_PAGES, SCRIM_BACKGROUND, SCRIM_COVER, SCRIM_LEVELS, SCRUBBED_ENTRANCE, SCRUB_UNTIL, SHOP_CART_BUTTON_ID, SHOP_CART_DRAWER_ID, SHOP_FIELDS, SHOP_LATEST_LIMIT, SHOP_LIST_LIMIT, SHOP_NEED, SHOP_ONLY_CONTENT_ROLES, SHOP_PRODUCTS_MAX, SHOP_ROLES, SHOP_SLUG_FIELD, SHOWCASE_FILM, SHOWCASE_SHOP, SIGN_IN_DIALOG_ID, SITE_CHECKS, SITE_FACT_LABELS, SITE_HEADER_PATTERN, SITE_LIBRARY, SITE_LOCALES, SITE_NEED_IDS, SITE_PATTERNS, SITE_PLAN_VERSION, SITE_TEMPLATES, SPEC_SITE_ARCHETYPES, SPEC_SITE_COPY_LENGTHS, SPEC_SITE_DENSITY_COPY, SPEC_SITE_FACTS, SPEC_SITE_FOOTER_PARTS, SPEC_SITE_HEADER_PARTS, SPEC_SITE_LAYOUT, SPEC_SITE_LIBRARY, SPEC_SITE_LOCALES, SPEC_SITE_NEED_IDS, SPEC_SITE_PATTERNS, SPEC_SITE_PICTURE_NEVER, SPEC_SITE_PICTURE_WORLDS, SPEC_SITE_PLAN_SHAPE, SPEC_SITE_REQUIRED_ROLES, SPEC_SITE_ROLES, SPEC_SITE_TEMPLATES, STAMPED_PAGE_ARCHETYPES, START_QUOTE_STEPS, START_QUOTE_TOKENS, STOCK_FAMILIES, STOCK_FAMILY_INTENTS, STOCK_INTENT_ORDER, STOCK_INTENT_SUBJECTS, STOCK_ITEM_ASPECT, STOCK_MIN_KEPT, STOCK_PROVIDER_TERMS, STOCK_SEED_MARGIN, STOCK_SUBJECT_WORDS, STORE_CONTACT_CODES, STRICT_SCHEMA_BUDGET, STRICT_SCHEMA_LIMITS, STUDIO_TEMPLATE, SWAP_CARRY_KINDS, ScrimLevel, ScrubUntil, SectionFallbackLastResort, SectionMaker, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePageMaker, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StagedPageReason, StagedPageWay, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, additionKey, additionSourcesOf, additionsNeedContent, adjustStepLabel, adjustStepOf, adjustStyleProps, aiRefusalNext, aiStepParts, applyHeaderMix, applyLayoutEdits, applyOpeningMix, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, bentoFill, blocksPublish, bodyMeaning, bodyMix, bodyMixFromWords, bodyMixOfPlan, bodyMixWords, bodySeamClass, bodySeamShape, bodyTokenOf, bodyWireWords, bodyWordDrawn, bodyWordOffered, bodyWordTier, bodyWordWaits, bodyWords, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, canonicalNodeJson, canonicalValue, carryBlockOf, carryButtonLink, carryHandles, carryInto, carryKindOf, carryNotPlaced, checkAdditions, checkBody, checkCarry, checkFooter, checkHeader, checkLayout, checkList, checkOpening, chooseScrim, columnIssues, composablePage, composeContextOf, composeLayout, composeListFrame, composeNavHeader, composeOpening, composePresetForm, composeSection, composeSite, composedPagesMax, composedPagesShare, composerLeftovers, composingShare, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, copyOutInteraction, costUsd, countryLegalFacts, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeCarryForPrompt, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, distinctFooter, distinctHeader, drawnBodyMix, drawnFooterMix, drawnHeaderMix, drawnOpeningMix, driftAt, driftOverlap, duplicateNodeIds, editedPageIds, emptyAreaPhrase, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandAdditions, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, factIssues, failedBuildStep, fallBackBySection, fieldToWire, filmOfPlan, filmPlacement, findNavRoot, findOpening, fingerprintOf, fingerprintOfPlanPage, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWords, formAsksPersonalData, formLegalFacts, frameWords, generationTierOf, groundToneOf, handPageKey, handPlanPage, harvestPage, hash53, headerAdvice, headerCompanions, headerContextOfPlan, headerGallery, headerGalleryIdOf, headerMeaning, headerMix, headerMixFromWords, headerMixOfNavKind, headerMixOfPlan, headerMixValue, headerMixWords, headerPatternIdOf, headerRecipe, headerReferences, headerShape, headerSiteFor, headerTokenOf, headerTokenWords, headerWireWords, headerWordDrawn, headerWords, isActiveBuild, isAdditionKey, isHandPageKey, isLayoutRule, isLegalKind, isNonEmptyString, isPerItemPage, isPictureWorld, isPlainObject, isRedesignRun, isRtlLocale, isScrubbedEntrance, isSectionCarryHandle, isSectionStamp, isShopResource, isTemplateRoute, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsOffered, layoutColumnsVw, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutEntersOffered, layoutFlagsOffered, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListBare, layoutListBinding, layoutListDrawnCols, layoutListPair, layoutListShapes, layoutListsContext, layoutLookChanges, layoutLookOf, layoutMixOffered, layoutMotionOf, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutScrubTakes, layoutShapeHasPurpose, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, legalFactsOf, legalFormLine, legalKindBlocks, legalKindOfPage, legalKindRow, legalKindsFor, legalLabel, legalPageOf, legalRoute, legalTitle, listBelowPro, listBindingOfType, listBuiltWords, listColumns, listDetailOf, listIngredientWords, listMeaning, listMixFromWords, listMixValue, listMixWords, listNeverIsEmpty, listOverhang, listPanelRows, listShapeOfType, listTokenOf, listTokensOf, listWait, listWordOffered, listWordRefusal, listWordTier, listWords, luminanceOf, measureLayout, mendCarry, mendLayout, mendNotices, menuAtEveryWidth, menuLookOf, menuWords, modelCanDo, moveBarItem, moveEntrance, namedFooterMix, namedHeaderMix, namedOpeningMix, navHeaderContext, navPages, navShapeBreakpoint, navShapeOf, nearestHeaderMix, nestSitePages, nextSourceOf, nodeBindPaths, offeredForTier, onceEntrance, openingAdvice, openingAdviceMix, openingContextOf, openingFromSection, openingGallery, openingGalleryIdOf, openingMeaning, openingMix, openingMixFromWords, openingMixOfPlan, openingMixValue, openingMixWords, openingPatternIdOf, openingPhoneInset, openingRecipe, openingReferences, openingTokenOf, openingWireWords, openingWordDrawn, openingWordOffered, openingWordTier, openingWordWaits, openingWords, orientationOfRatio, outwardCredits, ownPhotoFit, ownerContentInto, paddingKeepingClear, pageBuildSource, pageListIssues, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pickListWord, pictureAspect, pictureItemsOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureTargets, pictureTryFits, pinnedPagesOf, pixelsUnder, placeFilm, plainCarryText, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planHeader, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWireShape, planWordIssues, previousRoute, pricesIn, publishRefusal, publishVerdict, quietMoveEntrance, readHeader, readOpening, readyMadeColumn, recipeListBinds, recomposeAsks, redesignAdditionsJsonSchema, redesignBackOpen, redesignBackUntil, redesignDiscardable, redesignPreviousChoices, refitBuiltPage, refitPage, refreshSectionStamps, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, rewordStoreGlobal, rhythmIssues, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, scrubEntranceStamps, scrubTokenOf, scrubUntilChoice, scrubbedEntrance, scrubsEntrance, sectionBuildKey, sectionEntrances, sectionFingerprint, sectionOrigin, sectionPatternIds, sectionToWire, sectionTokenOf, sectionUnchanged, sectionsNamed, sequenceShare, sequenceTokenOf, setStyleProps, shapeKeys, shopCategoriesOf, shopContentType, shopListAliases, shopListsShownOn, shopPageOfPlan, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteBuiltWithLaw, siteFactLabel, siteGlobalsOf, siteNavPages, sitePagesOf, siteParentRoute, siteSells, siteTreeOf, siteTreeOfPlan, slotBudget, splitCssValue, splitSide, stampHeaderMix, stampOpeningMix, stampOpeningMotion, stampSection, startComposingShare, startQuote, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlots, stockWord, stockWords, storedHeaderMix, storedOpeningMix, strictSchemaComplexity, strictSchemaRefusal, swapParts, tierOf, tierOffers, toneOf, typesOfAddition, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkSerialized, wearBodyMix, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withAdditions, withCarriedText, withComposedPages, withDerivedSources, withDistinctFooter, withDistinctHeader, withHeaderWord, withListWord, withOpeningWord, withShownList, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, writtenTexts };
17500
+ export type { AddBarItemResult, AdditionIssue, AdditionItem, AdditionPage, AdditionsStudio, AdjustStep, AiBuyCredits, AiEntitlementsView, AiMeter, AiModelEntry, AiRefusal, AiTokenCounts, AiTokenPrice, AreaLuminance, ArtDirection, AuditPage, AuditPlaceholder, BarItemsEditResult, BodyContext, BodyGap, BodyMix, BodyRepair, BodySeamShape, BuildNotice, BuildStepError, BuildStepFacts, BuildStepRecord, CalmReading, CarryBlock, CarryBound, CarryCheckContext, CarryForm, CarryKept, CarryPhoto, CarryReference, CarryWord, CheckLayoutContext, CmsDataSourcePlan, ComposeContext, ComposeIssue, ComposeLayoutOptions, ComposedDataSource, ComposedItem, ComposedLayout, ComposedNavHeader, ComposedOpening, ComposedPage, ComposedPlaceholder, ComposedProduct, ComposedRoute, ComposedSection, ComposedShop, ComposedSite, ContentFieldPlan, ContentRoles, ContentSeedPlan, ContentTypePlan, CreateNodeOptions, CreatedRecord, DataSourcePlan, DriftBox, DriftLayer, DriftMeeting, DynamicKeysAsList, EntranceAction, EntranceActionOptions, EntranceInteraction, EntranceMark, EntranceSpec, EntranceStamp, FactKey, FilmPlacement, FilmTarget, FingerprintedPage, FooterContext, FooterMix, FooterRepair, FooterWait, FrameRegion, HarvestContext, HeaderApplied, HeaderContext, HeaderEditOptions, HeaderGalleryEntry, HeaderGap, HeaderMix, HeaderPage, HeaderReading, HeaderRecipe, HeaderRepair, HeaderReplaced, HeaderSite, JsonSchema, KeptPageRefusal, LayoutBandMove, LayoutColours, LayoutEdit, LayoutFingerprint, LayoutForm, LayoutGallery, LayoutGalleryList, LayoutGap, LayoutGivenAway, LayoutIssue, LayoutLayer, LayoutListBare, LayoutListBinding, LayoutListMix, LayoutListNever, LayoutListShape, LayoutLook, LayoutMend, LayoutMixOfferOptions, LayoutPage, LayoutPhotoAddress, LayoutReadyMade, LayoutRect, LayoutRoomColumn, LayoutSection, LayoutSite, LayoutTrack, LayoutVoid, LayoutWire, LayoutWireLayer, LayoutWireList, LayoutWireOptions, LayoutWireSection, LayoutWireSlot, LayoutWireTrack, LegalContext, LegalFacts, LegalKindRow, LegalLinePart, LegalTracker, LegalWords, ListCheckOptions, ListFrame, ListFrameInput, ListHangStep, ListIngredient, ListOverhang, ListPanelContext, ListPanelRow, ListPanelWord, ListPick, ListShapeReading, ListWait, ListWordNever, ListWordShape, LookBefore, MeasuredLayer, MeasuredLayout, NavHeaderInput, NavHeaderOptions, NavPage, NavShapeOptions, NavShapeResult, NodeBaseline, OpeningApplied, OpeningContext, OpeningGalleryEntry, OpeningGap, OpeningInput, OpeningMix, OpeningNotPlaced, OpeningReading, OpeningRecipe, OpeningRepair, OpeningSite, OwnPhoto, OwnPhotoPlacement, PageArchetype, PageArchetypeId, PageArchetypeSlot, PageCarry, PageData, PageDataLine, PagePlan, PageSectionPlan, PageSeoPlan, PathIssue, PatternManifestEntry, PatternManifestOptions, PatternNode, PatternPath, PatternRoleNeed, PatternTrack, PhotoInventory, PhotoWordsArea, PicturePlan, PicturePlanOptions, PicturePromptContext, PictureReview, PictureSlot, PictureTryBudget, PictureWorldSpec, PicturesEstimate, PixelReading, PlacedFilm, PlainObject, PlanChange, PlanDirection, PlanEdit, PlanEditIssue, PlanEditResult, PlanEditsAnswer, PlanEntrancesInput, PlanFilm, PlanMixes, PlanWireContext, PlanWireOptions, PlanWireParts, PlanWordContext, PlanWordIssue, PreflightRefusal, PublishRefusal, QuoteRoute, RecipeListBinds, RedesignAdditions, RedesignAdditionsStaged, RedesignBack, RedesignBackPreview, RedesignLook, RedesignPageOutcome, RedesignPagePreflight, RedesignPageRefusal, RedesignRequest, RedesignRun, RedesignSnapshot, RedesignSnapshotPage, RedesignStaged, RedesignSwitch, RedesignSwitchPreview, RefitResult, RelativeDataSourcePlan, RhythmContext, ScrimChoice, ScrubContext, ScrubbableStamp, SectionEntrances, SectionFallback, SectionInput, SectionJudge, SectionOptions, SectionOrigin, SectionOriginContext, SectionStamp, SectionStampOrigin, SectionSwap, SerializedBinding, SerializedNode, SerializedResponsive, ShapeEntry, ShapeIssueCodes, ShopDataSourcePlan, ShopOptionPlan, ShopPlan, ShopProductPlan, ShowcaseInput, SiteAudit, SiteAuditOptions, SiteAuditSnapshot, SiteBuildRun, SiteBusiness, SiteCheck, SiteFinding, SiteNeedId, SitePageRef, SitePattern, SitePlan, SitePlanContext, SitePlanIssue, SitePlanSource, SitePlanValidation, SiteStudio, SiteStudioPage, SiteStudioRun, SiteTemplate, SiteTree, SiteTreeGlobals, SiteTreePage, SiteTreeSection, SiteTreeType, StagedAddition, StagedPage, StampedAction, StampedInteraction, StartQuote, StartQuotePart, StartQuoteRoutes, StartQuoteTokens, StockCredit, StockItemSlot, StockLink, StockNeed, StockPhoto, StockPhotoTraits, StockPlacement, StockPlanOptions, StockProviderTerms, StockReview, StockSlot, StockTarget, StrictSchemaComplexity, StrictSchemaRefusal, TemplatePlanInput, TieredRow, UndoKept, UndoPreview, UndoRecord, WireOptions, WordsArea, WrittenText };
@@ -3044,6 +3044,11 @@ interface BusinessTypeLists {
3044
3044
  readonly moves: ReadonlyArray<string>;
3045
3045
  readonly say: ReadonlyArray<string>;
3046
3046
  }
3047
+ /** Award §0c (AW-D34): the column words a type's pages are never offered (contract harness `businessTypes[].column`,
3048
+ * from harness.mjs COLUMN_NEVER) — the layout wire leaves them out and checkLayout mends them (`column-mended`). */
3049
+ interface BusinessTypeColumn {
3050
+ readonly never: ReadonlyArray<string>;
3051
+ }
3047
3052
  /** Award §0b + §0b.7 (AW-D26, AW-D32): how a type's opening film is suggested, and what it may show (`filmIdeaFor`). */
3048
3053
  interface BusinessTypeFilm {
3049
3054
  /** offer · ifAsked · never — the default the owner's words move one step. */
@@ -3078,6 +3083,8 @@ interface BusinessType {
3078
3083
  /** List ingredients LI0 (list-ingredients-plan.md L-D12): what this type's lists never do — arrangements and moves
3079
3084
  * the layout's list section is not offered, and the sentences saying why. Binds generated output only. */
3080
3085
  readonly lists: BusinessTypeLists;
3086
+ /** Award §0c (AW-D34): the column words its pages are never offered — formal types never `wide`. */
3087
+ readonly column: BusinessTypeColumn;
3081
3088
  /** Award §0b + §0b.7 (AW-D26…D32): how a film is suggested to this type, and what it may show (`filmIdeaFor`). */
3082
3089
  readonly film: BusinessTypeFilm;
3083
3090
  readonly imagery: string;
@@ -4117,4 +4124,4 @@ type SiteAuditView = SiteAudit & {
4117
4124
  };
4118
4125
 
4119
4126
  export { ANIMATE_ADVICE_STEPS, AnalysisIssueCode, AnalysisLocale, AvoidCheck, BUSINESS_TYPES, BUSINESS_TYPE_IDS, BookingNeed, COPY_LENGTH_ORDER, ComposedPageState, CopyLength, FILM_IDEAS, FILM_WORDS, FilmIdea, FilmIdeaReason, FilmStance, FilmStart, GENERATION_LIMITS, HARNESS_SOURCE, LITTLE_MOVEMENT_AVOID, LITTLE_MOVEMENT_CAP, LintKind, MAX_ANALYSIS_MOODS, MAX_PIXEL_SAMPLES, MAX_READ_PICTURES, NEEDS, NEED_IDS, NeedSource, PALETTE_SIZE, PALETTE_THRESHOLDS, PRODUCTS_NEED, PictureRole, PicturesUnavailable, PlanChangeOutcome, PresetFit, RANK_WEIGHTS, READING_SHAPE, READ_ANIMATE, READ_WEIGHTS, RankReason, ReaderState, ReadingIssueCode, SITE_ANALYSIS_SCHEMA_NAME, SITE_READING_SCHEMA_NAME, SPEC_ANALYSIS_SHAPE, SPEC_BUSINESS_TYPES, SPEC_FILM_IDEAS, SPEC_HARNESS_EXAMPLES, SPEC_HARNESS_SOURCE, SPEC_NEEDS, SPEC_STRUCTURES, SPEC_USER_AVOIDS, STRUCTURES, SellingNeed, SiteReadRefusal, StyleReadGround, StyleReadHeadings, StyleReadMotion, StyleReadSourceKind, USER_AVOID_IDS, VoiceFormality, VoicePerson, addressesIn, analysisFromWire, analysisPromptContext, analysisToWire, bestRankedPreset, businessTypeById, calmerChoice, decodeSiteReading, filmIdeaFor, filmIdeasOf, filmStanceFor, filmWordsIn, inferNeeds, isCalmBusiness, isCalmBusinessType, isLookRule, keywordsIn, lintDesign, lookMatches, mapStyleRead, matchBusinessType, matchBusinessTypes, measurePalette, mergeStyleReads, motionAdvice, motionFor, needsSell, normalizeAddress, offeredNeeds, oklchHue, paletteBrand, paletteGround, paletteSamples, pictureStyleRead, pixelSamples, presetDesign, presetHasSerifHeadings, presetLook, presetReason, presetsByFlavor, rankStylePresets, rankWithReferences, readPalette, referenceSeed, seedPassesPreset, siteAnalysisJsonSchema, siteReadingJsonSchema, startingDesign, structureFor, userAvoidRule, validateSiteAnalysis, validateSiteReading, withSellingNeed, withoutAddress };
4120
- export type { AiGenerationView, AnalysisContext, AnalysisIssue, AnalysisValidation, AvoidRule, BusinessType, BusinessTypeFilm, BusinessTypeLists, BusinessTypeMatch, CheckRule, ColourSample, ComposedPageView, FactRead, FilmIdeaChoice, FilmIdeaDef, FilmIdeaInput, FilmIdeaSkip, FilmWords, GenerationBuildRequest, GenerationFileView, GenerationPicturesView, GenerationReadersView, GenerationStartRequest, GoodFit, LayoutCheckRequest, LayoutPhotoView, LintFinding, LintSite, LookCondition, LookDesign, LookRule, MeasuredPicture, MotionBasis, MotionInput, MotionStart, NeedDef, NeedId, PaletteColour, PaletteReading, PictureStyle, PlanRevisionView, PresetFlavorGroup, PromptContext, PromptContextOptions, PromptSection, RankInput, RankedPreset, ReadingIssue, ReferenceSeed, SiteAnalysis, SiteAuditView, SiteNeed, SiteReaderView, SiteReading, StartingDesign, StructureChoice, StructureId, StyleHints, StyleRead, UserAvoidId };
4127
+ export type { AiGenerationView, AnalysisContext, AnalysisIssue, AnalysisValidation, AvoidRule, BusinessType, BusinessTypeColumn, BusinessTypeFilm, BusinessTypeLists, BusinessTypeMatch, CheckRule, ColourSample, ComposedPageView, FactRead, FilmIdeaChoice, FilmIdeaDef, FilmIdeaInput, FilmIdeaSkip, FilmWords, GenerationBuildRequest, GenerationFileView, GenerationPicturesView, GenerationReadersView, GenerationStartRequest, GoodFit, LayoutCheckRequest, LayoutPhotoView, LintFinding, LintSite, LookCondition, LookDesign, LookRule, MeasuredPicture, MotionBasis, MotionInput, MotionStart, NeedDef, NeedId, PaletteColour, PaletteReading, PictureStyle, PlanRevisionView, PresetFlavorGroup, PromptContext, PromptContextOptions, PromptSection, RankInput, RankedPreset, ReadingIssue, ReferenceSeed, SiteAnalysis, SiteAuditView, SiteNeed, SiteReaderView, SiteReading, StartingDesign, StructureChoice, StructureId, StyleHints, StyleRead, UserAvoidId };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vectoriox/iox-ui",
3
- "version": "5.147.0",
3
+ "version": "5.148.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=20.0.0",
6
6
  "@angular/core": ">=20.0.0",
@@ -1,4 +1,4 @@
1
- import { CompositeNode, CompositeNodeFactory, makeCompositePart, NO_ELEMENT_STYLE, readProp, writeProp, writeStyles } from './composite-node';
1
+ import { CompositeNode, CompositeNodeFactory, makeCompositePart, NO_ELEMENT_STYLE, readProp, readStyle, writeProp, writeStyles } from './composite-node';
2
2
  import { recipeLang, RecipeLang } from './recipe-parts';
3
3
 
4
4
  /**
@@ -186,10 +186,41 @@ const BAR_PART_LAYOUT: Readonly<Record<string, string>> = { position: 'static',
186
186
  * frame. A classic scrollbar shifts it by ≤ 8px, the same trade as before.
187
187
  */
188
188
  export const BAR_INLINE_PAD = 'max(0px, calc(max(4vw, var(--iox-space-gutter, 24px), (100vw - var(--iox-content-width, 100%)) / 2) - (100vw - 100%) / 2))';
189
+ /** The bar's padding: 12px above the controls, the inline pad a side. */
190
+ const barPadding = (inline: string): string => `12px ${inline} 0px ${inline}`;
189
191
  const BAR_BASE: Readonly<Record<string, string>> = {
190
192
  position: 'relative', display: 'flex', flexDirection: 'row', flexWrap: 'nowrap', alignItems: 'center', justifyContent: 'flex-start',
191
- gap: '12px', width: '100%', height: 'auto', minHeight: '44px', margin: ZERO, padding: `12px ${BAR_INLINE_PAD} 0px ${BAR_INLINE_PAD}`, zIndex: '10',
193
+ gap: '12px', width: '100%', height: 'auto', minHeight: '44px', margin: ZERO, padding: barPadding(BAR_INLINE_PAD), zIndex: '10',
192
194
  };
195
+
196
+ /**
197
+ * What the bar's padding was stamped as before the content column (award §0c CW1): the gutter alone, so at full bleed
198
+ * a saved bar's first control sits 24px from the window while the page's words sit on the column (57.6px at 1440 in
199
+ * wide, 100px contained) — off the ONE edge (AW-D41).
200
+ */
201
+ export const SUPERSEDED_BAR_PADDING: ReadonlyArray<string> = [barPadding('max(0px, calc(var(--iox-space-gutter, 24px) - (100vw - 100%) / 2))')];
202
+
203
+ /**
204
+ * Award §0c CW2: every slider bar under `nodes` still holding a padding the recipe stamped before the column
205
+ * (`SUPERSEDED_BAR_PADDING`) takes today's — exactly that machine value; a padding the author set is theirs and kept.
206
+ * Pure over the given tree (mutates the bars, returns how many changed). The builder runs it when a page loads (the
207
+ * layout mapper), so the next save writes it — as a superseded token heals (DS8.2); a renderer never rewrites a saved
208
+ * page.
209
+ */
210
+ export function healSliderBars(nodes: ReadonlyArray<CompositeNode> | null | undefined): number {
211
+ let healed = 0;
212
+ const walk = (list: ReadonlyArray<CompositeNode> | null | undefined) => {
213
+ for (const node of list ?? []) {
214
+ if (node.role === SliderRole.Bar && SUPERSEDED_BAR_PADDING.includes(String(readStyle(node, 'padding') ?? ''))) {
215
+ writeStyles(node, { padding: BAR_BASE['padding'] });
216
+ healed++;
217
+ }
218
+ walk(node.children);
219
+ }
220
+ };
221
+ walk(nodes);
222
+ return healed;
223
+ }
193
224
  /** The caption takes the room the controls leave; its words end in an ellipsis rather than push them off (the shared
194
225
  * CSS's, because Text holds no `textOverflow`/`whiteSpace` trait and the builder drops them on save). */
195
226
  const CAPTION_BASE: Readonly<Record<string, string>> = {
@@ -66,11 +66,17 @@ function packDefaultsLookup(): (packId: string) => ReadonlyArray<Map<string, See
66
66
  * Apply rewrites it and the builder load heals it (`designTokenRepairs`), the way DS9's contrast fixes reached studios:
67
67
  * - guidance `56d6264` (award §0c CW0, AW-D41): `section-pad` and `nav-pad` read `space-inline` — before, every pattern
68
68
  * section and the header padded by the bare `space-gutter`, and Glass's pill computed its own `10px 10px 10px 22px`.
69
+ * - guidance `39135c7` (no underlines, Doron 2026-11-22): a link and a ghost (text) button draw no line — Linen's ghost
70
+ * button and every look's link were seeded `underline`, the current page's link a 2px accent line (vectoriox/iox-ui#118:
71
+ * idos and the store kept underlined text buttons from the stored row).
69
72
  * A spec pins every entry as no flavor's current value. Add one with every contract change of a seeded token's value.
70
73
  */
71
74
  export const SUPERSEDED_TOKEN_VALUES: Readonly<Record<string, ReadonlyArray<string>>> = {
72
75
  'section-pad': ['var(--iox-space-section) var(--iox-space-gutter)'],
73
76
  'nav-pad': ['16px var(--iox-space-gutter)', '10px 10px 10px 22px'],
77
+ 'button-ghost-decoration': ['underline'],
78
+ 'link-decoration': ['underline'],
79
+ 'link-current-decoration': ['underline 2px var(--iox-accent-text)'],
74
80
  };
75
81
 
76
82
  const supersededOf = (name: string): SeedExpectation[] => (SUPERSEDED_TOKEN_VALUES[name] ?? []).map(value => ({ value }));
@@ -486,6 +486,12 @@ export const SPEC_TIERS = {
486
486
  "group": "space",
487
487
  "desc": "The column in force: 100% (wide) or a column's width — the site's word; a page's word re-declares it"
488
488
  },
489
+ {
490
+ "name": "content-cap",
491
+ "type": "spacing",
492
+ "group": "space",
493
+ "desc": "The column in force as a length a font-size can read: the column's px, 100vw in wide (never a %) — a page's word re-declares it"
494
+ },
489
495
  {
490
496
  "name": "space-inline",
491
497
  "type": "spacing",
@@ -6839,6 +6845,13 @@ export const SPEC_FLAVOR_PACKS = [
6839
6845
  "group": "space",
6840
6846
  "value": "1240px"
6841
6847
  },
6848
+ {
6849
+ "name": "content-cap",
6850
+ "tier": "semantic",
6851
+ "type": "spacing",
6852
+ "group": "space",
6853
+ "value": "1240px"
6854
+ },
6842
6855
  {
6843
6856
  "name": "space-inline",
6844
6857
  "tier": "semantic",
@@ -9250,6 +9263,13 @@ export const SPEC_FLAVOR_PACKS = [
9250
9263
  "group": "space",
9251
9264
  "value": "1280px"
9252
9265
  },
9266
+ {
9267
+ "name": "content-cap",
9268
+ "tier": "semantic",
9269
+ "type": "spacing",
9270
+ "group": "space",
9271
+ "value": "1280px"
9272
+ },
9253
9273
  {
9254
9274
  "name": "space-inline",
9255
9275
  "tier": "semantic",
@@ -11691,6 +11711,13 @@ export const SPEC_FLAVOR_PACKS = [
11691
11711
  "group": "space",
11692
11712
  "value": "1240px"
11693
11713
  },
11714
+ {
11715
+ "name": "content-cap",
11716
+ "tier": "semantic",
11717
+ "type": "spacing",
11718
+ "group": "space",
11719
+ "value": "1240px"
11720
+ },
11694
11721
  {
11695
11722
  "name": "space-inline",
11696
11723
  "tier": "semantic",
@@ -14130,6 +14157,13 @@ export const SPEC_FLAVOR_PACKS = [
14130
14157
  "group": "space",
14131
14158
  "value": "1240px"
14132
14159
  },
14160
+ {
14161
+ "name": "content-cap",
14162
+ "tier": "semantic",
14163
+ "type": "spacing",
14164
+ "group": "space",
14165
+ "value": "1240px"
14166
+ },
14133
14167
  {
14134
14168
  "name": "space-inline",
14135
14169
  "tier": "semantic",
@@ -16582,6 +16616,13 @@ export const SPEC_FLAVOR_PACKS = [
16582
16616
  "group": "space",
16583
16617
  "value": "1240px"
16584
16618
  },
16619
+ {
16620
+ "name": "content-cap",
16621
+ "tier": "semantic",
16622
+ "type": "spacing",
16623
+ "group": "space",
16624
+ "value": "1240px"
16625
+ },
16585
16626
  {
16586
16627
  "name": "space-inline",
16587
16628
  "tier": "semantic",
@@ -19003,6 +19044,13 @@ export const SPEC_FLAVOR_PACKS = [
19003
19044
  "group": "space",
19004
19045
  "value": "1200px"
19005
19046
  },
19047
+ {
19048
+ "name": "content-cap",
19049
+ "tier": "semantic",
19050
+ "type": "spacing",
19051
+ "group": "space",
19052
+ "value": "1200px"
19053
+ },
19006
19054
  {
19007
19055
  "name": "space-inline",
19008
19056
  "tier": "semantic",
@@ -6,7 +6,7 @@ import {
6
6
  DesignChoices, DesignTokenRow, FlavorPackV2, FlavorSpecToken, flavorSourceStamp, PRE_MOTION, USER_TOKEN_SOURCE,
7
7
  } from './design-token.model';
8
8
  import { motionCurve, motionLanguageOf } from './motion-language';
9
- import { CONTENT_WIDTH_TOKEN, contentWidthOf } from './node-classes';
9
+ import { CONTENT_CAP_TOKEN, CONTENT_WIDTH_TOKEN, contentCapOf, contentWidthOf } from './node-classes';
10
10
  import { stylePresetOfChoices } from './style-presets';
11
11
 
12
12
  /**
@@ -95,8 +95,12 @@ export function buildFlavorTokens(pack: FlavorPackV2, choices: DesignChoices): D
95
95
  ]) set(name, value);
96
96
 
97
97
  // Award §0c: the column in force, as the literal the chosen density gives its word (wide = the whole page).
98
- const content = contentWidthOf(choices.column ?? pack.defaults.column, name => byName.get(name)?.value);
98
+ const word = choices.column ?? pack.defaults.column;
99
+ const content = contentWidthOf(word, name => byName.get(name)?.value);
99
100
  if (content) set(CONTENT_WIDTH_TOKEN, content);
101
+ // …and as a length a font-size can read (`content-cap`, iox-ui#117) — only where the pack holds the row.
102
+ const cap = contentCapOf(word, name => byName.get(name)?.value);
103
+ if (cap && byName.has(CONTENT_CAP_TOKEN)) set(CONTENT_CAP_TOKEN, cap);
100
104
 
101
105
  // AW3 (MB-D1, MB-D5): the look's own arrival and leave — every entrance, dialog and menu moves on them.
102
106
  const language = motionLanguageOf(choices, stylePresetOfChoices(choices)?.id);
@@ -110,17 +110,34 @@ export enum BrandNameLength {
110
110
  Long = 'long',
111
111
  /** Wears `size-body` on a phone. */
112
112
  Longer = 'longer',
113
+ /** Wears `size-small` on a phone (vectoriox/iox-ui#120: a name that took three lines at `size-body`). */
114
+ Longest = 'longest',
113
115
  }
114
116
 
115
- /** From this many characters a name is `long`, then `longer`. Below it the name keeps its own size (a phone bar holds a
116
- * 16-character name in two lines at the largest heading size the looks give a brand). */
117
+ /** From this many characters a name is `long`, then `longer`, then `longest`. Below it the name keeps its own size (a
118
+ * phone bar holds a 16-character name in two lines at the largest heading size the looks give a brand). */
117
119
  export const BRAND_NAME_LONG_AT = 17;
118
120
  export const BRAND_NAME_LONGER_AT = 29;
119
-
120
- /** The name's attributes: `{}` for a name that keeps its size. Never shortens the words — the type steps down. */
121
+ export const BRAND_NAME_LONGEST_AT = 36;
122
+
123
+ /** vectoriox/iox-ui#120: a line never breaks inside a word, so the LONGEST WORD decides too — a word from this many
124
+ * letters does not fit one line of the bar at the size the name's length alone would give it ("Neighbourhoo|d Café"). */
125
+ export const BRAND_WORD_LONG_AT = 10;
126
+ export const BRAND_WORD_LONGER_AT = 12;
127
+ export const BRAND_WORD_LONGEST_AT = 15;
128
+
129
+ const BRAND_STEPS: ReadonlyArray<{ length: BrandNameLength; name: number; word: number }> = [
130
+ { length: BrandNameLength.Longest, name: BRAND_NAME_LONGEST_AT, word: BRAND_WORD_LONGEST_AT },
131
+ { length: BrandNameLength.Longer, name: BRAND_NAME_LONGER_AT, word: BRAND_WORD_LONGER_AT },
132
+ { length: BrandNameLength.Long, name: BRAND_NAME_LONG_AT, word: BRAND_WORD_LONG_AT },
133
+ ];
134
+
135
+ /** The name's attributes: `{}` for a name that keeps its size. Never shortens the words — the type steps down, by the
136
+ * name's length and by its longest word, whichever asks for the smaller step. */
121
137
  export function brandNameAttributes(words: string): Record<string, string> {
122
- const n = [...words.replace(/<[^>]+>/g, '').replace(/\s+/g, ' ').trim()].length;
123
- if (n >= BRAND_NAME_LONGER_AT) return { [BRAND_NAME_ATTRIBUTE]: BrandNameLength.Longer };
124
- if (n >= BRAND_NAME_LONG_AT) return { [BRAND_NAME_ATTRIBUTE]: BrandNameLength.Long };
125
- return {};
138
+ const text = words.replace(/<[^>]+>/g, '').replace(/\s+/g, ' ').trim();
139
+ const n = [...text].length;
140
+ const word = Math.max(0, ...text.split(' ').map(w => [...w].length));
141
+ const step = BRAND_STEPS.find(s => n >= s.name || word >= s.word);
142
+ return step ? { [BRAND_NAME_ATTRIBUTE]: step.length } : {};
126
143
  }