Commit Graph

4063 Commits

Author SHA1 Message Date
Kristiyan Kostadinov 7f8fd9fc06 fix(tabs): enable keyboard wrapping and mark disabled tabs (#12218) 2018-07-18 09:45:36 -07:00
yunga91 b5898281ca fix(schematics): fix object iteration error in dashboard (#12216) 2018-07-18 09:17:11 -07:00
Mark Arranz 7f1b8b94f7 docs(stepper): fix stackblitz example for mat-vertical-stepper (#12235) 2018-07-18 08:55:20 -07:00
Kristiyan Kostadinov 8973971846 build: e2e and test init files not being linted (#12221) 2018-07-18 08:54:44 -07:00
Kristiyan Kostadinov 51bded7dda chore: gesture config test logging out warnings (#12207) 2018-07-18 08:54:21 -07:00
Austin 1540e2fa82 feat(schematics): tree schematic (#11739) 2018-07-18 08:53:47 -07:00
Paul Gschwendtner 1c67663e47 build: add git-semver-tags to dev dependencies (#12230) 2018-07-18 08:52:58 -07:00
Paul Gschwendtner 783a5c9645 chore(examples): fix tab group example title (#12255) 2018-07-18 08:50:35 -07:00
Kristiyan Kostadinov d431566d9d fix(moment-date-adapter): not returning utc date when parsing (#12029) 2018-07-18 08:39:21 -07:00
Kristiyan Kostadinov eee1e7dca0 fix(drag-drop): disable text selection on draggable element (#12204) 2018-07-17 09:06:39 -07:00
Kristiyan Kostadinov 56bce47c34 fix(menu): focus indication not visible in high contrast mode (#12201) 2018-07-17 08:13:17 -07:00
Kristiyan Kostadinov 19f64adbc9 fix(tooltip): interfering with native drag&drop (#12200) 2018-07-17 08:12:39 -07:00
Kristiyan Kostadinov 19326f76fc test(drag-drop): add missing unit tests (#12219) 2018-07-17 08:12:02 -07:00
thefliik 9d53f670f2 fix(drag-drop): make CDK_DROP_CONTAINER public (#12214) 2018-07-17 08:11:34 -07:00
Paul Gschwendtner c6c68a6c38 fix(tabs): content animation in RTL not working (chrome) (#12215) 2018-07-17 08:10:44 -07:00
mmalerba 1afdaacb8c virtual-scroll: Avoid using bypassSecurityTrustStyle which is banned in google3 (#12181) 2018-07-17 08:09:09 -07:00
Frederik Schlemmer 4ffb39f5a1 docs: adds new button examples (#11975) 2018-07-17 08:04:25 -07:00
Jeremy Elbourn cc33f57f4e chore: bump version to 6.4.0 w/ changelog (#12240) 2018-07-16 15:47:31 -07:00
mmalerba 3255cf3c36 virtual-scroll: use detectChanges rather than markForCheck in CdkVirtualScrollViewport (#12158) 2018-07-12 07:55:32 -07:00
Kristiyan Kostadinov 45b949a2d9 fix(select): blank option label throwing off alignment (#11994)
Fixes selecting an option that has a blank string as a label throwing off the alignment of `mat-select`.

Fixes #11969.
2018-07-12 07:54:04 -07:00
Kristiyan Kostadinov b1d4fe15b7 fix(datepicker): calendar input changes not being propagated on child views (#12004)
Fixes the new values for the calendar's `minDate`, `maxDate` and `dateFilter` not being propagated to the current calendar view until the next change detection cycle.

Fixes #11737.
2018-07-12 07:53:09 -07:00
Kristiyan Kostadinov 32da0388ce fix(datepicker): all cells being read out as selected (#12006)
Currently we omit the `aria-selected` attribute on the individual date cells which causes NVDA to read out all cells as being selected. These changes set the attribute in order to allow for screen readers to pick up the selected state correctly.
2018-07-12 07:47:53 -07:00
Kristiyan Kostadinov cb6c6215c9 fix(button): unable to set a custom tabindex on a link button (#12042)
Fixes the consumer's `tabIndex` being overwritten to always be 0 on button links.

Fixes #12041.
2018-07-12 07:46:49 -07:00
Kristiyan Kostadinov c134026cdf fix: sanity checks throwing an error if scripts are set in the head (#12068)
Fixes the sanity checks throwing an error if they run too early and they're inserted before the `body`.

Fixes #12026.
2018-07-12 07:46:08 -07:00
Kristiyan Kostadinov 5c6f25e053 fix(bottom-sheet): close on page navigation (#12106)
Similarly to the dialog, closes the bottom sheet when the user navigates to another page. The behavior can be opted out of.
2018-07-12 07:45:27 -07:00
Paul Gschwendtner fcc887535b fix(selection-list): form control disable locks disabled property (#12113)
Fixes that the `setDisabledState` control value accessor hook updates the disabled state of each option individually. This causes the `MatSelectionList#disabled` property to no longer have any effect.

Fixes #12107
2018-07-12 07:44:45 -07:00
Kristiyan Kostadinov a248c18056 fix(overlay): account for virtual keyboard offset on mobile devices (#12119)
This is taking over from #11947. Fixes the connected overlay positioning being thrown off, if it is opened while an input is focused (e.g. when building an autocomplete component). The issue comes from the fact that the browser will offset the entire page in order to put the input in the middle and to make space for the virtual keyboard.

Fixes #6341.
2018-07-12 07:43:36 -07:00
Kristiyan Kostadinov 85b8f32205 fix(radio): circle not being greyed out when disabled (#12127)
Fixes the radio button circle not being greyed out when it is disabled. It seems like we had the styles in place already, however they were with a lower specificity than the other theme styles.

Fixes #12125.
2018-07-12 07:42:58 -07:00
Kristiyan Kostadinov 79bacf2019 fix(overlay): remove panelClass when the overlay is detached (#12142)
Removes the `panelClass` when the overlay is detached. This ensures that any overlay styling that targets the panel isn't left behind while the panel is detached.

Relates to #12099.
2018-07-12 07:42:06 -07:00
Kristiyan Kostadinov 04934b43e3 fix(form-field): clear safari autofill icons (#12137)
Similarly to how we clear the native IE icons, these changes clear Safari's autofill icons so they don't interfere with our own styling.
2018-07-12 07:41:31 -07:00
Paul Gschwendtner b5fd6ded8f fix(slide-toggle): no color demarcation in high contrast black mode (#12150)
* Fixes that there is no way to identify a checked slide-toggle in high contrast mode.
* Fixes that the slide-toggle bar is not visible in high-contrast mode white.
* Moves high contrast CSS to the end of the SCSS file in order to separate normal styles that are required for the slide-toggle from the high contrast custom CSS.
2018-07-12 07:40:45 -07:00
Kristiyan Kostadinov 623cd3d2fd fix(progress-spinner): circle not rendering correctly when switching modes in Safari (#12151)
Fixes the SVG `circle` element not rendering property when switching from `indeterminate` to `determinate` mode.

Fixes #12140.
2018-07-12 07:40:06 -07:00
Kristiyan Kostadinov eb6c456585 fix(sort): arrow indicator not visible in high contrast mode (#12159)
Fixes the sorting header indicator not being visible in high contrast mode.
2018-07-12 07:38:14 -07:00
Kristiyan Kostadinov 98b9ed14be fix(tabs): unable to distinguish disabled tab in high contrast mode (#12160)
Fixes disabled tabs being indistinguishable from enabled ones in high contrast mode.
2018-07-12 07:38:01 -07:00
Paul Gschwendtner afb0ee37eb chore: remove screenshot testing (#12155)
Removes the screenshot test tool since Angular Material is visually being tested inside of Google.
2018-07-11 08:24:21 -07:00
Jeremy Elbourn dc0732bc2c docs: update README for Q3 2018 (#12143)
Fixes #12088
2018-07-11 08:23:00 -07:00
Paul Gschwendtner c43b102118 chore: invalid jsdoc in focus-monitor (#12136) 2018-07-11 08:22:33 -07:00
Kristiyan Kostadinov a05aafead4 fix(drag-drop): add fallback if the placeholder transition doesn't complete (#12121)
Since a lot of functionality depends on the animation completing, these changes add a fallback for the case where there's a transition on the preview, but it doesn't complete for some reason (e.g. it being too short). Currently clicking rapidly on the drag handle can cause it to get stuck and not complete the drop sequence correctly.
2018-07-11 08:22:08 -07:00
heavybeard 2f9b51f18e chore: fix typo in karma config comment (#12111) 2018-07-11 08:21:49 -07:00
Paul Gschwendtner f315e3e7e6 build: fix random ngc resolve failures (#12103)
* Depending on the timing for building the assets and building the ESM output (kind of randomly), building the Material package will result in NGC failures. This happens when running the `material:build-no-bundles` task (e.g. unit testing; serving the dev-app) because the assets are built in parallel with the ESM output.
* Removes a duplicated function in the package-tools.
2018-07-11 08:21:04 -07:00
Paul Gschwendtner 309f830ccd build: enable fullTemplateTypeCheck in aot mode (#12100)
Enables `fullTemplateTypeCheck` in the aot demo app and e2e app.
2018-07-11 08:20:14 -07:00
Kristiyan Kostadinov 40ff3f9a5e build: make body scrollable element in demo (#12093)
Reworks the demo to make the `body` the scrollable element. Currently we have the `mat-sidenav-content` be scrollable which doesn't reflect the setup in most apps and makes it harder to test some cases, because of some things like the overlay backdrop blocking scrolling.
2018-07-11 08:19:43 -07:00
Paul Gschwendtner dd7421db6c docs: add example for ripple (#12063) 2018-07-11 08:19:27 -07:00
Jerry Orta 118344ef95 fix(schematic): parse5 v5.0.0 requires different parse options (#12028)
Fixes #12027
2018-07-11 08:19:06 -07:00
Paul Gschwendtner fdd70823cf build: fix small browser test coverage (#11970)
* No longer just runs the tests against the first browser of a test platform (travis, saucelabs, browserstack)
* Stability is more valuable than speed (runs sequentially on CI now)
* Update Saucelabs Connect
* Remove unused spec reporter
* Update from Edge 14 to Edge 17
* Fix pixel deviations in Edge 17
2018-07-11 08:18:32 -07:00
Kristiyan Kostadinov de107b7e23 feat(slider): support two-way binding for value (#12003)
Currently we support having a two-way binding via `ngModel`, but not through the `value` binding. These changes add support for a two-way binding on the `value`.
2018-07-11 08:13:35 -07:00
Kristiyan Kostadinov 57b066a0a2 fix(datepicker): set role on datepicker popup and aria-haspopup on the datepicker toggle (#12008)
Currently the datepicker in touch UI mode has `role="dialog"` which is inherited from `MatDialog`, however it doesn't have a role in popup mode. These changes add the proper role for the popup element, in addition to `aria-haspopup` which was missing from the datepicker toggle button.
2018-07-11 08:12:39 -07:00
Kristiyan Kostadinov 49119ed0b1 fix(progress-bar): query animation not working on safari (#12014)
Fixes the query animation not working on Safari. The issue comes from the fact that Safari won't resolve references correctly when the page has a `base` tag (which is required by `@angular/router`).
2018-07-11 08:11:39 -07:00
Kristiyan Kostadinov 947c29afcc fix(button): don't show hover overlay on devices that don't support hovering (#12030)
Fixes the hover overlay persisting on touch devices after tapping on a button.

Fixes #12022.
2018-07-11 08:10:51 -07:00
Paul Gschwendtner 6314d15353 fix(toolbar): deprecate unused landscape row-height variable (#12129)
* Deprecates the unused landscape row-height variable. The logic for this has been removed a long time ago, and the SCSS variable should be removed at some point.
* Makes the host bindings more clear by expanding the truthy and falsy check.
2018-07-11 08:10:37 -07:00