You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+15
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,20 @@
1
1
# Changelog
2
2
3
+
### v3.5.0
4
+
* added `fixedHeight` option, allows you to have equal weeks number in every month
5
+
* added method `disableDate`, allows you to disabled one or multiple dates with datepicker API
6
+
* added prop `disabledDates` - it is a Set which holds all disabled dates
7
+
* added possibility to pass `{silent: true}` to `update` and `setCurrentView` methods, [#583](https://github.com/t1m0n/air-datepicker/issues/568)
8
+
* changed `update` method - now if you pass `selectedDates` then calendar will keep selected only those dates
9
+
* fixed selecting time on same date when `range: true`, [#568](https://github.com/t1m0n/air-datepicker/issues/568)
10
+
* fixed date conversion to local date when using strings, e.g `selectDate('2024-03-05')`[#589](https://github.com/t1m0n/air-datepicker/issues/589)
11
+
* fixed localization generation, thanks to [hreyeslo](https://github.com/hreyeslo) in [#524](https://github.com/t1m0n/air-datepicker/pull/524)
12
+
* fixed type definition for `clear` method, thanks to [ahmetzambak](https://github.com/ahmetzambak) in [#591](https://github.com/t1m0n/air-datepicker/pull/591)
13
+
* fixed German translation for "clear", thanks to [pbek](https://github.com/pbek) in [#582](https://github.com/t1m0n/air-datepicker/pull/582)
14
+
* added Slovenian locale, thanks to [carliblaz](https://github.com/carliblaz) in [#569](https://github.com/t1m0n/air-datepicker/pull/569)
15
+
* added Basque locale, thanks to [ikerib](https://github.com/ikerib) in [#529](https://github.com/t1m0n/air-datepicker/pull/529)
16
+
* added Norwegian locale, thanks to [MortenSpjotvoll](https://github.com/MortenSpjotvoll) in [#521](https://github.com/t1m0n/air-datepicker/pull/521)
17
+
3
18
### v3.4.0
4
19
* added new options `onFocus` and `onBeforeSelect` grant you more control over range selection behaviour and more [#526](https://github.com/t1m0n/air-datepicker/issues/526)
5
20
* added new method `getViewDates()` allows you to get all dates that should be currently displayed in calendar [#536](https://github.com/t1m0n/air-datepicker/issues/536)
Copy file name to clipboardexpand all lines: README.md
+15-35
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,3 @@
1
-
> :tada: New version released! :tada:
2
-
3
1
# Air Datepicker
4
2
5
3
Lightweight, **dependency-free**, fast, customizable datepicker written in pure JavaScript. Works in all modern browsers which supports native css variables.
@@ -26,6 +24,21 @@ new AirDatepicker('#el' [, options]);
26
24
27
25
## Recent updates
28
26
27
+
### v3.5.0
28
+
* added `fixedHeight` option, allows you to have equal weeks number in every month
29
+
* added method `disableDate`, allows you to disabled one or multiple dates with datepicker API
30
+
* added prop `disabledDates` - it is a Set which holds all disabled dates
31
+
* added possibility to pass `{silent: true}` to `update` and `setCurrentView` methods, [#583](https://github.com/t1m0n/air-datepicker/issues/568)
32
+
* changed `update` method - now if you pass `selectedDates` then calendar will keep selected only those dates
33
+
* fixed selecting time on same date when `range: true`, [#568](https://github.com/t1m0n/air-datepicker/issues/568)
34
+
* fixed date conversion to local date when using strings, e.g `selectDate('2024-03-05')`[#589](https://github.com/t1m0n/air-datepicker/issues/589)
35
+
* fixed localization generation, thanks to [hreyeslo](https://github.com/hreyeslo) in [#524](https://github.com/t1m0n/air-datepicker/pull/524)
36
+
* fixed type definition for `clear` method, thanks to [ahmetzambak](https://github.com/ahmetzambak) in [#591](https://github.com/t1m0n/air-datepicker/pull/591)
37
+
* fixed German translation for "clear", thanks to [pbek](https://github.com/pbek) in [#582](https://github.com/t1m0n/air-datepicker/pull/582)
38
+
* added Slovenian locale, thanks to [carliblaz](https://github.com/carliblaz) in [#569](https://github.com/t1m0n/air-datepicker/pull/569)
39
+
* added Basque locale, thanks to [ikerib](https://github.com/ikerib) in [#529](https://github.com/t1m0n/air-datepicker/pull/529)
40
+
* added Norwegian locale, thanks to [MortenSpjotvoll](https://github.com/MortenSpjotvoll) in [#521](https://github.com/t1m0n/air-datepicker/pull/521)
41
+
29
42
### v3.4.0
30
43
* added new options `onFocus` and `onBeforeSelect` grant you more control over range selection behaviour and more [#526](https://github.com/t1m0n/air-datepicker/issues/526)
31
44
* added new method `getViewDates()` allows you to get all dates that should be currently displayed in calendar [#536](https://github.com/t1m0n/air-datepicker/issues/536)
@@ -39,39 +52,6 @@ new AirDatepicker('#el' [, options]);
39
52
* added handling of optional chaining operator in dist package [#518](https://github.com/t1m0n/air-datepicker/issues/518)
40
53
* added Indonesian locale, thanks to [BariqDharmawan](https://github.com/BariqDharmawan), in [#517](https://github.com/t1m0n/air-datepicker/pull/517)
41
54
42
-
### v3.3.4
43
-
* recreate global container if it was removed from DOM [#516](https://github.com/t1m0n/air-datepicker/issues/516)
44
-
* added Greek locale, thanks to [sonole](https://github.com/sonole), in [#515](https://github.com/t1m0n/air-datepicker/pull/515)
45
-
46
-
### v3.3.3
47
-
* fixed time format in timepicker body [#512](https://github.com/t1m0n/air-datepicker/issues/512)
48
-
49
-
### v3.3.2
50
-
* fixed day period value, when selecting date while datepicker is not active, [#510](https://github.com/t1m0n/air-datepicker/issues/510)
51
-
* fixed German locale, [#511](https://github.com/t1m0n/air-datepicker/issues/511)
52
-
53
-
### v3.3.1
54
-
* added Japanese locale, thanks to [kyong0612](https://github.com/kyong0612), in [#505](https://github.com/t1m0n/air-datepicker/pull/505)
55
-
* added Korean locale, thanks to [YankeeTube](https://github.com/YankeeTube), in [#506](https://github.com/t1m0n/air-datepicker/pull/506)
56
-
57
-
### v3.3.0
58
-
* new feature that allow you to add custom attributes via `onRenderCell`[#502](https://github.com/t1m0n/air-datepicker/issues/502), [read docs](https://air-datepicker.com/docs?scrollTo=onRenderCell)
59
-
* fixed selecting cell when using custom html with `onRenderCell` option [#502](https://github.com/t1m0n/air-datepicker/issues/502)
60
-
61
-
### v3.2.1
62
-
* added Arabic locale, thanks to [abdo-host](https://github.com/abdo-host)[#497](https://github.com/t1m0n/air-datepicker/pull/497)
63
-
* added Italian locale, thanks to [msaltieri](https://github.com/msaltieri)[#498](https://github.com/t1m0n/air-datepicker/pull/498)
Copy file name to clipboardexpand all lines: dist/README.md
+19-35
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,3 @@
1
-
> :tada: New version released! :tada:
2
-
3
1
# Air Datepicker
4
2
5
3
Lightweight, **dependency-free**, fast, customizable datepicker written in pure JavaScript. Works in all modern browsers which supports native css variables.
@@ -26,43 +24,29 @@ new AirDatepicker('#el' [, options]);
26
24
27
25
## Recent updates
28
26
27
+
### v3.5.0
28
+
* added `fixedHeight` option, allows you to have equal weeks number in every month
29
+
* added method `disableDate`, allows you to disabled one or multiple dates with datepicker API
30
+
* added prop `disabledDates` - it is a Set which holds all disabled dates
31
+
* added possibility to pass `{silent: true}` to `update` and `setCurrentView` methods, [#583](https://github.com/t1m0n/air-datepicker/issues/568)
32
+
* changed `update` method - now if you pass `selectedDates` here then calendar will keep selected only those dates
33
+
* fixed localization generation
34
+
* fixed selecting time on same date when `range: true`, [#568](https://github.com/t1m0n/air-datepicker/issues/568)
35
+
* fixed date conversion to local date when using strings, e.g `selectDate('2024-03-05')`[#589](https://github.com/t1m0n/air-datepicker/issues/589)
36
+
37
+
### v3.4.0
38
+
* added new options `onFocus` and `onBeforeSelect` grant you more control over range selection behaviour and more [#526](https://github.com/t1m0n/air-datepicker/issues/526)
39
+
* added new method `getViewDates()` allows you to get all dates that should be currently displayed in calendar [#536](https://github.com/t1m0n/air-datepicker/issues/536)
40
+
*`toggleSelected` now can be a function [#534](https://github.com/t1m0n/air-datepicker/issues/534)
* added Bulgarian locale, thanks to [tonytomov](https://github.com/tonytomov), in [#531](https://github.com/t1m0n/air-datepicker/pull/531)
43
+
* added Catalan locale, thanks to [joatb](https://github.com/joatb), in [#542](https://github.com/t1m0n/air-datepicker/pull/542)
44
+
* added Croatian Locale, thanks to [diomed](https://github.com/diomed), in [#551](https://github.com/t1m0n/air-datepicker/pull/551)
45
+
29
46
### v3.3.5
30
47
* added handling of optional chaining operator in dist package [#518](https://github.com/t1m0n/air-datepicker/issues/518)
31
48
* added Indonesian locale, thanks to [BariqDharmawan](https://github.com/BariqDharmawan), in [#517](https://github.com/t1m0n/air-datepicker/pull/517)
32
49
33
-
### v3.3.4
34
-
* recreate global container if it was removed from DOM [#516](https://github.com/t1m0n/air-datepicker/issues/516)
35
-
* added Greek locale, thanks to [sonole](https://github.com/sonole), in [#515](https://github.com/t1m0n/air-datepicker/pull/515)
36
-
37
-
### v3.3.3
38
-
* fixed time format in timepicker body [#512](https://github.com/t1m0n/air-datepicker/issues/512)
39
-
40
-
### v3.3.2
41
-
* fixed day period value, when selecting date while datepicker is not active, [#510](https://github.com/t1m0n/air-datepicker/issues/510)
42
-
* fixed German locale, [#511](https://github.com/t1m0n/air-datepicker/issues/511)
43
-
44
-
### v3.3.1
45
-
* added Japanese locale, thanks to [kyong0612](https://github.com/kyong0612), in [#505](https://github.com/t1m0n/air-datepicker/pull/505)
46
-
* added Korean locale, thanks to [YankeeTube](https://github.com/YankeeTube), in [#506](https://github.com/t1m0n/air-datepicker/pull/506)
47
-
48
-
### v3.3.0
49
-
* new feature that allow you to add custom attributes via `onRenderCell`[#502](https://github.com/t1m0n/air-datepicker/issues/502), [read docs](https://air-datepicker.com/docs?scrollTo=onRenderCell)
50
-
* fixed selecting cell when using custom html with `onRenderCell` option [#502](https://github.com/t1m0n/air-datepicker/issues/502)
51
-
52
-
### v3.2.1
53
-
* added Arabic locale, thanks to [abdo-host](https://github.com/abdo-host)[#497](https://github.com/t1m0n/air-datepicker/pull/497)
54
-
* added Italian locale, thanks to [msaltieri](https://github.com/msaltieri)[#498](https://github.com/t1m0n/air-datepicker/pull/498)
0 commit comments