v3.0.3 — Angular Component Fixes, showOtherMonths, Responsive Container Control & Ionic 8 Enhancements
Release v3.0.3
ngxsmk-datepicker v3.0.3 brings comprehensive Angular Material datepicker issue resolutions, new grid display controls, fixed-container positioning support, full Ionic 8 mobile safe-area insets, and enhanced accessibility compliance.
What's New & Changed
1. Adjacent Month Days (showOtherMonths)
- Added
[showOtherMonths]="true"input option to display trailing and leading days from adjacent months in the 6-row calendar grid. - Adjacent month cells are dimmed (
opacity: 0.45) and styled with.ngxsmk-other-month.
2. Disable Responsive Overrides ([responsive])
- Added
[responsive]="false"input option (andresponsive?: booleaninDatepickerConfig). - Allows consumers to disable viewport
@media (max-width: ...)overrides under.ngxsmk-no-responsivefor fixed-width inline and sidebar container embedding (#299).
3. Full Year Selection & Auto-Close Fixes
- Updated
mode="year"logic to select fullJan 1 - Dec 31date ranges. - Fixed disabled year calculations against
minDate/maxDatebounds and auto-close execution across period selection modes (year,month,quarter,week).
4. Resolutions for 9 Angular Components Issues
- Time Preservation (#30181): Preserves active hours and minutes when selecting new date cells in date+time mode.
- WCAG 1.3.1 Weekday Headers (#31480): Added
role="columnheader"and full localized day namearia-labels on weekday header elements. - Range Start ARIA Announcements (#23442): Audio ARIA live region announcement (
startDateSelected) when selecting range start dates. - iOS Safari Background Scroll Lock (#14938): Automatic body scroll lock (
.ngxsmk-scroll-locked) on touch devices when modal overlays are active. - External Reset Selection Clearing (#29877): Immediate clearing of memoized cell selection highlights when external forms reset values to
null. - DST Hour Mapping (#31803): Safe time option generation during Daylight Saving Time (DST) spring-forward and fall-back transitions.
- Range Incomplete Form Validation (#31836): Emits
nullto reactive forms for incomplete ranges to enforce strictValidators.requiredrules. - Runtime i18n Re-evaluation (#31928): Immediate signal updates on runtime
localeinput changes.
5. Ionic 8 & Mobile Touch Optimization
- Added WebKit
env(safe-area-inset-top)andenv(safe-area-inset-bottom)to mobile popover sheets. - Automatically inherits
--ion-color-primaryand--ion-background-colorCSS variables inside Ionic applications.
Installation
npm install ngxsmk-datepicker@3.0.3