Andrew Seguin
c90ca55ef3
chore(cdk): create cdk/collections ( #6208 )
2017-08-22 17:45:40 -07:00
Kristiyan Kostadinov
2fc6a4c782
refactor: turn off view encapsulation for all components ( #6563 )
...
Fixes #6037 .
2017-08-22 17:44:18 -07:00
Kristiyan Kostadinov
0526689fde
fix(select): error if triggerValue is accessed from an empty select ( #6575 )
2017-08-22 17:43:49 -07:00
Kristiyan Kostadinov
ea143a052f
fix(grid-list): figure not expanding to full width ( #6578 )
...
Fixes #6586 .
2017-08-22 17:42:50 -07:00
Kristiyan Kostadinov
ff54969d17
fix(autocomplete): placeholder not animating on focus ( #3992 )
...
Fixes #5755 .
2017-08-22 17:41:27 -07:00
Kristiyan Kostadinov
e41d0f3e9b
feat(autocomplete): support for md-optgroup ( #5604 )
...
Fixes #5581 .
2017-08-22 16:01:00 -07:00
Kristiyan Kostadinov
7f0e58e432
fix(expansion-panel): remove margin from top and bottom panels in accordion ( #6546 )
2017-08-22 14:10:35 -07:00
tinayuangao
9eb9ddfad0
feat(chips): add user defined tab index to chip list ( #6073 )
2017-08-22 14:09:47 -07:00
Jeremy Elbourn
154bb55689
fix(overlay): remove overlay container on destroy ( #5378 )
2017-08-22 14:08:45 -07:00
Kristiyan Kostadinov
363562f3e6
fix(snack-bar): align theming with spec ( #6506 )
2017-08-22 14:07:33 -07:00
Kristiyan Kostadinov
90fc300ea9
fix(chips): invalid aria-selected value for non-selectable chip ( #6544 )
2017-08-22 14:04:10 -07:00
Kristiyan Kostadinov
1f4a962e23
fix(list-key-manager): increase typeahead range to include more characters ( #6543 )
2017-08-22 14:03:48 -07:00
mostwired
5bd655b909
fix(paginator): add type button to next / prev buttons
2017-08-22 14:03:22 -07:00
Kristiyan Kostadinov
921432acf7
feat(expansion-panel): add the ability to disable an expansion panel ( #6529 )
...
Fixes #6521 .
2017-08-22 14:02:42 -07:00
Will Howell
449ed194d2
fix(chips): mark onFocus as internal ( #6519 )
2017-08-22 14:02:18 -07:00
Will Howell
df28c3d5ab
feat(dialog): expose backdrop clicks ( #6511 )
2017-08-22 11:48:41 -07:00
trevorade
6cdbf36103
fix(tooltip): remove unnecessary tooltip whitespace ( #6531 )
2017-08-22 11:28:09 -07:00
Kristiyan Kostadinov
4e120723eb
fix(dialog): move focus into container if no focusable elements are found ( #6524 )
...
Fixes #6513 .
2017-08-22 11:26:19 -07:00
Jeremy Elbourn
e0b1094d62
chore(e2e): fix consistent timeouts ( #6574 )
2017-08-22 10:53:15 -07:00
Jeremy Elbourn
9904e5605c
feat(overlay): add maxWidth and maxHeight ( #6508 )
2017-08-22 10:13:54 -07:00
Jeremy Elbourn
0db3635f01
chore(overlay): add attach method to PositionStrategy interface ( #6505 )
2017-08-22 10:13:23 -07:00
tinayuangao
215ff3c77c
demo(card): add accessibility demo page for card ( #6358 )
2017-08-21 16:11:20 -07:00
tinayuangao
7b54e1dfda
demo(dialog): add accessibility demo page for dialog ( #6360 )
2017-08-21 16:00:04 -07:00
Austin
5bd0c3a629
demo(menu): add menu a11y demo ( #6445 )
2017-08-21 15:59:44 -07:00
Kristiyan Kostadinov
5e3228f61c
fix(icon): icon element not removed when svgIcon is reset ( #6502 )
...
Fixes #6495 .
2017-08-21 15:56:18 -07:00
Jeremy Elbourn
5f75939a01
chore(overlay): refactor clipping detection calculation to its own file ( #6504 )
2017-08-21 15:55:09 -07:00
Shlomi Assaf
90a6ac95e5
feat(portal): support context in TemplatePortal ( #6408 )
...
BREAKING CHANGE:
- `TemplatePortal` now requires a generic type (C)
- method `attach` return type C and property `locals` was removed
- method `attachTemplatePortal` in `BasePortalHost` now requires a generic type (C) and returns EmbeddedViewRef<C> (also applies to extending types `DomPortalHost`, `PortalHostDirective` and `MdDialogContainer`)
2017-08-21 15:15:47 -07:00
Will Howell
cdbf305771
feat(dialog): add beforeClose method ( #6377 )
2017-08-21 15:13:28 -07:00
tinayuangao
dfd3d7133b
demo(slide-toggle): add accessibility demo page for slide toggle ( #6349 )
2017-08-21 13:56:45 -07:00
Philip Pham
054ea4d1ef
feat(select): implement compareWith for custom comparison ( #4540 )
...
Fixes #2250 , fixes #2785 .
2017-08-21 13:53:39 -07:00
Will Howell
c86d13c8fe
docs(styles): add guide for overriding styles ( #6541 )
2017-08-21 12:35:06 -07:00
Kristiyan Kostadinov
1179868174
chore(select): add select a11y demo ( #6384 )
...
Fixes #6119 .
2017-08-21 10:55:17 -07:00
mmalerba
372436cb8a
refactor(sidenav): split into drawer and sidenav ( #6260 )
...
* refactor(sidenav): split into drawer and sidenav
* s/side/position
* fix tests
* fix bad rebase
2017-08-17 12:48:25 -07:00
Andrew Seguin
0f02a11bcd
Revert "chore(dialog): switch to OnPush change detection ( #6287 )" ( #6523 )
...
This reverts commit 72360e2b11 .
2017-08-17 12:04:01 -07:00
Kristiyan Kostadinov
0113c389fb
chore: fix nested menu test failure ( #6514 )
...
Fixes a test failure that seems to have slipped through the cracks in between merging a fix and the update to Angular 4.3,
2017-08-17 12:03:37 -07:00
Kristiyan Kostadinov
72360e2b11
chore(dialog): switch to OnPush change detection ( #6287 )
...
Switches the dialog to OnPush change detection.
2017-08-16 13:16:37 -07:00
Kristiyan Kostadinov
6b9357243b
chore: remove duplicated key managers ( #6332 )
...
* chore: remove duplicated FocusKeyManager
Removes the FocusKeyManager class that was duplicated from the CDK.
* chore: also remove duplicate activedescendant
2017-08-16 13:16:24 -07:00
Andrew Seguin
34284b9e87
fix: enforce multiline selectors use backtick ( #6386 )
...
* fix: enforce multiline selectors use backtick
* add checkbox validator
2017-08-16 13:16:06 -07:00
Andrew Seguin
ff4e6e96a8
compat(autosize): fix input name ( #6419 )
2017-08-16 13:15:50 -07:00
Kristiyan Kostadinov
4d36ee038c
feat(tabs): add isActive flag on the individual tabs ( #6424 )
...
* Adds the `isActive` flag on each tab, making it easier to check whether a tab is active.
* Adds an `exportAs` to the tab directive to allow for it to be consumed easier in the view.
Fixes #6422 .
2017-08-16 13:15:29 -07:00
Kristiyan Kostadinov
08a66734db
fix(list-key-manager): typehead not handling non-English input ( #6463 )
...
Since `String.fromCharCode` only maps the key codes to their English letter counterparts, the typeahead option in the `ListKeyManager` won't work for non-English input. These changes switch to using `event.key` and falling back to using `keyCode` and `fromCharCode`.
2017-08-16 13:15:13 -07:00
Kristiyan Kostadinov
da7cb2dc99
refactor: use mat-fill mixin for cover elements ( #6486 )
...
Switches the elements that cover their parents to use the `mat-fill` mixin.
2017-08-16 13:14:51 -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
Andrew Seguin
1807c5b8f7
fix(select): lint issue ( #6497 )
2017-08-16 10:33:23 -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
Kristiyan Kostadinov
bfea2634d1
chore: remove change detection toggle from demo app ( #6444 )
...
Removes the toggle that changes the change detection in the demo app. It's not needed anymore since all components use OnPush.
2017-08-15 15:03:29 -07:00
Kristiyan Kostadinov
6422640b03
fix(select): don't shift option focus when multi-select value is changed programmatically ( #5401 )
...
Doesn't shift focus when the value of a multi select is updated programmatically while the panel is still open. Previously focus would end up on the last selected option, because we move focus in a loop.
Fixes #5381 .
2017-08-15 14:54:08 -07:00
Hubert Wesolowski
9ba5d8434f
feat(datepicker): close calendar after choose the same date again ( #6323 )
...
* feat: close calendar after choose the same date again
* feat: close calendar by userSelection event
* addressing pr comments
* fix for tslint errors
* addressing pr comments
2017-08-15 14:53:55 -07:00
Kristiyan Kostadinov
66b1ff52b0
fix(menu): close child menus when parent is closed programmatically ( #6329 )
...
Fixes the child menus not closing themselves when a parent menu is closed via `closeMenu`.
2017-08-15 14:53:18 -07:00
tinayuangao
9bdd228618
demo(snackbar): Add accessibility demo page for snack bar ( #6362 )
...
* demo(snackbar): Add accessibility demo page for snack bar
* Remove pizza example
2017-08-15 14:52:59 -07:00