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

Commit 29fd28b

Browse files
committed
Merge branch 'master' into feat-header-footer
2 parents b59574a + 7f30bcd commit 29fd28b

31 files changed

+811
-248
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
The issues forum is __NOT__ for support requests. It is for bugs and feature requests only.
2+
Please read https://github.com/angular-ui/ui-select/blob/master/CONTRIBUTING.md and search
3+
existing issues (both open and closed) prior to opening any new issue and ensure you follow the instructions therein.
4+
5+
### Bug description:
6+
7+
### Link to minimally-working plunker that reproduces the issue:
8+
9+
### Version of Angular, UI-Select, and Bootstrap/Select2/Selectize CSS
10+
11+
Angular:
12+
13+
UI-Select:
14+
15+
Bootstrap/Select2/Selectize CSS (if applicable):

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ before_script:
99
- bower install
1010

1111
script: "gulp test"
12+
13+
git:
14+
depth: 10

CHANGELOG.md

Lines changed: 95 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,132 @@
1-
<a name="0.14.0"></a>
2-
# [0.14.0](https://github.com/angular-ui/ui-select/compare/v0.13.3...v0.14.0) (2016-01-25)
1+
<a name="0.16.1"></a>
2+
# [0.16.1](https://github.com/angular-ui/ui-select/compare/v0.16.0...v0.16.1) (2016-03-23)
3+
4+
### Bug Fixes
5+
6+
* **$window:** change input size on window resize ([ce24981](https://github.com/angular-ui/ui-select/commit/ce24981)), closes [#522](https://github.com/angular-ui/ui-select/issues/522)
7+
* **uiSelectMultipleDirective:** add $isEmpty handler ([fccc29a](https://github.com/angular-ui/ui-select/commit/fccc29a)), closes [#850](https://github.com/angular-ui/ui-select/issues/850)
8+
* **uiSelectMultipleDirective:** refresh choices upon selection change ([03293ff](https://github.com/angular-ui/ui-select/commit/03293ff)), closes [#1243](https://github.com/angular-ui/ui-select/issues/1243)
39

10+
<a name="0.16.0"></a>
11+
## [0.15.0](https://github.com/angular-ui/ui-select/compare/v0.15.0...v0.16.0)
12+
13+
<a name="0.15.0"></a>
14+
## [0.15.0](https://github.com/angular-ui/ui-select/compare/v0.14.9...v0.15.0) (2016-03-15)
15+
16+
### Bug Fixes
17+
18+
* corrects out of scope variable ([d5e30fb](https://github.com/angular-ui/ui-select/commit/d5e30fb))
419

520
### Features
621

7-
* **ngAnimate:** add support for ngAnimate ([8da8a6d](https://github.com/angular-ui/ui-select/commit/8da8a6d))
22+
* provide a way to skip the focusser ([302e80f](https://github.com/angular-ui/ui-select/commit/302e80f)), closes [#869](https://github.com/angular-ui/ui-select/issues/869) [#401](https://github.com/angular-ui/ui-select/issues/401) [#818](https://github.com/angular-ui/ui-select/issues/818) [#603](https://github.com/angular-ui/ui-select/issues/603) [#432](https://github.com/angular-ui/ui-select/issues/432)
23+
24+
<a name="0.14.10"></a>
25+
## [0.14.10](https://github.com/angular-ui/ui-select/compare/v0.14.9...v0.14.10) (2016-03-13)
26+
27+
### Features
28+
29+
* provide a way to skip the focusser ([302e80f](https://github.com/angular-ui/ui-select/commit/302e80f)), closes [#869](https://github.com/angular-ui/ui-select/issues/869) [#401](https://github.com/angular-ui/ui-select/issues/401) [#818](https://github.com/angular-ui/ui-select/issues/818) [#603](https://github.com/angular-ui/ui-select/issues/603) [#432](https://github.com/angular-ui/ui-select/issues/432)
30+
31+
<a name="0.14.9"></a>
32+
## [0.14.9](https://github.com/angular-ui/ui-select/compare/v0.14.9...v0.14.9) (2016-03-06)
33+
34+
<a name="0.14.8"></a>
35+
## [0.14.8](https://github.com/angular-ui/ui-select/compare/v0.14.7...v0.14.8) (2016-02-18)
36+
37+
<a name="0.14.7"></a>
38+
## [0.14.7](https://github.com/angular-ui/ui-select/compare/v0.14.6...v0.14.7) (2016-02-18)
39+
40+
### Bug Fixes
41+
42+
* **IE:** selects not working on IE8 ([ee65677](https://github.com/angular-ui/ui-select/commit/ee65677)), closes [#158](https://github.com/angular-ui/ui-select/issues/158)
43+
44+
<a name="0.14.6"></a>
45+
## [0.14.6](https://github.com/angular-ui/ui-select/compare/v0.14.5...v0.14.6) (2016-02-18)
46+
47+
### Bug Fixes
48+
49+
* **paste:** add paste support ([1ad6f60](https://github.com/angular-ui/ui-select/commit/1ad6f60)), closes [#910](https://github.com/angular-ui/ui-select/issues/910) [#704](https://github.com/angular-ui/ui-select/issues/704) [#789](https://github.com/angular-ui/ui-select/issues/789) [#848](https://github.com/angular-ui/ui-select/issues/848) [#429](https://github.com/angular-ui/ui-select/issues/429)
50+
* **uiSelectSort:** fix dependency not found error ([a5a6554](https://github.com/angular-ui/ui-select/commit/a5a6554))
51+
52+
<a name="0.14.5"></a>
53+
## [0.14.5](https://github.com/angular-ui/ui-select/compare/v0.14.4...v0.14.5) (2016-02-18)
54+
55+
### Bug Fixes
856

57+
* **uiSelectMultipleDirective:** fix track by error ([ced1cc0](https://github.com/angular-ui/ui-select/commit/ced1cc0)), closes [#1343](https://github.com/angular-ui/ui-select/issues/1343)
958

59+
<a name="0.14.4"></a>
60+
## [0.14.4](https://github.com/angular-ui/ui-select/compare/v0.14.3...v0.14.4) (2016-02-18)
61+
62+
### Bug Fixes
63+
64+
* Allow setting a ngClass on <ui-select> element ([6a99b08](https://github.com/angular-ui/ui-select/commit/6a99b08)), closes [#277](https://github.com/angular-ui/ui-select/issues/277)
65+
66+
<a name="0.14.3"></a>
67+
## [0.14.3](https://github.com/angular-ui/ui-select/compare/v0.14.2...v0.14.3) (2016-02-18)
68+
69+
<a name="0.14.2"></a>
70+
## [0.14.2](https://github.com/angular-ui/ui-select/compare/v0.14.1...v0.14.2) (2016-02-18)
71+
72+
### Bug Fixes
73+
74+
* make compatible with Angular 1.5 and non-cached templates ([0e85670](https://github.com/angular-ui/ui-select/commit/0e85670)), closes [#1422](https://github.com/angular-ui/ui-select/issues/1422) [#1356](https://github.com/angular-ui/ui-select/issues/1356) [#1325](https://github.com/angular-ui/ui-select/issues/1325) [#1239](https://github.com/angular-ui/ui-select/issues/1239)
75+
* **commonjs:** remove CSS require ([81b0f03](https://github.com/angular-ui/ui-select/commit/81b0f03))
76+
* **track by:** fix "track by" ([6c52e41](https://github.com/angular-ui/ui-select/commit/6c52e41)), closes [#806](https://github.com/angular-ui/ui-select/issues/806) [#665](https://github.com/angular-ui/ui-select/issues/665)
77+
78+
<a name="0.14.1"></a>
79+
## [0.14.1](https://github.com/angular-ui/ui-select/compare/v0.14.0...v0.14.1) (2016-01-27)
80+
81+
<a name="0.14.0"></a>
82+
# [0.14.0](https://github.com/angular-ui/ui-select/compare/v0.13.2...v0.14.0) (2016-01-25)
83+
84+
### Features
85+
86+
* **ngAnimate:** add support for ngAnimate ([8da8a6d](https://github.com/angular-ui/ui-select/commit/8da8a6d))
1087

1188
<a name="0.13.3"></a>
12-
## [0.13.3](https://github.com/angular-ui/ui-select/compare/v0.13.3...v0.13.2) (2016-01-25)
89+
## 0.13.3 (2016-01-25)
1390

1491
### Added
92+
1593
- Add support for commonjs and npm
1694

1795
<a name="0.13.2"></a>
18-
## [0.13.2](https://github.com/angular-ui/ui-select/compare/v0.13.2...v0.13.2) (2016-01-25)
19-
96+
## [0.13.2](https://github.com/angular-ui/ui-select/compare/v0.13.1...v0.13.2) (2016-01-25)
2097

2198
### Bug Fixes
2299

23100
* **CSP:** avoid inline execution of javascript in choices template. ([fb88ec8](https://github.com/angular-ui/ui-select/commit/fb88ec8))
24101

102+
<a name="0.13.1"></a>
103+
## [v0.13.1](https://github.com/angular-ui/ui-select/compare/v0.13.0...v0.13.1) (2015-09-29)
25104

26-
27-
# Change Log
28-
All notable changes to this project will be documented in this file.
29-
30-
## [v0.13.1][v0.13.1] (2015-09-29)
31105
### Fixed
106+
32107
- Remove hardcoded source name when using (key,value) syntax [#1217](https://github.com/angular-ui/ui-select/pull/1217)
33108
- Modify regex to accept a full 'collection expression' when not using (key,value) syntax [#1216](https://github.com/angular-ui/ui-select/pull/1216)
34109
- Avoid to recalculate position when set 'down' [#1214](https://github.com/angular-ui/ui-select/issues/1214#issuecomment-144271352)
35110

36-
## [v0.13.0][v0.13.0] (2015-09-29)
111+
<a name="0.13.0"></a>
112+
113+
## [v0.13.0](https://github.com/angular-ui/ui-select/compare/v0.12.1...v0.13.0) (2015-09-29)
114+
37115
### Added
38-
- Allow to configure default dropdown position [#1213](https://github.com/angular-ui/ui-select/pull/1213)
39-
- Can use object as source with (key,value) syntax [#1208](https://github.com/angular-ui/ui-select/pull/1208)
116+
117+
- Allow to configure default dropdown position [#1213](https://github.com/angular-ui/ui-select/pull/1213)
118+
- Can use object as source with (key,value) syntax [#1208](https://github.com/angular-ui/ui-select/pull/1208)
40119
- CHANGELOG.md file created
41120

42121
### Changed
122+
43123
- Do not run bower after install automatically [#982](https://github.com/angular-ui/ui-select/pull/982)
44124
- Avoid setting activeItem on mouseenter to improve performance [#1211](https://github.com/angular-ui/ui-select/pull/1211)
45125

46126
### Fixed
127+
47128
- Position dropdown UP or DOWN correctly depending on the available space [#1212](https://github.com/angular-ui/ui-select/pull/1212)
48129
- Scroll to selected item [#976](https://github.com/angular-ui/ui-select/issues/976)
49130
- Change `autocomplete='off'` to `autocomplete='false'` [#1210](https://github.com/angular-ui/ui-select/pull/1210)
50131
- Fix to work correctly with debugInfoEnabled(false) [#1131](https://github.com/angular-ui/ui-select/pull/1131)
51132
- Limit the maximum number of selections allowed in multiple mode [#1110](https://github.com/angular-ui/ui-select/pull/1110)
52-
53-
[v0.13.1]: https://github.com/angular-ui/ui-select/compare/v0.13.0...v0.13.1
54-
[v0.13.0]: https://github.com/angular-ui/ui-select/compare/v0.12.1...v0.13.0

CONTRIBUTING.md

Lines changed: 50 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,39 @@
1-
We are excited to have you working on the project and coordially request that you follow the Guidelines:
1+
We are excited to have you working on the project and cordially request that you follow the Guidelines:
22

3+
- [Got a question or problem?](#question)
4+
- [You think you've found a bug?](#bug)
35
- [Code Style Guidelines](#rules)
46
- [Commit Message Guidelines](#commit)
57

8+
## <a name="question"></a> Got a question or problem?
9+
10+
Firstly, please go over our FAQ: https://github.com/angular-ui/ui-select/wiki/FAQs
11+
12+
Please, do not open issues for the general support questions as we want to keep GitHub issues for bug reports and feature requests. You've got much better chances of getting your question answered on [StackOverflow](http://stackoverflow.com/questions/tagged/angular-ui-select) where maintainers are looking at questions tagged with `angular-ui-select`.
13+
14+
StackOverflow is a much better place to ask questions since:
15+
* there are hundreds of people willing to help on StackOverflow
16+
* questions and answers stay available for public viewing so your question / answer might help someone else
17+
* SO voting system assures that the best answers are prominently visible.
18+
19+
To save your and our time we will be systematically closing all the issues that are requests for general support and redirecting people to StackOverflow.
20+
21+
## <a name="bug"></a> You think you've found a bug?
22+
23+
Oh, we are ashamed and want to fix it asap! But before fixing a bug we need to reproduce and confirm it. In order to reproduce bugs we will systematically ask you to provide a _minimal_ reproduce scenario using http://plnkr.co/. Having a live reproduce scenario gives us wealth of important information without going back & forth to you with additional questions like:
24+
* version of AngularJS used
25+
* version of this library that you are using
26+
* 3rd-party libraries used, if any
27+
* and most importantly - a use-case that fails
28+
29+
A minimal reproduce scenario using http://plnkr.co/ allows us to quickly confirm a bug (or point out coding problem) as well as confirm that we are fixing the right problem.
30+
31+
We will be insisting on a minimal reproduce scenario in order to save maintainers time and ultimately be able to fix more bugs. Interestingly, from our experience users often find coding problems themselves while preparing a minimal plunk. We understand that sometimes it might be hard to extract essentials bits of code from a larger code-base but we really need to isolate the problem before we can fix it.
32+
33+
The best part is that you don't need to create plunks from scratch - you can use one from our [demo page](http://plnkr.co/edit/a3KlK8dKH3wwiiksDSn2?p=preview).
34+
35+
Unfortunately we are not able to investigate / fix bugs without a minimal reproduce scenario using http://plnkr.co/, so if we don't hear back from you we are going to close an issue that don't have enough info to be reproduced.
36+
637
## <a name="rules"></a> Coding Rules
738
To ensure consistency throughout the source code, keep these rules in mind as you are working:
839

@@ -17,26 +48,28 @@ We have very precise rules over how our git commit messages can be formatted for
1748
readable messages** that are easy to follow when looking through the **project history**. But also,
1849
we use the git commit messages to **generate the change log**.
1950

51+
## Development
52+
53+
### Prepare your environment
54+
* Install [Node.js](http://nodejs.org/) and NPM (should come with)
55+
* Install global dev dependencies: `npm install -g bower gulp`
56+
* Install local dev dependencies: `npm install && bower install` in repository directory
57+
58+
### Development Commands
59+
60+
* `gulp` to jshint, build and test
61+
* `gulp build` to jshint and build
62+
* `gulp test` for one-time test with karma (also build and jshint)
63+
* `gulp watch` to watch src files to jshint, build and test when changed
2064

2165
## Recommended workflow
2266

2367
1. Make changes
24-
2. Run `gulp` or `gulp test` to run Karma tests.
25-
3. If tests pass, commit those changes using the conventions below.
26-
4. Run `gulp bump` to update the version in package.json, add a git tag and generate the updated CHANGELOG.md.
27-
5. `conventionalChangelog` (see https://github.com/ajoslin/conventional-changelog)
28-
6. Commit updated `package.json` and `CHANGELOG.md` files
29-
7. Push
30-
8. Create PR
31-
32-
The reason why you should commit and tag after `conventionalChangelog` is that the CHANGELOG should be included in the new release, hence `gitRawCommitsOpts.from` defaults to the latest semver tag.
33-
34-
This process is automated with gulp, including determining the type of version to bump (major, minor or patch). To use Gulp, follow these steps:
35-
36-
1. Complete a feature or bug
37-
2. Commit the changes
38-
3. Run `gulp bump` (this will bump the version in package.json, run conventional-changelog to update the changelog and tag the version.
39-
4. Push
68+
2. Run `gulp` or `gulp test` to run Karma tests and ensure they pass.
69+
3. Reset all `dist/*` files
70+
4. Commit changes using the commit message conventions below.
71+
5. Push
72+
6. Create PR
4073

4174
### Commit Message Format
4275
Each commit message consists of a **header**, a **body** and a **footer**. The header has a special

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,23 @@ AngularJS-native version of [Select2](http://ivaynberg.github.io/select2/) and [
2323

2424
For the roadmap, check [issue #3](https://github.com/angular-ui/ui-select/issues/3) and the [Wiki page](https://github.com/angular-ui/ui-select/wiki/Roadmap).
2525

26+
## Installation using [Composer](http://getcomposer.org/)
27+
28+
Make sure composer is install globally before we proceed. After that we need to add below piece of code in `composer.json` file located inside your project root folder.
29+
30+
```
31+
{
32+
"require": {
33+
"components/ui-select": "dev-master"
34+
}
35+
}
36+
```
37+
38+
- Run `composer update` and composer will install the component.
39+
- Inside your HTML add below script and link tags.
40+
- select.js: `<script src="components/ui-select/dist/select.min.js"></script>`
41+
- select.css: `<link rel="stylesheet" href="components/ui-select/dist/select.min.css">`
42+
2643

2744
## Development
2845

bower.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
{
22
"name": "ui-select",
3-
"version": "0.13.2",
3+
"version": "0.14.1",
44
"homepage": "https://github.com/angular-ui/ui-select",
55
"authors": [
66
"AngularUI"
77
],
88
"description": "AngularJS ui-select",
9-
"main": ["dist/select.js", "dist/select.css"],
9+
"main": [
10+
"dist/select.js",
11+
"dist/select.css"
12+
],
1013
"license": "MIT",
1114
"ignore": [
1215
"**/.*",

composer.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "components/ui-select",
3+
"description": "AngularJS UI Select",
4+
"keywords": ["angular", "angular-ui", "select", "select2", "angularjs"],
5+
"type": "component",
6+
"homepage": "https://github.com/angular-ui/ui-select",
7+
"license": "MIT",
8+
"support": {
9+
"issues": "https://github.com/angular-ui/ui-select/issues",
10+
"wiki": "https://github.com/angular-ui/ui-select/wiki",
11+
"source": "https://github.com/angular-ui/ui-select"
12+
},
13+
"require": {
14+
"robloach/component-installer": "*"
15+
},
16+
"extra": {
17+
"component": {
18+
"scripts": [
19+
"dist/select.js"
20+
],
21+
"files": [
22+
"dist/select.js",
23+
"dist/select.css",
24+
"dist/select.min.js",
25+
"dist/select.min.css"
26+
]
27+
}
28+
}
29+
}

dist/select.css

Lines changed: 1 addition & 1 deletion
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.13.3 - 2016-01-25T23:01:33.538Z
4+
* Version: 0.16.0 - 2016-03-23T20:51:56.678Z
55
* License: MIT
66
*/
77

0 commit comments

Comments
 (0)