Commit Graph

1464 Commits

Author SHA1 Message Date
Jeremy Elbourn bd48f39b6c chore: add MdCommonModule for all components (#4208)
I will move the run-time sanity checks from CompatibilityModule to here
once #4178 is merged.
2017-04-27 11:07:48 -07:00
Jeremy Elbourn cb982707e1 fix: add camelCase selectors for cdk directives (#4054)
Some of the cdk directives used the incorrect selector style. This
change adds the proper camelCase selectors. The dash-case selectors will
be considered deprecated in the next release and then removed in a
subsequent release.
2017-04-27 11:06:40 -07:00
Kristiyan Kostadinov 16bba72f84 fix: allow users to disable the sanity checks (#4178)
Allows users to disable the Material sanity checks, by providing a value for the `MATERIAL_SANITY_CHECKS` token:

```ts
@NgModule({
  providers: [
    {provide: MATERIAL_SANITY_CHECKS, useValue: false}
  ]

  // other config
});

```

Fixes #4125.
2017-04-26 20:32:04 -07:00
Ed Pelc edcbc0ddfd chore(autocomplete): remove unused startWith import (#4288) 2017-04-26 20:28:17 -07:00
Jeremy Elbourn 5586864954 docs(getting-started): mention import order for BrowserModule (#4291)
Fixes #4278
2017-04-26 16:41:40 -07:00
Kristiyan Kostadinov 85bc3a6574 fix(dialog): close all dialogs on popstate/hashchange (#2742)
Closes all of the open dialogs when the user goes forwards/backwards in history.

Fixes #2601.
2017-04-25 16:43:08 -07:00
Paul Gschwendtner 115e901014 fix(ripple): explicit type for global ripple options (#4240)
Due to a bug (https://github.com/angular/angular/issues/12631#event-1001209999), specifiying a type for a injected provider didn't work in AOT mode.

This bug has been solved, but we still need to switch to a `interface` instead of a TypeScript `type`.
2017-04-25 16:42:40 -07:00
Paul Gschwendtner 9a2c4d6b71 fix(ripple): global ripple configuration on init (#4238)
* Currently when no bindings are set on the `mdRipple` target, the `ngOnChanges` will not fire and the `globalRippleOptions` will be ignored forever.

Fixes #4235
2017-04-25 16:42:10 -07:00
mmalerba 2db3d61e55 add e2e test that would have caught regression in #3878 (#4207) 2017-04-25 16:41:03 -07:00
Kristiyan Kostadinov ba6b9bb17a fix(menu): wrong icon margin in rtl (#4225)
Fixes the menu having a wrong margin for the icon in rtl due to the ltr margin not being reset.
2017-04-25 16:39:55 -07:00
Kristiyan Kostadinov d3210e729a fix(menu): incorrect panel max height (#4214)
Fixes the menu panel having a wrong `max-height` and uses a variables to reduce it, instead of a hardcoded value.

Relates to #2725.
2017-04-25 16:34:35 -07:00
Jeferson Estevo 6c31adb05f fix(input-container): New attribute hideRequiredMarker (#4237)
* fix(input-container): New attribute hideRequiredMarker to md-input-container

This attribute will enable the user to hide the required marker (star) fron an mdInput even when it's required

Fixes #3681

* fix(input-container): Checking if the input container placeholder has the '*' before applying the 'hideRequiredMarker' attribute on test. Removing extra leading space on hideRequiredMarker demo.
2017-04-25 16:32:59 -07:00
Ed Pelc 5e39091d43 docs(core/portal): fix TemplatePortalDirective spelling (#4273)
It was missing an `r`
2017-04-25 16:20:21 -07:00
Elad Bezalel 79306adabc feat(sidenav): open all sidenavs from MdSidenavContainer (#2870)
- added `open` and `close` functions that applies to both sidenavs in the container and resolves when both are finished

fixes #2591
2017-04-25 11:45:14 -07:00
tinayuangao fb7947f9ab fix screenshot directory (#4254) 2017-04-25 10:58:05 -07:00
Jason Yeomans 7428c49e10 feat(dialog): add hasBackdrop and backdropClass options to dialog config (#2822)
* feat(dialog): add hasBackdrop and backdropClass options to dialog config

Implement hasBackdrop as laid out in the MdDialog design document. Add backdropClass option to override default `cdk-overlay-dark-backdrop` class, allowing custom styling to be applied.

Closes #2806

* rebase master and fix conflicts
2017-04-25 10:48:21 -07:00
Paul Gschwendtner d19d43afb4 chore: remove vendor task (#4244)
* Removes the unused `vendorTask` utility function in the `task_helpers` file.
2017-04-25 10:03:56 -07:00
Aleš 4ff9fdabce copy "Got a Question or Problem?" from angular/angular (#4230)
* Update CONTRIBUTING.md

* better tag

* Update CONTRIBUTING.md
2017-04-25 10:03:37 -07:00
Austin Green 4bdceed970 fix(slider): correct typo in MdSliderChange description (#4216) (#4217) 2017-04-25 10:03:04 -07:00
Paul Gschwendtner 2b8f753028 build: use shared logic to build packages (#4202)
* build: use shared logic to build packages

* No longer creates the whole set of gulp tasks just to build a single package.
* Makes the package building & releasing more consistent. No extra `build:release` just for the `lib` package.

References #4108

* Address feedback
2017-04-25 09:50:47 -07:00
Kara 14b330eecd refactor(option): update to new renderer (#4243) 2017-04-24 11:59:29 -07:00
Kara bfdef8e9bb Revert "fix(slide-toggle): invalid model change event (#4140)" (#4218)
This reverts commit 317952a18d.
2017-04-22 14:22:22 -07:00
Kristiyan Kostadinov 66e65c48f1 feat(select): add ability to cycle through options with arrow keys when closed (#3313)
Fixes #2990.
2017-04-21 17:08:19 -07:00
Kyle Burke 5e7af26847 fix(card): update color property to use theme's text color. (#3952) 2017-04-21 16:04:45 -07:00
Paul Gschwendtner e82d0f1c01 fix(slide-toggle): remove unused mousedown listener (#4184) 2017-04-21 16:03:36 -07:00
Kristiyan Kostadinov 29968b8a6b fix(dialog): capture previously focused element immediately (#3875) 2017-04-21 16:03:08 -07:00
Kristiyan Kostadinov 355f8b7092 fix(theming): fix broken sass expressions nested in theme classes (#4145)
Fixes #4077.
2017-04-21 15:46:25 -07:00
Kristiyan Kostadinov e10bb18404 fix(select): prevent the panel from going outside the viewport horizontally (#3864)
Fixes #3504.
Fixes #3831.
2017-04-21 15:34:33 -07:00
Kristiyan Kostadinov 5983a2b4ac fix(select): reposition panel on scroll (#3808) 2017-04-21 15:03:18 -07:00
Paul Gschwendtner 317952a18d fix(slide-toggle): invalid model change event (#4140)
Fixes #4124.
2017-04-21 14:59:55 -07:00
mmalerba fb1fabce2d fix(input): add back pointer-events none removed in #3878 (#4206) 2017-04-21 14:54:00 -07:00
Kristiyan Kostadinov 7942948f0b fix(tabs): re-align the ink bar when the viewport size changes (#3877)
Fixes #3845.
Fixes #3044.
Fixes #2518.
Fixes #1231.
2017-04-21 14:49:33 -07:00
Kristiyan Kostadinov fe0bfe766f build: disallow uses of the "initial" value (#4204) 2017-04-21 14:48:32 -07:00
Kristiyan Kostadinov d1128febe6 fix(dialog): provide default value for MD_DIALOG_DATA token (#4120)
Fixes #4086.
2017-04-21 14:39:39 -07:00
Kristiyan Kostadinov 29caaf3ea0 refactor: remove @output privatization (#4199)
Fixes #4188.
2017-04-21 14:36:57 -07:00
Jeremy Elbourn e7326eece8 chore: add a mixin for disabled and apply it to md-button (#3944) 2017-04-21 09:43:20 -07:00
Pranav Sathyanarayanan 4ea098b911 test(snack-bar): fix extra single quote in snack-bar unit test (#4166) 2017-04-21 09:41:52 -07:00
Josh Hall 229dc5e1c6 docs(theming): fix inconsistent theme variables (#4195) 2017-04-21 09:41:12 -07:00
Kristiyan Kostadinov 0b9b582071 fix(input): single-line hints overflowing the parent (#4107)
Fixes #4051
2017-04-21 09:40:21 -07:00
Will Howell a2000246f5 feat(card): allow md-card-title and subtitle to be used as attributes (#4122) 2017-04-21 09:37:36 -07:00
Kristiyan Kostadinov 7de316f2aa feat: add initial sass typography API (#4162) 2017-04-21 09:34:32 -07:00
Paul Gschwendtner 7f0f473bd4 feat(list): option to disable ripples for all items (#4159)
Fixes #4149.
2017-04-21 09:33:21 -07:00
Paul Gschwendtner b846a2740a feat(progress-spinner): add support for custom stroke-width (#4113)
Fixes #3934
2017-04-21 09:23:37 -07:00
Kristiyan Kostadinov 3a29d671d2 feat(select): allow setting the theme color (#3928)
Fixes #3923.
2017-04-21 09:21:59 -07:00
Kristiyan Kostadinov 94a2855d45 feat(select): close the panel when pressing escape (#3879) 2017-04-21 09:21:08 -07:00
Kristiyan Kostadinov 81a6f8dbd8 fix(autocomplete): reposition panel on scroll (#3745) 2017-04-21 09:14:19 -07:00
Jeremy Elbourn 76faae5f37 chore: add @__PURE__ annotation to ES5 output for uglify (#4147) 2017-04-20 18:57:21 -07:00
jrood 380b390568 docs(tabs): fixed tab group selectIndexChange description (#4105) 2017-04-20 18:53:10 -07:00
Josh Hall 740381cce1 docs: Show directive selector in generated API docs (#4139)
Fixes #3983
2017-04-20 18:46:08 -07:00
Paul Gschwendtner 7c81698e17 build: dedupe theming scss bundle (#4174)
Fixes #3931
2017-04-20 18:45:01 -07:00