@vectoriox/iox-ui 5.137.0 → 5.139.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 (64) hide show
  1. package/assist-core/index.d.ts +22 -4
  2. package/composite-core/index.d.ts +10 -2
  3. package/design-core/index.d.ts +225 -20
  4. package/fesm2022/vectoriox-iox-ui-actions-core.mjs +12 -2
  5. package/fesm2022/vectoriox-iox-ui-actions-core.mjs.map +1 -1
  6. package/fesm2022/vectoriox-iox-ui-assist-core.mjs +29 -5
  7. package/fesm2022/vectoriox-iox-ui-assist-core.mjs.map +1 -1
  8. package/fesm2022/vectoriox-iox-ui-composite-core.mjs +18 -2
  9. package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
  10. package/fesm2022/vectoriox-iox-ui-design-core.mjs +376 -61
  11. package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
  12. package/fesm2022/vectoriox-iox-ui-generation-core.mjs +1038 -251
  13. package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
  14. package/fesm2022/vectoriox-iox-ui-harness-core.mjs +16 -6
  15. package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
  16. package/fesm2022/vectoriox-iox-ui-scene-core.mjs +197 -28
  17. package/fesm2022/vectoriox-iox-ui-scene-core.mjs.map +1 -1
  18. package/fesm2022/vectoriox-iox-ui.mjs +185 -11
  19. package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
  20. package/generation-core/index.d.ts +1124 -732
  21. package/harness-core/index.d.ts +8 -3
  22. package/index.d.ts +46 -2
  23. package/package.json +1 -1
  24. package/scene-core/index.d.ts +69 -13
  25. package/src/actions-core/element-actions.ts +14 -4
  26. package/src/assist-core/assist-turn.ts +3 -1
  27. package/src/assist-core/route-schema.ts +20 -5
  28. package/src/assist-core/surfaces.ts +12 -0
  29. package/src/composite-core/header.ts +18 -1
  30. package/src/design-core/design-settings.ts +14 -3
  31. package/src/design-core/design-token.model.ts +3 -0
  32. package/src/design-core/flavor-spec.generated.ts +64 -25
  33. package/src/design-core/graphemes.ts +16 -0
  34. package/src/design-core/header-behaviour.ts +20 -2
  35. package/src/design-core/motion-language.ts +11 -7
  36. package/src/design-core/node-classes.ts +10 -4
  37. package/src/design-core/preloader.ts +3 -4
  38. package/src/design-core/public-api.ts +3 -0
  39. package/src/design-core/scrub.ts +37 -0
  40. package/src/design-core/section-edge.ts +223 -0
  41. package/src/design-core/style-presets.ts +2 -0
  42. package/src/generation-core/body-mix.ts +443 -0
  43. package/src/generation-core/check-layout.ts +42 -4
  44. package/src/generation-core/compose-layout.ts +28 -6
  45. package/src/generation-core/compose-site.ts +34 -10
  46. package/src/generation-core/header-mix.ts +4 -0
  47. package/src/generation-core/layout-fingerprint.ts +19 -1
  48. package/src/generation-core/layout-language.ts +21 -1
  49. package/src/generation-core/layout-wire.ts +27 -2
  50. package/src/generation-core/node-baselines.generated.ts +7 -2
  51. package/src/generation-core/opening-mix.ts +32 -0
  52. package/src/generation-core/plan-wire.ts +67 -21
  53. package/src/generation-core/public-api.ts +2 -0
  54. package/src/generation-core/redesign-run.ts +27 -0
  55. package/src/generation-core/site-build-run.ts +24 -6
  56. package/src/generation-core/site-plan.model.ts +2 -0
  57. package/src/generation-core/site-spec.generated.ts +120 -58
  58. package/src/generation-core/text-scroll.ts +179 -0
  59. package/src/generation-core/validate-site-plan.ts +4 -2
  60. package/src/harness-core/motion.ts +12 -1
  61. package/src/harness-core/starting-design.ts +6 -5
  62. package/src/scene-core/scroll-range.ts +4 -0
  63. package/src/scene-core/split-text.ts +216 -28
  64. package/styles/iox-design.css +87 -0
@@ -1773,3 +1773,90 @@ dialog[data-iox-dialog].iox-es.iox-role-shop-cart-drawer:is([data-iox-closing],
1773
1773
  at its resting crop from the first frame. */
1774
1774
  .iox-role-opening .iox-role-opening-media-zooms { animation: iox-opening-zoom min(calc(var(--iox-dur-slow, 320ms) * 1000), 18s) var(--iox-ease-enter, ease-out) both; }
1775
1775
  }
1776
+
1777
+ /* ── AW6: a section's EDGE into the one above it, its card shape, and a header whose ink follows the sections ──────
1778
+ (award-ingredients plan §7.1d, board award-body, AW6-D1…D11). Keyed on the classes design-core's node-class helper
1779
+ writes from a Section's `seam` / `sectionShape` traits (`sectionDesignClasses`) — the same in every renderer.
1780
+ The edge belongs to the LOWER section (D2): its `::before`, filled with its own ground (`background-color: inherit` —
1781
+ its scheme's token or the author's colour), rises into the section above by the seam's depth. It is PAINTED, never
1782
+ laid out (R-H16, `seamPaintsOnly`): no box moves and the canvas selection stays square. Two neighbours on one ground
1783
+ paint nothing visible (D3). Every number is the contract's (`BODY.seams`, laptop · phone — held equal by
1784
+ generation-core `body-mix.spec.ts`). `translate: 0px` is identity: it makes the section the pseudo's
1785
+ containing block whatever position the canvas forces (the linked card's precedent), and paints it above the section
1786
+ before it. */
1787
+ :is(.iox-seam-wave, .iox-seam-drip, .iox-seam-torn, .iox-seam-rounded) {
1788
+ translate: 0px;
1789
+ }
1790
+ /* A section with no ground of its own would hand its edge `transparent`, and the edge would paint nothing: a section with
1791
+ no Section style holds no colour, and the DEFAULT scheme's section ground is `transparent` itself (the page shows
1792
+ through) — so the edge into a light section under a dark band never showed (found by e2e:bodyproof). A section with an
1793
+ edge stands on the page's ground instead: its section ground is re-declared as the page's on the section itself (a
1794
+ scheme class re-declares its own and wins), and a section with no colour wears it. Zero specificity — the Section
1795
+ style's and the author's own colour win. Over a plain page this is the colour the visitor saw through it. */
1796
+ :where(.iox-seam-wave, .iox-seam-drip, .iox-seam-torn, .iox-seam-rounded) {
1797
+ --iox-section-bg: var(--iox-page-bg);
1798
+ background-color: var(--iox-section-bg);
1799
+ }
1800
+ .iox-seam-wave { --seam-depth: 48px; --seam-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 48' preserveAspectRatio='none'%3E%3Cpath d='M0 48C150 0 410 0 560 48Z'/%3E%3C/svg%3E"); }
1801
+ .iox-seam-drip { --seam-depth: 64px; --seam-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 64' preserveAspectRatio='none'%3E%3Cpath d='M0 64V10H40V36a14 14 0 0 0 28 0V10H150V50a14 14 0 0 0 28 0V10H300V30a12 12 0 0 0 24 0V10H430V46a14 14 0 0 0 28 0V10H560V64Z'/%3E%3C/svg%3E"); }
1802
+ .iox-seam-torn { --seam-depth: 20px; --seam-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 20' preserveAspectRatio='none'%3E%3Cpath d='M0 20L0 8L18 2L34 12L52 4L70 14L86 6L104 16L120 3L140 11L158 5L176 15L192 7L212 13L230 2L248 10L266 4L284 16L300 8L320 12L338 3L356 14L372 6L392 11L410 2L428 15L446 7L464 12L482 4L500 14L518 6L540 10L560 4L560 20Z'/%3E%3C/svg%3E"); }
1803
+ .iox-seam-rounded { --seam-radius: 48px; }
1804
+ :is(.iox-seam-wave, .iox-seam-drip, .iox-seam-torn)::before {
1805
+ content: '';
1806
+ position: absolute;
1807
+ inset-inline: 0;
1808
+ inset-block-end: 100%;
1809
+ block-size: var(--seam-depth);
1810
+ background-color: inherit;
1811
+ pointer-events: none;
1812
+ -webkit-mask: var(--seam-shape) 0 0 / 100% 100% no-repeat;
1813
+ mask: var(--seam-shape) 0 0 / 100% 100% no-repeat;
1814
+ }
1815
+ /* Rounded (D4): the upper section's lower corners, painted away in THIS section's ground — the upper reads as laid over
1816
+ this one, its corners at the table's radius; no depth. */
1817
+ .iox-seam-rounded::before {
1818
+ content: '';
1819
+ position: absolute;
1820
+ inset-inline: 0;
1821
+ inset-block-end: 100%;
1822
+ block-size: var(--seam-radius);
1823
+ background-color: inherit;
1824
+ pointer-events: none;
1825
+ -webkit-mask:
1826
+ radial-gradient(circle at 100% 0, #0000 calc(var(--seam-radius) - 0.5px), #000 var(--seam-radius)) left bottom / var(--seam-radius) var(--seam-radius) no-repeat,
1827
+ radial-gradient(circle at 0 0, #0000 calc(var(--seam-radius) - 0.5px), #000 var(--seam-radius)) right bottom / var(--seam-radius) var(--seam-radius) no-repeat;
1828
+ mask:
1829
+ radial-gradient(circle at 100% 0, #0000 calc(var(--seam-radius) - 0.5px), #000 var(--seam-radius)) left bottom / var(--seam-radius) var(--seam-radius) no-repeat,
1830
+ radial-gradient(circle at 0 0, #0000 calc(var(--seam-radius) - 0.5px), #000 var(--seam-radius)) right bottom / var(--seam-radius) var(--seam-radius) no-repeat;
1831
+ }
1832
+ /* The first section has nothing above it — its edge would meet the header (the panel says so). */
1833
+ :is(.iox-seam-wave, .iox-seam-drip, .iox-seam-torn, .iox-seam-rounded):first-child::before {
1834
+ content: none;
1835
+ }
1836
+ /* A right-to-left section draws an asymmetric edge mirrored (D5, R-H18). design-core decides it from the section's own
1837
+ Text Direction and writes `iox-seam-mirrored` beside the edge — never `:dir(rtl)`, which cannot see a CSS `direction`
1838
+ and, on the builder canvas, would read the ADMIN's language. The raw SSR is already right. */
1839
+ .iox-seam-mirrored::before {
1840
+ scale: -1 1;
1841
+ }
1842
+ /* A phone's depths (the table's second number). The canvas sizes by its frame. */
1843
+ @media (max-width: 767px) {
1844
+ .iox-seam-wave { --seam-depth: 24px; }
1845
+ .iox-seam-drip { --seam-depth: 32px; }
1846
+ .iox-seam-torn { --seam-depth: 14px; }
1847
+ .iox-seam-rounded { --seam-radius: 28px; }
1848
+ }
1849
+ @container iox-canvas (max-width: 767px) {
1850
+ .iox-seam-wave { --seam-depth: 24px; }
1851
+ .iox-seam-drip { --seam-depth: 32px; }
1852
+ .iox-seam-torn { --seam-depth: 14px; }
1853
+ .iox-seam-rounded { --seam-radius: 28px; }
1854
+ }
1855
+ /* The header whose ink FOLLOWS the sections (D10): the header ink runtime moves `data-iox-opening` as each section passes
1856
+ under the bar; its ground and words cross-fade by a transition (interruptible from the live value), on the look's fast
1857
+ duration — 0ms under motion Off. A colour change, not movement: it stays under reduced motion. */
1858
+ :root [data-iox-header-ink="follows"] {
1859
+ transition-property: background-color, color;
1860
+ transition-duration: var(--iox-dur-fast, 160ms);
1861
+ transition-timing-function: var(--iox-ease-standard, ease-out);
1862
+ }