Commit Graph

4211 Commits

Author SHA1 Message Date
Kristiyan Kostadinov ac8339cc10 test: fix slide-toggle e2e failures (#12699)
Fixes some e2e failures in the slide toggle after the new design got in. The tests expect the ripples to go away at some point, however we introduced a permanent ripple.
2018-08-16 11:31:14 -07:00
Kristiyan Kostadinov b2247f888c feat(progress-bar): align with 2018 material design spec (#12394)
Aligns the progress bar component with the latest version of the Material design spec.
2018-08-15 20:03:57 -07:00
Kristiyan Kostadinov 5f2e0773b4 feat(slide-toggle): align with 2018 material design spec (#12419)
Aligns the slide toggle component with the latest Material design spec. The component was mostly on spec already, but these changes adjust the size of the ripple and add the new behavior/opacity when hovering and on focus.
2018-08-15 20:03:41 -07:00
Paul Gschwendtner 4cfdb20613 fix(selection-list): do not allow toggling disabled options (#12617)
* fix(selection-list): do not allow toggling disabled options

* Currently due to a misplaced `disabled` check in the selection list, users can toggle the state of a disabled `<mat-option>` by using the keyboard.

Fixes #12608

* Rename function
2018-08-15 20:03:10 -07:00
Kristiyan Kostadinov ceb2051b85 feat(bottom-sheet): align with 2018 material design spec (#12625)
Aligns the bottom sheet component with the most-recent Material Design spec.
2018-08-15 20:02:54 -07:00
Paul Gschwendtner 009f211e47 build: fix docs-content branch publish (#12690)
Currently the docs-content output will be overwritten each time a Travis job runs in another branch (e.g. `master`, `6.4.x`, `6.x`). This is because the given branches cannot be created in the `material2-docs-content´ repository.

This is not good because if we want to release a new patch version, we have no way to properly pull the docs-content data that matches the given new version. Meaning that the docs-content and the `@angular/material-examples` package might be already updated for the next `major` version and we run into runtime exceptions due to the breaking changes.
2018-08-15 14:43:20 -07:00
Paul Gschwendtner 13c141ea3a build: update saucelabs tunnel (#12689)
* Updates the Saucelabs Connect Tunnel to the most recent version that seems to include a major bug fix that should improve tunnel stability
* Changes the CircleCI resource class to the `xlarge` (similar as in angular/angular). This should speed up the Bazel builds due to more CPU threads and more RAM.
2018-08-15 14:42:11 -07:00
Kristiyan Kostadinov 91b171cd13 feat(drag-drop): add function to determine whether an item is allowed to be transferred (#12673)
Adds the `enterPredicate` function which allows consumers to determine whether a particular item is allowed to be moved into a drop container. This is more granular than excluding entire groups of items using `connectedTo`.
2018-08-15 14:41:54 -07:00
Joey Perrott 03527c632b fix(form-field): update label gap for outline style (#12555) 2018-08-15 14:23:02 -07:00
Erick Xavier 7e74b5d80b Fixes MAT_MOMENT_DATE_ADAPTER_OPTIONS (#12679)
Fixes MAT_MOMENT_DATE_ADAPTER_OPTIONS reference on documentation
2018-08-14 17:55:15 -07:00
Kristiyan Kostadinov b40967fd15 fix(progress-bar): query state animation not working (#11459)
Currently the animation for a progress bar in the `query` state is disabled by default due to the `_noop-animation` producing the wrong selector. It looks like using the ampersand inside interpolation (e.g. in `@at-root ._mat-animation-noopable#{&}`) doesn't work as expected once we have more than one selector. What ends up happening is that SASS interpolates the first selector, but then leaves the other one as it is, which causes it to disable the animation.

Fixes #11453.
2018-08-14 15:54:47 -07:00
Paul Gschwendtner 9169c0593b refactor(schematics): properly add font stylesheets (#12636)
* refactor(schematics): properly add font stylesheets

* No longer just inserts the Material fonts (icon font and Roboto) at the beginning of the `<head>` element. The link elements should be appended and properly indented.
* Moves utils that are specific to the `install` / `ng-add` schematic into the given schematic folder instead of having them in the global schematic utility folder.
* Fixes that multiple runs of `ng add @angular/material` result in duplicate styles in the project `styles.ext` file.

* Improved head element find logic (BFS)
2018-08-14 15:53:22 -07:00
Kristiyan Kostadinov 4d430bd146 feat(drag-drop): add the ability to lock dragging along an axis (#12604)
Adds inputs that allow consumers to lock dragging of a particular drag item, or all items in a drag container, along an axis.
2018-08-14 15:52:57 -07:00
Paul Gschwendtner 3a8425968d build: update project dependencies (#12675)
* Updates Dgeni and other development dependencies in order to fix more `npm audit` vulnerabilities.
2018-08-14 10:03:36 -07:00
ElAndyG 8aaca12303 add ng add as an install alternative to npm/yarn (#12471)
Letting users know that the `ng add` command will simplify the install process if they are not on the latest versions of Angular. I found that by doing the stock npm install, the @angular/cdk and @angular/animations versions did not match what was already installed causing conflicts in the dependencies.
2018-08-13 17:03:39 -07:00
Paul Gschwendtner 5144aa790d feat(ng-add): respect project default style extension (#12618)
* feat(ng-add): respect project default style extension

* No longer ignores the projects default style extension that has been specified in the `ng new` command (e.g. `new new test --style scss`)

* Address feedback
2018-08-13 16:42:43 -07:00
Paul Gschwendtner 6732414936 build: update dashboard dependencies (#12630)
* Updates the dashboard dependencies and refreshes the `package-lock` file.
2018-08-13 16:42:05 -07:00
Kristiyan Kostadinov fac35e01fd feat(drag-drop): add move event (#12641)
This is something that came up during a discussion in #8963. Adds the `cdkDragMoved` event which will emit as an item is being dragged. Also adds some extra precautions to make sure that we're not doing extra work unless the consumer opted into the event.
2018-08-13 16:41:31 -07:00
Kristiyan Kostadinov 1e19338724 test(tabs): fix test failure (#12656)
Fixes a test in the tab group tests due to a long-standing PR being merged.
2018-08-13 16:40:37 -07:00
Joey Perrott f16795930a chore: bump to 6.4.5 (#12657) 2018-08-13 10:59:21 -07:00
mmalerba 028746ad8c feat(cdk-scrollable): add methods to normalize scrolling in RTL (#12607)
* feat(cdk-scrollable): add methods to normalize scrolling in RTL

* address comments
2018-08-13 10:58:51 -07:00
Kristiyan Kostadinov 499458c912 fix(tabs): changed after checked error when using isActive in view (#12206)
* Fixes a "changed after checked" error being thrown if the consumer is using the `isActive` property of a tab somewhere in the view.
* Reworks the `MatTab` to only have one `stateChanges` subject rather than one per property.

Fixes #12197.
2018-08-13 09:51:50 -07:00
mmalerba ba84d5b3f0 feat(virtual-scroll): change fixed strategy to use min & max buffer (#12557)
* feat(virtual-scroll): change fixed strategy to use min & max buffer

* address comments
2018-08-13 09:51:18 -07:00
mmalerba 915590ea73 fix(cdk-text-field): prevent keyframes from getting stripped by LibSass (#12567) 2018-08-13 09:51:03 -07:00
mmalerba fceb7afa39 cleanup(cdk-scrollable): use fromEvent under the hood (#12589) 2018-08-13 09:43:04 -07:00
Joey Perrott 9f0c31fb09 chore: update changelog and package.json for 6.4.4 (#12652) 2018-08-13 08:36:18 -07:00
Kristiyan Kostadinov 6fde81a1c0 build: bump versions of test tooling and resolve some audit warnings (#12629) 2018-08-13 06:54:52 -07:00
Kristiyan Kostadinov 0a7750eb04 fix(drag-drop): ignore self inside connectedTo (#12626) 2018-08-13 06:54:16 -07:00
Jacob Mansfield d251c79e63 docs(sidenav): add note about mat-sidenav placement (#12613) 2018-08-13 06:53:19 -07:00
Paul Gschwendtner 1f9df4c907 build: test against angular snapshots (#12600) 2018-08-13 06:53:03 -07:00
Kristiyan Kostadinov 86925e203d build: demo app html and css not being updated on changes (#12619) 2018-08-13 06:52:47 -07:00
Joey Perrott c5cfede7ea chore: revert pr/11628 (#12623) 2018-08-10 08:17:02 -07:00
Paul Gschwendtner 52cb1cb1ac refactor(schematics): cleanup attribute selector rules (#12507) 2018-08-09 14:11:49 -07:00
Paul Gschwendtner a2c6dfc92f build: fix invalid required angular version (#12089) 2018-08-09 13:06:11 -07:00
Kristiyan Kostadinov ea10d94892 test(overlay): fix ios test failure (#12601) 2018-08-09 10:34:49 -07:00
Joey Perrott ef0b84be38 fix(snackbar): wrap simple snackbar text in span (#12599)
We have begun transforming our html templates in our internal syncs to include our license header
which results in a new line above template. In the simple snack bar this adds a single space when
looking at the elements textContent. By wrapping the content in a span we ensure that the
whitespace is consistent regardless of the presence of the license header comment in the template
file.
2018-08-09 10:11:33 -07:00
Kristiyan Kostadinov cf3a03b611 docs(tree): fix inaccurate comment in example (#12594) 2018-08-09 07:46:39 -07:00
Paul Gschwendtner 1effb16c24 refactor(schematics): use parse5 for finding inputs and outputs (#12524) 2018-08-09 07:46:14 -07:00
Paul Gschwendtner 77568829c2 refactor(schematics): run tests for template files (#12562) 2018-08-09 07:45:45 -07:00
Kristiyan Kostadinov f8b70cda04 fix(overlay): flexible overlay with push not handling scroll offset and position locking (#11628) 2018-08-09 07:21:37 -07:00
Kristiyan Kostadinov d5c5f317b0 feat(dialog): allow focus restoration to be disabled (#12519) 2018-08-08 14:40:12 -07:00
Joey Perrott 5a560b2ff3 feat(breakpoint-observer): Emit matching state of each query provided (#12506) 2018-08-08 14:39:28 -07:00
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