diff --git a/CHANGELOG.md b/CHANGELOG.md
index e5a61b99e62c..9c3ad9cfc759 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,36 @@
+
+# [2.0.0-alpha.2 diamond-haircut](https://github.com/angular/material2/compare/2.0.0-alpha.1...v2.0.0-alpha.2) (2016-04-06)
+
+
+### Bug Fixes
+
+* **button:** apply color classes correctly. ([62265cc](https://github.com/angular/material2/commit/62265cc)), closes [#75](https://github.com/angular/material2/issues/75) [#89](https://github.com/angular/material2/issues/89) [#195](https://github.com/angular/material2/issues/195)
+* **checkbox:** Cancel spacebar keydown events when component focused ([6db3511](https://github.com/angular/material2/commit/6db3511)), closes [#162](https://github.com/angular/material2/issues/162) [#181](https://github.com/angular/material2/issues/181)
+* **checkbox:** Ensure consistent mixedmark rendering across browsers ([666cdba](https://github.com/angular/material2/commit/666cdba)), closes [#174](https://github.com/angular/material2/issues/174) [#190](https://github.com/angular/material2/issues/190)
+* **checkbox:** Handle transition when unset checkbox is interacted with ([dde9359](https://github.com/angular/material2/commit/dde9359)), closes [#183](https://github.com/angular/material2/issues/183) [#227](https://github.com/angular/material2/issues/227)
+* **checkbox:** Reduce $md-checkbox-transition-duration to 90ms ([87e3a32](https://github.com/angular/material2/commit/87e3a32)), closes [#226](https://github.com/angular/material2/issues/226) [#230](https://github.com/angular/material2/issues/230)
+* **checkbox:** Remove GPU layer promotion for mark elements ([82a22a7](https://github.com/angular/material2/commit/82a22a7))
+* **sidenav:** Remove deprecated @View ([a61e2e9](https://github.com/angular/material2/commit/a61e2e9)), closes [#213](https://github.com/angular/material2/issues/213)
+* **radio:** export the dispatcher in radio.ts ([64cc406](https://github.com/angular/material2/commit/64cc406))
+
+### Features
+
+* **input:** add new input component ([74d9bc0](https://github.com/angular/material2/commit/74d9bc0))
+* **input:** README.md improvements and autofill support. ([b711c2b](https://github.com/angular/material2/commit/b711c2b))
+* **list:** add list component ([fb71eb1](https://github.com/angular/material2/commit/fb71eb1))
+* **list:** add dividers to lists ([915dd9b](https://github.com/angular/material2/commit/915dd9b))
+* **list:** support subheaders in lists ([0a9c169](https://github.com/angular/material2/commit/0a9c169))
+* **elevation:** Add elevation core styles ([3e34f7a](https://github.com/angular/material2/commit/3e34f7a)), closes [#222](https://github.com/angular/material2/issues/222)
+* **button:** add md-icon-button styling. ([208cd65](https://github.com/angular/material2/commit/208cd65)), closes [#188](https://github.com/angular/material2/issues/188) [#206](https://github.com/angular/material2/issues/206)
+* **overlay:** add basic core of overlay ([f0e1273](https://github.com/angular/material2/commit/f0e1273))
+* **overlay:** add global position strategy ([c8f87a4](https://github.com/angular/material2/commit/c8f87a4))
+* **overlay:** add overlay container & styles ([74e3edf](https://github.com/angular/material2/commit/74e3edf))
+* **portal:** add DomPortalHost ([358d923](https://github.com/angular/material2/commit/358d923))
+* **radio:** support ngModel on md-radio-group ([6aff4cc](https://github.com/angular/material2/commit/6aff4cc)), closes [#209](https://github.com/angular/material2/issues/209)
+* **a11y:** add aria live announcer ([e99da66](https://github.com/angular/material2/commit/e99da66)), closes [#106](https://github.com/angular/material2/issues/106)
+
+
+
# [2.0.0-alpha.1 nylon-hyperdrive](https://github.com/angular/material2/compare/2.0.0-alpha.0...v2.0.0-alpha.1) (2016-03-16)
diff --git a/package.json b/package.json
index 44dfd924af02..e5a5fee638d7 100644
--- a/package.json
+++ b/package.json
@@ -18,7 +18,7 @@
"e2e": "protractor test/protractor.conf.js",
"inline-resources": "gulp inline-resources"
},
- "version": "2.0.0-alpha.1",
+ "version": "2.0.0-alpha.2",
"license": "MIT",
"engines": {
"node": ">= 4.2.1 < 5"
diff --git a/screenshots/demo_page__index.screenshot.png b/screenshots/demo_page__index.screenshot.png
deleted file mode 100644
index 8d255a9f617b..000000000000
Binary files a/screenshots/demo_page__index.screenshot.png and /dev/null differ
diff --git a/screenshots/initial state.screenshot.png b/screenshots/initial state.screenshot.png
deleted file mode 100644
index 8d255a9f617b..000000000000
Binary files a/screenshots/initial state.screenshot.png and /dev/null differ
diff --git a/scripts/release/stage-release.sh b/scripts/release/stage-release.sh
index b90e54ef957a..891f22322431 100755
--- a/scripts/release/stage-release.sh
+++ b/scripts/release/stage-release.sh
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
-set -ex
+set -exu
# Stages a release by putting everything that should be packaged and released
# into the ./deploy folder. This script should be run from the root of the
@@ -21,16 +21,17 @@ ng build
# deploy/ serves as a working directory to stage the release.
mkdir deploy
-# Copy all components/ to deploy/ and replace "../core" with just "core" since each
-# component directory will now live as a sibling to core/.
+# 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.
cp -R ./dist/components/* ./deploy/
-find ./deploy -type f \( -name "*.js" -o -name "*.ts" \) -exec sed -i.bak 's|\.\./core|core|g' {} \;
+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/
-# To test the packages, use `npm link` in the package directories.
-# See https://docs.npmjs.com/cli/link
+# To test the packages, simply `npm install` the package directories.
diff --git a/src/components/button/package.json b/src/components/button/package.json
index 201900e2327e..a871a9748541 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.1",
+ "version": "2.0.0-alpha.2",
"description": "Angular 2 Material button",
"main": "./button.js",
"typings": "./button.d.ts",
@@ -24,6 +24,6 @@
"homepage": "https://github.com/angular/material2#readme",
"peerDependencies": {
"angular2": "^2.0.0-beta.8",
- "@angular2-material/core": "2.0.0-alpha.1"
+ "@angular2-material/core": "2.0.0-alpha.2"
}
}
diff --git a/src/components/card/package.json b/src/components/card/package.json
index 8b00336bdaac..2de5b37f69f9 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.1",
+ "version": "2.0.0-alpha.2",
"description": "Angular 2 Material card",
"main": "./card.js",
"typings": "./card.d.ts",
@@ -22,6 +22,6 @@
"homepage": "https://github.com/angular/material2#readme",
"peerDependencies": {
"angular2": "^2.0.0-beta.8",
- "@angular2-material/core": "2.0.0-alpha.1"
+ "@angular2-material/core": "2.0.0-alpha.2"
}
}
diff --git a/src/components/checkbox/package.json b/src/components/checkbox/package.json
index 7878d980a299..0cc95e5a5415 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.1",
+ "version": "2.0.0-alpha.2",
"description": "Angular 2 Material checkbox",
"main": "./checkbox.js",
"typings": "./checkbox.d.ts",
@@ -22,6 +22,6 @@
"homepage": "https://github.com/angular/material2#readme",
"peerDependencies": {
"angular2": "^2.0.0-beta.8",
- "@angular2-material/core": "2.0.0-alpha.1"
+ "@angular2-material/core": "2.0.0-alpha.2"
}
}
diff --git a/src/components/input/package.json b/src/components/input/package.json
new file mode 100644
index 000000000000..58beda6ad43b
--- /dev/null
+++ b/src/components/input/package.json
@@ -0,0 +1,29 @@
+{
+ "name": "@angular2-material/input",
+ "version": "2.0.0-alpha.2",
+ "description": "Angular 2 Material input",
+ "main": "./input.js",
+ "typings": "./input.d.ts",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/angular/material2.git"
+ },
+ "keywords": [
+ "angular",
+ "material",
+ "material design",
+ "components",
+ "input",
+ "text",
+ "textarea"
+ ],
+ "license": "MIT",
+ "bugs": {
+ "url": "https://github.com/angular/material2/issues"
+ },
+ "homepage": "https://github.com/angular/material2#readme",
+ "peerDependencies": {
+ "angular2": "^2.0.0-beta.8",
+ "@angular2-material/core": "2.0.0-alpha.2"
+ }
+}
diff --git a/src/components/list/package.json b/src/components/list/package.json
index cac25ac8e24d..fb4e2e17d3e1 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.1",
+ "version": "2.0.0-alpha.2",
"description": "Angular 2 Material list",
"main": "./list.js",
"typings": "./list.d.ts",
@@ -22,6 +22,6 @@
"homepage": "https://github.com/angular/material2#readme",
"peerDependencies": {
"angular2": "^2.0.0-beta.8",
- "@angular2-material/core": "2.0.0-alpha.1"
+ "@angular2-material/core": "2.0.0-alpha.2"
}
}
diff --git a/src/components/progress-circle/package.json b/src/components/progress-circle/package.json
index 56df787be60b..803af4030cf8 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.1",
+ "version": "2.0.0-alpha.2",
"description": "Angular 2 Material progress-circle",
"main": "./progress-circle.js",
"typings": "./progress-circle.d.ts",
@@ -23,6 +23,6 @@
"homepage": "https://github.com/angular/material2#readme",
"peerDependencies": {
"angular2": "^2.0.0-beta.8",
- "@angular2-material/core": "2.0.0-alpha.1"
+ "@angular2-material/core": "2.0.0-alpha.2"
}
}
diff --git a/src/components/radio/package.json b/src/components/radio/package.json
index 8e15e0fc72c1..ae8f6ff6677d 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.1",
+ "version": "2.0.0-alpha.2",
"description": "Angular 2 Material radio",
"main": "./radio.js",
"typings": "./radio.d.ts",
@@ -22,6 +22,6 @@
"homepage": "https://github.com/angular/material2#readme",
"peerDependencies": {
"angular2": "^2.0.0-beta.8",
- "@angular2-material/core": "2.0.0-alpha.1"
+ "@angular2-material/core": "2.0.0-alpha.2"
}
}
diff --git a/src/components/sidenav/package.json b/src/components/sidenav/package.json
index ffdf4f44feb5..4009720a7b71 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.1",
+ "version": "2.0.0-alpha.2",
"description": "Angular 2 Material sidenav",
"main": "./sidenav.js",
"typings": "./sidenav.d.ts",
@@ -25,6 +25,6 @@
"homepage": "https://github.com/angular/material2#readme",
"peerDependencies": {
"angular2": "^2.0.0-beta.8",
- "@angular2-material/core": "2.0.0-alpha.1"
+ "@angular2-material/core": "2.0.0-alpha.2"
}
}
diff --git a/src/components/toolbar/package.json b/src/components/toolbar/package.json
index 7085f569a557..b3ff62876536 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.1",
+ "version": "2.0.0-alpha.2",
"description": "Angular 2 Material toolbar",
"main": "./toolbar.js",
"typings": "./toolbar.d.ts",
diff --git a/src/core/package.json b/src/core/package.json
index 79084f9d0c4f..890fb7657fbc 100644
--- a/src/core/package.json
+++ b/src/core/package.json
@@ -1,6 +1,6 @@
{
"name": "@angular2-material/core",
- "version": "2.0.0-alpha.1",
+ "version": "2.0.0-alpha.2",
"description": "Angular 2 Material core",
"main": "./core.js",
"typings": "./core.d.ts",
diff --git a/src/tsconfig.json b/src/tsconfig.json
index 3821d9fd92c2..41df1a8036a8 100644
--- a/src/tsconfig.json
+++ b/src/tsconfig.json
@@ -11,8 +11,8 @@
"outDir": "../dist/",
"rootDir": ".",
"sourceMap": true,
- "sourceRoot": "/",
- "target": "es5"
+ "target": "es5",
+ "inlineSources": true
},
"files": [
"main.ts",