v0.0.3 - Enhanced Documentation with Interactive Examples
What's New in v0.0.3
This release significantly enhances the documentation with interactive examples and comprehensive API reference.
New Documentation Pages
馃摎 Examples Page
Interactive demonstrations showcasing @mdsv/arc's key features:
- TransitionDemo - Selectable transition types (fade, slide, scale, material) with live preview
- NestedRoutesDemo - Persistent layouts with sidebar pattern showing how layouts can have both static and transitioning sections
- DynamicParamsDemo - Route parameters in action with user and product detail pages
- DirectionDemo - Direction-aware transitions that slide left for forward navigation and right for backward
馃摉 API Reference Page
Complete documentation of all public exports:
- Core Router API (
createRouter,Routercomponent) - Navigation utilities (
navigate,isActiveLink, route state) - View Transitions API (presets, direction detection, custom transitions)
- Helper utilities (
Loader,searchParams,Status,countProgress) - TypeScript types with usage examples
Bug Fixes
- Fixed scale transition not working in TransitionDemo (was hardcoded to fly transition)
Documentation Improvements
- All demos are self-contained and don't affect browser URL
- Smooth visual transitions using Svelte's built-in transition system
- Code snippets included with each example for easy reference
- Enhanced navigation structure
Links
- Live Documentation: https://mdrv.github.io/arc/
- Examples: https://mdrv.github.io/arc/examples
- API Reference: https://mdrv.github.io/arc/api
Technical Details
- 54 files changed: 2,830 insertions, 706 deletions
- 15 new demo component files
- OpenSpec change proposal archived
Full Changelog: v0.0.2...v0.0.3