@vectoriox/iox-ui 5.197.0 → 5.199.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 (73) hide show
  1. package/actions-core/index.d.ts +7 -1
  2. package/composite-core/index.d.ts +16 -2
  3. package/data-core/index.d.ts +11 -3
  4. package/design-core/index.d.ts +185 -28
  5. package/fesm2022/vectoriox-iox-ui-actions-core.mjs +6 -1
  6. package/fesm2022/vectoriox-iox-ui-actions-core.mjs.map +1 -1
  7. package/fesm2022/vectoriox-iox-ui-composite-core.mjs +34 -2
  8. package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
  9. package/fesm2022/vectoriox-iox-ui-data-core.mjs +30 -4
  10. package/fesm2022/vectoriox-iox-ui-data-core.mjs.map +1 -1
  11. package/fesm2022/vectoriox-iox-ui-design-core.mjs +323 -72
  12. package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
  13. package/fesm2022/vectoriox-iox-ui-generation-core.mjs +17351 -15175
  14. package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
  15. package/fesm2022/vectoriox-iox-ui-harness-core.mjs +243 -38
  16. package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
  17. package/fesm2022/vectoriox-iox-ui.mjs +2 -2
  18. package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
  19. package/generation-core/index.d.ts +1703 -264
  20. package/harness-core/index.d.ts +93 -6
  21. package/package.json +1 -1
  22. package/src/actions-core/element-actions.ts +6 -0
  23. package/src/composite-core/header.ts +34 -1
  24. package/src/data-core/placeholder-rows.ts +29 -4
  25. package/src/design-core/brand.ts +58 -5
  26. package/src/design-core/contrast-audit.ts +49 -22
  27. package/src/design-core/design-apply.ts +34 -3
  28. package/src/design-core/flavor-fixtures.generated.ts +123 -123
  29. package/src/design-core/flavor-spec.generated.ts +44 -4
  30. package/src/design-core/flavor-tokens.ts +1 -1
  31. package/src/design-core/header-behaviour.ts +72 -13
  32. package/src/design-core/menu-look.ts +23 -0
  33. package/src/design-core/motion-language.ts +5 -14
  34. package/src/design-core/node-classes.ts +39 -0
  35. package/src/design-core/preloader.ts +4 -5
  36. package/src/generation-core/body-mix.ts +40 -102
  37. package/src/generation-core/check-free.ts +22 -11
  38. package/src/generation-core/check-layout.ts +10 -4
  39. package/src/generation-core/check-list.ts +3 -25
  40. package/src/generation-core/colour-mix.ts +296 -0
  41. package/src/generation-core/compose-free.ts +47 -20
  42. package/src/generation-core/compose-site.ts +259 -59
  43. package/src/generation-core/footer-mix.ts +258 -64
  44. package/src/generation-core/free-fallback.ts +6 -4
  45. package/src/generation-core/free-opening.ts +13 -2
  46. package/src/generation-core/free-parts.ts +87 -0
  47. package/src/generation-core/free-slot-words.ts +30 -0
  48. package/src/generation-core/free-wire.ts +8 -0
  49. package/src/generation-core/generation-tier.ts +6 -17
  50. package/src/generation-core/header-mix.ts +73 -3
  51. package/src/generation-core/layout-drawers.ts +3 -2
  52. package/src/generation-core/layout-wire.ts +10 -16
  53. package/src/generation-core/legal.ts +24 -0
  54. package/src/generation-core/list-panel.ts +3 -3
  55. package/src/generation-core/list-table.ts +5 -14
  56. package/src/generation-core/list-words.ts +2 -1
  57. package/src/generation-core/menu-shelves.ts +138 -0
  58. package/src/generation-core/nav-shape.ts +138 -15
  59. package/src/generation-core/node-baselines.generated.ts +1 -0
  60. package/src/generation-core/opening-mix.ts +7 -34
  61. package/src/generation-core/part-tier.ts +14 -0
  62. package/src/generation-core/patterns.ts +7 -0
  63. package/src/generation-core/plan-wire.ts +32 -43
  64. package/src/generation-core/public-api.ts +3 -0
  65. package/src/generation-core/site-build-run.ts +8 -0
  66. package/src/generation-core/site-plan.model.ts +3 -0
  67. package/src/generation-core/site-spec.generated.ts +1383 -189
  68. package/src/generation-core/validate-site-plan.ts +6 -5
  69. package/src/harness-core/business-types.ts +4 -0
  70. package/src/harness-core/harness-spec.generated.ts +189 -30
  71. package/src/harness-core/popup-stance.ts +56 -3
  72. package/src/harness-core/run-compose-context.ts +25 -5
  73. package/styles/iox-design.css +162 -3
@@ -535,11 +535,25 @@ dialog[data-iox-dialog]:has(> .iox-dialog-close),
535
535
  .iox-role-nav-links,
536
536
  .iox-role-nav-pinned,
537
537
  .iox-role-nav-actions,
538
+ .iox-role-nav-drawer-more-links,
538
539
  .iox-role-nav-drawer-links,
539
540
  .iox-role-footer-links {
540
541
  --iox-link-weight: var(--iox-weight-body);
541
542
  }
542
543
 
544
+ /* vectoriox/iox-ui#173 (a), decided 2026-11-28 — a header's words wear the BAR's ink: its pages, the drawer's pages and the
545
+ menu word (a text button) rest in the bar's own colour, never the look's accent link colour (the accent menu word on the
546
+ Glass bar measured 2.03:1 over a dark section). The current page reads by its weight (the roles above rest at the body
547
+ weight, the current link at weight-strong — no line), and the accent comes on hover only. The contract's
548
+ `contrastAudit.headerInkScope`, verbatim (pinned by token-names.spec); declared on the header's CHILDREN, so a scheme the
549
+ header root wears — which re-declares the link colour on the root itself — never ties with it. */
550
+ .iox-es-nav > *, [data-iox-header] > * {
551
+ --iox-link-color: currentColor;
552
+ --iox-link-current-color: currentColor;
553
+ --iox-link-hover-color: var(--iox-accent-text);
554
+ --iox-button-ghost-ink: currentColor;
555
+ }
556
+
543
557
  /* vectoriox/iox-ui#98 — a header on a PHONE is one row, and its name is held whole on one or two lines. The controls (the
544
558
  menu button, the bag, the account, a pinned page, the cells holding them) keep their size and sit at half the look's gap;
545
559
  the name takes the room the hidden pages leave and wraps balanced, a word too long for the room breaking rather than
@@ -736,6 +750,30 @@ dialog[data-iox-dialog].iox-es[data-iox-menu='full'] {
736
750
  .dialog-surface[data-iox-menu='mega'] .iox-role-nav-drawer-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); column-gap: 24px; }
737
751
  }
738
752
 
753
+ /* SHELVES (HI2, header-builder board v2 "menu contents"). A menu that shows its page names LARGE (`big`, and the first
754
+ names of a `words-card`) sets them in the look's display link (`link-display`: its face, weight, leading and tracking)
755
+ at the size of the menu they stand in — board v2's 34px in a drawer, 40–44px in a card, a top panel, a mega panel or
756
+ the full screen: the look's h2 and h1 (fluid). The size is the menu's, so no Link holds a literal; the names arrive
757
+ WITH the menu (D1 — one entrance per container, Emil 64/65/110), so nothing here moves. A card, a panel and a mega
758
+ panel are the drawer on a phone (R-H10), so their h1 waits for the width that shows them; the live page sizes by the
759
+ window, the canvas by its frame (never @media). */
760
+ :is(dialog, .dialog-surface):is([data-iox-menu-shows='big'], [data-iox-menu-shows='words-card']) .iox-role-nav-drawer-links .iox-role-nav-drawer-link {
761
+ font-size: var(--iox-size-h2);
762
+ }
763
+ :is(dialog, .dialog-surface):is([data-iox-menu-shows='big'], [data-iox-menu-shows='words-card'])[data-iox-menu='full'] .iox-role-nav-drawer-links .iox-role-nav-drawer-link {
764
+ font-size: var(--iox-size-h1);
765
+ }
766
+ @media (min-width: 768px) {
767
+ body:not(.builder-active) dialog:is([data-iox-menu-shows='big'], [data-iox-menu-shows='words-card']):is([data-iox-menu='panel'], [data-iox-menu='card'], [data-iox-menu='mega']) .iox-role-nav-drawer-links .iox-role-nav-drawer-link {
768
+ font-size: var(--iox-size-h1);
769
+ }
770
+ }
771
+ @container iox-canvas (min-width: 768px) {
772
+ .dialog-surface:is([data-iox-menu-shows='big'], [data-iox-menu-shows='words-card']):is([data-iox-menu='panel'], [data-iox-menu='card'], [data-iox-menu='mega']) .iox-role-nav-drawer-links .iox-role-nav-drawer-link {
773
+ font-size: var(--iox-size-h1);
774
+ }
775
+ }
776
+
739
777
  /* REVEALS. Fade: in place. Zoom: from 0.88 at the opener. Circle: clip-path circle() from the opener. Torn: our own ragged
740
778
  edge (HB-D7 — a 48-point polygon, never another site's asset) grown from the opener, the menu a twin 6% larger in the
741
779
  look's menu-edge while it moves: the sheet's own ground is its ::before, cut by the smaller edge. (Slide is the form's own:
@@ -2648,6 +2686,31 @@ dialog[data-iox-dialog].iox-es.iox-role-shop-cart-drawer:is([data-iox-closing],
2648
2686
  .iox-role-footer-ruled > :first-child { border-block-start: none; padding-block-start: 0; }
2649
2687
  }
2650
2688
 
2689
+ /* FV1 arrange:halves (footer-v2 §2, after thepopuphotel and allerstudio) — two zones, the brand at the start and the blocks
2690
+ at the end, divided by a vertical hairline in the divider's colour on the END zone's start side (logical: right-to-left
2691
+ mirrors by itself). The start zone keeps its words on the column; each zone pads the gap toward the hairline. On a
2692
+ phone the zones stack and the hairline lies across. `:nth-child(n)` as ruled's, so a zone's own node rule never wins. */
2693
+ .iox-role-footer-halves > :nth-child(n) { padding-inline-end: var(--iox-space-gap); }
2694
+ .iox-role-footer-halves > :nth-child(2) {
2695
+ border-inline-start: var(--iox-border-width, 1px) solid var(--iox-divider-color);
2696
+ padding-inline: var(--iox-space-gap) 0;
2697
+ }
2698
+ @media (max-width: 767px) {
2699
+ .iox-role-footer-halves > :nth-child(n) { padding-inline: 0; }
2700
+ .iox-role-footer-halves > :nth-child(2) { border-inline-start: none; border-block-start: var(--iox-border-width, 1px) solid var(--iox-divider-color); padding-block-start: var(--iox-space-gap); margin-block-start: var(--iox-space-gap); }
2701
+ }
2702
+ @container iox-canvas (max-width: 767px) {
2703
+ .iox-role-footer-halves > :nth-child(n) { padding-inline: 0; }
2704
+ .iox-role-footer-halves > :nth-child(2) { border-inline-start: none; border-block-start: var(--iox-border-width, 1px) solid var(--iox-divider-color); padding-block-start: var(--iox-space-gap); margin-block-start: var(--iox-space-gap); }
2705
+ }
2706
+
2707
+ /* FV1 ground:framed — the footer on the page's own ground, as a ruled box inside the page frame: its margin and the padding
2708
+ that brings its words back onto the column are the root's (generation-core `FOOTER_FRAMED_STYLES`, an inset footer's);
2709
+ the rule is drawn here in the divider's colour. Two classes, so the section's own node rule never wins. */
2710
+ .iox-es.iox-footer-ground-framed {
2711
+ border: var(--iox-border-width, 1px) solid var(--iox-divider-color);
2712
+ }
2713
+
2651
2714
  /* closing:name-and-action (AW12-D3) — the name stands on the window's bottom and loses its lowest `footer-name-cut`
2652
2715
  (0.12em, descenders included) to it: the footer ends where the name is cut, nothing under it. */
2653
2716
  .iox-es.iox-footer-closing-name-and-action {
@@ -2793,14 +2856,14 @@ dialog[data-iox-dialog].iox-es.iox-role-shop-cart-drawer:is([data-iox-closing],
2793
2856
  }
2794
2857
  /* AT REST (headerFirm false): no ground, the veil under the words, and the way back faster than the way in. An open menu
2795
2858
  is a real <dialog open> live, and the canvas stage's [data-iox-menu-open] in the builder (iox-ui#181). */
2796
- :root :is([data-iox-header-ground="over"], [data-iox-header-ground="over-glass"]):is([data-iox-opening-media="picture"] *):not([data-iox-scrolled] *):not(:has(:is(dialog[open], [data-iox-menu-open]))) {
2859
+ :root :is([data-iox-header-ground="over"], [data-iox-header-ground="over-glass"]):not([data-iox-header-shape]):is([data-iox-opening-media="picture"] *):not([data-iox-scrolled] *):not(:has(:is(dialog[open], [data-iox-menu-open]))) {
2797
2860
  transition-duration: calc(var(--iox-dur-ui, 200ms) * 0.6);
2798
2861
  }
2799
- :root :is([data-iox-header-ground="over"], [data-iox-header-ground="over-glass"]):is([data-iox-opening-media="picture"] *):not([data-iox-scrolled] *):not(:has(:is(dialog[open], [data-iox-menu-open])))::before {
2862
+ :root :is([data-iox-header-ground="over"], [data-iox-header-ground="over-glass"]):not([data-iox-header-shape]):is([data-iox-opening-media="picture"] *):not([data-iox-scrolled] *):not(:has(:is(dialog[open], [data-iox-menu-open])))::before {
2800
2863
  opacity: 0;
2801
2864
  transition-duration: calc(var(--iox-dur-ui, 200ms) * 0.6);
2802
2865
  }
2803
- :root :is([data-iox-header-ground="over"], [data-iox-header-ground="over-glass"]):is([data-iox-opening-media="picture"] *):not([data-iox-scrolled] *):not(:has(:is(dialog[open], [data-iox-menu-open])))::after {
2866
+ :root :is([data-iox-header-ground="over"], [data-iox-header-ground="over-glass"]):not([data-iox-header-shape]):is([data-iox-opening-media="picture"] *):not([data-iox-scrolled] *):not(:has(:is(dialog[open], [data-iox-menu-open])))::after {
2804
2867
  opacity: 1;
2805
2868
  transition-duration: var(--iox-dur-ui, 200ms);
2806
2869
  }
@@ -2835,3 +2898,99 @@ dialog[data-iox-dialog].iox-es.iox-role-shop-cart-drawer:is([data-iox-closing],
2835
2898
  --iox-nav-over-veil: none;
2836
2899
  }
2837
2900
  }
2901
+
2902
+ /* ── HI3 slice 2 — the header's OUTLINE and its NAME (header-ingredients-plan HI3-D15…D26, board hi3-shapes) ──────────
2903
+ Keyed on design-core `headerAttributes`: `data-iox-header-shape` (pill · islands) and `data-iox-header-brand` (hangs ·
2904
+ later). A floating header always writes its ground word (a solid one writes `solid`: the look's own bar), so it lives on
2905
+ slice 1's ground layer and gives its height back over a pictured opening (HI3-D17); it is never at rest
2906
+ (`HEADER_AT_REST_SELECTOR` excludes it: a floating shape wears its ground from the top, never a clear pill) and has no
2907
+ scroll edge (HI3-D20, `headerAttributes` writes none). The pill is ONE inset bar as wide as the content column
2908
+ (`--iox-content-width`, award §0c) and never wider than the window less its insets (HI3-D16); islands put the ground on
2909
+ each part of the bar (HI3-D18); the corner is the look's button corner (HI3-D19). All logical properties (HI3-D24). */
2910
+ [data-iox-header-ground='solid'] {
2911
+ --hdr-bg: var(--iox-nav-bg);
2912
+ --hdr-backdrop: var(--iox-nav-backdrop);
2913
+ --hdr-border: var(--iox-nav-border);
2914
+ --hdr-shadow: var(--iox-nav-shadow);
2915
+ }
2916
+ [data-iox-header-shape] {
2917
+ --hdr-float-block: 8px;
2918
+ --hdr-float-inline: max(24px, calc((100% - var(--iox-content-width, 100%)) / 2));
2919
+ --hdr-float-pad: 28px;
2920
+ --hdr-float-radius: var(--iox-button-radius, 999px);
2921
+ padding-block: var(--hdr-float-block) !important;
2922
+ }
2923
+ [data-iox-header-shape='pill'] {
2924
+ padding-inline: calc(var(--hdr-float-inline) + var(--hdr-float-pad)) !important;
2925
+ }
2926
+ [data-iox-header-shape='pill']::before {
2927
+ inset: var(--hdr-float-block) var(--hdr-float-inline);
2928
+ border-width: var(--iox-border-width, 1px);
2929
+ border-radius: var(--hdr-float-radius);
2930
+ }
2931
+ [data-iox-header-shape='islands'] {
2932
+ padding-inline: var(--hdr-float-inline) !important;
2933
+ }
2934
+ [data-iox-header-shape='islands']::before {
2935
+ display: none;
2936
+ }
2937
+ [data-iox-header-shape='islands'] > :not(dialog, :empty) {
2938
+ align-self: stretch;
2939
+ display: flex;
2940
+ align-items: center;
2941
+ padding-inline: 20px;
2942
+ border: var(--iox-border-width, 1px) solid var(--hdr-border);
2943
+ border-radius: var(--hdr-float-radius);
2944
+ background-color: var(--hdr-bg);
2945
+ box-shadow: var(--hdr-shadow);
2946
+ -webkit-backdrop-filter: var(--hdr-backdrop);
2947
+ backdrop-filter: var(--hdr-backdrop);
2948
+ }
2949
+ /* A header that has stepped aside leaves nothing of itself in view — its shadow goes with it at once (T3, R-H11). */
2950
+ [data-iox-header-shape][data-iox-header-hidden] {
2951
+ --hdr-shadow: none;
2952
+ }
2953
+ /* HI3-D21 — the name HANGS: the logo picture is half again the bar's height (at most 48px below it); its negative end
2954
+ margin keeps the bar its own height, and the opening's words keep clear of the overhang (T6). */
2955
+ [data-iox-header-brand='hangs'] {
2956
+ --hdr-hang: min(calc(var(--header-h, var(--hdr-h-fallback, 80px)) / 2), 48px);
2957
+ overflow: visible;
2958
+ }
2959
+ [data-iox-header-brand='hangs'] .iox-role-nav-brand {
2960
+ align-self: flex-start;
2961
+ position: relative;
2962
+ z-index: 1;
2963
+ }
2964
+ [data-iox-header-brand='hangs'] .iox-role-nav-brand img {
2965
+ block-size: calc(var(--header-h, var(--hdr-h-fallback, 80px)) + var(--hdr-hang));
2966
+ inline-size: auto;
2967
+ max-inline-size: none;
2968
+ margin-block-end: calc(-1 * var(--hdr-hang));
2969
+ }
2970
+ :root:has([data-iox-header-brand='hangs']) .iox-role-opening .iox-role-opening-words {
2971
+ padding-block-start: min(calc(var(--header-h, 80px) / 2), 48px);
2972
+ }
2973
+ /* On a phone the name fits (HI3-D23): a hanging logo would cover the heading on a narrow screen. */
2974
+ @media (max-width: 767px) {
2975
+ [data-iox-header-shape] { --hdr-float-block: 6px; --hdr-float-inline: 10px; --hdr-float-pad: 16px; }
2976
+ [data-iox-header-brand='hangs'] .iox-role-nav-brand img { block-size: auto; max-block-size: 100%; margin-block-end: 0; }
2977
+ :root:has([data-iox-header-brand='hangs']) .iox-role-opening .iox-role-opening-words { padding-block-start: 0; }
2978
+ }
2979
+ @container iox-canvas (max-width: 767px) {
2980
+ [data-iox-header-shape] { --hdr-float-block: 6px; --hdr-float-inline: 10px; --hdr-float-pad: 16px; }
2981
+ [data-iox-header-brand='hangs'] .iox-role-nav-brand img { block-size: auto; max-block-size: 100%; margin-block-end: 0; }
2982
+ :root:has([data-iox-header-brand='hangs']) .iox-role-opening .iox-role-opening-words { padding-block-start: 0; }
2983
+ }
2984
+ /* HI3-D22 — the name arrives LATER: hidden by opacity only (the raw SSR and a screen reader keep it), shown once the page
2985
+ has moved, while a menu is open, or from the top on a page that opens without a picture. A transition on the look's
2986
+ dur-ui in and 0.6× out, so it turns around from the live value; reduced motion keeps the fade, motion Off is instant. */
2987
+ [data-iox-header-brand='later'] .iox-role-nav-brand {
2988
+ opacity: 0;
2989
+ transition: opacity calc(var(--iox-dur-ui, 200ms) * 0.6) var(--iox-ease-standard, ease-out);
2990
+ }
2991
+ :is([data-iox-scrolled] *)[data-iox-header-brand='later'] .iox-role-nav-brand,
2992
+ [data-iox-header-brand='later']:has(:is(dialog[open], [data-iox-menu-open])) .iox-role-nav-brand,
2993
+ [data-iox-header-brand='later']:not([data-iox-opening-media="picture"] *) .iox-role-nav-brand {
2994
+ opacity: 1;
2995
+ transition-duration: var(--iox-dur-ui, 200ms);
2996
+ }