From 5367a69b01565ee91d31e2e77a1d187cc298c6f2 Mon Sep 17 00:00:00 2001 From: Jeremy Elbourn Date: Wed, 25 May 2016 17:48:24 -0700 Subject: [PATCH] chore: bump version alpha.5 and update changelog (#529) --- CHANGELOG.md | 42 ++++++++++++++++++++ package.json | 2 +- scripts/release/stage-release.sh | 9 +---- src/components/button/package.json | 4 +- src/components/card/package.json | 4 +- src/components/checkbox/checkbox.ts | 2 + src/components/checkbox/package.json | 4 +- src/components/grid-list/package.json | 4 +- src/components/icon/package.json | 4 +- src/components/input/package.json | 4 +- src/components/list/package.json | 4 +- src/components/progress-bar/package.json | 4 +- src/components/progress-circle/package.json | 4 +- src/components/radio/package.json | 4 +- src/components/sidenav/package.json | 4 +- src/components/slide-toggle/package.json | 4 +- src/components/{tab-group => tabs}/README.md | 0 src/components/tabs/package.json | 4 +- src/components/toolbar/package.json | 4 +- src/core/package.json | 2 +- 20 files changed, 75 insertions(+), 38 deletions(-) rename src/components/{tab-group => tabs}/README.md (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 074b60b6de58..a13343cf136b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,45 @@ + +# [2.0.0-alpha.5 granite-gouda](https://github.com/angular/material2/compare/2.0.0-alpha.4...v2.0.0-alpha.5) (2016-05-25) + + +### Bug Fixes + +* **checkbox:** change event should now fire on first change([7a9df1e](https://github.com/angular/material2/commit/7a9df1e)), closes [#481](https://github.com/angular/material2/issues/481) +* **gestures:** ensure default gestures are not overwritten by custom gestures([523929c](https://github.com/angular/material2/commit/523929c)) +* **gestures:** export gesture config as part of core ([#488](https://github.com/angular/material2/issues/488))([0d04e01](https://github.com/angular/material2/commit/0d04e01)) +* **input:** adds blur and focus event support ([#449](https://github.com/angular/material2/issues/449))([f6f5af3](https://github.com/angular/material2/commit/f6f5af3)), closes [#337](https://github.com/angular/material2/issues/337) +* **input:** adds support for name property for input element ([#452](https://github.com/angular/material2/issues/452))([f53ffdb](https://github.com/angular/material2/commit/f53ffdb)), closes [#446](https://github.com/angular/material2/issues/446) +* **input:** input element should have a different id from outer element ([#450](https://github.com/angular/material2/issues/450))([be5e93a](https://github.com/angular/material2/commit/be5e93a)), closes [#320](https://github.com/angular/material2/issues/320) +* **input:** inputs now work in IE11 ([#469](https://github.com/angular/material2/issues/469))([de2a9f2](https://github.com/angular/material2/commit/de2a9f2)), closes [#336](https://github.com/angular/material2/issues/336) +* **input:** make native input background transparent ([#468](https://github.com/angular/material2/issues/468))([d2c6cb8](https://github.com/angular/material2/commit/d2c6cb8)), closes [#277](https://github.com/angular/material2/issues/277) +* **input:** undo firefox invalid style, fix maxlength in IE ([#393](https://github.com/angular/material2/issues/393))([dfe683b](https://github.com/angular/material2/commit/dfe683b)), closes [#393](https://github.com/issues/393) [#342](https://github.com/angular/material2/issues/342) [#388](https://github.com/angular/material2/issues/388) +* **input:** use the right ID for the label. ([#515](https://github.com/angular/material2/issues/515))([06aa3f1](https://github.com/angular/material2/commit/06aa3f1)), closes [#512](https://github.com/angular/material2/issues/512) +* **list:** adds focus state for nav-list items ([#502](https://github.com/angular/material2/issues/502))([34b210c](https://github.com/angular/material2/commit/34b210c)), closes [#323](https://github.com/angular/material2/issues/323) +* **list:** removes outline from focus state ([#511](https://github.com/angular/material2/issues/511))([91ad1c8](https://github.com/angular/material2/commit/91ad1c8)) +* **progress-circle:** support IE11 ([#375](https://github.com/angular/material2/issues/375))([f22fa86](https://github.com/angular/material2/commit/f22fa86)), closes [#295](https://github.com/angular/material2/issues/295) +* **radio:** refactor tests and fix ngModel ([#443](https://github.com/angular/material2/issues/443))([a25a8da](https://github.com/angular/material2/commit/a25a8da)), closes [#443](https://github.com/issues/443) +* **radio:** remove event global so radio works in node([c32b06d](https://github.com/angular/material2/commit/c32b06d)), closes [#425](https://github.com/angular/material2/issues/425) +* **radio:** unsetting the model will deselect all radio buttons ([#441](https://github.com/angular/material2/issues/441))([8af16e8](https://github.com/angular/material2/commit/8af16e8)), closes [#327](https://github.com/angular/material2/issues/327) +* **sidenav:** add scrolling style to enable momentum scroll([c566242](https://github.com/angular/material2/commit/c566242)) +* **sidenav:** fixes sidenav RTL listening for side mode ([#465](https://github.com/angular/material2/issues/465))([4e1d85e](https://github.com/angular/material2/commit/4e1d85e)), closes [#465](https://github.com/issues/465) [#411](https://github.com/angular/material2/issues/411) +* **sidenav:** removes margin transitions ([#460](https://github.com/angular/material2/issues/460))([4b488e1](https://github.com/angular/material2/commit/4b488e1)), closes [#404](https://github.com/angular/material2/issues/404) +* **sidenav:** switches to `translate3d()` for content positioning ([#484](https://github.com/angular/material2/issues/484))([357ee4c](https://github.com/angular/material2/commit/357ee4c)) +* **sidenav:** treat `opened` as boolean attribute. ([#444](https://github.com/angular/material2/issues/444))([e977984](https://github.com/angular/material2/commit/e977984)), closes [#300](https://github.com/angular/material2/issues/300) +* **misc:** adds directive constants to all components ([#514](https://github.com/angular/material2/issues/514))([fb89d4f](https://github.com/angular/material2/commit/fb89d4f)), closes [#513](https://github.com/angular/material2/issues/513) +* **misc:** correct access-level on many APIs ([#437](https://github.com/angular/material2/issues/437))([358af3b](https://github.com/angular/material2/commit/358af3b)) +* **misc:** ensure custom error messages are set([4a25b7f](https://github.com/angular/material2/commit/4a25b7f)) + +### Features + +* **tabs:** adds the `md-tab-group` component ([#376](https://github.com/angular/material2/issues/376))([ada285c](https://github.com/angular/material2/commit/ada285c)) +* **grid-list:** add grid-list component([0f89b8d](https://github.com/angular/material2/commit/0f89b8d)) +* **slide-toggle** add slide-toggle component. ([#362](https://github.com/angular/material2/issues/362))([e09a5bf](https://github.com/angular/material2/commit/e09a5bf)) +* **checkbox:** drive component with native checkbox ([#415](https://github.com/angular/material2/issues/415))([10ac2be](https://github.com/angular/material2/commit/10ac2be)), closes [#250](https://github.com/angular/material2/issues/250) +* **input:** add focus function on host element ([#407](https://github.com/angular/material2/issues/407))([0323844](https://github.com/angular/material2/commit/0323844)) +* **input:** add support for more input attributes ([#447](https://github.com/angular/material2/issues/447))([911bfae](https://github.com/angular/material2/commit/911bfae)) +* **overlay:** add connected position strategy ([#335](https://github.com/angular/material2/issues/335))([7f3b1bd](https://github.com/angular/material2/commit/7f3b1bd)) + + # [2.0.0-alpha.4 mahogany-tambourine](https://github.com/angular/material2/compare/2.0.0-alpha.3...v2.0.0-alpha.4) (2016-05-04) diff --git a/package.json b/package.json index aec4e1c3122e..9e8f1f41afec 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "inline-resources": "node ./scripts/release/inline-resources.js ./dist/components", "deploy": "firebase deploy" }, - "version": "2.0.0-alpha.4", + "version": "2.0.0-alpha.5", "license": "MIT", "engines": { "node": ">= 4.2.1 < 5" diff --git a/scripts/release/stage-release.sh b/scripts/release/stage-release.sh index dcea03f3fb31..a82e065926eb 100755 --- a/scripts/release/stage-release.sh +++ b/scripts/release/stage-release.sh @@ -21,15 +21,8 @@ npm run inline-resources # deploy/ serves as a working directory to stage the release. mkdir deploy -# Copy all components/ to deploy/ and replace `../../core` with `@angular2-material/core` -# that each component depends on the core *package*. -# Use a `.bak` extension for sed backup because `sed` on OSX will not work without a backup -# extension. Delete the backups immediately after. +# Copy all components/ to deploy/ cp -R ./dist/components/* ./deploy/ -find ./deploy -type f \( -name "*.js" -o -name "*.ts" \) -exec sed -i.bak 's|\.\./\.\./core|@angular2-material/core|g' {} \; - - -find ./deploy -type f -name "*.bak" | xargs rm # Copy the core/ directory directly into ./deploy cp -R ./dist/core/ ./deploy/core/ diff --git a/src/components/button/package.json b/src/components/button/package.json index 5b7730fcd248..02fde5bd6825 100644 --- a/src/components/button/package.json +++ b/src/components/button/package.json @@ -1,6 +1,6 @@ { "name": "@angular2-material/button", - "version": "2.0.0-alpha.4", + "version": "2.0.0-alpha.5", "description": "Angular 2 Material button", "main": "./button.js", "typings": "./button.d.ts", @@ -23,6 +23,6 @@ }, "homepage": "https://github.com/angular/material2#readme", "peerDependencies": { - "@angular2-material/core": "2.0.0-alpha.4" + "@angular2-material/core": "2.0.0-alpha.5" } } diff --git a/src/components/card/package.json b/src/components/card/package.json index cce49a85d3bb..dbd3f629e549 100644 --- a/src/components/card/package.json +++ b/src/components/card/package.json @@ -1,6 +1,6 @@ { "name": "@angular2-material/card", - "version": "2.0.0-alpha.4", + "version": "2.0.0-alpha.5", "description": "Angular 2 Material card", "main": "./card.js", "typings": "./card.d.ts", @@ -21,6 +21,6 @@ }, "homepage": "https://github.com/angular/material2#readme", "peerDependencies": { - "@angular2-material/core": "2.0.0-alpha.4" + "@angular2-material/core": "2.0.0-alpha.5" } } diff --git a/src/components/checkbox/checkbox.ts b/src/components/checkbox/checkbox.ts index 45da46e5adb8..4754b99ec617 100644 --- a/src/components/checkbox/checkbox.ts +++ b/src/components/checkbox/checkbox.ts @@ -284,3 +284,5 @@ export class MdCheckbox implements ControlValueAccessor { return `md-checkbox-anim-${animSuffix}`; } } + +export const MD_CHECKBOX_DIRECTIVES = [MdCheckbox]; diff --git a/src/components/checkbox/package.json b/src/components/checkbox/package.json index e83a9db0b210..d3dfb9282d67 100644 --- a/src/components/checkbox/package.json +++ b/src/components/checkbox/package.json @@ -1,6 +1,6 @@ { "name": "@angular2-material/checkbox", - "version": "2.0.0-alpha.4", + "version": "2.0.0-alpha.5", "description": "Angular 2 Material checkbox", "main": "./checkbox.js", "typings": "./checkbox.d.ts", @@ -21,6 +21,6 @@ }, "homepage": "https://github.com/angular/material2#readme", "peerDependencies": { - "@angular2-material/core": "2.0.0-alpha.4" + "@angular2-material/core": "2.0.0-alpha.5" } } diff --git a/src/components/grid-list/package.json b/src/components/grid-list/package.json index 0b0271551049..b583043f4976 100644 --- a/src/components/grid-list/package.json +++ b/src/components/grid-list/package.json @@ -1,6 +1,6 @@ { "name": "@angular2-material/grid-list", - "version": "2.0.0-alpha.4", + "version": "2.0.0-alpha.5", "description": "Angular 2 Material grid list", "main": "./grid-list.js", "typings": "./grid-list.d.ts", @@ -23,6 +23,6 @@ }, "homepage": "https://github.com/angular/material2#readme", "peerDependencies": { - "@angular2-material/core": "2.0.0-alpha.4" + "@angular2-material/core": "2.0.0-alpha.5" } } diff --git a/src/components/icon/package.json b/src/components/icon/package.json index 71389227bd43..1745832a81dc 100644 --- a/src/components/icon/package.json +++ b/src/components/icon/package.json @@ -1,6 +1,6 @@ { "name": "@angular2-material/icon", - "version": "2.0.0-alpha.4", + "version": "2.0.0-alpha.5", "description": "Angular 2 Material icon", "main": "./icon.js", "typings": "./icon.d.ts", @@ -22,6 +22,6 @@ "homepage": "https://github.com/angular/material2#readme", "peerDependencies": { "@angular/http": "2.0.0-rc.1", - "@angular2-material/core": "2.0.0-alpha.4" + "@angular2-material/core": "2.0.0-alpha.5" } } diff --git a/src/components/input/package.json b/src/components/input/package.json index 596a548f1dd7..7a40887ff22e 100644 --- a/src/components/input/package.json +++ b/src/components/input/package.json @@ -1,6 +1,6 @@ { "name": "@angular2-material/input", - "version": "2.0.0-alpha.4", + "version": "2.0.0-alpha.5", "description": "Angular 2 Material input", "main": "./input.js", "typings": "./input.d.ts", @@ -23,6 +23,6 @@ }, "homepage": "https://github.com/angular/material2#readme", "peerDependencies": { - "@angular2-material/core": "2.0.0-alpha.4" + "@angular2-material/core": "2.0.0-alpha.5" } } diff --git a/src/components/list/package.json b/src/components/list/package.json index 9dead14e24b7..6b609bc1097d 100644 --- a/src/components/list/package.json +++ b/src/components/list/package.json @@ -1,6 +1,6 @@ { "name": "@angular2-material/list", - "version": "2.0.0-alpha.4", + "version": "2.0.0-alpha.5", "description": "Angular 2 Material list", "main": "./list.js", "typings": "./list.d.ts", @@ -21,6 +21,6 @@ }, "homepage": "https://github.com/angular/material2#readme", "peerDependencies": { - "@angular2-material/core": "2.0.0-alpha.4" + "@angular2-material/core": "2.0.0-alpha.5" } } diff --git a/src/components/progress-bar/package.json b/src/components/progress-bar/package.json index 066aa9641d6e..e733e1e8055f 100644 --- a/src/components/progress-bar/package.json +++ b/src/components/progress-bar/package.json @@ -1,6 +1,6 @@ { "name": "@angular2-material/progress-bar", - "version": "2.0.0-alpha.4", + "version": "2.0.0-alpha.5", "description": "Angular 2 Material progress-bar", "main": "./progress-bar.js", "typings": "./progress-bar.d.ts", @@ -23,6 +23,6 @@ }, "homepage": "https://github.com/angular/material2#readme", "peerDependencies": { - "@angular2-material/core": "2.0.0-alpha.4" + "@angular2-material/core": "2.0.0-alpha.5" } } diff --git a/src/components/progress-circle/package.json b/src/components/progress-circle/package.json index 357e05deea74..203cca2d905d 100644 --- a/src/components/progress-circle/package.json +++ b/src/components/progress-circle/package.json @@ -1,6 +1,6 @@ { "name": "@angular2-material/progress-circle", - "version": "2.0.0-alpha.4", + "version": "2.0.0-alpha.5", "description": "Angular 2 Material progress-circle", "main": "./progress-circle.js", "typings": "./progress-circle.d.ts", @@ -22,6 +22,6 @@ }, "homepage": "https://github.com/angular/material2#readme", "peerDependencies": { - "@angular2-material/core": "2.0.0-alpha.4" + "@angular2-material/core": "2.0.0-alpha.5" } } diff --git a/src/components/radio/package.json b/src/components/radio/package.json index e5215d22e9e6..76fea9142444 100644 --- a/src/components/radio/package.json +++ b/src/components/radio/package.json @@ -1,6 +1,6 @@ { "name": "@angular2-material/radio", - "version": "2.0.0-alpha.4", + "version": "2.0.0-alpha.5", "description": "Angular 2 Material radio", "main": "./radio.js", "typings": "./radio.d.ts", @@ -21,6 +21,6 @@ }, "homepage": "https://github.com/angular/material2#readme", "peerDependencies": { - "@angular2-material/core": "2.0.0-alpha.4" + "@angular2-material/core": "2.0.0-alpha.5" } } diff --git a/src/components/sidenav/package.json b/src/components/sidenav/package.json index 543f20e4dfe3..19ac3ced3865 100644 --- a/src/components/sidenav/package.json +++ b/src/components/sidenav/package.json @@ -1,6 +1,6 @@ { "name": "@angular2-material/sidenav", - "version": "2.0.0-alpha.4", + "version": "2.0.0-alpha.5", "description": "Angular 2 Material sidenav", "main": "./sidenav.js", "typings": "./sidenav.d.ts", @@ -24,6 +24,6 @@ }, "homepage": "https://github.com/angular/material2#readme", "peerDependencies": { - "@angular2-material/core": "2.0.0-alpha.4" + "@angular2-material/core": "2.0.0-alpha.5" } } diff --git a/src/components/slide-toggle/package.json b/src/components/slide-toggle/package.json index bfc25317495e..149f551a7910 100644 --- a/src/components/slide-toggle/package.json +++ b/src/components/slide-toggle/package.json @@ -23,6 +23,6 @@ }, "homepage": "https://github.com/angular/material2#readme", "peerDependencies": { - "@angular2-material/core": "2.0.0-alpha.4" + "@angular2-material/core": "2.0.0-alpha.5" } -} \ No newline at end of file +} diff --git a/src/components/tab-group/README.md b/src/components/tabs/README.md similarity index 100% rename from src/components/tab-group/README.md rename to src/components/tabs/README.md diff --git a/src/components/tabs/package.json b/src/components/tabs/package.json index ad06eb5a970b..5afc6d00c228 100644 --- a/src/components/tabs/package.json +++ b/src/components/tabs/package.json @@ -1,7 +1,7 @@ { "name": "@angular2-material/tabs", "version": "2.0.0-alpha.5", - "description": "Angular 2 Material Slide Toggle", + "description": "Angular 2 Material Tabs", "main": "./tabs.js", "typings": "./tabs.d.ts", "repository": { @@ -21,6 +21,6 @@ }, "homepage": "https://github.com/angular/material2#readme", "peerDependencies": { - "@angular2-material/core": "2.0.0-alpha.4" + "@angular2-material/core": "2.0.0-alpha.5" } } diff --git a/src/components/toolbar/package.json b/src/components/toolbar/package.json index f0c146c2b007..2d9e247a908f 100644 --- a/src/components/toolbar/package.json +++ b/src/components/toolbar/package.json @@ -1,6 +1,6 @@ { "name": "@angular2-material/toolbar", - "version": "2.0.0-alpha.4", + "version": "2.0.0-alpha.5", "description": "Angular 2 Material toolbar", "main": "./toolbar.js", "typings": "./toolbar.d.ts", @@ -22,6 +22,6 @@ }, "homepage": "https://github.com/angular/material2#readme", "peerDependencies": { - "@angular2-material/core": "2.0.0-alpha.4" + "@angular2-material/core": "2.0.0-alpha.5" } } diff --git a/src/core/package.json b/src/core/package.json index ecdfd75baf90..6348540b599a 100644 --- a/src/core/package.json +++ b/src/core/package.json @@ -1,6 +1,6 @@ { "name": "@angular2-material/core", - "version": "2.0.0-alpha.4", + "version": "2.0.0-alpha.5", "description": "Angular 2 Material core", "main": "./core.js", "typings": "./core.d.ts",