@vectoriox/iox-ui 5.163.0 → 5.164.1

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.
@@ -468,6 +468,10 @@ declare const SPEC_SITE_PATTERNS: {
468
468
  readonly prop: "clip";
469
469
  readonly from: "bottom";
470
470
  readonly keys: readonly [readonly [0, 38], readonly [0.42, 100]];
471
+ }, {
472
+ readonly prop: "y";
473
+ readonly range: "exit";
474
+ readonly keys: readonly [readonly [0, 0], readonly [1, 30]];
471
475
  }];
472
476
  }, {
473
477
  readonly t: "Container";
@@ -5642,7 +5646,7 @@ declare const SPEC_SITE_LAYOUT: {
5642
5646
  readonly bleeds: readonly ["none", "start", "end", "both"];
5643
5647
  readonly trackProps: readonly ["x", "y", "scale", "opacity", "rotate", "clip", "blur"];
5644
5648
  readonly photoShapes: readonly ["wide", "landscape", "square", "portrait", "tall"];
5645
- readonly sectionKinds: readonly ["content", "inhale", "signature"];
5649
+ readonly sectionKinds: readonly ["content", "inhale", "signature", "drawers"];
5646
5650
  readonly buttonVariants: readonly ["primary", "secondary", "ghost"];
5647
5651
  readonly galleryEffects: readonly ["slide", "fade", "cube", "flip", "coverflow", "cards", "creative"];
5648
5652
  readonly formPresets: readonly ["lead", "contact", "booking", "newsletter"];
@@ -5724,6 +5728,7 @@ declare const SPEC_SITE_LAYOUT: {
5724
5728
  readonly bandColumns: 10;
5725
5729
  readonly composedPages: 2;
5726
5730
  readonly repairs: 1;
5731
+ readonly drawerSteps: readonly [3, 5];
5727
5732
  };
5728
5733
  readonly sameness: {
5729
5734
  readonly sequence: 0.8;
@@ -5738,7 +5743,7 @@ declare const SPEC_SITE_LAYOUT: {
5738
5743
  }, {
5739
5744
  readonly id: "photo-unveiled";
5740
5745
  readonly label: "a photo unveiled";
5741
- readonly how: "a clip track opening a photo from a slit to the full screen";
5746
+ readonly how: "a clip track opening a photo to the full screen — drawn from a framed 60% with the ground around it, sinking as the next band rises (AW9)";
5742
5747
  readonly tier: "all";
5743
5748
  }, {
5744
5749
  readonly id: "zoom-through";
@@ -5770,6 +5775,11 @@ declare const SPEC_SITE_LAYOUT: {
5770
5775
  readonly label: "an object turning";
5771
5776
  readonly how: "rotate + opacity tracks while its words change";
5772
5777
  readonly tier: "all";
5778
+ }, {
5779
+ readonly id: "drawers";
5780
+ readonly label: "drawers";
5781
+ readonly how: "a held section whose 3–5 steps (one heading each, words and buttons only) slide in from the end and stack, each keeping its titled spine, the grounds deepening to the brand";
5782
+ readonly tier: "pro";
5773
5783
  }, {
5774
5784
  readonly id: "held-screen";
5775
5785
  readonly label: "a held screen";
@@ -9204,8 +9214,8 @@ declare const SPEC_SITE_LAYOUT: {
9204
9214
  readonly where: "an entrance plays once (viewportEnter, once), or by the scroll (AW10: scrollProgress, until 0.5)";
9205
9215
  };
9206
9216
  readonly phoneWalk: {
9207
- readonly built: readonly [];
9208
- readonly where: "a sideways walk on a phone plays as on a laptop, degraded by scrollPlayFor";
9217
+ readonly built: readonly ["swipe"];
9218
+ readonly where: "generation-core composeLayout (AW9, RT-D4): on a phone a sideways walk is a row you swipe, one screen of it per card — every tier";
9209
9219
  };
9210
9220
  readonly phoneBar: {
9211
9221
  readonly built: readonly ["pages"];
@@ -9322,6 +9332,16 @@ declare const SPEC_SITE_LAYOUT: {
9322
9332
  readonly meaning: "an out-of-season card with notify me";
9323
9333
  }];
9324
9334
  };
9335
+ readonly drawers: {
9336
+ readonly spine: 4.5;
9337
+ readonly slide: 1;
9338
+ readonly rest: 0.5;
9339
+ readonly ramp: {
9340
+ readonly "3": readonly ["subtle", "muted", "accent"];
9341
+ readonly "4": readonly ["default", "subtle", "muted", "accent"];
9342
+ readonly "5": readonly ["default", "subtle", "muted", "inverse", "accent"];
9343
+ };
9344
+ };
9325
9345
  };
9326
9346
 
9327
9347
  /** What an untouched node of one registered type saves as (`NODE_BASELINES`, generated from the live
@@ -9854,7 +9874,11 @@ declare enum LayoutPhotoShape {
9854
9874
  declare const LAYOUT_PHOTO_ASPECT: Readonly<Record<LayoutPhotoShape, string>>;
9855
9875
  declare enum LayoutSectionKind {
9856
9876
  Content = "content",
9857
- Inhale = "inhale"
9877
+ Inhale = "inhale",
9878
+ /** AW9 (award plan "Reddottours" S4): the drawers signature — a held section whose steps (a heading each, then its words
9879
+ * and buttons) slide in from the inline end and stack, each keeping its titled spine. Award tier only; it is the page's
9880
+ * signature (`signature: true`), its length is its steps' (`drawersOf`). */
9881
+ Drawers = "drawers"
9858
9882
  }
9859
9883
  declare enum LayoutButtonVariant {
9860
9884
  Primary = "primary",
@@ -11023,6 +11047,10 @@ interface PatternTrack {
11023
11047
  readonly prop: string;
11024
11048
  readonly keys: ReadonlyArray<readonly [number, number | string]>;
11025
11049
  readonly from?: string;
11050
+ /** How it runs between keys when not its property's own (`linear` · `smooth`, AW9 RT-D1). */
11051
+ readonly ease?: string;
11052
+ /** What its progress is measured over when not the hold (`exit` · `cross-inline` · `cross-block`, AW9). */
11053
+ readonly range?: string;
11026
11054
  }
11027
11055
  /** The composite-core recipes a pattern may stamp (`recipe`). */
11028
11056
  declare enum PatternRecipe {
@@ -13197,6 +13225,8 @@ declare enum LayoutSignatureId {
13197
13225
  HalvesApart = "halves-apart",
13198
13226
  SidewaysWalk = "sideways-walk",
13199
13227
  ObjectTurning = "object-turning",
13228
+ /** AW9: steps sliding in from the end and stacking by their spines (the award tier's). */
13229
+ Drawers = "drawers",
13200
13230
  HeldScreen = "held-screen"
13201
13231
  }
13202
13232
  interface LayoutFingerprint {
@@ -13536,7 +13566,10 @@ declare enum LayoutGapCode {
13536
13566
  ListUnbound = "list-unbound",
13537
13567
  /** AW10: a layer saying `scrub` that the look's By the scroll does not take, or in the first screen — it plays once
13538
13568
  * (`checkLayout` mends it before; a stored layout is composed as is and said). */
13539
- Scrub = "scrub"
13569
+ Scrub = "scrub",
13570
+ /** AW10: a drawers step's words stand still as the step slides in — their arrival when it lands is AW10's (an entrance
13571
+ * played at a key). The layout's entrance on them is dropped. */
13572
+ DrawerWords = "drawer-words"
13540
13573
  }
13541
13574
  interface LayoutGap {
13542
13575
  code: LayoutGapCode;
@@ -18438,7 +18471,8 @@ declare function layoutRuleEdge(s: LayoutSection, li: number): 'start' | 'end' |
18438
18471
  * a picture, or it moves (tracks, a depth). Anything else is an empty box on the page.
18439
18472
  */
18440
18473
  declare function layoutShapeHasPurpose(s: LayoutSection, li: number): boolean;
18441
- /** A held section where nothing moves by the scroll: no track, no kinetic line, no gallery the scroll turns. */
18474
+ /** A held section where nothing moves by the scroll: no track, no kinetic line, no gallery the scroll turns. Drawers
18475
+ * (AW9) are never still: their steps slide. */
18442
18476
  declare function layoutHeldStill(s: LayoutSection): boolean;
18443
18477
  /**
18444
18478
  * The line a still hold can light word by word: a word, heading or text of 2 to the kinetic words, never over a picture —
package/index.d.ts CHANGED
@@ -2609,6 +2609,9 @@ declare const CURRENT_LINK_TYPES: ReadonlyArray<string>;
2609
2609
  */
2610
2610
  /** The types that are pure decoration to assistive technology (an Icon has no name of its own). */
2611
2611
  declare const DECORATIVE_TYPES: ReadonlyArray<string>;
2612
+ /** The parts that are decoration to assistive technology by their role: a drawer's spine repeats its step's own heading
2613
+ * (AW9 `drawers`), so it is read once. */
2614
+ declare const DECORATIVE_ROLES: ReadonlyArray<string>;
2612
2615
  declare const DIALOG_NODE_TYPE = "Dialog";
2613
2616
  /** A Segmented control's root (CC4b) is a radio group that must be named (board 10: an empty name is an audit
2614
2617
  * finding). The main entry does not import composite-core, so the role is spelled here — a11y spec pins it. */
@@ -5057,5 +5060,5 @@ declare function formToastsOnSend(form: Element | null | undefined): boolean;
5057
5060
  /** Raise the form's Sent toast (from the form — its scope and its look). */
5058
5061
  declare function raiseFormToast(form: Element): ToastHandle | null;
5059
5062
 
5060
- export { A11yAttribute, A11yTrait, ACCESSIBLE_NAME_TYPES, AOSService, ARIA_CURRENT_PAGE, BACKDROP_TWIN_KEY, BACKDROP_WHOLE_KEY, BLUR_IN_START_PX, BOUND_STYLE_PREFIX, BREAKPOINTS, Breakpoint, BreakpointQueryKind, BuilderButtonComponent, BuilderDividerComponent, BuilderHeadingComponent, BuilderIconComponent, BuilderImageComponent, BuilderLinkComponent, BuilderSpacerComponent, ButtonBlockComponent, CALENDAR_CLOSING_ATTRIBUTE, CALENDAR_DESIGN_ATTRIBUTE, CALENDAR_INSTANT_ATTRIBUTE, CALENDAR_SHEET_QUERY, COMPONENT_STATE_SELECTOR, CONTAINER_HTML_TAGS, CONTEXT_ACTION_TYPES, COUNT_ATTRIBUTE, COUNT_DEFAULT_MS, COUNT_MAX_MS, COUNT_UP_ACTION, CURRENT_LINK_TYPES, CalendarClass, CardComponent, ClientGalleryComponent, ClientListComponent, ClientListItemComponent, ClientRepeaterComponent, ClientSliderContainerComponent, ClientSliderSlideComponent, ComponentInstanceRegistryService, ComponentState, ContainerComponent, ContextStore, CoverPaint, DECORATIVE_TYPES, DEFAULT_GALLERY_SCHEDULER, DEFAULT_INTERACTION_EASING, DEFAULT_PAGE_TRANSITION, DEFAULT_PAGE_TRANSITION_DURATION, DEFAULT_PAGE_TRANSITION_EASING, DEFAULT_PAGE_TRANSITION_PERSPECTIVE, DEFAULT_PHOSPHOR_WEIGHT, DEFAULT_WIDTH_BY_TYPE, DEPTH_CLIP_ATTRIBUTE, DIALOG_CLOSE_ABOVE_ATTRIBUTE, DIALOG_NODE_TYPE, DatePickerRuntime, DeclarationContext, EASING_KEYWORDS, EASING_TOKENS, ENTRANCE_ACTION_TYPES, ENTRANCE_FALLBACK_CSS, ENTRANCE_NOSCRIPT_CSS, ENTRANCE_PRESTATE_ATTRIBUTE, EXIT_ACTION_TYPES, EasingKeyword, EasingToken, FLOATING_GAP, FLOATING_LAYER_CLASS, FLOATING_MARGIN, FLOATING_SHEET_QUERY, FloatingAlign, FloatingSide, FormRenderState, FormRuntimeService, GALLERY_EFFECTS, GALLERY_EFFECT_DESCRIPTORS, GalleryLoop, HEADER_SCROLL_HYSTERESIS_PX, HOVER_DEFAULT_TRANSITION_TRAITS, HOVER_MEDIA_QUERY, HOVER_STATES, HeaderInkRuntime, HeaderRuntime, INTERACTION_ANIMATION_ID, INTERACTION_HIDDEN_ATTRIBUTE, INTERACTION_MARKER_ATTRIBUTES, IOX_BUILDER_EVENTS, IOX_FORM_MESSAGES, IOX_FORM_NAVIGATOR, IOX_FORM_TRANSPORT, IS_PREVIEW, InlineEditEvent, IoxAnimateContainer, IoxAosDirective, IoxAosModule, IoxBuilderComponentsModule, IoxComponentRegistryService, IoxDialogComponent, IoxFieldComponent, IoxFormComponent, IoxFormErrorComponent, IoxFormSuccessComponent, IoxPageComponent, IoxPageModule, IoxPopoverComponent, IoxSubmitButtonComponent, IoxUiModule, IoxVideoComponent, LAST_EMITTED_STATES, LEGACY_DIRECTION_KEY, LEGACY_HOVER_TRANSITION_TRAITS, LEGACY_SWIPER_CONTROLS, LIST_GROUND_PIPE, LIST_INK_PIPE, LinkedContainerComponent, MANAGED_A11Y_ATTRIBUTES, MAX_LINES_KEY, NAMED_GROUP_ROLES, NO_PAGE_TRANSITION, ON_STATE_ROLES, OUTER_STYLE_PROPS, PAGE_LEAVE_RATIO, PAGE_STYLE_TOKENS, PAGE_TOKEN_FALLBACKS, PAGE_TRANSITION_CATEGORIES, PAGE_TRANSITION_PRESETS, PART_CLASS_NAMES, PART_PAGINATION_MODIFIER, PHONE_TRANSITION_QUERY, PIPE_DESCRIPTORS, PIPE_REGISTRY, POPOVER_SELECTOR, POPUP_ANNOUNCE_ATTRIBUTE, POPUP_SCALE_PROPERTY, POPUP_SELECTOR, POPUP_STILL_ATTRIBUTE, PRELOADER_AT_ATTRIBUTE, PRELOADER_CLASS, PRELOADER_CSS, PRELOADER_END_EVENT, PRELOADER_RUN_ATTRIBUTE, PRELOADING_ATTRIBUTE, PROGRESS_ATTRIBUTE, PageScrollProvider, PageStyleField, PageStyleSource, PausableTimer, PauseReason, PointerKind, PopoverAttribute, PopupRuntime, REDUCED_ENTRANCE_FRAMES, REDUCED_MOTION_QUERY, REDUCED_PAGE_LEAVE, RELATIONAL_STATE_PSEUDO, RevealActionType, SCROLLBARS_TAKE_WIDTH_CLASS, SCROLLED_ATTRIBUTE, SCROLLED_STATE_ROLE, SCROLLED_THRESHOLD_PX, SCROLL_ANIMATION_ID, SCROLL_EASINGS, SELF_PLAYING_TRIGGERS, SHAKE_DURATION_MS, SHAKE_EASING, SHAKE_KEYFRAMES, SLIDER_CARDS, SLIDER_FAN, SLIDER_FEEL, SLIDER_INPUTS_ATTRIBUTE, SLIDER_INPUT_NAMES, SLIDER_PHONE_BREAKPOINT, SLIDER_RUNWAY_CLASS, SLIDER_STEPS_PROPERTY, SLIDE_CAPTION_ATTRIBUTE, STATE_PSEUDO_CLASS, STRUCTURAL_STATES, SUPPRESSED_STYLE_PROPS_BY_TYPE, SWIPER_A11Y_OPTIONS, SWIPER_RESPONSIVE_TRAITS, SWIPER_TRIGGER_EVENTS, ScrollActionType, ScrollEasing, SectionComponent, SettleMode, SliderCreativePreset, StringFormRuntime, SwiperModuleName, TARGETED_STATE_SUFFIX, TEXT_ALIGN_KEY, TEXT_DIRECTION_KEY, TOAST_CLOSE_WORDS, TOAST_DESIGN_ATTRIBUTE, TOAST_EDGE_ATTRIBUTE, TOAST_FIRST_LANDS_MS, TOAST_MAX_MS, TOAST_MAX_VISIBLE, TOAST_MIN_MS, TOAST_MS_PER_CHAR, TOOLTIP_ATTRIBUTE, TOOLTIP_FIRST_DELAY_MS, TOOLTIP_HIDE_GRACE_MS, TOOLTIP_INSTANT_ATTRIBUTE, TOOLTIP_PINNED_ATTRIBUTE, TOOLTIP_PLACEMENT_ATTRIBUTE, TOOLTIP_SIDE_ATTRIBUTE, TOOLTIP_TYPES, TOOLTIP_WARM_MS, TRANSITION_FEELS, TRANSITION_PROPERTY_KEY, TextAlign, TextBlockComponent, ToastClass, ToastEdge, TooltipClass, TooltipRuntime, VALIDATION_STATES, VALIDATION_STATE_CLASS, VIRTUAL_TRAIT_GROUPS, VIRTUAL_TRAIT_KEYS, ViewPositionDirective, ViewPositionModule, VisibilityActionType, activeActions, afterPreloader, animateAction, applyBindingPipes, applyBoundStyle, applyBoundStyles, applyFeel, armCountUp, armInteractionCounts, attachDatePicker, attachDatePickers, attachScrollProgress, attachStringForm, attachTooltips, bootSlider, boundStyleCss, boundStyleEntries, boundStyleOf, breakpointDef, breakpointForWidth, breakpointQueryFor, buildInteractionKeyframes, buildPartSelector, buildPreloaderLayer, buildSwiperBreakpoints, buildTargetedStateSelector, buildTargetedSuffixSelector, buildTransitionTimeline, canPopover, cascadeChain, clearInputOverride, clearOverride, clearToasts, closeAboveMediaQuery, closeAllPopovers, closePopover, collectContextSlotKeys, commitInlineEdit, compileDeclarations, compilePageStyle, componentStatesFor, composeVirtualTraits, containerHtmlTag, contextActionEffect, contextSlotKeys, countDuration, countIsReadable, countLocaleOf, countOverrides, countValueAt, coverPanelStyle, createCoverPanel, datePickerOf, declaredInputNames, decomposeBackdropFilter, defaultHoverTransitionTraits, defaultMessageResolver, deriveSeoFromContent, describePageStyle, describeSeoFields, dialogCloseAboveMinWidth, directionalFrames, domHasSliderParts, durationMs, effectiveActionType, effectiveTransitionId, ensurePreloaderStyles, entrancePreStateStyle, entranceStartsHidden, fanMiddle, feelFor, fieldLanguage, finalKeyframe, firstScreenReadiness, floatingLayer, floatingScope, formSentWords, formToastsOnSend, formatCount, framesFromLiveValue, gateHoverRule, getSeoValue, hasCounted, hasHoverState, hasOwnPageTransition, hasOwnTransition, headerShouldHide, hideFromTopLayer, hidingHeadersIn, initialSlotValues, inkFollowingHeadersIn, interactionMarkerAttributes, isActionEnabled, isBoundProp, isBoundStyleProp, isContextAction, isCubicBezier, isCurrentLink, isEasingToken, isExternalOrFragment, isGradientPaint, isHoverPointer, isHoverState, isInputOverriddenAt, isInteractionEasing, isLastEmittedStateKey, isOpenPopover, isOperated, isOverriddenAt, isPopoverOpen, isPreloading, isPressFeedback, isScrolled, isStructuralState, isValidSlotKey, isWholeBackdropSet, keyframePropertyName, keyframeStyleEntries, layerFrame, legacyEnterToTransition, lookEaseOf, markScrollbarsTakeWidth, mediaQueryFor, mergeSwiperBreakpoints, migrateLegacyDirection, migrateLegacyTextAlign, motionAllowed, mountPreloader, nearestCommonAncestorId, needsAccessibleName, needsGroupName, nodeA11yAttributes, nodeCssId, nodeTraitValue, nodeUsesContext, normalizeAppPath, normalizeGalleryImage, normalizeIconClass, openPopover, openingPictureOf, orderStatesForEmit, pageTransitionOf, parentBreakpoint, parseCount, parseUrlList, partClassName, placeFloating, placePopover, planPartRule, planResponsiveRules, planScroll, planStateRule, planSwiperOptions, playCountUp, playDualLayerTransition, playInteraction, playPreloaderPreview, playsOnScroll, popoverPanelAttributes, popoverSide, popupAttributeGetter, popupIdOf, prefersReducedMotion, preloaderContentOf, preloaderHeadScript, raiseFloatingLayer, raiseFormToast, rectInLayer, reducedEntranceFades, reducedEntranceRun, renderDefaultDeclarations, resetPageStyleField, resetSeoField, resolveBoundValue, resolveContextValue, resolveGalleryEffect, resolveGalleryUrls, resolveInputChain, resolveInputs, resolveInteractionEasing, resolvePageTransition, resolvePath, resolveSeo, resolveStateStyles, resolveStyleProps, resolveToggleVisibility, resolveValueChain, restoreCountUp, rewriteViewportUnits, runPreloader, safeSetInput, scrollActionKind, scrollMotionEnv, scrollbarsTakeWidthScript, scrubUntilOf, serializeA11yAttributes, setDateFieldValue, setInputOverride, setOverride, setSeoAuto, setSeoBinding, setSeoOverride, setSeoValue, settleInteraction, settleModeFor, shakeElement, showCalendarDesign, showInTopLayer, showToast, showToastDesign, sliderControlElements, sliderInputsFromProps, sliderInputsOf, sliderRunwayHtml, splitOuterProps, splitPressFeedback, stateNamesIn, statePseudoClass, stateSelectorSuffix, stateTransitionProperties, stringFormRuntimeOf, stripSuppressedProps, swiperAutoplayAllowed, swiperLoopOptions, swiperModuleNames, syncInteractionMarkers, syncNodeA11yAttributes, syncSubmitButtons, targetedStateSelector, toLayerRect, toastCloseWord, toastDuration, toastEdge, toastsToEvict, togglePopover, tooltipSide, tooltipTiming, tooltipWords, tooltipsOf, transitionPropertyList, translateYOf, viewportTransitionContext, watchHeaderInk, watchHeaders, watchScrolled, withContextSlots, withPhoneDefaults, withStateTransitions, wrapInBreakpointQuery, wrapInMediaQuery };
5063
+ export { A11yAttribute, A11yTrait, ACCESSIBLE_NAME_TYPES, AOSService, ARIA_CURRENT_PAGE, BACKDROP_TWIN_KEY, BACKDROP_WHOLE_KEY, BLUR_IN_START_PX, BOUND_STYLE_PREFIX, BREAKPOINTS, Breakpoint, BreakpointQueryKind, BuilderButtonComponent, BuilderDividerComponent, BuilderHeadingComponent, BuilderIconComponent, BuilderImageComponent, BuilderLinkComponent, BuilderSpacerComponent, ButtonBlockComponent, CALENDAR_CLOSING_ATTRIBUTE, CALENDAR_DESIGN_ATTRIBUTE, CALENDAR_INSTANT_ATTRIBUTE, CALENDAR_SHEET_QUERY, COMPONENT_STATE_SELECTOR, CONTAINER_HTML_TAGS, CONTEXT_ACTION_TYPES, COUNT_ATTRIBUTE, COUNT_DEFAULT_MS, COUNT_MAX_MS, COUNT_UP_ACTION, CURRENT_LINK_TYPES, CalendarClass, CardComponent, ClientGalleryComponent, ClientListComponent, ClientListItemComponent, ClientRepeaterComponent, ClientSliderContainerComponent, ClientSliderSlideComponent, ComponentInstanceRegistryService, ComponentState, ContainerComponent, ContextStore, CoverPaint, DECORATIVE_ROLES, DECORATIVE_TYPES, DEFAULT_GALLERY_SCHEDULER, DEFAULT_INTERACTION_EASING, DEFAULT_PAGE_TRANSITION, DEFAULT_PAGE_TRANSITION_DURATION, DEFAULT_PAGE_TRANSITION_EASING, DEFAULT_PAGE_TRANSITION_PERSPECTIVE, DEFAULT_PHOSPHOR_WEIGHT, DEFAULT_WIDTH_BY_TYPE, DEPTH_CLIP_ATTRIBUTE, DIALOG_CLOSE_ABOVE_ATTRIBUTE, DIALOG_NODE_TYPE, DatePickerRuntime, DeclarationContext, EASING_KEYWORDS, EASING_TOKENS, ENTRANCE_ACTION_TYPES, ENTRANCE_FALLBACK_CSS, ENTRANCE_NOSCRIPT_CSS, ENTRANCE_PRESTATE_ATTRIBUTE, EXIT_ACTION_TYPES, EasingKeyword, EasingToken, FLOATING_GAP, FLOATING_LAYER_CLASS, FLOATING_MARGIN, FLOATING_SHEET_QUERY, FloatingAlign, FloatingSide, FormRenderState, FormRuntimeService, GALLERY_EFFECTS, GALLERY_EFFECT_DESCRIPTORS, GalleryLoop, HEADER_SCROLL_HYSTERESIS_PX, HOVER_DEFAULT_TRANSITION_TRAITS, HOVER_MEDIA_QUERY, HOVER_STATES, HeaderInkRuntime, HeaderRuntime, INTERACTION_ANIMATION_ID, INTERACTION_HIDDEN_ATTRIBUTE, INTERACTION_MARKER_ATTRIBUTES, IOX_BUILDER_EVENTS, IOX_FORM_MESSAGES, IOX_FORM_NAVIGATOR, IOX_FORM_TRANSPORT, IS_PREVIEW, InlineEditEvent, IoxAnimateContainer, IoxAosDirective, IoxAosModule, IoxBuilderComponentsModule, IoxComponentRegistryService, IoxDialogComponent, IoxFieldComponent, IoxFormComponent, IoxFormErrorComponent, IoxFormSuccessComponent, IoxPageComponent, IoxPageModule, IoxPopoverComponent, IoxSubmitButtonComponent, IoxUiModule, IoxVideoComponent, LAST_EMITTED_STATES, LEGACY_DIRECTION_KEY, LEGACY_HOVER_TRANSITION_TRAITS, LEGACY_SWIPER_CONTROLS, LIST_GROUND_PIPE, LIST_INK_PIPE, LinkedContainerComponent, MANAGED_A11Y_ATTRIBUTES, MAX_LINES_KEY, NAMED_GROUP_ROLES, NO_PAGE_TRANSITION, ON_STATE_ROLES, OUTER_STYLE_PROPS, PAGE_LEAVE_RATIO, PAGE_STYLE_TOKENS, PAGE_TOKEN_FALLBACKS, PAGE_TRANSITION_CATEGORIES, PAGE_TRANSITION_PRESETS, PART_CLASS_NAMES, PART_PAGINATION_MODIFIER, PHONE_TRANSITION_QUERY, PIPE_DESCRIPTORS, PIPE_REGISTRY, POPOVER_SELECTOR, POPUP_ANNOUNCE_ATTRIBUTE, POPUP_SCALE_PROPERTY, POPUP_SELECTOR, POPUP_STILL_ATTRIBUTE, PRELOADER_AT_ATTRIBUTE, PRELOADER_CLASS, PRELOADER_CSS, PRELOADER_END_EVENT, PRELOADER_RUN_ATTRIBUTE, PRELOADING_ATTRIBUTE, PROGRESS_ATTRIBUTE, PageScrollProvider, PageStyleField, PageStyleSource, PausableTimer, PauseReason, PointerKind, PopoverAttribute, PopupRuntime, REDUCED_ENTRANCE_FRAMES, REDUCED_MOTION_QUERY, REDUCED_PAGE_LEAVE, RELATIONAL_STATE_PSEUDO, RevealActionType, SCROLLBARS_TAKE_WIDTH_CLASS, SCROLLED_ATTRIBUTE, SCROLLED_STATE_ROLE, SCROLLED_THRESHOLD_PX, SCROLL_ANIMATION_ID, SCROLL_EASINGS, SELF_PLAYING_TRIGGERS, SHAKE_DURATION_MS, SHAKE_EASING, SHAKE_KEYFRAMES, SLIDER_CARDS, SLIDER_FAN, SLIDER_FEEL, SLIDER_INPUTS_ATTRIBUTE, SLIDER_INPUT_NAMES, SLIDER_PHONE_BREAKPOINT, SLIDER_RUNWAY_CLASS, SLIDER_STEPS_PROPERTY, SLIDE_CAPTION_ATTRIBUTE, STATE_PSEUDO_CLASS, STRUCTURAL_STATES, SUPPRESSED_STYLE_PROPS_BY_TYPE, SWIPER_A11Y_OPTIONS, SWIPER_RESPONSIVE_TRAITS, SWIPER_TRIGGER_EVENTS, ScrollActionType, ScrollEasing, SectionComponent, SettleMode, SliderCreativePreset, StringFormRuntime, SwiperModuleName, TARGETED_STATE_SUFFIX, TEXT_ALIGN_KEY, TEXT_DIRECTION_KEY, TOAST_CLOSE_WORDS, TOAST_DESIGN_ATTRIBUTE, TOAST_EDGE_ATTRIBUTE, TOAST_FIRST_LANDS_MS, TOAST_MAX_MS, TOAST_MAX_VISIBLE, TOAST_MIN_MS, TOAST_MS_PER_CHAR, TOOLTIP_ATTRIBUTE, TOOLTIP_FIRST_DELAY_MS, TOOLTIP_HIDE_GRACE_MS, TOOLTIP_INSTANT_ATTRIBUTE, TOOLTIP_PINNED_ATTRIBUTE, TOOLTIP_PLACEMENT_ATTRIBUTE, TOOLTIP_SIDE_ATTRIBUTE, TOOLTIP_TYPES, TOOLTIP_WARM_MS, TRANSITION_FEELS, TRANSITION_PROPERTY_KEY, TextAlign, TextBlockComponent, ToastClass, ToastEdge, TooltipClass, TooltipRuntime, VALIDATION_STATES, VALIDATION_STATE_CLASS, VIRTUAL_TRAIT_GROUPS, VIRTUAL_TRAIT_KEYS, ViewPositionDirective, ViewPositionModule, VisibilityActionType, activeActions, afterPreloader, animateAction, applyBindingPipes, applyBoundStyle, applyBoundStyles, applyFeel, armCountUp, armInteractionCounts, attachDatePicker, attachDatePickers, attachScrollProgress, attachStringForm, attachTooltips, bootSlider, boundStyleCss, boundStyleEntries, boundStyleOf, breakpointDef, breakpointForWidth, breakpointQueryFor, buildInteractionKeyframes, buildPartSelector, buildPreloaderLayer, buildSwiperBreakpoints, buildTargetedStateSelector, buildTargetedSuffixSelector, buildTransitionTimeline, canPopover, cascadeChain, clearInputOverride, clearOverride, clearToasts, closeAboveMediaQuery, closeAllPopovers, closePopover, collectContextSlotKeys, commitInlineEdit, compileDeclarations, compilePageStyle, componentStatesFor, composeVirtualTraits, containerHtmlTag, contextActionEffect, contextSlotKeys, countDuration, countIsReadable, countLocaleOf, countOverrides, countValueAt, coverPanelStyle, createCoverPanel, datePickerOf, declaredInputNames, decomposeBackdropFilter, defaultHoverTransitionTraits, defaultMessageResolver, deriveSeoFromContent, describePageStyle, describeSeoFields, dialogCloseAboveMinWidth, directionalFrames, domHasSliderParts, durationMs, effectiveActionType, effectiveTransitionId, ensurePreloaderStyles, entrancePreStateStyle, entranceStartsHidden, fanMiddle, feelFor, fieldLanguage, finalKeyframe, firstScreenReadiness, floatingLayer, floatingScope, formSentWords, formToastsOnSend, formatCount, framesFromLiveValue, gateHoverRule, getSeoValue, hasCounted, hasHoverState, hasOwnPageTransition, hasOwnTransition, headerShouldHide, hideFromTopLayer, hidingHeadersIn, initialSlotValues, inkFollowingHeadersIn, interactionMarkerAttributes, isActionEnabled, isBoundProp, isBoundStyleProp, isContextAction, isCubicBezier, isCurrentLink, isEasingToken, isExternalOrFragment, isGradientPaint, isHoverPointer, isHoverState, isInputOverriddenAt, isInteractionEasing, isLastEmittedStateKey, isOpenPopover, isOperated, isOverriddenAt, isPopoverOpen, isPreloading, isPressFeedback, isScrolled, isStructuralState, isValidSlotKey, isWholeBackdropSet, keyframePropertyName, keyframeStyleEntries, layerFrame, legacyEnterToTransition, lookEaseOf, markScrollbarsTakeWidth, mediaQueryFor, mergeSwiperBreakpoints, migrateLegacyDirection, migrateLegacyTextAlign, motionAllowed, mountPreloader, nearestCommonAncestorId, needsAccessibleName, needsGroupName, nodeA11yAttributes, nodeCssId, nodeTraitValue, nodeUsesContext, normalizeAppPath, normalizeGalleryImage, normalizeIconClass, openPopover, openingPictureOf, orderStatesForEmit, pageTransitionOf, parentBreakpoint, parseCount, parseUrlList, partClassName, placeFloating, placePopover, planPartRule, planResponsiveRules, planScroll, planStateRule, planSwiperOptions, playCountUp, playDualLayerTransition, playInteraction, playPreloaderPreview, playsOnScroll, popoverPanelAttributes, popoverSide, popupAttributeGetter, popupIdOf, prefersReducedMotion, preloaderContentOf, preloaderHeadScript, raiseFloatingLayer, raiseFormToast, rectInLayer, reducedEntranceFades, reducedEntranceRun, renderDefaultDeclarations, resetPageStyleField, resetSeoField, resolveBoundValue, resolveContextValue, resolveGalleryEffect, resolveGalleryUrls, resolveInputChain, resolveInputs, resolveInteractionEasing, resolvePageTransition, resolvePath, resolveSeo, resolveStateStyles, resolveStyleProps, resolveToggleVisibility, resolveValueChain, restoreCountUp, rewriteViewportUnits, runPreloader, safeSetInput, scrollActionKind, scrollMotionEnv, scrollbarsTakeWidthScript, scrubUntilOf, serializeA11yAttributes, setDateFieldValue, setInputOverride, setOverride, setSeoAuto, setSeoBinding, setSeoOverride, setSeoValue, settleInteraction, settleModeFor, shakeElement, showCalendarDesign, showInTopLayer, showToast, showToastDesign, sliderControlElements, sliderInputsFromProps, sliderInputsOf, sliderRunwayHtml, splitOuterProps, splitPressFeedback, stateNamesIn, statePseudoClass, stateSelectorSuffix, stateTransitionProperties, stringFormRuntimeOf, stripSuppressedProps, swiperAutoplayAllowed, swiperLoopOptions, swiperModuleNames, syncInteractionMarkers, syncNodeA11yAttributes, syncSubmitButtons, targetedStateSelector, toLayerRect, toastCloseWord, toastDuration, toastEdge, toastsToEvict, togglePopover, tooltipSide, tooltipTiming, tooltipWords, tooltipsOf, transitionPropertyList, translateYOf, viewportTransitionContext, watchHeaderInk, watchHeaders, watchScrolled, withContextSlots, withPhoneDefaults, withStateTransitions, wrapInBreakpointQuery, wrapInMediaQuery };
5061
5064
  export type { A11yNodeSource, AnimateActionOptions, BoundStyleTarget, BoundValueSpec, BreakpointDef, ContextActionEffect, ContextActionLike, ContextItemRef, ContextSlotDefault, ContextValueSpec, ContextWriteScope, CountTarget, CoverPanelContext, CurrentLinkOptions, DatePickerOptions, FloatingLayerOptions, FloatingOptions, FloatingPlacement, FloatingRect, FloatingSize, FloatingViewport, FormMessageResolver, GalleryBoundSource, GalleryDurations, GalleryEffect, GalleryEffectDescriptor, GalleryImage, GalleryLoopOptions, GalleryLoopScheduler, GalleryLoopState, GallerySlideState, HeaderRuntimeOptions, IBuilderEventEmitter, InlineEditableNode, InputMap, InteractionKeyframe, IoxContextSlot, IoxPipe, LayerFrame, MatchMediaHost, NodeA11yContext, OverrideBreakpoint, PageCoverSpec, PageScrollStart, PageStyleFieldState, PageStyleOptions, PageStyleSettings, PageTransitionCategory, PageTransitionCategoryMeta, PageTransitionContext, PageTransitionOptions, PageTransitionPreset, PipeArgSpec, PipeContext, PipeDescriptor, PlannedPageTransition, PopoverCloseOptions, PopoverOpenOptions, PopupOverlayState, PopupRuntimeOptions, PreloaderContent, PreloaderPreviewOptions, PreloaderRunOptions, PressAction, RegisteredField, ResolvedPageCover, ResolvedPageTransition, ResponsiveLayer, ResponsiveOverrides, ResponsiveRuleSet, RouteAnimationLike, ScrollPlanContext, ScrollProgressAction, ScrollProgressHost, ScrollProgressInteraction, ScrollSource, SeoDerivedContent, SeoFieldSource, SeoFieldState, SeoResolveContext, SetContextParams, SettleOptions, SliderBootOptions, SliderControlElements, SliderInputs, StateRulePlan, StateScope, StateStyleMap, StringFormOptions, StyleMap, StyleTreeNode, SwiperBreakpointMap, SwiperModuleFlags, SwiperPlan, SwiperPlanContext, ToastHandle, ToastOptions, ToggleableAction, TooltipRuntimeOptions, TooltipTimingState, TransitionFeel, TransitionPhase, TransitionPreviewLayers, TransitionTimelineInput, TransitionViewport, ValueSource, VirtualTraitGroup };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vectoriox/iox-ui",
3
- "version": "5.163.0",
3
+ "version": "5.164.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=20.0.0",
6
6
  "@angular/core": ">=20.0.0",
@@ -196,7 +196,7 @@ declare function applySceneFirstFrame(el: HTMLElement | null | undefined, node:
196
196
  */
197
197
  declare const SCENE_FLOW_RULES: string;
198
198
  /** Under reduced motion the driver never starts, so the same rules hold for the whole visit. */
199
- declare const SCENE_REDUCED_MOTION_CSS = "@media (prefers-reduced-motion: reduce){.iox-role-scene{height:auto!important}.iox-role-scene-stage{position:relative!important;top:auto!important;height:auto!important;overflow:visible!important;container-type:normal!important;display:flex!important;flex-direction:column!important;gap:clamp(40px,8vw,72px)!important;padding:clamp(72px,10vw,96px) clamp(16px,4vw,32px)!important;isolation:isolate}.iox-role-scene-stage>*{position:relative!important;inset:auto!important;max-width:100%!important}.iox-role-scene-stage>[class*=\"iox-outer-\"]>[class*=\"iox-node-\"]{position:relative!important;inset:auto!important}[data-iox-tracks]{transform:none!important;opacity:1!important;clip-path:none!important;pointer-events:auto!important}[data-iox-tracks]{max-width:100%!important;flex-wrap:wrap!important}[data-iox-video-frames]{height:auto!important}iox-video:has(>[data-iox-video-frames]){display:contents!important}[data-iox-video-frames]>.iox-video__poster,[data-iox-video-frames]>picture>.iox-video__poster{position:static!important;height:auto!important}}";
199
+ declare const SCENE_REDUCED_MOTION_CSS = "@media (prefers-reduced-motion: reduce){.iox-role-scene{height:auto!important}.iox-role-scene-stage{position:relative!important;top:auto!important;height:auto!important;overflow:visible!important;container-type:normal!important;display:flex!important;flex-direction:column!important;gap:clamp(40px,8vw,72px)!important;padding:clamp(72px,10vw,96px) clamp(16px,4vw,32px)!important;isolation:isolate}.iox-role-scene-stage>*{position:relative!important;inset:auto!important;max-width:100%!important}.iox-role-scene-stage>[class*=\"iox-outer-\"]>[class*=\"iox-node-\"]{position:relative!important;inset:auto!important}[data-iox-tracks]{transform:none!important;opacity:1!important;clip-path:none!important;pointer-events:auto!important}[data-iox-tracks]{max-width:100%!important;flex-wrap:wrap!important}.iox-role-scene-drawer{width:100%!important;height:auto!important;flex-direction:column!important}.iox-role-scene-stage:has(>.iox-role-scene-drawer,>[class*=\"iox-outer-\"]>.iox-role-scene-drawer){padding:0!important;gap:0!important}.iox-role-scene-drawer-spine{writing-mode:horizontal-tb!important;rotate:none!important;width:auto!important;height:auto!important}[data-iox-video-frames]{height:auto!important}iox-video:has(>[data-iox-video-frames]){display:contents!important}[data-iox-video-frames]>.iox-video__poster,[data-iox-video-frames]>picture>.iox-video__poster{position:static!important;height:auto!important}}";
200
200
 
201
201
  declare function sceneKeyPosition(p: number): number;
202
202
  interface SceneTrackDef {
@@ -524,6 +524,42 @@ declare function scrollSubpixel(scroller: SmoothScroller | null): number;
524
524
  * it stands exactly on the scroll; it never snaps across one.
525
525
  */
526
526
  declare function followToward(current: number, previousTarget: number, target: number, seconds: number, rate?: number): number;
527
+ /**
528
+ * Where a step that slides onto the stage has LANDED, as hold progress: the last key of its hold-range X track. A step with
529
+ * no such move (the first drawer, a phone's stacked panels) is on the stage from the start: 0.
530
+ */
531
+ declare function stepLanding(tracks: ReadonlyArray<SceneTrack>): number;
532
+ /**
533
+ * Where a Scene of steps (each covering the one before once it lands) must stand for step `index` to be in FRONT, or null
534
+ * when it already is — or when no step moves (nothing covers anything; a phone stacks them). Step i is in front from its
535
+ * landing until the next one lands. vectoriox/iox-ui#139: focus must never sit on a covered or waiting step (WCAG 2.4.11).
536
+ */
537
+ declare function progressShowingStep(landings: ReadonlyArray<number>, index: number, progress: number): number | null;
538
+ /** Where a layer's hold tracks stand at hold progress `p`: its move in % of the stage (x of its width, unmirrored; y of its
539
+ * height) and its opacity — the last hold track of each, as `sceneFrame` reads them. Other ranges do not follow the hold. */
540
+ declare function holdLookAt(tracks: ReadonlyArray<SceneTrack>, p: number): {
541
+ x: number;
542
+ y: number;
543
+ opacity: number;
544
+ };
545
+ /** A box on screen (a `DOMRect`'s edges). */
546
+ interface SceneBox {
547
+ left: number;
548
+ top: number;
549
+ right: number;
550
+ bottom: number;
551
+ }
552
+ /**
553
+ * True when `box`, moved by `dx`/`dy`, stands inside `frame` on both axes. Along an axis on which the box is the larger,
554
+ * it must cover the frame instead: as much of it as can be seen is seen.
555
+ */
556
+ declare function boxInside(box: SceneBox, frame: SceneBox, dx?: number, dy?: number): boolean;
557
+ /**
558
+ * Where on the hold (0–1) a focused control shows, or null when it shows already at `current` — or nowhere. The nearest
559
+ * moment it shows (ahead first, in reading order), then the middle of the stretch it stays showing from there: a walk's card
560
+ * is brought to the middle of the screen, never left on the stage's edge. vectoriox/iox-ui#141 (WCAG 2.4.11).
561
+ */
562
+ declare function progressShowingFocus(current: number, shows: (p: number) => boolean, samples?: number): number | null;
527
563
  /** One frame of the damping: frame-rate independent, so 60 Hz and 120 Hz settle in the same time. */
528
564
  declare function dampToward(current: number, target: number, seconds: number, rate?: number): number;
529
565
  /** Where a root stands: scrolled `local` page px into its `travel`. `zoom` undoes the canvas's scale. */
@@ -620,6 +656,8 @@ declare class ScrollDriver {
620
656
  private frame;
621
657
  private lastTime;
622
658
  private readonly wakeUp;
659
+ /** Focus moving onto a control the Scene does not show now brings the scroll to where it does (#139, #141). */
660
+ private readonly onFocusIn;
623
661
  private readonly onWakeEvent;
624
662
  constructor(options?: ScrollDriverOptions);
625
663
  /** Drive a Scene's root. Idempotent: adding a root again re-reads it. False when another driver holds it. */
@@ -653,6 +691,33 @@ declare class ScrollDriver {
653
691
  /** Something moved that no scroll or resize announces (the canvas's zoom). */
654
692
  wake(): void;
655
693
  destroy(): void;
694
+ /**
695
+ * Focus moved onto a control inside a Scene: the Scene is scrolled to where it shows it, and the frame lands at once.
696
+ * - The browser scrolls a clipping stage to reveal a focused control it holds off view (`overflow: hidden` is
697
+ * scrollable from script), and every layer would then stand shifted by that scroll until a reload. The driver alone
698
+ * decides what the stage shows: the offset goes now, and again after the browser's own focus scrolling, which may
699
+ * come after this event (vectoriox/iox-ui#139, #141).
700
+ * - On a step another covers, or one still waiting off the stage (drawers): to where that step has landed (#139).
701
+ * - Anywhere else (a card a walk has not brought in, a layer still flying in): to the nearest moment the control stands
702
+ * inside the stage, its moving layers' hold tracks read at each moment (#141).
703
+ * The canvas never listens (it pins: the author is never scrolled), and a phone, whose Scenes flow, is left alone.
704
+ */
705
+ private showFocused;
706
+ /** The tracks a layer plays at the Scene's width. */
707
+ private tracksOf;
708
+ /**
709
+ * Where a drawers Scene must stand for the focused control's step to be in front: null when it is, undefined when the
710
+ * control is on no step (the general rule decides).
711
+ */
712
+ private stepShowing;
713
+ /**
714
+ * Where on the hold the focused control stands inside the stage, seen (its moving layers at least half opaque), or null
715
+ * when it does already, or never does. Its box is read where it is drawn now (at the damped progress) and moved by what
716
+ * its layers' hold moves would add at each other moment. Scale and rotation are not followed: a Scene moves a control
717
+ * into view by travel.
718
+ */
719
+ private progressShowing;
720
+ private unscrollStage;
656
721
  /** Read a root's stage and layers from its DOM: its own Scene's only, never a nested one's. */
657
722
  private readScene;
658
723
  private letGo;
@@ -818,5 +883,5 @@ interface TextScrub {
818
883
  */
819
884
  declare function scrubTextReveal(el: HTMLElement, by: TextRevealBy, look?: TextRevealLook, easing?: string): TextScrub | null;
820
885
 
821
- export { LENIS_SMOOTH_CLASS, LETTER_PIECE_CAP, LIGHT_UP_PIECE_CAP, LetterRefusal, 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_TRACK_EASE, SCENE_WAKE_EVENT, SCENE_WORDS, SCENE_WORD_DIM, SCROLL_RANGE_DEFAULT, SCRUB_PIECES_IN_FLIGHT, SLIDER_HOLD_SHARE, SLIDER_SCROLL_STEP_SCREENS, SceneAttribute, SceneEase, SceneProp, SceneRange, SceneRevealFrom, ScrollActionKind, ScrollDriver, ScrollPlay, ScrollRange, TextRevealBy, TextRevealLook, applySceneFirstFrame, attachSceneRoots, attachScenes, buildSceneRecipe, colourAt, crossesStage, crossingOf, dampToward, followToward, gentleFrames, heldProgress, isHoldTrack, layoutBoxOnScreen, letterCount, letterRefusalOf, lettersSplittable, lightMotionWanted, lineIndexes, movedSceneKey, normalizeParallaxDepth, normalizeParallaxPhone, normalizeScrollRange, normalizeTracks, outermostNodeOf, pageScroller, 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, sceneScrollAlong, sceneScrollState, sceneTrackDef, sceneTrackSpan, sceneWordOpacity, sceneWordsLit, scenesIn, scrollPlayFor, scrollSubpixel, scrubPieceProgress, scrubTextReveal, setPageScroller, splitForReveal, splitText, syncSceneAttributes, textPieces, textRevealByOf, textRevealLookOf, trackColourAt, trackEase, trackProgress, trackRange, trackValueAt, unmovedBox, valueAt, withSceneKey, withScenePlayback, withSceneRevealFrom, withoutSceneKey, withoutScenePlayback };
822
- export type { RevealSplit, SceneBudget, SceneFilmDensity, SceneFrame, SceneFrameOptions, SceneFrameState, SceneKey, SceneLayerNode, SceneNodeSource, SceneProgress, SceneTrack, SceneTrackDef, SceneTreeNode, SceneWords, ScrollBox, ScrollDriverOptions, ScrollLink, ScrollLinkGeometry, ScrollMotionEnv, SmoothScroller, SplitText, SplitTextOptions, TextPiece, TextScrub };
886
+ export { LENIS_SMOOTH_CLASS, LETTER_PIECE_CAP, LIGHT_UP_PIECE_CAP, LetterRefusal, 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_TRACK_EASE, SCENE_WAKE_EVENT, SCENE_WORDS, SCENE_WORD_DIM, SCROLL_RANGE_DEFAULT, SCRUB_PIECES_IN_FLIGHT, SLIDER_HOLD_SHARE, SLIDER_SCROLL_STEP_SCREENS, SceneAttribute, SceneEase, SceneProp, SceneRange, SceneRevealFrom, ScrollActionKind, ScrollDriver, ScrollPlay, ScrollRange, TextRevealBy, TextRevealLook, applySceneFirstFrame, attachSceneRoots, attachScenes, boxInside, buildSceneRecipe, colourAt, crossesStage, crossingOf, dampToward, followToward, gentleFrames, heldProgress, holdLookAt, isHoldTrack, layoutBoxOnScreen, letterCount, letterRefusalOf, lettersSplittable, lightMotionWanted, lineIndexes, movedSceneKey, normalizeParallaxDepth, normalizeParallaxPhone, normalizeScrollRange, normalizeTracks, outermostNodeOf, pageScroller, parallaxFrames, parallaxOffset, parallaxRest, parallaxShift, playTextReveal, progressShowingFocus, progressShowingStep, rangeDistance, rangeEnds, rangeProgress, revealClipPath, revealStagger, sceneBudget, sceneColourKeyAt, sceneDisplayValue, sceneFilmDensity, sceneFirstFrame, sceneFrame, sceneFrameDeclarations, sceneHasKeyAt, sceneHeightForScreens, sceneKeyPosition, sceneLayersOf, sceneNodeAttributes, scenePlayed, sceneRevealFromOf, sceneRootOnPath, sceneRootsIn, sceneScreensOf, sceneScrollAlong, sceneScrollState, sceneTrackDef, sceneTrackSpan, sceneWordOpacity, sceneWordsLit, scenesIn, scrollPlayFor, scrollSubpixel, scrubPieceProgress, scrubTextReveal, setPageScroller, splitForReveal, splitText, stepLanding, syncSceneAttributes, textPieces, textRevealByOf, textRevealLookOf, trackColourAt, trackEase, trackProgress, trackRange, trackValueAt, unmovedBox, valueAt, withSceneKey, withScenePlayback, withSceneRevealFrom, withoutSceneKey, withoutScenePlayback };
887
+ export type { RevealSplit, SceneBox, SceneBudget, SceneFilmDensity, SceneFrame, SceneFrameOptions, SceneFrameState, SceneKey, SceneLayerNode, SceneNodeSource, SceneProgress, SceneTrack, SceneTrackDef, SceneTreeNode, SceneWords, ScrollBox, ScrollDriverOptions, ScrollLink, ScrollLinkGeometry, ScrollMotionEnv, SmoothScroller, SplitText, SplitTextOptions, TextPiece, TextScrub };
@@ -73,6 +73,20 @@ export enum SegmentedRole {
73
73
  export enum SceneRole {
74
74
  Scene = 'scene',
75
75
  Stage = 'scene.stage',
76
+ /** AW9 (RT-D4): a sideways walk's wide row — on a phone, a row the visitor swipes. */
77
+ Walk = 'scene.walk',
78
+ /** One screen of a walk: laid out on the wide row's grid (`display: contents`), on a phone a card the row snaps to. */
79
+ WalkScreen = 'scene.walk-screen',
80
+ /**
81
+ * A picture's frame in a walk: the size its drift is measured against (`container-type: inline-size`, shared CSS), so a
82
+ * drift in `cqw` is a share of the FRAME, which is what the over-scale's slack is a share of.
83
+ */
84
+ WalkFrame = 'scene.walk-frame',
85
+ /** AW9 `drawers`: one step — a panel that slides in from the inline end and stops one spine after the one before. */
86
+ Drawer = 'scene.drawer',
87
+ /** A drawer's spine: its number and heading, standing on end (on a phone, a label above the step). Decorative to
88
+ * assistive technology — the step's own heading says it. */
89
+ DrawerSpine = 'scene.drawer-spine',
76
90
  }
77
91
 
78
92
  interface RoleLike { role?: string | null }
@@ -11,6 +11,7 @@ import { layoutColumnsOffered } from './layout-wire';
11
11
  import { layoutColumnWord, layoutJudgeColumnPx } from './layout-column';
12
12
  import { DriftBox, driftOverlap, layoutGlideDepth } from './layout-drift';
13
13
  import { layoutLookOf } from './layout-look';
14
+ import { DRAWER_KINDS, DRAWER_STEPS, drawerStepCount, isDrawers, layoutSignatureOffered } from './layout-drawers';
14
15
  import { patternById, SCENE_LEVEL } from './patterns';
15
16
  import { layoutDesignOf, screenWordMisfit } from './layout-type';
16
17
  import { sectionEntrances } from './entrances';
@@ -296,6 +297,32 @@ interface LayoutTally {
296
297
 
297
298
  const NOTHING_CARRIED: LayoutTally = { signatures: 0, galleries: 0, swappable: 0, layered: 0, bleeds: 0, screenWords: 0, wordsOnPhoto: 0, holds: 0 };
298
299
 
300
+ /**
301
+ * AW9 `drawers` (award plan "Reddottours" S4): the award tier's signature, held and never sideways, its 3–5 steps each
302
+ * opened by a heading and holding words and buttons only (a step paints its own ground from the look's schemes — never on
303
+ * a photo); a step's words ride their step, so they carry no tracks or depth of their own.
304
+ */
305
+ function drawersIssues(
306
+ s: LayoutSection, at: string, track: number, groundPhoto: boolean, tier: string | null | undefined,
307
+ add: (code: LayoutIssueCode, path: string, message: string) => void,
308
+ ): void {
309
+ const layers = Array.isArray(s.layers) ? s.layers : [];
310
+ if (!layoutSignatureOffered(LayoutSectionKind.Drawers, tier)) add(LayoutIssueCode.Value, `${at}.kind`, 'drawers is an award signature — content | inhale | signature');
311
+ if (!s.signature) add(LayoutIssueCode.Structure, at, "drawers is the page's signature");
312
+ if (!s.pin || track > 1) add(LayoutIssueCode.Structure, `${at}.hold`, 'drawers is held (hold 1) and never carried sideways');
313
+ if (groundPhoto) add(LayoutIssueCode.Structure, `${at}.ground`, 'each step paints its own ground — a colour, never a photo');
314
+ const n = drawerStepCount(layers);
315
+ if (n < DRAWER_STEPS[0] || n > DRAWER_STEPS[1]) {
316
+ add(LayoutIssueCode.Structure, `${at}.layers`, `${n} step${n === 1 ? '' : 's'} — drawers hold ${DRAWER_STEPS[0]} to ${DRAWER_STEPS[1]}, each opened by a heading`);
317
+ }
318
+ if (layers.length && layers[0].kind !== LayoutLayerKind.Heading) add(LayoutIssueCode.Structure, `${at}.layers[0]`, 'the first step opens with its heading');
319
+ layers.forEach((l, j) => {
320
+ const lp = `${at}.layers[${j}]`;
321
+ if (!DRAWER_KINDS.has(l.kind)) add(LayoutIssueCode.Structure, `${lp}.kind`, 'a step holds words and buttons — no photo, gallery, form, marquee or shape');
322
+ if (l.motion?.length) add(LayoutIssueCode.Motion, `${lp}.motion`, "a step's words ride their step — no tracks of their own");
323
+ });
324
+ }
325
+
299
326
  /** The model's page in its own order: the sections as they stand, the dropped ones back at their places. */
300
327
  function originalOrder(sections: ReadonlyArray<LayoutSection>, given: ReadonlyArray<LayoutGivenAway>): LayoutSection[] {
301
328
  const kept = new Set(sections.map(s => s.id));
@@ -409,9 +436,10 @@ function examineLayout(page: LayoutPage, ctx: CheckLayoutContext, carried: Layou
409
436
  const at = `sections[${i}]`;
410
437
  const track = trackOf(s);
411
438
  const kind = s.kind ?? LayoutSectionKind.Content;
412
- const content = kind === LayoutSectionKind.Content;
439
+ const drawers = isDrawers(s);
440
+ const content = kind === LayoutSectionKind.Content || drawers;
413
441
  if (!String(s.id ?? '').trim()) add(LayoutIssueCode.Structure, `${at}.id`, 'a short slug');
414
- if (!inList([LayoutSectionKind.Content, LayoutSectionKind.Inhale], kind)) add(LayoutIssueCode.Value, `${at}.kind`, 'content | inhale (a signature is a content section)');
442
+ if (!inList([LayoutSectionKind.Content, LayoutSectionKind.Inhale, LayoutSectionKind.Drawers], kind)) add(LayoutIssueCode.Value, `${at}.kind`, 'content | inhale (a signature is a content section)');
415
443
  if (!(s.screens >= LIM.screens[0] && s.screens <= LIM.screens[1])) add(LayoutIssueCode.Value, `${at}.screens`, `${LIM.screens[0]}..${LIM.screens[1]}`);
416
444
  if (!(Number.isInteger(s.rows) && s.rows >= LIM.rows[0] && s.rows <= LIM.rows[1])) add(LayoutIssueCode.Value, `${at}.rows`, `a whole number ${LIM.rows[0]}..${LIM.rows[1]}`);
417
445
  if (!(Number.isInteger(track) && track >= 1 && track <= LIM.hold[1])) add(LayoutIssueCode.Value, `${at}.track`, `1..${LIM.hold[1]}`);
@@ -441,6 +469,7 @@ function examineLayout(page: LayoutPage, ctx: CheckLayoutContext, carried: Layou
441
469
  if (layers.some(isPictured) || groundPhoto) add(LayoutIssueCode.Structure, at, 'an inhale has no photo and no gallery');
442
470
  if (s.screens > LIM.inhaleScreens) add(LayoutIssueCode.Structure, `${at}.screens`, `an inhale is 1–${LIM.inhaleScreens} screens`);
443
471
  }
472
+ if (drawers) drawersIssues(s, at, track, !!groundPhoto, ctx.tier, add);
444
473
  const leads = layers.filter(l => l.role === LayoutRole.Lead).length;
445
474
  if (content && leads !== 1) add(LayoutIssueCode.Structure, `${at}.layers`, `${leads} leads — exactly one layer is the lead`);
446
475
  if (!content && leads > 1) add(LayoutIssueCode.Structure, `${at}.layers`, 'an inhale has at most one lead');
@@ -463,8 +492,9 @@ function examineLayout(page: LayoutPage, ctx: CheckLayoutContext, carried: Layou
463
492
  const entering = layers.filter(l => l.enter && l.enter !== LayoutEnter.None && l.enter !== LayoutEnter.Fade);
464
493
  if (entering.length) sectionsWithEnters++;
465
494
  const recipes = new Set(entering.filter(l => l.role !== LayoutRole.Lead).map(l => l.enter));
466
- if (recipes.size > 1) add(LayoutIssueCode.Motion, `${at}.layers`, `the supporting layers enter in ${recipes.size} ways — one entrance per section besides the lead's`);
467
- if (entering.length > LIM.enteringPerSection) add(LayoutIssueCode.Motion, `${at}.layers`, `${entering.length} layers enter — at most ${LIM.enteringPerSection}; let the rest simply be there`);
495
+ // A drawers section's words stand on their step (their arrival as it lands is AW10): the composer drops entrances there.
496
+ if (recipes.size > 1 && !drawers) add(LayoutIssueCode.Motion, `${at}.layers`, `the supporting layers enter in ${recipes.size} ways — one entrance per section besides the lead's`);
497
+ if (entering.length > LIM.enteringPerSection && !drawers) add(LayoutIssueCode.Motion, `${at}.layers`, `${entering.length} layers enter — at most ${LIM.enteringPerSection}; let the rest simply be there`);
468
498
 
469
499
  let rotated = 0;
470
500
  layers.forEach((l, j) => {