@vectoriox/iox-ui 5.110.0 → 5.112.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.
@@ -7019,81 +7019,165 @@ export const SPEC_SITE_LAYOUT = {
7019
7019
  "fresh-market": "warm-craft"
7020
7020
  },
7021
7021
  "list": {
7022
- "items": [
7023
- "photo",
7024
- "card"
7025
- ],
7026
- "arranges": [
7027
- "row",
7028
- "grid",
7029
- "masonry",
7030
- "strips",
7031
- "deck"
7032
- ],
7033
- "standoutWho": [
7034
- "none",
7035
- "middle",
7036
- "first",
7037
- "pointed"
7038
- ],
7039
- "standoutHow": [
7040
- "bigger",
7041
- "wider",
7042
- "raised",
7043
- "brighter"
7044
- ],
7045
- "moves": [
7046
- "arrows",
7047
- "drag",
7048
- "auto",
7049
- "page"
7050
- ],
7051
- "hovers": [
7052
- "rise",
7053
- "open",
7054
- "zoom",
7055
- "dim"
7056
- ],
7057
- "arrives": [
7058
- "together",
7059
- "one-by-one",
7060
- "slide-in"
7061
- ],
7062
- "phones": [
7063
- "swipe",
7064
- "stack",
7065
- "two-up"
7022
+ "ingredients": {
7023
+ "item": [
7024
+ "photo",
7025
+ "card"
7026
+ ],
7027
+ "arrange": [
7028
+ "row",
7029
+ "grid",
7030
+ "masonry",
7031
+ "strips",
7032
+ "deck"
7033
+ ],
7034
+ "who": [
7035
+ "none",
7036
+ "middle",
7037
+ "first",
7038
+ "pointed"
7039
+ ],
7040
+ "how": [
7041
+ "bigger",
7042
+ "wider",
7043
+ "raised",
7044
+ "brighter"
7045
+ ],
7046
+ "move": [
7047
+ "arrows",
7048
+ "drag",
7049
+ "auto",
7050
+ "page"
7051
+ ],
7052
+ "hover": [
7053
+ "rise",
7054
+ "open",
7055
+ "zoom",
7056
+ "dim"
7057
+ ],
7058
+ "arrive": [
7059
+ "together",
7060
+ "one-by-one",
7061
+ "slide-in"
7062
+ ],
7063
+ "phone": [
7064
+ "swipe",
7065
+ "stack",
7066
+ "two-up"
7067
+ ]
7068
+ },
7069
+ "many": [
7070
+ "move",
7071
+ "hover"
7066
7072
  ],
7067
7073
  "meanings": {
7068
- "photo": "pictures only",
7069
- "card": "a card built from the list's own fields (its parts)",
7070
- "row": "side by side in one line you move through",
7071
- "grid": "a still grid",
7072
- "masonry": "a still wall that keeps every picture's own shape",
7073
- "strips": "tall strips, one always open wide with its whole story",
7074
- "deck": "a stack, one card on top, the rest waiting behind",
7075
- "middle": "the one in the middle of the row",
7076
- "first": "the first one",
7077
- "pointed": "the one the visitor points at or taps",
7078
- "bigger": "larger than the rest",
7079
- "wider": "open wide (strips only)",
7080
- "raised": "lifted above the rest",
7081
- "brighter": "the rest dimmed",
7082
- "arrows": "arrow buttons",
7083
- "drag": "dragged with a mouse or a finger",
7084
- "auto": "turns by itself (pauses under a mouse)",
7085
- "page": "the page's scroll carries it sideways (alone)",
7086
- "rise": "an item rises under the mouse",
7087
- "open": "a strip opens under the mouse (strips only)",
7088
- "zoom": "the picture grows inside its frame",
7089
- "dim": "the others dim",
7090
- "together": "all at once",
7091
- "one-by-one": "one after another",
7092
- "slide-in": "sliding in from the side",
7093
- "swipe": "a row you swipe",
7094
- "stack": "one under another",
7095
- "two-up": "two across"
7074
+ "item.photo": "pictures only",
7075
+ "item.card": "a card built from the list's own fields (its parts)",
7076
+ "arrange.row": "side by side in one line you move through",
7077
+ "arrange.grid": "a still grid",
7078
+ "arrange.masonry": "a still wall that keeps every picture's own shape",
7079
+ "arrange.strips": "tall strips, one always open wide with its whole story",
7080
+ "arrange.deck": "a stack, one card on top, the rest waiting behind",
7081
+ "who.none": "none stands out",
7082
+ "who.middle": "the one in the middle of the row",
7083
+ "who.first": "the first one",
7084
+ "who.pointed": "the one the visitor points at or taps",
7085
+ "how.bigger": "larger than the rest",
7086
+ "how.wider": "open wide (strips only)",
7087
+ "how.raised": "lifted above the rest",
7088
+ "how.brighter": "the rest dimmed",
7089
+ "move.arrows": "arrow buttons",
7090
+ "move.drag": "dragged with a mouse or a finger",
7091
+ "move.auto": "turns by itself (pauses under a mouse)",
7092
+ "move.page": "the page's scroll carries it sideways (alone)",
7093
+ "hover.rise": "an item rises under the mouse",
7094
+ "hover.open": "a strip opens under the mouse (strips only)",
7095
+ "hover.zoom": "the picture grows inside its frame",
7096
+ "hover.dim": "the others dim",
7097
+ "arrive.together": "all at once",
7098
+ "arrive.one-by-one": "one after another",
7099
+ "arrive.slide-in": "sliding in from the side",
7100
+ "phone.swipe": "a row you swipe",
7101
+ "phone.stack": "one under another",
7102
+ "phone.two-up": "two across"
7096
7103
  },
7104
+ "waits": {
7105
+ "arrange.deck": {
7106
+ "phase": "LI4",
7107
+ "drawnAs": "row"
7108
+ },
7109
+ "who.middle": {
7110
+ "phase": "LI4",
7111
+ "drawnAs": "none"
7112
+ },
7113
+ "how.bigger": {
7114
+ "phase": "LI4",
7115
+ "drawnAs": null
7116
+ },
7117
+ "how.raised": {
7118
+ "phase": "LI4",
7119
+ "drawnAs": null
7120
+ },
7121
+ "how.brighter": {
7122
+ "phase": "LI4",
7123
+ "drawnAs": null
7124
+ }
7125
+ },
7126
+ "defaults": {
7127
+ "item": "card",
7128
+ "arrange": "grid",
7129
+ "who": "none",
7130
+ "how": "wider",
7131
+ "move": [],
7132
+ "hover": [],
7133
+ "arrive": "together",
7134
+ "phone": "stack"
7135
+ },
7136
+ "fingerprint": [
7137
+ "arrange",
7138
+ "who",
7139
+ "how",
7140
+ "move"
7141
+ ],
7142
+ "references": [
7143
+ {
7144
+ "id": "stories-strips",
7145
+ "after": "Doron's client-stories screenshot",
7146
+ "added": "2026-11-18",
7147
+ "mix": {
7148
+ "item": "card",
7149
+ "arrange": "strips",
7150
+ "who": "pointed",
7151
+ "how": "wider",
7152
+ "hover": [
7153
+ "open",
7154
+ "dim"
7155
+ ],
7156
+ "arrive": "one-by-one",
7157
+ "phone": "stack"
7158
+ }
7159
+ },
7160
+ {
7161
+ "id": "products-row-middle-raised",
7162
+ "after": "Doron's product-cards screenshot",
7163
+ "added": "2026-11-18",
7164
+ "mix": {
7165
+ "item": "card",
7166
+ "arrange": "row",
7167
+ "who": "middle",
7168
+ "how": "raised",
7169
+ "move": [
7170
+ "arrows",
7171
+ "drag"
7172
+ ],
7173
+ "hover": [
7174
+ "rise"
7175
+ ],
7176
+ "arrive": "slide-in",
7177
+ "phone": "swipe"
7178
+ }
7179
+ }
7180
+ ],
7097
7181
  "rules": {
7098
7182
  "minItems": 3,
7099
7183
  "strips": [
@@ -7101,18 +7185,18 @@ export const SPEC_SITE_LAYOUT = {
7101
7185
  6
7102
7186
  ],
7103
7187
  "onlyStrips": {
7104
- "standoutHow": [
7188
+ "how": [
7105
7189
  "wider"
7106
7190
  ],
7107
- "hovers": [
7191
+ "hover": [
7108
7192
  "open"
7109
7193
  ]
7110
7194
  },
7111
7195
  "onlyRow": {
7112
- "standoutWho": [
7196
+ "who": [
7113
7197
  "middle"
7114
7198
  ],
7115
- "moves": [
7199
+ "move": [
7116
7200
  "page"
7117
7201
  ]
7118
7202
  },
@@ -124,6 +124,109 @@ iox-gallery.iox-es-media[data-iox-empty] > .iox-gallery {
124
124
  }
125
125
  }
126
126
 
127
+ /* LI3 (list-ingredients-plan.md §5): STRIPS — tall strips side by side, one always open wide with its whole story.
128
+ An arrangement of a Repeater's rows (its role `list.strips`, `-two` / `-swipe` for the phone), drawn by THIS CSS
129
+ alone: no runtime, so the canvas, both engine paths and the raw SSR (every item's words are in the page) agree.
130
+ The open strip WIDENS BY TRANSFORM + CLIP-PATH, never by width (T1, Emil: compositor only): every row is as wide as an
131
+ open strip and sits in the same grid cell, moved along by its index and cut to a strip's width while closed. The
132
+ open one is the one pointed at (a mouse) or holding the focus (a keyboard), else the first. Six strips at most.
133
+ Where there is no room (the list's frame under 640px — a container query, so the canvas's phone frame agrees) or no
134
+ mouse to point with (T4), every item is open: one under another, two across, or a row to swipe. */
135
+ :where(.iox-role-list, .iox-role-list-dim):has([class*="iox-role-list-strips"]) {
136
+ container: iox-strips / inline-size;
137
+ }
138
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root {
139
+ --strip-n: 1;
140
+ --strip-k: 0;
141
+ --strip-dir: 1;
142
+ --strip-gap: var(--iox-space-gap);
143
+ /* A closed strip's width, and an open one's: the open strip takes what the closed ones leave. */
144
+ --strip-c: calc((100cqi - (var(--strip-n) - 1) * var(--strip-gap)) / (var(--strip-n) + 2.5));
145
+ --strip-o: calc(100cqi - (var(--strip-n) - 1) * (var(--strip-c) + var(--strip-gap)));
146
+ display: grid;
147
+ grid-template-columns: minmax(0, 1fr);
148
+ grid-template-rows: minmax(0, 1fr);
149
+ height: clamp(380px, 44cqi, 640px);
150
+ overflow: clip;
151
+ }
152
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root:dir(rtl) { --strip-dir: -1; }
153
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root > * {
154
+ /* 1 after the open strip, else 0; 1 for the open strip itself, else 0 (integers, so clamp is a step). */
155
+ --strip-after: clamp(0, var(--strip-i) - var(--strip-k), 1);
156
+ --strip-open: calc(1 - clamp(0, var(--strip-i) - var(--strip-k), 1) - clamp(0, var(--strip-k) - var(--strip-i), 1));
157
+ --strip-cut: calc((1 - var(--strip-open)) * (var(--strip-o) - var(--strip-c)));
158
+ grid-area: 1 / 1;
159
+ justify-self: start;
160
+ width: var(--strip-o);
161
+ min-width: 0;
162
+ margin: 0;
163
+ transform: translateX(calc(var(--strip-dir) * (var(--strip-i) * (var(--strip-c) + var(--strip-gap)) + var(--strip-after) * (var(--strip-o) - var(--strip-c)))));
164
+ /* 8px outside the box stays painted: the focus ring and the card's own shadow. */
165
+ clip-path: inset(-8px calc(var(--strip-cut) - 8px) -8px -8px);
166
+ transition-property: transform, clip-path;
167
+ transition-duration: var(--iox-dur-base);
168
+ transition-timing-function: var(--iox-ease-standard);
169
+ }
170
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root:dir(rtl) > * { clip-path: inset(-8px -8px -8px calc(var(--strip-cut) - 8px)); }
171
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root > :nth-child(n+7) { display: none; }
172
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root > :nth-child(1) { --strip-i: 0; }
173
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root > :nth-child(2) { --strip-i: 1; }
174
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root > :nth-child(3) { --strip-i: 2; }
175
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root > :nth-child(4) { --strip-i: 3; }
176
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root > :nth-child(5) { --strip-i: 4; }
177
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root > :nth-child(6) { --strip-i: 5; }
178
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root:has(> :nth-child(1):last-child) { --strip-n: 1; }
179
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root:has(> :nth-child(2):last-child) { --strip-n: 2; }
180
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root:has(> :nth-child(3):last-child) { --strip-n: 3; }
181
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root:has(> :nth-child(4):last-child) { --strip-n: 4; }
182
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root:has(> :nth-child(5):last-child) { --strip-n: 5; }
183
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root:has(> :nth-child(6)) { --strip-n: 6; }
184
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root:has(> :nth-child(1):focus-within) { --strip-k: 0; }
185
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root:has(> :nth-child(2):focus-within) { --strip-k: 1; }
186
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root:has(> :nth-child(3):focus-within) { --strip-k: 2; }
187
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root:has(> :nth-child(4):focus-within) { --strip-k: 3; }
188
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root:has(> :nth-child(5):focus-within) { --strip-k: 4; }
189
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root:has(> :nth-child(6):focus-within) { --strip-k: 5; }
190
+ @media (hover: hover) and (pointer: fine) {
191
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root:has(> :nth-child(1):hover) { --strip-k: 0; }
192
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root:has(> :nth-child(2):hover) { --strip-k: 1; }
193
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root:has(> :nth-child(3):hover) { --strip-k: 2; }
194
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root:has(> :nth-child(4):hover) { --strip-k: 3; }
195
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root:has(> :nth-child(5):hover) { --strip-k: 4; }
196
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root:has(> :nth-child(6):hover) { --strip-k: 5; }
197
+ }
198
+ /* A closed strip shows the middle of its picture, and its words wait: they fade in once the strip has opened, and out
199
+ at once when it closes. Words stay in the page (and read aloud) — only their paint goes. */
200
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card-media, .iox-role-list-item) {
201
+ translate: calc(var(--strip-dir) * -0.5 * var(--strip-cut)) 0;
202
+ transition: translate var(--iox-dur-base) var(--iox-ease-standard), scale var(--iox-dur-ui, 200ms) var(--iox-ease-standard);
203
+ }
204
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root > * .iox-role-card-content {
205
+ opacity: var(--strip-open);
206
+ transition: opacity var(--iox-dur-ui) var(--iox-ease-standard) calc(var(--strip-open) * var(--iox-dur-ui));
207
+ }
208
+ @media (prefers-reduced-motion: reduce) {
209
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root > *, :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card-media, .iox-role-list-item) { transition-duration: 0ms; }
210
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root > * .iox-role-card-content { transition: opacity 160ms linear; }
211
+ }
212
+ /* No room, or no mouse: every item open. (The same rules twice — a size query and a media query cannot share a block.) */
213
+ @container iox-strips (max-width: 640px) {
214
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: none; height: auto; gap: var(--iox-space-gap); overflow: visible; }
215
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root > * { --strip-open: 1; --strip-cut: 0px; grid-area: auto; width: auto; height: auto; aspect-ratio: 4 / 5; transform: none; clip-path: none; }
216
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card-media, .iox-role-list-item) { translate: none; }
217
+ :is(.iox-role-list-strips-two, .iox-role-list-strips-two > .repeater-wrapper) > .repeater-root { grid-template-columns: repeat(2, minmax(0, 1fr)); }
218
+ :is(.iox-role-list-strips-swipe, .iox-role-list-strips-swipe > .repeater-wrapper) > .repeater-root { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
219
+ :is(.iox-role-list-strips-swipe, .iox-role-list-strips-swipe > .repeater-wrapper) > .repeater-root > * { flex: 0 0 82%; scroll-snap-align: start; }
220
+ }
221
+ @media (hover: none) {
222
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: none; height: auto; gap: var(--iox-space-gap); overflow: visible; }
223
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root > * { --strip-open: 1; --strip-cut: 0px; grid-area: auto; width: auto; height: auto; aspect-ratio: 4 / 5; transform: none; clip-path: none; }
224
+ :is([class*="iox-role-list-strips"], [class*="iox-role-list-strips"] > .repeater-wrapper) > .repeater-root > * :is(.iox-role-card-media, .iox-role-list-item) { translate: none; }
225
+ :is(.iox-role-list-strips-two, .iox-role-list-strips-two > .repeater-wrapper) > .repeater-root { grid-template-columns: repeat(2, minmax(0, 1fr)); }
226
+ :is(.iox-role-list-strips-swipe, .iox-role-list-strips-swipe > .repeater-wrapper) > .repeater-root { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
227
+ :is(.iox-role-list-strips-swipe, .iox-role-list-strips-swipe > .repeater-wrapper) > .repeater-root > * { flex: 0 0 82%; scroll-snap-align: start; }
228
+ }
229
+
127
230
  /* Link the whole card — the stretched link. The title's <a> is the card's ONE link (its words are the
128
231
  link's name); its ::after covers the card, so a click anywhere on it navigates. The Buttons sit above
129
232
  it and keep their own actions; the focus ring is drawn on the card. Never a link inside a link. On the