Skip to content

Commit 0082a39

Browse files
committed
chore: release alpha.2
Fixes #212 Fixes #189
1 parent b7e5e1b commit 0082a39

16 files changed

+88
-25
lines changed

CHANGELOG.md

+33
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,36 @@
1+
<a name="2.0.0-alpha.2"></a>
2+
# [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)
3+
4+
5+
### Bug Fixes
6+
7+
* **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)
8+
* **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)
9+
* **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)
10+
* **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)
11+
* **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)
12+
* **checkbox:** Remove GPU layer promotion for mark elements ([82a22a7](https://github.com/angular/material2/commit/82a22a7))
13+
* **sidenav:** Remove deprecated @View ([a61e2e9](https://github.com/angular/material2/commit/a61e2e9)), closes [#213](https://github.com/angular/material2/issues/213)
14+
* **radio:** export the dispatcher in radio.ts ([64cc406](https://github.com/angular/material2/commit/64cc406))
15+
16+
### Features
17+
18+
* **input:** add new input component ([74d9bc0](https://github.com/angular/material2/commit/74d9bc0))
19+
* **input:** README.md improvements and autofill support. ([b711c2b](https://github.com/angular/material2/commit/b711c2b))
20+
* **list:** add list component ([fb71eb1](https://github.com/angular/material2/commit/fb71eb1))
21+
* **list:** add dividers to lists ([915dd9b](https://github.com/angular/material2/commit/915dd9b))
22+
* **list:** support subheaders in lists ([0a9c169](https://github.com/angular/material2/commit/0a9c169))
23+
* **elevation:** Add elevation core styles ([3e34f7a](https://github.com/angular/material2/commit/3e34f7a)), closes [#222](https://github.com/angular/material2/issues/222)
24+
* **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)
25+
* **overlay:** add basic core of overlay ([f0e1273](https://github.com/angular/material2/commit/f0e1273))
26+
* **overlay:** add global position strategy ([c8f87a4](https://github.com/angular/material2/commit/c8f87a4))
27+
* **overlay:** add overlay container & styles ([74e3edf](https://github.com/angular/material2/commit/74e3edf))
28+
* **portal:** add DomPortalHost ([358d923](https://github.com/angular/material2/commit/358d923))
29+
* **radio:** support ngModel on md-radio-group ([6aff4cc](https://github.com/angular/material2/commit/6aff4cc)), closes [#209](https://github.com/angular/material2/issues/209)
30+
* **a11y:** add aria live announcer ([e99da66](https://github.com/angular/material2/commit/e99da66)), closes [#106](https://github.com/angular/material2/issues/106)
31+
32+
33+
134
<a name="2.0.0-alpha.1"></a>
235
# [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)
336

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"e2e": "protractor test/protractor.conf.js",
1919
"inline-resources": "gulp inline-resources"
2020
},
21-
"version": "2.0.0-alpha.1",
21+
"version": "2.0.0-alpha.2",
2222
"license": "MIT",
2323
"engines": {
2424
"node": ">= 4.2.1 < 5"
-24.5 KB
Binary file not shown.
-24.5 KB
Binary file not shown.

scripts/release/stage-release.sh

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
set -ex
2+
set -exu
33

44
# Stages a release by putting everything that should be packaged and released
55
# into the ./deploy folder. This script should be run from the root of the
@@ -21,16 +21,17 @@ ng build
2121
# deploy/ serves as a working directory to stage the release.
2222
mkdir deploy
2323

24-
# Copy all components/ to deploy/ and replace "../core" with just "core" since each
25-
# component directory will now live as a sibling to core/.
24+
# Copy all components/ to deploy/ and replace `../../core` with `@angular2-material/core`
25+
# that each component depends on the core *package*.
2626
# Use a `.bak` extension for sed backup because `sed` on OSX will not work without a backup
2727
# extension. Delete the backups immediately after.
2828
cp -R ./dist/components/* ./deploy/
29-
find ./deploy -type f \( -name "*.js" -o -name "*.ts" \) -exec sed -i.bak 's|\.\./core|core|g' {} \;
29+
find ./deploy -type f \( -name "*.js" -o -name "*.ts" \) -exec sed -i.bak 's|\.\./\.\./core|@angular2-material/core|g' {} \;
30+
31+
3032
find ./deploy -type f -name "*.bak" | xargs rm
3133

3234
# Copy the core/ directory directly into ./deploy
3335
cp -R ./dist/core/ ./deploy/core/
3436

35-
# To test the packages, use `npm link` in the package directories.
36-
# See https://docs.npmjs.com/cli/link
37+
# To test the packages, simply `npm install` the package directories.

src/components/button/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular2-material/button",
3-
"version": "2.0.0-alpha.1",
3+
"version": "2.0.0-alpha.2",
44
"description": "Angular 2 Material button",
55
"main": "./button.js",
66
"typings": "./button.d.ts",
@@ -24,6 +24,6 @@
2424
"homepage": "https://github.com/angular/material2#readme",
2525
"peerDependencies": {
2626
"angular2": "^2.0.0-beta.8",
27-
"@angular2-material/core": "2.0.0-alpha.1"
27+
"@angular2-material/core": "2.0.0-alpha.2"
2828
}
2929
}

src/components/card/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular2-material/card",
3-
"version": "2.0.0-alpha.1",
3+
"version": "2.0.0-alpha.2",
44
"description": "Angular 2 Material card",
55
"main": "./card.js",
66
"typings": "./card.d.ts",
@@ -22,6 +22,6 @@
2222
"homepage": "https://github.com/angular/material2#readme",
2323
"peerDependencies": {
2424
"angular2": "^2.0.0-beta.8",
25-
"@angular2-material/core": "2.0.0-alpha.1"
25+
"@angular2-material/core": "2.0.0-alpha.2"
2626
}
2727
}

src/components/checkbox/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular2-material/checkbox",
3-
"version": "2.0.0-alpha.1",
3+
"version": "2.0.0-alpha.2",
44
"description": "Angular 2 Material checkbox",
55
"main": "./checkbox.js",
66
"typings": "./checkbox.d.ts",
@@ -22,6 +22,6 @@
2222
"homepage": "https://github.com/angular/material2#readme",
2323
"peerDependencies": {
2424
"angular2": "^2.0.0-beta.8",
25-
"@angular2-material/core": "2.0.0-alpha.1"
25+
"@angular2-material/core": "2.0.0-alpha.2"
2626
}
2727
}

src/components/input/package.json

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "@angular2-material/input",
3+
"version": "2.0.0-alpha.2",
4+
"description": "Angular 2 Material input",
5+
"main": "./input.js",
6+
"typings": "./input.d.ts",
7+
"repository": {
8+
"type": "git",
9+
"url": "https://github.com/angular/material2.git"
10+
},
11+
"keywords": [
12+
"angular",
13+
"material",
14+
"material design",
15+
"components",
16+
"input",
17+
"text",
18+
"textarea"
19+
],
20+
"license": "MIT",
21+
"bugs": {
22+
"url": "https://github.com/angular/material2/issues"
23+
},
24+
"homepage": "https://github.com/angular/material2#readme",
25+
"peerDependencies": {
26+
"angular2": "^2.0.0-beta.8",
27+
"@angular2-material/core": "2.0.0-alpha.2"
28+
}
29+
}

src/components/list/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular2-material/list",
3-
"version": "2.0.0-alpha.1",
3+
"version": "2.0.0-alpha.2",
44
"description": "Angular 2 Material list",
55
"main": "./list.js",
66
"typings": "./list.d.ts",
@@ -22,6 +22,6 @@
2222
"homepage": "https://github.com/angular/material2#readme",
2323
"peerDependencies": {
2424
"angular2": "^2.0.0-beta.8",
25-
"@angular2-material/core": "2.0.0-alpha.1"
25+
"@angular2-material/core": "2.0.0-alpha.2"
2626
}
2727
}

src/components/progress-circle/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular2-material/progress-circle",
3-
"version": "2.0.0-alpha.1",
3+
"version": "2.0.0-alpha.2",
44
"description": "Angular 2 Material progress-circle",
55
"main": "./progress-circle.js",
66
"typings": "./progress-circle.d.ts",
@@ -23,6 +23,6 @@
2323
"homepage": "https://github.com/angular/material2#readme",
2424
"peerDependencies": {
2525
"angular2": "^2.0.0-beta.8",
26-
"@angular2-material/core": "2.0.0-alpha.1"
26+
"@angular2-material/core": "2.0.0-alpha.2"
2727
}
2828
}

src/components/radio/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular2-material/radio",
3-
"version": "2.0.0-alpha.1",
3+
"version": "2.0.0-alpha.2",
44
"description": "Angular 2 Material radio",
55
"main": "./radio.js",
66
"typings": "./radio.d.ts",
@@ -22,6 +22,6 @@
2222
"homepage": "https://github.com/angular/material2#readme",
2323
"peerDependencies": {
2424
"angular2": "^2.0.0-beta.8",
25-
"@angular2-material/core": "2.0.0-alpha.1"
25+
"@angular2-material/core": "2.0.0-alpha.2"
2626
}
2727
}

src/components/sidenav/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular2-material/sidenav",
3-
"version": "2.0.0-alpha.1",
3+
"version": "2.0.0-alpha.2",
44
"description": "Angular 2 Material sidenav",
55
"main": "./sidenav.js",
66
"typings": "./sidenav.d.ts",
@@ -25,6 +25,6 @@
2525
"homepage": "https://github.com/angular/material2#readme",
2626
"peerDependencies": {
2727
"angular2": "^2.0.0-beta.8",
28-
"@angular2-material/core": "2.0.0-alpha.1"
28+
"@angular2-material/core": "2.0.0-alpha.2"
2929
}
3030
}

src/components/toolbar/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular2-material/toolbar",
3-
"version": "2.0.0-alpha.1",
3+
"version": "2.0.0-alpha.2",
44
"description": "Angular 2 Material toolbar",
55
"main": "./toolbar.js",
66
"typings": "./toolbar.d.ts",

src/core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular2-material/core",
3-
"version": "2.0.0-alpha.1",
3+
"version": "2.0.0-alpha.2",
44
"description": "Angular 2 Material core",
55
"main": "./core.js",
66
"typings": "./core.d.ts",

src/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"outDir": "../dist/",
1212
"rootDir": ".",
1313
"sourceMap": true,
14-
"sourceRoot": "/",
15-
"target": "es5"
14+
"target": "es5",
15+
"inlineSources": true
1616
},
1717
"files": [
1818
"main.ts",

0 commit comments

Comments
 (0)