{"_id":"editable-title","_rev":"3-db2dbc3bb756ea02f2b86d0580a2196e","name":"editable-title","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"editable-title","version":"1.0.0","description":"","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/matthewp/editable-title.git"},"keywords":[],"author":"","license":"ISC","bugs":{"url":"https://github.com/matthewp/editable-title/issues"},"homepage":"https://github.com/matthewp/editable-title#readme","gitHead":"e30094865a8f2f2503c109d1f97d8d2c26465617","_id":"editable-title@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.14.2","_npmUser":{"name":"matthewp","email":"matthew@matthewphillips.info"},"dist":{"integrity":"sha512-Cr7hNpNaJMSIvdDOrGN6AckhNANpgE6/T7HRhCa+99T6ullIHJKQ4VOZceBNvBFL+We4JjtDAeZGQkzeeDlIDA==","shasum":"c1323e7d0009496ceae4b10dd0e08a246b99bab7","tarball":"https://registry.npmjs.org/editable-title/-/editable-title-1.0.0.tgz","fileCount":4,"unpackedSize":7452,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcJhHBCRA9TVsSAnZWagAADcIP/iWVAwwqPsZCzDoYNTz7\n1cVtMwMEQtZdl4gboBginO3dLqCE4UpDv7BGYwRSvqW4Rd9OvhNZzvvyP9KJ\ny2uAaYoJwGDhjv+dFeX5FkJAx9YmKzEtEWPWcCNg4dSrEDsufKMfWEox5GNV\ny1/oWpvjtf7ol+z6I7f25fxnNfyVX2R8RXfBPMMoZliY14x25z2XeoMIPjhH\nhFNLvcs8VUSWRjQEOiFXFS68sRDZFgWDwQtKSoJaXgC9ZCSUS3WuoGnp+NCb\nNML8Ml0l6+Ged9zKKDQDI7uozOdxxJxhSBbi/s5W7TZI9lc0PFUD6URF5rRM\nUaZ5eeLTzqEO3xzMw7HjXe7dqC5XQMK9Nt6gW96vhqb+3nCJ2nADl96R/w7T\n09Ll7KrZE7lhSpXFIEhUrhGbNaKtvm6F8SqXWcx50l+ibz61nkLty5YOzpJw\ntSOl8BT46lyjxJ+l+/MAGiw1llYiCJEg1C0SvuGF26FRZLunvR3yVhIqS9Cl\n7+iTZPHHFuhpCApTetLSytci+aAc/nzywmcORfWx1EZgig0FBe0RMoZ+VJN5\nCreiW0wfGL0RFaaZCp6lTUh4hqUTB0fOG0JWU1OoOwsnyH8P8j8Pq8t45+gv\nd9aW2/aC4KC2VtZVsSwqn2mx6FFlMf5S56RRmOEBAJl+oDcffACIHoH8StI3\n6fG+\r\n=XqLY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSoA+ufB9D5SbfNU/y3kNI7IQyLZMgnvykHQxBg+zjJgIhAKYROnDP97F1w8Q/oLC9taQCB8ibPbc8e4un3vCIMNra"}]},"maintainers":[{"name":"matthewp","email":"matthew@matthewphillips.info"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/editable-title_1.0.0_1545998785244_0.5426180443138304"},"_hasShrinkwrap":false},"1.0.1":{"name":"editable-title","version":"1.0.1","description":"The `<editable-title>` component allows a title that can be modified.","main":"index.js","scripts":{"test":"testee --browsers firefox test/index.html"},"repository":{"type":"git","url":"git+https://github.com/matthewp/editable-title.git"},"keywords":[],"author":"","license":"BSD-2-Clause","bugs":{"url":"https://github.com/matthewp/editable-title/issues"},"homepage":"https://github.com/matthewp/editable-title#readme","devDependencies":{"testee":"^0.8.1"},"gitHead":"8f66e61b5c200839a386446c1ddae7a42d4b2c82","_id":"editable-title@1.0.1","_npmVersion":"6.1.0","_nodeVersion":"10.5.0","_npmUser":{"name":"matthewp","email":"matthew@matthewphillips.info"},"dist":{"integrity":"sha512-ZJhBgBvnY1ezWACFNyvYeOz2ryZn0Bq1BZSjf4NSYZNOwmaPMciePFpps6GL3gxomnfDrqnlx03cKeZiZ21/dw==","shasum":"b29dbe1e7544f08911d8da76f21f210ec6211f35","tarball":"https://registry.npmjs.org/editable-title/-/editable-title-1.0.1.tgz","fileCount":3,"unpackedSize":8596,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOgpuCRA9TVsSAnZWagAA5YAP/Aiwocp11XzCUwFw9Wsm\n+lXE+hHLkKCdfrgAakJyYFWtfTVwpBhySTavrpxXh7t/0b59LquYTgVybl6n\n0Ob6chWbRqxVu9ZhH3qnDT/0GiC0yQXhcKGwPAxBqTjLiPcoF6/jEwqVfxEB\nAUvKpUPGWsHYfNPfGergHAm122uQurpyzHQ5XXsC32u34XGDa7S4NFQFneQQ\nY144JSCg6fAVmc9o6vH52B27Xa9iBBHfoaKqvR9phiigaWJzRFCGgve3fPrY\nqCbgeky7yALKZQMBQyjoELNGwK1PvDfMvKGI1D8hkJCBFzCj/f1uotrh81uf\nvLZ4bb5HNKQC2R9bRVxvl/HRrQ9ycMHhxYaFpcciGvrmv6DBegHeP9TL9XSJ\nrJU2Jdfj8KQ9qbFkiYDlwqRtS1Q7J9adbLFf6W5DhZ7i2buy51XP+hTzlg84\ntFMqgLOYrbPxm2lQ+o+1ltnSWv6Li9CeojsthBE0Vz47GEgw8IHcuogMxiyI\ne/Ync/rOC4c08McDlGt9ysKO+dzj5Cb+MEMsgWk2kQGn+MX8jQrYNxyqQBak\nInjZt1MHONGnYbylgSILUyZC6ZAibrkjolzkdQHLGXy8/yIWHxdq34/mUELf\ntnzyVO7PYmzjmEDhkgifeEYjqR4mNcMsPZ6Km84Qx0AhSoeW1+Xq9CcXbxnb\nm2IF\r\n=bvSv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICzQKXFOmcocUABx1XLR+og6N4R7BJIbPHQ9GBiI4/QYAiEAmxVu7tqCLJe2nxutTNey+Bni7sgtjDVip5PoVYclkD0="}]},"maintainers":[{"name":"matthewp","email":"matthew@matthewphillips.info"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/editable-title_1.0.1_1547307630260_0.20154860087381765"},"_hasShrinkwrap":false},"1.0.2":{"name":"editable-title","version":"1.0.2","description":"The `<editable-title>` component allows a title that can be modified.","main":"index.js","scripts":{"test":"testee --browsers firefox test/index.html"},"repository":{"type":"git","url":"git+https://github.com/matthewp/editable-title.git"},"keywords":[],"author":"","license":"BSD-2-Clause","bugs":{"url":"https://github.com/matthewp/editable-title/issues"},"homepage":"https://github.com/matthewp/editable-title#readme","devDependencies":{"testee":"^0.8.1"},"gitHead":"1d1e167296aec15afdc94541d811fc62a905da37","_id":"editable-title@1.0.2","_npmVersion":"6.1.0","_nodeVersion":"10.5.0","_npmUser":{"name":"matthewp","email":"matthew@matthewphillips.info"},"dist":{"integrity":"sha512-n/ra/yCc1NaJAPG3TZYu/SrvG5gfdO5Y7QHest3Uh1Swqy8RqBVqc1CyxQQep13cPPbp/qWRo9zvfRSzW/5q6Q==","shasum":"3bfec66d5dc12585a44e5d721ef8779ad58d61f3","tarball":"https://registry.npmjs.org/editable-title/-/editable-title-1.0.2.tgz","fileCount":3,"unpackedSize":9022,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOhMyCRA9TVsSAnZWagAAPksP/R0utbf7dmddP4khBhyy\ngvJY19iuBNVMu8U5hzRJF8HNG8mxtdCzDPzhLJugaBnZVvU6BTheWBaeHqOt\nJz7BhmsULmn3rnxmzJ8TCwD8FDjUpJ4lhmN7hJvmBcHLTPOojLwvZ0KBiml8\nDiTImnaYgKZT+K0jz1Iwh9mjXMk6A3Pyx591hJTjtjkK1vSoSI8mn7TLT7BH\noLS6gxK2QeQCgS9pNwCDqY41jwkKZOE7FL9uQlxtpJSkipkch1Ffwg+4vZCr\ndKpH/O9NDpLbclNQwSl93gEOmhZjITj21rNCxQNPICsMVpb//V4w3NwPpg9V\nE1zyTJpvj33dmL5okOEk7Ruz1R7LVMdibBaoQYH8E5l1mFQLmzwIQO/exwaX\ni+9sk0K14bOZtUpEFeAN1tGp5JIjVRFke8EyktMycZA4L6KTRnDO73bwQvLL\nO4WgBkTC5fhmomtzIhIg0U6GC91+yXFpUudxr9cYIzkBELV13MnVhtvT3Bc/\nfyOXdL3rX7NGBwKu1ZmJ4JSIus9gJuAQW0/B6LohwETOgIhPRQVhDC8/H2m7\nPkQ6+OH3nLiZxjYxS/fzvyDgn0Ny5spSiZWjMef4qIofytp9oUjhh5lXVW7y\n9NyEmcWEymK+WmfF8+1CM2DPwjH9NXXZCl7vU9fpzK15VSAHJJ69YF3o5I4k\naE0y\r\n=/Vso\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDXtbXcuLBWpxMKJS9VGUpoQr46Ti6/9RaCanipI7EhzAiAsMNZtF4ucTyeBslx9p8vAltV4AmeWgmU0+y+K9r50zg=="}]},"maintainers":[{"name":"matthewp","email":"matthew@matthewphillips.info"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/editable-title_1.0.2_1547309873402_0.9295814592792504"},"_hasShrinkwrap":false}},"time":{"created":"2018-12-28T12:06:25.243Z","1.0.0":"2018-12-28T12:06:25.363Z","modified":"2022-04-30T21:13:48.731Z","1.0.1":"2019-01-12T15:40:30.401Z","1.0.2":"2019-01-12T16:17:53.610Z"},"maintainers":[{"name":"matthewp","email":"matthew@matthewphillips.info"}],"homepage":"https://github.com/matthewp/editable-title#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/matthewp/editable-title.git"},"bugs":{"url":"https://github.com/matthewp/editable-title/issues"},"license":"BSD-2-Clause","readme":"# &lt;editable-title&gt;\n\nThe `<editable-title>` component allows a title that can be modified.\n\n```html\n<editable-title>\n  <h1>Title Here</h1>\n</editable-title>\n```\n\n![showing off the component](https://user-images.githubusercontent.com/361671/51075088-d4841280-1654-11e9-8348-82d7a3459ce9.gif)\n\n\n## Installation\n\n```shell\nnpm install editable-title\n```\n\n## API\n\n### [open]\n\n`open` is available as both an attribute and a property. When the editable title is open it will display the edit mode. When it is not open, the title will be displayed.\n\n```html\n<editable-title open>\n  <h1>Title Here</h1>\n</editable-title>\n```\n\nOr modify the property:\n\n```js\nlet editableTitle = document.querySelector('editable-title');\n\neditableTitle.open = false;\n```\n\n### change event\n\nAny time the title changes, a `change` event is fired. The `event.detail` contains a string of the new title.\n\n```js\nlet editableTitle = document.querySelector('editable-title');\n\neditableTitle.addEventListener('change', ev => {\n  console.log('New title is', ev.detail);\n});\n```\n\n## Styling\n\nThese variables are available:\n\n### --input-height\n\nControls the `height` of the input.\n\n### --input-width\n\nControls the `width` of the input.\n\n### --input-font-size\n\nControls the `font-size` of the input.\n\n### --input-outline\n\nControls the `outline` of the input.\n\n### --button-font-size\n\nControls the `font-size` of all buttons.\n\n### --button-background-color\n\nControls all buttons' `background-color` style.\n\n### --button-border\n\nControls the border of all buttons.\n\n## License\n\nBSD-2-Clause","readmeFilename":"readme.md","description":"The `<editable-title>` component allows a title that can be modified."}