diff --git a/.gitignore b/.gitignore index 60deeb9..6b97697 100644 --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,3 @@ yarn-error.log *.orig *.swp *.tgz -*.sh diff --git a/.npmignore b/.npmignore index 26f544f..4de3f25 100644 --- a/.npmignore +++ b/.npmignore @@ -4,6 +4,10 @@ /node_modules /src +/dist/ng-select.js +/dist/ng-select.d.ts +/dist/ng-select.metadata.json + yarn.lock gulpfile.js tslint.json @@ -14,6 +18,9 @@ tslint.json npm-debug.log yarn-error.log +*.spec.d.ts +*.spec.js + *.orig *.swp *.tgz diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d320ea..c0efc98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog + +## [1.0.0-beta.4](https://github.com/basvandenberg/ng-select/compare/1.0.0-beta.3...1.0.0-beta.4) (2017-03-12) + +### Features + +- Add `filterPlaceholder` input to set the filter placeholder (#121, #124). +- Add `label` input to show persistent label above select container (#106). + +### Bug fixes + +- Re-enable AoT compilation (#113). + +### Improvements + +- Enable import of SelectComponent and IOption interface (#118). +- Selected and deselected events return original option object. +- Disable autocomplete for filter inputs (#126). +- The NoOptionsFound output event returns filter term instead of null (#109). +- Setup unit testing. + ## [1.0.0-beta.3](https://github.com/basvandenberg/ng-select/compare/1.0.0-beta.2...1.0.0-beta.3) (2017-02-11) diff --git a/README.md b/README.md index f64d394..0c24044 100644 --- a/README.md +++ b/README.md @@ -10,9 +10,9 @@ A select component for angular, based on the select2 JQuery plugin. See the ------------------------------------------------------------------------------- ***IMPORTANT NOTICE*** -*The angular [press kit](https://angular.io/presskit.html) states that 3rd party -projects should avoid the use of version numbers in their names. The name of -this project is therefore changed from angular2-select to ng-select (since +*The angular [press kit](https://angular.io/presskit.html) states that 3rd +party projects should avoid the use of version numbers in their names. The name +of this project is therefore changed from angular2-select to ng-select (since angular-select was not available on npm anymore).* *The npm package `angular2-select` will be deprecated, the upcoming beta.4 @@ -43,7 +43,6 @@ For npm users: ``` npm install --save ng-select ``` - For yarn users: ``` yarn add ng-select @@ -80,8 +79,6 @@ export class AppModule {} #### Systemjs -*Not yet tested for the beta version.* - In `systemjs.config.js` add `ng-select` to map and package: ```javascript @@ -101,29 +98,31 @@ var packages = { | Name | Type | Default | Description | | ------------------ | ----------------- | --------------------- | ------------------------------------------------------------------------------------------ | -| options | `Array