Skip to content

Commit 3b86ff7

Browse files
committed
build: remove unused animation definition from docs site
Removes an animation definition that wasn't being used anywhere in the docs.
1 parent 151ff1a commit 3b86ff7

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

material.angular.io/src/app/pages/component-sidenav/component-sidenav.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import {
99
input,
1010
viewChild,
1111
} from '@angular/core';
12-
import {animate, state, style, transition, trigger} from '@angular/animations';
1312
import {CdkAccordionModule} from '@angular/cdk/accordion';
1413
import {BreakpointObserver} from '@angular/cdk/layout';
1514
import {AsyncPipe} from '@angular/common';
@@ -127,13 +126,6 @@ export class ComponentSidenav implements OnInit, OnDestroy {
127126
@Component({
128127
selector: 'app-component-nav',
129128
templateUrl: './component-nav.html',
130-
animations: [
131-
trigger('bodyExpansion', [
132-
state('collapsed', style({height: '0px', display: 'none'})),
133-
state('expanded', style({height: '*', display: 'block'})),
134-
transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4,0.0,0.2,1)')),
135-
]),
136-
],
137129
standalone: true,
138130
imports: [MatListModule, RouterLinkActive, RouterLink, AsyncPipe],
139131
})

0 commit comments

Comments
 (0)