@vectoriox/iox-ui 5.142.0 → 5.144.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.
- package/composite-core/index.d.ts +40 -1
- package/design-core/index.d.ts +92 -27
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs +155 -90
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +112 -27
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-forms-core.mjs +61 -4
- package/fesm2022/vectoriox-iox-ui-forms-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +473 -193
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs +461 -2
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +102 -19
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/forms-core/index.d.ts +17 -3
- package/generation-core/index.d.ts +270 -6
- package/harness-core/index.d.ts +341 -2
- package/index.d.ts +24 -9
- package/package.json +1 -1
- package/src/composite-core/accordion.ts +16 -1
- package/src/composite-core/card.ts +22 -2
- package/src/composite-core/consent.ts +2 -2
- package/src/composite-core/recipe-parts.ts +7 -0
- package/src/composite-core/segmented.ts +17 -2
- package/src/composite-core/slider.ts +19 -3
- package/src/composite-core/tabs.ts +16 -1
- package/src/design-core/contrast-audit.ts +18 -0
- package/src/design-core/flavor-spec.generated.ts +71 -25
- package/src/design-core/locale-direction.ts +24 -0
- package/src/design-core/menu-look.ts +2 -1
- package/src/design-core/public-api.ts +1 -0
- package/src/forms-core/form-presets.ts +72 -3
- package/src/generation-core/compose-layout.ts +1 -1
- package/src/generation-core/compose-site.ts +50 -19
- package/src/generation-core/footer-mix.ts +8 -0
- package/src/generation-core/nav-shape.ts +3 -2
- package/src/generation-core/patterns.ts +4 -0
- package/src/generation-core/public-api.ts +1 -0
- package/src/generation-core/site-plan.model.ts +10 -2
- package/src/generation-core/site-spec.generated.ts +281 -131
- package/src/generation-core/start-quote.ts +158 -0
- package/src/harness-core/business-types.ts +11 -0
- package/src/harness-core/film-idea.ts +178 -0
- package/src/harness-core/harness-spec.generated.ts +331 -0
- package/src/harness-core/intake.ts +8 -1
- package/src/harness-core/public-api.ts +1 -0
- package/styles/iox-design.css +60 -47
package/styles/iox-design.css
CHANGED
|
@@ -475,16 +475,18 @@ dialog[data-iox-dialog]:has(> .iox-dialog-close),
|
|
|
475
475
|
padding-inline-end: max(var(--iox-dialog-pad, 0px), 48px);
|
|
476
476
|
}
|
|
477
477
|
|
|
478
|
-
/* A navigation's link lists (board 1
|
|
479
|
-
|
|
480
|
-
|
|
478
|
+
/* A navigation's and a footer's link lists (board 1; vectoriox/iox-ui#87/#97 — a composed footer's page list carries role
|
|
479
|
+
footer.links): their place says they are links, so they rest at the BODY weight — a link in running text is told from
|
|
480
|
+
its words by `link-weight` (no line: reversed 2026-11-22, Doron). Hover is the link style's colour shift; the current
|
|
481
|
+
page reads by its ink and weight (the link's `current` state). Keyed on the list's ROLE, so a composed or adopted
|
|
482
|
+
header, its drawer and the footer read it and no Link holds a literal over its element style.
|
|
481
483
|
HI1: the pages a menu header keeps in the bar (pinned) and its actions (a quiet link) are the bar's links too. */
|
|
482
484
|
.iox-role-nav-links,
|
|
483
485
|
.iox-role-nav-pinned,
|
|
484
486
|
.iox-role-nav-actions,
|
|
485
|
-
.iox-role-nav-drawer-links
|
|
486
|
-
|
|
487
|
-
--iox-link-
|
|
487
|
+
.iox-role-nav-drawer-links,
|
|
488
|
+
.iox-role-footer-links {
|
|
489
|
+
--iox-link-weight: var(--iox-weight-body);
|
|
488
490
|
}
|
|
489
491
|
|
|
490
492
|
/* 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
|
|
@@ -866,11 +868,9 @@ dialog[data-iox-closing] [data-iox-menu-button='word'] > *,
|
|
|
866
868
|
[data-iox-menu-button='word'] > * { transition-property: opacity; }
|
|
867
869
|
}
|
|
868
870
|
|
|
869
|
-
/* HOVER in the menu (mouse only — G1):
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
background-size: 0% var(--iox-link-underline-thickness, 1px);
|
|
873
|
-
}
|
|
871
|
+
/* HOVER in the menu (mouse only — G1): the page name changes colour (`line` — the link style's own hover; no line is
|
|
872
|
+
drawn since 2026-11-22), the others dim, or the row lights up; `none`: nothing moves under the mouse — the name keeps
|
|
873
|
+
its resting colour. */
|
|
874
874
|
:is(dialog, .dialog-surface)[data-iox-menu-hover='dim'] .iox-role-nav-drawer-link {
|
|
875
875
|
transition: opacity var(--iox-dur-hover, 150ms) var(--iox-ease-hover, ease), color var(--iox-dur-hover, 150ms) var(--iox-ease-hover, ease);
|
|
876
876
|
}
|
|
@@ -882,14 +882,14 @@ dialog[data-iox-closing] [data-iox-menu-button='word'] > *,
|
|
|
882
882
|
:is(dialog, .dialog-surface)[data-iox-menu-hover='dim'] .iox-role-nav-drawer-links:has(.iox-role-nav-drawer-link:hover) .iox-role-nav-drawer-link:not(:hover) {
|
|
883
883
|
opacity: 0.18;
|
|
884
884
|
}
|
|
885
|
+
:is(dialog, .dialog-surface)[data-iox-menu-hover='none'] .iox-role-nav-drawer-link.iox-es-link:not([aria-current='page']):hover {
|
|
886
|
+
color: var(--iox-link-color);
|
|
887
|
+
}
|
|
885
888
|
/* The row's light reaches past the words by its own shadow — nothing about the link's box moves. */
|
|
886
889
|
:is(dialog, .dialog-surface)[data-iox-menu-hover='row'] .iox-role-nav-drawer-link:hover {
|
|
887
890
|
background-color: color-mix(in srgb, currentColor 8%, transparent);
|
|
888
891
|
box-shadow: 0 0 0 8px color-mix(in srgb, currentColor 8%, transparent);
|
|
889
892
|
}
|
|
890
|
-
:is(dialog, .dialog-surface):is([data-iox-menu-hover='dim'], [data-iox-menu-hover='row'], [data-iox-menu-hover='none']) .iox-role-nav-drawer-link.iox-es-link:not([aria-current='page']):hover {
|
|
891
|
-
background-size: 0% var(--iox-link-underline-thickness, 1px);
|
|
892
|
-
}
|
|
893
893
|
}
|
|
894
894
|
|
|
895
895
|
/* The BOTTOM BAR (board 2, "The CSS, exactly"): fixed to the bottom of the viewport (on the canvas, of the
|
|
@@ -1179,6 +1179,15 @@ span.iox-video__play { pointer-events: none; }
|
|
|
1179
1179
|
[data-iox-scrolled] [data-iox-header][data-iox-header-edge]:not([data-iox-header-edge='none'])::after {
|
|
1180
1180
|
opacity: 1;
|
|
1181
1181
|
}
|
|
1182
|
+
/* The edge is its OWN composited layer, always (vectoriox/iox-ui#114). It hangs under the bar, so it paints after
|
|
1183
|
+
everything in the header: the moment a part of the header runs a transform (a button's hover lift or press, the
|
|
1184
|
+
menu button's dots), Chrome lifted the edge out of the header's layer into a new one (overlap) and dropped it again
|
|
1185
|
+
when the part settled — each new layer is rasterised a frame late, so on every hover the strip under the bar showed
|
|
1186
|
+
the page through, cut straight at the bar, and the bar's bottom edge flickered (Emil: will-change on what animates —
|
|
1187
|
+
the edge fades in and out on opacity). A header drawing no edge (`none`) asks for no layer. */
|
|
1188
|
+
[data-iox-header][data-iox-header-edge]:not([data-iox-header-edge='none'])::after {
|
|
1189
|
+
will-change: opacity;
|
|
1190
|
+
}
|
|
1182
1191
|
/* A header that has stepped aside takes its edge WITH it, at once (u2rockband, 2026-11-18): the edge hangs 16px under
|
|
1183
1192
|
the header, so a header translated -100% left it painted across the top of the screen over the content — a cream
|
|
1184
1193
|
band over the cards, flickering as the header came and went. It fades back in after the header has returned. */
|
|
@@ -1205,48 +1214,47 @@ span.iox-video__play { pointer-events: none; }
|
|
|
1205
1214
|
}
|
|
1206
1215
|
}
|
|
1207
1216
|
|
|
1208
|
-
/* ──
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
position); its growth is a background-size the shared compiler adds to the link's transition (withStateTransitions).
|
|
1216
|
-
The colour and the line move on the hover timing — ≤150ms on `ease` (Emil 92). */
|
|
1217
|
+
/* ── A link: no line (premium M4's drawn underline REVERSED 2026-11-22 — Doron: "learn from the research you did on the
|
|
1218
|
+
award websites, there shouldn't be any underlines") ─────────────────────────────────────────────────────────────────
|
|
1219
|
+
An element-styled link draws no line — not at rest, not on hover or focus, not for the current page. The two decoration
|
|
1220
|
+
tokens are re-declared none here, so a studio still holding an underline row draws none either; a legacy link (no
|
|
1221
|
+
element style) keeps its text-decoration. It is told from running text by its WEIGHT (`link-weight`, WCAG 1.4.1 G182 —
|
|
1222
|
+
the element style writes it; this is the fallback for a link saved before it did) and its colour; hover is a colour
|
|
1223
|
+
shift on the hover timing (≤150ms on `ease`, hover devices only — G1, Emil 92); keyboard focus draws the look's ring. */
|
|
1217
1224
|
.iox-es-link {
|
|
1218
1225
|
--iox-link-decoration: none;
|
|
1219
1226
|
--iox-link-current-decoration: none;
|
|
1220
1227
|
--iox-dur-fast: var(--iox-dur-hover, 150ms);
|
|
1221
1228
|
--iox-ease-standard: var(--iox-ease-hover, ease);
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
.iox-es-link:dir(rtl) {
|
|
1230
|
-
background-position-x: 100%;
|
|
1231
|
-
}
|
|
1232
|
-
@media (hover: hover) and (pointer: fine) {
|
|
1233
|
-
.iox-es-link:hover {
|
|
1234
|
-
background-size: 100% var(--iox-link-underline-thickness, 1px);
|
|
1235
|
-
}
|
|
1229
|
+
text-decoration: none;
|
|
1230
|
+
font-weight: var(--iox-link-weight, var(--iox-weight-strong));
|
|
1231
|
+
/* vectoriox/iox-ui#87/#97: the box hugs its words — a Link is a block, and in a column (a footer's page list, a
|
|
1232
|
+
stretched flex item) it filled the column, so its hover and its focus ring ran under nothing. A width the author
|
|
1233
|
+
gives the link is the node's own rule and still wins; a long link still wraps (max 100%). */
|
|
1234
|
+
inline-size: fit-content;
|
|
1235
|
+
max-inline-size: 100%;
|
|
1236
1236
|
}
|
|
1237
1237
|
.iox-es-link:focus-visible {
|
|
1238
|
-
|
|
1238
|
+
outline: none;
|
|
1239
|
+
box-shadow: var(--iox-focus-ring);
|
|
1239
1240
|
}
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1241
|
+
/* A link the words of a Text hold (rich text — a bare <a> inside an element-styled block) is a link in running text too:
|
|
1242
|
+
no line, the look's link colour and weight, the same colour shift on hover and the same ring on focus. */
|
|
1243
|
+
.iox-es:not(.iox-es-link) a:not([class]) {
|
|
1244
|
+
color: var(--iox-link-color);
|
|
1245
|
+
font-weight: var(--iox-link-weight, var(--iox-weight-strong));
|
|
1246
|
+
text-decoration: none;
|
|
1247
|
+
transition: color var(--iox-dur-hover, 150ms) var(--iox-ease-hover, ease);
|
|
1243
1248
|
}
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
transition-property: color;
|
|
1249
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1250
|
+
.iox-es:not(.iox-es-link) a:not([class]):hover {
|
|
1251
|
+
color: var(--iox-link-hover-color);
|
|
1248
1252
|
}
|
|
1249
1253
|
}
|
|
1254
|
+
.iox-es:not(.iox-es-link) a:not([class]):focus-visible {
|
|
1255
|
+
outline: none;
|
|
1256
|
+
box-shadow: var(--iox-focus-ring);
|
|
1257
|
+
}
|
|
1250
1258
|
/* A chip's colour moves on the hover timing too (Emil 92 — M3's review). */
|
|
1251
1259
|
.iox-es-chip {
|
|
1252
1260
|
--iox-dur-fast: var(--iox-dur-hover, 150ms);
|
|
@@ -1777,12 +1785,17 @@ span.iox-video__play { pointer-events: none; }
|
|
|
1777
1785
|
fan's arc, a tilted card's lean, a wall's drops) is a place, not a motion, and stays. */
|
|
1778
1786
|
@media (prefers-reduced-motion: reduce) {
|
|
1779
1787
|
:is(:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card, .iox-role-list-item)), :is(:is(.iox-role-list-tilted, .iox-role-list-tilted-two, .iox-role-list-tilted > .repeater-wrapper, .iox-role-list-tilted-two > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-tilted, .iox-role-list-tilted-two, .iox-role-list-tilted > .repeater-wrapper, .iox-role-list-tilted-two > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card, .iox-role-list-item)), :is(:is(.iox-role-list-hang, .iox-role-list-hang-two, .iox-role-list-hang > .repeater-wrapper, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root > .iox-role-list-item, :is(.iox-role-list-hang, .iox-role-list-hang-two, .iox-role-list-hang > .repeater-wrapper, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card-media, .iox-role-list-item)) img, .iox-list-item-packshot img, .iox-list-hover-tilt .iox-role-card::after, .iox-list-hover-tilt .iox-role-card > * { transition-property: opacity; }
|
|
1780
|
-
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > :
|
|
1788
|
+
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > :focus-within :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item):focus-within, :is(.iox-role-list-tilted, .iox-role-list-tilted-two, .iox-role-list-tilted > .repeater-wrapper, .iox-role-list-tilted-two > .repeater-wrapper) > .repeater-root > :focus-within :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-tilted, .iox-role-list-tilted-two, .iox-role-list-tilted > .repeater-wrapper, .iox-role-list-tilted-two > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item):focus-within { transform: none !important; }
|
|
1781
1789
|
:is(.iox-role-list-hang, .iox-role-list-hang-two, .iox-role-list-hang > .repeater-wrapper, .iox-role-list-hang-two > .repeater-wrapper) > .repeater-root > * img, .iox-list-item-packshot img, .iox-list-hover-tilt .iox-role-card > * { scale: none !important; }
|
|
1782
1790
|
.iox-list-hover-tilt .iox-role-card::after { rotate: none !important; }
|
|
1783
1791
|
.iox-list-hover-unveil .iox-role-list-second { clip-path: none; opacity: 0; transition: opacity 200ms linear; }
|
|
1784
|
-
.iox-list-hover-unveil :is(.iox-role-card, .iox-role-list-item):hover .iox-role-list-second { opacity: 1; }
|
|
1785
1792
|
.iox-list-hover-fill :is(.iox-role-card-media, .iox-role-list-item) img { scale: none !important; }
|
|
1793
|
+
/* A hover is a mouse's (vectoriox/iox-ui#115): a tap fires a false :hover that sticks, so the hover half waits for a
|
|
1794
|
+
pointer that hovers; a keyboard focus (:focus-within, above) stills a card on every device. */
|
|
1795
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1796
|
+
:is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > :hover :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-fan, .iox-role-list-fan-stack, .iox-role-list-fan > .repeater-wrapper, .iox-role-list-fan-stack > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item):hover, :is(.iox-role-list-tilted, .iox-role-list-tilted-two, .iox-role-list-tilted > .repeater-wrapper, .iox-role-list-tilted-two > .repeater-wrapper) > .repeater-root > :hover :is(.iox-role-card, .iox-role-list-item), :is(.iox-role-list-tilted, .iox-role-list-tilted-two, .iox-role-list-tilted > .repeater-wrapper, .iox-role-list-tilted-two > .repeater-wrapper) > .repeater-root > :is(.iox-role-card, .iox-role-list-item):hover { transform: none !important; }
|
|
1797
|
+
.iox-list-hover-unveil :is(.iox-role-card, .iox-role-list-item):hover .iox-role-list-second { opacity: 1; }
|
|
1798
|
+
}
|
|
1786
1799
|
}
|
|
1787
1800
|
|
|
1788
1801
|
/* ── The floating family (premium components M5 — N3 toast · N4 tooltip and popover) ──────────────────────────────
|