Changelog
Consumer-facing release notes for Chaley Walkthrough. Each release records features, fixes and behavior changes relevant to applications using the package. See the README for installation, examples and the complete API reference.
0.1.0 - 2026-11-29
First release without a prerelease identifier, carrying forward the audio-guided walkthrough capabilities introduced in 0.1.0-rc.1.
Release highlights
Audio-synchronized highlights, automatic scrolling and developer-authored captions.
Configurable spotlight/ripple effects and a customizable floating playback controller.
Developer-controlled click and long-press actions, native modal dialog support and independent walkthrough instances.
Framework-independent ES module and browser script builds, TypeScript declarations and no runtime dependencies.
The playback API and runtime behavior are unchanged from 0.1.0-rc.1; existing configurations continue to work.
Documentation
Provide a single developer guide covering installation, configuration, playback, events, actions, dialogs and troubleshooting.
Document all supported customization options and player CSS variables with defaults and examples.
Include React lifecycle, TypeScript, direct script-tag and AI-agent integration guidance.
0.1.0-rc.1 - 2026-11-28
Audio-guided onboarding and product walkthroughs for browser applications. Developers supply a recording and a timeline; Chaley synchronizes the interface with narration and provides visitor playback controls.
Playback and timelines
Synchronize cues to the audio position, with fractional-second timestamps and literal HTML ID targets.
Start, pause, resume, seek, replay and stop walkthroughs through the built-in player or JavaScript API.
Support caption-only cues and audio-only timelines.
Expose playback state, cue changes, completion events and actionable errors.
Clean up media, visual elements and listeners when an instance is destroyed.
Highlights and scrolling
Highlight targets with spotlight or ripple effects and an optional dimmed backdrop.
Customize highlight color, padding, corner radius, backdrop opacity and movement duration.
Override scrolling, effects and transitions for individual cues.
Track target geometry through scrolling, resizing and element replacement.
Scroll off-screen targets into view, including targets in nested scroll containers.
Respect reduced-motion preferences with instant movement/scrolling and disabled ripple animation.
Player and captions
Provide pause/resume, replay, stop, progress seeking and elapsed/total time controls.
Display developer-authored captions with a visitor-controlled caption toggle.
Support four preferred viewport corners and attempt to avoid covering the highlighted target.
Customize player colors, borders, opacity, radius, padding, edge offset and stacking through CSS variables.
Use keyboard-operable controls, visible focus indicators and labelled progress seeking. Escape stops the active tour unless already prevented by the application.
Developer-controlled interactions
Run authored click and synthetic long-press actions without requesting visitor approval.
Allow developers to disable all actions with
allowActions: false.Wait for target visibility, scrolling and highlight readiness before attempting an action.
Limit each action cue to one attempt per run and cancel pending work when playback or target state changes.
Leave action selection to the developer; the library does not filter controls by element type.
Actions use object descriptors such as { type: "click" } or { type: "longpress", holdDuration: 800 }. Seeking does not execute actions or recreate earlier application state. Native disabled-control behavior and browser restrictions on synthetic events still apply. Long-press handlers must support pointer cancellation.
Native dialogs
Keep player controls and highlights above native modal dialogs, including transformed or clipped dialogs in browsers with the Popover API and
:modalsupport.Follow dialog opening, closing, removal and switching during playback or pause.
Return visual layers to the page when the modal closes.
Stop the tour on Escape without closing the application's dialog; application code retains control of dialog lifecycle.
Integration and distribution
Use the same framework-independent API in vanilla JavaScript and browser-based framework applications.
Create independent walkthrough instances with optional start triggers; starting another session stops the previous one, including paused sessions.
Import ES modules with bundled TypeScript declarations, or use the direct browser script build.
Import the stylesheet separately for both highlights and player styling.
Import safely during server rendering; construct instances only in the browser after mounting.
Use the package without runtime dependencies, accounts, hosted services or telemetry. Licensed under MIT.
Compatibility notes
Targets must be unique IDs in the current document. Iframe/shadow-root targeting and cross-page continuation are not supported. Full native-dialog rendering requires the Popover API and :modal; older-browser fallback cannot guarantee transformed/clipped dialog positioning. CommonJS and a dedicated framework wrapper are not included. Consult the README for browser behavior, integration requirements and troubleshooting.
