Skip to content

Latest commit

 

History

History
824 lines (672 loc) · 41.5 KB

CHANGELOG.md

File metadata and controls

824 lines (672 loc) · 41.5 KB

0.12.1 (2015-02-20)

Bug Fixes

  • tooltip:
    • incorrect position when text wraps (5726e3ef)

0.12.0 (2014-11-16)

Bug Fixes

Features

Breaking Changes

  • tooltip-trigger and popover-trigger are no longer watched attributes. (a65bea95)
    This affects both popovers and tooltips. The triggers are now set up once and can no longer be changed after initialization.

  • dropdown and dropdown-toggle are attribute-only directives. (192768e1)

    Before:

    <button class="dropdown-toggle" ...>

    After:

    <button class="dropdown-toggle" dropdown-toggle ...>

0.11.2 (2014-09-26)

Revert breaking change in dropdown (1a998c4)

0.11.1 (2014-09-26)

Features

  • modal:
    • add backdropClass option, similar to windowClass option (353e6127)
    • support alternative controllerAs syntax (8d7c2a26)
    • allow templateUrl to be a function (990015fb)

Bug Fixes

  • alert:
    • correct binding of alert type class (aa188aec)
  • dateparser:
    • do not parse if no format specified (42cc3f26)
  • datepicker:
    • correct datepicker-mode binding for popup (63ae06c9)
    • memory leak fix for datepicker (08c150e1)
  • dropdown:
    • close after selecting an item (3ac3b487)
    • remove C restrictions to avoid conflicts (7512b93f)
  • modal:
    • allow modal.{dismiss,close} to be called again (1590920c)
    • add a work-around for transclusion scope (0b31e865)
    • allow in-lined controller-as controllers (79105368)
    • respect autofocus on child elements (e62ab94a)
    • controllerAs not checked (7b7cdf84)
  • tabs:
    • remove leading newline from a template (a708fe6d)
  • typeahead:
    • timeout cancellation when deleting characters (5dc57927)
    • allow multiple line expression (c7db0df4)
    • replace ng-if with ng-show in matches popup (a0be450d)

0.11.0 (2014-05-01)

Features

  • accordion:
  • alert:
  • button:
    • allow uncheckable radio button (82df4fb1)
  • carousel:
    • Support swipe for touchscreen devices (85140f84)
  • dateParser:
  • datepicker:
    • add datepicker-mode, init-date & today hint (7f4b40eb)
    • make widget accessible (2423f6d4)
    • full six-week calendar (b0b14343)
  • dropdown:
    • add WAI-ARIA attributes (22ebd230)
    • focus toggle element when opening or closing with Esc` (f715d052)
  • dropdownToggle:
    • support programmatic trigger & toggle callback (ae31079c)
    • add support for escape key (1417c548)
  • modal:
    • support custom template for modal window (96def3d6)
    • support modal window sizes (976f6083)
    • improve accessibility - add role='dialog' (60cee9dc)
  • pagination:
    • plug into ngModel controller (d65901cf)
  • progressbar:
  • rating:
  • tooltip:
    • support more positioning options (3704db9a)
  • typeahead:
    • add WAI-ARIA markup (5ca23e97)
    • add aria-owns & aria-activedescendant roles (4c76a858)

Bug Fixes

  • alert:
    • use interpolation for type attribute (f0a129ad)
    • add alert-dismissable class (794954af)
  • carousel:
  • datepicker:
    • remove unneeded date creation (68cb2e5a)
    • Today button should not set time (e1993491)
    • mark input field as invalid if the date is invalid (467dd159)
    • rename dateFormat to datepickerPopup in datepickerPopupConfig (93da30d5)
    • parse input using dateParser (e0eb1bce)
  • dropdown:
    • use $animate for adding and removing classes (e8d5fefc)
    • unbind toggle element event on scope destroy (890e2d37)
    • do not call on-toggle initially (004dd1de)
    • ensure on-toggle works when is-open is not used (06ad3bd5)
  • modal:
    • destroy modal scope after animation end (dfc36fd9)
    • backdrop z-index when stacking modals (94a7f593)
    • give a reason of rejection when escape key pressed (cb31b875)
    • prevent default event when closing via escape key (da951222)
    • toggle 'modal-open' class after animation (4d641ca7)
  • pagination:
    • take maxSize defaults into account (a294c87f)
  • position:
    • remove deprecated body scrollTop and scrollLeft (1ba07c1b)
  • progressbar:
    • allow fractional values for bar width (0daa7a74)
    • number filter in bar template and only for percent (378a9337)
  • tabs:
    • fire deselect before select callback (7474c47b)
    • use interpolation for type attribute (83ceb78a)
    • remove tabbable class required for left/right tabs (19468331)
  • timepicker:
    • evaluate correctly the readonly-input attribute (f9b6c496)
  • tooltip:
    • animation causes tooltip to hide on show (2b429f5d)
  • typeahead:
    • correctly handle append to body attribute (10785736)
    • correctly higlight numeric matches (09678b12)
    • loading callback updates after blur (6a830116)
    • incompatibility with ng-focus (d0024931)

Breaking Changes

  • alert: Use interpolation for type attribute.

    Before:

    <alert type="'info'" ...></alert >

    or

    <alert type="alert.type" ...></alert >

    After:

    <alert type="info" ...></alert >

    or

    <alert type="{{alert.type}}" ...></alert >
  • datepicker:

show-weeks is no longer a watched attribute *-format attributes have been renamed to format-* min attribute has been renamed to min-date max attribute has been renamed to max-date

  • pagination:

Both pagination and pager are now integrated with ngModelController.

  • page is replaced from ng-model.
  • on-select-page is removed since ng-change can now be used.

Before:

<pagination page="current" on-select-page="changed(page)" ...></pagination>

After:

<pagination ng-model="current" ng-change="changed()" ...></pagination>
  • rating: rating is now integrated with ngModelController.
  • value is replaced from ng-model.

Before:

<rating value="rate" ...></rating>

After:

<rating ng-model="rate" ...></rating>
  • tabs:

Use interpolation for type attribute.

Before:

<tabset type="'pills'" ...></tabset >
<!-- or -->
<tabset type="navtype" ...></tabset>

After:

<tabset type="pills" ...></tabset>
<!-- or -->
<tabset type="{{navtype}}" ...></tabset>

0.10.0 (2014-01-13)

This release adds AngularJS 1.2 support

Features

  • modal:
    • expose dismissAll on $modalStack (bc8d21c1)

Bug Fixes

  • datepicker:
    • evaluate show-weeks from datepicker-options (92c1715f)
  • modal:
    • leaking watchers due to scope re-use (0754ad7b)
    • support close animation (1933488c)
  • timepicker:
    • add correct type for meridian button (bcf39efe)
  • tooltip:
    • performance and scope fixes (c0df3201)

0.9.0 (2013-12-28)

This release adds Bootstrap3 support

Features

  • accordion:
    • convert to bootstrap3 panel styling (458a9bd3)
  • carousel:
    • some changes for Bootstrap3 (1f632b65)
  • collapse:
    • make collapse work with bootstrap3 (517dff6e)
  • datepicker:
  • modal:
  • pagination:
  • progressbar:
  • rating:
    • update rating to bootstrap3 (7e60284e)
  • tabs:
  • timepicker:
  • typeahead:

Bug Fixes

  • alert:
    • update template to Bootstrap 3 (dfc3b0bd)
  • collapse:
    • Prevent consecutive transitions & tidy up code (b0032d68)
    • fixes after rebase (dc02ad1d)
  • rating:
  • timepicker:
  • tooltip:
    • re-position tooltip after draw (a99b3608)

0.8.0 (2013-12-28)

Features

  • datepicker:
    • option whether to display button bar in popup (4d158e0d)
  • modal:
    • add modal-open class to body on modal open (e76512fa)
  • progressbar:
    • add max attribute & support transclusion (365573ab)
  • timepicker:
    • default meridian labels based on locale (8b1ab79a)
  • typeahead:
    • add typeahead-append-to-body option (dd8eac22)

Bug Fixes

  • accordion:
    • correct is-open handling for dynamic groups (9ec21286)
  • carousel:
    • cancel timer on scope destruction (5b9d929c)
    • cancel goNext on scope destruction (7515df45)
  • collapse:
    • dont animate height changes from 0 to 0 (81e014a8)
  • datepicker:
    • set default zero time after no date selected (93cd0df8)
    • fire ngChange on today/clear button press (6b1c68fb)
    • remove datepicker's popup on scope destroy (48955d69)
    • remove edge case position updates (1fbcb5d6)
  • modal:
    • put backdrop in before window (d64f4a97)
    • grab reference to body when it is needed in lieu of when the factory is created (dd415a98)
    • focus freshly opened modal (709e679c)
    • properly animate backdrops on each modal opening (672a557a)
  • tabs:
  • tooltip:

Breaking Changes

  • progressbar: The onFull/onEmpty handlers & auto/stacked types have been removed.

    To migrate your code change your markup like below.

    Before:

  <progress percent="var" class="progress-warning"></progress>

After:

  <progressbar value="var" type="warning"></progressbar>

and for stacked instead of passing array/objects you can do:

  <progress><bar ng-repeat="obj in objs" value="obj.var" type="{{obj.type}}"></bar></progress>

0.7.0 (2013-11-22)

Features

  • datepicker:
    • add i18n support for bar buttons in popup (c6ba8d7f)
    • dynamic date format for popup (aa3eaa91)
    • datepicker-append-to-body attribute (0cdc4609)
  • dropdownToggle:
    • disable dropdown when it has the disabled class (104bdd1b)
  • tooltip:
    • add ability to enable / disable tooltip (5d9bd058)

Bug Fixes

  • accordion:
    • assign is-open to correct scope (157f614a)
  • collapse:
    • remove element height watching (a72c635c)
    • add the "in" class for expanded panels (9eca35a8)
  • datepicker:
    • some IE8 compatibility improvements (4540476f)
    • set popup initial position in append-to-body case (78a1e9d7)
    • properly handle showWeeks config option (570dba90)
  • modal:
    • correctly close modals with no backdrop (e55c2de3)
  • pagination:
    • fix altering of current page caused by totals change (81164dae)
    • handle extreme values for total-items (8ecf93ed)
  • position:
    • correct positioning for SVG elements (968e5407)
  • tabs:
  • timepicker:
    • use html5 for input elements (53709f0f)
  • tooltip:
    • restore html-unsafe compatibility with AngularJS 1.2 (08d8b21d)
    • hide tooltips when content becomes empty (cf5c27ae)
    • tackle DOM node and event handlers leak (0d810acd)
  • typeahead:
    • do not set editable error when input is empty (006986db)
    • remove popup flickering (dde804b6)
    • don't show matches if an element is not focused (d1f94530)
    • fix loading callback when deleting characters (0149eff6)
    • prevent accidental form submission on ENTER (253c49ff)
    • evaluate matches source against a correct scope (fd21214d)
    • support IE8 (0e9f9980)

0.6.0 (2013-09-08)

Features

  • modal:
    • rewrite $dialog as $modal (d7a48523)
    • add support for custom window settings (015625d1)
    • expose $close and $dismiss options on modal's scope (8d153acb)
  • pagination:
    • total-items & optional items-per-page API (e55d9063)
  • rating:
    • add support for custom icons per instance (20ab01ad)
  • timepicker:
    • plug into ngModel controller (b08e993f)

Bug Fixes

  • carousel:
    • correct reflow triggering on FFox and Safari (d34f2de1)
  • datepicker:
    • correctly manage focus without jQuery present (d474824b)
    • compatibility with angular 1.1.5 and no jquery (bf30898d)
    • use $setViewValue for inner changes (dd99f35d)
  • modal:
    • insert backdrop before modal window (d870f212)
    • ie8 fix after $modal rewrite (ff9d969e)
    • opening a modal should not change default options (82532d1b)
    • backdrop should cover previously opened modals (7fce2fe8)
    • allow replacing object with default options (8e7fbf06)
  • position:
    • fallback for IE8's scrollTop/Left for offset (9aecd4ed)
  • tabs:
    • add DI array-style annotations (aac4a0dd)
    • evaluate vertical on parent scope (9af6f96e)
  • timepicker:
    • add type attribute for meridian button (1f89fd4b)
  • tooltip:
    • remove placement='mouse' option (17163c22)
  • typeahead:
    • fix label rendering for equal model and items names (5de71216)
    • set validity flag for non-editable inputs (366e0c8a)
    • plug in front of existing parsers (80cef614)
    • highlight return match if no query (45dd9be1)
    • keep pop-up on clicking input (5f9e270d)
    • remove dependency on ng-bind-html-unsafe (75893393)

Breaking Changes

  • modal:
  • $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

  • pagination: 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>

After:

  <pagination total-items="100" ...></pagination>
  • tooltip:

The placment='mouse' is gone with no equivalent

0.5.0 (2013-08-04)

Features

  • buttons:
    • support dynamic true / false values in btn-checkbox (3e30cd94)
  • datepicker:
    • ngModelController plug & new datepickerPopup (dab18336)
  • rating:
  • tabs:
    • added onDeselect callback, used similarly as onSelect (fe47c9bb)
    • add the ability to set the direction of the tabs (220e7b60)
  • typeahead:
    • support custom templates for matched items (e2238174)
    • expose index to custom templates (5ffae83d)

Bug Fixes

  • datepicker:
    • handle correctly min/max when cleared (566bdd16)
    • add type attribute for buttons (25caf5fb)
  • pagination:
    • handle currentPage number as string (b1fa7bb8)
    • use interpolation for text attributes (f45815cb)
  • popover:
    • don't unbind event handlers created by other directives (56f624a2)
    • correctly position popovers appended to body (93a82af0)
  • rating:
    • evaluate max attribute on parent scope (60619d51)
  • tabs:
    • make tab contents be correctly connected to parent (#524) (be7ecff0)
    • Make tabset template correctly use tabset attributes (#584) (8868f236)
    • fix tab content compiling wrong (Closes #599, #631, #574) (224bc2f5)
    • make tabs added with active=true be selected (360cd5ca)
    • if tab is active at start, always select it (ba1f741d)
  • timepicker:
    • prevent date change (ee741707)
    • added wheel event to enable mousewheel on Firefox (8dc92afa)
  • tooltip:
    • fix positioning inside scrolling element (63ae7e12)
    • triggers should be local to tooltip instances (58e8ef4f)
    • correctly handle initial events unbinding (4fd5bf43)
    • bind correct 'hide' event handler (d50b0547)
  • typeahead:
    • play nicelly with existing formatters (d2df0b35)
    • properly render initial input value (c4e169cb)
    • separate text field rendering and drop down rendering (ea1e858a)
    • fixed waitTime functionality (90a8aa79)
    • correctly close popup on match selection (624fd5f5)

Breaking Changes

  • pagination: The 'first-text', 'previous-text', 'next-text' and 'last-text' attributes are now interpolated.

    To migrate your code, remove quotes for constant attributes and/or interpolate scope variables.

    Before:

  <pagination first-text="'<<'" ...></pagination>

and/or

  $scope.var1 = '<<';
  <pagination first-text="var1" ...></pagination>

After:

  <pagination first-text="<<" ...></pagination>

and/or

  $scope.var1 = '<<';
  <pagination first-text="{{var1}}" ...></pagination>

0.4.0 (2013-06-24)

Features

  • buttons:
    • support dynamic values in btn-radio (e8c5b548)
  • carousel:
    • add option to prevent pause (5f895c13)
  • datepicker:
  • pagination:
    • option for different mode when maxSize (a023d082)
    • add pager directive (d9526475)
  • tabs:
    • Change directive name, add features (c5326595)
    • support disabled state (2b78dd16)
    • add support for vertical option (88d17a75)
    • add support for other navigation types, like 'pills' (53e0a39f)
  • timepicker:
  • tooltip:
  • typeahead:
    • support typeahead-on-select callback (91ac17c9)
    • support wait-ms option (7f35a3f2)

Bug Fixes

  • accordion:
    • allow accordion heading directives as attributes. (25f6e55c)
  • carousel:
    • do not allow user to change slide if transitioning (1d19663f)
    • make slide 'active' binding optional (17d6c3b5)
    • fix error with deleting multiple slides at once (3fcb70f0)
  • dialog:
    • remove dialogOpenClass to get in line with v2.3 (f009b23f)
  • pagination:
  • progressbar:
    • user percent attribute instead of value. (58efec80)
  • tooltip:
    • fix positioning error when appendToBody is set to true (76fee1f9)
    • close tooltips appended to body on location change (041261b5)
    • tooltips will hide on scope.$destroy (3e5a58e5)
    • support of custom $interpolate.startSymbol (88c94ee6)
    • make sure tooltip scope is evicted from cache (9246905a)
  • typeahead:
    • return focus to the input after selecting a suggestion (04a21e33)

Breaking Changes

  • pagination: The 'first-text', 'previous-text', 'next-text' and 'last-text' attributes are now binded to parent scope.

    To migrate your code, surround the text of these attributes with quotes.

    Before:

    <pagination first-text="<<"></pagination>

    After:

    <pagination first-text="'<<'"></pagination>
  • progressbar: The 'value' is replaced by 'percent'.

    Before:

    <progress value="..."></progress>

    After:

    <progress percent="..."></progress>
  • tabs: The 'tabs' directive has been renamed to 'tabset', and the 'pane' directive has been renamed to 'tab'.

    To migrate your code, follow the example below.

    Before:

    <tabs>
      <pane heading="one">
        First Content
      </pane>
      <pane ng-repeat="apple in basket" heading="{{apple.heading}}">
        {{apple.content}}
      </pane>
    </tabs>

    After:

    <tabset>
      <tab heading="one">
        First Content
      </tab>
      <tab ng-repeat="apple in basket" heading="{{apple.heading}}">
        {{apple.content}}
      </tab>
    </tabset>

0.3.0 (2013-04-30)

Features

  • progressbar:
  • rating:
  • typeahead:
    • support the editable property (a40c3fbe)
    • support typeahead-loading bindable expression (b58c9c88)
  • tooltip:
    • added popup-delay option (a79a2ba8)
    • added appendToBody to $tooltip (1ee467f8)
    • added tooltip-html-unsafe directive (45ed2805)
    • support for custom triggers (b1ba821b)

Bug Fixes

  • alert:
    • don't show close button if no close callback specified (c2645f4a)
  • carousel:
    • Hide navigation indicators if only one slide (aedc0565)
  • collapse:
    • remove reference to msTransition for IE10 (55437b16)
  • dialog:
    • set _open to false on init (dcc9ef31)
    • close dialog on location change (474ce52e)
    • IE8 fix to not set data() against text nodes (a6c540e5)
    • fix $apply in progres on $location change (77e6acb9)
  • tabs:
    • remove superfluous href from tabs template (38c1badd)
  • tooltip:
    • fix positioning issues in tooltips and popovers (6458f487)
  • typeahead:
    • close matches popup on click outside typeahead (acca7dcd)
    • stop keydown event propagation when ESC pressed to discard matches (22a00cd0)
    • correctly render initial model value (929a46fa)
    • correctly higlight matches if query contains regexp-special chars (467afcd6)
    • fix matches pop-up positioning issues (74beecdb)

0.2.0 (2013-03-03)

Features

  • dialog:
    • Make $dialog 'resolve' property to work the same way of $routeProvider.when (739f86f)
  • modal:
    • allow global override of modal options (acaf72b)
  • buttons:
    • add checkbox and radio buttons (571ccf4)
  • carousel:
  • typeahead:
    • add typeahead directive (6a97da2)
  • accordion:
    • enable HTML in accordion headings (3afcaa4)
  • pagination:
    • add first/last link & constant congif options (0ff0454)

Bug fixes

  • dialog:
    • update resolve section to new syntax (1f87486)
    • $compile entire modal (7575b3c)
  • tooltip:
    • don't show tooltips if there is no content to show (030901e)
    • fix placement issues (a2bbf4d)
  • collapse:
    • Avoids fixed height on collapse (ff5d119)
  • accordion:
    • fix minification issues (f4da4d6)
  • typeahead:
    • update inputs value on mapping where label is not derived from the model (a5f64de)

0.1.0 (2013-02-02)

Very first, initial release.

Features

Version 0.1.0 was released with the following directives:

  • accordion
  • alert
  • carousel
  • dialog
  • dropdownToggle
  • modal
  • pagination
  • popover
  • tabs
  • tooltip