From ec789b019897cc911c573fe31ff3d87478a1b8c7 Mon Sep 17 00:00:00 2001 From: Joey Perrott Date: Wed, 26 Feb 2020 08:43:22 -0800 Subject: [PATCH] =?UTF-8?q?fix(animations):=20Remove=20=C9=B5AnimationDriv?= =?UTF-8?q?er=20from=20private=20exports=20(#35690)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ɵAnimationDriver can be safely removed from private exports as AnimationDriver is already a public export. Since its already available, we can safely remove its declaration and migrate its only usage in our repo to rely on the public AnimationDriver symbol. PR Close #35690 --- packages/animations/browser/src/private_export.ts | 2 +- .../animations/browser/testing/src/mock_animation_driver.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/animations/browser/src/private_export.ts b/packages/animations/browser/src/private_export.ts index 697fd889eb..bcce822afc 100644 --- a/packages/animations/browser/src/private_export.ts +++ b/packages/animations/browser/src/private_export.ts @@ -8,7 +8,7 @@ export {Animation as ɵAnimation} from './dsl/animation'; export {AnimationStyleNormalizer as ɵAnimationStyleNormalizer, NoopAnimationStyleNormalizer as ɵNoopAnimationStyleNormalizer} from './dsl/style_normalization/animation_style_normalizer'; export {WebAnimationsStyleNormalizer as ɵWebAnimationsStyleNormalizer} from './dsl/style_normalization/web_animations_style_normalizer'; -export {AnimationDriver as ɵAnimationDriver, NoopAnimationDriver as ɵNoopAnimationDriver} from './render/animation_driver'; +export {NoopAnimationDriver as ɵNoopAnimationDriver} from './render/animation_driver'; export {AnimationEngine as ɵAnimationEngine} from './render/animation_engine_next'; export {CssKeyframesDriver as ɵCssKeyframesDriver} from './render/css_keyframes/css_keyframes_driver'; export {CssKeyframesPlayer as ɵCssKeyframesPlayer} from './render/css_keyframes/css_keyframes_player'; diff --git a/packages/animations/browser/testing/src/mock_animation_driver.ts b/packages/animations/browser/testing/src/mock_animation_driver.ts index b9cbc79c55..367d9e4a01 100644 --- a/packages/animations/browser/testing/src/mock_animation_driver.ts +++ b/packages/animations/browser/testing/src/mock_animation_driver.ts @@ -6,7 +6,7 @@ * found in the LICENSE file at https://angular.io/license */ import {AUTO_STYLE, AnimationPlayer, NoopAnimationPlayer, ɵStyleData} from '@angular/animations'; -import {ɵAnimationDriver as AnimationDriver, ɵallowPreviousPlayerStylesMerge as allowPreviousPlayerStylesMerge, ɵcontainsElement as containsElement, ɵinvokeQuery as invokeQuery, ɵmatchesElement as matchesElement, ɵvalidateStyleProperty as validateStyleProperty} from '@angular/animations/browser'; +import {AnimationDriver, ɵallowPreviousPlayerStylesMerge as allowPreviousPlayerStylesMerge, ɵcontainsElement as containsElement, ɵinvokeQuery as invokeQuery, ɵmatchesElement as matchesElement, ɵvalidateStyleProperty as validateStyleProperty} from '@angular/animations/browser'; /**