@vectoriox/iox-ui 5.202.1 → 5.204.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/actions-core/index.d.ts +8 -1
- package/design-core/index.d.ts +62 -2
- package/fesm2022/vectoriox-iox-ui-actions-core.mjs +8 -1
- package/fesm2022/vectoriox-iox-ui-actions-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +121 -11
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +5443 -293
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +381 -32
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/generation-core/index.d.ts +2368 -5
- package/index.d.ts +117 -12
- package/package.json +1 -1
- package/src/actions-core/element-actions.ts +9 -0
- package/src/design-core/contrast-audit.ts +93 -11
- package/src/design-core/flavor-spec.generated.ts +19 -0
- package/src/design-core/image-alt.ts +27 -0
- package/src/design-core/public-api.ts +1 -0
- package/src/generation-core/audit-site.ts +17 -3
- package/src/generation-core/baseline-roles.ts +10 -6
- package/src/generation-core/check-free.ts +12 -2
- package/src/generation-core/check-layout.ts +3 -2
- package/src/generation-core/compose-free.ts +3 -1
- package/src/generation-core/compose-layout.ts +1 -1
- package/src/generation-core/compose-site.ts +29 -11
- package/src/generation-core/critic-calibration.ts +175 -0
- package/src/generation-core/critic-prompt.ts +153 -0
- package/src/generation-core/critic-rubric.generated.ts +24 -0
- package/src/generation-core/critic-sheet.ts +203 -0
- package/src/generation-core/critic.ts +175 -0
- package/src/generation-core/design-doc-index.ts +58 -0
- package/src/generation-core/design-motion.ts +247 -0
- package/src/generation-core/design-ops-check.ts +370 -0
- package/src/generation-core/design-ops-of.ts +200 -0
- package/src/generation-core/design-ops.model.ts +239 -0
- package/src/generation-core/design-ops.schema.ts +122 -0
- package/src/generation-core/design-ops.ts +361 -0
- package/src/generation-core/design-recipes.ts +58 -0
- package/src/generation-core/designer-brief.ts +81 -0
- package/src/generation-core/designer-direction.ts +248 -0
- package/src/generation-core/designer-estimate.ts +171 -0
- package/src/generation-core/designer-lessons.generated.ts +653 -0
- package/src/generation-core/designer-lessons.ts +153 -0
- package/src/generation-core/designer-stop.ts +94 -0
- package/src/generation-core/footer-free.ts +23 -2
- package/src/generation-core/footer-mix.ts +60 -14
- package/src/generation-core/layout-language.ts +2 -0
- package/src/generation-core/node-baselines.generated.ts +953 -10
- package/src/generation-core/public-api.ts +21 -0
- package/src/generation-core/site-spec.generated.ts +82 -10
- package/src/generation-core/social-links.ts +370 -0
- package/src/generation-core/structure-fingerprint.ts +565 -0
- package/src/generation-core/templates.ts +39 -3
- package/styles/iox-design.css +26 -1
- package/styles/iox-forms.css +22 -0
|
@@ -0,0 +1,653 @@
|
|
|
1
|
+
// GENERATED from iox-ai-guidance architecture/ai/designer-lessons.json by scripts/gen-designer-lessons.mjs — do not
|
|
2
|
+
// edit; re-run npm run gen:designer-lessons. The AI designer's seeded lessons (ai-designer-plan §3a).
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
/** Where the lessons came from, and a hash of the list (a changed list is a new hash). */
|
|
6
|
+
export const DESIGNER_LESSONS_SOURCE = { file: 'architecture/ai/designer-lessons.json', version: 1, hash: "dc5ed400176b" } as const;
|
|
7
|
+
|
|
8
|
+
export const DESIGNER_LESSONS_SEED = [
|
|
9
|
+
{
|
|
10
|
+
"id": "release-drop-sizes",
|
|
11
|
+
"rule": "Before any styling, release every palette drop size: Containers, Sections, Texts and LinkedContainers size to their content (no 200px min-height, no 10px padding, no 100% width on inline text, no default font), and set textAlign on every text in a centred block.",
|
|
12
|
+
"kinds": [
|
|
13
|
+
"all"
|
|
14
|
+
],
|
|
15
|
+
"dimension": "polish",
|
|
16
|
+
"evidence": {
|
|
17
|
+
"build": "proof-law",
|
|
18
|
+
"round": "1–2",
|
|
19
|
+
"scoreBefore": 2,
|
|
20
|
+
"scoreAfter": 5,
|
|
21
|
+
"ref": "law HARNESS §4b-1; hotel §4 lesson 1"
|
|
22
|
+
},
|
|
23
|
+
"source": "critic",
|
|
24
|
+
"weight": 1,
|
|
25
|
+
"status": "approved",
|
|
26
|
+
"retiresWith": "AD0 B-D1"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"id": "header-content-sized",
|
|
30
|
+
"rule": "The header bar is content-sized: min-height auto, width auto, its margin the page's inset — a 100%-wide bar with margins scrolls the page sideways.",
|
|
31
|
+
"kinds": [
|
|
32
|
+
"all"
|
|
33
|
+
],
|
|
34
|
+
"dimension": "header",
|
|
35
|
+
"evidence": {
|
|
36
|
+
"build": "proof-law",
|
|
37
|
+
"round": "3",
|
|
38
|
+
"scoreBefore": 4,
|
|
39
|
+
"scoreAfter": 7,
|
|
40
|
+
"ref": "law HARNESS §4b-2"
|
|
41
|
+
},
|
|
42
|
+
"source": "critic",
|
|
43
|
+
"weight": 1,
|
|
44
|
+
"status": "approved"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"id": "header-ink-follows-opening",
|
|
48
|
+
"rule": "A header over a dark opening takes its ink from the ground (the nav's colour var(--iox-text) under an inverse opening); a dark header over a film reads as a mistake on the first screen.",
|
|
49
|
+
"kinds": [
|
|
50
|
+
"all"
|
|
51
|
+
],
|
|
52
|
+
"dimension": "header",
|
|
53
|
+
"evidence": {
|
|
54
|
+
"build": "proof-hotel",
|
|
55
|
+
"round": "3",
|
|
56
|
+
"scoreBefore": 5.9,
|
|
57
|
+
"scoreAfter": 6.4,
|
|
58
|
+
"ref": "hotel HARNESS §4 lesson 4"
|
|
59
|
+
},
|
|
60
|
+
"source": "critic",
|
|
61
|
+
"weight": 1,
|
|
62
|
+
"status": "approved"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"id": "control-on-every-ground",
|
|
66
|
+
"rule": "Every control works on every ground it can sit on: the menu button on the photo and on the bar, the drawer's copy of the call to action on the drawer's paper, text case set on the button's token, not only its label.",
|
|
67
|
+
"kinds": [
|
|
68
|
+
"all"
|
|
69
|
+
],
|
|
70
|
+
"dimension": "header",
|
|
71
|
+
"evidence": {
|
|
72
|
+
"build": "proof-law",
|
|
73
|
+
"round": "4–6",
|
|
74
|
+
"scoreBefore": 6,
|
|
75
|
+
"scoreAfter": 7,
|
|
76
|
+
"ref": "law HARNESS §4b-8"
|
|
77
|
+
},
|
|
78
|
+
"source": "critic",
|
|
79
|
+
"weight": 1,
|
|
80
|
+
"status": "approved"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"id": "nav-lands-on-a-page",
|
|
84
|
+
"rule": "Every nav word lands on a real page of its own and each route has one link: there are no anchors, so a section the nav names becomes a page or leaves the nav.",
|
|
85
|
+
"kinds": [
|
|
86
|
+
"all"
|
|
87
|
+
],
|
|
88
|
+
"dimension": "header",
|
|
89
|
+
"evidence": {
|
|
90
|
+
"build": "proof-hotel",
|
|
91
|
+
"round": "F1",
|
|
92
|
+
"scoreBefore": 7.4,
|
|
93
|
+
"scoreAfter": 7.5,
|
|
94
|
+
"ref": "law HARNESS §4b-12; hotel §4 lesson 19"
|
|
95
|
+
},
|
|
96
|
+
"source": "tester",
|
|
97
|
+
"weight": 2,
|
|
98
|
+
"status": "approved",
|
|
99
|
+
"retiresWith": "builder anchors (MISSING 28)"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"id": "legal-pages-first",
|
|
103
|
+
"rule": "The legal pages exist before round 1, in the site's own design and every language — a privacy page as soon as a form asks for a person's details, an accessibility statement for an Israeli business, terms where there is a form or a shop — each marked as the template the owner replaces, and the footer's legal words are links to them.",
|
|
104
|
+
"kinds": [
|
|
105
|
+
"all"
|
|
106
|
+
],
|
|
107
|
+
"dimension": "polish",
|
|
108
|
+
"evidence": {
|
|
109
|
+
"build": "proof-law",
|
|
110
|
+
"round": "L1",
|
|
111
|
+
"scoreBefore": 5,
|
|
112
|
+
"scoreAfter": 7.9,
|
|
113
|
+
"ref": "law HARNESS §4c-1; hotel §4 lessons 17–18"
|
|
114
|
+
},
|
|
115
|
+
"source": "tester",
|
|
116
|
+
"weight": 2,
|
|
117
|
+
"status": "approved"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"id": "alt-on-every-picture",
|
|
121
|
+
"rule": "Every picture carries alt text that says what it shows, in each language; a picture stamped only for an effect has none, so do not stamp it.",
|
|
122
|
+
"kinds": [
|
|
123
|
+
"all"
|
|
124
|
+
],
|
|
125
|
+
"dimension": "polish",
|
|
126
|
+
"evidence": {
|
|
127
|
+
"build": "proof-law",
|
|
128
|
+
"round": "12",
|
|
129
|
+
"scoreBefore": 7.6,
|
|
130
|
+
"scoreAfter": 8.2,
|
|
131
|
+
"ref": "law HARNESS §4c-2"
|
|
132
|
+
},
|
|
133
|
+
"source": "tester",
|
|
134
|
+
"weight": 2,
|
|
135
|
+
"status": "approved"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"id": "tokens-never-hex",
|
|
139
|
+
"rule": "Paint with the look's tokens, never a hex: a colour the look lacks is a token edit, not a literal on a node.",
|
|
140
|
+
"kinds": [
|
|
141
|
+
"all"
|
|
142
|
+
],
|
|
143
|
+
"dimension": "colour",
|
|
144
|
+
"evidence": {
|
|
145
|
+
"build": "proof-law",
|
|
146
|
+
"round": "12",
|
|
147
|
+
"scoreBefore": 7.6,
|
|
148
|
+
"scoreAfter": 8.2,
|
|
149
|
+
"ref": "law HARNESS §4c-3"
|
|
150
|
+
},
|
|
151
|
+
"source": "tester",
|
|
152
|
+
"weight": 2,
|
|
153
|
+
"status": "approved"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"id": "gate-every-round",
|
|
157
|
+
"rule": "Run the publish gate (auditSite) before round 1 and after every round: 0 blocking and 0 asking in every language.",
|
|
158
|
+
"kinds": [
|
|
159
|
+
"all"
|
|
160
|
+
],
|
|
161
|
+
"dimension": "polish",
|
|
162
|
+
"evidence": {
|
|
163
|
+
"build": "proof-law",
|
|
164
|
+
"round": "12",
|
|
165
|
+
"scoreBefore": 5,
|
|
166
|
+
"scoreAfter": 8.2,
|
|
167
|
+
"ref": "law HARNESS §4c-4"
|
|
168
|
+
},
|
|
169
|
+
"source": "tester",
|
|
170
|
+
"weight": 2,
|
|
171
|
+
"status": "approved"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"id": "tokens-finish-parts",
|
|
175
|
+
"rule": "The look's tokens finish the platform's parts: fields (ground, radius, a 3:1 border, padding) and buttons (case, tracking, size) — otherwise a form looks like the browser's.",
|
|
176
|
+
"kinds": [
|
|
177
|
+
"all"
|
|
178
|
+
],
|
|
179
|
+
"dimension": "polish",
|
|
180
|
+
"evidence": {
|
|
181
|
+
"build": "proof-law",
|
|
182
|
+
"round": "C2",
|
|
183
|
+
"scoreBefore": 6.5,
|
|
184
|
+
"scoreAfter": 7.5,
|
|
185
|
+
"ref": "law HARNESS §4b-9"
|
|
186
|
+
},
|
|
187
|
+
"source": "critic",
|
|
188
|
+
"weight": 1,
|
|
189
|
+
"status": "approved"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"id": "colour-has-a-job",
|
|
193
|
+
"rule": "Colour has a job: one accent on small marks, colour photographs only where they mean something (people, the place), everything else in one family.",
|
|
194
|
+
"kinds": [
|
|
195
|
+
"all"
|
|
196
|
+
],
|
|
197
|
+
"dimension": "colour",
|
|
198
|
+
"evidence": {
|
|
199
|
+
"build": "proof-law",
|
|
200
|
+
"round": "4",
|
|
201
|
+
"scoreBefore": 7,
|
|
202
|
+
"scoreAfter": 8,
|
|
203
|
+
"ref": "law HARNESS §4b-4"
|
|
204
|
+
},
|
|
205
|
+
"source": "critic",
|
|
206
|
+
"weight": 1,
|
|
207
|
+
"status": "approved"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"id": "picture-reads-at-size",
|
|
211
|
+
"rule": "A picture must read at its rendered size: below about 100px show a face in a circle or one strong shape, never a document or a room; judge every picture at its real size, not on the sheet.",
|
|
212
|
+
"kinds": [
|
|
213
|
+
"all"
|
|
214
|
+
],
|
|
215
|
+
"dimension": "imagery",
|
|
216
|
+
"evidence": {
|
|
217
|
+
"build": "proof-law",
|
|
218
|
+
"round": "4",
|
|
219
|
+
"scoreBefore": 6,
|
|
220
|
+
"scoreAfter": 7,
|
|
221
|
+
"ref": "law HARNESS §4b-3"
|
|
222
|
+
},
|
|
223
|
+
"source": "critic",
|
|
224
|
+
"weight": 1,
|
|
225
|
+
"status": "approved"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"id": "landscape-for-wide-frames",
|
|
229
|
+
"rule": "A wide frame takes a landscape picture that fills it; a portrait in a 16:6 frame is half sky.",
|
|
230
|
+
"kinds": [
|
|
231
|
+
"all"
|
|
232
|
+
],
|
|
233
|
+
"dimension": "imagery",
|
|
234
|
+
"evidence": {
|
|
235
|
+
"build": "proof-law",
|
|
236
|
+
"round": "S3",
|
|
237
|
+
"scoreBefore": 6.5,
|
|
238
|
+
"scoreAfter": 8,
|
|
239
|
+
"ref": "law HARNESS §4b-11"
|
|
240
|
+
},
|
|
241
|
+
"source": "critic",
|
|
242
|
+
"weight": 1,
|
|
243
|
+
"status": "approved"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"id": "phone-first-screen-picture",
|
|
247
|
+
"rule": "On a page whose character is a place, the phone's first screen shows its picture (order it first from tablet down) with the title still on that screen; a phone opening with no picture reads as a document.",
|
|
248
|
+
"kinds": [
|
|
249
|
+
"all"
|
|
250
|
+
],
|
|
251
|
+
"dimension": "imagery",
|
|
252
|
+
"evidence": {
|
|
253
|
+
"build": "proof-hotel",
|
|
254
|
+
"round": "R2",
|
|
255
|
+
"scoreBefore": 6.9,
|
|
256
|
+
"scoreAfter": 7.2,
|
|
257
|
+
"ref": "law HARNESS §4c-10; hotel §4 R2 + lesson 8"
|
|
258
|
+
},
|
|
259
|
+
"source": "tester",
|
|
260
|
+
"weight": 2,
|
|
261
|
+
"status": "approved"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"id": "depth-on-the-frame",
|
|
265
|
+
"rule": "Depth goes on a frame that has room — never on a picture inside a clipped frame, never on a frame directly under words (it rides over them).",
|
|
266
|
+
"kinds": [
|
|
267
|
+
"all"
|
|
268
|
+
],
|
|
269
|
+
"dimension": "imagery",
|
|
270
|
+
"evidence": {
|
|
271
|
+
"build": "proof-hotel",
|
|
272
|
+
"round": "C2",
|
|
273
|
+
"scoreBefore": 7,
|
|
274
|
+
"scoreAfter": 7.2,
|
|
275
|
+
"ref": "hotel HARNESS §4 lessons 3 + 9"
|
|
276
|
+
},
|
|
277
|
+
"source": "critic",
|
|
278
|
+
"weight": 1,
|
|
279
|
+
"status": "approved"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"id": "line-breaks-in-the-words",
|
|
283
|
+
"rule": "Write the line breaks into the words: a non-breaking space between the last two words of every title and closing line, and on any pair that must stay whole; measure a centred sentence and set its max-width so the lines balance.",
|
|
284
|
+
"kinds": [
|
|
285
|
+
"all"
|
|
286
|
+
],
|
|
287
|
+
"dimension": "type",
|
|
288
|
+
"evidence": {
|
|
289
|
+
"build": "proof-law",
|
|
290
|
+
"round": "5, 10, S3",
|
|
291
|
+
"scoreBefore": 7.5,
|
|
292
|
+
"scoreAfter": 8.5,
|
|
293
|
+
"ref": "law HARNESS §4b-5 + §4c-8"
|
|
294
|
+
},
|
|
295
|
+
"source": "tester",
|
|
296
|
+
"weight": 2,
|
|
297
|
+
"status": "approved"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"id": "two-line-display-titles",
|
|
301
|
+
"rule": "Type makes a page read as this brand: titles in the display face at the reference's size, often in two lines with a lighter or italic second line; the palette's defaults read as a template.",
|
|
302
|
+
"kinds": [
|
|
303
|
+
"all"
|
|
304
|
+
],
|
|
305
|
+
"dimension": "type",
|
|
306
|
+
"evidence": {
|
|
307
|
+
"build": "proof-hotel",
|
|
308
|
+
"round": "2",
|
|
309
|
+
"scoreBefore": 5,
|
|
310
|
+
"scoreAfter": 5.9,
|
|
311
|
+
"ref": "hotel HARNESS §4 round 2"
|
|
312
|
+
},
|
|
313
|
+
"source": "critic",
|
|
314
|
+
"weight": 1,
|
|
315
|
+
"status": "approved"
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"id": "units-not-in-caps",
|
|
319
|
+
"rule": "A unit is never set in caps (22 m², not 22 M²); numbers with their units go in the display face.",
|
|
320
|
+
"kinds": [
|
|
321
|
+
"all"
|
|
322
|
+
],
|
|
323
|
+
"dimension": "type",
|
|
324
|
+
"evidence": {
|
|
325
|
+
"build": "proof-hotel",
|
|
326
|
+
"round": "R3",
|
|
327
|
+
"scoreBefore": 7.2,
|
|
328
|
+
"scoreAfter": 7.6,
|
|
329
|
+
"ref": "hotel HARNESS §4 lesson 13"
|
|
330
|
+
},
|
|
331
|
+
"source": "critic",
|
|
332
|
+
"weight": 1,
|
|
333
|
+
"status": "approved"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"id": "named-parts-first",
|
|
337
|
+
"rule": "Build the parts the owner named as real parts first (a switch is Tabs, a booking is a Form, a footer field is a Form); a part that looks interactive and does nothing costs more than a missing one.",
|
|
338
|
+
"kinds": [
|
|
339
|
+
"all"
|
|
340
|
+
],
|
|
341
|
+
"dimension": "composition",
|
|
342
|
+
"evidence": {
|
|
343
|
+
"build": "proof-hotel",
|
|
344
|
+
"round": "4",
|
|
345
|
+
"scoreBefore": 6.4,
|
|
346
|
+
"scoreAfter": 6.9,
|
|
347
|
+
"ref": "hotel HARNESS §4 lesson 5"
|
|
348
|
+
},
|
|
349
|
+
"source": "critic",
|
|
350
|
+
"weight": 1,
|
|
351
|
+
"status": "approved"
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"id": "end-on-the-ask",
|
|
355
|
+
"rule": "A page that sells ends on its ask — the form or the booking in the site's own form language — not on two buttons.",
|
|
356
|
+
"kinds": [
|
|
357
|
+
"all"
|
|
358
|
+
],
|
|
359
|
+
"dimension": "composition",
|
|
360
|
+
"evidence": {
|
|
361
|
+
"build": "proof-hotel",
|
|
362
|
+
"round": "5",
|
|
363
|
+
"scoreBefore": 6.9,
|
|
364
|
+
"scoreAfter": 7.1,
|
|
365
|
+
"ref": "hotel HARNESS §4 round 5"
|
|
366
|
+
},
|
|
367
|
+
"source": "critic",
|
|
368
|
+
"weight": 1,
|
|
369
|
+
"status": "approved"
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"id": "opening-in-one-screen",
|
|
373
|
+
"rule": "Fit the opening in one screen at 1440×900, header and tallest column included: an index or a list of facts in the opening goes into a row under it.",
|
|
374
|
+
"kinds": [
|
|
375
|
+
"all"
|
|
376
|
+
],
|
|
377
|
+
"dimension": "composition",
|
|
378
|
+
"evidence": {
|
|
379
|
+
"build": "proof-hotel",
|
|
380
|
+
"round": "R3",
|
|
381
|
+
"scoreBefore": 7.2,
|
|
382
|
+
"scoreAfter": 7.6,
|
|
383
|
+
"ref": "hotel HARNESS §4 lesson 8"
|
|
384
|
+
},
|
|
385
|
+
"source": "critic",
|
|
386
|
+
"weight": 1,
|
|
387
|
+
"status": "approved"
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"id": "screen-budget-own-arrangements",
|
|
391
|
+
"rule": "An inner page stays within 8 laptop screens, and each repeated item (a practice, a room) gets its own arrangement — four items on one skeleton read as one block four times.",
|
|
392
|
+
"kinds": [
|
|
393
|
+
"all"
|
|
394
|
+
],
|
|
395
|
+
"dimension": "composition",
|
|
396
|
+
"evidence": {
|
|
397
|
+
"build": "proof-law",
|
|
398
|
+
"round": "S4–S5",
|
|
399
|
+
"scoreBefore": 7,
|
|
400
|
+
"scoreAfter": 8.5,
|
|
401
|
+
"ref": "law HARNESS §4c-5"
|
|
402
|
+
},
|
|
403
|
+
"source": "tester",
|
|
404
|
+
"weight": 2,
|
|
405
|
+
"status": "approved"
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"id": "one-scroll-moment",
|
|
409
|
+
"rule": "Give every page one signature scroll moment (a Scene, or a line lit word by word as the scroll carries it) and prove it moves at three scroll positions; it moves Motion more than any number of entrances.",
|
|
410
|
+
"kinds": [
|
|
411
|
+
"all"
|
|
412
|
+
],
|
|
413
|
+
"dimension": "motion",
|
|
414
|
+
"evidence": {
|
|
415
|
+
"build": "proof-law",
|
|
416
|
+
"round": "C4–C5",
|
|
417
|
+
"scoreBefore": 7,
|
|
418
|
+
"scoreAfter": 8.5,
|
|
419
|
+
"ref": "law HARNESS §4c-9; hotel §4 round 7 + lesson 7"
|
|
420
|
+
},
|
|
421
|
+
"source": "tester",
|
|
422
|
+
"weight": 2,
|
|
423
|
+
"status": "approved"
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"id": "scene-length-and-beats",
|
|
427
|
+
"rule": "A Scene has a beat for its whole length (add a second beat or shorten it if a move ends at half the travel), starts on its final ground, opens its window from about 55%, and on the phone is only as long as what moves there (≤ 2 screens; stacked halves give up their flex share).",
|
|
428
|
+
"kinds": [
|
|
429
|
+
"all"
|
|
430
|
+
],
|
|
431
|
+
"dimension": "motion",
|
|
432
|
+
"evidence": {
|
|
433
|
+
"build": "proof-hotel",
|
|
434
|
+
"round": "F3",
|
|
435
|
+
"scoreBefore": 7.5,
|
|
436
|
+
"scoreAfter": 8.1,
|
|
437
|
+
"ref": "law HARNESS §4b-6 + §4c-6; hotel §4 lesson 20"
|
|
438
|
+
},
|
|
439
|
+
"source": "tester",
|
|
440
|
+
"weight": 2,
|
|
441
|
+
"status": "approved"
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"id": "sticky-stage-below-header",
|
|
445
|
+
"rule": "Everything inside a sticky stage starts below the header bar (at least 128px on a laptop, 104px on a phone).",
|
|
446
|
+
"kinds": [
|
|
447
|
+
"all"
|
|
448
|
+
],
|
|
449
|
+
"dimension": "polish",
|
|
450
|
+
"evidence": {
|
|
451
|
+
"build": "proof-law",
|
|
452
|
+
"round": "S2",
|
|
453
|
+
"scoreBefore": 7.6,
|
|
454
|
+
"scoreAfter": 7.8,
|
|
455
|
+
"ref": "law HARNESS §4b-7"
|
|
456
|
+
},
|
|
457
|
+
"source": "critic",
|
|
458
|
+
"weight": 1,
|
|
459
|
+
"status": "approved"
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"id": "one-entrance-per-container",
|
|
463
|
+
"rule": "One entrance per container and never two entrance actions on one element: either the column rises or its words stagger in, with shrinking delays (0, 70, 120, 150 ms).",
|
|
464
|
+
"kinds": [
|
|
465
|
+
"all"
|
|
466
|
+
],
|
|
467
|
+
"dimension": "motion",
|
|
468
|
+
"evidence": {
|
|
469
|
+
"build": "proof-hotel",
|
|
470
|
+
"round": "E1",
|
|
471
|
+
"scoreBefore": 7.75,
|
|
472
|
+
"scoreAfter": 7.75,
|
|
473
|
+
"ref": "hotel HARNESS §4 lesson 2 (iox-ui#199)"
|
|
474
|
+
},
|
|
475
|
+
"source": "critic",
|
|
476
|
+
"weight": 1,
|
|
477
|
+
"status": "approved"
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"id": "emil-motion",
|
|
481
|
+
"rule": "Motion by Emil's rules: hover and transitions on transform and opacity only, never transition all, no animated colour on a switch, entrances under 0.9 s, hover zoom under 0.9 s, press 0.97 on the press-scale token.",
|
|
482
|
+
"kinds": [
|
|
483
|
+
"all"
|
|
484
|
+
],
|
|
485
|
+
"dimension": "motion",
|
|
486
|
+
"evidence": {
|
|
487
|
+
"build": "proof-law",
|
|
488
|
+
"round": "11–12",
|
|
489
|
+
"scoreBefore": 8.1,
|
|
490
|
+
"scoreAfter": 8.1,
|
|
491
|
+
"ref": "law HARNESS §4b-13; hotel §4 lesson 16"
|
|
492
|
+
},
|
|
493
|
+
"source": "critic",
|
|
494
|
+
"weight": 1,
|
|
495
|
+
"status": "approved"
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"id": "film-inset-under-header",
|
|
499
|
+
"rule": "A film behind an over-header is inset to the frame line (a blurred still of it around) and nothing sits on its top-end corner, where its pause button lives.",
|
|
500
|
+
"kinds": [
|
|
501
|
+
"all"
|
|
502
|
+
],
|
|
503
|
+
"dimension": "polish",
|
|
504
|
+
"evidence": {
|
|
505
|
+
"build": "proof-hotel",
|
|
506
|
+
"round": "E1",
|
|
507
|
+
"scoreBefore": 7.75,
|
|
508
|
+
"scoreAfter": 7.75,
|
|
509
|
+
"ref": "hotel HARNESS §4 lesson 15 (iox-ui#198)"
|
|
510
|
+
},
|
|
511
|
+
"source": "critic",
|
|
512
|
+
"weight": 1,
|
|
513
|
+
"status": "approved"
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"id": "overlap-box-not-stretched",
|
|
517
|
+
"rule": "A box holding an absolutely placed overlap must not stretch to its grid row (align it to the centre, height auto), or the overlap hangs off the stretched box instead of the picture's corner.",
|
|
518
|
+
"kinds": [
|
|
519
|
+
"all"
|
|
520
|
+
],
|
|
521
|
+
"dimension": "polish",
|
|
522
|
+
"evidence": {
|
|
523
|
+
"build": "proof-hotel",
|
|
524
|
+
"round": "R3",
|
|
525
|
+
"scoreBefore": 7.2,
|
|
526
|
+
"scoreAfter": 7.6,
|
|
527
|
+
"ref": "hotel HARNESS §4 lesson 10"
|
|
528
|
+
},
|
|
529
|
+
"source": "critic",
|
|
530
|
+
"weight": 1,
|
|
531
|
+
"status": "approved"
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"id": "footer-name-by-its-ink",
|
|
535
|
+
"rule": "The footer's name has its own phone size, measured by its ink, not its box (about 24vw fills 94% of a 390px phone's content width).",
|
|
536
|
+
"kinds": [
|
|
537
|
+
"all"
|
|
538
|
+
],
|
|
539
|
+
"dimension": "footer",
|
|
540
|
+
"evidence": {
|
|
541
|
+
"build": "proof-law",
|
|
542
|
+
"round": "13",
|
|
543
|
+
"scoreBefore": 7.6,
|
|
544
|
+
"scoreAfter": 8.2,
|
|
545
|
+
"ref": "law HARNESS §4c-7"
|
|
546
|
+
},
|
|
547
|
+
"source": "tester",
|
|
548
|
+
"weight": 2,
|
|
549
|
+
"status": "approved"
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"id": "real-social-addresses",
|
|
553
|
+
"rule": "A social link is the business's real address (a test address on a test studio), never the network's home page.",
|
|
554
|
+
"kinds": [
|
|
555
|
+
"all"
|
|
556
|
+
],
|
|
557
|
+
"dimension": "footer",
|
|
558
|
+
"evidence": {
|
|
559
|
+
"build": "proof-hotel",
|
|
560
|
+
"round": "F2",
|
|
561
|
+
"scoreBefore": 7.5,
|
|
562
|
+
"scoreAfter": 7.6,
|
|
563
|
+
"ref": "hotel HARNESS §4 lesson 19"
|
|
564
|
+
},
|
|
565
|
+
"source": "tester",
|
|
566
|
+
"weight": 2,
|
|
567
|
+
"status": "approved"
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
"id": "hebrew-type",
|
|
571
|
+
"rule": "In Hebrew: a Hebrew display face as a token choice, no italic, tracking at most 0.06em, nothing under 13px, and sizes about 15% smaller where a line must stay single.",
|
|
572
|
+
"kinds": [
|
|
573
|
+
"all"
|
|
574
|
+
],
|
|
575
|
+
"locales": [
|
|
576
|
+
"he"
|
|
577
|
+
],
|
|
578
|
+
"dimension": "type",
|
|
579
|
+
"evidence": {
|
|
580
|
+
"build": "proof-law",
|
|
581
|
+
"round": "7-he",
|
|
582
|
+
"scoreBefore": 6.5,
|
|
583
|
+
"scoreAfter": 8,
|
|
584
|
+
"ref": "law HARNESS §4b-10; hotel §4 lesson 6"
|
|
585
|
+
},
|
|
586
|
+
"source": "critic",
|
|
587
|
+
"weight": 1,
|
|
588
|
+
"status": "approved"
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
"id": "hebrew-number-runs",
|
|
592
|
+
"rule": "In Hebrew, isolate every number run (hours, phone, counters) so it reads left to right inside the line.",
|
|
593
|
+
"kinds": [
|
|
594
|
+
"all"
|
|
595
|
+
],
|
|
596
|
+
"locales": [
|
|
597
|
+
"he"
|
|
598
|
+
],
|
|
599
|
+
"dimension": "type",
|
|
600
|
+
"evidence": {
|
|
601
|
+
"build": "proof-hotel",
|
|
602
|
+
"round": "10-he",
|
|
603
|
+
"scoreBefore": 7,
|
|
604
|
+
"scoreAfter": 7.6,
|
|
605
|
+
"ref": "hotel HARNESS §4 round 10-he + lesson 6"
|
|
606
|
+
},
|
|
607
|
+
"source": "critic",
|
|
608
|
+
"weight": 1,
|
|
609
|
+
"status": "approved"
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
"id": "hebrew-both-edges",
|
|
613
|
+
"rule": "Positioned boxes set both edges and align to the start; Scene x tracks and flex order mirror by themselves — never flip them by hand.",
|
|
614
|
+
"kinds": [
|
|
615
|
+
"all"
|
|
616
|
+
],
|
|
617
|
+
"locales": [
|
|
618
|
+
"he"
|
|
619
|
+
],
|
|
620
|
+
"dimension": "polish",
|
|
621
|
+
"evidence": {
|
|
622
|
+
"build": "proof-hotel",
|
|
623
|
+
"round": "C3-he",
|
|
624
|
+
"scoreBefore": 7,
|
|
625
|
+
"scoreAfter": 7.2,
|
|
626
|
+
"ref": "law HARNESS §4b-10; hotel §4 lesson 11"
|
|
627
|
+
},
|
|
628
|
+
"source": "critic",
|
|
629
|
+
"weight": 1,
|
|
630
|
+
"status": "approved"
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"id": "translate-whole-titles",
|
|
634
|
+
"rule": "Translate per language, not per node: two-line titles whole, the non-breaking space on the pair that must stay whole in that language, Latin strings (email, web address) in the body face.",
|
|
635
|
+
"kinds": [
|
|
636
|
+
"all"
|
|
637
|
+
],
|
|
638
|
+
"locales": [
|
|
639
|
+
"he"
|
|
640
|
+
],
|
|
641
|
+
"dimension": "type",
|
|
642
|
+
"evidence": {
|
|
643
|
+
"build": "proof-hotel",
|
|
644
|
+
"round": "R3-he",
|
|
645
|
+
"scoreBefore": 7.2,
|
|
646
|
+
"scoreAfter": 7.4,
|
|
647
|
+
"ref": "hotel HARNESS §4 lesson 12"
|
|
648
|
+
},
|
|
649
|
+
"source": "critic",
|
|
650
|
+
"weight": 1,
|
|
651
|
+
"status": "approved"
|
|
652
|
+
}
|
|
653
|
+
] as const;
|