@vectoriox/iox-ui 5.201.0 → 5.202.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 (41) hide show
  1. package/design-core/index.d.ts +162 -5
  2. package/fesm2022/vectoriox-iox-ui-design-core.mjs +216 -12
  3. package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
  4. package/fesm2022/vectoriox-iox-ui-generation-core.mjs +2665 -1299
  5. package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
  6. package/fesm2022/vectoriox-iox-ui-harness-core.mjs +28 -12
  7. package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
  8. package/fesm2022/vectoriox-iox-ui.mjs +85 -1
  9. package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
  10. package/generation-core/index.d.ts +968 -263
  11. package/harness-core/index.d.ts +21 -13
  12. package/index.d.ts +50 -2
  13. package/package.json +1 -1
  14. package/src/design-core/brand-neutrals.ts +50 -7
  15. package/src/design-core/colour-words.ts +22 -5
  16. package/src/design-core/design-settings.ts +5 -0
  17. package/src/design-core/design-token.model.ts +3 -0
  18. package/src/design-core/flavor-fixtures.generated.ts +38 -2
  19. package/src/design-core/flavor-spec.generated.ts +143 -1
  20. package/src/design-core/flavor-tokens.ts +6 -2
  21. package/src/generation-core/check-free.ts +36 -16
  22. package/src/generation-core/colour-mix.ts +70 -14
  23. package/src/generation-core/compose-site.ts +139 -27
  24. package/src/generation-core/fallback-memory.ts +8 -5
  25. package/src/generation-core/footer-free.ts +439 -0
  26. package/src/generation-core/footer-mix.ts +130 -36
  27. package/src/generation-core/free-parts.ts +3 -0
  28. package/src/generation-core/free-slot-words.ts +3 -0
  29. package/src/generation-core/free-wire.ts +10 -2
  30. package/src/generation-core/layout-fingerprint.ts +6 -4
  31. package/src/generation-core/opening-mix.ts +61 -0
  32. package/src/generation-core/plan-wire.ts +1 -0
  33. package/src/generation-core/public-api.ts +1 -0
  34. package/src/generation-core/redesign-run.ts +45 -2
  35. package/src/generation-core/site-plan.model.ts +6 -0
  36. package/src/generation-core/site-spec.generated.ts +599 -22
  37. package/src/generation-core/validate-site-plan.ts +39 -1
  38. package/src/harness-core/business-types.ts +3 -1
  39. package/src/harness-core/harness-spec.generated.ts +24 -12
  40. package/src/harness-core/run-compose-context.ts +8 -1
  41. package/styles/iox-design.css +7 -4
@@ -2222,13 +2222,16 @@ const SPEC_BUSINESS_TYPES = [
2222
2222
  "never": [
2223
2223
  "accent.flood",
2224
2224
  "rhythm.flood",
2225
- "rhythm.alternate"
2225
+ "rhythm.alternate",
2226
+ "rhythm.flow"
2226
2227
  ],
2227
2228
  "say": [
2228
- "People who come for care or advice need calm: no section after section in full colours, no grounds flipping dark and light."
2229
+ "People who come for care or advice need calm: no section after section in full colours, no grounds flipping dark and light.",
2230
+ "People who come for care or advice read in a still room: the page's ground never changes colour under them as they scroll."
2229
2231
  ],
2230
2232
  "sayHe": [
2231
- "מי שמגיע לטיפול או לייעוץ צריך שקט: בלי אזור אחרי אזור בצבעים מלאים, בלי רקעים שמתחלפים כהה ובהיר."
2233
+ "מי שמגיע לטיפול או לייעוץ צריך שקט: בלי אזור אחרי אזור בצבעים מלאים, בלי רקעים שמתחלפים כהה ובהיר.",
2234
+ "מי שמגיע לטיפול או לייעוץ קורא בחדר שקט: רקע הדף לא משנה את צבעו מתחתיו בזמן הגלילה."
2232
2235
  ]
2233
2236
  },
2234
2237
  "fonts": "calming, readable",
@@ -2453,13 +2456,16 @@ const SPEC_BUSINESS_TYPES = [
2453
2456
  "never": [
2454
2457
  "accent.flood",
2455
2458
  "rhythm.flood",
2456
- "rhythm.alternate"
2459
+ "rhythm.alternate",
2460
+ "rhythm.flow"
2457
2461
  ],
2458
2462
  "say": [
2459
- "People who come for care or advice need calm: no section after section in full colours, no grounds flipping dark and light."
2463
+ "People who come for care or advice need calm: no section after section in full colours, no grounds flipping dark and light.",
2464
+ "People who come for care or advice read in a still room: the page's ground never changes colour under them as they scroll."
2460
2465
  ],
2461
2466
  "sayHe": [
2462
- "מי שמגיע לטיפול או לייעוץ צריך שקט: בלי אזור אחרי אזור בצבעים מלאים, בלי רקעים שמתחלפים כהה ובהיר."
2467
+ "מי שמגיע לטיפול או לייעוץ צריך שקט: בלי אזור אחרי אזור בצבעים מלאים, בלי רקעים שמתחלפים כהה ובהיר.",
2468
+ "מי שמגיע לטיפול או לייעוץ קורא בחדר שקט: רקע הדף לא משנה את צבעו מתחתיו בזמן הגלילה."
2463
2469
  ]
2464
2470
  },
2465
2471
  "fonts": "professional, readable",
@@ -2680,13 +2686,16 @@ const SPEC_BUSINESS_TYPES = [
2680
2686
  "never": [
2681
2687
  "accent.flood",
2682
2688
  "rhythm.flood",
2683
- "rhythm.alternate"
2689
+ "rhythm.alternate",
2690
+ "rhythm.flow"
2684
2691
  ],
2685
2692
  "say": [
2686
- "People who come for care or advice need calm: no section after section in full colours, no grounds flipping dark and light."
2693
+ "People who come for care or advice need calm: no section after section in full colours, no grounds flipping dark and light.",
2694
+ "People who come for care or advice read in a still room: the page's ground never changes colour under them as they scroll."
2687
2695
  ],
2688
2696
  "sayHe": [
2689
- "מי שמגיע לטיפול או לייעוץ צריך שקט: בלי אזור אחרי אזור בצבעים מלאים, בלי רקעים שמתחלפים כהה ובהיר."
2697
+ "מי שמגיע לטיפול או לייעוץ צריך שקט: בלי אזור אחרי אזור בצבעים מלאים, בלי רקעים שמתחלפים כהה ובהיר.",
2698
+ "מי שמגיע לטיפול או לייעוץ קורא בחדר שקט: רקע הדף לא משנה את צבעו מתחתיו בזמן הגלילה."
2690
2699
  ]
2691
2700
  },
2692
2701
  "fonts": "friendly, professional",
@@ -4463,13 +4472,16 @@ const SPEC_BUSINESS_TYPES = [
4463
4472
  "never": [
4464
4473
  "accent.flood",
4465
4474
  "rhythm.flood",
4466
- "rhythm.alternate"
4475
+ "rhythm.alternate",
4476
+ "rhythm.flow"
4467
4477
  ],
4468
4478
  "say": [
4469
- "People who come for care or advice need calm: no section after section in full colours, no grounds flipping dark and light."
4479
+ "People who come for care or advice need calm: no section after section in full colours, no grounds flipping dark and light.",
4480
+ "People who come for care or advice read in a still room: the page's ground never changes colour under them as they scroll."
4470
4481
  ],
4471
4482
  "sayHe": [
4472
- "מי שמגיע לטיפול או לייעוץ צריך שקט: בלי אזור אחרי אזור בצבעים מלאים, בלי רקעים שמתחלפים כהה ובהיר."
4483
+ "מי שמגיע לטיפול או לייעוץ צריך שקט: בלי אזור אחרי אזור בצבעים מלאים, בלי רקעים שמתחלפים כהה ובהיר.",
4484
+ "מי שמגיע לטיפול או לייעוץ קורא בחדר שקט: רקע הדף לא משנה את צבעו מתחתיו בזמן הגלילה."
4473
4485
  ]
4474
4486
  },
4475
4487
  "fonts": "professional, authoritative",
@@ -7749,6 +7761,8 @@ function businessComposeContext(typeId, decisions) {
7749
7761
  ...(type.signature?.moves.length ? { signature: signatureInputOf(type, !!decisions?.littleMovement) } : {}),
7750
7762
  // AW12 newsletter: its references close with a sign-up (the composer still asks for a reason to write).
7751
7763
  ...(type.signUp ? { footerSignUp: true } : {}),
7764
+ // Colour v2 CV5 (H1): the colour words its site never wears are mended at build, not only told (`checkColour`).
7765
+ ...(type.colour?.never?.length ? { colourNever: [...type.colour.never] } : {}),
7752
7766
  };
7753
7767
  }
7754
7768
  /** The layout photo ids that are the owner's own (`own:<asset>`). */
@@ -7780,6 +7794,8 @@ function runComposeContext(run) {
7780
7794
  ...businessComposeContext(decisions?.businessType, decisions),
7781
7795
  // HI3-D5: the preflight judged the words at rest once, on the pixels it held; every step composes with that answer.
7782
7796
  ...(typeof decisions?.headerReadable === 'boolean' ? { headerReadable: decisions.headerReadable } : {}),
7797
+ // iox-ui#192: the organization seeds the way the Home opens (`chooseOpeningWay`).
7798
+ ...(run.seed ? { seed: run.seed } : {}),
7783
7799
  };
7784
7800
  return run.pictures ? { ...context, pictures: run.pictures } : context;
7785
7801
  }