diff --git a/.gitignore b/.gitignore index 72bc13b67fb..a97e067ab5b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,15 +1,5 @@ *.log -*.sw* -.DS_STORE -.sass-cache/ -bower_components +.DS_Store node_modules dist -/src/themes/_default-theme.scss - /.idea/ -/components -/vendor -/material-font - -.polymer-qp diff --git a/.travis.yml b/.travis.yml index d6b5953025e..6487b9e5466 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,7 +17,7 @@ before_script: - git config --global user.name "ngMaterial Bot" script: - - gulp karma --browsers=Firefox + - gulp karma after_success: - ./scripts/travis-build-init.sh --sha=$TRAVIS_COMMIT diff --git a/CHANGELOG.md b/CHANGELOG.md index 618caa82b37..724fd452652 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,28 +1,74 @@ - -### 0.10.0-rc1 (2015-06-08) + +## 0.10.0 (2015-06-15) #### Features -* **menu:** add a basic dropdown menu component ([3f6b4af4](https://github.com/angular/material/commit/3f6b4af4e0c2afe35007f3df9918bbcb6775fc63), closes [#3173](https://github.com/angular/material/issues/3173)) +* **fabSpeedDial:** adds fabSpeedDial component ([e813dcdb](https://github.com/angular/material/commit/e813dcdb)) +* **fabToolbar:** adds fabToolbar component ([30a53c30](https://github.com/angular/material/commit/30a53c30)) +* **menu:** add a basic dropdown menu component ([3f6b4af4](https://github.com/angular/material/commit/3f6b4af4), closes [#3173](https://github.com/angular/material/issues/3173)) +* **select:** add mdOnClose expression eval event ([d7bfc86f](https://github.com/angular/material/commit/d7bfc86f), closes [#3217](https://github.com/angular/material/issues/3217)) +* **tabs:** + * replaces unnecessary watches with getter/setter syntax for improved performance ([c806e8be](https://github.com/angular/material/commit/c806e8be)) + * adds support for `md-autoselect` ([8285e2d0](https://github.com/angular/material/commit/8285e2d0)) #### Breaking Changes -* The API has changed for `md-icon` - `iconSize` has been changed to `viewBoxSize` +* The API has changed for `md-icon` - `iconSize` has been +changed to `viewBoxSize` + + ([f93e117a](https://github.com/angular/material/commit/f93e117a)) #### Bug Fixes -* **button:** fixes style inconsistencies between `md-buttons` using `a` and `button` under th ([cc07e63d](https://github.com/angular/material/commit/cc07e63dc5a37b5b220691c3cf8e4b3d08bd2500), closes [#2440](https://github.com/angular/material/issues/2440)) -* **icon:** Change iconSize param to viewBoxSize. ([f93e117a](https://github.com/angular/material/commit/f93e117a38d4ccd9fca4f504b4e9d86bc5e8962f), closes [#1679](https://github.com/angular/material/issues/1679), [#3123](https://github.com/angular/material/issues/3123)) -* **icons:** support for ngDirectives using compile phase ([9521a1e0](https://github.com/angular/material/commit/9521a1e03e108e8ac5a5857f18fc67110ba5fae3)) +* **autocomplete:** + * prevents an error when passing null instead of an array ([afa213df](https://github.com/angular/material/commit/afa213df)) + * waits for screen to reposition on focus before locking scrolling ([6bfc31ea](https://github.com/angular/material/commit/6bfc31ea), closes [#2973](https://github.com/angular/material/issues/2973)) + * fixes typo in autocomplete mouseup method ([67817713](https://github.com/angular/material/commit/67817713)) + * locks scrolling while autocomplete menu is visible ([deae957b](https://github.com/angular/material/commit/deae957b), closes [#2973](https://github.com/angular/material/issues/2973)) + * fixes issue where setting a min-length of 0 was not working ([d3f65195](https://github.com/angular/material/commit/d3f65195)) +* **button:** fixes style inconsistencies between `md-buttons` using `a` and `button` under th ([cc07e63d](https://github.com/angular/material/commit/cc07e63d), closes [#2440](https://github.com/angular/material/issues/2440)) +* **checkbox:** adds ability to click links within checkbox ([999e0da2](https://github.com/angular/material/commit/999e0da2), closes [#852](https://github.com/angular/material/issues/852)) +* **icon:** Change iconSize param to viewBoxSize. ([f93e117a](https://github.com/angular/material/commit/f93e117a), closes [#1679](https://github.com/angular/material/issues/1679), [#3123](https://github.com/angular/material/issues/3123)) +* **icons:** support for ngDirectives using compile phase ([9521a1e0](https://github.com/angular/material/commit/9521a1e0)) +* **mdMenu:** + * improve aria accessability ([113ad446](https://github.com/angular/material/commit/113ad446)) + * close on scope $destroy ([67be5ce9](https://github.com/angular/material/commit/67be5ce9), closes [#3189](https://github.com/angular/material/issues/3189)) + * fix positioning breaking after scroll/resize ([94b03b03](https://github.com/angular/material/commit/94b03b03), closes [#3204](https://github.com/angular/material/issues/3204)) + * re-enable keyboard controls ([25131532](https://github.com/angular/material/commit/25131532), closes [#3205](https://github.com/angular/material/issues/3205)) + * fix rc2 complete break ([fb245fb8](https://github.com/angular/material/commit/fb245fb8), closes [#3197](https://github.com/angular/material/issues/3197)) +* **radioButton:** fixes potential theming bug due to CSS specificity ([e8ec2b5e](https://github.com/angular/material/commit/e8ec2b5e)) +* **select:** + * fixes screen jump in Firefox ([7b8efe21](https://github.com/angular/material/commit/7b8efe21)) + * fix focus color not picking up theming ([781a4bcf](https://github.com/angular/material/commit/781a4bcf), closes [#3128](https://github.com/angular/material/issues/3128)) +* **tabs:** + * programmatically changing tabs will now adjust pagination to show the selected t ([6d45f104](https://github.com/angular/material/commit/6d45f104), closes [#3139](https://github.com/angular/material/issues/3139)) + * calls on-select for the initially selected item ([cc1d9d2b](https://github.com/angular/material/commit/cc1d9d2b), closes [#3169](https://github.com/angular/material/issues/3169)) + * fixes CSS to respect non-truthy values for `md-dynamic-height` ([60197180](https://github.com/angular/material/commit/60197180), closes [#3184](https://github.com/angular/material/issues/3184)) + * fixes centered tabs for Safari ([25526864](https://github.com/angular/material/commit/25526864), closes [#3198](https://github.com/angular/material/issues/3198)) + * nested tabs should now work properly when using md-tab-label and md-tab-body ([e3e52c2c](https://github.com/angular/material/commit/e3e52c2c), closes [#3206](https://github.com/angular/material/issues/3206)) + * fixes infinite digests bug in Firefox ([781929d7](https://github.com/angular/material/commit/781929d7)) + * fixes issue with tab pagination in Angular 1.4 ([4273f52b](https://github.com/angular/material/commit/4273f52b)) +* **theming:** fixes bugs with progress circular and select theming ([3ac50acc](https://github.com/angular/material/commit/3ac50acc)) ### 0.9.8 (2015-06-08) +#### Bug Fixes + +* **tabs:** + * prevents tabs from shrinking when used with flexbox ([dd041927](https://github.com/angular/material/commit/dd0419277523a44f8d06e45dc3c31b2afb3c8101), closes [#3011](https://github.com/angular/material/issues/3011)) + * prevents select/deselect events from firing on destroy ([1ba0686e](https://github.com/angular/material/commit/1ba0686e7b42fef6072d011bf2f61fc3576a2017)) + + + +### 0.9.8-rc1 (2015-06-05) + + #### Features * **autocomplete:** custom template demo ([7d2deb7e](https://github.com/angular/material/commit/7d2deb7ec702dac7999ae6b0fdba966c497e46ca), closes [#2505](https://github.com/angular/material/issues/2505)) @@ -40,13 +86,11 @@ * Tabs will now require the `md-swipe-content` attribute in order to enable swipe gestures to change tabs in the content area. + ([03d01e96](https://github.com/angular/material/commit/03d01e96623de397ef171c063b7a8a56656fe0de)) + #### Bug Fixes -* **tabs:** - * prevents tabs from shrinking when used with flexbox ([dd041927](https://github.com/angular/material/commit/dd0419277523a44f8d06e45dc3c31b2afb3c8101), closes [#3011](https://github.com/angular/material/issues/3011)) - * prevents select/deselect events from firing on destroy ([1ba0686e](https://github.com/angular/material/commit/1ba0686e7b42fef6072d011bf2f61fc3576a2017)) - * fixes continuous `$digest` bug in Firefox when using `md-stretch-tabs` ([5372710a](https://github.com/angular/material/commit/5372710a7a4764a908f08deeb06481ae71e539d3), closes [#3101](https://github.com/angular/material/issues/3101)) * add missing alt attribute to logo in docs ([19ad66d1](https://github.com/angular/material/commit/19ad66d1a5954296de68d3f85d78a3522ff488e5)) * **autocomplete:** * selecting an item will hide the menu in IE11 ([0c073d10](https://github.com/angular/material/commit/0c073d10a18409d1d1f900951e42ba35df79d81e), closes [#2188](https://github.com/angular/material/issues/2188), [#3008](https://github.com/angular/material/issues/3008)) @@ -60,6 +104,7 @@ * fix for attributes being ignored ([07295879](https://github.com/angular/material/commit/072958796a64c2175de9e4cb0de10a8025f0dc7c)) * increment the value properly when step is a decimal number ([476d068c](https://github.com/angular/material/commit/476d068c6f6e204d2c0797be08346076154a9029), closes [#2015](https://github.com/angular/material/issues/2015)) * **styles:** fixes theming specificy regarding border colors ([264f043e](https://github.com/angular/material/commit/264f043e4220d13f74fef013081c68dcd878c12d)) +* **tabs:** fixes continuous `$digest` bug in Firefox when using `md-stretch-tabs` ([5372710a](https://github.com/angular/material/commit/5372710a7a4764a908f08deeb06481ae71e539d3), closes [#3101](https://github.com/angular/material/issues/3101)) * **tooltip:** * moves tooltip to the $rootElement rather than body or md-content ([32b0facc](https://github.com/angular/material/commit/32b0facc0b971f12f777f8f7b7392db1e5c5e091)) * tooltip will attach to the body rather than $rootElement ([24ca2966](https://github.com/angular/material/commit/24ca2966cf08a56aad59f4f60b186664fcd7e7f3)) diff --git a/README.md b/README.md index f1da8f5798b..6bf352f3539 100644 --- a/README.md +++ b/README.md @@ -117,8 +117,8 @@ when using online tools such as [CodePen](http://codepen.io/), [Plunkr](http://p ```html - - + + @@ -129,22 +129,22 @@ when using online tools such as [CodePen](http://codepen.io/), [Plunkr](http://p - - + + ``` -> Note that the above sample references the 0.8.3 CDN release. Your version will change based on the latest stable release version. +> Note that the above sample references the 0.10.0 CDN release. Your version will change based on the latest stable release version. -Developers seeking the latest, most-current build versions can use [RawGit.com](//rawgit.com) to +Developers seeking the latest, most-current build versions can use [GitCDN.xyz](//gitcdn.xyz) to pull directly from the distribution GitHub [Bower-Material](https://github.com/angular/bower-material) repository: ```html - - + + @@ -154,11 +154,9 @@ pull directly from the distribution GitHub - - + + ``` -> Please note that the above RawGit access is intended **ONLY** for development purposes or sharing - low-traffic, temporary examples or demos with small numbers of people. diff --git a/config/build.config.js b/config/build.config.js index 6567b4b8da4..abf1ebf0592 100644 --- a/config/build.config.js +++ b/config/build.config.js @@ -3,7 +3,7 @@ var fs = require('fs'); var versionFile = __dirname + '/../dist/commit'; module.exports = { - ngVersion: '1.4.0', + ngVersion: '1.3.15', version: pkg.version, repository: pkg.repository.url .replace(/^git/,'https') diff --git a/config/karma.conf.js b/config/karma.conf.js index 1ed7851b7f5..a6292135965 100644 --- a/config/karma.conf.js +++ b/config/karma.conf.js @@ -14,15 +14,17 @@ module.exports = function(config) { // demos in the tests, and Karma doesn't support advanced // globbing. + 'dist/angular-material.css', + 'src/core/**/*.js', 'src/components/*/*.js', 'src/components/*/js/*.js', 'src/**/*.spec.js' - ]; var COMPILED_SRC = [ + 'dist/angular-material.min.css', 'dist/angular-material.min.js', // Minified source 'src/**/*.spec.js' ]; @@ -45,7 +47,7 @@ module.exports = function(config) { frameworks: ['jasmine'], files: dependencies.concat(testSrc), - logLevel: config.LOG_WARN, + logLevel: config.LOG_DEBUG, port: 9876, reporters: ['progress'], colors: true, @@ -63,7 +65,7 @@ module.exports = function(config) { // - Safari (only Mac; has to be installed with `npm install karma-safari-launcher`) // - PhantomJS // - IE (only Windows; has to be installed with `npm install karma-ie-launcher`) - browsers: ['Chrome'], + browsers: ['PhantomJS','Firefox'], // you can define custom flags customLaunchers: { diff --git a/docs/app/css/style.css b/docs/app/css/style.css index b990f501416..872e7f0703e 100644 --- a/docs/app/css/style.css +++ b/docs/app/css/style.css @@ -243,6 +243,7 @@ code:not(.highlight) { color: white; cursor: pointer; display: block; + align-items: inherit; line-height: 40px; margin: 0; max-height: 40px; diff --git a/docs/app/js/app.js b/docs/app/js/app.js index 7009c4070d4..827c47440b6 100644 --- a/docs/app/js/app.js +++ b/docs/app/js/app.js @@ -182,6 +182,11 @@ function(SERVICES, COMPONENTS, DEMOS, PAGES, $location, $rootScope, $http, $wind name : 'Button', url: '/CSS/button', type: 'link' + }, + { + name : 'Checkbox', + url: '/CSS/checkbox', + type: 'link' }] }, { diff --git a/docs/app/partials/menu-toggle.tmpl.html b/docs/app/partials/menu-toggle.tmpl.html index 67bf3098a8f..3f4a32ebb3c 100644 --- a/docs/app/partials/menu-toggle.tmpl.html +++ b/docs/app/partials/menu-toggle.tmpl.html @@ -4,7 +4,7 @@ aria-expanded="{{isOpen()}}">
{{section.name}} - +