@vectoriox/iox-ui 5.109.1 → 5.111.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/fesm2022/vectoriox-iox-ui-generation-core.mjs +680 -125
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/generation-core/index.d.ts +539 -45
- package/package.json +1 -1
- package/src/generation-core/check-list.ts +8 -7
- package/src/generation-core/compose-layout.ts +67 -13
- package/src/generation-core/header-mix.ts +116 -0
- package/src/generation-core/layout-fingerprint.ts +9 -2
- package/src/generation-core/layout-wire.ts +8 -15
- package/src/generation-core/list-table.ts +39 -0
- package/src/generation-core/nav-shape.ts +56 -5
- package/src/generation-core/public-api.ts +2 -0
- package/src/generation-core/site-spec.generated.ts +418 -76
- package/styles/iox-design.css +103 -0
|
@@ -7019,81 +7019,165 @@ export const SPEC_SITE_LAYOUT = {
|
|
|
7019
7019
|
"fresh-market": "warm-craft"
|
|
7020
7020
|
},
|
|
7021
7021
|
"list": {
|
|
7022
|
-
"
|
|
7023
|
-
"
|
|
7024
|
-
|
|
7025
|
-
|
|
7026
|
-
|
|
7027
|
-
"
|
|
7028
|
-
|
|
7029
|
-
|
|
7030
|
-
|
|
7031
|
-
|
|
7032
|
-
|
|
7033
|
-
|
|
7034
|
-
"
|
|
7035
|
-
|
|
7036
|
-
|
|
7037
|
-
|
|
7038
|
-
|
|
7039
|
-
|
|
7040
|
-
"
|
|
7041
|
-
|
|
7042
|
-
|
|
7043
|
-
|
|
7044
|
-
|
|
7045
|
-
|
|
7046
|
-
"
|
|
7047
|
-
|
|
7048
|
-
|
|
7049
|
-
|
|
7050
|
-
|
|
7051
|
-
|
|
7052
|
-
"
|
|
7053
|
-
|
|
7054
|
-
|
|
7055
|
-
|
|
7056
|
-
|
|
7057
|
-
|
|
7058
|
-
"
|
|
7059
|
-
|
|
7060
|
-
|
|
7061
|
-
|
|
7062
|
-
|
|
7063
|
-
"
|
|
7064
|
-
|
|
7065
|
-
|
|
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
|
-
"
|
|
7076
|
-
"
|
|
7077
|
-
"
|
|
7078
|
-
"
|
|
7079
|
-
"
|
|
7080
|
-
"
|
|
7081
|
-
"
|
|
7082
|
-
"
|
|
7083
|
-
"
|
|
7084
|
-
"
|
|
7085
|
-
"
|
|
7086
|
-
"
|
|
7087
|
-
"
|
|
7088
|
-
"
|
|
7089
|
-
"
|
|
7090
|
-
"
|
|
7091
|
-
"
|
|
7092
|
-
"
|
|
7093
|
-
"
|
|
7094
|
-
"
|
|
7095
|
-
"
|
|
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
|
-
"
|
|
7188
|
+
"how": [
|
|
7105
7189
|
"wider"
|
|
7106
7190
|
],
|
|
7107
|
-
"
|
|
7191
|
+
"hover": [
|
|
7108
7192
|
"open"
|
|
7109
7193
|
]
|
|
7110
7194
|
},
|
|
7111
7195
|
"onlyRow": {
|
|
7112
|
-
"
|
|
7196
|
+
"who": [
|
|
7113
7197
|
"middle"
|
|
7114
7198
|
],
|
|
7115
|
-
"
|
|
7199
|
+
"move": [
|
|
7116
7200
|
"page"
|
|
7117
7201
|
]
|
|
7118
7202
|
},
|
|
@@ -7125,5 +7209,263 @@ export const SPEC_SITE_LAYOUT = {
|
|
|
7125
7209
|
"masonry"
|
|
7126
7210
|
]
|
|
7127
7211
|
}
|
|
7212
|
+
},
|
|
7213
|
+
"header": {
|
|
7214
|
+
"ingredients": {
|
|
7215
|
+
"arrange": [
|
|
7216
|
+
"split",
|
|
7217
|
+
"centred",
|
|
7218
|
+
"between",
|
|
7219
|
+
"name-only"
|
|
7220
|
+
],
|
|
7221
|
+
"menuSide": [
|
|
7222
|
+
"end",
|
|
7223
|
+
"start"
|
|
7224
|
+
],
|
|
7225
|
+
"pages": [
|
|
7226
|
+
"inline",
|
|
7227
|
+
"menu",
|
|
7228
|
+
"menu-pinned"
|
|
7229
|
+
],
|
|
7230
|
+
"menu": [
|
|
7231
|
+
"drawer",
|
|
7232
|
+
"full",
|
|
7233
|
+
"panel"
|
|
7234
|
+
],
|
|
7235
|
+
"menuShows": [
|
|
7236
|
+
"links",
|
|
7237
|
+
"pictures"
|
|
7238
|
+
],
|
|
7239
|
+
"action": [
|
|
7240
|
+
"none",
|
|
7241
|
+
"button",
|
|
7242
|
+
"link",
|
|
7243
|
+
"two"
|
|
7244
|
+
],
|
|
7245
|
+
"ground": [
|
|
7246
|
+
"solid",
|
|
7247
|
+
"over",
|
|
7248
|
+
"glass"
|
|
7249
|
+
],
|
|
7250
|
+
"shape": [
|
|
7251
|
+
"bar",
|
|
7252
|
+
"pill",
|
|
7253
|
+
"islands"
|
|
7254
|
+
],
|
|
7255
|
+
"brand": [
|
|
7256
|
+
"fits",
|
|
7257
|
+
"hangs",
|
|
7258
|
+
"later"
|
|
7259
|
+
],
|
|
7260
|
+
"scroll": [
|
|
7261
|
+
"stays",
|
|
7262
|
+
"hides",
|
|
7263
|
+
"away"
|
|
7264
|
+
],
|
|
7265
|
+
"edge": [
|
|
7266
|
+
"fade",
|
|
7267
|
+
"line",
|
|
7268
|
+
"none"
|
|
7269
|
+
],
|
|
7270
|
+
"phone": [
|
|
7271
|
+
"drawer",
|
|
7272
|
+
"bar",
|
|
7273
|
+
"both",
|
|
7274
|
+
"full"
|
|
7275
|
+
]
|
|
7276
|
+
},
|
|
7277
|
+
"meanings": {
|
|
7278
|
+
"arrange.split": "the name at the start, the pages at the end",
|
|
7279
|
+
"arrange.centred": "the name centred, the pages under it",
|
|
7280
|
+
"arrange.between": "the pages either side of a centred name",
|
|
7281
|
+
"arrange.name-only": "only the name and a menu button, at every width",
|
|
7282
|
+
"menuSide.end": "the menu button at the end",
|
|
7283
|
+
"menuSide.start": "the menu button at the start",
|
|
7284
|
+
"pages.inline": "every page in the bar",
|
|
7285
|
+
"pages.menu": "the pages behind the menu",
|
|
7286
|
+
"pages.menu-pinned": "the pages behind the menu, one or two key pages kept in the bar",
|
|
7287
|
+
"menu.drawer": "a sheet from the end edge",
|
|
7288
|
+
"menu.full": "a full-screen index of the page names, large",
|
|
7289
|
+
"menu.panel": "a panel that drops from the top, as tall as its content",
|
|
7290
|
+
"menuShows.links": "the page names",
|
|
7291
|
+
"menuShows.pictures": "pictured cards for the main collections beside the page names",
|
|
7292
|
+
"action.none": "no call to action",
|
|
7293
|
+
"action.button": "one button",
|
|
7294
|
+
"action.link": "one quiet link",
|
|
7295
|
+
"action.two": "a filled and an outlined button",
|
|
7296
|
+
"ground.solid": "its own ground",
|
|
7297
|
+
"ground.over": "over the opening, transparent until the page moves",
|
|
7298
|
+
"ground.glass": "frosted glass (a look with a blur)",
|
|
7299
|
+
"shape.bar": "a full-width bar",
|
|
7300
|
+
"shape.pill": "one floating rounded bar",
|
|
7301
|
+
"shape.islands": "separate floating pills",
|
|
7302
|
+
"brand.fits": "the name fits the bar",
|
|
7303
|
+
"brand.hangs": "a logo larger than the bar, hanging below it",
|
|
7304
|
+
"brand.later": "the name arrives once the page moves",
|
|
7305
|
+
"scroll.stays": "always there",
|
|
7306
|
+
"scroll.hides": "hides scrolling down, back scrolling up",
|
|
7307
|
+
"scroll.away": "scrolls away with the page",
|
|
7308
|
+
"edge.fade": "a soft shadow under it once the page moves",
|
|
7309
|
+
"edge.line": "a hairline under it once the page moves",
|
|
7310
|
+
"edge.none": "no edge",
|
|
7311
|
+
"phone.drawer": "a drawer on a phone",
|
|
7312
|
+
"phone.bar": "a bottom bar on a phone",
|
|
7313
|
+
"phone.both": "a bottom bar and a drawer on a phone",
|
|
7314
|
+
"phone.full": "a full-screen index on a phone"
|
|
7315
|
+
},
|
|
7316
|
+
"waits": {
|
|
7317
|
+
"arrange.between": {
|
|
7318
|
+
"phase": "HI1",
|
|
7319
|
+
"drawnAs": "centred"
|
|
7320
|
+
},
|
|
7321
|
+
"menuSide.start": {
|
|
7322
|
+
"phase": "HI1",
|
|
7323
|
+
"drawnAs": "end"
|
|
7324
|
+
},
|
|
7325
|
+
"pages.menu-pinned": {
|
|
7326
|
+
"phase": "HI1",
|
|
7327
|
+
"drawnAs": "menu"
|
|
7328
|
+
},
|
|
7329
|
+
"action.link": {
|
|
7330
|
+
"phase": "HI1",
|
|
7331
|
+
"drawnAs": "button"
|
|
7332
|
+
},
|
|
7333
|
+
"action.two": {
|
|
7334
|
+
"phase": "HI1",
|
|
7335
|
+
"drawnAs": "button"
|
|
7336
|
+
},
|
|
7337
|
+
"menu.full": {
|
|
7338
|
+
"phase": "HI2",
|
|
7339
|
+
"drawnAs": "drawer"
|
|
7340
|
+
},
|
|
7341
|
+
"menu.panel": {
|
|
7342
|
+
"phase": "HI2",
|
|
7343
|
+
"drawnAs": "drawer"
|
|
7344
|
+
},
|
|
7345
|
+
"menuShows.pictures": {
|
|
7346
|
+
"phase": "HI2",
|
|
7347
|
+
"drawnAs": "links"
|
|
7348
|
+
},
|
|
7349
|
+
"phone.full": {
|
|
7350
|
+
"phase": "HI2",
|
|
7351
|
+
"drawnAs": "drawer"
|
|
7352
|
+
},
|
|
7353
|
+
"ground.over": {
|
|
7354
|
+
"phase": "HI3",
|
|
7355
|
+
"drawnAs": "solid"
|
|
7356
|
+
},
|
|
7357
|
+
"ground.glass": {
|
|
7358
|
+
"phase": "HI3",
|
|
7359
|
+
"drawnAs": "solid"
|
|
7360
|
+
},
|
|
7361
|
+
"shape.pill": {
|
|
7362
|
+
"phase": "HI3",
|
|
7363
|
+
"drawnAs": "bar"
|
|
7364
|
+
},
|
|
7365
|
+
"shape.islands": {
|
|
7366
|
+
"phase": "HI3",
|
|
7367
|
+
"drawnAs": "bar"
|
|
7368
|
+
},
|
|
7369
|
+
"brand.hangs": {
|
|
7370
|
+
"phase": "HI3",
|
|
7371
|
+
"drawnAs": "fits"
|
|
7372
|
+
},
|
|
7373
|
+
"brand.later": {
|
|
7374
|
+
"phase": "HI3",
|
|
7375
|
+
"drawnAs": "fits"
|
|
7376
|
+
}
|
|
7377
|
+
},
|
|
7378
|
+
"defaults": {
|
|
7379
|
+
"arrange": "split",
|
|
7380
|
+
"menuSide": "end",
|
|
7381
|
+
"pages": "inline",
|
|
7382
|
+
"menu": "drawer",
|
|
7383
|
+
"menuShows": "links",
|
|
7384
|
+
"action": "button",
|
|
7385
|
+
"ground": "solid",
|
|
7386
|
+
"shape": "bar",
|
|
7387
|
+
"brand": "fits",
|
|
7388
|
+
"scroll": "hides",
|
|
7389
|
+
"edge": "fade",
|
|
7390
|
+
"phone": "drawer"
|
|
7391
|
+
},
|
|
7392
|
+
"named": {
|
|
7393
|
+
"nav.inline-cta": {},
|
|
7394
|
+
"nav.centered-logo": {
|
|
7395
|
+
"arrange": "centred",
|
|
7396
|
+
"action": "none"
|
|
7397
|
+
}
|
|
7398
|
+
},
|
|
7399
|
+
"navKinds": {
|
|
7400
|
+
"bar": {},
|
|
7401
|
+
"corner": {
|
|
7402
|
+
"arrange": "name-only",
|
|
7403
|
+
"pages": "menu",
|
|
7404
|
+
"action": "none"
|
|
7405
|
+
},
|
|
7406
|
+
"index": {
|
|
7407
|
+
"arrange": "name-only",
|
|
7408
|
+
"pages": "menu",
|
|
7409
|
+
"menu": "full",
|
|
7410
|
+
"action": "none",
|
|
7411
|
+
"phone": "full"
|
|
7412
|
+
},
|
|
7413
|
+
"side": {
|
|
7414
|
+
"arrange": "name-only",
|
|
7415
|
+
"pages": "menu",
|
|
7416
|
+
"menu": "full",
|
|
7417
|
+
"action": "none",
|
|
7418
|
+
"phone": "full"
|
|
7419
|
+
}
|
|
7420
|
+
},
|
|
7421
|
+
"fingerprint": [
|
|
7422
|
+
"arrange",
|
|
7423
|
+
"pages",
|
|
7424
|
+
"menu",
|
|
7425
|
+
"ground",
|
|
7426
|
+
"shape"
|
|
7427
|
+
],
|
|
7428
|
+
"references": [
|
|
7429
|
+
{
|
|
7430
|
+
"id": "islands-hanging-logo",
|
|
7431
|
+
"after": "Delta Cafés",
|
|
7432
|
+
"added": "2026-11-19",
|
|
7433
|
+
"mix": {
|
|
7434
|
+
"arrange": "between",
|
|
7435
|
+
"ground": "over",
|
|
7436
|
+
"shape": "islands",
|
|
7437
|
+
"brand": "hangs",
|
|
7438
|
+
"action": "none",
|
|
7439
|
+
"edge": "none"
|
|
7440
|
+
}
|
|
7441
|
+
},
|
|
7442
|
+
{
|
|
7443
|
+
"id": "start-menu-top-panel",
|
|
7444
|
+
"after": "Vonder (closed + open)",
|
|
7445
|
+
"added": "2026-11-19",
|
|
7446
|
+
"mix": {
|
|
7447
|
+
"arrange": "name-only",
|
|
7448
|
+
"menuSide": "start",
|
|
7449
|
+
"pages": "menu-pinned",
|
|
7450
|
+
"menu": "panel",
|
|
7451
|
+
"menuShows": "pictures",
|
|
7452
|
+
"action": "none",
|
|
7453
|
+
"ground": "over",
|
|
7454
|
+
"brand": "later",
|
|
7455
|
+
"edge": "none",
|
|
7456
|
+
"phone": "full"
|
|
7457
|
+
}
|
|
7458
|
+
},
|
|
7459
|
+
{
|
|
7460
|
+
"id": "directory-two-actions",
|
|
7461
|
+
"after": "a design directory (the \"w.\" site)",
|
|
7462
|
+
"added": "2026-11-19",
|
|
7463
|
+
"mix": {
|
|
7464
|
+
"action": "two",
|
|
7465
|
+
"scroll": "stays",
|
|
7466
|
+
"edge": "line"
|
|
7467
|
+
}
|
|
7468
|
+
}
|
|
7469
|
+
]
|
|
7128
7470
|
}
|
|
7129
7471
|
} as const;
|
package/styles/iox-design.css
CHANGED
|
@@ -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
|