@vectoriox/iox-ui 5.88.0 → 5.90.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/design-core/index.d.ts +523 -2
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs +3 -2
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +581 -1
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +4692 -160
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs +12 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-scene-core.mjs +46 -6
- package/fesm2022/vectoriox-iox-ui-scene-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +6 -4
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/generation-core/index.d.ts +1611 -10
- package/harness-core/index.d.ts +52 -3
- package/package.json +1 -1
- package/scene-core/index.d.ts +28 -2
- package/src/composite-core/slider.ts +3 -2
- package/src/design-core/flavor-spec.generated.ts +500 -0
- package/src/design-core/font-metrics.ts +105 -0
- package/src/design-core/public-api.ts +1 -0
- package/src/generation-core/ai-run.ts +11 -0
- package/src/generation-core/audit-site.ts +5 -0
- package/src/generation-core/check-layout.ts +940 -0
- package/src/generation-core/compose-layout.ts +907 -0
- package/src/generation-core/compose-site.ts +136 -5
- package/src/generation-core/layout-drift.ts +78 -0
- package/src/generation-core/layout-edits.ts +122 -0
- package/src/generation-core/layout-fingerprint.ts +203 -0
- package/src/generation-core/layout-language.ts +537 -0
- package/src/generation-core/layout-look.ts +57 -0
- package/src/generation-core/layout-photos.ts +19 -0
- package/src/generation-core/layout-render-check.ts +275 -0
- package/src/generation-core/layout-section-fallback.ts +156 -0
- package/src/generation-core/layout-type.ts +48 -0
- package/src/generation-core/layout-wire.ts +282 -0
- package/src/generation-core/nav-shape.ts +23 -1
- package/src/generation-core/photo-inventory.ts +250 -0
- package/src/generation-core/plan-edits.ts +25 -2
- package/src/generation-core/plan-wire.ts +19 -2
- package/src/generation-core/public-api.ts +13 -0
- package/src/generation-core/site-plan.model.ts +16 -0
- package/src/generation-core/site-spec.generated.ts +759 -2
- package/src/generation-core/validate-site-plan.ts +55 -1
- package/src/harness-core/generation-view.ts +52 -1
- package/src/scene-core/scroll-driver.ts +14 -2
- package/src/scene-core/scroll-range.ts +37 -4
- package/styles/iox-design.css +17 -0
- package/styles/iox-forms.css +4 -0
package/harness-core/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MotionId, MoodId, TintId, DensityId, DesignMotion, DesignChoices, DesignMode, StylePreset, ShapeId, AnimateId } from '@vectoriox/iox-ui/design-core';
|
|
2
|
-
import { FactKey, PictureWorld, PathIssue, PlainObject, JsonSchema, SiteTemplate, ShapeEntry, AiGenerationStage, AiStep, SitePlan, PlanEdit, PlanChange, PictureRefusal, AiRefusalCode, SiteAudit } from '@vectoriox/iox-ui/generation-core';
|
|
2
|
+
import { FactKey, PictureWorld, PathIssue, PlainObject, JsonSchema, SiteTemplate, ShapeEntry, AiGenerationStage, AiStep, SitePlan, PlanEdit, PlanChange, PictureRefusal, AiRefusalCode, LayoutIssue, LayoutFingerprint, LayoutPhotoAddress, MeasuredLayout, SiteAudit } from '@vectoriox/iox-ui/generation-core';
|
|
3
3
|
export { JsonSchema } from '@vectoriox/iox-ui/generation-core';
|
|
4
4
|
import { FrameSequence } from '@vectoriox/iox-ui/media-core';
|
|
5
5
|
|
|
@@ -3011,6 +3011,39 @@ interface GenerationPicturesView {
|
|
|
3011
3011
|
/** Credits the pictures have cost so far (the ledger). */
|
|
3012
3012
|
spent?: number;
|
|
3013
3013
|
}
|
|
3014
|
+
/** Where a composed page is (M8 gate 2): the Plan step's planning row and its card read it. */
|
|
3015
|
+
declare enum ComposedPageState {
|
|
3016
|
+
/** Its layout is being asked (or asked again: a repair, Try another layout, a sentence). */
|
|
3017
|
+
Composing = "composing",
|
|
3018
|
+
/** Its layout passed the static gate; the owner's browser measures it at laptop and phone width. */
|
|
3019
|
+
Checking = "checking",
|
|
3020
|
+
Ready = "ready",
|
|
3021
|
+
/** Its layout did not pass after the one repair: the page is built from its sections (the card says so). */
|
|
3022
|
+
Patterns = "patterns"
|
|
3023
|
+
}
|
|
3024
|
+
/** One composed page of the plan — the layout itself is `plan.pages[k].layout`. */
|
|
3025
|
+
interface ComposedPageView {
|
|
3026
|
+
page: string;
|
|
3027
|
+
state: `${ComposedPageState}`;
|
|
3028
|
+
/** Raised each time the page's layout changes (a repair, Try another layout, a sentence): the render check names it. */
|
|
3029
|
+
version: number;
|
|
3030
|
+
/** The card's checks line: the static gate, the laptop-and-phone check, unlike the studio's other sites. */
|
|
3031
|
+
checks: {
|
|
3032
|
+
layout: boolean;
|
|
3033
|
+
render: boolean;
|
|
3034
|
+
unlike: boolean;
|
|
3035
|
+
};
|
|
3036
|
+
/** How many times the page was asked (1 = the first; Try another layout and a sentence each add one). A Home that fell
|
|
3037
|
+
* back to sections is offered Try another layout while this is 1 — once (M8 gate 2 follow-up D3). */
|
|
3038
|
+
round: number;
|
|
3039
|
+
/** Repairs asked in this round: at most ONE, static or render (D2). */
|
|
3040
|
+
repairs: number;
|
|
3041
|
+
/** What made it fall back to sections, or what the last check found. */
|
|
3042
|
+
issues?: LayoutIssue[];
|
|
3043
|
+
fingerprint?: LayoutFingerprint;
|
|
3044
|
+
/** The owner's sentence it was asked again with (Try another layout has none). */
|
|
3045
|
+
ask?: string;
|
|
3046
|
+
}
|
|
3014
3047
|
interface AiGenerationView {
|
|
3015
3048
|
_id: string;
|
|
3016
3049
|
organization: string;
|
|
@@ -3071,6 +3104,22 @@ interface AiGenerationView {
|
|
|
3071
3104
|
};
|
|
3072
3105
|
/** M7: the pictures that may be made (on the Plan step) or are being made. Absent: no plan yet. */
|
|
3073
3106
|
pictures?: GenerationPicturesView;
|
|
3107
|
+
/** M8 gate 2: the plan's composed pages, in plan order. Absent: no plan yet, or none composed. */
|
|
3108
|
+
composed?: ComposedPageView[];
|
|
3109
|
+
/** M8 gate 2: what one more layout of a page costs (Try another layout), in credits — the server's figure. */
|
|
3110
|
+
composeCredits?: number;
|
|
3111
|
+
/** M8 gate 2: every photo id the layouts may name (`own:<n>`, `stock:<key>`), where it is kept and what it shows —
|
|
3112
|
+
* what the Plan map and the in-browser render check draw them with. A `box:` id is never here. */
|
|
3113
|
+
layoutPhotos?: Record<string, LayoutPhotoView>;
|
|
3114
|
+
}
|
|
3115
|
+
/** Where a layout's photo is kept, what it shows and its shape — what generation-core `composeContextOf` reads. */
|
|
3116
|
+
type LayoutPhotoView = LayoutPhotoAddress;
|
|
3117
|
+
/** `POST …/ai/generations/:id/layout-check`: one composed page as the owner's browser laid it out (M8-G2-D8). */
|
|
3118
|
+
interface LayoutCheckRequest {
|
|
3119
|
+
page: string;
|
|
3120
|
+
/** The page's `version` it was measured on — a check of an older layout is dropped. */
|
|
3121
|
+
version: number;
|
|
3122
|
+
measured: MeasuredLayout[];
|
|
3074
3123
|
}
|
|
3075
3124
|
/** `POST …/ai/generations/:id/build` (and `/auto`). */
|
|
3076
3125
|
interface GenerationBuildRequest {
|
|
@@ -3130,5 +3179,5 @@ type SiteAuditView = SiteAudit & {
|
|
|
3130
3179
|
advice: LintFinding[];
|
|
3131
3180
|
};
|
|
3132
3181
|
|
|
3133
|
-
export { ANIMATE_ADVICE_STEPS, AnalysisIssueCode, AnalysisLocale, AvoidCheck, BUSINESS_TYPES, BUSINESS_TYPE_IDS, BookingNeed, COPY_LENGTH_ORDER, CopyLength, GENERATION_LIMITS, HARNESS_SOURCE, LITTLE_MOVEMENT_AVOID, LITTLE_MOVEMENT_CAP, LintKind, MAX_ANALYSIS_MOODS, MAX_PIXEL_SAMPLES, MAX_READ_PICTURES, NEEDS, NEED_IDS, NeedSource, PALETTE_SIZE, PALETTE_THRESHOLDS, PictureRole, PicturesUnavailable, PlanChangeOutcome, PresetFit, RANK_WEIGHTS, READING_SHAPE, READ_ANIMATE, READ_WEIGHTS, RankReason, ReaderState, ReadingIssueCode, SITE_ANALYSIS_SCHEMA_NAME, SITE_READING_SCHEMA_NAME, SPEC_ANALYSIS_SHAPE, SPEC_BUSINESS_TYPES, SPEC_HARNESS_EXAMPLES, SPEC_HARNESS_SOURCE, SPEC_NEEDS, SPEC_STRUCTURES, SPEC_USER_AVOIDS, STRUCTURES, SiteReadRefusal, StyleReadGround, StyleReadHeadings, StyleReadMotion, StyleReadSourceKind, USER_AVOID_IDS, VoiceFormality, VoicePerson, addressesIn, analysisFromWire, analysisPromptContext, analysisToWire, bestRankedPreset, businessTypeById, calmerChoice, decodeSiteReading, inferNeeds, isLookRule, lintDesign, lookMatches, mapStyleRead, matchBusinessType, matchBusinessTypes, measurePalette, mergeStyleReads, motionAdvice, motionFor, normalizeAddress, oklchHue, paletteBrand, paletteGround, paletteSamples, pictureStyleRead, pixelSamples, presetDesign, presetHasSerifHeadings, presetLook, presetReason, presetsByFlavor, rankStylePresets, rankWithReferences, readPalette, referenceSeed, seedPassesPreset, siteAnalysisJsonSchema, siteReadingJsonSchema, startingDesign, structureFor, userAvoidRule, validateSiteAnalysis, validateSiteReading, withoutAddress };
|
|
3134
|
-
export type { AiGenerationView, AnalysisContext, AnalysisIssue, AnalysisValidation, AvoidRule, BusinessType, BusinessTypeMatch, CheckRule, ColourSample, FactRead, GenerationBuildRequest, GenerationFileView, GenerationPicturesView, GenerationReadersView, GenerationStartRequest, GoodFit, LintFinding, LintSite, LookCondition, LookDesign, LookRule, MeasuredPicture, MotionBasis, MotionInput, MotionStart, NeedDef, NeedId, PaletteColour, PaletteReading, PictureStyle, PlanRevisionView, PresetFlavorGroup, PromptContext, PromptContextOptions, PromptSection, RankInput, RankedPreset, ReadingIssue, ReferenceSeed, SiteAnalysis, SiteAuditView, SiteNeed, SiteReaderView, SiteReading, StartingDesign, StructureChoice, StructureId, StyleHints, StyleRead, UserAvoidId };
|
|
3182
|
+
export { ANIMATE_ADVICE_STEPS, AnalysisIssueCode, AnalysisLocale, AvoidCheck, BUSINESS_TYPES, BUSINESS_TYPE_IDS, BookingNeed, COPY_LENGTH_ORDER, ComposedPageState, CopyLength, GENERATION_LIMITS, HARNESS_SOURCE, LITTLE_MOVEMENT_AVOID, LITTLE_MOVEMENT_CAP, LintKind, MAX_ANALYSIS_MOODS, MAX_PIXEL_SAMPLES, MAX_READ_PICTURES, NEEDS, NEED_IDS, NeedSource, PALETTE_SIZE, PALETTE_THRESHOLDS, PictureRole, PicturesUnavailable, PlanChangeOutcome, PresetFit, RANK_WEIGHTS, READING_SHAPE, READ_ANIMATE, READ_WEIGHTS, RankReason, ReaderState, ReadingIssueCode, SITE_ANALYSIS_SCHEMA_NAME, SITE_READING_SCHEMA_NAME, SPEC_ANALYSIS_SHAPE, SPEC_BUSINESS_TYPES, SPEC_HARNESS_EXAMPLES, SPEC_HARNESS_SOURCE, SPEC_NEEDS, SPEC_STRUCTURES, SPEC_USER_AVOIDS, STRUCTURES, SiteReadRefusal, StyleReadGround, StyleReadHeadings, StyleReadMotion, StyleReadSourceKind, USER_AVOID_IDS, VoiceFormality, VoicePerson, addressesIn, analysisFromWire, analysisPromptContext, analysisToWire, bestRankedPreset, businessTypeById, calmerChoice, decodeSiteReading, inferNeeds, isLookRule, lintDesign, lookMatches, mapStyleRead, matchBusinessType, matchBusinessTypes, measurePalette, mergeStyleReads, motionAdvice, motionFor, normalizeAddress, oklchHue, paletteBrand, paletteGround, paletteSamples, pictureStyleRead, pixelSamples, presetDesign, presetHasSerifHeadings, presetLook, presetReason, presetsByFlavor, rankStylePresets, rankWithReferences, readPalette, referenceSeed, seedPassesPreset, siteAnalysisJsonSchema, siteReadingJsonSchema, startingDesign, structureFor, userAvoidRule, validateSiteAnalysis, validateSiteReading, withoutAddress };
|
|
3183
|
+
export type { AiGenerationView, AnalysisContext, AnalysisIssue, AnalysisValidation, AvoidRule, BusinessType, BusinessTypeMatch, CheckRule, ColourSample, ComposedPageView, FactRead, GenerationBuildRequest, GenerationFileView, GenerationPicturesView, GenerationReadersView, GenerationStartRequest, GoodFit, LayoutCheckRequest, LayoutPhotoView, LintFinding, LintSite, LookCondition, LookDesign, LookRule, MeasuredPicture, MotionBasis, MotionInput, MotionStart, NeedDef, NeedId, PaletteColour, PaletteReading, PictureStyle, PlanRevisionView, PresetFlavorGroup, PromptContext, PromptContextOptions, PromptSection, RankInput, RankedPreset, ReadingIssue, ReferenceSeed, SiteAnalysis, SiteAuditView, SiteNeed, SiteReaderView, SiteReading, StartingDesign, StructureChoice, StructureId, StyleHints, StyleRead, UserAvoidId };
|
package/package.json
CHANGED
package/scene-core/index.d.ts
CHANGED
|
@@ -343,6 +343,14 @@ declare const PARALLAX_DEPTH_DEFAULT = ParallaxDepth.Back;
|
|
|
343
343
|
declare const PARALLAX_SPEED = 0.3;
|
|
344
344
|
/** A phone's layers move half as far: on a narrow stack a glide reaches the next block sooner (round three's phone rule). */
|
|
345
345
|
declare const PARALLAX_PHONE_FACTOR = 0.5;
|
|
346
|
+
/** What a depth does on a phone (its action's `params.phone`). */
|
|
347
|
+
declare enum ParallaxPhone {
|
|
348
|
+
/** Half as far (round three's phone rule; a depth with no `phone` param). */
|
|
349
|
+
Half = "half",
|
|
350
|
+
/** Still: a layer that stacks with its neighbours on a phone never glides into them (round four, CL2 layers). */
|
|
351
|
+
Rest = "rest"
|
|
352
|
+
}
|
|
353
|
+
declare function normalizeParallaxPhone(value: unknown): ParallaxPhone;
|
|
346
354
|
declare function normalizeParallaxDepth(value: unknown): ParallaxDepth;
|
|
347
355
|
/**
|
|
348
356
|
* How far a layer stands off its place at each end of its range, in the box's px: it runs from `-shift` to `+shift`
|
|
@@ -351,10 +359,23 @@ declare function normalizeParallaxDepth(value: unknown): ParallaxDepth;
|
|
|
351
359
|
*/
|
|
352
360
|
declare function parallaxShift(distance: number, viewHeight: number, options?: {
|
|
353
361
|
phone?: boolean;
|
|
362
|
+
onPhone?: ParallaxPhone;
|
|
354
363
|
}): number;
|
|
364
|
+
/** Halfway through its range: where a depth stands in its place when the page opens with it out of sight. */
|
|
365
|
+
declare const PARALLAX_REST_DEFAULT = 0.5;
|
|
366
|
+
/**
|
|
367
|
+
* Where in its range a depth stands exactly in its place (iox-ui#65). A layer the page opens with on screen rests where it
|
|
368
|
+
* stands then — `opening`, its progress at the page's top — so the first screen is drawn as it was laid out and the glide
|
|
369
|
+
* starts with the scroll; one out of sight rests halfway. (Resting halfway, a hero paragraph at 664 of a 900px screen
|
|
370
|
+
* stood 74px low at the top of the page and ran under its buttons.)
|
|
371
|
+
*/
|
|
372
|
+
declare function parallaxRest(opening: number): number;
|
|
373
|
+
/** How far a depth stands off its place at `progress` through its range, in px (down is positive): 0 at `rest`, moving
|
|
374
|
+
* at the same speed as ever — `shift` each way of a half range. */
|
|
375
|
+
declare function parallaxOffset(depth: ParallaxDepth, shift: number, progress: number, rest?: number): number;
|
|
355
376
|
/** The frames of a parallax depth over its range: the individual `translate` property, so the element's own `transform`
|
|
356
377
|
* (a hover lift, an entrance) is never overwritten. */
|
|
357
|
-
declare function parallaxFrames(depth: ParallaxDepth, shift: number): Array<Record<string, string>>;
|
|
378
|
+
declare function parallaxFrames(depth: ParallaxDepth, shift: number, rest?: number): Array<Record<string, string>>;
|
|
358
379
|
/** A bar that fills along the reading direction: the individual `scale` property, from its reading start (iox-design.css). */
|
|
359
380
|
declare const PROGRESS_BAR_FRAMES: ReadonlyArray<Record<string, string>>;
|
|
360
381
|
/** What a scroll-driven action is, for what each visitor gets of it (`scrollPlayFor`). */
|
|
@@ -458,6 +479,9 @@ interface ScrollLinkGeometry {
|
|
|
458
479
|
distance: number;
|
|
459
480
|
/** The height of the part of the page on screen. */
|
|
460
481
|
viewHeight: number;
|
|
482
|
+
/** How far through its range the measured element stood when its page was at its top (0 when it was below the
|
|
483
|
+
* screen): where a depth rests (`parallaxRest`). */
|
|
484
|
+
opening: number;
|
|
461
485
|
}
|
|
462
486
|
/**
|
|
463
487
|
* Where an element's LAYOUT box stands on screen: its offsets up to the nearest box that has no offset parent, placed by
|
|
@@ -528,6 +552,8 @@ declare class ScrollDriver {
|
|
|
528
552
|
/** The part of the page on screen: the host's own, or the window. */
|
|
529
553
|
private viewBox;
|
|
530
554
|
private readLink;
|
|
555
|
+
/** The link's progress with its page scrolled to the top: the page's top on the view's, the element where it stands in it. */
|
|
556
|
+
private openingOf;
|
|
531
557
|
private read;
|
|
532
558
|
private write;
|
|
533
559
|
/**
|
|
@@ -600,5 +626,5 @@ declare function revealStagger(groups: number, by: TextRevealBy): number;
|
|
|
600
626
|
*/
|
|
601
627
|
declare function playTextReveal(el: HTMLElement, by: TextRevealBy, timing: KeyframeAnimationOptions): Animation | null;
|
|
602
628
|
|
|
603
|
-
export { LIGHT_UP_PIECE_CAP, PARALLAX_DEPTH_DEFAULT, PARALLAX_PHONE_FACTOR, PARALLAX_SPEED, PROGRESS_BAR_FRAMES, ParallaxDepth, REVEAL_PIECE_CAP, SCENE_BUDGET, SCENE_DAMPING, SCENE_FILM_SMOOTH, SCENE_FLOW_RULES, SCENE_LENGTH, SCENE_MAX_SCREENS, SCENE_MIN_SCREENS, SCENE_PHONE_LENGTH, SCENE_PHONE_MAX_WIDTH, SCENE_REDUCED_MOTION_CSS, SCENE_REVEAL_DEFAULT, SCENE_STAGE_HEIGHT, SCENE_TRACK_DEFS, SCENE_WAKE_EVENT, SCENE_WORDS, SCENE_WORD_DIM, SCROLL_RANGE_DEFAULT, SLIDER_HOLD_SHARE, SLIDER_SCROLL_STEP_SCREENS, SceneAttribute, SceneProp, SceneRevealFrom, ScrollActionKind, ScrollDriver, ScrollPlay, ScrollRange, TextRevealBy, applySceneFirstFrame, attachSceneRoots, attachScenes, buildSceneRecipe, colourAt, dampToward, gentleFrames, heldProgress, layoutBoxOnScreen, lightMotionWanted, lineIndexes, movedSceneKey, normalizeParallaxDepth, normalizeScrollRange, normalizeTracks, outermostNodeOf, parallaxFrames, parallaxShift, playTextReveal, rangeDistance, rangeEnds, rangeProgress, revealClipPath, revealStagger, sceneBudget, sceneColourKeyAt, sceneDisplayValue, sceneFilmDensity, sceneFirstFrame, sceneFrame, sceneFrameDeclarations, sceneHasKeyAt, sceneHeightForScreens, sceneKeyPosition, sceneLayersOf, sceneNodeAttributes, scenePlayed, sceneRevealFromOf, sceneRootOnPath, sceneRootsIn, sceneScreensOf, sceneScrollState, sceneTrackDef, sceneTrackSpan, sceneWordOpacity, sceneWordsLit, scenesIn, scrollPlayFor, splitText, syncSceneAttributes, textPieces, valueAt, withSceneKey, withScenePlayback, withSceneRevealFrom, withoutSceneKey, withoutScenePlayback };
|
|
629
|
+
export { LIGHT_UP_PIECE_CAP, PARALLAX_DEPTH_DEFAULT, PARALLAX_PHONE_FACTOR, PARALLAX_REST_DEFAULT, PARALLAX_SPEED, PROGRESS_BAR_FRAMES, ParallaxDepth, ParallaxPhone, REVEAL_PIECE_CAP, SCENE_BUDGET, SCENE_DAMPING, SCENE_FILM_SMOOTH, SCENE_FLOW_RULES, SCENE_LENGTH, SCENE_MAX_SCREENS, SCENE_MIN_SCREENS, SCENE_PHONE_LENGTH, SCENE_PHONE_MAX_WIDTH, SCENE_REDUCED_MOTION_CSS, SCENE_REVEAL_DEFAULT, SCENE_STAGE_HEIGHT, SCENE_TRACK_DEFS, SCENE_WAKE_EVENT, SCENE_WORDS, SCENE_WORD_DIM, SCROLL_RANGE_DEFAULT, SLIDER_HOLD_SHARE, SLIDER_SCROLL_STEP_SCREENS, SceneAttribute, SceneProp, SceneRevealFrom, ScrollActionKind, ScrollDriver, ScrollPlay, ScrollRange, TextRevealBy, applySceneFirstFrame, attachSceneRoots, attachScenes, buildSceneRecipe, colourAt, dampToward, gentleFrames, heldProgress, layoutBoxOnScreen, lightMotionWanted, lineIndexes, movedSceneKey, normalizeParallaxDepth, normalizeParallaxPhone, normalizeScrollRange, normalizeTracks, outermostNodeOf, parallaxFrames, parallaxOffset, parallaxRest, parallaxShift, playTextReveal, rangeDistance, rangeEnds, rangeProgress, revealClipPath, revealStagger, sceneBudget, sceneColourKeyAt, sceneDisplayValue, sceneFilmDensity, sceneFirstFrame, sceneFrame, sceneFrameDeclarations, sceneHasKeyAt, sceneHeightForScreens, sceneKeyPosition, sceneLayersOf, sceneNodeAttributes, scenePlayed, sceneRevealFromOf, sceneRootOnPath, sceneRootsIn, sceneScreensOf, sceneScrollState, sceneTrackDef, sceneTrackSpan, sceneWordOpacity, sceneWordsLit, scenesIn, scrollPlayFor, splitText, syncSceneAttributes, textPieces, valueAt, withSceneKey, withScenePlayback, withSceneRevealFrom, withoutSceneKey, withoutScenePlayback };
|
|
604
630
|
export type { SceneBudget, SceneFilmDensity, SceneFrame, SceneFrameOptions, SceneFrameState, SceneKey, SceneLayerNode, SceneNodeSource, SceneTrack, SceneTrackDef, SceneTreeNode, SceneWords, ScrollBox, ScrollDriverOptions, ScrollLink, ScrollLinkGeometry, ScrollMotionEnv, SplitText, SplitTextOptions, TextPiece };
|
|
@@ -185,10 +185,11 @@ const BAR_BASE: Readonly<Record<string, string>> = {
|
|
|
185
185
|
position: 'relative', display: 'flex', flexDirection: 'row', flexWrap: 'nowrap', alignItems: 'center', justifyContent: 'flex-start',
|
|
186
186
|
gap: '12px', width: '100%', height: 'auto', minHeight: '44px', margin: ZERO, padding: `12px ${BAR_INLINE_PAD} 0px ${BAR_INLINE_PAD}`, zIndex: '10',
|
|
187
187
|
};
|
|
188
|
-
/** The caption takes the room the controls leave; its words end in an ellipsis rather than push them off
|
|
188
|
+
/** The caption takes the room the controls leave; its words end in an ellipsis rather than push them off (the shared
|
|
189
|
+
* CSS's, because Text holds no `textOverflow`/`whiteSpace` trait and the builder drops them on save). */
|
|
189
190
|
const CAPTION_BASE: Readonly<Record<string, string>> = {
|
|
190
191
|
flexGrow: '1', flexShrink: '1', flexBasis: '0%', minWidth: '0px', width: 'auto', minHeight: 'auto', margin: ZERO, padding: ZERO,
|
|
191
|
-
overflow: 'hidden',
|
|
192
|
+
overflow: 'hidden',
|
|
192
193
|
};
|
|
193
194
|
const COUNT_BASE: Readonly<Record<string, string>> = { flexGrow: '0', flexShrink: '0', width: 'auto', minHeight: 'auto', margin: ZERO, padding: ZERO };
|
|
194
195
|
/** A round 44px control (board 6 `.st-ctl`), over the slides (z above `.swiper-wrapper`). The PLACE (which edge) is the
|