@skyux/animations 5.0.1 → 5.0.2
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.
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
|
|
26
26
|
var skyAnimationSlide = animations.trigger('skyAnimationSlide', [
|
|
27
27
|
animations.state('down', animations.style({
|
|
28
|
-
|
|
28
|
+
visibility: 'visible',
|
|
29
29
|
height: '*',
|
|
30
30
|
})),
|
|
31
31
|
animations.state('up', animations.style({
|
|
32
|
-
|
|
32
|
+
visibility: 'hidden',
|
|
33
33
|
height: 0,
|
|
34
34
|
})),
|
|
35
35
|
animations.transition('up <=> down', animations.animate('150ms ease-in')),
|
package/esm2015/slide.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { animate, state, style, transition, trigger, } from '@angular/animations';
|
|
2
2
|
export const skyAnimationSlide = trigger('skyAnimationSlide', [
|
|
3
3
|
state('down', style({
|
|
4
|
-
|
|
4
|
+
visibility: 'visible',
|
|
5
5
|
height: '*',
|
|
6
6
|
})),
|
|
7
7
|
state('up', style({
|
|
8
|
-
|
|
8
|
+
visibility: 'hidden',
|
|
9
9
|
height: 0,
|
|
10
10
|
})),
|
|
11
11
|
transition('up <=> down', animate('150ms ease-in')),
|
|
12
12
|
]);
|
|
13
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2xpZGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9wcm9qZWN0cy9hbmltYXRpb25zL3NyYy9zbGlkZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsT0FBTyxFQUVQLEtBQUssRUFDTCxLQUFLLEVBQ0wsVUFBVSxFQUNWLE9BQU8sR0FDUixNQUFNLHFCQUFxQixDQUFDO0FBRTdCLE1BQU0sQ0FB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CcxNTBtcyBlYXNlLWluJykpLFxuICBdXG4pO1xuIl19
|
|
@@ -21,11 +21,11 @@ const skyAnimationEmerge = trigger('skyAnimationEmerge', [
|
|
|
21
21
|
|
|
22
22
|
const skyAnimationSlide = trigger('skyAnimationSlide', [
|
|
23
23
|
state('down', style({
|
|
24
|
-
|
|
24
|
+
visibility: 'visible',
|
|
25
25
|
height: '*',
|
|
26
26
|
})),
|
|
27
27
|
state('up', style({
|
|
28
|
-
|
|
28
|
+
visibility: 'hidden',
|
|
29
29
|
height: 0,
|
|
30
30
|
})),
|
|
31
31
|
transition('up <=> down', animate('150ms ease-in')),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skyux-animations.js","sources":["../../../projects/animations/src/emerge.ts","../../../projects/animations/src/slide.ts","../../../projects/animations/src/skyux-animations.ts"],"sourcesContent":["import {\n animate,\n AnimationTriggerMetadata,\n state,\n style,\n transition,\n trigger,\n} from '@angular/animations';\n\nexport const skyAnimationEmerge: AnimationTriggerMetadata = trigger(\n 'skyAnimationEmerge',\n [\n state(\n 'open',\n style({\n opacity: 1,\n transform: 'scale(1)',\n })\n ),\n state(\n 'closed',\n style({\n opacity: 0,\n transform: 'scale(0.0)',\n })\n ),\n transition('void => *', [\n style({\n opacity: 0,\n transform: 'scale(0.0)',\n }),\n animate('300ms ease-in-out'),\n ]),\n transition(`* <=> *`, animate('300ms ease-in-out')),\n ]\n);\n","import {\n animate,\n AnimationTriggerMetadata,\n state,\n style,\n transition,\n trigger,\n} from '@angular/animations';\n\nexport const skyAnimationSlide: AnimationTriggerMetadata = trigger(\n 'skyAnimationSlide',\n [\n state(\n 'down',\n style({\n
|
|
1
|
+
{"version":3,"file":"skyux-animations.js","sources":["../../../projects/animations/src/emerge.ts","../../../projects/animations/src/slide.ts","../../../projects/animations/src/skyux-animations.ts"],"sourcesContent":["import {\n animate,\n AnimationTriggerMetadata,\n state,\n style,\n transition,\n trigger,\n} from '@angular/animations';\n\nexport const skyAnimationEmerge: AnimationTriggerMetadata = trigger(\n 'skyAnimationEmerge',\n [\n state(\n 'open',\n style({\n opacity: 1,\n transform: 'scale(1)',\n })\n ),\n state(\n 'closed',\n style({\n opacity: 0,\n transform: 'scale(0.0)',\n })\n ),\n transition('void => *', [\n style({\n opacity: 0,\n transform: 'scale(0.0)',\n }),\n animate('300ms ease-in-out'),\n ]),\n transition(`* <=> *`, animate('300ms ease-in-out')),\n ]\n);\n","import {\n animate,\n AnimationTriggerMetadata,\n state,\n style,\n transition,\n trigger,\n} from '@angular/animations';\n\nexport const skyAnimationSlide: AnimationTriggerMetadata = trigger(\n 'skyAnimationSlide',\n [\n state(\n 'down',\n style({\n visibility: 'visible',\n height: '*',\n })\n ),\n state(\n 'up',\n style({\n visibility: 'hidden',\n height: 0,\n })\n ),\n transition('up <=> down', animate('150ms ease-in')),\n ]\n);\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;MASa,kBAAkB,GAA6B,OAAO,CACjE,oBAAoB,EACpB;IACE,KAAK,CACH,MAAM,EACN,KAAK,CAAC;QACJ,OAAO,EAAE,CAAC;QACV,SAAS,EAAE,UAAU;KACtB,CAAC,CACH;IACD,KAAK,CACH,QAAQ,EACR,KAAK,CAAC;QACJ,OAAO,EAAE,CAAC;QACV,SAAS,EAAE,YAAY;KACxB,CAAC,CACH;IACD,UAAU,CAAC,WAAW,EAAE;QACtB,KAAK,CAAC;YACJ,OAAO,EAAE,CAAC;YACV,SAAS,EAAE,YAAY;SACxB,CAAC;QACF,OAAO,CAAC,mBAAmB,CAAC;KAC7B,CAAC;IACF,UAAU,CAAC,SAAS,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAC;CACpD;;MCzBU,iBAAiB,GAA6B,OAAO,CAChE,mBAAmB,EACnB;IACE,KAAK,CACH,MAAM,EACN,KAAK,CAAC;QACJ,UAAU,EAAE,SAAS;QACrB,MAAM,EAAE,GAAG;KACZ,CAAC,CACH;IACD,KAAK,CACH,IAAI,EACJ,KAAK,CAAC;QACJ,UAAU,EAAE,QAAQ;QACpB,MAAM,EAAE,CAAC;KACV,CAAC,CACH;IACD,UAAU,CAAC,aAAa,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;CACpD;;AC3BH;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/animations",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.2",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/animations": "^12.2.
|
|
6
|
-
"@angular/core": "^12.2.
|
|
7
|
-
"@angular/common": "^12.2.
|
|
5
|
+
"@angular/animations": "^12.2.15",
|
|
6
|
+
"@angular/core": "^12.2.15",
|
|
7
|
+
"@angular/common": "^12.2.15"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"tslib": "^2.3.1"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"skyux-animations.umd.js","sources":["../../../projects/animations/src/emerge.ts","../../../projects/animations/src/slide.ts","../../../projects/animations/src/skyux-animations.ts"],"sourcesContent":["import {\n animate,\n AnimationTriggerMetadata,\n state,\n style,\n transition,\n trigger,\n} from '@angular/animations';\n\nexport const skyAnimationEmerge: AnimationTriggerMetadata = trigger(\n 'skyAnimationEmerge',\n [\n state(\n 'open',\n style({\n opacity: 1,\n transform: 'scale(1)',\n })\n ),\n state(\n 'closed',\n style({\n opacity: 0,\n transform: 'scale(0.0)',\n })\n ),\n transition('void => *', [\n style({\n opacity: 0,\n transform: 'scale(0.0)',\n }),\n animate('300ms ease-in-out'),\n ]),\n transition(`* <=> *`, animate('300ms ease-in-out')),\n ]\n);\n","import {\n animate,\n AnimationTriggerMetadata,\n state,\n style,\n transition,\n trigger,\n} from '@angular/animations';\n\nexport const skyAnimationSlide: AnimationTriggerMetadata = trigger(\n 'skyAnimationSlide',\n [\n state(\n 'down',\n style({\n overflow: 'visible',\n height: '*',\n })\n ),\n state(\n 'up',\n style({\n overflow: 'hidden',\n height: 0,\n })\n ),\n transition('up <=> down', animate('150ms ease-in')),\n ]\n);\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["trigger","state","style","transition","animate"],"mappings":";;;;;;QASa,kBAAkB,GAA6BA,kBAAO,CACjE,oBAAoB,EACpB;QACEC,gBAAK,CACH,MAAM,EACNC,gBAAK,CAAC;YACJ,OAAO,EAAE,CAAC;YACV,SAAS,EAAE,UAAU;SACtB,CAAC,CACH;QACDD,gBAAK,CACH,QAAQ,EACRC,gBAAK,CAAC;YACJ,OAAO,EAAE,CAAC;YACV,SAAS,EAAE,YAAY;SACxB,CAAC,CACH;QACDC,qBAAU,CAAC,WAAW,EAAE;YACtBD,gBAAK,CAAC;gBACJ,OAAO,EAAE,CAAC;gBACV,SAAS,EAAE,YAAY;aACxB,CAAC;YACFE,kBAAO,CAAC,mBAAmB,CAAC;SAC7B,CAAC;QACFD,qBAAU,CAAC,SAAS,EAAEC,kBAAO,CAAC,mBAAmB,CAAC,CAAC;KACpD;;QCzBU,iBAAiB,GAA6BJ,kBAAO,CAChE,mBAAmB,EACnB;QACEC,gBAAK,CACH,MAAM,EACNC,gBAAK,CAAC;YACJ,QAAQ,EAAE,SAAS;YACnB,MAAM,EAAE,GAAG;SACZ,CAAC,CACH;QACDD,gBAAK,CACH,IAAI,EACJC,gBAAK,CAAC;YACJ,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,CAAC;SACV,CAAC,CACH;QACDC,qBAAU,CAAC,aAAa,EAAEC,kBAAO,CAAC,eAAe,CAAC,CAAC;KACpD;;IC3BH;;;;;;;;;;;;;"}
|