fix(modal): correctly close modals with no backdropbackdropDomEl was not initialised if only modal without backdrop was opened.
Closes #974
Closes #979
fix(typeahead): highlight return match if no queryThis makes the highlighter behave more consistently like other filters.
It also makes it more useful as an empty query doesn't result in an
empty result.
feat(pagination): `total-items` & optional `items-per-page` APICloses #820.
BREAKING CHANGE: API has undergone some changes in order to be easier to use.
* `current-page` is replaced from `page`.
* Number of pages is not defined by `num-pages`, but from `total-items` &
`items-per-page` instead. If `items-per-page` is missing, default is 10.
* `num-pages` still exists but is just readonly.
Before:
<pagination num-pages="10" ...></pagination>
...
feat(modal): rewrite $dialog as $modalBREAKING CHANGE:
* `$dialog` service was refactored into `$modal`
* `modal` directive was removed - use the `$modal` service instead
Check the documentation for the `$modal` service to migrate from `$dialog`
fix(dialog): reintroduced dialogOpenClass optionThis option represents class which is added to the body when the dialog is open.
It was present before in twitter bootstrap, then removed in 2.3.0,
but then recently reintroduced in 3.0
Closes #798
fix(datepicker): correctly manage focus without jQuery presentThe element.focus() will throw an error since the object needs to be unwrapped first.
Should be: element[0].focus() at a minimum to unwrap the jqlite object since it doesn't expose focus().
Closes #758