Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit 3b00c3f

Browse files
committed
chore(release): bump package version and update changelog
1 parent f90f743 commit 3b00c3f

8 files changed

+138
-69
lines changed

‎CHANGELOG.md

+4-31
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
<a name="0.19.4"></a>
2-
## [0.19.4](https://github.com/angular-ui/ui-select/compare/v0.19.4...v0.19.4) (2016-10-19)
3-
1+
<a name="0.19.5"></a>
2+
## [0.19.5](https://github.com/angular-ui/ui-select/compare/v0.19.5...v0.19.5) (2016-10-24)
43

4+
## Reverted
55

6+
* **Bug fix:** Search input isn't blocked ([0d81493](https://github.com/angular-ui/ui-select/commit/0d81493))
67

78
<a name="0.19.4"></a>
89
## [0.19.4](https://github.com/angular-ui/ui-select/compare/v0.19.4...v0.19.4) (2016-10-19)
910

10-
1111
### Bug Fixes
1212

1313
* **bootstrap:** add aria-expanded to the multiple select ([6766754](https://github.com/angular-ui/ui-select/commit/6766754)), closes [#1775](https://github.com/angular-ui/ui-select/issues/1775)
@@ -19,14 +19,10 @@
1919

2020
* **selectize:** add support for multiple selection ([ff8071d](https://github.com/angular-ui/ui-select/commit/ff8071d)), closes [#295](https://github.com/angular-ui/ui-select/issues/295) [#1787](https://github.com/angular-ui/ui-select/issues/1787)
2121

22-
23-
2422
<a name="0.19.3"></a>
2523
## [0.19.3](https://github.com/angular-ui/ui-select/compare/v0.19.3...v0.19.3) (2016-08-17)
2624

2725

28-
29-
3026
<a name="0.19.2"></a>
3127
## [0.19.2](https://github.com/angular-ui/ui-select/compare/v0.19.0...v0.19.2) (2016-08-16)
3228

@@ -36,32 +32,23 @@
3632
* **bootstrap layout:** Restrict selected length to ui-select-container (#1680) ([01055c5](https://github.com/angular-ui/ui-select/commit/01055c5)), closes [#1576](https://github.com/angular-ui/ui-select/issues/1576)
3733
* **release:** bump version with built files ([76cf9c3](https://github.com/angular-ui/ui-select/commit/76cf9c3))
3834

39-
40-
4135
<a name="0.19.1"></a>
4236
## [0.19.1](https://github.com/angular-ui/ui-select/compare/v0.19.0...v0.19.1) (2016-08-09)
4337

44-
4538
### Bug Fixes
4639

4740
* **bootstrap layout:** Restrict selected length to ui-select-container (#1680) ([01055c5](https://github.com/angular-ui/ui-select/commit/01055c5)), closes [#1576](https://github.com/angular-ui/ui-select/issues/1576)
4841

49-
50-
5142
<a name="0.19.0"></a>
5243
# [0.19.0](https://github.com/angular-ui/ui-select/compare/v0.19.0...v0.19.0) (2016-08-07)
5344

54-
5545
### Bug Fixes
5646

5747
* **bootstrap layout:** Restrict selected length to ui-select-container (#1680) ([01055c5](https://github.com/angular-ui/ui-select/commit/01055c5)), closes [#1576](https://github.com/angular-ui/ui-select/issues/1576)
5848

59-
60-
6149
<a name="0.18.1"></a>
6250
## [0.18.1](https://github.com/angular-ui/ui-select/compare/v0.18.1...v0.18.1) (2016-08-07)
6351

64-
6552
### Bug Fixes
6653

6754
* **bootstrap:** remove anchor tag in choices ([b15189d](https://github.com/angular-ui/ui-select/commit/b15189d))
@@ -76,12 +63,9 @@
7663

7764
* **repeatParserService:** track groups by name ([1770038](https://github.com/angular-ui/ui-select/commit/1770038)), closes [#1721](https://github.com/angular-ui/ui-select/issues/1721) [#1722](https://github.com/angular-ui/ui-select/issues/1722)
7865

79-
80-
8166
<a name="0.18.1"></a>
8267
## [0.18.1](https://github.com/angular-ui/ui-select/compare/v0.18.0...v0.18.1) (2016-07-10)
8368

84-
8569
### Bug Fixes
8670

8771
* **isDisabled:** do not modify item ([b95bf9f](https://github.com/angular-ui/ui-select/commit/b95bf9f)), closes [#1200](https://github.com/angular-ui/ui-select/issues/1200) [#1661](https://github.com/angular-ui/ui-select/issues/1661)
@@ -98,12 +82,9 @@
9882
* **uiSelectNoChoice:** support Select2 theme ([e59e008](https://github.com/angular-ui/ui-select/commit/e59e008)), closes [#1608](https://github.com/angular-ui/ui-select/issues/1608)
9983
* **uiSelectNoChoice:** support Selectize theme ([a7210c4](https://github.com/angular-ui/ui-select/commit/a7210c4)), closes [#1692](https://github.com/angular-ui/ui-select/issues/1692)
10084

101-
102-
10385
<a name="0.18.0"></a>
10486
## [0.18.0](https://github.com/angular-ui/ui-select/compare/v0.17.1...v0.18.0) (2016-06-09)
10587

106-
10788
### Bug Fixes
10889

10990
* **positioning:** stop flicker when closed ([ca4d09e](https://github.com/angular-ui/ui-select/commit/ca4d09e))
@@ -118,23 +99,17 @@
11899
* **limit:** Change multi-select limit attr (#1632) ([f5888fb](https://github.com/angular-ui/ui-select/commit/f5888fb))
119100
* **removeSelected:** Implement removeSelected property for multiple selects ([3ad084f](https://github.com/angular-ui/ui-select/commit/3ad084f))
120101

121-
122-
123102
<a name="0.17.1"></a>
124103
## [0.17.1](https://github.com/angular-ui/ui-select/compare/v0.17.0...v0.17.1) (2016-05-16)
125104

126-
127105
### Bug Fixes
128106

129107
* **parserResult:** Ignore undefined parserResult when using custom tpl ([cee24e5](https://github.com/angular-ui/ui-select/commit/cee24e5)), closes [#1597](https://github.com/angular-ui/ui-select/issues/1597)
130108
* **select2:** hide dropdown if there are no items to show (same as #1588 for bootstrap) ([4c561ac](https://github.com/angular-ui/ui-select/commit/4c561ac))
131109

132-
133-
134110
<a name="0.17.0"></a>
135111
## [0.17.0](https://github.com/angular-ui/ui-select/compare/v0.16.1...v0.17.0) (2016-05-11)
136112

137-
138113
### Bug Fixes
139114

140115
* **a11y:** prevent list from being focusable ([4e9ab7e](https://github.com/angular-ui/ui-select/commit/4e9ab7e)), closes [#898](https://github.com/angular-ui/ui-select/issues/898)
@@ -166,8 +141,6 @@
166141
* **uiSelectCtrl:** moving activate events out of $timeout ([926f462](https://github.com/angular-ui/ui-select/commit/926f462))
167142
* change test in ctrl.isActive ([d6c14d4](https://github.com/angular-ui/ui-select/commit/d6c14d4))
168143

169-
170-
171144
<a name="0.16.1"></a>
172145
# [0.16.1](https://github.com/angular-ui/ui-select/compare/v0.16.0...v0.16.1) (2016-03-23)
173146

‎dist/select.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* ui-select
33
* http://github.com/angular-ui/ui-select
4-
* Version: 0.19.4 - 2016-10-19T19:26:25.444Z
4+
* Version: 0.19.5 - 2016-10-24T23:13:59.551Z
55
* License: MIT
66
*/
77

@@ -337,7 +337,7 @@ body > .ui-select-bootstrap.open {
337337
line-height: 1;
338338
-webkit-font-smoothing:antialiased;
339339
}
340-
340+
341341
@-webkit-keyframes ui-select-spin {
342342
0% {
343343
-webkit-transform: rotate(0deg);
@@ -366,4 +366,4 @@ body > .ui-select-bootstrap.open {
366366

367367
.ui-select-refreshing.ng-animate {
368368
-webkit-animation: none 0s;
369-
}
369+
}

‎dist/select.js

+21-29
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/*!
22
* ui-select
33
* http://github.com/angular-ui/ui-select
4-
* Version: 0.19.4 - 2016-10-19T19:26:24.667Z
4+
* Version: 0.19.5 - 2016-10-24T23:13:59.434Z
55
* License: MIT
66
*/
77

88

9-
(function () {
9+
(function () {
1010
"use strict";
1111
var KEY = {
1212
TAB: 9,
@@ -220,27 +220,27 @@ uis.directive('uiSelectChoices',
220220

221221
choices.attr('ng-repeat', parserResult.repeatExpression(groupByExp))
222222
.attr('ng-if', '$select.open'); //Prevent unnecessary watches when dropdown is closed
223-
223+
224224

225225
var rowsInner = tElement.querySelectorAll('.ui-select-choices-row-inner');
226226
if (rowsInner.length !== 1) {
227227
throw uiSelectMinErr('rows', "Expected 1 .ui-select-choices-row-inner but got '{0}'.", rowsInner.length);
228228
}
229229
rowsInner.attr('uis-transclude-append', ''); //Adding uisTranscludeAppend directive to row element after choices element has ngRepeat
230230

231-
// If IE8 then need to target rowsInner to apply the ng-click attr as choices will not capture the event.
231+
// If IE8 then need to target rowsInner to apply the ng-click attr as choices will not capture the event.
232232
var clickTarget = $window.document.addEventListener ? choices : rowsInner;
233233
clickTarget.attr('ng-click', '$select.select(' + parserResult.itemName + ',$select.skipFocusser,$event)');
234-
234+
235235
return function link(scope, element, attrs, $select) {
236236

237-
237+
238238
$select.parseRepeatAttr(attrs.repeat, groupByExp, groupFilterExp); //Result ready at $select.parserResult
239239

240240
$select.disableChoiceExpression = attrs.uiDisableChoice;
241241
$select.onHighlightCallback = attrs.onHighlight;
242242

243-
$select.dropdownPosition = attrs.position ? attrs.position.toLowerCase() : uiSelectConfig.dropdownPosition;
243+
$select.dropdownPosition = attrs.position ? attrs.position.toLowerCase() : uiSelectConfig.dropdownPosition;
244244

245245
scope.$on('$destroy', function() {
246246
choices.remove();
@@ -659,7 +659,7 @@ uis.controller('uiSelectCtrl',
659659
ctrl.select = function(item, skipFocusser, $event) {
660660
if (item === undefined || !_isItemDisabled(item)) {
661661

662-
if ( (!ctrl.items || !ctrl.items.length) && ! ctrl.search && ! ctrl.tagging.isActivated) return;
662+
if ( ! ctrl.items && ! ctrl.search && ! ctrl.tagging.isActivated) return;
663663

664664
if (!item || !_isItemDisabled(item)) {
665665
// if click is made on existing item, prevent from tagging, ctrl.search does not matter
@@ -706,7 +706,7 @@ uis.controller('uiSelectCtrl',
706706
ctrl.close(skipFocusser);
707707
return;
708708
}
709-
}
709+
}
710710
_resetSearchInput();
711711
$scope.$broadcast('uis:select', item);
712712

@@ -887,11 +887,6 @@ uis.controller('uiSelectCtrl',
887887
e.stopPropagation();
888888
}
889889

890-
// if(~[KEY.ESC,KEY.TAB].indexOf(key)){
891-
// //TODO: SEGURO?
892-
// ctrl.close();
893-
// }
894-
895890
$scope.$apply(function() {
896891

897892
var tagged = false;
@@ -921,9 +916,6 @@ uis.controller('uiSelectCtrl',
921916
});
922917
}
923918
}
924-
}else{
925-
e.preventDefault();
926-
e.stopPropagation();
927919
}
928920

929921
});
@@ -1414,7 +1406,7 @@ uis.directive('uiSelect',
14141406
};
14151407

14161408
var opened = false;
1417-
1409+
14181410
scope.calculateDropdownPos = function() {
14191411
if ($select.open) {
14201412
dropdown = angular.element(element).querySelectorAll('.ui-select-dropdown');
@@ -1473,7 +1465,7 @@ uis.directive('uiSelectMatch', ['uiSelectConfig', function(uiSelectConfig) {
14731465
var theme = getAttribute(parent, 'theme') || uiSelectConfig.theme;
14741466
var multi = angular.isDefined(getAttribute(parent, 'multiple'));
14751467

1476-
return theme + (multi ? '/match-multiple.tpl.html' : '/match.tpl.html');
1468+
return theme + (multi ? '/match-multiple.tpl.html' : '/match.tpl.html');
14771469
},
14781470
link: function(scope, element, attrs, $select) {
14791471
$select.lockChoiceExpression = attrs.uiLockChoice;
@@ -1761,11 +1753,11 @@ uis.directive('uiSelectMultiple', ['uiSelectMinErr','$timeout', function(uiSelec
17611753
} else {
17621754
return curr;
17631755
}
1764-
1756+
17651757
} else {
17661758
// If nothing yet selected, select last item
1767-
return last;
1768-
}
1759+
return last;
1760+
}
17691761
break;
17701762
case KEY.DELETE:
17711763
// Remove selected item and select next item
@@ -1969,7 +1961,7 @@ uis.directive('uiSelectNoChoice',
19691961
templateUrl: function (tElement) {
19701962
// Needed so the uiSelect can detect the transcluded content
19711963
tElement.addClass('ui-select-no-choice');
1972-
1964+
19731965
// Gets theme attribute from parent (ui-select)
19741966
var theme = tElement.parent().attr('theme') || uiSelectConfig.theme;
19751967
return theme + '/no-choice.tpl.html';
@@ -2338,12 +2330,12 @@ uis.service('uisRepeatParser', ['uiSelectMinErr','$parse', function(uiSelectMinE
23382330
throw uiSelectMinErr('iexp', "Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",
23392331
expression);
23402332
}
2341-
2342-
var source = match[5],
2333+
2334+
var source = match[5],
23432335
filters = '';
23442336

23452337
// When using (key,value) ui-select requires filters to be extracted, since the object
2346-
// is converted to an array for $select.items
2338+
// is converted to an array for $select.items
23472339
// (in which case the filters need to be reapplied)
23482340
if (match[3]) {
23492341
// Remove any enclosing parenthesis
@@ -2353,7 +2345,7 @@ uis.service('uisRepeatParser', ['uiSelectMinErr','$parse', function(uiSelectMinE
23532345
if(filterMatch && filterMatch[1].trim()) {
23542346
filters = filterMatch[1];
23552347
source = source.replace(filters, '');
2356-
}
2348+
}
23572349
}
23582350

23592351
return {
@@ -2369,7 +2361,7 @@ uis.service('uisRepeatParser', ['uiSelectMinErr','$parse', function(uiSelectMinE
23692361
expression += ' track by ' + this.trackByExp;
23702362
}
23712363
return expression;
2372-
}
2364+
}
23732365
};
23742366

23752367
};
@@ -2398,4 +2390,4 @@ $templateCache.put("selectize/match-multiple.tpl.html","<div class=\"ui-select-m
23982390
$templateCache.put("selectize/match.tpl.html","<div ng-hide=\"$select.searchEnabled && ($select.open || $select.isEmpty())\" class=\"ui-select-match\"><span ng-show=\"!$select.searchEnabled && ($select.isEmpty() || $select.open)\" class=\"ui-select-placeholder text-muted\">{{$select.placeholder}}</span> <span ng-hide=\"$select.isEmpty() || $select.open\" ng-transclude=\"\"></span></div>");
23992391
$templateCache.put("selectize/no-choice.tpl.html","<div class=\"ui-select-no-choice selectize-dropdown\" ng-show=\"$select.items.length == 0\"><div class=\"selectize-dropdown-content\"><div data-selectable=\"\" ng-transclude=\"\"></div></div></div>");
24002392
$templateCache.put("selectize/select-multiple.tpl.html","<div class=\"ui-select-container selectize-control multi plugin-remove_button\" ng-class=\"{\'open\': $select.open}\"><div class=\"selectize-input\" ng-class=\"{\'focus\': $select.open, \'disabled\': $select.disabled, \'selectize-focus\' : $select.focus}\" ng-click=\"$select.open && !$select.searchEnabled ? $select.toggle($event) : $select.activate()\"><div class=\"ui-select-match\"></div><input type=\"search\" autocomplete=\"off\" tabindex=\"-1\" class=\"ui-select-search\" ng-class=\"{\'ui-select-search-hidden\':!$select.searchEnabled}\" placeholder=\"{{$selectMultiple.getPlaceholder()}}\" ng-model=\"$select.search\" ng-disabled=\"$select.disabled\" aria-expanded=\"{{$select.open}}\" aria-label=\"{{ $select.baseTitle }}\" ondrop=\"return false;\"></div><div class=\"ui-select-choices\"></div><div class=\"ui-select-no-choice\"></div></div>");
2401-
$templateCache.put("selectize/select.tpl.html","<div class=\"ui-select-container selectize-control single\" ng-class=\"{\'open\': $select.open}\"><div class=\"selectize-input\" ng-class=\"{\'focus\': $select.open, \'disabled\': $select.disabled, \'selectize-focus\' : $select.focus}\" ng-click=\"$select.open && !$select.searchEnabled ? $select.toggle($event) : $select.activate()\"><div class=\"ui-select-match\"></div><input type=\"search\" autocomplete=\"off\" tabindex=\"-1\" class=\"ui-select-search ui-select-toggle\" ng-class=\"{\'ui-select-search-hidden\':!$select.searchEnabled}\" ng-click=\"$select.toggle($event)\" placeholder=\"{{$select.placeholder}}\" ng-model=\"$select.search\" ng-hide=\"!$select.isEmpty() && !$select.open\" ng-disabled=\"$select.disabled\" aria-label=\"{{ $select.baseTitle }}\"></div><div class=\"ui-select-choices\"></div><div class=\"ui-select-no-choice\"></div></div>");}]);
2393+
$templateCache.put("selectize/select.tpl.html","<div class=\"ui-select-container selectize-control single\" ng-class=\"{\'open\': $select.open}\"><div class=\"selectize-input\" ng-class=\"{\'focus\': $select.open, \'disabled\': $select.disabled, \'selectize-focus\' : $select.focus}\" ng-click=\"$select.open && !$select.searchEnabled ? $select.toggle($event) : $select.activate()\"><div class=\"ui-select-match\"></div><input type=\"search\" autocomplete=\"off\" tabindex=\"-1\" class=\"ui-select-search ui-select-toggle\" ng-class=\"{\'ui-select-search-hidden\':!$select.searchEnabled}\" ng-click=\"$select.toggle($event)\" placeholder=\"{{$select.placeholder}}\" ng-model=\"$select.search\" ng-hide=\"!$select.isEmpty() && !$select.open\" ng-disabled=\"$select.disabled\" aria-label=\"{{ $select.baseTitle }}\"></div><div class=\"ui-select-choices\"></div><div class=\"ui-select-no-choice\"></div></div>");}]);

0 commit comments

Comments
 (0)