{"bugs":{"url":"https://github.com/material-components/material-components-web/issues"},"dist":{"shasum":"e86e23cab0c2b868d6edef532f10e44bcfe38db7","tarball":"https://registry.npmjs.org/@material/animation/-/animation-14.0.0-canary.4e66fb2e1.0.tgz","fileCount":25,"integrity":"sha512-col2C0gEWrkXr2O4kh9yplSg0QVIt3aK7urbD7yia89LG6131h+Uh7foj99EKsQNCkQD7sfvYJhr53F+8qvAsQ==","signatures":[{"sig":"MEUCIDRFHOWpWWT0pQB4/s1Czf9zK3b4t2T0cnlZXfnsU3mEAiEA30w8+fch8esWORqhQXZNG8O5B1pDKAThktORkn14yus=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65072,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh9EaSCRA9TVsSAnZWagAAoOIP/2hcI2i8w+Jdc3GDndjZ\nCoGcQQfnbgodWo2soxRR6JDOBr2ATEiiObAQGv7FzUC/MDUnDv8Wh3EsKOLQ\nJHQXeqDWEHdU7JtIPY1DKvL22J8ya2/jwVLUd6Vz7HNFt+2Hp6U3bbrEk5kR\n3VbR5KJAJ5dALJMuoaYBk4Ch6iJ/V9LGZ5qcDMMW4eZqGYieH7Xf5RGa5GMN\n07XRsVymk5SeSI/ioSc2/knXGuaWLxCbwSmtBfjYitFYfrvxNL/HYfCSeppw\nNDw4fsO0oBH3CeOaHXnrafpv/8eYyeHdjMw31Jxlhvv0HIInYzYumZp2YDlQ\n4YELR6NzuuGk+UqiM7agSh3JJJHAt1W6ztjPsoQz58KJnylSqNfOLc928x8z\nfdSm2CYiG2j2fHTT8DMMcI2iS+ET9C3MJyPdqg/VddrYq2hEdjxZQwNhi+wU\nIkSXRyAbL2RjSEqsdgucdBA5XWbnCijQsOSBWVy3gCEODSqj9T9a+YXf+GLA\ncMLaffQ8SwGjn2NNPMK8rA6fT+2u9bJfDEZhpeUJdc0z/M8itRMUDXzZR4mz\njLmd1nBonDLenK1yKxpfFNNnleisCOk67wx3hxNFFKdkorPKoll+X7Pg9K6h\nn5WzmYg477wOIDYf6NV00Tm2ySFbEjBHhUUqqzxKKsKSLGBTTbiGHi8uh4D+\n6hwg\r\n=IriG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/mdc.animation.js","name":"@material/animation","module":"index.js","readme":"<!--docs:\ntitle: \"Animation\"\nlayout: detail\nsection: components\nexcerpt: \"Animation timing curves and utilities for smooth and consistent motion.\"\niconId: animation\npath: /catalog/animation/\n-->\n\n# Animation\n\nMaterial in motion is responsive and natural. Use these easing curves and duration patterns to create smooth and consistent motion.\n\n## Design & API Documentation\n\n<ul class=\"icon-list\">\n  <li class=\"icon-list-item icon-list-item--spec\">\n    <a href=\"https://material.io/go/design-motion\">Material Design guidelines: Motion</a>\n  </li>\n</ul>\n\n## Installation\n\n```\nnpm install @material/animation\n```\n\n## Usage\n\n### Sass Variables\n\nWe provide timing functions which you can use with the `animation` or `transition` CSS properties\n\n```scss\n@use \"@material/animation\";\n\n.my-element--animating {\n  animation: foo-keyframe 175ms animation.$standard-curve-timing-function;\n}\n```\n\nVariable | Description\n--- | ---\n`$deceleration-curve-timing-function` | Timing function to decelerate\n`$standard-curve-timing-function` | Timing function to quickly accelerate and slowly decelerate\n`$acceleration-curve-timing-function` | Timing function to accelerate\n`$sharp-curve-timing-function` | Timing function to quickly accelerate and decelerate\n\nThe following functions create transitions given `$name` and the `$duration`. You can also specify `$delay`, but the default is 0ms. `$name` can either refer to the keyframe, or to CSS property used in `transition`.\n\n```scss\n@use \"@material/animation\";\n\n.my-element {\n  transition: animation.exit-permanent(/* $name: */ opacity, /* $duration: */ 175ms, /* $delay: */ 150ms);\n  opacity: 0;\n  will-change: opacity;\n\n  &--animating {\n    transition: animation.enter(/* $name: */ opacity, /* $duration: */ 175ms);\n    opacity: 1;\n  }\n}\n```\n\n\n```scss\n@use \"@material/animation\";\n\n@keyframes fade-in {\n  from {\n    transform: translateY(-80px);\n    opacity: 0;\n  }\n\n  to {\n    transform: translateY(0);\n    opacity: 1;\n  }\n}\n\n.my-element {\n  animation: animation.enter(/* $name: */ fade-in, /* $duration: */ 350ms);\n}\n```\n\nFunction | Description\n--- | ---\n`enter($name, $duration, $delay)` | Defines transition for entering the frame\n`exit-permanent($name, $duration, $delay)` | Defines transition for exiting the frame permanently\n`exit-temporary($name, $duration, $delay)` | Defines transition for exiting the frame temporarily\n\n### JavaScript\n\nThese functions handle prefixing across various browsers\n\n```js\nimport {getCorrectEventName} from '@material/animation';\n\nconst eventToListenFor = getCorrectEventName(window, 'animationstart');\n```\n\nMethod Signature | Description\n--- | ---\n`getCorrectEventName(windowObj: Window, eventType: StandardJsEventType) => StandardJsEventType \\| PrefixedJsEventType` | Returns a JavaScript event name, prefixed if necessary. See [`types.ts`](types.ts) for supported values.\n`getCorrectPropertyName(windowObj: Window, cssProperty: StandardCssPropertyName) => StandardCssPropertyName \\| PrefixedCssPropertyName` | Returns a CSS property name, prefixed if necessary. See [`types.ts`](types.ts) for supported values.\n","gitHead":"edee6a64c210815507bd8460fea3df2591cf0d65","license":"MIT","_npmUser":{"name":"abhiomkar","email":"abhiomkar@gmail.com"},"homepage":"https://github.com/material-components/material-components-web#readme","keywords":["material components","material design","animation"],"repository":{"url":"git+https://github.com/material-components/material-components-web.git","type":"git","directory":"packages/mdc-animation"},"_npmVersion":"lerna/3.20.2/node@v14.18.3+x64 (linux)","description":"Animation Variables and Mixins used by Material Components for the web","directories":{},"maintainers":[{"name":"material-admin","email":"aprigogin+npm@google.com"},{"name":"yefim","email":"hi@yef.im"},{"name":"abhiomkar","email":"abhiomkar@gmail.com"},{"name":"azakus","email":"dfreedm2@gmail.com"},{"name":"bicknellr","email":"bicknellr@gmail.com"},{"name":"aprigogin","email":"andrey.prigogin@gmail.com"},{"name":"patrickrodee","email":"prodee@google.com"},{"name":"aomarks","email":"aomarks@gmail.com"},{"name":"emarquez","email":"emarquez@google.com"},{"name":"allanchen","email":"allanchen@google.com"},{"name":"esgonzalez","email":"esgonzalez@google.com"},{"name":"asyncliz","email":"asyncliz@gmail.com"},{"name":"candysonya","email":"wangchan518@gmail.com"},{"name":"ssuarez","email":"sayrisuarez@google.com"},{"name":"taylorv","email":"brian.t.vann@gmail.com"}],"sideEffects":false,"_nodeVersion":"14.18.3","dependencies":{"tslib":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/animation_14.0.0-canary.4e66fb2e1.0_1643398802797_0.39521243879418244","host":"s3://npm-registry-packages"},"_id":"@material/animation@14.0.0-canary.4e66fb2e1.0","version":"14.0.0-canary.4e66fb2e1.0"}