Commit Graph

1797 Commits

Author SHA1 Message Date
Paul Gschwendtner f35f02676c chore: initial chart for dashboard (#5360)
* Adds the initial chart for the payloads inside of the dashboard.
2017-06-27 16:08:56 -07:00
Kristiyan Kostadinov 38b365c21f build: add stylelint rule to prevent nested mixins (#5354)
Adds a Stylelint rule that will prevent uses of nested mixins. This will help prevent issues like #5232 in the future.
2017-06-25 08:18:18 -07:00
Paul Gschwendtner 6dcacd271a chore: fix paginator example not added to module (#5345)
* The PaginatorConfigurableExample is not added to the examples module and therefore using the latest docs-content inside of `material.angular.io` does not work.
2017-06-24 06:26:37 -07:00
Kristiyan Kostadinov f89261eea6 build: add lint rule to prevent rxjs patch imports (#5344)
Adds a rule that will ensure that we don't use patch imports in the library and cdk files.
2017-06-24 05:45:44 -07:00
Jeremy Elbourn 6e0b848486 chore: fix data table demo after rxjx add operator removal (#5341) 2017-06-23 15:00:56 -07:00
Kristiyan Kostadinov e488e3fa24 feat: remove uses of rxjs patch operators (#5314)
Refactors the entire codebase not to use the patch operators from RxJS, because they pollute the user's setup. Instead, opts into importing the operators directly and chaining them via the `RxChain` class.

Fixes #2622.
2017-06-23 13:32:24 -07:00
Sven Reglitzki 146160c4ea fix(snackbar): clear timeout upon dismiss (#4860) 2017-06-23 13:22:38 -07:00
Jeremy Elbourn 06070ae41f chore: fix broken test build caused by merge conflict (#5339) 2017-06-23 13:16:43 -07:00
Jeremy Elbourn 8c9c11a4b0 fix(autosize): resize when form value changes. Fixes #4657 (#5315) 2017-06-23 13:01:25 -07:00
Kristiyan Kostadinov 2361385dfc fix(select): page scrolling down when selecting option with space (#5192)
Fixes the page being scrolled down if the user presses space to select an option. This is a regression since it used to be handled by the `ListKeyManager`, but it got lost when it was refactored not to disable the default actions.
2017-06-23 12:58:35 -07:00
Paul Gschwendtner fc809ede4b feat(tab-nav-bar): support disabling tab links (#5257)
Adds support for disabling tab links inside of the tab-nav-bar
No longer requires having an extra directive for the ripples of tab links (no exposion of attributes like `mdRippleColor` - which could be flexible but should not be public API here)

Closes #5208
2017-06-23 12:57:55 -07:00
Paul Gschwendtner 84746718fd build: replace cdk version placeholder for build artifacts (#5330)
* Currently the `0.0.0-PLACEHOLDER` is still inside of the `package.json` of the material2-builds. Similar as for every other Angular package the version placeholder should be replaced with the version of the current "build commit".

Closes #5320
2017-06-23 12:40:37 -07:00
Paul Gschwendtner 7beb08b820 docs: explain that material2-builds needs cdk-builds (#5331)
* Recently the coercing has been moved to the cdk package and now the `material2-builds` repository has a peer dependency on the `cdk-builds`. The readme should be updated to also include the `cdk-builds` installation.
2017-06-23 12:38:32 -07:00
Andrew Seguin 85fb00a151 feat(pagination): initial pagination component (#5156) 2017-06-23 11:51:39 -07:00
Kristiyan Kostadinov 7b2d4ae601 fix(select): expose focus method (#5255)
Exposes the `focus` method from `md-select` for consistency with `md-input-container`.

Fixes #5251.
2017-06-23 11:17:21 -07:00
Andrew Seguin c81e6088d1 feat(data-table): add trackby (#5097) 2017-06-23 08:59:56 -07:00
Paul Gschwendtner d84998be3d refactor: make mixin base classes docs private (#5301)
* The base classes that are used to apply mixins should not be show up in the generated docs
2017-06-23 08:58:14 -07:00
Jeremy Elbourn d0655ecd94 chore: update readme for Q3 2017 (#5319) 2017-06-23 08:57:46 -07:00
Andrew Seguin d75720b4a3 chore(test): fix menu and select for strict null check (#5316) 2017-06-22 16:37:42 -07:00
Kristiyan Kostadinov 8b6efb12e8 fix(datepicker): pass layout direction to touchUi dialog (#5052)
Passes the datepicker trigger's direction to the dialog in `touchUi` mode. This was already being done for the datepicker in popup mode.
2017-06-22 15:44:44 -07:00
tinayuangao 3d8c8333cf fix(button-toggle): fix standalone button toggle style (#5121) 2017-06-22 15:43:01 -07:00
Kristiyan Kostadinov d39cb12929 fix(select): align first option to trigger when it is inside a group (#5153)
Previously, if a select had no value and the first option was in a group, the group label would go over the trigger, instead of the first option. These changes correct the behavior so the first option is always over the trigger.
2017-06-22 15:41:52 -07:00
Adam Netočný f9bbbe7952 fix(unique-selection-dispatcher): remove listeners on destroy (#5164) 2017-06-22 15:38:25 -07:00
Kristiyan Kostadinov 2239668a3a fix(menu): role being set on the wrong element (#5191)
Currently, the `menu` role is set on the `md-menu` directive, however the it is inert and won't get rendered inside the overlay. These changes remove the `menu` role from the inert element and set it on the element that will get rendered inside the overlay.
2017-06-22 15:37:08 -07:00
Andrew Seguin 51ecc18b50 feat(data-table): add row context (#5219) 2017-06-22 15:34:58 -07:00
Kristiyan Kostadinov 37efb5429f fix(input): theming mixin error (#5254)
* Fixes an error in the input theming mixin that was caused by a nested mixin.
* Removes the `mat-input-` prefix from the mixin local variables since they're not exposed and don't need to be prefixed.

Fixes #5232.
2017-06-22 15:33:27 -07:00
Kristiyan Kostadinov 1dcaca7b5d fix(autocomplete): not closing when tapping away on mobile (#5260)
Currently the autocomplete panel won't close when tapping away on iOS, because the browser doesn't fire the click event on anything that it doesn't consider clickable. These changes add a `touchend` listener that will handle the functionality on mobile.
2017-06-22 15:32:01 -07:00
Kristiyan Kostadinov 8feddd40a9 fix(overlay): remove webkit tap highlight from backdrop (#5258)
Removes the native Webkit tap highlight from the overlay backdrop. This prevents a dark tint from being added when tapping away from an overlay.
2017-06-22 15:29:52 -07:00
Paul Gschwendtner 5a38a9f9cc refactor(button, chips): use toString method for aria-disabled (#5278)
For buttons and chips the value of the aria-disabled host binding is resolved from a extra method on the class instance.

As already done in other components, the button and chips should just use `boolean.toString()` which is less payload and also makes the code more readable.
2017-06-22 15:29:03 -07:00
Paul Gschwendtner 5c9391df74 fix(input): underline showing at end if text-align is set (#5280)
Recently the `align` input binding has been removed in favor of the CSS property `text-align`.

If a developer sets the `text-align` property to `end` the text will start from the end and also the input underline will show incorrectly start from the end.

Setting the absolute positioned underline to `left: 0` ensures that the underline always shows-up correctly (because the `mat-input-underline` is inside of a relative container)

Fixes #5272
2017-06-22 15:28:21 -07:00
mmalerba 51bf26eeac fix(datepicker): use theme foreground color (#5290) 2017-06-22 15:23:18 -07:00
Paul Gschwendtner 17cc4a198f chore: move coercing to cdk package (#5025) 2017-06-22 13:54:51 -07:00
Kristiyan Kostadinov fe3121024c fix(autocomplete): reopening when clicking an option in IE (#5172)
Fixes an issue that caused IE to reopen the autocomplete panel if the user clicks to select an item. It seems that IE can delay refocusing the input after the panel has been closed, which causes the focus handler to reopen it.

Fixes #5165.
2017-06-22 10:10:01 -07:00
Kristiyan Kostadinov bdf028646f chore: fix error when searching for special characters in the autocomplete demo (#5213)
Fixes regex special characters causing the autocomplete in the demo app to throw.

Relates to #3373.
2017-06-22 09:53:24 -07:00
Paul Gschwendtner 0ea2533b80 chore(demo-app): fix tabs being unrecognizable in dark theme (#5214)
* The tabs demo is the only demo that still overwrites the associated component with CSS that makes it not testable in dark themes (through the dark theme switcher)
* This commit replaces those CSS selectors with CSS that works in dark themes too
2017-06-22 09:51:59 -07:00
Paul Gschwendtner 9acb152bce build: print logs if tunnel times out (#5279)
* The logfile output should be printed if the tunnel connection can't be established. The logging is also useful to see the update message from Saucelabs for example.
2017-06-21 18:17:10 -07:00
Will Howell 3dee9bee1e docs(tabs): add description for dynamicHeight (#5275) 2017-06-21 18:16:50 -07:00
Philip Sultanescu 96a7c13446 chore(demo): list images not found (#5242)
Change path https://angular.io/resources/images/… to https://angular.io/generated/images/…
2017-06-21 18:16:01 -07:00
Kristiyan Kostadinov 2bf7024527 feat: add support for strict null checks (#5094) 2017-06-21 10:13:52 -07:00
Kristiyan Kostadinov 49dfe60387 fix(directionality): error on platform-server (#5234) 2017-06-20 15:42:56 -07:00
Paul Gschwendtner 1a03ee15b3 build: properly fail prerender task (#5235)
* The prerender script that runs on the CI did not exit with a proper error-code when the `renderModuleFactory` failed due to errors like in #5233
2017-06-20 11:33:54 -07:00
Austin a2a25bead0 docs(input): add overview examples for input (#5228) 2017-06-19 18:33:20 -07:00
Paul Gschwendtner dbdc6ab060 refactor: remove unused temporary ripple mixin (#5198)
* Removes the `mat-temporary-ink-ripple` mixin from the ripple stylesheet. All components that currently have ripples switched to the ripple component and therefore don't use this mixin.
2017-06-19 17:49:26 -07:00
Kristiyan Kostadinov b5bf6f59a9 fix(select): md-optgroup not using typography styles (#5193)
Resolves a TODO from a while ago to set up the `md-optgroup` to use the typography API. This wasn't done initially since the typography PR and the option group PR got in around the same time.
2017-06-19 17:48:59 -07:00
Kristiyan Kostadinov 138abf86dc chore: move OverlayModule and related providers into index file (#5183)
Moves the `OverlayModule` and the `OVERLAY_PROVIDERS` into the `index.ts`, as opposed to the `overlay-directives.ts`, in order to match the setup in the rest of the modules.
2017-06-19 17:48:04 -07:00
Kristiyan Kostadinov aee984a5e5 fix(dialog): set aria-labelledby based on the md-dialog-title (#5178)
* [Based on the accessibility guidelines](https://www.w3.org/TR/wai-aria-practices-1.1/#dialog_modal), these changes add the `aria-labelledby` to dialog that use `md-dialog-title`, which causes the screen reader to read out the title. E.g. before NVDA would read out "Dialog", but now it reads out "Neptune dialog".
2017-06-19 17:31:12 -07:00
Elad Bezalel 61d979e66e feat(directionality): a provider to get directionality (#4044)
- Looks at the `html` and `body` elements for `dir` attribute and sets the Directionality service value to it
- Whenever someone would try to inject Directionality - if there's a Dir directive up the dom tree it would be provided

fixes #3600
2017-06-19 16:30:41 -07:00
Jeremy Elbourn c220bb5260 chore: bump version to beta.7 with changelog (#5223) 2017-06-19 14:40:55 -07:00
Kristiyan Kostadinov 51d1794291 docs: add a typography guide (#5197) 2017-06-19 12:22:37 -07:00
Paul Gschwendtner 665e667e2d build: payload task fails if functions are down (#5217)
It can happen that the firebase `payloadGithubStatus` function is temporary disabled because a deploy failed (for example due to deploying while function executes).
This leads to a failure inside of the payload CI task because the task is trying to parse the body using JSON (which is not always a JSON response)

It's not worth trying to parse the JSON value since it's only used for debugging and to give an insight what's going on in the functions.
2017-06-19 11:48:47 -07:00