-
fix build (76780d36)
-
Add
ng add ngx-daterangepicker-material
-
replace moment.js with dayjs
-
Support angular 11 and angular 12
-
travis: fix build (de52eea8)
-
support angular 10
- emptyWeekColumnClass: add emptyWeekColumnClass attribute to add a custom class for all date in a week not in the current month Fixes #315 #294 #126 (ba1d136b)
- reactive-forms: implemente disable in form control (7c3265b6)
This new major release pivots ngx-daterangepicker-material
to become an @angular/material
component, in that it now requires @angular/material
to correctly render and leverages @angular/material
building blocks throughout. As such, it adheres to theming and UX standards. It now correctly uses the CDK Overlay
to render the dialog for instance, which takes care of some issues present with the previous implementation (if you had components with a z-index
> 1000 on your page, you were going to have a bad time).
Upgrading from previous versions, you will have to add @angular/material
to your project, after which the new version of ngx-daterangepicker-material
should require no further changes to work correctly.
ng add ngx-daterangepicker-material
functionality was added to allow users to easily add this component to their Angular project- the component now correctly accepts Angular Material themes (the documentation has a theme switcher identical to https://material.angular.io/ to showcase this)
- bump all
@angular
packages to 9.1.0 - bump almost every other package to latest
- fixed
ng deploy
to correctly deploy to GitHub pages - added Prettier code formatter to address formatting inconsistencies
- demo:
- updated documentation to use
@angular/material
components throughout
- updated documentation to use
- deps:
- label: clear title to clear label in local (30f7c2e4)
- ranges: date doesnt update if alwaysShowCalendars = false and keepCalendarOpeningWithRange = true Close #147 (28e3684d)
- demo: add lockStartDate in full-options page (1ceff3f9)
- demo: add fr language for demo purpose (c374cb8d)
- ngModelChange: initialized by undefined (5beddf21)
- locale: update locale config (41dac5b1)
- demo:
- doc: add development process (76ef56be)
- package: add package-lock.json to fix build (fc91e9bf)
- build: fix build (0d930d5c)
- dateLimit: add the dateLimit option Fix #118 (d0564523)
- inline: allow isCustomDate for inline mode #44 (b54de73a)
- calendar:
- firstDay:
- ranges: Timepicker not updated when range clicked Close #1015 (8957c67c)
- style: timepicker hided (3ec5798e)
Breaking change:
Instead of using NgxDaterangepickerMd
you should now use NgxDaterangepickerMd.forRoot()
in imports.
- locale: fix setting locale for individual and inline mode Fix #75 (f73c7515)
- typo: typo in readme (9b70f872)
- global-locale: add doc for global locale (57530799)
- code: refactoring (92f01ecf)
- css: make easy for styling (2e649c6a)
- onPush: popup doesn't close on first click when OnPush changeDetection (7e2d27d6)
- ie11-clickdate: Unable to select custom date range from calendar in IE1 (0a07daba)
- locale-format: Locale.format does not change date formats (5c4f7545)
- move-css: move .btn / .clear / .buttons / [hidden] under .md-drppicker (76406c02)
- month-year-select: add cursor pointer (916810fd)
- demo: add timepicker demo (86597697)
- timepicker: add timepicker to doc and demo (1c95fda8)
- timepicker: enabling timepicker (02b4c655)
- clear:
- daterangepicker:
- animation-css:
- range:
- datesUpdated:
- picker:
- calendar: wrong typo (4eb70fcb)
- showRangeLabelOnInput:
- demo:
- readme: add donation button (0f4758dc)
- apply-button: on apply, set endDate = startDate if it is not selected Close #42 (5c8022e3)
- inline: allow isInvalidDate (36933b16)
- calendar: Next month calendar doesn't show up if the preview dates for next month covers the range & fix on disabled ranges (6b60146a)
- dropdowns: linkedCalendar & disable dates lower than startDate (009dad5c)
- component: Template parse errors: 'ngx-daterangepicker-material' is not a known element: when using as inline element (a77805ad)
- range: dont close the calendar after choosing a range ( Close #38 ) & ability to show the range's name in the input instead of just the dates that belong to it ( Close #34 ) (998dcae0)
-
attribut: add new attributs:
-
opens
: ability to position calendar to left, right or center #21 -
drops
: ability to position calendar to up or down (c8c64605) -
firstMonthDayClass
&lastMonthDayClass
&emptyWeekRowClass
&lastDayOfPreviousMonthClass
&firstDayOfNextMonthClass
: for customising the dates classes (Thanks to: @butterknight )
-
-
ranges:
- single-datepicker:
- range: wrong var: showCalInRanges not isShown (8a6d31c3)
-
ranges:
- range: wrong var: showCalInRanges not isShown (8a6d31c3)
- ranges: disabling a range if it's beyond minDate or maxDate
- ranges: Applied range does not have 'active' class - Fix #17 (1c0f03d4)
- autoApply: autoApply showing Cancel & Apply buttons - Fix #16 (53288f50)
- readme: remove showInputs (672ec99a)
- test: fix tests (b83fddfc)
- #3: show 2nd calendar as per maxDate if provided - As, we have provided maxDate, there is no use of showing next month as 2nd calendar as those dates will not be selectable - instead, can it be maxDate's month as second calendar and prev month as first calendar - Fix #3 (daf00119)
- customisation: ability to add custom classes and custom invalid dates function - isCustomDate - isInvalidDate - Close #12 (145bbf5c)
- clear-date: bug fixes - doesn't clear the date when clearing - add options to show/hide the clear button (022c0d00)
- input-element: label is not updated after applying (6247be2f)
- readme: remove showInputs & add showDropdowns (3dadd3bf)
- calendar: remove showInputs & add showDropdowns (e3edd35f)
- clear-event: add ability to clear dates (ac06e825)
- firstDay: ability to change week starting calendar with locale.firstDay (bf5ba843)
- input: update input element for model initialized (95405fc6)
- change-event: change & ngModelChange events - fix ngModelChange - change event not trigerred - add some tests - Fix #10 (caf56351)
- render: 'double' class when double calendar only (c8bfd024)
- select: styling the select on showDropdowns (727f47f3)
-
render: 'double' class when double calendar only (c8bfd024)
-
calendar: Fix issue #6
- daterangepicker: add custom ranges (67771664)
- calendar: update style (4ebd3537)
- calendar: - fix prev & next on linked datepicker - fix single datepicker rendering (a46ded8a)