@vectoriox/iox-ui 5.164.1 → 5.166.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 (34) hide show
  1. package/design-core/index.d.ts +112 -1
  2. package/fesm2022/vectoriox-iox-ui-design-core.mjs +133 -5
  3. package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
  4. package/fesm2022/vectoriox-iox-ui-generation-core.mjs +516 -95
  5. package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
  6. package/fesm2022/vectoriox-iox-ui-harness-core.mjs +261 -0
  7. package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
  8. package/fesm2022/vectoriox-iox-ui-scene-core.mjs +137 -10
  9. package/fesm2022/vectoriox-iox-ui-scene-core.mjs.map +1 -1
  10. package/fesm2022/vectoriox-iox-ui.mjs +25 -5
  11. package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
  12. package/generation-core/index.d.ts +412 -225
  13. package/harness-core/index.d.ts +192 -1
  14. package/index.d.ts +5 -1
  15. package/package.json +1 -1
  16. package/scene-core/index.d.ts +42 -6
  17. package/src/design-core/flavor-spec.generated.ts +98 -0
  18. package/src/design-core/footer-classes.ts +38 -0
  19. package/src/design-core/node-classes.ts +3 -2
  20. package/src/design-core/public-api.ts +1 -0
  21. package/src/generation-core/carry-fill.ts +1 -1
  22. package/src/generation-core/check-layout.ts +1 -1
  23. package/src/generation-core/compose-layout.ts +36 -5
  24. package/src/generation-core/compose-site.ts +34 -6
  25. package/src/generation-core/footer-mix.ts +292 -34
  26. package/src/generation-core/node-baselines.generated.ts +14 -1
  27. package/src/generation-core/patterns.ts +4 -1
  28. package/src/generation-core/site-spec.generated.ts +173 -45
  29. package/src/harness-core/business-types.ts +12 -0
  30. package/src/harness-core/harness-spec.generated.ts +261 -0
  31. package/src/scene-core/scene.ts +2 -0
  32. package/src/scene-core/scroll-driver.ts +121 -5
  33. package/src/scene-core/split-text.ts +17 -4
  34. package/styles/iox-design.css +99 -0
@@ -2537,3 +2537,102 @@ dialog[data-iox-dialog].iox-es.iox-role-shop-cart-drawer:is([data-iox-closing],
2537
2537
  transition-duration: var(--iox-dur-fast, 160ms);
2538
2538
  transition-timing-function: var(--iox-ease-standard, ease-out);
2539
2539
  }
2540
+
2541
+ /* ── Footers, round two (award-ingredients-plan §7.1g AW12, board award-footer) ─────────────────────────────────────────
2542
+ A composed footer's root carries its mix as classes (design-core `footerMixClasses`: `iox-footer-<ingredient>-<word>`),
2543
+ so the canvas, both engine paths and the raw SSR draw the same words from this one sheet. */
2544
+
2545
+ /* AW12-D5: the footer's large links (name-and-action's action, the call word, list-big's pages) draw no line either; they
2546
+ are told by place and size, shift colour on the hover timing (hover devices only — the element style's hover state) and
2547
+ draw the look's ring on keyboard focus. Their weight is the element style's own (display / heading), never link-weight. */
2548
+ .iox-es-link-large,
2549
+ .iox-es-link-display {
2550
+ --iox-dur-fast: var(--iox-dur-hover, 150ms);
2551
+ --iox-ease-standard: var(--iox-ease-hover, ease);
2552
+ text-decoration: none;
2553
+ inline-size: fit-content;
2554
+ max-inline-size: 100%;
2555
+ }
2556
+ .iox-es-link-large:focus-visible,
2557
+ .iox-es-link-display:focus-visible {
2558
+ outline: none;
2559
+ box-shadow: var(--iox-focus-ring);
2560
+ }
2561
+ /* The call word wraps balanced when a phone has no room for it on one line (checkFooter refuses one that cannot stand on
2562
+ two). */
2563
+ .iox-role-footer-word {
2564
+ text-wrap: balance;
2565
+ }
2566
+
2567
+ /* arrange:list-big — the pages stacked large; pointing at one rests the others (hover devices only, a fade on the hover
2568
+ timing, interruptible: a transition, never a keyframe). Reduced motion keeps the fade — it is not movement. */
2569
+ .iox-role-footer-list-big .iox-es-link-display {
2570
+ transition: color var(--iox-dur-hover, 150ms) var(--iox-ease-hover, ease), opacity var(--iox-dur-hover, 150ms) var(--iox-ease-hover, ease);
2571
+ }
2572
+ @media (hover: hover) and (pointer: fine) {
2573
+ .iox-role-footer-list-big:has(.iox-es-link-display:hover) .iox-es-link-display:not(:hover) {
2574
+ opacity: var(--iox-list-rest-opacity, 0.5);
2575
+ }
2576
+ }
2577
+
2578
+ /* arrange:ruled — cells divided by hairlines in the divider's colour, drawn on the cell's START side (logical: a
2579
+ right-to-left footer mirrors by itself). The first cell of each row draws none and pads none, so the footer's words start
2580
+ on the column (R-H-AW12-2): four cells a row on a laptop, two on a tablet, one under another on a phone (a top line). */
2581
+ .iox-role-footer-ruled > * {
2582
+ border-inline-start: var(--iox-border-width, 1px) solid var(--iox-divider-color);
2583
+ padding-inline: var(--iox-space-gap);
2584
+ }
2585
+ .iox-role-footer-ruled > :nth-child(4n + 1) {
2586
+ border-inline-start: none;
2587
+ padding-inline-start: 0;
2588
+ }
2589
+ @media (min-width: 768px) and (max-width: 1023px) {
2590
+ .iox-role-footer-ruled > :nth-child(n) { border-inline-start: var(--iox-border-width, 1px) solid var(--iox-divider-color); padding-inline-start: var(--iox-space-gap); }
2591
+ .iox-role-footer-ruled > :nth-child(2n + 1) { border-inline-start: none; padding-inline-start: 0; }
2592
+ }
2593
+ @container iox-canvas (min-width: 768px) and (max-width: 1023px) {
2594
+ .iox-role-footer-ruled > :nth-child(n) { border-inline-start: var(--iox-border-width, 1px) solid var(--iox-divider-color); padding-inline-start: var(--iox-space-gap); }
2595
+ .iox-role-footer-ruled > :nth-child(2n + 1) { border-inline-start: none; padding-inline-start: 0; }
2596
+ }
2597
+ @media (max-width: 767px) {
2598
+ .iox-role-footer-ruled > :nth-child(n) { border-inline-start: none; padding-inline: 0; border-block-start: var(--iox-border-width, 1px) solid var(--iox-divider-color); padding-block-start: var(--iox-space-gap); }
2599
+ .iox-role-footer-ruled > :first-child { border-block-start: none; padding-block-start: 0; }
2600
+ }
2601
+ @container iox-canvas (max-width: 767px) {
2602
+ .iox-role-footer-ruled > :nth-child(n) { border-inline-start: none; padding-inline: 0; border-block-start: var(--iox-border-width, 1px) solid var(--iox-divider-color); padding-block-start: var(--iox-space-gap); }
2603
+ .iox-role-footer-ruled > :first-child { border-block-start: none; padding-block-start: 0; }
2604
+ }
2605
+
2606
+ /* closing:name-and-action (AW12-D3) — the name stands on the window's bottom and loses its lowest `footer-name-cut`
2607
+ (0.12em, descenders included) to it: the footer ends where the name is cut, nothing under it. */
2608
+ .iox-es.iox-footer-closing-name-and-action {
2609
+ padding-block-end: 0;
2610
+ overflow: clip;
2611
+ }
2612
+ .iox-footer-closing-name-and-action :is(.iox-role-footer-name, .iox-role-footer-name-copy) {
2613
+ margin-block-end: calc(-1 * var(--iox-footer-name-cut, 0.12em));
2614
+ }
2615
+
2616
+ /* nameStyle (AW12-D12) — how the closing name is worn. A gradient or embossed name is a decorative copy (aria-hidden — the
2617
+ brand block says the name), so its stops may be quieter than a word's; each stop is the scheme's own ink or accent. */
2618
+ .iox-footer-namestyle-gradient :is(.iox-role-footer-name, .iox-role-footer-name-copy) {
2619
+ background-image: linear-gradient(90deg, var(--iox-heading-color, currentColor), var(--iox-accent-text));
2620
+ -webkit-background-clip: text;
2621
+ background-clip: text;
2622
+ color: transparent;
2623
+ }
2624
+ .iox-footer-namestyle-emboss :is(.iox-role-footer-name, .iox-role-footer-name-copy) {
2625
+ color: color-mix(in srgb, var(--iox-section-bg) 86%, var(--iox-text));
2626
+ text-shadow: 0 1px 0 color-mix(in srgb, var(--iox-text) 22%, transparent), 0 -1px 0 color-mix(in srgb, var(--iox-section-bg) 70%, transparent);
2627
+ }
2628
+ /* An offset name starts at the column's second grid column (sized to eleven by the composer); a phone has one column, so
2629
+ it is drawn plain there. */
2630
+ .iox-footer-namestyle-offset :is(.iox-role-footer-name, .iox-role-footer-name-copy) {
2631
+ margin-inline-start: calc(100% / 12);
2632
+ }
2633
+ @media (max-width: 767px) {
2634
+ .iox-footer-namestyle-offset :is(.iox-role-footer-name, .iox-role-footer-name-copy) { margin-inline-start: 0; }
2635
+ }
2636
+ @container iox-canvas (max-width: 767px) {
2637
+ .iox-footer-namestyle-offset :is(.iox-role-footer-name, .iox-role-footer-name-copy) { margin-inline-start: 0; }
2638
+ }