@vectoriox/iox-ui 5.136.0 → 5.138.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.
Files changed (64) hide show
  1. package/assist-core/index.d.ts +22 -4
  2. package/composite-core/index.d.ts +10 -2
  3. package/design-core/index.d.ts +257 -21
  4. package/fesm2022/vectoriox-iox-ui-actions-core.mjs +12 -2
  5. package/fesm2022/vectoriox-iox-ui-actions-core.mjs.map +1 -1
  6. package/fesm2022/vectoriox-iox-ui-assist-core.mjs +29 -5
  7. package/fesm2022/vectoriox-iox-ui-assist-core.mjs.map +1 -1
  8. package/fesm2022/vectoriox-iox-ui-composite-core.mjs +18 -2
  9. package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
  10. package/fesm2022/vectoriox-iox-ui-design-core.mjs +431 -61
  11. package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
  12. package/fesm2022/vectoriox-iox-ui-generation-core.mjs +999 -259
  13. package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
  14. package/fesm2022/vectoriox-iox-ui-harness-core.mjs +5 -4
  15. package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
  16. package/fesm2022/vectoriox-iox-ui-scene-core.mjs +197 -28
  17. package/fesm2022/vectoriox-iox-ui-scene-core.mjs.map +1 -1
  18. package/fesm2022/vectoriox-iox-ui.mjs +538 -11
  19. package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
  20. package/generation-core/index.d.ts +1118 -732
  21. package/harness-core/index.d.ts +2 -2
  22. package/index.d.ts +150 -4
  23. package/package.json +1 -1
  24. package/scene-core/index.d.ts +69 -13
  25. package/src/actions-core/element-actions.ts +14 -4
  26. package/src/assist-core/assist-turn.ts +3 -1
  27. package/src/assist-core/route-schema.ts +20 -5
  28. package/src/assist-core/surfaces.ts +12 -0
  29. package/src/composite-core/header.ts +18 -1
  30. package/src/design-core/design-settings.ts +14 -3
  31. package/src/design-core/design-token.model.ts +3 -0
  32. package/src/design-core/flavor-spec.generated.ts +64 -25
  33. package/src/design-core/graphemes.ts +16 -0
  34. package/src/design-core/header-behaviour.ts +20 -2
  35. package/src/design-core/motion-language.ts +11 -7
  36. package/src/design-core/node-classes.ts +10 -4
  37. package/src/design-core/preloader-of.ts +26 -0
  38. package/src/design-core/preloader.ts +49 -5
  39. package/src/design-core/public-api.ts +4 -0
  40. package/src/design-core/scrub.ts +37 -0
  41. package/src/design-core/section-edge.ts +223 -0
  42. package/src/design-core/style-presets.ts +2 -0
  43. package/src/generation-core/body-mix.ts +443 -0
  44. package/src/generation-core/check-layout.ts +42 -4
  45. package/src/generation-core/compose-layout.ts +28 -6
  46. package/src/generation-core/compose-site.ts +26 -8
  47. package/src/generation-core/header-mix.ts +4 -0
  48. package/src/generation-core/layout-fingerprint.ts +19 -1
  49. package/src/generation-core/layout-language.ts +21 -1
  50. package/src/generation-core/layout-wire.ts +27 -2
  51. package/src/generation-core/node-baselines.generated.ts +7 -2
  52. package/src/generation-core/opening-mix.ts +32 -0
  53. package/src/generation-core/plan-wire.ts +1 -0
  54. package/src/generation-core/public-api.ts +2 -0
  55. package/src/generation-core/redesign-run.ts +69 -2
  56. package/src/generation-core/site-build-run.ts +29 -7
  57. package/src/generation-core/site-plan.model.ts +2 -0
  58. package/src/generation-core/site-spec.generated.ts +120 -86
  59. package/src/generation-core/text-scroll.ts +179 -0
  60. package/src/generation-core/validate-site-plan.ts +4 -2
  61. package/src/harness-core/starting-design.ts +6 -5
  62. package/src/scene-core/scroll-range.ts +4 -0
  63. package/src/scene-core/split-text.ts +216 -28
  64. package/styles/iox-design.css +87 -0
@@ -1,7 +1,10 @@
1
+ import { DesignChoices, DesignConfigEntry, DesignRevertSnapshot, readDesignConfig } from '@vectoriox/iox-ui/design-core';
2
+
1
3
  import type { ComposedPlaceholder } from './compose-site';
2
4
  import type { LayoutIssue } from './layout-language';
3
5
  import type { SerializedNode } from './serialized-node';
4
6
  import type { AdditionIssue, AdditionOrigin } from './redesign-additions';
7
+ import type { AiRefusal } from './ai-run';
5
8
  import { BuildStepError, BuildStepRecord, CreatedRecord, SiteBuildKind, SiteBuildStatus, UndoKept } from './site-build-run';
6
9
  import type { PagePlan } from './site-plan.model';
7
10
 
@@ -78,6 +81,9 @@ export interface RedesignRequest {
78
81
  keep: Record<string, number[]>;
79
82
  /** A model the owner chose for the layouts (M8 D4), or none: the studio's choice for the step. */
80
83
  model?: string;
84
+ /** False: nothing is added — no page, type or item is suggested or asked for (RD3-D7, "Redesign this page" in the
85
+ * builder). Absent: the additions step runs as for a site (§3e). */
86
+ additions?: boolean;
81
87
  }
82
88
 
83
89
  /** A page as the Snapshot took it — what Back restores, and what Switch judges a page edited after the harvest by. */
@@ -264,6 +270,38 @@ export interface RedesignBack {
264
270
  error?: BuildStepError;
265
271
  }
266
272
 
273
+ /**
274
+ * The look a run replaced, as iox-cms takes it BEFORE any token is written — a site build's Look step (its Undo) and a
275
+ * redesign's Switch (its Back) store the same shape: the studio's `settings.design` row VERBATIM and the revert snapshot
276
+ * the Apply stores (design-core `designApplySnapshot`).
277
+ */
278
+ export interface LookBefore {
279
+ /** The org's `settings.design` row, or null when the studio had never stored a look. */
280
+ rowId: string | null;
281
+ /** That row's config VERBATIM (its own revert snapshot included), or null. */
282
+ config: DesignConfigEntry[] | null;
283
+ /** The pre-apply tokens and what the apply wrote into each row (null: nothing to revert). */
284
+ snapshot: DesignRevertSnapshot | null;
285
+ /** False when the look was already the one asked for: the apply wrote no token, so a revert reverts none. */
286
+ wroteTokens: boolean;
287
+ }
288
+
289
+ /** A redesign's look: the one the Switch replaced (stored before its first write) and the one it wrote. */
290
+ export interface RedesignLook {
291
+ before: LookBefore;
292
+ /** The identity fingerprint of the design row the Switch wrote (absent: its apply stopped part-way — Back reverts
293
+ * its token writes regardless). */
294
+ applied?: string;
295
+ }
296
+
297
+ /** The choices of the look a Switch replaced — what Back returns to ("Linen · Warm") — or null when the run does not
298
+ * say (not switched yet, or a run stored before the look was). A studio with no design row wore its defaults. */
299
+ export function redesignPreviousChoices(run: Pick<RedesignRun, 'look'> | null | undefined): DesignChoices | null {
300
+ const before = run?.look?.before;
301
+ if (!before) return null;
302
+ return readDesignConfig(before.config, !!before.config).choices;
303
+ }
304
+
267
305
  /** The run as `GET …/site-builds/:id` answers a redesign. */
268
306
  export interface RedesignRun {
269
307
  _id: string;
@@ -278,6 +316,8 @@ export interface RedesignRun {
278
316
  snapshot?: RedesignSnapshot;
279
317
  staged?: RedesignStaged;
280
318
  switch?: RedesignSwitch;
319
+ /** The look the Switch replaced and wrote (absent until the Switch reaches the look). */
320
+ look?: RedesignLook;
281
321
  back?: RedesignBack;
282
322
  requestedBy: string;
283
323
  startedAt: Date | string;
@@ -289,9 +329,13 @@ export interface RedesignBackPreview {
289
329
  open: boolean;
290
330
  until: string | null;
291
331
  restores: string[];
292
- /** Pages edited since the switch: Back leaves them unless the owner names them. */
293
- editedSince: Array<{ pageId: string; name: string }>;
332
+ /** Pages edited since the switch: Back leaves them unless the owner names them. `editedAt` = the page's last edit
333
+ * (ISO; null when the page does not say) — "Your changes from 23 Nov are lost". */
334
+ editedSince: Array<{ pageId: string; name: string; editedAt: string | null }>;
294
335
  revertsLook: boolean;
336
+ /** Look tokens the author edited since the switch that Back would keep (DS8.1) — said BEFORE Back, named. Empty when
337
+ * the look does not go back. */
338
+ keptTokens: string[];
295
339
  }
296
340
 
297
341
  /** `GET …/redesign/:id/switch` — what a Switch would do NOW, before the owner clicks it (RD3): each staged page's result as
@@ -320,6 +364,29 @@ export enum RedesignRefusalCode {
320
364
  NotRedesignable = 'not-redesignable',
321
365
  }
322
366
 
367
+ /** Why "Redesign this page" cannot start, said before any call (RD3 R-H6): the page keeps its layout (`not-redesignable`
368
+ * — a legal page, a hand-made page with no reading, a page with no source), nothing of the studio was built
369
+ * (`nothing-built`), or the AI refuses the layout request (credits, plan, key — the shared `AiRefusal`, board 11). */
370
+ export type RedesignPageRefusal =
371
+ | { code: RedesignRefusalCode.NotRedesignable; message: string; reason: StagedPageReason }
372
+ | { code: RedesignRefusalCode.NothingBuilt; message: string }
373
+ | AiRefusal;
374
+
375
+ /** `GET …/site-builds/redesign/pages/:pageId/preflight` — what "Redesign this page" says before it sends (RD3, board P1
376
+ * and P5): whether it may start, and what ONE layout request costs on the model it would run on. Writes nothing. */
377
+ export interface RedesignPagePreflight {
378
+ pageId: string;
379
+ refusal: RedesignPageRefusal | null;
380
+ /** The page is laid out by the model (false: it is re-fitted to the look — patterns, or no reading — and costs nothing). */
381
+ asksModel: boolean;
382
+ /** Why it is re-fitted instead (absent when the model lays it out). */
383
+ reason?: StagedPageReason;
384
+ /** About what the layout request costs, in credits (0 when no model is asked; null when the studio's plan is unknown). */
385
+ estimate: number | null;
386
+ /** The model it would run on (Auto resolved), or null. */
387
+ model: string | null;
388
+ }
389
+
323
390
  /** The day Back closes, or null (not switched). */
324
391
  export function redesignBackUntil(run: Pick<RedesignRun, 'switch'>): Date | null {
325
392
  const at = run.switch?.finishedAt ?? run.switch?.at;
@@ -182,6 +182,12 @@ export enum BuildNoticeCode {
182
182
  /** AW8: the opening the plan asked for was mended (an award word on a basic build, a part the site cannot carry) —
183
183
  * said, so the owner knows the home page opens a little differently and where to change it. */
184
184
  OpeningMended = 'opening-mended',
185
+ /** LI5: the footer the plan asked for was mended (a word that waits drawn as its stand-in, a one-line footer that
186
+ * holds only some parts) — said like the header's and the opening's. */
187
+ FooterMended = 'footer-mended',
188
+ /** AW6: the body the plan asked for was mended (a section edge that comes with the award plan, on a basic build) —
189
+ * said like the header's, the opening's and the footer's. */
190
+ BodyMended = 'body-mended',
185
191
  }
186
192
 
187
193
  /** RD3-D3 (a): what a build does with a page an earlier Undo kept at an address its plan builds — the header and footer's
@@ -189,7 +195,8 @@ export enum BuildNoticeCode {
189
195
  export enum KeptPagesChoice {
190
196
  /** Build every other page; leave these as they are. */
191
197
  Keep = 'keep',
192
- /** Move each aside as a draft at `/<route>-previous` and build the plan's page at its address. Nothing is deleted. */
198
+ /** Move each aside as a draft at `/<route>-previous` (`/shop-previous/:slug` for a per-item page) and build the plan's
199
+ * page at its address. Nothing is deleted. */
193
200
  Replace = 'replace',
194
201
  }
195
202
 
@@ -197,22 +204,37 @@ export enum KeptPagesChoice {
197
204
  export const PREVIOUS_ROUTE_SUFFIX = '-previous';
198
205
 
199
206
  /** Where a page moved aside goes: `/<route>-previous`, then `-previous-2`… — never an address in `taken` (shapes
200
- * compared case-insensitively, trailing slash ignored). The home page (`/`) goes to `/home-previous`. */
207
+ * compared case-insensitively, trailing slash and parameter names ignored). The home page (`/`) goes to `/home-previous`.
208
+ *
209
+ * ⚠️ The suffix goes on the route's LAST STATIC segment, never on a `:param` (vectoriox/iox-ui#100): `/shop/:slug` moved
210
+ * to `/shop/:slug-previous` still answered every `/shop/<item>` — a parameter matches the whole segment — and, older
211
+ * and published by Publish site, the replaced product page was served instead of the new one. So `/shop/:slug` →
212
+ * `/shop-previous/:slug`, and a route of parameters only (`/:slug`) → `/previous/:slug`. */
201
213
  export function previousRoute(route: string, taken: ReadonlyArray<string>): string {
202
- const key = (r: string) => (r.replace(/\/+$/, '') || '/').toLowerCase();
214
+ const key = (r: string) => (r.replace(/\/+$/, '') || '/').replace(/\/:[^/]+/g, '/:').toLowerCase();
203
215
  const held = new Set(taken.map(key));
204
- const base = `${route.replace(/\/+$/, '') || '/home'}${PREVIOUS_ROUTE_SUFFIX}`.replace(/^\/\//, '/');
205
- let candidate = base;
206
- for (let n = 2; held.has(key(candidate)); n++) candidate = `${base}-${n}`;
216
+ const segments = (route.replace(/\/+$/, '') || '/home').split('/').filter(Boolean);
217
+ if (!segments.length) segments.push('home');
218
+ const at = segments.map((seg, i) => (seg.startsWith(':') ? -1 : i)).filter(i => i >= 0).pop();
219
+ const shaped = (suffix: string) => {
220
+ const out = [...segments];
221
+ if (at === undefined) out.unshift(`previous${suffix}`);
222
+ else out[at] = `${out[at]}${PREVIOUS_ROUTE_SUFFIX}${suffix}`;
223
+ return `/${out.join('/')}`;
224
+ };
225
+ let candidate = shaped('');
226
+ for (let n = 2; held.has(key(candidate)); n++) candidate = shaped(`-${n}`);
207
227
  return candidate;
208
228
  }
209
229
 
210
- /** The compose issues the run SAYS, each kind once (the wizard tracks a notice by its code): the words of every mend of
230
+ /** The compose issues the run SAYS (header, opening, footer), each kind once (the wizard tracks a notice by its code): the words of every mend of
211
231
  * that kind joined, for the log and the API; the screen shows the code's own sentence. An opening that only found no
212
232
  * place for a word it carried is not a mend of the mix, so it is not said. */
213
233
  const MEND_NOTICES: ReadonlyArray<readonly [ComposeIssueCode, BuildNoticeCode]> = [
214
234
  [ComposeIssueCode.HeaderMended, BuildNoticeCode.HeaderMended],
215
235
  [ComposeIssueCode.OpeningMended, BuildNoticeCode.OpeningMended],
236
+ [ComposeIssueCode.FooterMended, BuildNoticeCode.FooterMended],
237
+ [ComposeIssueCode.BodyMended, BuildNoticeCode.BodyMended],
216
238
  ];
217
239
  const CARRY_ONLY = /^the opening found no place for /;
218
240
 
@@ -347,6 +347,8 @@ export interface PlanMixes {
347
347
  readonly header?: ReadonlyArray<string>;
348
348
  readonly footer?: ReadonlyArray<string>;
349
349
  readonly opening?: ReadonlyArray<string>;
350
+ /** AW6 (body-mix.ts): how sections meet, how their grounds follow one another, the texture and extra kinds of section. */
351
+ readonly body?: ReadonlyArray<string>;
350
352
  }
351
353
 
352
354
  /** M8 gate 2: the idea a site's composed pages serve — the usual site for the business, and what this one does instead. */
@@ -17,12 +17,13 @@ export const SPEC_SITE_PLAN_SHAPE = {
17
17
  "film?": "film — the owner's film as pictures (SC6b), set by the build and placed by placeFilm; never a model's",
18
18
  "artDirection?": "artDirection — what every picture made for the site shares (M7): set by the generation from the business type and the look (generation-core artDirectionFor); never a model's",
19
19
  "direction?": "direction — what the site is built around (M8 gate 2): written with the pages, shown on the Plan step; every composed page serves it",
20
- "mixes?": "mixes — the header, the footer and the home page's opening as mixes of ingredients (ingredients.md); a header or footer mix wins over its globals pattern"
20
+ "mixes?": "mixes — the header, the footer, the home page's opening and the body as mixes of ingredients (ingredients.md); a header or footer mix wins over its globals pattern"
21
21
  },
22
22
  "mixes": {
23
23
  "header?": "string[] — the header as <ingredient>:<word> words (site.layout.header; header ingredients HI1)",
24
24
  "footer?": "string[] — the footer as <ingredient>:<word> words (site.layout.footer; list ingredients LI5)",
25
- "opening?": "string[] — the home page's opening (its first screen) as <ingredient>:<word> words (site.layout.opening; award ingredients AW8): it takes the place of the home page's first section when that is a hero, the hero's words and pictures carried in; absent or empty = the home page opens with its sections as written"
25
+ "opening?": "string[] — the home page's opening (its first screen) as <ingredient>:<word> words (site.layout.opening; award ingredients AW8): it takes the place of the home page's first section when that is a hero, the hero's words and pictures carried in; absent or empty = the home page opens with its sections as written",
26
+ "body?": "string[] — the site's body as <ingredient>:<word> words (site.layout.body; award ingredients AW6): how sections meet (seam), how their grounds follow one another (rhythm), the texture and the extra kinds of section; absent or empty = straight seams, each section's ground its own"
26
27
  },
27
28
  "direction": {
28
29
  "idea": "string — one sentence: what this site is about and how it should feel",
@@ -76,7 +77,8 @@ export const SPEC_SITE_PLAN_SHAPE = {
76
77
  "between?": "string — axes.betweens: what plays between pages",
77
78
  "feel?": "string — motionLanguage.arrive: the curve things arrive on, the leave follows it (AW3, MB-D5; absent = motionLanguage.defaults.arrive)",
78
79
  "headings?": "string — motionLanguage.move: how headings arrive (AW3; absent = each How animated level's own heading)",
79
- "preloader?": "string — motionLanguage.preloader: what opens a visitor's first page (AW5; absent = none; the exit is the style's, never stored)"
80
+ "preloader?": "string — motionLanguage.preloader: what opens a visitor's first page (AW5; absent = none; the exit is the style's, never stored)",
81
+ "scrub?": "string — motionLanguage.scrub: what follows the scroll — never · words · entrances (AW10; absent = never; Lively and up, Pro)"
80
82
  },
81
83
  "contentType": {
82
84
  "name": "string — unique",
@@ -6643,7 +6645,8 @@ export const SPEC_SITE_LAYOUT = {
6643
6645
  "clipReveal",
6644
6646
  "maskRise",
6645
6647
  "blurIn",
6646
- "pop"
6648
+ "pop",
6649
+ "letters"
6647
6650
  ],
6648
6651
  "sides": [
6649
6652
  "bottom",
@@ -6755,7 +6758,8 @@ export const SPEC_SITE_LAYOUT = {
6755
6758
  "loop",
6756
6759
  "drift",
6757
6760
  "scroll",
6758
- "autoplay"
6761
+ "autoplay",
6762
+ "scrub"
6759
6763
  ],
6760
6764
  "dials": [
6761
6765
  "distinct",
@@ -7876,6 +7880,10 @@ export const SPEC_SITE_LAYOUT = {
7876
7880
  "none",
7877
7881
  "icons",
7878
7882
  "search"
7883
+ ],
7884
+ "ink": [
7885
+ "opening",
7886
+ "follows"
7879
7887
  ]
7880
7888
  },
7881
7889
  "meanings": {
@@ -7939,7 +7947,9 @@ export const SPEC_SITE_LAYOUT = {
7939
7947
  "above.marquee": "a moving band of the owner's words above the bar",
7940
7948
  "inBar.none": "nothing more in the bar",
7941
7949
  "inBar.icons": "small icons (sound, theme, chat) in the bar",
7942
- "inBar.search": "a search field in the bar"
7950
+ "inBar.search": "a search field in the bar",
7951
+ "ink.opening": "the header's ink follows the page's opening ground",
7952
+ "ink.follows": "the header's ink follows the ground of every section that passes under it"
7943
7953
  },
7944
7954
  "meaningsHe": {
7945
7955
  "arrange.split": "השם בתחילת הפס, הדפים בסופו",
@@ -8002,7 +8012,9 @@ export const SPEC_SITE_LAYOUT = {
8002
8012
  "above.marquee": "פס נע של מילים מעל הפס",
8003
8013
  "inBar.none": "שום דבר נוסף בפס",
8004
8014
  "inBar.icons": "אייקונים קטנים (צליל, ערכת צבע, צ׳אט) בפס",
8005
- "inBar.search": "שדה חיפוש בפס"
8015
+ "inBar.search": "שדה חיפוש בפס",
8016
+ "ink.opening": "צבע הכותרת העליונה הולך אחרי הרקע של פתיחת הדף",
8017
+ "ink.follows": "צבע הכותרת העליונה הולך אחרי הרקע של כל אזור שעובר מתחתיה"
8006
8018
  },
8007
8019
  "waits": {
8008
8020
  "menuShows.pictures": {
@@ -8083,7 +8095,8 @@ export const SPEC_SITE_LAYOUT = {
8083
8095
  "button": "lines",
8084
8096
  "menuHover": "line",
8085
8097
  "above": "none",
8086
- "inBar": "none"
8098
+ "inBar": "none",
8099
+ "ink": "opening"
8087
8100
  },
8088
8101
  "named": {
8089
8102
  "nav.inline-cta": {},
@@ -8733,10 +8746,6 @@ export const SPEC_SITE_LAYOUT = {
8733
8746
  "phase": "AW7",
8734
8747
  "drawnAs": "photo"
8735
8748
  },
8736
- "motion.copy-out": {
8737
- "phase": "AW10",
8738
- "drawnAs": null
8739
- },
8740
8749
  "motion.pinned-covered": {
8741
8750
  "phase": "AW9",
8742
8751
  "drawnAs": null
@@ -9110,23 +9119,92 @@ export const SPEC_SITE_LAYOUT = {
9110
9119
  "sections.timeline": "steps by time (weeks, the hours of a day)",
9111
9120
  "sections.hotspots": "points on a picture that open item cards"
9112
9121
  },
9113
- "waits": {
9114
- "seam.wave": {
9115
- "phase": "AW6",
9116
- "drawnAs": "straight"
9122
+ "meaningsHe": {
9123
+ "seam.straight": "קו ישר בין שני רקעים",
9124
+ "seam.wave": "גבעה רכה בין שני רקעים",
9125
+ "seam.drip": "קצה בצורת טיפות נוטפות",
9126
+ "seam.torn": "קצה קרוע ומשונן",
9127
+ "seam.rounded": "אזור עם פינות תחתונות מעוגלות שמונח מעל הבא",
9128
+ "rhythm.free": "הרקע של כל אזור כפי שערכת הצבע שלו בוחרת",
9129
+ "rhythm.alternate": "הרקעים מתחלפים כהה ובהיר, אזור אחרי אזור",
9130
+ "rhythm.loud-quiet": "אזור עם תמונה, ואחריו אזור מילים צר וממורכז, שוב ושוב",
9131
+ "rhythm.chapters": "הרקע מתחלף רק במקום שבו פרק מתחיל",
9132
+ "rhythm.tail": "האזורים האחרונים חולקים את הרקע של הכותרת התחתונה, כך שהסוף נקרא כגוש אחד",
9133
+ "texture.none": "בלי מרקם",
9134
+ "texture.pattern": "דוגמה מצבעי העיצוב: נקודות, רשת, קווקוו, קווי גובה או סמל חוזר",
9135
+ "texture.light": "תמונות צל רכות (תריסים, עלים) מעל רקע של נייר",
9136
+ "texture.material": "חומר שמצויר ב-CSS (צלעות מעל זוהר נע, קרן איטית)",
9137
+ "texture.grain": "גרעיניות של נייר על רקע",
9138
+ "texture.lanes": "קווי השיער של עמודת התוכן וסימני הצלב לאורך כל הדף",
9139
+ "sections.inset-card": "אזור ככרטיס מעוגל על רקע הדף",
9140
+ "sections.sticky-title": "הכותרת של אזור נשארת בזמן שהכרטיסים שלו עוברים",
9141
+ "sections.tabs-nav": "פס לשוניות קבוע בדף, שהקו שלו הולך אחרי האזור שבתצוגה",
9142
+ "sections.promises": "פס של שלוש או ארבע הבטחות קצרות (משלוח, החזרות, אחריות) — העובדות של בעל העסק",
9143
+ "sections.table": "שורות מפתח : ערך (מפרט, השוואה)",
9144
+ "sections.timeline": "שלבים לפי זמן (שבועות, שעות היום)",
9145
+ "sections.hotspots": "נקודות על תמונה שפותחות כרטיסי פריטים"
9146
+ },
9147
+ "seams": {
9148
+ "straight": {
9149
+ "depth": [
9150
+ 0,
9151
+ 0
9152
+ ],
9153
+ "mirrors": false
9117
9154
  },
9118
- "seam.drip": {
9119
- "phase": "AW6",
9120
- "drawnAs": "straight"
9155
+ "wave": {
9156
+ "depth": [
9157
+ 48,
9158
+ 24
9159
+ ],
9160
+ "mirrors": false
9121
9161
  },
9122
- "seam.torn": {
9123
- "phase": "AW6",
9124
- "drawnAs": "straight"
9162
+ "drip": {
9163
+ "depth": [
9164
+ 64,
9165
+ 32
9166
+ ],
9167
+ "mirrors": true
9125
9168
  },
9126
- "seam.rounded": {
9127
- "phase": "AW6",
9128
- "drawnAs": "straight"
9169
+ "torn": {
9170
+ "depth": [
9171
+ 20,
9172
+ 14
9173
+ ],
9174
+ "mirrors": true
9175
+ },
9176
+ "rounded": {
9177
+ "depth": [
9178
+ 0,
9179
+ 0
9180
+ ],
9181
+ "radius": [
9182
+ 48,
9183
+ 28
9184
+ ],
9185
+ "mirrors": false
9186
+ }
9187
+ },
9188
+ "rhythms": {
9189
+ "free": {},
9190
+ "alternate": {
9191
+ "neighbours": "differ"
9192
+ },
9193
+ "loud-quiet": {
9194
+ "pairs": 2,
9195
+ "quietCols": 8
9196
+ },
9197
+ "chapters": {
9198
+ "changesAt": [
9199
+ "inhale",
9200
+ "signature"
9201
+ ]
9129
9202
  },
9203
+ "tail": {
9204
+ "last": 2
9205
+ }
9206
+ },
9207
+ "waits": {
9130
9208
  "rhythm.alternate": {
9131
9209
  "phase": "AW6",
9132
9210
  "drawnAs": "free"
@@ -9163,10 +9241,6 @@ export const SPEC_SITE_LAYOUT = {
9163
9241
  "phase": "AW7",
9164
9242
  "drawnAs": "none"
9165
9243
  },
9166
- "sections.inset-card": {
9167
- "phase": "AW6",
9168
- "drawnAs": null
9169
- },
9170
9244
  "sections.sticky-title": {
9171
9245
  "phase": "AW9",
9172
9246
  "drawnAs": null
@@ -9206,7 +9280,8 @@ export const SPEC_SITE_LAYOUT = {
9206
9280
  "rules": {
9207
9281
  "seamAudited": true,
9208
9282
  "texturesClearUnderReducedTransparency": true,
9209
- "seamPaintsOnly": true
9283
+ "seamPaintsOnly": true,
9284
+ "seamKeepsClear": true
9210
9285
  },
9211
9286
  "tiers": {
9212
9287
  "seam.straight": "all",
@@ -9215,6 +9290,7 @@ export const SPEC_SITE_LAYOUT = {
9215
9290
  "rules.seamAudited": "all",
9216
9291
  "rules.texturesClearUnderReducedTransparency": "all",
9217
9292
  "rules.seamPaintsOnly": "all",
9293
+ "rules.seamKeepsClear": "all",
9218
9294
  "seam.wave": "pro",
9219
9295
  "seam.drip": "pro",
9220
9296
  "seam.torn": "pro",
@@ -9951,7 +10027,7 @@ export const SPEC_SITE_LAYOUT = {
9951
10027
  "drawnAs": "two"
9952
10028
  },
9953
10029
  "inline.media": {
9954
- "phase": "AW10",
10030
+ "phase": "AW13",
9955
10031
  "drawnAs": "none"
9956
10032
  },
9957
10033
  "gradient.accent": {
@@ -10204,42 +10280,6 @@ export const SPEC_SITE_LAYOUT = {
10204
10280
  "micro.odometer": "a price's digits roll when the period changes"
10205
10281
  },
10206
10282
  "waits": {
10207
- "preloader.mark": {
10208
- "phase": "AW5",
10209
- "drawnAs": "none"
10210
- },
10211
- "preloader.counter": {
10212
- "phase": "AW5",
10213
- "drawnAs": "none"
10214
- },
10215
- "preloader.letters": {
10216
- "phase": "AW5",
10217
- "drawnAs": "none"
10218
- },
10219
- "preloaderExit.fade": {
10220
- "phase": "AW5",
10221
- "drawnAs": "none"
10222
- },
10223
- "preloaderExit.sweep": {
10224
- "phase": "AW5",
10225
- "drawnAs": "none"
10226
- },
10227
- "preloaderExit.window": {
10228
- "phase": "AW5",
10229
- "drawnAs": "none"
10230
- },
10231
- "preloaderExit.lift": {
10232
- "phase": "AW5",
10233
- "drawnAs": "none"
10234
- },
10235
- "scrub.words": {
10236
- "phase": "AW10",
10237
- "drawnAs": "never"
10238
- },
10239
- "scrub.entrances": {
10240
- "phase": "AW10",
10241
- "drawnAs": "never"
10242
- },
10243
10283
  "loops.drift": {
10244
10284
  "phase": "AW8",
10245
10285
  "drawnAs": "none"
@@ -10328,6 +10368,10 @@ export const SPEC_SITE_LAYOUT = {
10328
10368
  "lively",
10329
10369
  "expressive"
10330
10370
  ],
10371
+ "scrubLevels": [
10372
+ "lively",
10373
+ "expressive"
10374
+ ],
10331
10375
  "leaveFor": {
10332
10376
  "enter": "exit",
10333
10377
  "expo-out": "expo-out",
@@ -10347,7 +10391,8 @@ export const SPEC_SITE_LAYOUT = {
10347
10391
  "arrive": "enter",
10348
10392
  "move": "fade",
10349
10393
  "cover": "fade",
10350
- "preloader": "none"
10394
+ "preloader": "none",
10395
+ "scrub": "never"
10351
10396
  },
10352
10397
  "coverMaxMs": {
10353
10398
  "cover": 400,
@@ -10390,6 +10435,7 @@ export const SPEC_SITE_LAYOUT = {
10390
10435
  "rules.preloaderCapMs": "all",
10391
10436
  "rules.preloaderLevels": "all",
10392
10437
  "rules.popLevels": "all",
10438
+ "rules.scrubLevels": "all",
10393
10439
  "rules.leaveFor": "all",
10394
10440
  "rules.quietLevels": "all",
10395
10441
  "rules.quiet": "all",
@@ -10952,15 +10998,17 @@ export const SPEC_SITE_LAYOUT = {
10952
10998
  "revealBy": {
10953
10999
  "built": [
10954
11000
  "line",
10955
- "word"
11001
+ "word",
11002
+ "letter"
10956
11003
  ],
10957
- "where": "scene-core TextRevealBy"
11004
+ "where": "scene-core TextRevealBy (letter since AW10)"
10958
11005
  },
10959
11006
  "enterMode": {
10960
11007
  "built": [
10961
- "once"
11008
+ "once",
11009
+ "scrubbed"
10962
11010
  ],
10963
- "where": "every entrance plays once (viewportEnter, once)"
11011
+ "where": "an entrance plays once (viewportEnter, once), or by the scroll (AW10: scrollProgress, until 0.5)"
10964
11012
  },
10965
11013
  "phoneWalk": {
10966
11014
  "built": [],
@@ -10998,20 +11046,6 @@ export const SPEC_SITE_LAYOUT = {
10998
11046
  "tier": "pro",
10999
11047
  "meaning": "a word sits on the bottom edge, cropped by it"
11000
11048
  },
11001
- {
11002
- "key": "revealBy.letter",
11003
- "phase": "AW10",
11004
- "drawnAs": "word",
11005
- "tier": "pro",
11006
- "meaning": "words assemble or light letter by letter (split in the browser only, put back after)"
11007
- },
11008
- {
11009
- "key": "enterMode.scrubbed",
11010
- "phase": "AW10",
11011
- "drawnAs": "once",
11012
- "tier": "pro",
11013
- "meaning": "an entrance follows the scroll instead of playing once"
11014
- },
11015
11049
  {
11016
11050
  "key": "phoneWalk.zigzag",
11017
11051
  "phase": "AW9",