feat(progressbar): add `max` attribute & support transclusion * General refactor. Move logic to controller.
* Remove `onFull` & `onEmpty` handlers.
* Remove automatic types and stacked types.
* `progress` & `bar` transclude content to support text & extra elements.
BREAKING CHANGE: The onFull/onEmpty handlers & auto/stacked types have been removed.
To migrate your code change your markup like below.
Before:
<progress percent="var" class="pro...
fix(collapse): remove element height watchingFor unclear reasons the directive was watching DOM element's height
which incurs performance penalty. Normally this watching shouldn't be
necessery as collapsible elements should get height: auto;
Closes #1222
fix(position): correct positioning for SVG elementsBootstrap tooltips calculate the `width` and `height` of elements
using first getBoundingClientRect and fall back to `offsetWidth` and
`offsetHeight` if it is not available:
https://github.com/twbs/bootstrap/blob/master/js/tooltip.js#L297
This fixes a problem with tooltips/popovers on SVG elements in
Firefox: https://github.com/twbs/bootstrap/issues/5956
This change mimics that behavior.
Cl...
fix(datapicker): set popup initial position in append-to-body caseSet the initial position offsets of the datepicker popup element in case of appended to 'body'.
Todo: refresh the position on parent elements resize.
feat(datepicker): datepicker-append-to-body attributeAttribute / option specifies where in the DOM to place the datepicker
popup elements.
If this option evaluates to 'true', the datepicker popup elements are
appended to 'body'. Otherwise, they follow the directive element.
fix(tabs): initial tab selectionCloses #834, Fixes #747
- Avoid re-initializing `tab.active`
- `setActive` only when all `tab.active` are set up (on the next
digest cycle)
Before I go to explain, there are up to two expressions that indicate
whether a tab is active:
1. `active` variable in the isolate scope of the tab directive
2. The expression from the active attribute (`attrs.active`) if it
is set, I'll call ...