ngxsmk-datepicker 2.2.6 → 2.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -13,26 +13,27 @@
13
13
  [![npm version](https://img.shields.io/npm/v/ngxsmk-datepicker.svg?style=flat-square&color=6d28d9)](https://www.npmjs.com/package/ngxsmk-datepicker)
14
14
  [![Angular](https://img.shields.io/badge/Angular-17%2B-DD0031.svg?style=flat-square&logo=angular)](https://angular.io/)
15
15
  [![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/NGXSMK/ngxsmk-datepicker/blob/main/LICENSE)
16
+ [![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-toozuuu-orange?style=flat-square&logo=buy-me-a-coffee)](https://buymeacoffee.com/toozuuu)
16
17
  [![Bundle Size](https://img.shields.io/badge/bundle-~127KB-success.svg?style=flat-square)](https://bundlephobia.com/package/ngxsmk-datepicker)
17
18
  [![Zoneless](https://img.shields.io/badge/Zoneless-Ready-blueviolet.svg?style=flat-square)](https://angular.dev/guide/zoneless)
18
19
 
19
20
  **`npm i ngxsmk-datepicker`**
20
21
 
21
- [Explore Live Demo](https://ngxsmk.github.io/ngxsmk-datepicker/) • [API Documentation](https://github.com/NGXSMK/ngxsmk-datepicker/blob/main/projects/ngxsmk-datepicker/docs/API.md) • [Submit Issue](https://github.com/NGXSMK/ngxsmk-datepicker/issues)
22
+ [Explore Live Demo](https://ngxsmk.github.io/ngxsmk-datepicker/) • [Buy me a coffee](https://buymeacoffee.com/toozuuu) • [API Documentation](https://github.com/NGXSMK/ngxsmk-datepicker/blob/main/projects/ngxsmk-datepicker/docs/API.md) • [Submit Issue](https://github.com/NGXSMK/ngxsmk-datepicker/issues)
22
23
 
23
24
  </div>
24
25
 
25
26
  ---
26
27
 
27
- **Last updated:** March 10, 2026 · **Current stable:** v2.2.6
28
+ **Last updated:** March 24, 2026 · **Current stable:** v2.2.11
28
29
 
29
30
  ### **Overview**
30
31
 
31
32
  **ngxsmk-datepicker** is a high-performance, enterprise-ready date and range picker engineered for the modern Angular ecosystem (v17+). Built from the ground up with **Angular Signals**, it delivers a seamless, zoneless-ready experience for both desktop and mobile (Ionic) applications.
32
33
 
33
- > **Stable Release**: `v2.2.6` is live! This release adds full **IANA Timezone Support** for "Today" calculation, resolves a critical bug where "Today" could become unselectable after late-day `minDate` initializations, and ensures high-performance date validation across all configurations.
34
+ > **Stable Release**: `v2.2.11` restores correct **npm** artifacts (compiled `fesm2022/` and types), adds range-mode **`allowSameDay`** for single-day selections, and continues to ship **IANA timezone** support, validation fixes, and strict TypeScript improvements from the v2.2.x line.
34
35
  >
35
- > ⚠️ **Important**: Versions 2.0.10 and 2.0.11 are broken and have been unpublished. Please use v2.2.6 or later.
36
+ > ⚠️ **Important**: Versions 2.0.10 and 2.0.11 are broken and have been unpublished. Please use v2.2.11 or later.
36
37
 
37
38
  ---
38
39
 
@@ -590,7 +591,7 @@ The `locale` input controls all internationalization. It automatically formats m
590
591
 
591
592
  ### **Global Language Support**
592
593
 
593
- ngxsmk-datepicker v2.2.6 now features **full localization synchronization** for:
594
+ ngxsmk-datepicker v2.2.11 now features **full localization synchronization** for:
594
595
 
595
596
  - 🇺🇸 English (`en`)
596
597
  - 🇩🇪 German (`de`)
@@ -849,415 +850,16 @@ We welcome and appreciate contributions from the community! Whether it's reporti
849
850
 
850
851
  For a full list of changes, please refer to the [CHANGELOG.md](https://github.com/NGXSMK/ngxsmk-datepicker/blob/main/CHANGELOG.md) file.
851
852
 
852
- ### **v2.2.6** (Current Stable)
853
-
854
- - 🎉 **Version Update**: Updated to version 2.2.6.
855
- - ✨ **Key Updates**: Optimized loading times, refined mobile header layout, and improved dropdown accessibility.
856
- - ✅ **Stable Release**: Full synchronization of header components with `ViewEncapsulation.None`.
857
-
858
- ### **v1.9.24**
859
-
860
- - 🎉 **Version Update**: Updated to version 1.9.24
861
- - ✅ **Stable Release**: Version 2.2.6 is the current stable version
862
-
863
- ### **v1.9.23**
864
-
865
- - 🐛 **Fixed**: CSS Variables Theming (Issue #84) - CSS variables theming now works when variables are defined in global `:root` selector
866
- - Enhanced CSS selector from `:root` to `:root, :root > body` for higher specificity
867
- - Added `!important` flags to inline styles to ensure they override existing styles
868
- - ThemeBuilderService now properly overrides global stylesheet variables
869
- - Updated documentation to explain the fix and provide guidance
870
- - Resolves issue where theme variables defined in global stylesheets were not being applied
871
-
872
- ### **v1.9.22**
873
-
874
- - 🎉 **Version Update**: Updated to version 1.9.22
875
- - 🐛 **Fixed**: Form control value initialization issue - datepicker now correctly displays month from form control values
876
- - Fixed calendar month display when using Reactive Forms with initial values
877
- - Added proper signal updates and change detection in `writeValue()` method
878
- - 🐛 **Fixed**: Locale week start detection for en-GB and other European locales
879
- - Added fallback logic for locales where `Intl.Locale.weekInfo` is not available
880
- - Now correctly returns Monday (1) for en-GB and other European locales
881
-
882
- ### **v1.9.21**
883
-
884
- - 🎉 **Version Update**: Updated to version 1.9.21
885
- - 📱 **Mobile-Specific Features**: Comprehensive mobile optimization
886
- - Native date picker integration with automatic mobile detection
887
- - Bottom sheet modal with swipe-to-dismiss gestures
888
- - Enhanced touch gestures (double-tap, swipe navigation)
889
- - Haptic feedback support for better mobile UX
890
- - Mobile-optimized animations and keyboard handling
891
- - 🎯 **Advanced Selection Modes**: Extended selection capabilities
892
- - Week selection mode for selecting entire weeks
893
- - Month selection mode for selecting full months
894
- - Quarter selection mode for quarterly selections
895
- - Year selection mode for annual date ranges
896
- - ⏱️ **Enhanced Time Selection**: Improved time picker
897
- - Seconds selection with configurable intervals
898
- - Better time picker UX and controls
899
- - 🏗️ **Code Refactoring**: Improved architecture
900
- - New services: CalendarGenerationService, DisplayFormattingService, DateValidationService
901
- - Better code organization and maintainability
902
- - Reduced component complexity
903
- - ♿ **Accessibility Enhancements**: Better screen reader support
904
- - Improved ARIA live regions
905
- - Enhanced focus management
906
- - Better keyboard navigation
907
- - ⚡ **Performance Optimizations**: Infrastructure improvements
908
- - Lazy loading calendar months with intelligent caching
909
- - Virtual scrolling infrastructure
910
- - Preloading adjacent months
911
- - 🧪 **Test Coverage**: Comprehensive test suite
912
- - 414 tests passing
913
- - New service tests
914
- - Updated component and utility tests
915
- - 🔄 **Backward Compatible**: Full backward compatibility with v1.9.20
916
-
917
- ### **v1.9.20**
918
-
919
- - 🎉 **Version Update**: Updated to version 1.9.20
920
- - 🐛 **Bug Fix (Issue #71)**: Fixed `TypeError: window.matchMedia is not a function` error in test environments (jsdom/Vitest)
921
- - Added error handling for `window.matchMedia` in `applyAnimationConfig()` method
922
- - Component now gracefully handles missing `matchMedia` API in test environments
923
- - Prevents test failures when running with Vitest and jsdom
924
- - ✅ **Test Coverage**: Added comprehensive test coverage for `matchMedia` compatibility scenarios
925
- - 🔄 **Backward Compatible**: Full backward compatibility with v1.9.19
926
-
927
- ### **v1.9.19**
928
-
929
- - 🎉 **Version Update**: Updated to version 1.9.19
930
- - 🎨 **Responsive Layout Redesign**: Complete redesign of demo project layout for all screen sizes (320px to desktop)
931
- - 📱 **Mobile Optimization**: Enhanced mobile experience with improved navbar, sidebar, hero section, and feature grid
932
- - 🧹 **Code Cleanup**: Removed unnecessary comments for cleaner codebase
933
- - 🔧 **Meta Tag Update**: Replaced deprecated `apple-mobile-web-app-capable` with `mobile-web-app-capable`
934
- - 🔄 **Backward Compatible**: Full backward compatibility with v1.9.18
935
-
936
- ### **v1.9.18**
937
-
938
- - 🐛 **Mobile Touch Event Handling**: Fixed touch listener attachment when calendar opens on mobile devices
939
- - Touch listeners now properly attach when calendar first opens, eliminating the need to navigate months first
940
- - Added retry mechanism with multiple attempts to ensure listeners are attached even on slower mobile devices
941
- - Improved timing with double `requestAnimationFrame` calls and multiple retry strategies
942
- - 🎉 **Version Update**: Updated to version 1.9.18
943
- - 🔄 **Backward Compatible**: Full backward compatibility with v1.9.17
944
-
945
- ### **v1.9.17**
946
-
947
- - 🎉 **Calendar Button Visibility Control**: Added `showCalendarButton` input property to show/hide the calendar icon button
948
- - Defaults to `false` for a cleaner, more minimal UI
949
- - When set to `true`, displays the calendar icon button next to the input field
950
- - When set to `false`, users can still open the calendar by clicking the input field
951
- - Perfect for custom UI designs or when using `allowTyping` with custom calendar triggers
952
- - 🎨 **Calendar Button Styling**: Added `calendarBtn` to `DatepickerClasses` for custom styling of the calendar button
953
- - 🔧 **Type Compatibility**: Updated `SignalFormField` type to be fully compatible with Angular 21's `FieldTree<Date, string>` types
954
- - Resolves TypeScript compilation issues when using `[field]` input with Angular 21 Signal Forms
955
- - Maintains full backward compatibility with Angular 17-20
956
- - 🎉 **Version Update**: Updated to version 1.9.17
957
- - 🔄 **Backward Compatible**: Full backward compatibility with v1.9.16
958
- - ✅ **Angular 17-22 Compatible**: Verified compatibility with Angular 17-22 (including Angular 21)
959
-
960
- ### **v1.9.16**
961
-
962
- - 🐛 **Range Mode Previous Month Selection**: Fixed issue where users could not select dates from previous months in range mode when starting with `{ start: null, end: null }`
963
- - 🎉 **Version Update**: Updated to version 1.9.16
964
- - 🔄 **Backward Compatible**: Full backward compatibility with v1.9.15
965
- - ✅ **Angular 17+ Compatible**: Verified compatibility with Angular 17 and up versions
966
-
967
- ### **v1.9.15**
968
-
969
- - 🐛 **Moment Object Binding Fix**: Fixed Moment.js objects not binding correctly with ngModel
970
- - 🐛 **Date Clicks After Navigation**: Fixed dates becoming unclickable after month navigation
971
- - 🎉 **Version Update**: Updated to version 1.9.15
972
- - 🔄 **Backward Compatible**: Full backward compatibility with v1.9.14
973
- - ✅ **Angular 17+ Compatible**: Verified compatibility with Angular 17 and up versions
974
-
975
- ### **v1.9.14**
976
-
977
- - 🐛 **Date Picker Selection Fix**: Fixed date picker selection issues, especially in range mode
978
- - 🐛 **Moment.js Timezone Support**: Fixed timezone offset preservation for Moment.js objects
979
- - 🎉 **Version Update**: Updated to version 1.9.14
980
- - 🔄 **Backward Compatible**: Full backward compatibility with v1.9.13
981
-
982
- ### **v1.9.13**
983
-
984
- - 🐛 **Bug Fixes**: Fixed `valueChange` event emitting null for range mode with ngModel
985
- - 🐛 **Bug Fixes**: Fixed date selection becoming disabled after month navigation in range mode
986
- - 🐛 **Bug Fixes**: Fixed Moment.js object handling in range values and arrays
987
- - 🎉 **Version Update**: Updated to version 1.9.13
988
- - 🔄 **Backward Compatible**: Full backward compatibility with v1.9.12
989
-
990
- ### **v1.9.12**
991
-
992
- - 🎉 **Version Update**: Updated to version 1.9.12
993
- - 🔄 **Backward Compatible**: Full backward compatibility with v1.9.11
994
- - 📚 **Migration Guide**: See [MIGRATION.md](MIGRATION.md) for detailed migration instructions
995
-
996
- ### **v1.9.11**
997
-
998
- - 🐛 **Moment.js Integration**: Fixed critical issue where Moment.js objects with custom date formats would not populate correctly
999
- - Added `isMomentObject()` helper method to safely detect Moment.js instances
1000
- - Enhanced `_normalizeValue()` method to handle Moment.js objects directly
1001
- - Improved `parseCustomDateString()` method for TypeScript compatibility
1002
- - Added comprehensive support for format tokens: YYYY, YY, MM, M, DD, D, hh, h, HH, H, mm, m, ss, s, a, A
1003
- - Maintains full backward compatibility with Date objects, strings, and all other supported formats
1004
- - 🎨 **Custom Format Parser**: Enhanced format token parsing with better TypeScript compatibility
1005
- - 🔍 **Moment.js Detection**: More robust detection of Moment.js objects across different versions
1006
- - 🎮 **Demo Application**: Added working Moment.js integration example with interactive controls
1007
-
1008
- ### **v1.9.10**
1009
-
1010
- - 🐛 **Async Database Value Loading**: Enhanced datepicker to properly handle database values that load asynchronously
1011
- - Added fallback sync mechanism in `ngAfterViewInit` to catch async database loads
1012
- - Added delayed sync checks in `ngOnInit`, `ngOnChanges`, and `ngAfterViewInit`
1013
- - Added sync on calendar open, focus events, and touch events
1014
- - Extended interval sync duration to 30 seconds with 100ms check intervals
1015
- - 🔧 **TypeScript Compilation Error**: Fixed `EffectRef` type error when using Angular 17+ `effect()` API
1016
- - Changed `_fieldEffectDestroy: (() => void) | null` to `_fieldEffectRef: EffectRef | null`
1017
- - Updated effect cleanup to use `effectRef.destroy()` instead of function call
1018
- - Added proper `EffectRef` import from `@angular/core`
1019
- - 🧪 **Test Configuration**: Fixed test configuration for Angular 17+ compatibility
1020
- - Updated karma configuration to work with `@angular/build:karma` builder
1021
- - Simplified karma.conf.js to remove deprecated plugins
1022
- - Updated test script to target correct project
1023
-
1024
- ### **v1.9.9**
1025
-
1026
- - 🐛 **Database Value Population**: Fixed critical issue where datepicker would not populate with values from database when using `[field]` input binding
1027
- - Added `_normalizeValue()` helper method to properly handle all value types
1028
- - Updated field effect and related methods to use `_normalizeValue()` instead of `_normalizeDate()`
1029
- - Fixed issue where string dates from database were not being parsed and displayed correctly
1030
- - Now properly handles Date objects, string dates, range objects, and arrays of dates
1031
-
1032
- ### **v1.9.8**
1033
-
1034
- - 🐛 **Date Selection Reset Issue**: Fixed critical bug where selected dates would reset to today's date when using `[field]` input binding
1035
- - Fixed `applyCurrentTime` to create a new Date object instead of mutating the original
1036
- - Added `_isUpdatingFromInternal` flag to prevent field effect from resetting the value
1037
- - This ensures selected dates are properly stored in the form field
1038
-
1039
- ### **v1.9.7**
1040
-
1041
- - 🐛 **Calendar Population**: Fixed critical issue where datepicker calendar would not populate with dates when opened
1042
- - Fixed issue when multiple datepickers were present in the same form
1043
- - Ensured `generateCalendar()` is called when opening the datepicker via click, touch, or programmatic methods
1044
-
1045
- ### **v1.9.6**
1046
-
1047
- - 🐛 **Multiple Datepicker Management**: Fixed issue where multiple datepickers in the same form would open in the same centered location
1048
- - 🖱️ **Outside Click Detection**: Improved click detection to properly close datepicker when clicking outside
1049
- - 🔄 **Auto-close Other Datepickers**: When opening a datepicker, all other open datepickers in the same form are now automatically closed
1050
- - 📱 **Mobile Datepicker Opening**: Fixed issue where datepicker modal would not open on mobile screens
1051
- - 📱 **Datepicker Closing on Mobile**: Fixed issue where datepicker would open and immediately disappear on mobile devices
1052
- - 👆 **Select Box Cursor**: Added pointer cursor to all select boxes (month, year, hour, minute, AM/PM) in the datepicker
1053
-
1054
- ### **v1.9.5**
1055
-
1056
- - 🔧 **Angular 21+ Signal Forms Type Compatibility**: Fixed TypeScript compilation error with Angular 21+ Signal Forms
1057
- - Fixed `Type '() => string' is not assignable to type 'never'` error when using `[field]` input
1058
- - Updated `SignalFormField` type definition to be compatible with Angular 21's `FieldTree<Date, string>` types
1059
- - Maintains backward compatibility with Angular 17-20 where field input is optional
1060
- - Resolves [#33](https://github.com/NGXSMK/ngxsmk-datepicker/issues/33)
1061
-
1062
- ### **v1.9.4**
1063
-
1064
- - ✨ **Custom Date Format**: New `[displayFormat]` input property to display dates in custom formats
1065
- - Supports format strings like "MM/DD/YYYY hh:mm A"
1066
- - Works with date adapters (date-fns, dayjs, luxon) or built-in simple formatter
1067
- - Supports common format tokens: YYYY, MM, DD, hh, mm, A, etc.
1068
- - Resolves [#31](https://github.com/NGXSMK/ngxsmk-datepicker/issues/31)
1069
- - 🐛 **Time Selection Dropdowns**: Fixed visibility issues with time selection dropdowns
1070
- - Dropdowns now properly display and are not clipped by parent containers
1071
- - Improved z-index handling for time selection dropdowns
1072
- - Removed unnecessary scrollbars from datepicker wrapper
1073
- - Resolves [#32](https://github.com/NGXSMK/ngxsmk-datepicker/issues/32)
1074
-
1075
- ### **v1.9.3**
1076
-
1077
- - ✨ **Time-Only Picker**: New `[timeOnly]` input property to display only time selection without calendar
1078
- - Hides calendar grid and shows only time controls (hour, minute, AM/PM)
1079
- - Automatically enables `showTime` when `timeOnly` is true
1080
- - Perfect for time selection scenarios where date is not needed
1081
- - Value is still a Date object using today's date with selected time
1082
- - Placeholder automatically changes to "Select Time" in time-only mode
1083
- - Resolves [#29](https://github.com/NGXSMK/ngxsmk-datepicker/issues/29)
1084
- - 🎨 **Modern Demo App UI**: Complete redesign of the demo application
1085
- - Modern navbar with glassmorphism effects, search functionality, and improved theme toggle
1086
- - Redesigned sidebar with gradient backgrounds, smooth animations, and visual indicators
1087
- - Enhanced icon sizes and better visual hierarchy
1088
- - Improved responsive design with better mobile experience
1089
- - Automatic system theme detection (dark/light mode preference)
1090
- - Gradient accents, shadows, and modern design patterns throughout
1091
- - 🧪 **Test Suite**: Fixed 25+ failing tests across multiple test files
1092
- - Fixed date utils tests, calendar utils tests, timezone utils tests, edge cases tests
1093
- - Fixed adapters tests, performance utils tests, RTL tests, touch gestures tests
1094
- - Fixed calendar views tests, recurring dates utils tests
1095
- - All 353 tests now pass successfully
1096
-
1097
- ### **v1.9.2**
1098
-
1099
- - 📦 **Bundle Optimization**: Optimized bundle size with improved TypeScript compiler settings
1100
- - Main bundle: ~127KB (source maps excluded from published package)
1101
- - Enhanced tree-shaking with optimized imports and compiler options
1102
- - Added `importsNotUsedAsValues: "remove"` for smaller output
1103
- - Disabled `preserveConstEnums` for better inlining
1104
- - 🔧 **Build Process**:
1105
- - Source maps automatically removed from production builds (saves ~127KB)
1106
- - Improved build scripts with better error handling
1107
- - Enhanced bundle analysis that excludes source maps
1108
- - 📦 **Package Configuration**:
1109
- - Fixed package.json exports to eliminate build warnings
1110
- - Optimized `files` array to exclude unnecessary files
1111
- - Updated exports field for better module resolution
1112
- - 🧪 **Test Configuration**:
1113
- - Added Zone.js polyfills to library test configuration
1114
- - Updated test commands to explicitly target library project
1115
- - Improved test reliability across Angular versions
1116
- - 🐛 **Bug Fixes**:
1117
- - Test suite configuration - added missing Zone.js polyfills for library tests
1118
- - Bundle analysis now correctly excludes source maps from size calculations
1119
- - Build warnings from conflicting export conditions resolved
1120
- - Source map removal script made more resilient for build environments
1121
-
1122
- ### **v1.9.1**
1123
-
1124
- - 🐛 Minor bug fixes and improvements
1125
-
1126
- ### **v1.9.0**
1127
-
1128
- - ✨ **Extension Points & Hooks**: system for customization
1129
- - ⌨️ **Enhanced Keyboard Shortcuts**: Y, N, W keys with custom shortcut support
1130
- - 🎨 **Modern UI/UX**: Improved animations and responsiveness
1131
- - 📚 **API Documentation**: TypeDoc integration
1132
- - 🤖 **Semantic Release**: Automated versioning and publishing
1133
- - 🚀 **Animation Performance**: Optimizations with GPU acceleration
1134
- - 🔍 **Global Search**: Functionality in documentation
1135
- - 📱 **Mobile Playground**: For responsive testing
1136
-
1137
- ### **v1.7.0**
1138
-
1139
- - 🎯 **Signal Forms Support**: Full Angular 21 signal forms integration with writable signals
1140
- - 🎨 **Tailwind Theming**: Added `classes` input for Tailwind CSS and custom class-based theming
1141
- - 🌍 **Localization Improvements**: Added `weekStart` input to override locale-based week start day
1142
- - 📅 **Year Range Configuration**: Added `yearRange` input to customize year dropdown range
1143
- - ♿ **Accessibility Enhancements**: Added customizable aria labels for all interactive elements
1144
- - 🏷️ **Custom Labels**: Added `clearLabel` and `closeLabel` inputs for button customization
1145
- - 🧪 **Comprehensive Test Suite**: Added 56 tests covering all features and edge cases
1146
- - 🐛 **Bug Fixes**: Fixed programmatic value setting and Angular 21 compatibility tests
1147
- - 🧹 **Code Cleanup**: Removed unnecessary files, folders, and comments from codebase
1148
- - 📝 **Test Improvements**: Enhanced test coverage with comprehensive feature tests
1149
- - 🔧 **Test Fixes**: Fixed disabled date tests and integration test issues
1150
- - 🎯 **Code Quality**: Improved code maintainability by removing redundant comments
1151
-
1152
- ### **v1.6.0**
1153
-
1154
- - 🎯 **Programmatic Value Setting**: Added `value` input property to set datepicker value programmatically, perfect for server-side API data integration
1155
- - 🎨 **Enhanced Demo App**: Completely redesigned demo application with TokiForge-inspired modern UI and API documentation style
1156
- - 🚀 **GitHub Pages Deployment**: Added automated GitHub Pages deployment with GitHub Actions workflow
1157
- - 📚 **Improved Documentation**: Enhanced demo app with comprehensive examples, code snippets, and interactive documentation
1158
- - 🔧 **Build Optimizations**: Updated CSS budget limits and improved build configuration
1159
- - 🎨 **Modern UI Design**: Beautiful gradient themes, glass-morphism effects, and improved visual hierarchy
1160
- - 📱 **Better UX**: Enhanced navigation, code copying functionality, and responsive design
1161
- - 🛠️ **Developer Experience**: Improved build scripts and deployment automation
1162
-
1163
- ### **v1.5.0**
1164
-
1165
- - 🚀 **Angular 21 Support**: Full compatibility with Angular 21 RC versions
1166
- - ⚡ **Zone-less Support**: Works without zone.js for improved performance
1167
- - 🧪 **Comprehensive Tests**: Added extensive test suite covering all features
1168
- - 🔧 **Angular 17-21 Compatibility**: Supports Angular versions 17, 18, 19, 20, and 21
1169
- - 📦 **Dependency Updates**: Updated to Angular 21 RC and latest build tools
1170
- - 🧹 **Code Cleanup**: Removed unnecessary documentation files and comments
1171
- - 📝 **Improved Keywords**: Added version-specific keywords for better discoverability
1172
- - 🎯 **Peer Dependencies**: Updated to support Angular 17-21 range
1173
-
1174
- ### **v1.4.16**
1175
-
1176
- - 📚 **Documentation**: Comprehensive README updates with latest features and improvements
1177
- - 🎯 **Version Management**: Updated version references across all package files
1178
- - 📖 **User Experience**: Enhanced documentation with better examples and API references
1179
- - 🔧 **Maintenance**: Improved project structure and documentation consistency
1180
- - 📦 **Package Updates**: Synchronized version numbers across all package.json files
1181
- - 🎨 **Documentation**: Added detailed bug fixes and performance metrics
1182
- - 🚀 **Developer Experience**: Better setup instructions and contribution guidelines
1183
-
1184
- ### **v1.4.15**
1185
-
1186
- - 🐛 **Bug Fixes**: Fixed 10 critical bugs including change detection issues and date comparison errors
1187
- - ⚡ **Performance**: Enhanced OnPush change detection with proper triggers
1188
- - 🎯 **Memory Management**: Added cache size limits to prevent memory leaks
1189
- - 🔧 **Type Safety**: Improved TypeScript types and null safety
1190
- - 📱 **Mobile Optimization**: Enhanced mobile responsive design with touch-friendly interactions
1191
- - 🎨 **UI Improvements**: Better visual feedback and accessibility
1192
- - 🚀 **Build Optimization**: Improved build configuration and tree-shaking
1193
- - 🧹 **Code Quality**: Enhanced code maintainability and performance
1194
-
1195
- ### **v1.4.13**
1196
-
1197
- - 🚫 **Disabled Dates**: New `disabledDates` input property to disable specific dates
1198
- - 🎯 **Date String Support**: Supports both string dates (MM/DD/YYYY) and Date objects
1199
- - 💡 **Holiday Tooltips**: Hover over holiday dates to see holiday names as tooltips
1200
- - 🎨 **Enhanced UX**: Better visual feedback for disabled dates
1201
- - 📦 **Improved API**: More flexible date disabling options
1202
-
1203
- ### **v1.4.12**
1204
-
1205
- - ⚡ **Instant Navigation**: Removed all animations for lightning-fast arrow navigation
1206
- - 🚫 **Smart Back Arrow**: Automatically disables back arrow when minDate is set
1207
- - 🎯 **Better UX**: Prevents navigation to invalid date ranges
1208
- - 🗓️ **Previous Month Days**: Now shows last few days of previous month for better context
1209
- - 🎨 **Enhanced Styling**: Improved visual hierarchy with better day cell sizing
1210
- - 🖱️ **Interactive Previous Days**: Previous month days are now selectable and interactive
1211
- - 🧹 **Code Optimization**: Cleaner, more maintainable codebase
1212
- - 📦 **Smaller Bundle**: Reduced CSS and JavaScript footprint
1213
-
1214
- ### **v1.4.11**
1215
-
1216
- - 🎨 **UI Improvements**: Enhanced day cell sizing and visual hierarchy
1217
- - 🖱️ **Better Interactions**: Improved click and hover states for previous month days
1218
-
1219
- ### **v1.4.10**
1220
-
1221
- - 🗓️ **Previous Month Display**: Added last few days of previous month for better context
1222
- - 🎯 **Smart Selection**: Previous month days are now selectable and interactive
1223
-
1224
- ### **v1.4.9**
1225
-
1226
- - 🚫 **Range Fix**: Fixed range highlighting on empty/previous month days
1227
- - 🎨 **Styling Updates**: Improved visual consistency across all day types
1228
-
1229
- ### **v1.4.8**
1230
-
1231
- - ⚡ **Performance**: Optimized calendar generation and rendering
1232
- - 🧹 **Code Cleanup**: Removed unused animation code and improved maintainability
1233
-
1234
- ### **v1.4.6**
1235
-
1236
- - 🔧 **Fixed Import Paths**: Corrected package exports for proper module resolution
1237
- - 📦 **Better Package Structure**: Improved npm package configuration
1238
-
1239
- ### **v1.4.5**
1240
-
1241
- - 🐛 Bug fixes and stability improvements
1242
- - 🔧 Enhanced error handling
1243
- - 📱 Improved mobile responsiveness
1244
- - 🎨 Minor UI/UX improvements
1245
-
1246
- ### **v1.4.0**
853
+ ### **v2.2.11** (Current Stable)
1247
854
 
1248
- - Performance optimizations (30% smaller bundle)
1249
- - OnPush change detection strategy
1250
- - Memoized date comparisons
1251
- - ✅ Tree-shakable architecture
1252
- - ✅ Enhanced TypeScript support
1253
- - ✅ Improved accessibility
1254
- - ✅ Better mobile responsiveness
855
+ - 🎉 **Version Update**: Updated to version 2.2.11.
856
+ - 📦 **npm**: Published tarballs again include `fesm2022/` and TypeScript declarations (release pipeline runs `ng build` before publish).
857
+ - 📅 **Range mode**: Optional `allowSameDay` for single-day ranges (double-click same date or close popover after one day).
858
+ - ✅ **Prior fixes**: IANA timezone “Today”, `minDate` normalization, strict typings, and UI polish from v2.2.6 remain included.
1255
859
 
1256
- ### **Previous Versions**
860
+ ### **Earlier Versions**
1257
861
 
1258
- - v1.3.5: Initial release with core features
1259
- - v1.3.4: Bug fixes and improvements
1260
- - v1.3.3: Holiday provider integration
862
+ For older version details, please refer to the [full CHANGELOG.md](https://github.com/NGXSMK/ngxsmk-datepicker/blob/main/CHANGELOG.md).
1261
863
 
1262
864
  ## **🎨 Theming with TokiForge**
1263
865
 
package/docs/API.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  This document describes the stable public API of ngxsmk-datepicker with comprehensive real-world examples. APIs marked as **stable** are guaranteed to remain backward-compatible within the same major version. APIs marked as **experimental** may change in future releases.
4
4
 
5
- **Version**: 2.2.6+ | **Last updated**: March 10, 2026
5
+ **Version**: 2.2.8+ | **Last updated**: March 21, 2026
6
6
 
7
7
  ## Stable vs experimental
8
8
 
@@ -1,6 +1,6 @@
1
1
  # Version Compatibility Matrix
2
2
 
3
- **Last updated:** March 10, 2026 · **Current stable:** v2.2.6
3
+ **Last updated:** March 21, 2026 · **Current stable:** v2.2.8
4
4
 
5
5
  This document provides comprehensive compatibility information for `ngxsmk-datepicker` across different Angular versions, Zone.js configurations, and SSR/CSR setups.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Integration Guides
2
2
 
3
- **Last updated:** March 10, 2026 · **Current stable:** v2.2.6
3
+ **Last updated:** March 21, 2026 · **Current stable:** v2.2.8
4
4
 
5
5
  This document provides integration examples for using ngxsmk-datepicker with popular frameworks and libraries.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Ionic Framework Integration Guide
2
2
 
3
- **Last updated:** March 10, 2026 · **Current stable:** v2.2.6
3
+ **Last updated:** March 21, 2026 · **Current stable:** v2.2.8
4
4
 
5
5
  This guide provides step-by-step instructions for integrating ngxsmk-datepicker with Ionic Angular applications.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Ionic Integration Testing Guide
2
2
 
3
- **Last updated:** March 10, 2026 · **Current stable:** v2.2.6
3
+ **Last updated:** March 21, 2026 · **Current stable:** v2.2.8
4
4
 
5
5
  This document provides comprehensive testing instructions for verifying ngxsmk-datepicker compatibility with Ionic Framework.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Locale Packs & i18n Contributor Guide
2
2
 
3
- **Last updated:** March 10, 2026 · **Current stable:** v2.2.6
3
+ **Last updated:** March 21, 2026 · **Current stable:** v2.2.8
4
4
 
5
5
  Guide for adding locale support and contributing translations to ngxsmk-datepicker.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Plugin Architecture
2
2
 
3
- **Last updated:** March 10, 2026 · **Current stable:** v2.2.6
3
+ **Last updated:** March 21, 2026 · **Current stable:** v2.2.8
4
4
 
5
5
  ngxsmk-datepicker features a powerful **plugin architecture** that allows you to extend and customize the component's behavior without modifying its core code. This architecture is built on a **hook-based system** that provides extension points throughout the component's lifecycle.
6
6
 
package/docs/SEO.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # SEO Optimization Guide
2
2
 
3
- **Last updated:** March 10, 2026 · **Current stable:** v2.2.6
3
+ **Last updated:** March 21, 2026 · **Current stable:** v2.2.8
4
4
 
5
5
  This document outlines the SEO optimizations implemented for ngxsmk-datepicker to improve search engine visibility and discoverability.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Server-Side Rendering (SSR) Example
2
2
 
3
- **Last updated:** March 10, 2026 · **Current stable:** v2.2.6
3
+ **Last updated:** March 21, 2026 · **Current stable:** v2.2.8
4
4
 
5
5
  Complete example demonstrating ngxsmk-datepicker with Angular Universal (SSR).
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Theme Tokens & CSS Custom Properties
2
2
 
3
- **Last updated:** March 10, 2026 · **Current stable:** v2.2.6
3
+ **Last updated:** March 21, 2026 · **Current stable:** v2.2.8
4
4
 
5
5
  Complete reference for all CSS custom properties (CSS variables) available in ngxsmk-datepicker.
6
6
 
package/docs/TIMEZONE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Timezone Support
2
2
 
3
- **Last updated:** March 10, 2026 · **Current stable:** v2.2.6
3
+ **Last updated:** March 21, 2026 · **Current stable:** v2.2.8
4
4
 
5
5
  ## Overview
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Extension Points and Hooks
2
2
 
3
- **Last updated:** March 10, 2026 · **Current stable:** v2.2.6
3
+ **Last updated:** March 21, 2026 · **Current stable:** v2.2.8
4
4
 
5
5
  ngxsmk-datepicker provides comprehensive extension points through the `hooks` input, allowing you to customize rendering, validation, keyboard shortcuts, formatting, and event handling.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Signal Forms Integration
2
2
 
3
- **Last updated:** March 10, 2026 · **Current stable:** v2.2.6
3
+ **Last updated:** March 21, 2026 · **Current stable:** v2.2.8
4
4
 
5
5
  This guide covers using ngxsmk-datepicker with Angular 21+ Signal Forms API.
6
6
 
package/docs/signals.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Signals Integration Guide
2
2
 
3
- **Last updated:** March 10, 2026 · **Current stable:** v2.2.6
3
+ **Last updated:** March 21, 2026 · **Current stable:** v2.2.8
4
4
 
5
5
  ngxsmk-datepicker is fully compatible with Angular Signals, providing seamless integration with both traditional reactive forms and modern signal-based patterns.
6
6
 
package/docs/ssr.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Server-Side Rendering (SSR) Guide
2
2
 
3
- **Last updated:** March 10, 2026 · **Current stable:** v2.2.6
3
+ **Last updated:** March 21, 2026 · **Current stable:** v2.2.8
4
4
 
5
5
  ngxsmk-datepicker is fully compatible with Angular Universal and server-side rendering. This guide covers SSR setup, best practices, and troubleshooting.
6
6