Commit Graph

4169 Commits

Author SHA1 Message Date
Paul Gschwendtner e09ec343ef build: fix branch checkout for publish script (#12585) 2018-08-08 11:00:02 -07:00
Paul Gschwendtner fca1429718 build: remove madge (#12548) 2018-08-08 09:45:53 -07:00
Kristiyan Kostadinov 796b31a20c test(autocomplete): fix failing test (#12587) 2018-08-08 09:11:00 -07:00
Kristiyan Kostadinov 9bd08e7614 fix(drag-drop): remove circular dependencies (#12554) 2018-08-08 08:32:27 -07:00
Paul Gschwendtner 895756d109 build: inline resources for demo-app (#12511) 2018-08-08 08:31:08 -07:00
Kristiyan Kostadinov fc43513f9f chore: fix deletion target lint failure (#12572) 2018-08-07 14:30:50 -07:00
Joey Perrott 58c1c95752 fix(slide-toggle): fix font sizing for slide toggle to match other input methods (#10688) 2018-08-07 13:47:15 -07:00
Kristiyan Kostadinov adcac367bf feat(drag-drop): add support for sorting animations (#12530) 2018-08-07 13:44:37 -07:00
Joey Perrott 8c08bb1977 fix(button): allow for non-colored flat button (#12550) 2018-08-07 13:40:17 -07:00
Ben Elliott 3ce5b1f02d feat(autocomplete): add updatePosition() method to MatAutocompleteTrigger (#11495) 2018-08-07 13:39:36 -07:00
Kristiyan Kostadinov 6c3442a248 refactor(dialog): normalize event names (#11549) 2018-08-07 13:38:44 -07:00
Joey Perrott a080a79445 fix(button): allow transition for the button focus overlay for all buttons (#12552) 2018-08-07 13:37:44 -07:00
Kristiyan Kostadinov 329962821b fix(datepicker): input not picking up changes if datepicker is assigned after init (#12546) 2018-08-07 13:36:59 -07:00
Kristiyan Kostadinov 73a3d4ade2 fix(paginator): inconsistently disabling tooltips between browsers (#12539) 2018-08-07 13:36:14 -07:00
Kristiyan Kostadinov 795c95615f fix(list): disable hover styling on touch devices (#12520) 2018-08-07 13:35:21 -07:00
Kristiyan Kostadinov 7dff5f8eb6 fix(button-toggle): forward tabindex to underlying button (#12538) 2018-08-07 13:34:43 -07:00
Joey Perrott 5623c5b7ea fix(tree): include constructors on MatTree classes to allow es6 builds (#12556) 2018-08-07 13:33:43 -07:00
Paul Gschwendtner 4c2f6198d6 fix(tabs): animation running after initialization (#12549) 2018-08-07 13:31:59 -07:00
Paul Gschwendtner 4ecde453a7 refactor(schematics): detect package version from node modules (#12535) 2018-08-07 13:31:12 -07:00
Joey Perrott 3357e70d5f chore: allow for scss imports from node_modules (#12475) 2018-08-07 13:27:33 -07:00
Paweł 2b29c93be7 fix(datepicker): add minDate and maxDate validation in demo-app (#12531) 2018-08-07 13:27:14 -07:00
Amrita Ramnauth b5d4bb07d0 docs(schematics): add grammar fixes to schematics guide (#12532) 2018-08-07 13:26:43 -07:00
Kristiyan Kostadinov 96923331e9 build: add tslint rule enforce import spacing (#12536) 2018-08-07 13:26:27 -07:00
Kristiyan Kostadinov 1e1751f61e fix(menu): menu content data being cleared when lazy-loaded content is reused between nested triggers (#12476)
Fixes an issue where a nested menu with lazy-loaded that is reused between multiple triggers will clear its content once an alternate trigger is hovered. The issue comes from the fact that we wait for the exit animation to finish before we detach the content, which ends up detaching the content of the new trigger as well.

Fixes #12467.
2018-08-03 07:08:49 -07:00
Kristiyan Kostadinov ef57919bd9 fix(table): error if row definition is on an ng-container (#12462)
Fixes the table throwing an error if the row definitions are on an `ng-container`.

Fixes #12460.
2018-08-03 07:04:18 -07:00
Kristiyan Kostadinov 170665ab16 feat(chips): allow set in separatorKeyCodes (#12477)
Resolves a long-standing TODO about supporting a `Set` in a chip input's `separatorKeyCodes`.
2018-08-03 07:03:15 -07:00
mmalerba 4a9fe87f8a perf(virtual-scroll): improve scrolling performance (#12490)
Adds contain and translateZ to viewport and wrapper CSS and switches spacer to use transform instead of width/height
2018-08-03 07:02:38 -07:00
Kristiyan Kostadinov 674ebcd925 chore(select): fix flaky positioning test (#12496)
Fixes a flaky test that is failing on iOS.
2018-08-02 16:44:00 -07:00
Paul Gschwendtner 8cbe8122c0 build: add test cases for update schematics (#12473)
Adds a way to test that the update schematics properly update a developer's application.
2018-08-02 11:28:07 -07:00
mmalerba dcd2282295 feat(virtual-scroll): move from cdk-experimental to cdk (#12438) 2018-08-01 14:36:02 -07:00
Kristiyan Kostadinov d392a8dc0b build: material sources not being watched when developing locally (#12472)
Fixes the Material sources not being rebuilt on changes due to an incorrect pattern.
2018-08-01 07:31:20 -07:00
Paul Gschwendtner e273a7a415 fix(slide-toggle): prevent error when disabling while focused (#12325)
Fixes Angular throwing an `ExpressionChangedAfterItHasBeenCheckedError` when disabling the slide-toggle while the component has been focused.

Fixes #12323
2018-08-01 07:19:29 -07:00
Paul Gschwendtner c4cacceba9 fix(checkbox): prevent error when disabling while focused (#12327)
* Fixes that Angular throws an ExpressionChangedAfterItHasBeenCheckedError when disabling the checkbox while the component has been focused.
* Adds missing test for `NgModel` states after value change through view.

Related #12323
2018-08-01 07:18:52 -07:00
Kristiyan Kostadinov a10bfa4995 fix(live-announcer): duplicate live element when coming in from the server (#12378)
Fixes the case where the user might get multiple live announcer elements, if they're coming in from a server-side-rendered page. Along the same lines as #11940.
2018-08-01 07:18:15 -07:00
Kristiyan Kostadinov e6443508a1 fix(bidi): default invalid directionality values to ltr (#12396)
Fixes invalid directionality values being accepted as they are, rather than defaulting to ltr. Browsers fall back to ltr anyway, however having an invalid value can break some of our component that could be checking for one of the correct values explicitly.
2018-08-01 07:18:00 -07:00
Kristiyan Kostadinov 4884dacb58 fix(form-field): reset inputs not being reset on safari (#12413)
Fixes Safari's custom styling for `input[type='search']` not being reset inside of form fields.

Fixes #12408.
2018-08-01 07:17:20 -07:00
Kristiyan Kostadinov 71886f84ef perf(overlay): remove detached overlays from the DOM (#12414)
Removes the detached overlays from the DOM, rather than keeping their host element. Previously we kept the elements in the DOM, because they don't interfere with user interactions and it made it easier to handle animations, however doing so can cause scroll jank, because the host still has dimensions and is being rendered by the browser.

Fixes #12341.
2018-08-01 07:15:23 -07:00
Kristiyan Kostadinov e007c27bd5 fix(chips): dynamic chip input placeholder changes not being propagated to form field (#12422)
Fixes changes to the placeholder of a chip input not being propagated to its parent form field. Also un-deprecates the input for `placeholder`, because we need to know when it has changed.

Fixes #11861.
2018-08-01 07:15:00 -07:00
Kristiyan Kostadinov bcf4c9f26b fix(chips): focus indication not visible in high contrast mode (#12431)
Fixes not being able to tell which chip is focused in high contrast mode.
2018-08-01 07:14:14 -07:00
Kristiyan Kostadinov df2b371d66 fix(form-field): unable to distinguish disabled form field in high contrast mode (#12445)
Fixes the disabled form field being indistinguishable from enabled ones in high contrast mode, due to the dotted gradient not being rendered.
2018-08-01 07:14:00 -07:00
Kristiyan Kostadinov db8f83dfe2 fix(drag-drop): account for transition-delay when waiting for the animation to finish (#12466)
Currently we have some functionality that waits for the preview's animation to finish and falls back to a timeout, based on the computed `transition-duration`, however that fallback doesn't account for the case where the element has a `transition-delay`. These changes account for the delay.
2018-08-01 07:03:57 -07:00
Jeremy Elbourn 6a02b94ed2 chore: remove tinayuangao from codeowners (#12444) 2018-07-31 16:47:01 -07:00
Paul Gschwendtner 51af4718db refactor(schematics): remove type checker for identifier switch rule (#12454)
Removes type checking from the `switchIdentifiersRule` because we don't want to depend on types for older versions when running the schematics. The rule still maintains the explicit checks that ensure that only identifiers from Material or the CDK are being updated,
2018-07-31 15:19:25 -07:00
Paul Gschwendtner 73f3f940b0 build: remove deprecated node-github api (#12420)
Switches to the newer version of `node-github` that has been renamed to `@octokit/rest`.
2018-07-31 11:13:34 -07:00
Paul Gschwendtner f5f7f1c3d1 build: add version stamp to release output (#12418) 2018-07-31 09:23:20 -07:00
Paul Gschwendtner e4ac04d678 build: speed-up stylesheet building (#12426)
* Switches back from `dart-sass` to `node-sass` due to a pretty huge slow-down we noticed (can be revisited)
* No longer copies all SCSS files to the temporary `package` output just in favor of the demo-app (slows down unnecessarily). This now allows us to live-reload theme changes within a second.
* No longer rebuilds all package SCSS files twice for the ES5 output (rel: https://github.com/angular/material2/pull/7403)
2018-07-31 09:06:39 -07:00
Paul Gschwendtner 08e6653707 fix(schematics): properly detect tsconfig files (#12434)
* Currently the `tsconfig` files are not being detected properly with the latest Angular CLI version.
* Improves tslint config comment
2018-07-31 09:04:45 -07:00
mmalerba 37ba893ee0 chore: use regex to whitelist branches for CI (#12439) 2018-07-31 09:03:53 -07:00
mmalerba 2ffdae6c80 chore: 6.4.2 changelog (#12441)
* chore: 6.4.2 changelog

* address comments
2018-07-30 15:01:02 -07:00
Kristiyan Kostadinov 877de5691b build: rename @deletion-target to @breaking-change (#12421)
As discussed, renames the `@deletion-target` tag to `@breaking-change` to make the intentions of the tag clearer. Also adds an extra check to the tslint rule to catch any leftover `@deletion-target` tags.
2018-07-28 21:51:41 -07:00