@vectoriox/iox-ui 5.199.0 → 5.201.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 (51) hide show
  1. package/design-core/index.d.ts +454 -52
  2. package/fesm2022/vectoriox-iox-ui-design-core.mjs +640 -55
  3. package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
  4. package/fesm2022/vectoriox-iox-ui-forms-core.mjs +5 -2
  5. package/fesm2022/vectoriox-iox-ui-forms-core.mjs.map +1 -1
  6. package/fesm2022/vectoriox-iox-ui-generation-core.mjs +1062 -177
  7. package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
  8. package/fesm2022/vectoriox-iox-ui-harness-core.mjs +441 -63
  9. package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
  10. package/fesm2022/vectoriox-iox-ui.mjs +5 -2
  11. package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
  12. package/generation-core/index.d.ts +473 -124
  13. package/harness-core/index.d.ts +282 -6
  14. package/package.json +1 -1
  15. package/src/design-core/brand-neutrals.ts +125 -3
  16. package/src/design-core/colour-words.ts +48 -0
  17. package/src/design-core/design-settings.ts +24 -5
  18. package/src/design-core/design-token.model.ts +8 -0
  19. package/src/design-core/flavor-fixtures.generated.ts +272 -2
  20. package/src/design-core/flavor-spec.generated.ts +310 -40
  21. package/src/design-core/flavor-tokens.ts +5 -1
  22. package/src/design-core/public-api.ts +2 -0
  23. package/src/design-core/signature-move.ts +107 -0
  24. package/src/design-core/style-presets.ts +9 -3
  25. package/src/design-core/token-css.ts +59 -1
  26. package/src/forms-core/form-presets.ts +5 -2
  27. package/src/generation-core/body-mix.ts +41 -0
  28. package/src/generation-core/check-layout.ts +17 -7
  29. package/src/generation-core/colour-mix.ts +53 -3
  30. package/src/generation-core/compose-site.ts +136 -32
  31. package/src/generation-core/composition.ts +320 -0
  32. package/src/generation-core/footer-mix.ts +43 -3
  33. package/src/generation-core/footer-sign-up.ts +51 -0
  34. package/src/generation-core/header-edit.ts +15 -0
  35. package/src/generation-core/header-mix.ts +128 -19
  36. package/src/generation-core/opening-edit.ts +17 -3
  37. package/src/generation-core/opening-mix.ts +69 -5
  38. package/src/generation-core/plan-wire.ts +22 -5
  39. package/src/generation-core/public-api.ts +2 -0
  40. package/src/generation-core/site-build-run.ts +3 -0
  41. package/src/generation-core/site-plan.model.ts +3 -0
  42. package/src/generation-core/site-spec.generated.ts +250 -104
  43. package/src/generation-core/type-led.ts +4 -2
  44. package/src/generation-core/validate-site-plan.ts +2 -1
  45. package/src/harness-core/business-types.ts +27 -0
  46. package/src/harness-core/harness-spec.generated.ts +405 -56
  47. package/src/harness-core/motion.ts +19 -2
  48. package/src/harness-core/run-compose-context.ts +9 -3
  49. package/src/harness-core/starting-design.ts +15 -7
  50. package/styles/iox-design.css +10 -0
  51. package/styles/iox-forms.css +53 -0
@@ -17,7 +17,7 @@ export const SPEC_SITE_PLAN_SHAPE = {
17
17
  "film?": "film — the owner's film as pictures (SC6b), set by the build and placed by placeFilm; never a model's",
18
18
  "artDirection?": "artDirection — what every picture made for the site shares (M7): set by the generation from the business type and the look (generation-core artDirectionFor); never a model's",
19
19
  "direction?": "direction — what the site is built around (M8 gate 2): written with the pages, shown on the Plan step; every composed page serves it",
20
- "mixes?": "mixes — the header, the footer, the home page's opening and the body as mixes of ingredients (ingredients.md); a header or footer mix wins over its globals pattern",
20
+ "mixes?": "mixes — the header, the footer, the home page's opening, the body and the colours as mixes of ingredients (ingredients.md); a header or footer mix wins over its globals pattern",
21
21
  "popup?": "popupLines — the owner's popup lines from the Plan step (popups PU-D12): their stated news (only while its line is ticked) and the newsletter tick. Set by the server from the reading and the ticks; never a model's"
22
22
  },
23
23
  "popupLines": {
@@ -33,6 +33,7 @@ export const SPEC_SITE_PLAN_SHAPE = {
33
33
  "footer?": "string[] — the footer as <ingredient>:<word> words (site.layout.footer; list ingredients LI5)",
34
34
  "opening?": "string[] — the home page's opening (its first screen) as <ingredient>:<word> words (site.layout.opening; award ingredients AW8): it takes the place of the home page's first section when that is a hero, the hero's words and pictures carried in; absent or empty = the home page opens with its sections as written",
35
35
  "body?": "string[] — the site's body as <ingredient>:<word> words (site.layout.body; award ingredients AW6): how sections meet (seam), the page's pace (pace), the texture and the extra kinds of section; absent or empty = straight seams, each section's ground its own",
36
+ "colour?": "string[] — the site's colours as <ingredient>:<word> words (site.layout.colour; colour v2 CV2): the page's ground, the dark band's colour, how much accent and where, the main button's paint, how the grounds follow one another and the bands' shape. They ride the wire's body list (+0 properties) and are split out here; absent or empty = the style preset's own row (site.layout.colour.presets)",
36
37
  "popup?": "string[] — the site's popup as <ingredient>:<word> words (site.layout.popup.wire; popups PU3): its kind, where it sits, how it arrives and link:<page key>; absent or empty = no popup. Stamped only from the owner's popup lines (plan.popup)"
37
38
  },
38
39
  "direction": {
@@ -3137,6 +3138,7 @@ export const SPEC_SITE_PATTERNS = {
3137
3138
  "alignItems": "flex-start"
3138
3139
  },
3139
3140
  "enter": "items",
3141
+ "optional": "point4",
3140
3142
  "c": [
3141
3143
  {
3142
3144
  "t": "Icon",
@@ -5954,6 +5956,62 @@ export const SPEC_SITE_FOOTER_PARTS = {
5954
5956
  }
5955
5957
  ]
5956
5958
  },
5959
+ "newsletter": {
5960
+ "t": "Container",
5961
+ "es": "box",
5962
+ "role": "footer.newsletter",
5963
+ "lay": {
5964
+ "display": "flex",
5965
+ "flexDirection": "column",
5966
+ "gap": "12px"
5967
+ },
5968
+ "c": [
5969
+ {
5970
+ "t": "Heading",
5971
+ "es": "eyebrow",
5972
+ "level": "h4",
5973
+ "slot": "newsletterLabel",
5974
+ "max": 40,
5975
+ "text": "Newsletter",
5976
+ "textHe": "ניוזלטר"
5977
+ },
5978
+ {
5979
+ "t": "Form",
5980
+ "preset": "newsletter"
5981
+ }
5982
+ ]
5983
+ },
5984
+ "newsletter-band": {
5985
+ "t": "Container",
5986
+ "es": "box",
5987
+ "role": "footer.newsletter",
5988
+ "lay": {
5989
+ "display": "grid",
5990
+ "gridTemplateColumns": "0.9fr 1.1fr",
5991
+ "gap": "48px",
5992
+ "alignItems": "start"
5993
+ },
5994
+ "resp": {
5995
+ "mobile": {
5996
+ "gridTemplateColumns": "minmax(0, 1fr)"
5997
+ }
5998
+ },
5999
+ "c": [
6000
+ {
6001
+ "t": "Heading",
6002
+ "es": "h2",
6003
+ "level": "h2",
6004
+ "slot": "newsletterTitle",
6005
+ "max": 44,
6006
+ "text": "Hear from us now and then.",
6007
+ "textHe": "עדכונים מאיתנו מדי פעם."
6008
+ },
6009
+ {
6010
+ "t": "Form",
6011
+ "preset": "newsletter"
6012
+ }
6013
+ ]
6014
+ },
5957
6015
  "rule": {
5958
6016
  "t": "Divider",
5959
6017
  "es": "rule"
@@ -9065,10 +9123,6 @@ export const SPEC_SITE_LAYOUT = {
9065
9123
  "phone.first": "the sign-up comes first"
9066
9124
  },
9067
9125
  "waits": {
9068
- "holds.newsletter": {
9069
- "phase": "AW12",
9070
- "drawnAs": null
9071
- },
9072
9126
  "holds.payments": {
9073
9127
  "phase": "commerce",
9074
9128
  "drawnAs": null
@@ -9093,10 +9147,6 @@ export const SPEC_SITE_LAYOUT = {
9093
9147
  "phase": "HI6",
9094
9148
  "drawnAs": null
9095
9149
  },
9096
- "closing.newsletter": {
9097
- "phase": "AW12",
9098
- "drawnAs": "call"
9099
- },
9100
9150
  "ground.film": {
9101
9151
  "phase": "AW12",
9102
9152
  "drawnAs": "inverse"
@@ -9117,18 +9167,10 @@ export const SPEC_SITE_LAYOUT = {
9117
9167
  "phase": "FV1",
9118
9168
  "drawnAs": null
9119
9169
  },
9120
- "before.newsletter-band": {
9121
- "phase": "AW12",
9122
- "drawnAs": "none"
9123
- },
9124
9170
  "phone.accordion": {
9125
9171
  "phase": "FV1",
9126
9172
  "drawnAs": "stack"
9127
9173
  },
9128
- "phone.first": {
9129
- "phase": "AW12",
9130
- "drawnAs": "stack"
9131
- },
9132
9174
  "closing.behind": {
9133
9175
  "phase": "FV3",
9134
9176
  "drawnAs": "name"
@@ -9192,7 +9234,25 @@ export const SPEC_SITE_LAYOUT = {
9192
9234
  "listBigLarge": 5,
9193
9235
  "statementPhoneLines": 3,
9194
9236
  "legalAlways": true,
9195
- "socialMax": 6
9237
+ "socialMax": 6,
9238
+ "writesWords": [
9239
+ "journal",
9240
+ "blog",
9241
+ "news",
9242
+ "events",
9243
+ "event",
9244
+ "stories",
9245
+ "articles",
9246
+ "posts",
9247
+ "updates",
9248
+ "magazine",
9249
+ "יומן",
9250
+ "בלוג",
9251
+ "חדשות",
9252
+ "אירועים",
9253
+ "כתבות",
9254
+ "מגזין"
9255
+ ]
9196
9256
  },
9197
9257
  "socialNetworks": [
9198
9258
  {
@@ -9365,6 +9425,7 @@ export const SPEC_SITE_LAYOUT = {
9365
9425
  "rules.statementPhoneLines": "all",
9366
9426
  "rules.legalAlways": "all",
9367
9427
  "rules.socialMax": "all",
9428
+ "rules.writesWords": "all",
9368
9429
  "arrange.free": "all",
9369
9430
  "holds.social": "all",
9370
9431
  "holds.top": "all",
@@ -10130,6 +10191,15 @@ export const SPEC_SITE_LAYOUT = {
10130
10191
  "grow": 1.5,
10131
10192
  "wordsGrow": 1.1,
10132
10193
  "wordsUntil": 0.5
10194
+ },
10195
+ "display": {
10196
+ "capBody": 13,
10197
+ "lines": 3,
10198
+ "phoneLines": 4,
10199
+ "roomPx": 1120,
10200
+ "fill": 0.82,
10201
+ "screenShare": 0.5,
10202
+ "phoneScreenShare": 0.36
10133
10203
  }
10134
10204
  },
10135
10205
  "tiers": {
@@ -10145,6 +10215,7 @@ export const SPEC_SITE_LAYOUT = {
10145
10215
  "rules.wordsNeverCut": "all",
10146
10216
  "rules.badgeOwnersOnly": "all",
10147
10217
  "rules.neverHoldsScroll": "all",
10218
+ "rules.display": "all",
10148
10219
  "frame.inset": "pro",
10149
10220
  "frame.shrinks": "pro",
10150
10221
  "frame.grows": "pro",
@@ -11453,8 +11524,8 @@ export const SPEC_SITE_LAYOUT = {
11453
11524
  "bands.full": "a coloured section spans the window",
11454
11525
  "bands.inset": "a coloured section is a rounded card on the page's ground",
11455
11526
  "wash.flat": "flat grounds",
11456
- "wash.gradient": "a coloured ground fades vertically to the next colour",
11457
- "wash.glow": "soft glows of the brand on the paper",
11527
+ "wash.gradient": "the page fades toward its dark colour at its foot",
11528
+ "wash.glow": "soft glows of the brand at the head and the foot of the page",
11458
11529
  "wash.photo-dim": "a full photo, dimmed, as a ground",
11459
11530
  "pictures.natural": "pictures as taken",
11460
11531
  "pictures.warm": "pictures warmed a little",
@@ -11491,8 +11562,8 @@ export const SPEC_SITE_LAYOUT = {
11491
11562
  "bands.full": "אזור צבעוני שנפרש לכל רוחב החלון",
11492
11563
  "bands.inset": "אזור צבעוני ככרטיס מעוגל על רקע הדף",
11493
11564
  "wash.flat": "רקעים אחידים",
11494
- "wash.gradient": "רקע צבעוני שדוהה מלמעלה למטה אל הצבע הבא",
11495
- "wash.glow": "זוהר רך של צבע המותג על הנייר",
11565
+ "wash.gradient": "הדף דוהה לעבר הצבע הכהה שלו בתחתיתו",
11566
+ "wash.glow": "זוהר רך של צבע המותג בראש הדף ובתחתיתו",
11496
11567
  "wash.photo-dim": "תמונה מלאה, מעומעמת, כרקע",
11497
11568
  "pictures.natural": "התמונות כפי שצולמו",
11498
11569
  "pictures.warm": "התמונות מחוממות מעט",
@@ -11503,92 +11574,12 @@ export const SPEC_SITE_LAYOUT = {
11503
11574
  "source.look": "הצבע של העיצוב עצמו"
11504
11575
  },
11505
11576
  "waits": {
11506
- "ground.paper": {
11507
- "phase": "CV2",
11508
- "drawnAs": "look"
11509
- },
11510
- "ground.white": {
11511
- "phase": "CV2",
11512
- "drawnAs": "look"
11513
- },
11514
- "ground.cool": {
11515
- "phase": "CV2",
11516
- "drawnAs": "look"
11517
- },
11518
- "dark.brand-deep": {
11519
- "phase": "CV2",
11520
- "drawnAs": "ink"
11521
- },
11522
- "dark.earth": {
11523
- "phase": "CV2",
11524
- "drawnAs": "ink"
11525
- },
11526
- "accent.one-place": {
11527
- "phase": "CV2",
11528
- "drawnAs": "signal"
11529
- },
11530
- "accent.none": {
11531
- "phase": "CV2",
11532
- "drawnAs": "signal"
11533
- },
11534
- "accent.flood": {
11535
- "phase": "CV2",
11536
- "drawnAs": "signal"
11537
- },
11538
- "action.ink": {
11539
- "phase": "CV2",
11540
- "drawnAs": "accent"
11541
- },
11542
- "action.deep": {
11543
- "phase": "CV2",
11544
- "drawnAs": "accent"
11545
- },
11546
- "rhythm.one-ground": {
11547
- "phase": "CV2",
11548
- "drawnAs": "free"
11549
- },
11550
- "rhythm.long-runs": {
11551
- "phase": "CV2",
11552
- "drawnAs": "free"
11553
- },
11554
- "rhythm.alternate": {
11555
- "phase": "CV2",
11556
- "drawnAs": "free"
11557
- },
11558
- "rhythm.paper-picture": {
11559
- "phase": "CV2",
11560
- "drawnAs": "free"
11561
- },
11562
- "rhythm.chapters": {
11563
- "phase": "CV2",
11564
- "drawnAs": "free"
11565
- },
11566
- "rhythm.tail": {
11567
- "phase": "CV2",
11568
- "drawnAs": "free"
11569
- },
11570
- "rhythm.flood": {
11571
- "phase": "CV2",
11572
- "drawnAs": "free"
11573
- },
11574
11577
  "rhythm.flow": {
11575
11578
  "phase": "CV5",
11576
- "drawnAs": "free"
11577
- },
11578
- "bands.inset": {
11579
- "phase": "CV2",
11580
- "drawnAs": "full"
11581
- },
11582
- "wash.gradient": {
11583
- "phase": "CV3",
11584
- "drawnAs": "flat"
11585
- },
11586
- "wash.glow": {
11587
- "phase": "CV3",
11588
- "drawnAs": "flat"
11579
+ "drawnAs": "long-runs"
11589
11580
  },
11590
11581
  "wash.photo-dim": {
11591
- "phase": "CV3",
11582
+ "phase": "CV3b",
11592
11583
  "drawnAs": "flat"
11593
11584
  },
11594
11585
  "pictures.warm": {
@@ -12510,6 +12501,8 @@ export const SPEC_SITE_LAYOUT = {
12510
12501
  "leaveShare": 0.5,
12511
12502
  "preloaderCapMs": 1500,
12512
12503
  "preloaderLevels": [
12504
+ "subtle",
12505
+ "standard",
12513
12506
  "lively",
12514
12507
  "expressive"
12515
12508
  ],
@@ -12518,6 +12511,8 @@ export const SPEC_SITE_LAYOUT = {
12518
12511
  "expressive"
12519
12512
  ],
12520
12513
  "scrubLevels": [
12514
+ "subtle",
12515
+ "standard",
12521
12516
  "lively",
12522
12517
  "expressive"
12523
12518
  ],
@@ -13329,5 +13324,156 @@ export const SPEC_SITE_LAYOUT = {
13329
13324
  "accent"
13330
13325
  ]
13331
13326
  }
13327
+ },
13328
+ "composition": {
13329
+ "skeletons": {
13330
+ "hero.split": "split",
13331
+ "hero.centered": "centred",
13332
+ "hero.stacked-editorial": "stacked",
13333
+ "hero.full-bleed-media": "full-bleed",
13334
+ "hero.scene-depth": "full-bleed",
13335
+ "hero.scene-object": "full-bleed",
13336
+ "story.scene-chapters": "scene",
13337
+ "proof.scene-words": "statement",
13338
+ "collection.card-grid": "three-across",
13339
+ "collection.list-detail": "rows",
13340
+ "commerce.product-grid": "three-across",
13341
+ "commerce.featured": "split",
13342
+ "commerce.product-detail": "item",
13343
+ "collection.masonry-gallery": "gallery",
13344
+ "feature.triad": "three-across",
13345
+ "feature.alternating-rows": "alternating",
13346
+ "feature.icon-list": "two-across",
13347
+ "feature.tabbed": "tabs",
13348
+ "pricing.tiers": "three-across",
13349
+ "cta.banner": "band",
13350
+ "cta.split-form": "split",
13351
+ "page-header.simple": "heading",
13352
+ "project.hero": "full-bleed",
13353
+ "project.gallery": "gallery",
13354
+ "project.next": "band",
13355
+ "item.body": "column",
13356
+ "about.story": "split",
13357
+ "story.long-form": "column",
13358
+ "story.timeline": "steps",
13359
+ "story.quote-break": "statement",
13360
+ "contact.split": "split",
13361
+ "contact.simple": "facts",
13362
+ "faq.accordion": "accordion",
13363
+ "proof.testimonial-carousel": "carousel",
13364
+ "proof.testimonial-single": "statement",
13365
+ "proof.stat-row": "numbers",
13366
+ "proof.logo-strip": "strip"
13367
+ },
13368
+ "neighbours": "differ",
13369
+ "distinct": {
13370
+ "home": 5,
13371
+ "collection": 3,
13372
+ "services": 3,
13373
+ "about": 3
13374
+ },
13375
+ "maxSections": {
13376
+ "home": 8,
13377
+ "collection": 5,
13378
+ "services": 5,
13379
+ "about": 5
13380
+ },
13381
+ "borrows": {
13382
+ "home": [
13383
+ {
13384
+ "kind": "list",
13385
+ "families": [
13386
+ "collection"
13387
+ ],
13388
+ "limit": 3
13389
+ },
13390
+ {
13391
+ "kind": "section",
13392
+ "pattern": "story.quote-break"
13393
+ },
13394
+ {
13395
+ "kind": "section",
13396
+ "pattern": "faq.accordion",
13397
+ "limit": 4
13398
+ }
13399
+ ],
13400
+ "collection": [
13401
+ {
13402
+ "kind": "ask",
13403
+ "pattern": "cta.banner"
13404
+ },
13405
+ {
13406
+ "kind": "section",
13407
+ "pattern": "faq.accordion",
13408
+ "limit": 4
13409
+ },
13410
+ {
13411
+ "kind": "section",
13412
+ "pattern": "feature.triad"
13413
+ }
13414
+ ],
13415
+ "services": [
13416
+ {
13417
+ "kind": "ask",
13418
+ "pattern": "cta.banner"
13419
+ },
13420
+ {
13421
+ "kind": "section",
13422
+ "pattern": "faq.accordion",
13423
+ "limit": 4
13424
+ }
13425
+ ],
13426
+ "about": [
13427
+ {
13428
+ "kind": "ask",
13429
+ "pattern": "cta.banner"
13430
+ },
13431
+ {
13432
+ "kind": "section",
13433
+ "pattern": "story.quote-break"
13434
+ },
13435
+ {
13436
+ "kind": "section",
13437
+ "pattern": "faq.accordion",
13438
+ "limit": 4
13439
+ }
13440
+ ]
13441
+ },
13442
+ "words": {
13443
+ "more": {
13444
+ "en": "See all",
13445
+ "he": "הצגת הכול"
13446
+ }
13447
+ },
13448
+ "air": {
13449
+ "section": {
13450
+ "compact": 48,
13451
+ "regular": 72,
13452
+ "airy": 112
13453
+ },
13454
+ "join": "same-ground",
13455
+ "phone": {
13456
+ "maxWidth": 767,
13457
+ "toward": 64,
13458
+ "share": 0.5
13459
+ }
13460
+ },
13461
+ "swaps": {
13462
+ "feature.triad": {
13463
+ "pattern": "feature.icon-list",
13464
+ "without": [
13465
+ "point4"
13466
+ ],
13467
+ "slots": {
13468
+ "title": "title",
13469
+ "item1": "item1",
13470
+ "item1Text": "item1Text",
13471
+ "item2": "item2",
13472
+ "item2Text": "item2Text",
13473
+ "item3": "item3",
13474
+ "item3Text": "item3Text"
13475
+ }
13476
+ }
13477
+ }
13332
13478
  }
13333
13479
  } as const;
@@ -23,7 +23,9 @@ import { ContentRole, PagePlan, PageSectionPlan, roleField, ShopResource, SitePl
23
23
  * slot carried, never cut), an opening on a photo or film with nothing to show is left out (the page opens on its
24
24
  * type-led hero), a model-laid section's empty photo stands in its own place as a ground plate of the look's colour — a
25
25
  * composed page KEEPS its composition (2026-11-25, iox-ui#129 × #131): it is never handed back to ready-made sections —
26
- * and a list whose items have no picture at all shows its cards without the picture part. Nothing is dropped from a
26
+ * and a list whose items have no picture shows its cards without the picture part — decided per ITEM as the page renders
27
+ * (iox-ui#191: the card keeps its bound picture part and the shared CSS leaves it out where the item has none, so the
28
+ * owner's photos saved after the build show at once; `pictureless` only records the types). Nothing is dropped from a
27
29
  * page: plan indices, section ids and every other slot's node id stay as they were, so the caller's filled slots and its
28
30
  * placements still name the same nodes.
29
31
  *
@@ -122,7 +124,7 @@ export interface TypeLed {
122
124
  /** The plan as composed (the stored plan is never rewritten). */
123
125
  plan: SitePlan;
124
126
  changes: TypeLedChange[];
125
- /** Content types whose items show no picture (their cards are composed without one). */
127
+ /** Content types whose items show no picture yet. Their cards still bind each item's picture (iox-ui#191): the shared CSS leaves the part out per item. */
126
128
  pictureless: string[];
127
129
  /** The home page's type-led first screen, when it opens on one. */
128
130
  opening?: TypeLedOpening;
@@ -20,6 +20,7 @@ import { footerMixFromWords } from './footer-mix';
20
20
  import { headerMixFromWords } from './header-mix';
21
21
  import { openingMixFromWords } from './opening-mix';
22
22
  import { bodyMixFromWords } from './body-mix';
23
+ import { colourMixFromWords } from './colour-mix';
23
24
  import { popupMixFromWords } from './popup-plan';
24
25
  import { patternListGap } from './recipe-fields';
25
26
  import { freeSlotIssues } from './check-free';
@@ -783,7 +784,7 @@ function validateGlobals(c: Collector, globals: unknown): void {
783
784
 
784
785
  /** The parts a plan may carry as a mix, and how each reads its words (only the footer until header ingredients HI1). */
785
786
  const MIX_READERS: Readonly<Record<string, (words: ReadonlyArray<string>) => unknown>> = { header: headerMixFromWords, footer: footerMixFromWords, opening: openingMixFromWords, body: bodyMixFromWords,
786
- popup: popupMixFromWords };
787
+ popup: popupMixFromWords, colour: colourMixFromWords };
787
788
 
788
789
  /** `mixes`: each part's words parse in its table (list ingredients LI5); absent is fine. */
789
790
  function validateMixes(c: Collector, mixes: unknown): void {
@@ -145,6 +145,25 @@ export interface BusinessTypeHeader {
145
145
  readonly sayHe: ReadonlyArray<string>;
146
146
  }
147
147
 
148
+ /** AW-D20 (harness ART_NEVER): the art direction a type's site never takes — the preloader kinds, covers, seams, textures and
149
+ * signatures it refuses, merged over every rule naming it. */
150
+ export interface BusinessTypeArt {
151
+ readonly preloader: ReadonlyArray<string>;
152
+ readonly cover: ReadonlyArray<string>;
153
+ readonly seam: ReadonlyArray<string>;
154
+ readonly texture: ReadonlyArray<string>;
155
+ readonly signatures: ReadonlyArray<string>;
156
+ readonly secondScene: boolean;
157
+ readonly say: ReadonlyArray<string>;
158
+ }
159
+
160
+ /** Motion reach (MR-D1, MR-D4; harness SIGNATURE_MOVES): the moves a type's generated site signs with, best first, and the
161
+ * level a Still start is lifted to (design-core `withSignatureMove`). */
162
+ export interface BusinessTypeSignature {
163
+ readonly moves: ReadonlyArray<string>;
164
+ readonly floor: string;
165
+ }
166
+
148
167
  /** Award §0b + §0b.7 (AW-D26, AW-D32): how a type's opening film is suggested, and what it may show (`filmIdeaFor`). */
149
168
  export interface BusinessTypeFilm {
150
169
  /** offer · ifAsked · never — the default the owner's words move one step. */
@@ -209,6 +228,14 @@ export interface BusinessType {
209
228
  * the plan names none — the references for the type open on a picture (`frame:full`) or keep the words first beside one
210
229
  * (`frame:inset`). Null: the Home opens as its plan writes. */
211
230
  readonly opening: ReadonlyArray<string> | null;
231
+ /** AW-D20: the art direction it never takes (harness ART_NEVER). */
232
+ readonly art: BusinessTypeArt;
233
+ /** Motion reach (MR-D1): the moves its generated site signs with. Optional until the contract regen carries it — a type
234
+ * without one is left as its look starts. */
235
+ readonly signature?: BusinessTypeSignature;
236
+ /** AW12 newsletter (harness FOOTER_SIGNUP, team/reference-cards row 6): its references close with a sign-up — its footer
237
+ * holds one when the plan's has none, and the type is a reason to write (AW12-D6). */
238
+ readonly signUp: boolean;
212
239
  }
213
240
 
214
241
  /** The 30, in the board's order. Assignment here proves the generated data fits the type. */