Commit Graph

61 Commits

Author SHA1 Message Date
Andrew Seguin 186973044f chore: bump 6.0.0-beta.2 w/ changelog (#10056)
* chore: bump 6.0.0-beta.2 w/ changelog

* add button toggle
2018-02-20 17:04:50 -08:00
Jeremy Elbourn 21a83bae8d chore: add bazel test rules for the cdk (#9726)
This adds bazel test rules for everything under cdk/ and sets CircleCI Overlay tests don't work because there's not yet a way to pass through flags to the browser. These issues will be addressed in a follow-up PR.
2018-02-12 16:01:00 -08:00
mmalerba f2c28b1805 chore: add 6.0.0-beta-0 to changelog (#9909) 2018-02-12 15:20:07 -08:00
Kristiyan Kostadinov 669d607d13 chore: bump to Angular 5.2.x (#9770)
Bumps to the latest minor version of Angular now that a compilation error, that was blocking us previously, has been resolved. Also fixes a couple of AoT errors in the demo app.
2018-02-09 14:19:44 -08:00
Juliano c2e108e0bf feat(datepicker): @Output for year and month selected in multiyear/year (#9678)
* feat(datepicker): @Output of year and month selected in multiyear/year
views

* address @mmalerba's comments

* address comments

* add types to some outputs

* fix wrong parameter type

* restore accidentally removed object

* example and docs text

* change emitted values to objects instead of just numbers

* change datepicker.md and switch back tslint configs

* fix nit

* Remove changes in demo app
2018-02-06 09:32:23 -08:00
Kristiyan Kostadinov 57046152a6 chore: bump tslint and fix failure (#9667)
Bumps to the latest version of tslint and fixes a failure that wasn't being caught before.
2018-01-31 10:25:58 -08:00
Jeremy Elbourn e6e4c3c222 fix(icon): prevent parsing the same icon set multiple times (#9635)
This fixes an issue where requests for icons in a particular set made
while that set is being fetched result in the set being parsed into an
SVGElement multiple times. It occured because, while the same pending http
request was used for each icon, each icon added their own `map` onto
that request, will every `map` resulting in a (potentially expensive) parse. This change sets the cached icon earlier and checks it later.
2018-01-29 10:13:52 -08:00
Kristiyan Kostadinov 55ec5ff36c build: disallow namespace usage and bump stylelint (#9022) 2017-12-22 07:27:12 -08:00
Kristiyan Kostadinov 9a856d7e39 build: fix autocomplete tests not compiling (#9073) 2017-12-20 10:50:06 -08:00
Jeremy Elbourn 5f5ff03806 chore: add script to generate presubmit scheduler script (#8581) 2017-12-20 10:33:49 -08:00
Jeremy Elbourn 444784bcc9 build(material): add bazel rules for all components (#8457) 2017-12-19 17:12:39 -08:00
Jeremy Elbourn 28943dd956 chore: update to Angular 5.1.1 to fix bazel build (#8979) 2017-12-19 16:49:14 -08:00
Jeremy Elbourn 1d19b3c8ee chore: update to Angular 5.1 so we can use TS 2.5 so we can use bazel (#8877) 2017-12-07 15:40:39 -08:00
Jeremy Elbourn f10c63e9c5 chore: update build rules for rxjs supporting bazel (#8875) 2017-12-07 14:34:09 -08:00
Kristiyan Kostadinov cb2eac2ed3 chore: re-bump rxjs version (#8849)
Now that rxjs 5.5.4 is out, we don't have to lock down to 5.5.2 in order to avoid e2e and test app failures.
2017-12-06 13:17:27 -08:00
Kristiyan Kostadinov fdd98420c9 chore: lock down rxjs version (#8824)
Locks down the version of rxjs to 5.5.2 in order to avoid runtime errors that are being thrown at the moment. See https://github.com/angular/angular/issues/20752.
2017-12-05 12:59:33 -08:00
Kristiyan Kostadinov 5690c87fbd chore: fix demo app compilation error (#8811)
Fixes a compilation error in the demo app when running on a fresh install.
2017-12-05 09:30:26 -08:00
Paul Gschwendtner 23c09b488d build: fix invalid umd globals for rxjs operators (#8572)
Previously in `RxJS`, operators were part of the `Rx.Observable` namespace, but now since those will be imported separately from the `rxjs/operators` path, the UMD module name mapping needs to be updated to `Rx.operators` (https://unpkg.com/rxjs@5.5.2/bundles/Rx.js)

Fixes #8530
2017-11-28 10:34:54 -08:00
Jeremy Elbourn 741378a3f2 chore: bump version to rc.2 with changelog (#8677) 2017-11-27 16:16:08 -08:00
Jeremy Elbourn 8af8590d4d build: align versions of @bazel/typescript and typescript (#8464) 2017-11-15 15:25:32 -08:00
Jeremy Elbourn 353f586202 build: use typescript 2.5 (#8462) 2017-11-15 14:38:16 -08:00
Jeremy Elbourn cf39a419ff build(cdk): add bazel ng_module rules (#8370)
Part of #8369
2017-11-15 11:47:56 -08:00
Kristiyan Kostadinov 3510064215 chore(table): fix test compilation (#8430)
Fixes a compilation error in the table tests and fixes the package-lock not being up to date.
2017-11-14 08:41:25 -08:00
Kristiyan Kostadinov 33edff5f14 build: update jasmine for improved type safety (#8350)
* Bumps the version of Jasmine to allow for better type safety in the assertions.
* Fixes a few new compilation errors.
2017-11-13 18:55:53 -08:00
Kristiyan Kostadinov 5cef1dc13d chore: bump to Angular 5 final (#8177)
Currently the Angular 5 dependency is set to rc.9. Bumps it to the final version.
2017-11-01 17:14:02 -07:00
Kristiyan Kostadinov dfe8091d95 feat: angular 5 support (#6018) 2017-11-01 11:03:57 -07:00
Jeremy Elbourn 1e6762926e chore(table): fix missing import in tests (#8135) 2017-10-30 14:52:34 -07:00
Kristiyan Kostadinov f29da63583 feat: update to rxjs 5.5.0 and switch to lettable operators (#7276)
Bumps the required RxJS version to 5.5.0 and gets rid of our RxChain in favor of using the lettable Rx operators. Refactors all the usages and updates the configs.

Fixes #7275.
2017-10-28 09:37:43 -07:00
Paul Gschwendtner dc1bf54e28 chore: fix gulp-utils color issue (#8030)
With (DefinitelyTyped #21004) the typings for @gulp-utils are declaring `chalk` as dependency of the types. This causes a conflict with the types from chalk and gulp fails everywhere in the CI. (https://github.com/DefinitelyTyped/DefinitelyTyped/issues/21004)

A possible solution would be locking the version of the gulp-util types to the working version `3.0.31`.

As `gulp-utils` is only used in one place right now, we are just remove the `gulp-utils` import and just use `console.log` as everywhere else.
2017-10-27 10:19:25 -07:00
Kristiyan Kostadinov edf91c99e8 build: bump to tslint 5.8.0 and fix failures (#7943)
Updates to `tslint@5.8.0` and fixes a few previously-uncaught failures.
2017-10-23 13:19:03 -07:00
Paul Gschwendtner b6f7f1740b chore: remove accessor type workaround (#7659)
Due to https://github.com/angular/dgeni-packages/issues/246 the Material docs package used a workaround for accessor types.

The issue has been fixed with https://github.com/angular/dgeni-packages/pull/247 and the workaround can be removed now.
2017-10-12 14:41:29 -07:00
Paul Gschwendtner 7f274b4688 build: create coverage reports in chrome (#7714)
* No longer creates the coverage reports inside of Browserstack. The reports can be generated inside of Chrome Headless that doesn't run remotely on BrowserStack or Saucelabs.
2017-10-12 14:39:52 -07:00
Paul Gschwendtner 388845cbab build: more type information for docs (#6947) 2017-10-04 14:52:25 -07:00
Paul Gschwendtner 606178be0a build(): retries for travis deploying (#7146)
* Now re-runs the given deploy mode a second time if failed the first time. This ensure that deployment works fine most of the time and should also avoid conflicts between different Travis CI jobs that are deplyoing at the same time.
2017-09-29 13:23:52 -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
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
Jeremy Elbourn a96b545d28 fix: add mat exportAs and class aliases (#7106) 2017-09-15 13:55:38 -07:00
Jeremy Elbourn 1cb8907a66 build: create JS bundles for each component (#6998)
Before this change, all of `@angular/material` was bundled into a
single, flat JS file.

After this change, each top-level component (i.e., each directory under
`src/lib`) will be have its own JS file (and d.ts and metadata.json).

The benefit of this change is that current versions of webpack will be
able to do a much better job of only including the code an app is using.

It also allows (but does not require) people to explicitly import from specific components,
e.g.
```
import {MdButtonModule} from '@angular/material/button';
``

For development _within Angular Material itself_ we have to use these
deeper imports because the root `@angular/material` doesn't exist until
we build the relase package.

Additionally, this PR adds a `tsconfig.json` for each dir under `src/`
with the correct path mappings for that directory, so that IDEs will
correctly generate imports.

Closure Compiler CI check is also disabled by this PR; it cannot work
with the new package structure until a release with
https://github.com/google/closure-compiler/pull/2600 is made available.
2017-09-14 15:15:17 -07:00
Jeremy Elbourn 13fb5b4d49 chore: bump version to beta.9 w/ changelog (#6705) 2017-08-29 15:33:22 -07:00
Paul Gschwendtner 9644840e4c build: write custom tslint rules in typescript (#6650)
Currently the custom TSLint rules of the repository had to be pushed as JavaScript files because TSLint was only able to run them as JavaScript files.

Recently with TSLint 5.7.0 (https://github.com/palantir/tslint/commit/90dd3f472199c68662eaecc47663969cb8ea6ed1), custom rules can be also loaded directly as TypeScript files in combination with ts-node.
2017-08-28 16:29:57 -07:00
Paul Gschwendtner 2ef6382bae build: stop building rxjs for closure compiler test (#6635)
For every Pull Request, a job that runs the Google Closure Compiler against the demo-app will be started. In the past Closure Compiler wasn't able to properly handle CommonJS packages from the node modules.

Now the Google Closure Compiler will be reconfigured to properly handle CommonJS packages (meaning that RxJS no longer needs to be built manually)
2017-08-28 16:28:50 -07:00
Paul Gschwendtner eef28c0153 build: disable browserstack video (#6622) 2017-08-24 10:10:06 -07:00
Kristiyan Kostadinov 66da5973db feat: update to Angular 4.3 (#6483)
* feat: update to Angular 4.3

* Bumps the Angular requirement to 4.3. This is also a prerequisite to the Angular 5 update since we encountered the same errors there.
* Refactors the sidenav not to use a `Promise.resolve` for toggling the initial animation, because it was making it impossible to flush the animations in unit tests. The new simplified approach uses a property to pass the animation state.
* Fixes the nested menu test failures.
* Fixes a "changed after checked" error in the autocomplete demo app.

Relates to #6454.

* fix: e2e failures
2017-08-16 13:14:12 -07:00
Kristiyan Kostadinov b5fc68b907 build: fix error when running tslint task (#6431)
Fixes an error, that was being thrown when running the `tslint` task, by bumping `tslint` to 5.6.
2017-08-15 15:03:38 -07:00
Paul Gschwendtner fc98a1d0cf build: move changelog script to gulp task (#5472)
* Moves the changelog script to a gulp task that includes better instructions and error reporting.
2017-08-08 23:18:38 -07:00
Paul Gschwendtner 991c1e0d90 chore(tslint): use globs for custom rule source file filtering (#6235)
A few custom TSLint rules already accept an option array that can be used to whitelist specific files. These whitelists are based on normal Regular Expressions which do not work very well for path matching.

This commit changes the existing whitelists to use minimatch, which is a package that allows matching strings/paths against globs. For rules like `requireLicenseBanner` where the whitelist is hardcoded right now, the whitelist has been introduced as well.
2017-08-04 14:00:29 -07:00
Kristiyan Kostadinov edcbb24f11 chore: update tslint (#6149)
Updates tslint to 5.5.0 and resolves some errors that weren't being caught before. This version also has the advantage of printing out the full stack trace if one of the rules throws an error.
2017-07-31 11:24:53 -07:00
Jeremy Elbourn ac104c34b6 chore: update package-lock with npm 5.2 (#5683) 2017-07-12 15:22:30 -07:00
Paul Gschwendtner 1f97945580 build: fix stylelint deprecation warning (#5618)
* Fixes the stylelint deprecation warning
* Fixes that stylelint lints the compiled bundles from `dist/` folders of the `dashboard` or `screenshot` app
* Updates the package-lock with NPM@5.1
2017-07-10 11:38:45 -07:00