Commit Graph

2154 Commits

Author SHA1 Message Date
Jeremy Elbourn cf39a419ff build(cdk): add bazel ng_module rules (#8370)
Part of #8369
2017-11-15 11:47:56 -08:00
Jeremy Elbourn 262c23b840 chore: add license to demo-app (#8440) 2017-11-14 12:59:25 -08:00
Jeremy Elbourn cd12561cb0 chore(select): organize up tests to better scope compilation (#8342) 2017-11-14 10:08:39 -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 b959014ca5 chore(tooltip): unit test failures (#8385)
* Fixes a regression in the tooltip that was introduced by 0719c38662 which caused the tests to fail.
* Avoids issues in the future where failures in some tooltip tests can cause Jasmine to throw the browser into an infinite loop by trying to stringify a circular object.
2017-11-14 08:40:45 -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
Greg Magolan 8dfe470c30 fix(cdk-observers): prevent attribute renaming in closure compilers advanced optimizations (#7894) 2017-11-10 11:17:05 -08:00
tinayuangao d79903a8ea fix(chips): remove chip bottom margin in sibling chips (#8198) 2017-11-10 11:15:37 -08:00
Paul Gschwendtner 57c8f05d6e chore(button): remove prefix specific checks (#7843) 2017-11-10 11:14:54 -08:00
Jeremy Elbourn 8178d6f70d fix(input): add aria-required to inputs (#8034) 2017-11-10 11:14:06 -08:00
Kristiyan Kostadinov bc8560e495 fix(snack-bar): complete onAction observable on close (#8183) 2017-11-10 11:13:45 -08:00
Kristiyan Kostadinov 0719c38662 fix(tooltip): allow toolip to reopen when closed by detaching overlay (#8232) 2017-11-10 11:13:05 -08:00
Paul Gschwendtner d35436b7fc chore(ripple): remove prefix specific filtering for changes (#7903) 2017-11-10 11:12:10 -08:00
Joey Perrott 9eda324b9d chore(overlay): export OverlayKeyboardDispatcher to aide in extending the Overlay class. (#8311) 2017-11-10 11:10:10 -08:00
Jeremy Elbourn 76806e3fef fix(icon): remove IDs from source icon set from rendered output (#8266) 2017-11-10 11:08:16 -08:00
Kristiyan Kostadinov ba36d3ab50 fix(select): error when attempting to open before init (#8242) 2017-11-10 11:07:47 -08:00
Kristiyan Kostadinov b6712f8d13 fix(progress-spinner): coerceNumber values (#7791)
Coerces any string values that are passed to `value`, `diameter` and `strokeWidth` to numbers.
2017-11-10 11:07:07 -08:00
mmalerba 4b59ca1a64 fix(datepicker): prevent matInput from clobbering date value (#7831) 2017-11-10 11:05:57 -08:00
Austin 3ca801a903 fix: consistently coerce boolean and number properties (#7283) 2017-11-10 11:04:47 -08:00
mmalerba 8dc8dc45c8 fix(focus-monitor): cleanup global listeners and don't require Renderer2 (#7728)
* fix(focus-monitor): cleanup global listeners and don't require Renderer2
2017-11-10 10:16:05 -08:00
Joey Perrott 0e03bf4400 chore(tabs): move tabs to smart portal directive. (#7266) 2017-11-10 09:54:35 -08:00
Jeremy Elbourn 691bb7321a chore(form-field): prevent overzealous floating placeholder rule optimization (#8343) 2017-11-10 09:53:37 -08:00
Aleksey a01972960f docs(slider): change slider value binding to ngModel (#8338) 2017-11-09 16:22:03 -08:00
Kristiyan Kostadinov dbd64b6c31 chore: fix lint errors (#8288) 2017-11-08 14:55:34 -08:00
mmalerba 8b3c8a5873 cleanup(datepicker): undo breaking change to NativeDateAdapter (#8281) 2017-11-07 11:32:47 -08:00
Kristiyan Kostadinov 998153a535 feat(datepicker): dispatch events when datepicker is opened and closed (#7792)
Adds `opened` and `closed` events, dispatched when a datepicker is opened/closed.
2017-11-07 10:09:28 -08:00
Kristiyan Kostadinov b9973532bf fix(progress-spinner): default strokeWidth to 10% of the diameter (#7746)
Currently the default stroke of a spinner is always 10px which doesn't look great on anything that's smaller than the default. These changes switch it to be 10% of the circle's diameter.
2017-11-07 10:07:27 -08:00
Jeremy Elbourn 20b47d72b1 feat(a11y): add autoCapture option to cdkTrapFocus (#7641)
This also renames `FocusTrapDirective` to `CdkTrapFocus` and re-exports it under the old name.
2017-11-07 09:58:41 -08:00
Kristiyan Kostadinov 7610c7c567 fix(drawer): re-add openedStart and closedStart events (#7747)
* Re-adds the `openedStart` and `closedStart` events due to popular demand.
* Fixes wrong signature for the returned promise from toggle. The signature states that the resolved value is supposed to be a `MatDrawerToggleResult` while in practice it was `undefined`.
2017-11-07 09:57:31 -08:00
mmalerba d6d9ff8f79 fix(datepicker): add missing exportAs (#7782) 2017-11-07 09:56:16 -08:00
Joey Perrott 9b88aac155 fix(expansion) Add expansion panel outputs (#7309) 2017-11-07 09:55:54 -08:00
mmalerba 2f2325a856 fix(datepicker): correct DST issues on IE 11 (#7858) 2017-11-07 09:52:39 -08:00
mmalerba c088a0f372 test(select): switch all select tests to fakeAsync (#7913) 2017-11-06 14:17:35 -08:00
Andrew Seguin 020ed61e87 docs(table): add selection example (#8161)
* Add comment

* newline

* triple equals
2017-11-06 14:16:51 -08:00
Andrew Scott 2667c017cd chore(docs): update autocomplete-filter-example.ts (#8167) 2017-11-06 14:16:11 -08:00
Paul Gschwendtner 4e8626b8ad build: remove es5 tsconfig files (#8203) 2017-11-06 13:59:33 -08:00
Andrew Seguin e172d19f9b chore(table): add sort accessor type to data source (#8222) 2017-11-06 13:58:40 -08:00
Kristiyan Kostadinov 6e872b72a1 docs: fix forms warning in custom form field example (#8224) 2017-11-06 13:57:40 -08:00
Kristiyan Kostadinov 24f0471b72 chore(spinner): avoid deprecation warning in Safari (#7810)
Fixes a deprecation warning that was being logged by the spinner on Safari.
2017-11-03 12:02:36 -07:00
Andrew Seguin 25bc760eef docs(input): fix example references (#8221) 2017-11-03 10:03:00 -07:00
Kristiyan Kostadinov cf11ff2e3f fix(stepper): error when selectedIndex is pre-set (#8035)
Fixes an error that is thrown if the `selectedIndex` is set before the steps are initialized.

Fixes #8031.
2017-11-01 21:06:26 -07:00
Will Howell 3b50d3d08f docs(elevation): add guide for elevation helpers (#8172)
* docs(elevation): add guide for elevation helpers

- Credit to @M-a-c for intitial version

* Remove extra newlines

* Address comments
2017-11-01 21:05:27 -07:00
Paul Gschwendtner ebbbcca53f docs: show platform service (#8148)
* No longer marks the `Platform` service from `@angular/cdk/platform` as `docs-private`. The platform service should be documented since it's useful and likely the only thing in the platform entry-point.
2017-11-01 21:04:38 -07:00
Andrew Seguin 55476e2cb9 fix(table): throw error when missing row defs (#7751)
* fix(table): throw error when missing row defs

* nit: change conditional
2017-11-01 20:51:44 -07:00
Philip Pham 2347f5bf5f demo(chips): Set addOnBlur for both inputs (#7812)
It's confusing to only have addOnBlur work for one example.
2017-11-01 20:48:56 -07:00
Rafał Krzewski 90fdacf6ad fix(radio) detect non-direct mat-radio descendants of mat-radio-group (#7842)
Fixes #7166
2017-11-01 20:48:21 -07:00
Austin dff97274f7 chore(keycodes): add comma to keycodes and update usages (#7852) 2017-11-01 20:44:58 -07:00
Kristiyan Kostadinov 8edb416d26 fix(select): support typing to select items on when closed (#7885)
Adds support for selecting items on a closed select by typing. This is similar to how the native select works.
2017-11-01 20:38:08 -07:00
Kristiyan Kostadinov 943395ee5c perf(tabs): avoid repainting while scrolling (#7889)
Along the same lines as #7721, #7719 and #6890 the tab body currently repaints on scroll.
2017-11-01 20:37:30 -07:00
Jeffrey Bosch 9a05ecdb63 fix(MatPaginatorIntl): Provide a provider if exists. (#7895)
* fix(MatPaginatorIntl): Provide a provider if exists.

If there is already a MatPaginatorIntl provider that one
If not create a new instance.

Closes #7344

* style(paginator): Changed arguments, removed spacing

* style(paginator): Changed argument name.
2017-11-01 20:36:26 -07:00