ngxsmk-datepicker 1.4.6 β†’ 1.4.8

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
@@ -252,13 +252,24 @@ We welcome and appreciate contributions from the community! Whether it's reporti
252
252
 
253
253
  ## **πŸ“„ Changelog**
254
254
 
255
- ### **v1.4.6** (Latest)
255
+ ### **v1.4.8** (Latest)
256
+ - πŸ“… **Previous Month Days**: Now shows last few days of previous month for better context
257
+ - 🎯 **Smart Selection**: Previous month days are selectable when not disabled by minDate/maxDate
258
+ - 🎨 **Visual Improvements**: Better distinction between current and previous month days
259
+ - πŸ”§ **Range Selection**: Previous month days can be part of date ranges when valid
260
+ - πŸš€ **Enhanced UX**: More intuitive calendar navigation and selection
261
+
262
+ ### **v1.4.7**
256
263
  - ⚑ **Instant Navigation**: Removed all animations for lightning-fast arrow navigation
257
264
  - 🚫 **Smart Back Arrow**: Automatically disables back arrow when minDate is set
258
265
  - 🎯 **Better UX**: Prevents navigation to invalid date ranges
259
266
  - 🧹 **Code Optimization**: Cleaner, more maintainable codebase
260
267
  - πŸ“¦ **Smaller Bundle**: Reduced CSS and JavaScript footprint
261
268
 
269
+ ### **v1.4.6**
270
+ - πŸ”§ **Fixed Import Paths**: Corrected package exports for proper module resolution
271
+ - πŸ“¦ **Better Package Structure**: Improved npm package configuration
272
+
262
273
  ### **v1.4.5**
263
274
  - πŸ› Bug fixes and stability improvements
264
275
  - πŸ”§ Enhanced error handling
@@ -7,7 +7,7 @@ A modern, powerful, and fully customizable date and date-range picker component
7
7
  - **NPM Package**: [ngxsmk-datepicker](https://www.npmjs.com/package/ngxsmk-datepicker)
8
8
  - **GitHub Repository**: [https://github.com/toozuuu/ngxsmk-datepicker](https://github.com/toozuuu/ngxsmk-datepicker)
9
9
  - **Live Demo**: [https://stackblitz.com/~/github.com/toozuuu/ngxsmk-datepicker](https://stackblitz.com/~/github.com/toozuuu/ngxsmk-datepicker)
10
- - **Version**: 1.4.6
10
+ - **Version**: 1.4.8
11
11
  - **License**: MIT
12
12
  - **Author**: Sachin Dilshan
13
13
 
@@ -225,13 +225,24 @@ We welcome and appreciate contributions from the community! Please see our [Cont
225
225
 
226
226
  ## πŸ“„ Changelog
227
227
 
228
- ### v1.4.6 (Latest)
228
+ ### v1.4.8 (Latest)
229
+ - πŸ“… **Previous Month Days**: Now shows last few days of previous month for better context
230
+ - 🎯 **Smart Selection**: Previous month days are selectable when not disabled by minDate/maxDate
231
+ - 🎨 **Visual Improvements**: Better distinction between current and previous month days
232
+ - πŸ”§ **Range Selection**: Previous month days can be part of date ranges when valid
233
+ - πŸš€ **Enhanced UX**: More intuitive calendar navigation and selection
234
+
235
+ ### v1.4.7
229
236
  - ⚑ **Instant Navigation**: Removed all animations for lightning-fast arrow navigation
230
237
  - 🚫 **Smart Back Arrow**: Automatically disables back arrow when minDate is set
231
238
  - 🎯 **Better UX**: Prevents navigation to invalid date ranges
232
239
  - 🧹 **Code Optimization**: Cleaner, more maintainable codebase
233
240
  - πŸ“¦ **Smaller Bundle**: Reduced CSS and JavaScript footprint
234
241
 
242
+ ### v1.4.6
243
+ - πŸ”§ **Fixed Import Paths**: Corrected package exports for proper module resolution
244
+ - πŸ“¦ **Better Package Structure**: Improved npm package configuration
245
+
235
246
  ### v1.4.5
236
247
  - πŸ› Bug fixes and stability improvements
237
248
  - πŸ”§ Enhanced error handling
@@ -211,6 +211,7 @@ declare class NgxsmkDatepickerComponent implements OnInit, OnChanges, OnDestroy,
211
211
  private generateDropdownOptions;
212
212
  changeMonth(delta: number): void;
213
213
  isSameDay(d1: Date | null, d2: Date | null): boolean;
214
+ isCurrentMonth(day: Date | null): boolean;
214
215
  isInRange(d: Date | null): boolean;
215
216
  ngOnDestroy(): void;
216
217
  static Ι΅fac: i0.Ι΅Ι΅FactoryDeclaration<NgxsmkDatepickerComponent, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngxsmk-datepicker",
3
- "version": "1.4.6",
3
+ "version": "1.4.8",
4
4
  "description": "A lightweight, customizable, and easy-to-use datepicker and date range picker for Angular applications.",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -7,7 +7,7 @@ A modern, powerful, and fully customizable date and date-range picker component
7
7
  - **NPM Package**: [ngxsmk-datepicker](https://www.npmjs.com/package/ngxsmk-datepicker)
8
8
  - **GitHub Repository**: [https://github.com/toozuuu/ngxsmk-datepicker](https://github.com/toozuuu/ngxsmk-datepicker)
9
9
  - **Live Demo**: [https://stackblitz.com/~/github.com/toozuuu/ngxsmk-datepicker](https://stackblitz.com/~/github.com/toozuuu/ngxsmk-datepicker)
10
- - **Version**: 1.4.6
10
+ - **Version**: 1.4.8
11
11
  - **License**: MIT
12
12
  - **Author**: Sachin Dilshan
13
13
 
@@ -225,13 +225,24 @@ We welcome and appreciate contributions from the community! Please see our [Cont
225
225
 
226
226
  ## πŸ“„ Changelog
227
227
 
228
- ### v1.4.6 (Latest)
228
+ ### v1.4.8 (Latest)
229
+ - πŸ“… **Previous Month Days**: Now shows last few days of previous month for better context
230
+ - 🎯 **Smart Selection**: Previous month days are selectable when not disabled by minDate/maxDate
231
+ - 🎨 **Visual Improvements**: Better distinction between current and previous month days
232
+ - πŸ”§ **Range Selection**: Previous month days can be part of date ranges when valid
233
+ - πŸš€ **Enhanced UX**: More intuitive calendar navigation and selection
234
+
235
+ ### v1.4.7
229
236
  - ⚑ **Instant Navigation**: Removed all animations for lightning-fast arrow navigation
230
237
  - 🚫 **Smart Back Arrow**: Automatically disables back arrow when minDate is set
231
238
  - 🎯 **Better UX**: Prevents navigation to invalid date ranges
232
239
  - 🧹 **Code Optimization**: Cleaner, more maintainable codebase
233
240
  - πŸ“¦ **Smaller Bundle**: Reduced CSS and JavaScript footprint
234
241
 
242
+ ### v1.4.6
243
+ - πŸ”§ **Fixed Import Paths**: Corrected package exports for proper module resolution
244
+ - πŸ“¦ **Better Package Structure**: Improved npm package configuration
245
+
235
246
  ### v1.4.5
236
247
  - πŸ› Bug fixes and stability improvements
237
248
  - πŸ”§ Enhanced error handling