All notable changes to this project will be documented in this file.
- 60fps animations: Optimized rendering with
requestAnimationFrameand CSS transforms - Memory optimization: Proper cleanup of event listeners and animation frames
- React.memo: Memoized component to prevent unnecessary re-renders
- useCallback/useMemo: Optimized hook dependencies for better performance
- ARIA support: Added
aria-labelandaria-labelledbyprops - Keyboard navigation: Press Escape key to close action sheet
- Focus management: Automatic focus handling when opening/closing
- Screen reader support: Proper semantic HTML with role="dialog"
- Better default styles: Modern design with improved border radius and shadows
- CSS backdrop-filter: Beautiful blur effect for background overlay
- Improved animations: Smoother transitions with cubic-bezier easing
- Responsive design: Better mobile experience
- TypeScript 5.x: Updated to latest TypeScript with strict mode
- Modern React: Support for React 18+ with latest hooks patterns
- Better type definitions: Improved TypeScript support with generic types
- ESLint & Prettier: Code quality tools configured
- Modern build system: Updated Rollup configuration
- Updated dependencies: All packages updated to latest versions
- Modern ES modules: ESM support with proper tree-shaking
- Peer dependencies: Support for React 16.8+ (hooks support)
- Bundle size: Optimized bundle with zero runtime dependencies
- React version requirement: Now requires React 16.8+ (for hooks support)
- TypeScript: Better type definitions may require type updates
- Props changes:
- Added accessibility props (
aria-label,aria-labelledby) - Updated default transition timings for better performance
- Added accessibility props (
- Build output: ES modules format with better tree-shaking
- Comprehensive demo: Four different action sheet examples
- Interactive playground: Test all features and customizations
- Modern UI: Beautiful gradient design with responsive layout
- Feature showcase: Performance, accessibility, and customization demos
- Fixed memory leaks in animation handling
- Improved touch/mouse event handling
- Better edge case handling for dragging gestures
- Fixed focus management issues
- Complete rewrite: Comprehensive API documentation
- Usage examples: Multiple real-world examples
- Migration guide: Step-by-step migration from v1.x
- Performance tips: Best practices for optimal performance
- Accessibility guide: How to make your action sheets accessible
- Basic action sheet functionality
- Touch and mouse drag support
- Background tap to close
- Customizable styling
- TypeScript support
For older versions, please check the git history.