Commit Graph

1784 Commits

Author SHA1 Message Date
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
Paul Gschwendtner 39f22c2aa2 build: remove duplicate licenses in bundles (#5195)
* No longer includes the license comments from every source file in the different FESM and UMD bundles.
* Build packages are now emitted with explicit `LF` line endings instead of platform dependent line endings.
2017-06-19 09:30:52 -07:00
Paul Gschwendtner b456eed0b7 build: keep license comment in minified umd (#5196)
* The `preserveComments` option from the old uglify gulp plugin is not valid for the programmatic API. Setting the `comments` option `some` means that license commens will be preserved.
2017-06-19 09:30:37 -07:00
Paul Gschwendtner 135c1df62e build: firebase integration for dashboard (#5182)
* build: firebase integration for dashboard

* As part of the initial dashboard setup, this installs Angular Fire and Angular Material in the dashboard.
* For testing purposes the list of all payload results will be printed right now.

* Address feedback
2017-06-19 09:30:17 -07:00
Paul Gschwendtner 746495a222 build: update sauce connect version (#5179)
* Updates the version of Sauce Connect to avoid potential flakes within the Saucelabs tunnels
* Fixes the invalid path for the `deploy-dashboard` script that runs in the deploy build stage
2017-06-19 09:30:01 -07:00
Paul Gschwendtner 0aaeb697a3 chore(input): remove align input binding (#5141)
BREAKING CHANGE: The `align` input from the `<md-input-container>` component has been removed. Developers instead should use plain CSS to achieve the same effect (using `text-align: end` for example).

Fixes #5140.
2017-06-16 15:53:08 -07:00
Jeremy Elbourn fdd53752ba docs(sidenav): fix sidenav module not being imported for examples (#5177) 2017-06-16 14:56:29 -07:00
Jeremy Elbourn 279983b97b docs(autocomplete): add missing @docs-private (#5174) 2017-06-16 14:06:04 -07:00
Paul Gschwendtner 0206d6fca2 refactor: replace disabled getters/setters with mixin (#5137) 2017-06-16 12:28:23 -07:00
Kristiyan Kostadinov 8860090cea fix(datepicker): restore focus to trigger element (#4804) 2017-06-16 11:58:23 -07:00
Jeremy Elbourn 223b237741 fix(tabs): remove inconsistent mdTabNav selector (#5170) 2017-06-16 11:20:40 -07:00
Paul Gschwendtner 9945ed75b4 build: move packaging out of gulp folder (#5063) 2017-06-16 10:58:34 -07:00
Andrew Seguin e55ec78df9 feat(data-table): allow dynamic data source (#5093) 2017-06-16 10:56:18 -07:00
Jeremy Elbourn b7e9e96ac7 chore: mention caretaker in code_reviews doc (#5169) 2017-06-16 10:54:57 -07:00