Commit Graph

1423 Commits

Author SHA1 Message Date
Paul Gschwendtner 7f0f473bd4 feat(list): option to disable ripples for all items (#4159)
Fixes #4149.
2017-04-21 09:33:21 -07:00
Paul Gschwendtner b846a2740a feat(progress-spinner): add support for custom stroke-width (#4113)
Fixes #3934
2017-04-21 09:23:37 -07:00
Kristiyan Kostadinov 3a29d671d2 feat(select): allow setting the theme color (#3928)
Fixes #3923.
2017-04-21 09:21:59 -07:00
Kristiyan Kostadinov 94a2855d45 feat(select): close the panel when pressing escape (#3879) 2017-04-21 09:21:08 -07:00
Kristiyan Kostadinov 81a6f8dbd8 fix(autocomplete): reposition panel on scroll (#3745) 2017-04-21 09:14:19 -07:00
Jeremy Elbourn 76faae5f37 chore: add @__PURE__ annotation to ES5 output for uglify (#4147) 2017-04-20 18:57:21 -07:00
jrood 380b390568 docs(tabs): fixed tab group selectIndexChange description (#4105) 2017-04-20 18:53:10 -07:00
Josh Hall 740381cce1 docs: Show directive selector in generated API docs (#4139)
Fixes #3983
2017-04-20 18:46:08 -07:00
Paul Gschwendtner 7c81698e17 build: dedupe theming scss bundle (#4174)
Fixes #3931
2017-04-20 18:45:01 -07:00
Paul Gschwendtner c63cf87104 build: output directory for gulp tsconfig (#4186) 2017-04-20 18:44:15 -07:00
Kara bccf8d2021 fix(textarea): fix change detection error on autosize (#4180) 2017-04-20 15:10:49 -07:00
Kristiyan Kostadinov 8d0cd04836 fix(autocomplete): not scrolling to active option when pressing home/end (#3709) 2017-04-18 16:44:55 -07:00
Kristiyan Kostadinov 78985b711e fix(autocomplete): unable to click to select items in IE (#3188)
Fixes #3351.
2017-04-18 16:43:29 -07:00
Kristiyan Kostadinov fbfd032c6e chore(tabs): revert workaround for angular < 2.3 (#4076) 2017-04-18 15:59:16 -07:00
Paul Gschwendtner fe7570a1da build: test cdk in aot and closure (#4142) 2017-04-18 15:57:44 -07:00
Kristiyan Kostadinov efd348512f fix(autocomplete): panel not being shown with delay and OnPush change detection (#3977)
Fixes #3955.
2017-04-18 15:55:08 -07:00
Kristiyan Kostadinov 4bfd2a387c build: add tslint formatting task (#4109) 2017-04-18 15:13:07 -07:00
Paul Gschwendtner f7c45b2725 build: move functions folder into tools/ (#4127) 2017-04-18 15:07:46 -07:00
Paul Gschwendtner 11b97aa36f build: update saucelabs connector (#4143)
* Updates the Saucelabs connector to a more recent version. Outdated
Saucelabs connector versions tend to be more flaky.
2017-04-18 11:32:17 -07:00
Paul Gschwendtner 008e1abc5d build: fix screenshot golden upload (#4128)
* Fixes the Google Cloud Storage upload for the goldens.

The issue seems to happen because the `@google-cloud/storage` package has been installed manually and the `google-cloud` now uses a different storage version than before. Noticed this while debugging the `google-cloud` package.
2017-04-18 11:31:49 -07:00
Paul Gschwendtner e73af7d624 demo(slide-toggle): change outdated switch selector (#4141)
* At some point the `slide-toggle` has been called `switch`. The
selector inside of the demo-app is still using `switch` instead of
`slide-toggle`.
2017-04-18 09:59:39 -07:00
Paul Gschwendtner d0a41d974a chore: remove travis fold utility (#4132)
Removes the Travis CI fold utility file. The file isn't used in our CI
process and is therefore unnecessary.
2017-04-18 09:25:57 -07:00
Paul Gschwendtner 1328307bb8 build: remove outdated tslint rule (#4121)
* At some point in tslint the `no-unused-variable` rule has been deprecated in favor of `noUnusedLocals` and `noUnusedParameters`. Since we don't want to have compilation errors for unused variables we re-implemented the `no-unused-variable` rule ourself and used it as a custom rule.

* Recently we switched to a newer version of TSLint and TypeScript and the custom tslint rule won't ever work again. (tslint now requires a type-checker to be enabled). The custom rule fails currently and causes TSLint to not work with some editors (e.g Webstorm).
2017-04-18 09:24:33 -07:00
Jeremy Elbourn 8826d6718d chore: add missing breaking changes from beta.3 (#4126) 2017-04-17 17:24:21 -07:00
Paul Gschwendtner d1a752eb4d chore: remove typedoc.json file (#4112)
* The docs are generated using `Dgeni` and the `typedoc.json` file is
therefore unused and can be removed.
2017-04-17 15:18:28 -07:00
Paul Gschwendtner a7ca7c1f24 build: build cdk package (#4111)
* Introduces another package called `@angular/cdk`. This package is
currently empty but all the logic for SASS, HTML, TypeScript and tests
is ready.
2017-04-17 15:18:16 -07:00
tinayuangao b2ca0f5d84 feat(screenshot): add control panel for pixacto (#4055) 2017-04-17 15:17:41 -07:00
Kristiyan Kostadinov ee1a5a7aa3 fix(dialog): fire afterClosed callback after all dialog actions are done (#3892)
* Fires the afterClosed callback once the dialog is removed and the previously-focused element has been refocused. Until now the order was reversed, which prevents people from being able to refocus a different element.
* Cleaned up the `MdDialogContainer` logic to simplify it and to remove the need to subscribe to zone events.
2017-04-17 15:16:02 -07:00
Kristiyan Kostadinov 7336bdc237 fix(tabs): unnecessary scrollbar if content has a margin (#4062)
Fixes the tabs having a scrollbar if their inner content has a margin. This seems to be a side-effect of #3162.

Fixes #4035.
2017-04-17 14:53:31 -07:00
Kristiyan Kostadinov aebbd8a155 fix(progress-spinner): not working with server-side rendering (#4020)
* Switches the progress spinner from using `querySelector` to `ViewChild`.
* Moves all of the remaining DOM manipulation to the renderer.
* Skips animations if `requestAnimationFrame` is not available.
* Simplifies some unnecessarily complex logic for adding/removing the theme class.

Fixes #3988.
2017-04-17 14:33:40 -07:00
Kristiyan Kostadinov 32b7426741 fix(input): allow pointer events on placeholder (#3878)
Removes the `pointer-events: none` from the input placeholder in order to allow for users to bind events to it. Clicking through isn't necessary anyway, because it automatically redirects focus to the underlying input already.
2017-04-17 14:33:20 -07:00
Kristiyan Kostadinov e263fb7807 fix(list): set explicit box-sizing on icon (#3876)
Sets an explicit `box-sizing` on the icons inside of lists, in order to avoid alignment issues if the consumer uses `border-box` globally.

Fixes #3863.
2017-04-17 14:32:57 -07:00
Paul Gschwendtner d20a4ca3fa chore: remove outdated guide to generate docs (#4123) 2017-04-17 12:11:49 -07:00
tinayuangao 25a688106c feat(pixacto): use TypeScript for tooling and refactor into tools/ (#3732)
Move code to TypeScript and perform several clean-up refactorings
2017-04-17 11:52:47 -07:00
tinayuangao de8b97f68e fix(checkbox): do not set indeterminate when set checked programmatically (#4024)
Only set indeterminate when user clicked on checkbox
2017-04-17 11:48:33 -07:00
Mac 9f2c7aca2e docs(dialog): address injecting dialog data (#3907) 2017-04-17 11:40:57 -07:00
Paul Gschwendtner 5c3278a4cb chore: remove unused providers in demo-app (#3851)
* Since the MaterialModule now includes all providers, the old explicit providers on demo-app components are unnecessary. Those can be removed safely.
2017-04-17 11:39:25 -07:00
Paul Gschwendtner 21f88999bb fix(input): incorrect height with autosize (#4084)
Currently when using the `mdTextareaAutosize` directive the textarea height might be incorrect on component initialization.

This happens because the textarea `scrollHeight` property is not ready in the `ngOnInit` lifecycle hook yet.

Other libraries like `angular-elastic` have timeouts for that. But using the `ngAfterViewInit` lifecycle hook is more elegant and also ensures that the `scrollHeight` property is ready.

Also switches `offsetHeight` to `clientHeight` since we don't want to include the border in our line-height calculations.

Also by default `textarea` elements have a padding of `2px` and the `padding` needs to be explicitly set to `0px` when resolving the line-height.

Fixes #4070.
2017-04-14 14:03:33 -07:00
tinayuangao efb39da377 fix(checkbox): support OnPush for disabled with forms module (#4087) 2017-04-14 14:02:49 -07:00
Paul Gschwendtner 02b2cc9210 chore: remove public folder (#4061)
* Removes the unused `public` folder from the repository.
2017-04-14 13:07:28 -07:00
Paul Gschwendtner a773515c56 build: detect todos in public comments (#4059)
* build: detect todos in public comments

* Creates a naive rule that checks all multi-line comments and reports failures once it detects TODOs inside of it.

* This means that TODOs always need to placed inside of single-line comments.

Fixes #4026
2017-04-14 13:06:38 -07:00
Mac dbe2c33afc chore: fix typo in closure compiler script (#4040) 2017-04-14 13:05:25 -07:00
Ed Pelc a05aa7c9f9 docs(guides): add guide for using compatibility mode (#4082)
Fixes #4018
2017-04-14 08:34:37 -07:00
Will Howell 1de1f72887 docs(theming): cleanup grammar on overlay theming (#4089) 2017-04-13 14:13:27 -07:00
Paul Gschwendtner 0acd4d9262 build: create sourcemap files (#4022)
* Creates sourceMap files for all bundles inside of the release.

Fixes #852
2017-04-13 12:56:47 -07:00
Paul Gschwendtner b5f15ad2ed build: dgeni add deprecated marker (#4028)
* build: dgeni add deprecated marker

* Adds a class to property rows in the template that can be used to distinguish between deprecated and stable APIs.

Fixes #3981.

* Address feedback
2017-04-13 09:52:41 -07:00
Paul Gschwendtner 85391ca6c9 chore: remove unused bash scripts (#4080)
* Removes two unused bash scripts (`copy-docs.sh`, `enact-release.sh`).
* `enact-release.sh` is now part of the release gulp task.
* `copy-docs.sh` is now part of the `docs` gulp task.
2017-04-13 09:18:58 -07:00
Paul Gschwendtner 8b411ad78c build: copy readme to releases (#4079)
* Due to a typo the `README.md` file is not copied properly to the releases.
2017-04-13 09:12:12 -07:00
Mac fe9204ed08 chore: fix typos in coding standards (#4043) 2017-04-12 17:58:38 -07:00
Paul Gschwendtner 205690f359 build: publish material-examples package to docs content (#4064) 2017-04-12 17:40:31 -07:00