@vectoriox/iox-ui 5.142.0 → 5.143.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 +346 -155
- 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 +175 -5
- 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/site-plan.model.ts +10 -2
- package/src/generation-core/site-spec.generated.ts +281 -131
- 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 +44 -45
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
|
|
@@ -1205,48 +1205,47 @@ span.iox-video__play { pointer-events: none; }
|
|
|
1205
1205
|
}
|
|
1206
1206
|
}
|
|
1207
1207
|
|
|
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). */
|
|
1208
|
+
/* ── A link: no line (premium M4's drawn underline REVERSED 2026-11-22 — Doron: "learn from the research you did on the
|
|
1209
|
+
award websites, there shouldn't be any underlines") ─────────────────────────────────────────────────────────────────
|
|
1210
|
+
An element-styled link draws no line — not at rest, not on hover or focus, not for the current page. The two decoration
|
|
1211
|
+
tokens are re-declared none here, so a studio still holding an underline row draws none either; a legacy link (no
|
|
1212
|
+
element style) keeps its text-decoration. It is told from running text by its WEIGHT (`link-weight`, WCAG 1.4.1 G182 —
|
|
1213
|
+
the element style writes it; this is the fallback for a link saved before it did) and its colour; hover is a colour
|
|
1214
|
+
shift on the hover timing (≤150ms on `ease`, hover devices only — G1, Emil 92); keyboard focus draws the look's ring. */
|
|
1217
1215
|
.iox-es-link {
|
|
1218
1216
|
--iox-link-decoration: none;
|
|
1219
1217
|
--iox-link-current-decoration: none;
|
|
1220
1218
|
--iox-dur-fast: var(--iox-dur-hover, 150ms);
|
|
1221
1219
|
--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
|
-
}
|
|
1220
|
+
text-decoration: none;
|
|
1221
|
+
font-weight: var(--iox-link-weight, var(--iox-weight-strong));
|
|
1222
|
+
/* 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
|
|
1223
|
+
stretched flex item) it filled the column, so its hover and its focus ring ran under nothing. A width the author
|
|
1224
|
+
gives the link is the node's own rule and still wins; a long link still wraps (max 100%). */
|
|
1225
|
+
inline-size: fit-content;
|
|
1226
|
+
max-inline-size: 100%;
|
|
1236
1227
|
}
|
|
1237
1228
|
.iox-es-link:focus-visible {
|
|
1238
|
-
|
|
1229
|
+
outline: none;
|
|
1230
|
+
box-shadow: var(--iox-focus-ring);
|
|
1239
1231
|
}
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1232
|
+
/* 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:
|
|
1233
|
+
no line, the look's link colour and weight, the same colour shift on hover and the same ring on focus. */
|
|
1234
|
+
.iox-es:not(.iox-es-link) a:not([class]) {
|
|
1235
|
+
color: var(--iox-link-color);
|
|
1236
|
+
font-weight: var(--iox-link-weight, var(--iox-weight-strong));
|
|
1237
|
+
text-decoration: none;
|
|
1238
|
+
transition: color var(--iox-dur-hover, 150ms) var(--iox-ease-hover, ease);
|
|
1243
1239
|
}
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
transition-property: color;
|
|
1240
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1241
|
+
.iox-es:not(.iox-es-link) a:not([class]):hover {
|
|
1242
|
+
color: var(--iox-link-hover-color);
|
|
1248
1243
|
}
|
|
1249
1244
|
}
|
|
1245
|
+
.iox-es:not(.iox-es-link) a:not([class]):focus-visible {
|
|
1246
|
+
outline: none;
|
|
1247
|
+
box-shadow: var(--iox-focus-ring);
|
|
1248
|
+
}
|
|
1250
1249
|
/* A chip's colour moves on the hover timing too (Emil 92 — M3's review). */
|
|
1251
1250
|
.iox-es-chip {
|
|
1252
1251
|
--iox-dur-fast: var(--iox-dur-hover, 150ms);
|