From 46e833713c9cb4dfd1f7be5500cf3bc7bcdcbc88 Mon Sep 17 00:00:00 2001 From: mertdeg2 Date: Thu, 16 Mar 2017 16:15:17 -0700 Subject: [PATCH 1/2] Export RIPPLE_FADE_IN_DURATION so that material users can import it in their unit tests --- src/lib/core/ripple/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/core/ripple/index.ts b/src/lib/core/ripple/index.ts index 7058ac5784e8..c5d153d5e857 100644 --- a/src/lib/core/ripple/index.ts +++ b/src/lib/core/ripple/index.ts @@ -6,7 +6,7 @@ import {SCROLL_DISPATCHER_PROVIDER} from '../overlay/scroll/scroll-dispatcher'; export {MdRipple, RippleGlobalOptions, MD_RIPPLE_GLOBAL_OPTIONS} from './ripple'; export {RippleRef, RippleState} from './ripple-ref'; -export {RippleConfig} from './ripple-renderer'; +export {RippleConfig, RIPPLE_FADE_IN_DURATION} from './ripple-renderer'; @NgModule({ imports: [CompatibilityModule], From 2f53d772875ba1bef0610c8902c948c0d02b981f Mon Sep 17 00:00:00 2001 From: mertdeg2 Date: Fri, 17 Mar 2017 08:46:55 -0700 Subject: [PATCH 2/2] Also export RIPPLE_FADE_OUT_DURATION per feedback --- src/lib/core/ripple/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/core/ripple/index.ts b/src/lib/core/ripple/index.ts index c5d153d5e857..21b95a95734d 100644 --- a/src/lib/core/ripple/index.ts +++ b/src/lib/core/ripple/index.ts @@ -6,7 +6,7 @@ import {SCROLL_DISPATCHER_PROVIDER} from '../overlay/scroll/scroll-dispatcher'; export {MdRipple, RippleGlobalOptions, MD_RIPPLE_GLOBAL_OPTIONS} from './ripple'; export {RippleRef, RippleState} from './ripple-ref'; -export {RippleConfig, RIPPLE_FADE_IN_DURATION} from './ripple-renderer'; +export {RippleConfig, RIPPLE_FADE_IN_DURATION, RIPPLE_FADE_OUT_DURATION} from './ripple-renderer'; @NgModule({ imports: [CompatibilityModule],