@vectoriox/iox-ui 5.81.0 → 5.82.1
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/design-core/index.d.ts +48 -9
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +76 -11
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +110 -0
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +270 -32
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/index.d.ts +166 -19
- package/package.json +1 -1
- package/src/design-core/element-styles.ts +14 -2
- package/src/design-core/entrance-timing.ts +14 -3
- package/src/design-core/flavor-spec.generated.ts +12 -6
- package/src/design-core/public-api.ts +1 -0
- package/src/design-core/theme-color.ts +41 -0
- package/src/generation-core/node-baselines.generated.ts +110 -0
- package/styles/iox-design.css +33 -11
- package/styles/iox-forms.css +5 -0
package/styles/iox-design.css
CHANGED
|
@@ -121,6 +121,33 @@ iox-gallery.iox-es-media[data-iox-empty] > .iox-gallery {
|
|
|
121
121
|
box-shadow: var(--iox-focus-ring);
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
+
/* ── Card hover — lift and picture zoom ONLY where the whole card is the action (decision D3, Emil 93/143) ──────────
|
|
125
|
+
A card whose whole surface links (Card v2's "Link the whole card", or a LinkedContainer wearing `card`) lifts and its
|
|
126
|
+
picture zooms on hover; every other card answers with its border and colour only. The card style's hover map stays
|
|
127
|
+
as it is on every node — the lift, the shadow growth and the zoom read tokens that a NON-linked card zeroes here.
|
|
128
|
+
The picture zooms with the CARD's hover (its own hover is under the stretched link): `scale` composes with the
|
|
129
|
+
picture's own transform, on the look's slow duration; hover devices only (G1). */
|
|
130
|
+
.iox-es-card:not(a):not(:has(.iox-card-link)) {
|
|
131
|
+
--iox-card-lift: 0px;
|
|
132
|
+
--iox-card-hover-x: 0px;
|
|
133
|
+
--iox-card-shadow-hover: var(--iox-card-shadow);
|
|
134
|
+
}
|
|
135
|
+
.iox-es-card {
|
|
136
|
+
--card-media-zoom: var(--iox-image-hover-scale);
|
|
137
|
+
}
|
|
138
|
+
.iox-es-card .iox-es-media,
|
|
139
|
+
.iox-es-media:not(a *) {
|
|
140
|
+
--iox-image-hover-scale: 1;
|
|
141
|
+
}
|
|
142
|
+
.iox-es-card .iox-es-media {
|
|
143
|
+
transition: transform var(--iox-dur-slow) var(--iox-ease-standard), scale var(--iox-dur-slow) var(--iox-ease-standard);
|
|
144
|
+
}
|
|
145
|
+
@media (hover: hover) and (pointer: fine) {
|
|
146
|
+
:is(a.iox-es-card, .iox-es-card:has(.iox-card-link)):hover .iox-es-media {
|
|
147
|
+
scale: var(--card-media-zoom);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
124
151
|
/* ── CC1: mobile navigation (complex-components plan §7a, R1; boards 1–2) ─────────────────────── */
|
|
125
152
|
|
|
126
153
|
/* The DRAWER (board 1, board-8 Q9): a Dialog wearing an element style, placed at the start or end edge, is
|
|
@@ -197,17 +224,12 @@ dialog[data-iox-dialog].iox-es:is([data-iox-closing], :not([open]))::backdrop {
|
|
|
197
224
|
@starting-style {
|
|
198
225
|
dialog[data-iox-dialog].iox-es[open]::backdrop { opacity: 0; }
|
|
199
226
|
}
|
|
200
|
-
/* The drawer's pages
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
dialog[data-iox-dialog].iox-es[open] .iox-role-nav-drawer-links > :nth-child(3) { animation-delay: calc(var(--iox-dur-fast) * 0.5); }
|
|
207
|
-
dialog[data-iox-dialog].iox-es[open] .iox-role-nav-drawer-links > :nth-child(4) { animation-delay: calc(var(--iox-dur-fast) * 0.75); }
|
|
208
|
-
dialog[data-iox-dialog].iox-es[open] .iox-role-nav-drawer-links > :nth-child(n + 5) { animation-delay: var(--iox-dur-fast); }
|
|
209
|
-
@keyframes iox-drawer-link-in {
|
|
210
|
-
from { opacity: 0; translate: 0 8px; }
|
|
227
|
+
/* The drawer's pages arrive WITH it (decision D1 — Emil 64/65/110: one entrance per container, no menu-row stagger):
|
|
228
|
+
the sheet slides in carrying its links, and they leave with it. */
|
|
229
|
+
|
|
230
|
+
/* The drawer scrolls on its own (M6): a flick at its end never scrolls the page under the scrim. */
|
|
231
|
+
dialog[data-iox-dialog] {
|
|
232
|
+
overscroll-behavior: contain;
|
|
211
233
|
}
|
|
212
234
|
|
|
213
235
|
/* A navigation's link lists (board 1): no underline at rest — the current page's link is the one
|
package/styles/iox-forms.css
CHANGED
|
@@ -225,16 +225,21 @@
|
|
|
225
225
|
border-radius: 50%;
|
|
226
226
|
transform: scale(0);
|
|
227
227
|
}
|
|
228
|
+
/* Hover, on hover devices only (G1 — a tap must not leave a box outlined). */
|
|
229
|
+
@media (hover: hover) and (pointer: fine) {
|
|
228
230
|
.iox-es-field .iox-field__control:where([type='checkbox']:not(.iox-field__control--switch), [type='radio']):hover {
|
|
229
231
|
border-color: var(--iox-accent-text);
|
|
230
232
|
}
|
|
233
|
+
}
|
|
231
234
|
.iox-es-field .iox-field__control:where([type='checkbox']:not(.iox-field__control--switch), [type='radio']):checked {
|
|
232
235
|
background: var(--iox-accent);
|
|
233
236
|
border-color: var(--iox-accent-text);
|
|
234
237
|
}
|
|
238
|
+
@media (hover: hover) and (pointer: fine) {
|
|
235
239
|
.iox-es-field .iox-field__control:where([type='checkbox']:not(.iox-field__control--switch), [type='radio']):checked:hover {
|
|
236
240
|
background: var(--iox-accent-hover);
|
|
237
241
|
}
|
|
242
|
+
}
|
|
238
243
|
.iox-es-field .iox-field__control:where([type='checkbox']:not(.iox-field__control--switch), [type='radio']):checked::before {
|
|
239
244
|
transform: translateY(-0.08em) rotate(45deg) scale(1);
|
|
240
245
|
}
|