We are pleased to announceCoreUI PRO for React v5.21.0 — a comprehensive release that introduces enhanced date picker functionality with input delay options, improved accessibility features, performance optimizations, and dependency updates for better stability and security.
Speed up your responsive apps and websites with fully-featured, ready-to-use open-source admin panel templates—free to use and built for efficiency.
To update your project toCoreUI PRO for React v5.21.0, follow these steps:
Open yourpackage.json.
Update the following dependencies:
@coreui/react-pro to5.21.0
@coreui/coreui-pro to5.20.0
Save the file.
Run your package manager:
npm:npm install
yarn:yarn install
🚀 What’s New
✨ New Features
CDatePicker & CDateRangePicker & CTimePicker
Input Change Delay: AddedinputOnChangeDelay prop with 750ms default for better user experience
Reduces excessive API calls during manual input
Configurable delay timing for different use cases
Improved performance for real-time validation scenarios
Better handling of user typing patterns
// Customize input delay for different scenarios<CDatePickerinputOnChangeDelay={1000}/>// Faster response for simple validation<CDateRangePickerinputOnChangeDelay={500}/>// Use default 750ms delay<CTimePicker/>
Debounced Input Handling: Reduces unnecessary onChange events while users are typing
API Call Optimization: Prevents excessive API requests during manual date entry
Configurable Timing: Developers can adjust delay based on their specific requirements
Performance Benefits: Improved responsiveness in data-heavy applications
Accessibility Enhancements
Enhanced accessibility features include:
Focus Trap Implementation: Proper focus management in modal contexts
Keyboard Navigation: Improved arrow key and tab navigation
Screen Reader Support: Better ARIA labels and announcements
WCAG 2.1 Compliance: Enhanced color contrast and interaction patterns
💡 Migration Notes
New Props
The following new prop is available for date and time picker components:
// Date Picker with custom input delay<CDatePickerinputOnChangeDelay={1000}//Custom1-seconddelay//...otherprops/>// Time Picker with default delay<CTimePickerinputOnChangeDelay={750}//Default750msdelay//...otherprops/>// Date Range Picker with faster response<CDateRangePickerinputOnChangeDelay={250}//Quick250msdelay//...otherprops/>
No Breaking Changes
All changes are backward compatible. Existing date picker implementations will continue to work without modifications while benefiting from the new input delay functionality with sensible defaults.
📖 Technical Details
TheinputOnChangeDelay feature is implemented with:
Optimized debouncing mechanism for smooth user interactions
Proper cleanup of pending timeouts during component lifecycle
Integration with existing validation and formatting logic
Support for all date and time picker variants
Memory-efficient implementation with minimal overhead
Focus Trap Implementation
The enhanced focus management provides:
Automatic focus trapping within date picker modals
Proper focus restoration when closing components
Support for escape key handling
Integration with existing keyboard navigation
Upgrade to CoreUI PRO for React v5.21.0 today to provide your users with enhanced date and time selection experiences. This release demonstrates our commitment to continuously improving user interface components with thoughtful, performance-focused features.
📚 Learn More
For detailed documentation and implementation examples, visit: