{"bugs":{"url":"https://github.com/material-components/material-components-web/issues"},"dist":{"shasum":"988391635e1d6e705c6fa72f04da241baa90c59a","tarball":"https://registry.npmjs.org/@material/line-ripple/-/line-ripple-15.0.0-canary.c3924efef.0.tgz","fileCount":33,"integrity":"sha512-i7r8X/pIMqObu0xYqH51wGKWL7o7ecLqOC2MP44guNIFtQxwHPRmPCRJRsVvn8Jekwgl6Sq4kyNXOrEiWQ3H1Q==","signatures":[{"sig":"MEUCIFNf3sBr1K+Kab/3pPCUF93Mbivbxi0PZreMejKetJRMAiEAoPaeTYbO+oPcxfkronKyK+C9bjSch26GSCKouNwo0iU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":122802,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2ElgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqLhA//c0JJdgzJ9cIMO8Mknkl1wEUVactHl0YFP6v1KtQhJVdfkbOy\r\nKrIH1Tl2REsl+qNJDfFoO98PtDhSReaFhbUo//ZgbysQ274+NuNpyYvVVVc4\r\n0VOYpz4CyujGG6UP3S+LFlpfZ0v3fHiLD2WEveThH0U+UgYq9p+qtT2dKeru\r\nuwQJ2GiDZ1JZV9bovqb9esDr6rmooNKXZyEK4VvRdgAv2TH2P30vl0zTY5hL\r\ni/ed6RKf+upzjlJirQsnSh4y4isCmrEqtL8FFT+xGLSqp3O4Hzm3zbX9fnbD\r\nHk/Jbg8Pg/ptitg/J0ls9RAdg4Gb2sz4mK9q2wVsOE31XVyoicBmMmEc/IlJ\r\nGIIfp4sYRhFvqo6lS/6B4S56NUcdmHkgC2LP70vybjiuhZOT8Rhq9bkMmMja\r\n5LwRt5aWcVBo7u/kkU5WMY4HP3O3pGmyr9uRAuJAwiOSzQfWY4FqtBaMI0c6\r\nDG9fFdcBtoOEzOQGmZOif3OltkDFq8mkRdiiHxks6uazKdfHvzOhwi+epBy1\r\n/84nFUQTTJgydQZ5N3fWpE2j1b79OxbqiN4WHy+zTwAPQU0MgbHY9y/jr2VM\r\njZUI3k9CYfunF/Ws6r4jxodBw+H07vfJ8QX3mcAKxqd1gylS6GmNMHlTcP/g\r\nir2Fvrp3KOmY61x68DqEBfXzULnVPWsd3iI=\r\n=7KVP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/mdc.lineRipple.js","name":"@material/line-ripple","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<span class=\"mdc-line-ripple\"></span>\n```\n\n### Styles\n\n```scss\n@use \"@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`active-color($color)` | Customizes the color of the line ripple when active.\n`inactive-color($color)` | Customizes the color of the line ripple when inactive.\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":"f665d9454e06d217296aa1a2064c9c67d3fe2759","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.20.2/node@v14.20.0+x64 (linux)","description":"The Material Components for the web line-ripple component","directories":{},"maintainers":[{"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":"material-admin","email":"aprigogin+npm@google.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.20.0","dependencies":{"tslib":"^2.1.0","@material/base":"15.0.0-canary.c3924efef.0","@material/theme":"15.0.0-canary.c3924efef.0","@material/animation":"15.0.0-canary.c3924efef.0","@material/feature-targeting":"15.0.0-canary.c3924efef.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/line-ripple_15.0.0-canary.c3924efef.0_1658341728348_0.15812157326102838","host":"s3://npm-registry-packages"},"_id":"@material/line-ripple@15.0.0-canary.c3924efef.0","version":"15.0.0-canary.c3924efef.0"}