From 8f0aaeae050c4b7f1ff39d8230208261864d1f71 Mon Sep 17 00:00:00 2001 From: tinayuangao Date: Thu, 20 Oct 2016 15:36:11 -0700 Subject: [PATCH] Revert "feature(radio): Add ripple effect for radio buttons" (#1552) --- src/lib/radio/README.md | 1 - src/lib/radio/_radio-theme.scss | 3 ++- src/lib/radio/radio.html | 6 +----- src/lib/radio/radio.scss | 11 +---------- src/lib/radio/radio.spec.ts | 25 ++++++------------------- src/lib/radio/radio.ts | 18 +----------------- 6 files changed, 11 insertions(+), 53 deletions(-) diff --git a/src/lib/radio/README.md b/src/lib/radio/README.md index 1caf6e182c3..7c30a1f812a 100644 --- a/src/lib/radio/README.md +++ b/src/lib/radio/README.md @@ -57,7 +57,6 @@ The `md-radio-group` component has no button initially selected. | `aria-label` | `string` | Used to set the `aria-label` attribute of the underlying input element. | | `aria-labelledby` | `string` | Used to set the `aria-labelledby` attribute of the underlying input element. If provided, this attribute takes precedence as the element's text alternative. | -| `disableRipple` | boolean | Whether the ripple effect when the radio button is clicked should be disabled When checked, an event is emitted from the `change` EventEmitter property. diff --git a/src/lib/radio/_radio-theme.scss b/src/lib/radio/_radio-theme.scss index e978c9b58fd..a6e2229a7a2 100644 --- a/src/lib/radio/_radio-theme.scss +++ b/src/lib/radio/_radio-theme.scss @@ -29,7 +29,8 @@ } } - .md-radio-focused .md-radio-ripple .md-ripple-foreground { + // TODO(jelbourn): remove style for temporary ripple once the real ripple is applied. + .md-radio-focused .md-ink-ripple { background-color: md-color($accent, 0.26); } } diff --git a/src/lib/radio/radio.html b/src/lib/radio/radio.html index aca2d17d5a9..aa0c80a4657 100644 --- a/src/lib/radio/radio.html +++ b/src/lib/radio/radio.html @@ -1,15 +1,11 @@