{"bugs":{"url":"https://github.com/material-components/material-components-web/issues"},"dist":{"shasum":"0ec40e370bcb909dd9a4a4337cb3eb3b3620e33e","tarball":"https://registry.npmjs.org/@material/line-ripple/-/line-ripple-5.0.0-canary.737da83fc.0.tgz","fileCount":30,"integrity":"sha512-bJNZEnHQ02Sh2oQpj0rPVRxD2YhP4/hxrTuni6OMulBwyMQuLorqWwQQ9LP9yCzpnyk/x8XmrKxCc9IYdnB7mA==","signatures":[{"sig":"MEQCIB9tlVAQzQGdIQZZPpINVZkUjo/rxD+XorIL0hPb1WIqAiAkwYJPCXrvtfzzo4xIE6vTLKIleaWaNptHNV+WK1WSeA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":115802,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeGOorCRA9TVsSAnZWagAADJYP/ieP6U2iUQy++yQPH+VB\niHFmCVffEpBP8jBDupJywk8XEuA8BC3NXbMay6+a/+nfn3oE150SIfZUc0y1\nZseFzkIU4iQb7aBzK5wQHEJiKT5x2UMxpLIGRRTS+BE++ojBZfxTdoaV7ed7\ngOL3YIHlVAGKXaoTmUwUonZ1gS9rM8dDs4Sa8QI3u67tgkt1W5ICIvwhSxNx\ntwSBnSukSfsUWuMK2PrAlph7OruNyf836vKu1nM9QzKibq6Bbh546H8B6pn+\nchC+KqiIOub6lsy3EOb5H6PWgwixRmSeIS5yY9KqI2HFqWgLRoMY+0Y77nmW\nTOJe5XVHgrD2DDsmkBidnIZM5p9psrUkV1wjxedPp5ZydN7qIQKX8JKTCUYS\n76um3xm5HN5rQX2sc6v1QfMl3HsOVzbKycweLguj35cHuwGKA65M6mtTIBnO\nSZ0MHMOWcp9sEHPFPheiGp7yI2Bq4alnnt9DS5IRCtY9BEoN1o0lu00unTmB\no/uPIJ9YzWRhy8mhRvJ0JT4wDsSCSTPwNy6QHYZSA/4sio0EF4Q9bMEMdd+y\nDb4/BSnze4g0BqIRdPWYtMhs2HiEN/u60jEQLzm/rYD8Dtac8UnZNMpFL+Pe\nZkC56fNCIE2/qVW6SLdpaekCY7Ye6+5IOJ6WJMeUfVqy8M61xaebA2KjFmNF\nd7zc\r\n=p4RF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/mdc.lineRipple.js","name":"@material/line-ripple","types":"dist/mdc.lineRipple.d.ts","module":"index.js","readme":"<!--docs:\ntitle: \"Line Ripple\"\nlayout: detail\nsection: components\nexcerpt: \"The line ripple is used to highlight user-specified input above it.\"\npath: /catalog/input-controls/line-ripple/\n-->\n\n# Line Ripple\n\nThe line ripple is used to highlight user-specified input above it. When a line ripple is active, the line’s color and thickness changes.\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-text-fields#text-fields-layout\">Material Design guidelines: Text Fields Layout</a>\n  </li>\n  <li class=\"icon-list-item icon-list-item--spec\">\n    <a href=\"https://material-components.github.io/material-components-web-catalog/#/component/text-field\">Demo with Line Ripple on Text Field</a>\n  </li>\n</ul>\n\n## Installation\n\n```\nnpm install @material/line-ripple\n```\n\n## Basic Usage\n\n### HTML Structure\n\n```html\n<div class=\"mdc-line-ripple\"></div>\n```\n\n### Styles\n\n```scss\n@import \"@material/line-ripple/mdc-line-ripple\";\n```\n\n### JavaScript Instantiation\n\n```js\nimport {MDCLineRipple} from '@material/line-ripple';\n\nconst lineRipple = new MDCLineRipple(document.querySelector('.mdc-line-ripple'));\n```\n\n## Style Customization\n\n### CSS Classes\n\nCSS Class | Description\n--- | ---\n`mdc-line-ripple` | Mandatory.\n`mdc-line-ripple--active` | Styles the line ripple as an active line ripple.\n`mdc-line-ripple--deactivating` | Styles the line ripple as a deactivating line ripple.\n\n### Sass Mixins\n\nMixin | Description\n--- | ---\n`mdc-line-ripple-color($color)` | Customizes the color of the line ripple when active.\n\n## `MDCLineRipple` Properties and Methods\n\nMethod Signature | Description\n--- | ---\n`activate() => void` | Proxies to the foundation's `activate()` method.\n`deactivate() => void` | Proxies to the foundation's `deactivate()` method.\n`setRippleCenter(xCoordinate: number) => void` | Proxies to the foundation's `setRippleCenter(xCoordinate: number)` method.\n\n## Usage Within Frameworks\n\nIf you are using a JavaScript framework, such as React or Angular, you can create a Line Ripple for your framework. Depending on your needs, you can use the _Simple Approach: Wrapping MDC Web Vanilla Components_, or the _Advanced Approach: Using Foundations and Adapters_. Please follow the instructions [here](../../docs/integrating-into-frameworks.md).\n\n### `MDCLineRippleAdapter`\n\nMethod Signature | Description\n--- | ---\n`addClass(className: string) => void` | Adds a class to the root element.\n`removeClass(className: string) => void` | Removes a class from the root element.\n`hasClass(className: string) => boolean` | Determines whether the root element has the given CSS class name.\n`setStyle(propertyName: string, value: string) => void` | Sets the style property with `propertyName` to `value` on the root element.\n`registerEventHandler(evtType: EventType, handler: EventListener) => void` | Registers an event listener on the root element for a given event.\n`deregisterEventHandler(evtType: EventType, handler: EventListener) => void` | Deregisters an event listener on the root element for a given event.\n\n### `MDCLineRippleFoundation`\n\nMethod Signature | Description\n--- | ---\n`activate() => void` | Activates the line ripple.\n`deactivate() => void` |  Deactivates the line ripple.\n`setRippleCenter(xCoordinate: number) => void` | Sets the center of the ripple to the `xCoordinate` given.\n`handleTransitionEnd(evt: Event) => void` | Handles a `transitionend` event.\n","gitHead":"3ea8f6e8d81e688483ab007855dce5cba3b72015","license":"MIT","_npmUser":{"name":"abhiomkar","email":"abhiomkar@gmail.com"},"homepage":"https://github.com/material-components/material-components-web#readme","keywords":["material components","material design","lineripple","line-ripple"],"repository":{"url":"git+https://github.com/material-components/material-components-web.git","type":"git","directory":"packages/mdc-line-ripple"},"_npmVersion":"lerna/3.14.1/node@v10.18.1+x64 (linux)","description":"The Material Components for the web line-ripple component","directories":{},"maintainers":[{"name":"abhiomkar","email":"abhiomkar@gmail.com"},{"name":"acdvorak","email":"acdvorak@gmail.com"},{"name":"allanchen","email":"allanchen@google.com"},{"name":"aomarks","email":"aomarks@google.com"},{"name":"aprigogin","email":"andrey.prigogin@gmail.com"},{"name":"asyncliz","email":"asyncliz@gmail.com"},{"name":"azakus","email":"dfreedm2@gmail.com"},{"name":"bicknellr","email":"bicknellr@gmail.com"},{"name":"bonniez","email":"bonniez@google.com"},{"name":"bwobrien","email":"obrien.test@gmail.com"},{"name":"candysonya","email":"wangchan518@gmail.com"},{"name":"emarquez","email":"emarquez@google.com"},{"name":"esgonzalez","email":"esgonzalez@google.com"},{"name":"kfranqueiro","email":"kenneth.franqueiro@gmail.com"},{"name":"lynnjepsen","email":"lynnjepsen@google.com"},{"name":"material-admin","email":"aprigogin+npm@google.com"},{"name":"moog16","email":"mattgoo@gmail.com"},{"name":"patrickrodee","email":"prodee@google.com"},{"name":"williamernest","email":"williamernest@google.com"}],"sideEffects":false,"_nodeVersion":"10.18.1","dependencies":{"tslib":"^1.9.3","@material/base":"5.0.0-canary.737da83fc.0","@material/theme":"5.0.0-canary.737da83fc.0","@material/animation":"5.0.0-canary.737da83fc.0","@material/feature-targeting":"5.0.0-canary.737da83fc.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/line-ripple_5.0.0-canary.737da83fc.0_1578691115087_0.17380714122358643","host":"s3://npm-registry-packages"},"_id":"@material/line-ripple@5.0.0-canary.737da83fc.0","version":"5.0.0-canary.737da83fc.0"}