Commit Graph

1062 Commits

Author SHA1 Message Date
Paul Gschwendtner 67032ca917 fix(toolbar): add toolbar role to host element (#2914)
* Add the toolbar `role` attribute to the host element to have proper accessibility support.

Fixes #2909
2017-02-06 14:59:14 -08:00
Paul Gschwendtner 46edc235d7 chore: bump dev dependencies (#2890)
* Updates some outdated dependencies in the material2-srcs package.
2017-02-06 14:58:22 -08:00
Kristiyan Kostadinov 29cbe61296 feat(dialog): add a config option for passing in data (#2266)
* feat(dialog): add a config option for passing in data

Adds the ability to pass in data to a dialog via the `data` property. While this was previously possible through the `dialogRef.componentInstance.someUserSuppliedProperty`, it wasn't the most intuitive. The new approach looks like this:

```
dialog.open(SomeDialog, {
  data: {
    hello: 'world'
  }
});

class SometDialog {
  constructor(data: MdDialogData) {
    console.log(data['hello']);
  }
}
```

Fixes #2181.

* Switch to using an OpaqueToken.

* chore: fix aot errors
2017-02-06 14:57:59 -08:00
Paul Gschwendtner e5ca565a5f chore: add safari10 to browser-providers (#2873)
* This adds Safari v10 (from Saucelabs) to the browser-providers and marks it as an optional run in the CI.

As requested in https://github.com/angular/material2/pull/2823
2017-02-06 12:04:57 -08:00
Paul Gschwendtner 67995d6f4a chore: update saucelabs tunnel binaries (#2891)
* Updates the saucelabs tunnel binaries to fix CI flakiness for unit tests and protractor.
   From what we experience, older versions of Saucelabs tend to cause flakiness immediately (See `master` branch)
2017-02-06 11:57:21 -08:00
Raven Avalon ba12f440c1 feat(scripts): push generated docs to material assets repo (#2720) 2017-02-06 11:56:54 -08:00
tinayuangao 2f10a95fc7 fix(radio): change radio button trigger element to input element (#2838) 2017-02-05 16:29:27 -08:00
mmalerba 62189a3916 fix(input): fix chrome 56 warning (#2906) 2017-02-05 16:27:09 -08:00
Andrew Seguin 8d900e0b3d docs(getting-started): revise references to cli
Official name of cli is Angular CLI and the npm package is now @angular/cli
2017-02-03 16:39:35 -08:00
Paul Gschwendtner 4d3344905c fix(sidenav): animate content resizing for side mode. (#2486) 2017-02-03 16:18:47 -08:00
mmalerba 8a6d9022e0 feat(style): add directive to determine how elements were focused. (#2646) 2017-02-03 16:11:37 -08:00
Kara 2f0dad1625 chore(autocomplete): fix docs naming (#2927) 2017-02-03 15:38:52 -08:00
Kara b905130aab chore(): fix travis tests (#2925) 2017-02-03 15:30:56 -08:00
Kara eec4dc60db fix(autocomplete): placeholder should float while panel is open (#2730) 2017-02-03 15:30:56 -08:00
Kara 18969f4698 fix(autocomplete): double-clicking input shouldnt close the panel (#2835) 2017-02-03 15:30:56 -08:00
Kara 8a3b6fd157 fix(autocomplete): close panel when options list is empty (#2834) 2017-02-03 15:30:56 -08:00
Kara a3a2ec45bc docs(autocomplete): add autocomplete docs (#2840) 2017-02-03 15:30:56 -08:00
Kara 55e1847455 feat(autocomplete): allow use of obj values (#2792) 2017-02-03 15:30:56 -08:00
Kara fd5e4d9b9f fix(autocomplete): up arrow should set last item active (#2776) 2017-02-03 15:30:56 -08:00
Kara 6c8460388a fix(autocomplete): scroll options below fold into view (#2728) 2017-02-03 15:30:56 -08:00
Kara 8fc77069f8 feat(autocomplete): add fallback positions (#2726) 2017-02-03 15:30:56 -08:00
Kara bd7f2400bd feat(autocomplete): add screenreader support (#2729) 2017-02-03 15:30:56 -08:00
Kara fcea9d4c2d feat(autocomplete): add keyboard events to autocomplete (#2723) 2017-02-03 15:30:56 -08:00
Jeremy Elbourn f8c8e7f28d chore(button-toggle): add mat- prefix (#2826) 2017-02-02 16:54:59 -08:00
Paul Gschwendtner 7ac29f8afa fix(checkbox): ripple color does not change (#2857) 2017-02-02 16:54:30 -08:00
Paul Gschwendtner fb0cf8a277 feat(input): option to imperatively float placeholder (#2585)
Closes #2466
2017-02-02 16:53:33 -08:00
Natalie Coley 4ed259a702 docs(readme): add link to readme for material2 select (#2833) 2017-02-02 16:42:01 -08:00
Andrew Seguin a56a682614 docs: add extra line to work better on other docs interpreters (#2895) 2017-02-02 13:59:15 -08:00
Kristiyan Kostadinov 89351eba06 chore: include web animations polyfill in demo app (#2848) 2017-02-02 13:58:18 -08:00
mmalerba 7f50d11d95 fix(slider): fire change event on value change via keyboard. (#2807) 2017-02-02 13:47:01 -08:00
Paul Gschwendtner 453fa7fb23 fix(overlay): disable pointer events if overlay is detached (#2747)
Fixes #2739
2017-02-02 13:45:50 -08:00
Raven Avalon f63eb43cb6 chore: move examples in from docs site repo (#2781) 2017-02-02 13:43:36 -08:00
Kristiyan Kostadinov e783494a41 feat(snack-bar): allow addition of extra css classes (#2804)
Fixes #2664.
2017-01-31 21:27:07 -08:00
Paul Gschwendtner 68a0c9044e feat(slide-toggle): add support for labelPosition (#2836)
Closes #2820
2017-01-31 19:22:52 -08:00
Kristiyan Kostadinov f899b5f0b2 fix(input): hints not being read out by screen readers (#2856)
Fixes #2798.
2017-01-31 19:21:14 -08:00
Paul Gschwendtner d11673adec fix: apply font-family to text components (#2821) 2017-01-31 19:19:28 -08:00
Kristiyan Kostadinov 153fcd3667 fix(dialog): prevent error when restoring focus on IE (#2771)
Fixes #2760.
2017-01-31 19:12:56 -08:00
Paul Gschwendtner 60f03ed7dd fix(docs): properly create links in guide files (#2770) 2017-01-31 15:10:53 -08:00
Thomas Pink 632b964b0d fix(tooltip): not working properly with ChangeDetectionStrategy.OnPush (#2721)
Fixes #2713
2017-01-31 14:28:26 -08:00
Weston Pace 08e9d70414 fix(icon): add caching of md-icon aria-label (#2649)
Closes #2642
2017-01-30 16:11:47 -08:00
Joe ad0df31670 fix(card): fix padding for md-card-actions in xs screens (#2567) 2017-01-30 16:10:45 -08:00
Paul Gschwendtner d0c8f182d1 feat(viewport-ruler): cache document client rect (#2538) 2017-01-30 16:08:06 -08:00
Jon Walsh 1b448805cd fix(toolbar): correct font-weight (#2485) 2017-01-30 15:58:55 -08:00
Raven Avalon 09591cf123 docs: Rename and update overview and readme files (#2614) 2017-01-30 13:31:16 -08:00
Kristiyan Kostadinov 987897c88a fix(slider): round decimals in the thumb label (#2527)
Fixes #2511
2017-01-30 13:23:58 -08:00
Paul Gschwendtner d445007d53 build: simplify karma configuration (#2823) 2017-01-30 12:11:02 -08:00
Paul Gschwendtner 4a4261e141 build: use typescript cli for compilation (#2802) 2017-01-30 12:08:59 -08:00
Kristiyan Kostadinov 3b6cab01c7 feat: add simplified checkbox component for usage in other components (#2619)
* feat: add simplified checkbox component for usage in other components

Adds the `md-pseudo-checkbox`, which is a simplified version of `md-checkbox`, that doesn't have the expensive SVG animations or the form control logic. This will be useful for multiple selection in `md-select`, as well as other components in the future.

Relates to #2412.

* Remove unnecessary template.

* Fix linter error.

* Address PR feedback.

* Trailing comma.
2017-01-26 16:55:17 -08:00
Elad Bezalel 408c58d569 style(branding): branding consistency fixup (#2805)
fixes #2803
2017-01-26 15:35:39 -08:00
Jeremy Elbourn dd1f0fc040 chore(portal): remove obsolete code for Angular < 2.3 (#2791) 2017-01-26 15:33:40 -08:00