Commit Graph

2421 Commits

Author SHA1 Message Date
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
Paul Gschwendtner 602a861621 fix(form-field): placeholder not floating if autofilled (#6839)
If a form-field value is set through autofill, the floating placeholder should float and not overlay the form-field value. This doesn't work in Chrome because the `.mat-form-field-autofill-float` class doesn't exist and can't be set on the form-field control anyway.

Fixes #6837
2017-09-20 16:06:08 -07:00
Andrew Seguin 3ddf65b72f fix(table): gracefully handle undefined/null columns (#6862) 2017-09-20 16:05:34 -07:00
Jeremy Elbourn 1cfce8d9ab fix(overlay): rename OverlayState to OverlayConfig (#6972)
BREAKING CHANGE: OverlayState has been renamed to OverlayConfig
2017-09-20 16:05:04 -07:00
Jeremy Elbourn a944f6e0f2 feat(overlay): replace OverlayContainer themeClass w/ addClass/removeClass methods (#6975)
BREAKING CHANGE: Now that the Overlay is part of the cdk rather than Angular Material directly,
the `themeClass` property has been removed. To add a class to the
overlay for theming, you can do
```ts
overlayContainer.getContainerElement().classList.add('my-theme-class');
```
2017-09-20 16:04:41 -07:00
Jeremy Elbourn 2b0315d3a2 feat: add preserveWhitespaces: false to all components (#7115)
Also adds lint check to enforce its presence
2017-09-20 15:58:55 -07:00
Andrew Seguin 3293a6d085 compat(chip): add mat-compatible chip input event (#7184) 2017-09-20 15:49:57 -07:00
Jeremy Elbourn 0e4806b06c chore: move mat re-exports to package where their metadata lives (#7193)
This also required creating a module file for every component because
the max re-export can't be in the same file as the module definition or
else ngc will *only* export the alias.
2017-09-20 15:49:06 -07:00
Kristiyan Kostadinov dcf3b27074 fix(tooltip): error on trigger escape presses while closed (#7028)
Fixes an error being thrown when pressing escape on a tooltip trigger that isn't showing a tooltip.

Fixes #7009.
2017-09-19 12:21:50 -07:00
Joey Perrott 244c906f90 chore: update expansion-panel status in readme (#7151) 2017-09-18 14:53:59 -07:00
Joey Perrott be8c303c98 Remove extra 🍕 in snackbar component example. (#7153) 2017-09-18 14:35:03 -07:00
Paul Gschwendtner bdadbad7dd chore(sort): fix invalid import path (#7148)
* Fixes an incorrect import inside of the sort entry-point of Material. Due to a relative import to the core entry-point, the prerender task fails to execute and the packaging doesn't work properly either.
2017-09-18 11:11:01 -07:00
Fady Samir Sadek 95ab1eb2c7 fix(sidenav-fab-example): remove overflow: auto (#7099) 2017-09-18 10:33:28 -07:00
Kristiyan Kostadinov 6cfe5c4aa3 feat: move FocusMonitor into cdk (#6921)
Moves the `FocusOriginMonitor` into `@angular/cdk/a11y`, renames it to `FocusMonitor`, deprecates the `StyleModule` and updates all the references.

BREAKING CHANGE: `FocusOriginMonitor` has been renamed to `FocusMonitor`.
2017-09-18 10:32:21 -07:00
Jeremy Elbourn e4a93234c1 chore: bump Angular dep to 4.4.1 (#7118)
BREAKING CHANGE: Angular Material now requires Angular 4.4.1 or greater
2017-09-18 10:29:38 -07:00
tinayuangao 7a42706614 feat(chip-list): implement FormFieldControl and ControlValueAccessor (#6686)
BREAKING CHANGES:
 - Deprecated: @Output() select, and @Output() deselect
 - Added @Output() onSelectionChange = EventEmitter<MdChipSelectionChange>
2017-09-18 10:28:52 -07:00
Andrew Seguin 6fa9e6f88b fix(sort): reverse directions and better animation (#6802) 2017-09-18 10:28:10 -07:00
Andrew Seguin 86ec493c00 compat(sort): add mat compatible sort event (#6611) 2017-09-18 10:05:10 -07:00
Paul Gschwendtner 90434668bb build: fix payload calculation (#7132)
* Due to the recent changes in the Material package, the payload is no longer calculated correctly. All components have been moved into different bundles instead of a single bundle.
2017-09-18 09:57:25 -07:00
tinayuangao b5d2e0ba9d docs(chips): Add chips with input example (#7081) 2017-09-18 09:56:17 -07:00