From 738b6be98b053e8c3d7aa212094c5158b5685701 Mon Sep 17 00:00:00 2001 From: Amit Portnoy Date: Tue, 11 Jul 2017 20:02:55 +0300 Subject: [PATCH] fix(tabs): add module dependency on MdCommonModule (#5304) MdTabsModule **implicitly** depended on MdCommonModule Specifically, for rtl animations. see http://plnkr.co/edit/fBLGThvy7C0G666p56xn?p=preview. --- src/lib/tabs/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/tabs/index.ts b/src/lib/tabs/index.ts index 5af2d477271..82b9ca88916 100644 --- a/src/lib/tabs/index.ts +++ b/src/lib/tabs/index.ts @@ -8,6 +8,7 @@ import {NgModule} from '@angular/core'; import {CommonModule} from '@angular/common'; +import {MdCommonModule} from '../core'; import {ObserveContentModule} from '@angular/cdk'; import {PortalModule} from '../core'; import {MdRippleModule} from '../core/ripple/index'; @@ -26,6 +27,7 @@ import {ScrollDispatchModule} from '../core/overlay/scroll/index'; @NgModule({ imports: [ CommonModule, + MdCommonModule, PortalModule, MdRippleModule, ObserveContentModule, @@ -33,6 +35,7 @@ import {ScrollDispatchModule} from '../core/overlay/scroll/index'; ], // Don't export all components because some are only to be used internally. exports: [ + MdCommonModule, MdTabGroup, MdTabLabel, MdTab,