@sneat/core 0.27.6 → 0.27.8

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.
@@ -23,7 +23,14 @@ export const listItemAnimations = trigger('listItem', [
23
23
  // TODO: How it is different from listItemAnimations ?
24
24
  export const listAddRemoveAnimation = [
25
25
  trigger('addRemove', [
26
- transition(':leave', [animate('0.2s ease-in-out', style({ height: 0 }))]),
26
+ transition('void => added', [
27
+ style({ height: 0, opacity: 0, overflow: 'hidden' }),
28
+ animate('250ms ease-out', style({ height: '*', opacity: 1, overflow: 'hidden' })),
29
+ ]),
30
+ transition(':leave', [
31
+ style({ height: '*', opacity: 1, overflow: 'hidden' }),
32
+ animate('250ms ease-in', style({ height: 0, opacity: 0, overflow: 'hidden' })),
33
+ ]),
27
34
  ]),
28
35
  ];
29
36
  //# sourceMappingURL=list-animations.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-animations.js","sourceRoot":"","sources":["../../../../../../libs/core/src/lib/animations/list-animations.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EAEP,KAAK,EACL,UAAU,EACV,OAAO,GACR,MAAM,qBAAqB,CAAC;AAE7B,MAAM,uBAAuB,GAAG,UAAU,CAAC,WAAW,EAAE;IACtD,OAAO,CACL,kBAAkB,EAClB,KAAK,CAAC;QACJ,MAAM,EAAE,CAAC;QACT,OAAO,EAAE,CAAC;KACX,CAAC,CACH;CACF,CAAC,CAAC;AAEH,MAAM,oBAAoB,GAAG,UAAU,CAAC,eAAe,EAAE;IACvD,KAAK,CAAC;QACJ,MAAM,EAAE,CAAC;QACT,OAAO,EAAE,CAAC;KACX,CAAC;IACF,OAAO,CACL,cAAc,EACd,KAAK,CAAC;QACJ,MAAM,EAAE,GAAG;QACX,OAAO,EAAE,CAAC;KACX,CAAC,CACH;CACF,CAAC,CAAC;AAEH,0DAA0D;AAC1D,MAAM,CAAC,MAAM,kBAAkB,GAAG,OAAO,CAAC,UAAU,EAAE;IACpD,uBAAuB;IACvB,oBAAoB;CACrB,CAAC,CAAC;AAEH,sDAAsD;AACtD,MAAM,CAAC,MAAM,sBAAsB,GAA+B;IAChE,OAAO,CAAC,WAAW,EAAE;QACnB,UAAU,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,mBAAmB,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;KAC3E,CAAC;CACH,CAAC","sourcesContent":["import {\n animate,\n AnimationTriggerMetadata,\n style,\n transition,\n trigger,\n} from '@angular/animations';\n\nconst removeListItemAnimation = transition('* => void', [\n animate(\n '0.2s ease-in-out',\n style({\n height: 0,\n opacity: 0,\n }),\n ),\n]);\n\nconst addListItemAnimation = transition('void => added', [\n style({\n height: 0,\n opacity: 0,\n }),\n animate(\n '0.5s ease-in',\n style({\n height: '*',\n opacity: 1,\n }),\n ),\n]);\n\n// TODO: How it is different from listAddRemoveAnimation ?\nexport const listItemAnimations = trigger('listItem', [\n removeListItemAnimation,\n addListItemAnimation,\n]);\n\n// TODO: How it is different from listItemAnimations ?\nexport const listAddRemoveAnimation: AnimationTriggerMetadata[] = [\n trigger('addRemove', [\n transition(':leave', [animate('0.2s ease-in-out', style({ height: 0 }))]),\n ]),\n];\n"]}
1
+ {"version":3,"file":"list-animations.js","sourceRoot":"","sources":["../../../../../../libs/core/src/lib/animations/list-animations.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EAEP,KAAK,EACL,UAAU,EACV,OAAO,GACR,MAAM,qBAAqB,CAAC;AAE7B,MAAM,uBAAuB,GAAG,UAAU,CAAC,WAAW,EAAE;IACtD,OAAO,CACL,kBAAkB,EAClB,KAAK,CAAC;QACJ,MAAM,EAAE,CAAC;QACT,OAAO,EAAE,CAAC;KACX,CAAC,CACH;CACF,CAAC,CAAC;AAEH,MAAM,oBAAoB,GAAG,UAAU,CAAC,eAAe,EAAE;IACvD,KAAK,CAAC;QACJ,MAAM,EAAE,CAAC;QACT,OAAO,EAAE,CAAC;KACX,CAAC;IACF,OAAO,CACL,cAAc,EACd,KAAK,CAAC;QACJ,MAAM,EAAE,GAAG;QACX,OAAO,EAAE,CAAC;KACX,CAAC,CACH;CACF,CAAC,CAAC;AAEH,0DAA0D;AAC1D,MAAM,CAAC,MAAM,kBAAkB,GAAG,OAAO,CAAC,UAAU,EAAE;IACpD,uBAAuB;IACvB,oBAAoB;CACrB,CAAC,CAAC;AAEH,sDAAsD;AACtD,MAAM,CAAC,MAAM,sBAAsB,GAA+B;IAChE,OAAO,CAAC,WAAW,EAAE;QACnB,UAAU,CACR,eAAe,EACf;YACE,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC;YACpD,OAAO,CACL,gBAAgB,EAChB,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,CACvD;SACF,CACF;QACD,UAAU,CACR,QAAQ,EACR;YACE,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC;YACtD,OAAO,CACL,eAAe,EACf,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,CACrD;SACF,CACF;KACF,CAAC;CACH,CAAC","sourcesContent":["import {\n animate,\n AnimationTriggerMetadata,\n style,\n transition,\n trigger,\n} from '@angular/animations';\n\nconst removeListItemAnimation = transition('* => void', [\n animate(\n '0.2s ease-in-out',\n style({\n height: 0,\n opacity: 0,\n }),\n ),\n]);\n\nconst addListItemAnimation = transition('void => added', [\n style({\n height: 0,\n opacity: 0,\n }),\n animate(\n '0.5s ease-in',\n style({\n height: '*',\n opacity: 1,\n }),\n ),\n]);\n\n// TODO: How it is different from listAddRemoveAnimation ?\nexport const listItemAnimations = trigger('listItem', [\n removeListItemAnimation,\n addListItemAnimation,\n]);\n\n// TODO: How it is different from listItemAnimations ?\nexport const listAddRemoveAnimation: AnimationTriggerMetadata[] = [\n trigger('addRemove', [\n transition(\n 'void => added',\n [\n style({ height: 0, opacity: 0, overflow: 'hidden' }),\n animate(\n '250ms ease-out',\n style({ height: '*', opacity: 1, overflow: 'hidden' }),\n ),\n ],\n ),\n transition(\n ':leave',\n [\n style({ height: '*', opacity: 1, overflow: 'hidden' }),\n animate(\n '250ms ease-in',\n style({ height: 0, opacity: 0, overflow: 'hidden' }),\n ),\n ],\n ),\n ]),\n];\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sneat/core",
3
- "version": "0.27.6",
3
+ "version": "0.27.8",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },