Commit Graph

2440 Commits

Author SHA1 Message Date
Kristiyan Kostadinov 4122ae2b10 fix(stepper): align appearance with spec (#7279)
Aligns the stepper appearance closer to the spec by:
* Removing the focused background when focused by mouse. Now it only shows up for programmatic and keyboard focus.
* Adding ripples to the step header.
* Using a slightly heavier font font the active step.
* Using `cursor: pointer` to show that the step is clickable.

Fixes #7260.
2017-09-29 13:04:33 -07:00
tinayuangao d9ba13fc59 fix(chips): do not set chips value if there's no ngControl or value (#7285) 2017-09-29 13:04:25 -07:00
Kristiyan Kostadinov 86bea9174b fix(select): losing focus when selecting values through binding (#7296)
Fixes an issue that caused focus to be lost after selecting a value on a select that doesn't use Angular forms.

Fixes #7092.
2017-09-29 13:04:13 -07:00
Joey Perrott ce6cc0bb78 Make isFocusTrapEnabled internal, removing it from docs. (#7298)
BREAKING CHANGE: `isFocusTrapEnabled` is now properly marked internal.
2017-09-29 13:03:44 -07:00
Paul Gschwendtner fe0864b8a9 fix(ripple): handle touch events (#7299)
* fix(ripple): handle touch events

* Ripples are now launched on touchstart for touch devices. Before they were just launched after the click happened.

Fixes #7062

* Address feedback
2017-09-29 13:03:29 -07:00
Kristiyan Kostadinov 92a868e40b fix(button): allow for elevation to be overwritten (#7305)
Allows for the consumer to set the button elevation through the elevation classes, similarly to the menu, card and expansion components.

Fixes #7264.
2017-09-29 13:01:39 -07:00
mmalerba d05dcfa492 fix(sidenav): change content from md- to mat- (#7307) 2017-09-29 13:01:22 -07:00
tinayuangao f1664687a7 fix(chips): fix chip list focus and keyboard behaviors (#7319) 2017-09-29 13:00:52 -07:00
Kristiyan Kostadinov 6b70ca6ce3 fix(select): theme not being transferred to the panel (#7342)
* Fixes the theme from the form field not being transferred to the panel, causing the options to have the wrong color. This seems to have happened during the switch to the form field, but interestingly AoT didn't catch us not having a `color` anymore (possible because it's in a binding expression).
* Moves a test to another test suite since it doesn't belong with the theming tests.
2017-09-29 13:00:40 -07:00
Adam 505611049e chore(table): remove redundant condition (#7345) 2017-09-29 13:00:07 -07:00
mmalerba 2e71cac8a7 fix(select): prevent nbsp from getting butchered in AOT (#7363) 2017-09-29 12:59:51 -07:00
Kristiyan Kostadinov b1ac7b096b refactor: rename all OverlayState references to match the new naming (#7367)
Renames all of the "state" references in the overlays to refer to a "config" instead. This makes everything consistent with the recent rename of OverlayState to OverlayConfig.

BREAKING CHANGE: The `OverlayRef.getState` method has been renamed to `OverlayRef.getConfig`.
2017-09-29 12:59:34 -07:00
Andrew Seguin 75f26e86a1 fix(sort): style changes to fix IE (#7375)
* fix(sort): style changes to fix IE

* Update sort-header.scss
2017-09-29 12:59:15 -07:00
Andrew Seguin cc6f39ea11 fix(sort): throw error on invalid direction (#7378) 2017-09-29 12:58:29 -07:00
Kristiyan Kostadinov 1823b2fa8e fix(list-key-manager): don't focus disabled items in typeahead mode (#7382)
Fixes the list key manager attempting to focus disabled items in typeahead mode.
2017-09-29 12:58:12 -07:00
Jeremy Elbourn 53c42a45ca chore: fix lint error in a11y demo (#7401) 2017-09-28 16:45:21 -07:00
Kristiyan Kostadinov 1a7d0e3608 chore: re-add missing button to stepper e2e spec (#7400)
Re-adds a button that was missing from the stepper e2e setup, causing one of the tests to fail.
2017-09-28 16:27:36 -07:00
Paul Gschwendtner c021e94fce chore(dashboard): http function to list pull requests with conflicts (#6675)
Introduces a new http trigger in the Dashboard functions that returns all Pull Requests with merge conflicts. This allows us to show a list of PRs with merge conflicts in the dashboard.

To ensure that the API calls are as fast as possible, the pull requests with conflicts are queried using Github's new GraphQL API.
2017-09-28 16:05:46 -07:00
Paul Gschwendtner 248dee8265 chore: remove cdk testing from rollup globals (#7169)
Previously the `missingRollupGlobals` tslint rule checked every TS file in the `src/` directory. This meant that the `@angular/cdk/testing` package from spec files needs to be added there as well.

With the recent switcht to Minimatch for our custom TSLint rules, the spec files are no longer linted and the testing package can be removed there.
2017-09-28 15:52:31 -07:00
Paul Gschwendtner 3948381d64 build: round payload size for comparison (#7174)
In some cases the payload is still showing up in the CI even if there was no change to the library. This seems to be because the file sizes are not rounded and can sometimes be not very exact. Resulting in numbers like: `material_fesm_2014": 1004.1319999999998`.

To have a better output in the GitHub statuses, the file size should be rounded
2017-09-28 15:51:34 -07:00
tinayuangao 39c7b8124d chore: make accessibility demo page focus goes to header after clicking on links (#7188) 2017-09-28 15:41:05 -07:00
Jeremy Elbourn 13d0160c74 build: include typings/index in root metadata export (#7190) 2017-09-28 15:40:44 -07:00
Paul Gschwendtner afa92a8d60 build: copy stylesheets to release output (#7204)
* Copies stylesheets of secondary entry-points to the root of the release output
* Better deduping for the `_theming.scss` file (currently includes multiple `cdk-a11y` mixins)
* Removes unused `cdk-a11y` import in the `button-toggle` component.
* Moves some logic out of the `BuildPackage` class (in favor of readability)
2017-09-28 15:40:16 -07:00
Paul Gschwendtner 1ac3fd25c9 chore: remove screenshot timeout check (#7206)
Removes the screenshot timeout check, which will cancel the screenshot diff if the last action took longer than 6 minutes. Travis CI will automatically cancel the job if there was no console output for 10 minutes.
2017-09-28 15:39:40 -07:00
Kristiyan Kostadinov 3982cc8b60 chore(select): avoid test flakes due to sub-pixel deviations (#7281)
Fixes some tests that were failing when they're run against Chrome on Windows due to sub-pixel measurement differences.
2017-09-28 15:33:44 -07:00
Will Howell 7cb7f384f5 docs(tabs): fix inconsistency in tab-nav snippet (#7295)
Also escapes a couple inline code elements
2017-09-28 15:33:31 -07:00
Kristiyan Kostadinov 3bc9ae9854 build: add placeholder for Angular version (#7303)
Adds the `0.0.0-NG` placeholder that will ensure that all published packages will have the same Angular requirements.
2017-09-28 15:33:13 -07:00
Will Howell 128442db1c docs(bidi): update to secondary entry-points (#7332) 2017-09-28 15:32:42 -07:00
Paul Gschwendtner c54b83ba58 chore: fix validate release task (#7359)
Updates the `gulp validate-release` task to work with the current package structure.
2017-09-28 15:31:55 -07:00
Paul Gschwendtner 807ce38ae4 build: fix metadata exports for moment-adapter (#7272)
Due to a re-export that uses the index shorthand, the exports inside of the bundled metadata file are empty. This seems to be caused by a bug in `@angular/compiler-cli`. A temporary fix is just using the expanded important.

Fixes #7262
2017-09-28 15:31:06 -07:00
Paul Gschwendtner 40ec11cc49 build: faster demo-app building (#7280)
* The demo-app no longer builds every secondary entry-point separately. Now the everything of a package is built at the same time (as for the tests). This is significantly faster than before.
* No longer builds the CDK package twice when building the tests or demo-app.
2017-09-28 15:30:38 -07:00
Kristiyan Kostadinov ae0791caba chore: remove dead link from demo app (#7343)
Gets rid of the `/styles` link from the demo app since it was renamed to `/focus-origin` a few days ago.
2017-09-28 15:30:01 -07:00
Sean Harrington 822e71e69b docs(changelog): mention mdSortChange rename (#7362) 2017-09-28 15:29:43 -07:00
Jeremy Elbourn aa6cd060a3 docs: add StyleModule deprecation to changelog (#7380) 2017-09-28 15:28:36 -07:00
Joey Perrott f5d1a23ba1 chore: update issue template & readme w/ stackblitz links (#7395) 2017-09-28 15:28:22 -07:00
Kristiyan Kostadinov 3bbbb8a36f chore: stepper e2e failures (#7237)
Fixes some selectors that weren't renamed in the e2e tests.
2017-09-28 15:27:25 -07:00
Kristiyan Kostadinov 657287925b chore(tabs): fix e2e failures (#7360)
Fixes a couple of e2e test failures in the tabs due to a wrong selector.
2017-09-28 15:27:09 -07:00
Andrew Seguin 20a23f16e8 fix: remove all md prefixes (#7241) 2017-09-28 13:45:03 -07:00
Jeremy Elbourn 3571f68a2d chore: add changelog for beta.11 (#7239) 2017-09-21 15:18:57 -07:00
mmalerba 61579bc42b feat(sidenav): Add support for fixed sidenavs (#6712) 2017-09-21 13:47:09 -07:00
Kristiyan Kostadinov dbae36035d chore: linting and TS errors (#7235)
Fixes a few linting errors in master and a TS error.
2017-09-21 13:26:57 -07:00
mmalerba d914cc4ea1 feat(select): make select work inside form-field (#6488) 2017-09-21 12:20:52 -07:00
Jeremy Elbourn f9b5ccd537 fix: remove cdk re-exports from @angular/material (#7112) 2017-09-21 12:11:09 -07:00
Andrew Seguin 7fe37e5801 chore: use mat in internal templates (#7219) 2017-09-21 11:20:07 -07:00
Kristiyan Kostadinov f2419bf769 chore: bump to Angular 4.4.3 (#7195)
Bumps the minimum Angular version to 4.4.3 to fix some errors in the stepper.

BREAKING CHANGE: Material now requires at least Angular 4.4.3.
2017-09-21 10:45:28 -07:00
mmalerba 8436f8c582 fix(datepicker): allow date or datetime strings in fromIso8601 (#7220) 2017-09-20 20:21:31 -07:00
Jeremy Elbourn 3025b30abf chore: use "export *" for overlay-config (#7218) 2017-09-20 16:39:26 -07:00
Austin fdf68ba567 chore(chips): update chip output names for consistency (#7156)
Related to #6677
2017-09-20 16:18:19 -07:00
Andrew Seguin 2b61eb6f97 fix(datepicker): backdrop class should be mat- (#7056) 2017-09-20 16:11:18 -07:00
mmalerba d2ceb2c755 fix(datepicker): allow ISO 8601 strings as inputs (#7091) 2017-09-20 16:06:40 -07:00