Skip to content

Commit 111ca52

Browse files
committed
refactor(animations): convert scripts within packages/animations to relative imports
This commit updates scripts within `packages/animations` to relative imports as a prep work to the upcoming infra updates.
1 parent a5e829e commit 111ca52

30 files changed

+42
-39
lines changed

goldens/public-api/animations/browser/index.api.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
55
```ts
66

7-
import { AnimationPlayer } from '@angular/animations';
87
import * as i0 from '@angular/core';
98

109
// @public (undocumented)

goldens/public-api/animations/browser/testing/index.api.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@
44
55
```ts
66

7-
import { AnimationDriver } from '@angular/animations/browser';
8-
import { AnimationPlayer } from '@angular/animations';
9-
import { NoopAnimationPlayer } from '@angular/animations';
10-
import { ɵStyleDataMap } from '@angular/animations';
11-
127
// @public (undocumented)
138
export class MockAnimationDriver implements AnimationDriver {
149
// (undocumented)

packages/animations/browser/src/dsl/animation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
AnimationMetadataType,
1111
AnimationOptions,
1212
ɵStyleDataMap,
13-
} from '@angular/animations';
13+
} from '../../../src/animations';
1414

1515
import {buildingFailed, validationFailed} from '../error_helpers';
1616
import {AnimationDriver} from '../render/animation_driver';

packages/animations/browser/src/dsl/animation_ast.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
AnimationMetadataType,
1111
AnimationOptions,
1212
ɵStyleDataMap,
13-
} from '@angular/animations';
13+
} from '../../../src/animations';
1414

1515
const EMPTY_ANIMATION_OPTIONS: AnimationOptions = {};
1616

packages/animations/browser/src/dsl/animation_ast_builder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import {
2727
AUTO_STYLE,
2828
style,
2929
ɵStyleDataMap,
30-
} from '@angular/animations';
30+
} from '../../../src/animations';
3131

3232
import {
3333
invalidDefinition,

packages/animations/browser/src/dsl/animation_dsl_visitor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import {
1919
AnimationStyleMetadata,
2020
AnimationTransitionMetadata,
2121
AnimationTriggerMetadata,
22-
} from '@angular/animations';
22+
} from '../../../src/animations';
2323

2424
export interface AnimationDslVisitor {
2525
visitTrigger(node: AnimationTriggerMetadata, context: any): any;

packages/animations/browser/src/dsl/animation_timeline_builder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
AUTO_STYLE,
1515
ɵPRE_STYLE as PRE_STYLE,
1616
ɵStyleDataMap,
17-
} from '@angular/animations';
17+
} from '../../../src/animations';
1818

1919
import {invalidQuery} from '../error_helpers';
2020
import {AnimationDriver} from '../render/animation_driver';

packages/animations/browser/src/dsl/animation_timeline_instruction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.dev/license
77
*/
8-
import {ɵStyleDataMap} from '@angular/animations';
8+
import {ɵStyleDataMap} from '../../../src/animations';
99

1010
import {
1111
AnimationEngineInstruction,

packages/animations/browser/src/dsl/animation_transition_factory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.dev/license
77
*/
8-
import {AnimationOptions, ɵStyleDataMap} from '@angular/animations';
8+
import {AnimationOptions, ɵStyleDataMap} from '../../../src/animations';
99

1010
import {AnimationDriver} from '../render/animation_driver';
1111
import {getOrSetDefaultValue} from '../render/shared';

packages/animations/browser/src/dsl/animation_transition_instruction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* found in the LICENSE file at https://angular.dev/license
77
*/
88

9-
import {ɵStyleDataMap} from '@angular/animations';
9+
import {ɵStyleDataMap} from '../../../src/animations';
1010

1111
import {
1212
AnimationEngineInstruction,

0 commit comments

Comments
 (0)