@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.
- package/esm2020/lib/collapse/collapse.animations.mjs +6 -4
- package/esm2020/lib/collapse/collapse.directive.mjs +1 -1
- package/fesm2015/coreui-angular.mjs +5 -3
- package/fesm2015/coreui-angular.mjs.map +1 -1
- package/fesm2020/coreui-angular.mjs +5 -3
- package/fesm2020/coreui-angular.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -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,
|
|
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
|
-
|
|
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
|
-
|
|
256
|
+
style({ opacity: '*' }),
|
|
257
|
+
animate('{{ time }} {{ easing }}', style({ opacity: 0 }))
|
|
256
258
|
]);
|
|
257
259
|
|
|
258
260
|
// todo
|