diff --git a/CHANGELOG.md b/CHANGELOG.md index a13343cf136b..a6ccc70f49e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,63 @@ + +# [2.0.0-alpha.6 carbonfiber-discotheque](https://github.com/angular/material2/compare/2.0.0-alpha.5...v2.0.0-alpha.6) (2016-06-30) + +### Breaking changes +* `MdRadioDispatcher` is now `MdUniqueSelectionDispatcher` and is imported from `core` +* Form controls use the new `@angular/forms` package. To make migration easier, you can + alternatively install alpha.5-3, which is the same as alpha.6 without the new forms package. + [Please see the docs for the new forms module](https://angular.io/docs/ts/latest/guide/forms.html). + + +### Bug Fixes + +* **button:** add the focus() method to buttons. ([#643](https://github.com/angular/material2/issues/643)) ([a6e74ce](https://github.com/angular/material2/commit/a6e74ce)), closes [#510](https://github.com/angular/material2/issues/510) +* **button:** focus state matches spec ([#467](https://github.com/angular/material2/issues/467)) ([b24d321](https://github.com/angular/material2/commit/b24d321)) +* **checkbox:** checkbox animation works in Safari ([#594](https://github.com/angular/material2/issues/594)) ([0a9fb83](https://github.com/angular/material2/commit/0a9fb83)) +* **checkbox:** prevent double click events ([#672](https://github.com/angular/material2/issues/672)) ([afed818](https://github.com/angular/material2/commit/afed818)), closes [#671](https://github.com/angular/material2/issues/671) +* **core:** resolve compilation errors for latest Typescript 1.9 ([#624](https://github.com/angular/material2/issues/624)) ([e366fa0](https://github.com/angular/material2/commit/e366fa0)), closes [#624](https://github.com/angular/material2/issues/624) +* **demo-app:** resolve mapping paths in relative. ([#566](https://github.com/angular/material2/issues/566)) ([421828a](https://github.com/angular/material2/commit/421828a)), closes [#566](https://github.com/angular/material2/issues/566) +* **forms:** update components to new forms module ([#745](https://github.com/angular/material2/issues/745)) ([653fcee](https://github.com/angular/material2/commit/653fcee)) +* **grid-list:** account for gutter in total list height ([#545](https://github.com/angular/material2/issues/545)) ([b47097d](https://github.com/angular/material2/commit/b47097d)) +* **input:** Fix floating label width ([#689](https://github.com/angular/material2/issues/689)) ([cf2703c](https://github.com/angular/material2/commit/cf2703c)), closes [#689](https://github.com/angular/material2/issues/689) [#688](https://github.com/angular/material2/issues/688) +* **input:** placeholder text is hidden by parent visibility ([#680](https://github.com/angular/material2/issues/680)) ([b407278](https://github.com/angular/material2/commit/b407278)), closes [#670](https://github.com/angular/material2/issues/670) +* **overlay:** add a z-index. ([#615](https://github.com/angular/material2/issues/615)) ([89ab2f5](https://github.com/angular/material2/commit/89ab2f5)) +* **progress-bar:** determinate state reflects value ([#542](https://github.com/angular/material2/issues/542)) ([6b86df0](https://github.com/angular/material2/commit/6b86df0)), closes [#519](https://github.com/angular/material2/issues/519) +* **radio:** fix the baseline of radio buttons ([#642](https://github.com/angular/material2/issues/642)) ([31f0c7f](https://github.com/angular/material2/commit/31f0c7f)), closes [#642](https://github.com/angular/material2/issues/642) +* **radio:** model should update before change event is fired ([#456](https://github.com/angular/material2/issues/456)) ([c923f56](https://github.com/angular/material2/commit/c923f56)), closes [#448](https://github.com/angular/material2/issues/448) +* **radio:** support aria-label(ledby) on md-radio ([#586](https://github.com/angular/material2/issues/586)) ([#596](https://github.com/angular/material2/issues/596)) ([8ccc49b](https://github.com/angular/material2/commit/8ccc49b)) +* **release:** make resource-inlining regex non-greedy ([#653](https://github.com/angular/material2/issues/653)) ([e808452](https://github.com/angular/material2/commit/e808452)) +* **sidenav:** md-content now fills height ([#703](https://github.com/angular/material2/issues/703)) ([e10172c](https://github.com/angular/material2/commit/e10172c)), closes [#606](https://github.com/angular/material2/issues/606) +* **sidenav:** resolve compilation errors for latest Typescript 1.9 ([#627](https://github.com/angular/material2/issues/627)) ([f7f0b4a](https://github.com/angular/material2/commit/f7f0b4a)), closes [#627](https://github.com/angular/material2/issues/627) +* **slide-toggle:** apply typography styles to slide-toggle ([#634](https://github.com/angular/material2/issues/634)) ([bbd96e8](https://github.com/angular/material2/commit/bbd96e8)), closes [#633](https://github.com/angular/material2/issues/633) +* **slide-toggle:** stop change event firing upon init ([#713](https://github.com/angular/material2/issues/713)) ([f21b2f4](https://github.com/angular/material2/commit/f21b2f4)), closes [#709](https://github.com/angular/material2/issues/709) +* **spinner:** omit min/max/value for indeterminate and correctly set mode ([#640](https://github.com/angular/material2/issues/640)) ([a5944da](https://github.com/angular/material2/commit/a5944da)) +* **tabs:** adds support for async tabs ([#639](https://github.com/angular/material2/issues/639)) ([231467d](https://github.com/angular/material2/commit/231467d)), closes [#574](https://github.com/angular/material2/issues/574) +* **tabs:** removes minimum height ([#641](https://github.com/angular/material2/issues/641)) ([750a8e3](https://github.com/angular/material2/commit/750a8e3)), closes [#570](https://github.com/angular/material2/issues/570) +* **theme:** fix card and list colors for dark themes ([#667](https://github.com/angular/material2/issues/667)) ([ce27341](https://github.com/angular/material2/commit/ce27341)), closes [#667](https://github.com/angular/material2/issues/667) [#350](https://github.com/angular/material2/issues/350) +* **toolbar:** disable view encapsulation. ([#678](https://github.com/angular/material2/issues/678)) ([5c4dc04](https://github.com/angular/material2/commit/5c4dc04)), closes [#676](https://github.com/angular/material2/issues/676) +* add event object for slide-toggle and checkbox. ([#554](https://github.com/angular/material2/issues/554)) ([55cc197](https://github.com/angular/material2/commit/55cc197)), closes [#552](https://github.com/angular/material2/issues/552) +* include scss sources in packages ([#536](https://github.com/angular/material2/issues/536)) ([fd02b10](https://github.com/angular/material2/commit/fd02b10)) +* remove [@internal](https://github.com/internal) where it would make tsc fail ([#538](https://github.com/angular/material2/issues/538)) ([efd1be2](https://github.com/angular/material2/commit/efd1be2)) +* remove circular deps and ci check ([#608](https://github.com/angular/material2/issues/608)) ([fda5617](https://github.com/angular/material2/commit/fda5617)) +* remove duplicated typing. TS stdlib provides enough for e2e tests ([#637](https://github.com/angular/material2/issues/637)) ([a68597e](https://github.com/angular/material2/commit/a68597e)) +* resolve errors w/ Closure Compiler. ([#659](https://github.com/angular/material2/issues/659)) ([fbdb35b](https://github.com/angular/material2/commit/fbdb35b)), closes [#659](https://github.com/angular/material2/issues/659) +* visually hidden inputs should not bubble change event ([#551](https://github.com/angular/material2/issues/551)) ([d037ed3](https://github.com/angular/material2/commit/d037ed3)), closes [#544](https://github.com/angular/material2/issues/544) + + +### Features + +* **grid-list:** add header and footer support ([43806f6](https://github.com/angular/material2/commit/43806f6)) +* **overlay:** add connected overlay directive ([#496](https://github.com/angular/material2/issues/496)) ([3b527e8](https://github.com/angular/material2/commit/3b527e8)) +* **tabs:** adds focus/select events ([#649](https://github.com/angular/material2/issues/649)) ([497a3c1](https://github.com/angular/material2/commit/497a3c1)), closes [#569](https://github.com/angular/material2/issues/569) +* **tabs:** adds support for two-way bindings on selectedIndex ([#702](https://github.com/angular/material2/issues/702)) ([8df3246](https://github.com/angular/material2/commit/8df3246)), closes [#687](https://github.com/angular/material2/issues/687) + + +### Performance Improvements + +* **progress-circle:** clean up animation on destroy ([#617](https://github.com/angular/material2/issues/617)) ([63f43bd](https://github.com/angular/material2/commit/63f43bd)) + + + # [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) diff --git a/package.json b/package.json index 8b83ecb916c6..18fc6dc82f06 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "deploy": "firebase deploy", "webdriver-manager": "webdriver-manager" }, - "version": "2.0.0-alpha.5-2", + "version": "2.0.0-alpha.6", "license": "MIT", "engines": { "node": ">= 4.2.1 < 5" diff --git a/src/components/button/package.json b/src/components/button/package.json index 778b8a8dbeb2..ae6427962bc3 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.5-2", + "version": "2.0.0-alpha.6", "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.5-2" + "@angular2-material/core": "2.0.0-alpha.6" } } diff --git a/src/components/card/package.json b/src/components/card/package.json index 9d7c2da5ac42..4d1273996864 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.5-2", + "version": "2.0.0-alpha.6", "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.5-2" + "@angular2-material/core": "2.0.0-alpha.6" } } diff --git a/src/components/checkbox/package.json b/src/components/checkbox/package.json index dec0b028bc9f..b3ceb6f3049a 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.5-2", + "version": "2.0.0-alpha.6", "description": "Angular 2 Material checkbox", "main": "./checkbox.js", "typings": "./checkbox.d.ts", @@ -21,7 +21,7 @@ }, "homepage": "https://github.com/angular/material2#readme", "peerDependencies": { - "@angular2-material/core": "2.0.0-alpha.5-2", + "@angular2-material/core": "2.0.0-alpha.6", "@angular/forms": "^0.1.0" } } diff --git a/src/components/grid-list/package.json b/src/components/grid-list/package.json index 77dae32d6c1c..7ac6df0d12e5 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.5-2", + "version": "2.0.0-alpha.6", "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.5-2" + "@angular2-material/core": "2.0.0-alpha.6" } } diff --git a/src/components/icon/package.json b/src/components/icon/package.json index b75d66a74922..cd4767e54b53 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.5-2", + "version": "2.0.0-alpha.6", "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.3", - "@angular2-material/core": "2.0.0-alpha.5-2" + "@angular2-material/core": "2.0.0-alpha.6" } } diff --git a/src/components/input/package.json b/src/components/input/package.json index 348341128c8a..b3a248f47eba 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.5-2", + "version": "2.0.0-alpha.6", "description": "Angular 2 Material input", "main": "./input.js", "typings": "./input.d.ts", @@ -23,7 +23,7 @@ }, "homepage": "https://github.com/angular/material2#readme", "peerDependencies": { - "@angular2-material/core": "2.0.0-alpha.5-2", + "@angular2-material/core": "2.0.0-alpha.6", "@angular/forms": "^0.1.0" } } diff --git a/src/components/list/package.json b/src/components/list/package.json index d6c99727f752..ebee9d863c08 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.5-2", + "version": "2.0.0-alpha.6", "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.5-2" + "@angular2-material/core": "2.0.0-alpha.6" } } diff --git a/src/components/progress-bar/package.json b/src/components/progress-bar/package.json index 5c57f9dd5e3b..057840c1a14a 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.5-2", + "version": "2.0.0-alpha.6", "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.5-2" + "@angular2-material/core": "2.0.0-alpha.6" } } diff --git a/src/components/progress-circle/package.json b/src/components/progress-circle/package.json index fc600437c1ef..19727f64ba56 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.5-2", + "version": "2.0.0-alpha.6", "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.5-2" + "@angular2-material/core": "2.0.0-alpha.6" } } diff --git a/src/components/radio/package.json b/src/components/radio/package.json index 1edbab8d6cdd..7e67b84640b9 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.5-2", + "version": "2.0.0-alpha.6", "description": "Angular 2 Material radio", "main": "./radio.js", "typings": "./radio.d.ts", @@ -21,7 +21,7 @@ }, "homepage": "https://github.com/angular/material2#readme", "peerDependencies": { - "@angular2-material/core": "2.0.0-alpha.5-2", + "@angular2-material/core": "2.0.0-alpha.6", "@angular/forms": "^0.1.0" } } diff --git a/src/components/sidenav/package.json b/src/components/sidenav/package.json index b20e52c80d30..d52ad8060003 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.5-2", + "version": "2.0.0-alpha.6", "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.5-2" + "@angular2-material/core": "2.0.0-alpha.6" } } diff --git a/src/components/slide-toggle/package.json b/src/components/slide-toggle/package.json index b3787f8d0adc..9ca8d0f53cd6 100644 --- a/src/components/slide-toggle/package.json +++ b/src/components/slide-toggle/package.json @@ -1,6 +1,6 @@ { "name": "@angular2-material/slide-toggle", - "version": "2.0.0-alpha.5-2", + "version": "2.0.0-alpha.6", "description": "Angular 2 Material Slide Toggle", "main": "./slide-toggle.js", "typings": "./slide-toggle.d.ts", @@ -23,7 +23,7 @@ }, "homepage": "https://github.com/angular/material2#readme", "peerDependencies": { - "@angular2-material/core": "2.0.0-alpha.5-2", + "@angular2-material/core": "2.0.0-alpha.6", "@angular/forms": "^0.1.0" } } diff --git a/src/components/tabs/package.json b/src/components/tabs/package.json index f4908d91e710..2da2fc563e94 100644 --- a/src/components/tabs/package.json +++ b/src/components/tabs/package.json @@ -1,6 +1,6 @@ { "name": "@angular2-material/tabs", - "version": "2.0.0-alpha.5-2", + "version": "2.0.0-alpha.6", "description": "Angular 2 Material Tabs", "main": "./tabs.js", "typings": "./tabs.d.ts", @@ -21,6 +21,6 @@ }, "homepage": "https://github.com/angular/material2#readme", "peerDependencies": { - "@angular2-material/core": "2.0.0-alpha.5-2" + "@angular2-material/core": "2.0.0-alpha.6" } } diff --git a/src/components/toolbar/package.json b/src/components/toolbar/package.json index ba3b0c1aac63..5361d44bf527 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.5-2", + "version": "2.0.0-alpha.6", "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.5-2" + "@angular2-material/core": "2.0.0-alpha.6" } } diff --git a/src/core/core.ts b/src/core/core.ts index c86c7284e3a2..cffa1091703f 100644 --- a/src/core/core.ts +++ b/src/core/core.ts @@ -35,3 +35,8 @@ export { MdLiveAnnouncer, LIVE_ANNOUNCER_ELEMENT_TOKEN } from './a11y/live-announcer'; + +export { + MdUniqueSelectionDispatcher, + MdUniqueSelectionDispatcherListener +} from './coordination/unique-selection-dispatcher'; diff --git a/src/core/package.json b/src/core/package.json index ec64e7920a5a..fbacfd49494e 100644 --- a/src/core/package.json +++ b/src/core/package.json @@ -1,6 +1,6 @@ { "name": "@angular2-material/core", - "version": "2.0.0-alpha.5-2", + "version": "2.0.0-alpha.6", "description": "Angular 2 Material core", "main": "./core.js", "typings": "./core.d.ts",