Skip to content

chore: release alpha.2 #268

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 6, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,36 @@
<a name="2.0.0-alpha.2"></a>
# [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)



<a name="2.0.0-alpha.1"></a>
# [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)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Binary file removed screenshots/demo_page__index.screenshot.png
Binary file not shown.
Binary file removed screenshots/initial state.screenshot.png
Binary file not shown.
13 changes: 7 additions & 6 deletions scripts/release/stage-release.sh
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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.
4 changes: 2 additions & 2 deletions src/components/button/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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"
}
}
4 changes: 2 additions & 2 deletions src/components/card/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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"
}
}
4 changes: 2 additions & 2 deletions src/components/checkbox/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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"
}
}
29 changes: 29 additions & 0 deletions src/components/input/package.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
4 changes: 2 additions & 2 deletions src/components/list/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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"
}
}
4 changes: 2 additions & 2 deletions src/components/progress-circle/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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"
}
}
4 changes: 2 additions & 2 deletions src/components/radio/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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"
}
}
4 changes: 2 additions & 2 deletions src/components/sidenav/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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"
}
}
2 changes: 1 addition & 1 deletion src/components/toolbar/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/core/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"outDir": "../dist/",
"rootDir": ".",
"sourceMap": true,
"sourceRoot": "/",
"target": "es5"
"target": "es5",
"inlineSources": true
},
"files": [
"main.ts",
Expand Down