@coreui/angular 4.2.9 → 4.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ import * as i1$1 from '@angular/common';
4
4
  import { CommonModule, DOCUMENT, isPlatformBrowser } from '@angular/common';
5
5
  import { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';
6
6
  import * as i1 from '@angular/animations';
7
- import { animation, animate, useAnimation, trigger, state, style, transition, group, query } from '@angular/animations';
7
+ import { animation, animate, style, useAnimation, trigger, state, transition, group, query } from '@angular/animations';
8
8
  import * as i3 from '@angular/router';
9
9
  import { NavigationEnd, RouterModule } from '@angular/router';
10
10
  import { BehaviorSubject, Observable, Subject } from 'rxjs';
@@ -246,13 +246,15 @@ const expandAnimation = animation([
246
246
  animate('{{ time }} {{ easing }}')
247
247
  ]);
248
248
  const collapseAnimation = animation([
249
- animate('{{ time }} {{ easing }}')
249
+ style({ height: '*', opacity: '*', minHeight: '*' }),
250
+ animate('{{ time }} {{ easing }}', style({ height: 0, opacity: 0, minHeight: 0 }))
250
251
  ]);
251
252
  const expandHorizontalAnimation = animation([
252
253
  animate('{{ time }} {{ easing }}')
253
254
  ]);
254
255
  const collapseHorizontalAnimation = animation([
255
- animate('{{ time }} {{ easing }}')
256
+ style({ opacity: '*' }),
257
+ animate('{{ time }} {{ easing }}', style({ opacity: 0 }))
256
258
  ]);
257
259
 
258
260
  // todo