{"_id":"share-menu","_rev":"19-8225920c7738007b7e5a8c24dc15e41e","name":"share-menu","dist-tags":{"latest":"5.1.0"},"versions":{"3.0.0-rc.1":{"name":"share-menu","version":"3.0.0-rc.1","description":"A complete and simple to use share menu.","main":"share-menu.js","module":"share-menu.js","types":"share-menu.d.ts","scripts":{"start":"run-p watch serve browser-sync","watch":"tsc -w","serve":"polymer serve --npm -p 8082","browser-sync":"browser-sync start --proxy 'localhost:8082' --port 8080 --ui-port 8081 --files 'demo' 'share-menu.js'","build":"tsc","lint":"tslint -p .","format":"tslint -p . --fix"},"devDependencies":{"@polymer/iron-demo-helpers":"^3.0.2","@polymer/iron-flex-layout":"^3.0.1","@polymer/paper-button":"^3.0.1","@polymer/paper-input":"^3.0.1","@polymer/paper-styles":"^3.0.1","@polymer/paper-toggle-button":"^3.0.1","@webcomponents/webcomponentsjs":"^2.1.3","browser-sync":"^2.26.0","npm-run-all":"^4.1.3","polymer-cli":"^1.8.0","tslint":"^5.11.0","typescript":"^3.1.2"},"repository":{"type":"git","url":"git+https://github.com/Dabolus/share-menu.git"},"keywords":["custom-element","web-component","share-menu","web-share-api"],"author":{"name":"Giorgio Garasto","email":"giorgio@garasto.it"},"license":"MIT","bugs":{"url":"https://github.com/Dabolus/share-menu/issues"},"homepage":"https://github.com/Dabolus/share-menu#readme","gitHead":"dd1f74e6848b1dbcef1b05667b97931c56d1eeb6","_id":"share-menu@3.0.0-rc.1","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"dabolus","email":"giorgio@garasto.it"},"dist":{"integrity":"sha512-XbnDmbOzewIZKZ6KJdecNn3zQsIaPMZ7lnxrinqgPb/9S599zjJEBum/4Om84zT97da0W0bYS2KWu6XJDEeTrw==","shasum":"bd46128acbfa14a343799a4fb0d36f37cb37a730","tarball":"https://registry.npmjs.org/share-menu/-/share-menu-3.0.0-rc.1.tgz","fileCount":7,"unpackedSize":104470,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbwym1CRA9TVsSAnZWagAAPmIP/1tF/EPJJX8RF3P3W646\n0LxGwaD8A0Kfd/I+/K3XvwCkiR4AZmNuWpWbY5IkmaLJpRNWm+/kBPA7J/7u\nw1qlvR9oWBbKo9tYQut23vmIrtWgT0ZB9HwIDMvPYgrKuwus9/Zw0YNWCWlP\nVankQRDdoA9F85i8qRrk38fgssdY0+BNN5KtuSek2YKi2DhXhaul1+FLgprG\nVsxWnfsk0U+G0PnQvph07WzSwjKdz1XBCHSFe6jNXi0YnHU8bLA5RYusF6Fp\nI/j7KsBLRSyUtEkoLvRE+Sxk/3HBi7jw86mkTuUB/IVLkNMhOJ0WJt7vO+P7\nEXRgeAkLdv/FNXmLrC886e5me/1zr7pnKDUm0J35+nZBZfFudCN7C7X15osL\ng6Ds5Nr7FU6Z8M9DI/UrLiFJsmkB0Z4dtuKmX7O+TvGK5IN91sa+GHGXJ4Wn\nLVpd9iQ2RUaufXknENmA/cxbd2R3gRSwOcpX2atPA0ALMg424S4hio8PJL7R\nup3eJnnbdDAnasKjd5SV/07WVXCIVYPtkPwM2f9Hwk/xOrz0Y9VZUH+aWyUX\nzmqKU8RybTDTBFsyMJIKm2rMQ18vFDYMby/3WSV69t3i9QIKiuPSVUhbzG0e\nIrDGXRnyfN61g2q+1Py4XFTeyFkVF7x57SIPJMYQGCqQHbkFqL6E1RcYQ9Tf\nIKz6\r\n=FN0D\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQVYj7/DPYGCe34WwHDPRcSfvAFZ+pJjC0b7PxoLTo2wIhAJ/TfW70Lg+a7r10B1XS49RWPvSkso+8Grpw67viCFB8"}]},"maintainers":[{"name":"dabolus","email":"giorgio@garasto.it"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/share-menu_3.0.0-rc.1_1539516852934_0.019428124450176387"},"_hasShrinkwrap":false},"3.0.0-rc.2":{"name":"share-menu","version":"3.0.0-rc.2","description":"A complete and simple to use share menu.","main":"share-menu.js","module":"share-menu.js","types":"share-menu.d.ts","scripts":{"start":"run-p watch serve browser-sync","watch":"tsc -w","serve":"polymer serve --npm -p 8082","browser-sync":"browser-sync start --proxy 'localhost:8082' --port 8080 --ui-port 8081 --files 'demo' 'share-menu.js'","build":"tsc","lint":"tslint -p .","format":"tslint -p . --fix"},"devDependencies":{"@polymer/iron-demo-helpers":"^3.0.2","@polymer/iron-flex-layout":"^3.0.1","@polymer/paper-button":"^3.0.1","@polymer/paper-input":"^3.0.1","@polymer/paper-styles":"^3.0.1","@polymer/paper-toggle-button":"^3.0.1","@webcomponents/webcomponentsjs":"^2.1.3","browser-sync":"^2.26.0","npm-run-all":"^4.1.3","polymer-cli":"^1.8.0","tslint":"^5.11.0","typescript":"^3.1.2"},"repository":{"type":"git","url":"git+https://github.com/Dabolus/share-menu.git"},"keywords":["custom-element","web-component","share-menu","web-share-api"],"author":{"name":"Giorgio Garasto","email":"giorgio@garasto.it"},"license":"MIT","bugs":{"url":"https://github.com/Dabolus/share-menu/issues"},"homepage":"https://github.com/Dabolus/share-menu#readme","gitHead":"a161ee2eb52713ee65c83c053e456fb988f44359","_id":"share-menu@3.0.0-rc.2","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"dabolus","email":"giorgio@garasto.it"},"dist":{"integrity":"sha512-SPREe5ffw6ksO6xt5cyb0qYkfK8Yuq2clAtnXvPPxTMSHwXswnxuKME/dfXpp8T+VEMyAALlXiPbd01oZkzlMA==","shasum":"c5a491de9aedec4042a331029ff78c8898b8118e","tarball":"https://registry.npmjs.org/share-menu/-/share-menu-3.0.0-rc.2.tgz","fileCount":7,"unpackedSize":112560,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbw45hCRA9TVsSAnZWagAAoYYP/3EzDabNe75SPIbZHkH5\nTwhPvSxmCKdT3S1gUFGWdGfaqgRvonWG5ZX0eDXk95CiPMhX/og1X8rVKEGJ\nZiICwcMh7fMOxcppaFX7TKZt97fKTf6rKAYnji1rjFL5i5Y2cg+ezGkJx9kG\no6uaNzYKiVJiyR6e8AhfpMx9MVwHk6Hoq8nuclutLmLsy7cx1lUMK0R2U622\n7LQzodU4c7BH8TVGeSCFlrscDomcgCpfipBGVV2ycrWMzedhbqphmvNLhZKN\neoMq8f3VZvN+9HYZNz9g9pU4DPhCgtCo2XP+RLzTWTAyDQ+L/4jd8sM9daqH\nZk4FOZtkvHYy0igJgNxyF7WcWdyQLowpY7z70Y4zD/nnGKxx8XPwjNRpasRx\nefBIIla9d3prUieUyPFOLMvzIfQ5Gakd0vcC/lPpER5C5NsEqyUkPIgIv0T7\nQNAbTP5pdl5WW9ZnP7kkd2n8q+aQrSgJ1FX2qsDY6r1jiOFOm57QftfxxC6S\nS6Ybk8raLaOJhtgEqQnY2XV9JVH2pVvnea4DhQYVTjqr4G6bQ/DaBlGRjbg1\nXIAZgvdU0W4lrDiTfrmLkKor2hyiai6lmHNirVnuM4VzOQxNeADl/7hsMxTr\nAH00FRex8ilUSFtPOWiKcjQG8Kxu9QvLykOcUjOprdYIm9N7nnk8xKHNhd8O\ny5B+\r\n=XfvB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmmmsvvYFqQP4gB/Hkv9mEAE3oD28XeVAxp3ZgaPMSFgIhAJJh7Na7P+VBud+7O6BV7nV5FDaGWm95yXgDZFSjACM7"}]},"maintainers":[{"name":"dabolus","email":"giorgio@garasto.it"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/share-menu_3.0.0-rc.2_1539542624928_0.4178561489492376"},"_hasShrinkwrap":false},"3.0.0":{"name":"share-menu","version":"3.0.0","description":"A complete and simple to use share menu.","main":"share-menu.js","module":"share-menu.js","types":"share-menu.d.ts","scripts":{"start":"run-p watch serve browser-sync","watch":"tsc -w","serve":"polymer serve --npm -p 8082","browser-sync":"browser-sync start --proxy 'localhost:8082' --port 8080 --ui-port 8081 --files 'demo' 'share-menu.js'","build":"tsc","lint":"tslint -p .","format":"tslint -p . --fix"},"devDependencies":{"@polymer/iron-demo-helpers":"^3.0.2","@polymer/iron-flex-layout":"^3.0.1","@polymer/paper-button":"^3.0.1","@polymer/paper-input":"^3.0.1","@polymer/paper-styles":"^3.0.1","@polymer/paper-toggle-button":"^3.0.1","@webcomponents/webcomponentsjs":"^2.1.3","browser-sync":"^2.26.0","npm-run-all":"^4.1.3","polymer-cli":"^1.8.0","tslint":"^5.11.0","typescript":"^3.1.2"},"repository":{"type":"git","url":"git+https://github.com/Dabolus/share-menu.git"},"keywords":["custom-element","web-component","share-menu","web-share-api"],"author":{"name":"Giorgio Garasto","email":"giorgio@garasto.it"},"license":"MIT","bugs":{"url":"https://github.com/Dabolus/share-menu/issues"},"homepage":"https://github.com/Dabolus/share-menu#readme","gitHead":"59916f7c23ebd4f084dabaa209d2b4a1fbd64ecc","_id":"share-menu@3.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"dabolus","email":"giorgio@garasto.it"},"dist":{"integrity":"sha512-TB7rZyQmpE2MfJgSz4nG4mbY4oIIr6nrJZvlI3EGOn5+D5a6wsVnNpfp4MHBu1qq8Qm3NrjaYVCLM9FmnYbKMA==","shasum":"923c9307f15b19acd395eb90262a6b679d88bb74","tarball":"https://registry.npmjs.org/share-menu/-/share-menu-3.0.0.tgz","fileCount":7,"unpackedSize":116436,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxkQJCRA9TVsSAnZWagAAhPIP/RGtSQO4BUbJ2QF3MDKN\n7Zspgd29noc1+m/CXEH+4Fr7UiIRWZ4GMrOuRUmlzQW2IQarIcy3s9KB5DX1\njeolLe/UiKei1evLNOkrpIU8zVxJLpViC6qj9l9cflrSk8PIg4Ed8InX+Oi4\nJ8arJPkww9Vcz8z6HifE5dc3QN33BxcTSHxFahshLPNEqIgtZGqSRntmm7Gj\nvXH/5sxJfgudYJuBA96EFDJEpFYvI/Z4DeURqV5OEOmAyuGbAn/tITb2OEL4\nFAWlJbgJj9xIWIX3xBfLFBSF+wH2tjuPo6+X1dtSN+BYgf7mLVHg7zMplDme\nAYoInGqzHgAtwKcC4RAED/GqPtjGpiYR/C7GgrSWCJlkRRq4s2v/IDBh/mE7\nOmnwsR5jBZPREVrkklDz9VL/ZMwZBOuvyfPxjqCt2e87TM0qLlJwP0a4Dpdk\nSxrU922zP873+QAy8rd3FpZa7kcpNOX8ihWpT5/4u/uvceDj9n37u5PXx96Z\nqMc9VkHcxzj82dqJSXy6rSNEmoAkrBS+mdckCDf9F33XBUWbqd+YZ9URSrNg\n/4//KnMov4d3RRAq6UvLDSJcEhHiFB6lzme82kqYLSbgEunewMtfhBWjPLC4\nSu8CtgHun4ntfpVXrnV6nSo9/gDDkS7sGCZCf9zC1wTML0C6uSRAWcKQUSj2\nBToj\r\n=LnvV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9o6S8cxTrZh/ajVBRuIS6JnNxGWahKdGuotiTZI+IwwIhANA12ZnEZFYzRha9qz+VwHHStlLWhqxz0rE3DSHRoXCg"}]},"maintainers":[{"name":"dabolus","email":"giorgio@garasto.it"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/share-menu_3.0.0_1539720198027_0.8258689532938053"},"_hasShrinkwrap":false},"3.0.1":{"name":"share-menu","version":"3.0.1","description":"A complete and simple to use share menu.","main":"share-menu.js","module":"share-menu.js","browser":"share-menu.iife.js","types":"share-menu.d.ts","scripts":{"start":"run-p watch serve browser-sync","watch":"rollup -w -c rollup.config.ts","serve":"polymer serve --npm -p 8082","browser-sync":"browser-sync start --proxy 'localhost:8082' --port 8080 --ui-port 8081 --files 'demo' 'share-menu.js'","build":"rollup -c rollup.config.ts","lint":"tslint -p .","format":"tslint -p . --fix","prepublishOnly":"npm run build"},"devDependencies":{"@polymer/iron-demo-helpers":"^3.0.2","@polymer/iron-flex-layout":"^3.0.1","@polymer/paper-button":"^3.0.1","@polymer/paper-input":"^3.0.1","@polymer/paper-styles":"^3.0.1","@polymer/paper-toggle-button":"^3.0.1","@webcomponents/webcomponentsjs":"^2.1.3","browser-sync":"^2.26.0","npm-run-all":"^4.1.3","polymer-cli":"^1.8.0","rollup":"^0.68.0","rollup-plugin-typescript2":"^0.18.1","tslint":"^5.11.0","typescript":"^3.1.2"},"repository":{"type":"git","url":"git+https://github.com/Dabolus/share-menu.git"},"keywords":["custom-element","web-component","share-menu","web-share-api"],"author":{"name":"Giorgio Garasto","email":"giorgio@garasto.it"},"license":"MIT","bugs":{"url":"https://github.com/Dabolus/share-menu/issues"},"homepage":"https://github.com/Dabolus/share-menu#readme","gitHead":"adbd6413c9bbf8bc43eea48fab5c231003995643","_id":"share-menu@3.0.1","_npmVersion":"6.5.0","_nodeVersion":"10.6.0","_npmUser":{"name":"dabolus","email":"giorgio@garasto.it"},"dist":{"integrity":"sha512-YOAMpKdz91cOL22ZKHaeXUp/ptMNdGXle32HQFbuVPJHt82ukMlpdmP9T5FjHWSgUCiG3CWGQOjhj1eyRnBWBA==","shasum":"bffcd0b2c09dc96303052389d5181459d20be1a6","tarball":"https://registry.npmjs.org/share-menu/-/share-menu-3.0.1.tgz","fileCount":9,"unpackedSize":189509,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGqmGCRA9TVsSAnZWagAA0fYP/iCindDnmzdhynfN5tzs\nMz2dXf8Ea/c/uj5k+HHg4o3qEC2oF3tM5RR81LVjJFGUYIB3ccIE+5AzY5DJ\nQOZIQPR45vTR/WIqhmk9KQcEiFLpq0O1eA7/imHxZsta2CY4r4zBwxDxNCPu\nB1PO7ksZSt20Y6gI8wbyVa3KFlEgDOb1bhfFI9b8NfDLeONtZtaI0p8VJ5VW\nxWHtwgVEK3jlCRs9ss1n0yvs+XMuMXoolvcD89qiH4uoChTjRGvoUijHGuqo\nj0lH9aBirbUYez7dc3b7NcRsNkCD9ePXl6SuxaZzMt/Qu2TctpLGW4t9TgTp\n6hETLx0ms/ksr/1gfeALQzYBqG/7+ducv41AOa1As/H1NzCQC5OsmDN8Y9Ym\nD7CYzavQ3j58dxQQMVKb27QT4nvcgPvtNDqnMCYcWHZvu5OgqEYEBYCOajni\nScpfBOytGigFUviqCpXxkYKG+Kqm8scGmljgv8xflDD9MbT3cb/KBgcnK7s1\n9I9kbgAUlFP+1gHiIPsCHLlAtdHBhamwN2DPNSNUJ5cGz3vAKUP6iBkBz4/e\nLuaUdKYEnEnNQuO85jxhUEnEkNfs9HG87jz7+sZKdEHcfirfVWQDcpmynH2H\nUdUkl1NQbX0/DmpWePt/QthGUrIxhfXecrTDcPVbMFhGV1vgxe4Im+2ITvSB\nyN+n\r\n=APzU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDw1GGpX7q4s7uYF8lhLliw+kM7qu+lnkkIKMwRyiY7EQIgXwbipmuIYYwwImo162MGL9wzZH/GohlyCtsEPnKotzM="}]},"maintainers":[{"name":"dabolus","email":"giorgio@garasto.it"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/share-menu_3.0.1_1545251205304_0.24729249614108317"},"_hasShrinkwrap":false},"3.0.2":{"name":"share-menu","version":"3.0.2","description":"A complete and simple to use share menu.","main":"share-menu.js","module":"share-menu.js","browser":"share-menu.iife.js","types":"share-menu.d.ts","scripts":{"start":"run-p watch serve browser-sync","watch":"rollup -w -c rollup.config.ts","serve":"polymer serve --npm -p 8082","browser-sync":"browser-sync start --proxy 'localhost:8082' --port 8080 --ui-port 8081 --files 'demo' '*.js'","build":"NODE_ENV=production rollup -c rollup.config.ts","lint":"tslint -p .","format":"tslint -p . --fix"},"devDependencies":{"@polymer/iron-demo-helpers":"^3.0.2","@polymer/iron-flex-layout":"^3.0.1","@polymer/paper-button":"^3.0.1","@polymer/paper-input":"^3.0.1","@polymer/paper-styles":"^3.0.1","@polymer/paper-toggle-button":"^3.0.1","@webcomponents/webcomponentsjs":"^2.2.1","browser-sync":"^2.26.3","npm-run-all":"^4.1.5","polymer-cli":"^1.9.3","rollup":"^0.68.1","rollup-plugin-minify-html-literals":"^1.1.2","rollup-plugin-terser":"^3.0.0","rollup-plugin-typescript2":"^0.18.1","tslint":"^5.12.0","typescript":"^3.2.2"},"repository":{"type":"git","url":"git+https://github.com/Dabolus/share-menu.git"},"keywords":["custom-element","web-component","share-menu","web-share-api"],"author":{"name":"Giorgio Garasto","email":"giorgio@garasto.it"},"license":"MIT","bugs":{"url":"https://github.com/Dabolus/share-menu/issues"},"homepage":"https://github.com/Dabolus/share-menu#readme","gitHead":"71859a8015d1011ebbbb6dc23198ee704f7ab24b","_id":"share-menu@3.0.2","_npmVersion":"6.5.0","_nodeVersion":"10.6.0","_npmUser":{"name":"dabolus","email":"giorgio@garasto.it"},"dist":{"integrity":"sha512-2SMAZCDHZP3Tf8kJHRHDfV/4R6FhxzB7OJIK5nSEy+8nPaIwbCtpDqmhI9sHk0UkADSFs0mReDxTXNCP3ToM7g==","shasum":"c04b063b064f9bd4fe06cbf13df72a642a8ef805","tarball":"https://registry.npmjs.org/share-menu/-/share-menu-3.0.2.tgz","fileCount":13,"unpackedSize":290176,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcHU8HCRA9TVsSAnZWagAASDMP/imB8JMjzljQSr3o/Pmn\ncJoDtUHpQkNT84gRBpAAgqRNVpssBhYBJSTxKnPkw5e66PKdH0qp7SubqYP6\njuYtFGY4X8+ORWnFpTtiagc8TQZeCFMb2UP3HAa2FP2E3YRhMT58N7SWw5Qr\nzDBcloZbEMYWY/vOIgmKKOgtCS9ClQAqxtfoRCfEQbxfcvbEh2EJR+C4EsQE\nrKfDlTkXVUmezxJIE2iLcxuW/hwXgwg4AEEDGwE6vwn6vc0LkNgc1Bhdkjj3\ncEybOpxCKwRLh5eHYlq7TYG0FH3Qz7/gge08PSjcSDfgjiLYwJam4Efqlvbi\ntkmBBuqn6LF85kCB2BVDHGxWjAtevSLi+uIHcAK9N+IEFCTxCh+vVsPkNqaF\nk9uajwdrGcLtk0pw9d+mPNHRvbSPq53ORQC2/fo3WzuY1vwL3CBJoWbwRvKj\nXdWz6dZYEwt0dEvc57pk9R7E8SqWlx+1SbBrRJ4up2NfkAref+pv8Y8+Ub16\ns3RNar/QxGY3lo3VCp/oovkBKJAwmUI8WaFwtW5SQoAbkhQNFDCyd3n9yrCl\nbTY5HUf231IKsqjtAkCxCRoP/fXDwxYPnmHKVA1PCsiwZ2mwhsB48NAVqWHo\nf1NF8Zz7nOt/HexGdAghcksU8ys0UYeEiOfGs7Y2bCl9JTOfpRYcHN6Wn+5k\nzBak\r\n=M8FT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDRv4jL4QYXXMst/9nFVNxc8pV2WKjDMPPFiyLvlyrV6AIhAMoKZFNAHs0HD71u/VO6gNPYeCf4HXZ1/1XwGBTnxM3Q"}]},"maintainers":[{"name":"dabolus","email":"giorgio@garasto.it"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/share-menu_3.0.2_1545424646439_0.088009235002668"},"_hasShrinkwrap":false},"4.0.0-rc.1":{"name":"share-menu","version":"4.0.0-rc.1","description":"A complete and simple to use share menu.","main":"share-menu.js","module":"share-menu.js","browser":"share-menu.iife.js","types":"share-menu.d.ts","scripts":{"start":"run-p watch serve browser-sync","watch":"rollup -w -c rollup.config.ts","serve":"polyserve --npm -p 8082","browser-sync":"browser-sync start --proxy 'localhost:8082' --port 8080 --ui-port 8081 --files 'demo' '*.js'","build":"NODE_ENV=production rollup -c rollup.config.ts","test":"jest","lint":"tslint -p .","format":"tslint -p . --fix","prepublishOnly":"npm run build"},"devDependencies":{"@polymer/iron-demo-helpers":"^3.0.2","@polymer/iron-flex-layout":"^3.0.1","@polymer/paper-button":"^3.0.1","@polymer/paper-input":"^3.0.1","@polymer/paper-styles":"^3.0.1","@polymer/paper-toggle-button":"^3.0.1","@skatejs/ssr":"^0.19.11","@types/jest":"^23.3.10","@webcomponents/webcomponentsjs":"^2.2.1","browser-sync":"^2.26.3","jest":"^23.6.0","npm-run-all":"^4.1.5","polyserve":"^0.27.14","rollup":"^0.68.1","rollup-plugin-minify-html-literals":"^1.1.2","rollup-plugin-terser":"^3.0.0","rollup-plugin-typescript2":"^0.18.1","ts-jest":"^23.10.5","tslint":"^5.12.0","typescript":"^3.2.2"},"repository":{"type":"git","url":"git+https://github.com/Dabolus/share-menu.git"},"keywords":["custom-element","web-component","share-menu","web-share-api"],"author":{"name":"Giorgio Garasto","email":"giorgio@garasto.it"},"license":"MIT","bugs":{"url":"https://github.com/Dabolus/share-menu/issues"},"homepage":"https://github.com/Dabolus/share-menu#readme","readme":"# \\<share-menu\\>\n[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/share-menu)\n[![GitHub release](https://img.shields.io/github/release/Dabolus/share-menu/all.svg)](https://github.com/Dabolus/share-menu)\n[![Build status](https://travis-ci.org/Dabolus/share-menu.svg?branch=master)](https://travis-ci.org/Dabolus/share-menu)\n[![Minified + gzipped size](https://img.shields.io/bundlephobia/minzip/share-menu.svg)](https://bundlephobia.com/result?p=share-menu)\n\n_[Demo and API docs](https://www.webcomponents.org/element/Dabolus/share-menu)_\n\nA complete and simple to use share menu that uses \n[Web Share API](https://developers.google.com/web/updates/2016/10/navigator-share) \nwhen possible, with a fallback to a nice share menu that tries to emulate the \nexperience of the native one.\n\n## Features\n- Incredibly simple to use. Just set the `title`, `text`, `url` and `via` \n  properties and call the `share()` method to make the magic happen.\n- Highly customizable. It offers a great material design UI by default, but \n  it is also designed to be as much customizable as possible through CSS custom \n  properties and shadow parts.\n- Compatible with any major browser. The Web Share API is still quite young, but \n  the fallback dialog works on any browser supporting Custom Elements (directly \n  or through a polyfill). Unlike the native share menu, the fallback will also \n  work on desktop browsers and insecure contexts, so you will be able to offer \n  a much more coherent experience to your users.\n\n## Installation\n```bash\nnpm i share-menu\n# or\nyarn add share-menu\n```\n\n## Without npm/yarn\nIf you don't use npm or yarn, an IIFE (Immediately Invoked Function Expression) \nversion of the element is also provided. The IIFE version of the element can \nalso be used if you're still on Bower  (e.g. if you're using Polymer < 3). To \nuse it, just use the `unpkg` CDN:\n\n```html\n<script src=\"https://unpkg.com/share-menu/social-icons.iife.min.js\"></script>\n<script src=\"https://unpkg.com/share-menu/share-menu.iife.min.js\"></script>\n```\n\n## Try it now!\nTry copy-pasting this code on your browser's console in any website:\n```js\nvar a=document.createElement(\"script\");a.type=\"module\";a.textContent=\"import'https://unpkg.com/share-menu/share-menu.min.js';var a=document.createElement('share-menu');document.body.appendChild(a),a.share()\";document.head.appendChild(a);\n```\n...or the IIFE version\n```js\nvar a=document.createElement(\"script\");a.src=\"https://unpkg.com/share-menu/share-menu.iife.min.js\";a.onload=()=>{var c=document.createElement(\"share-menu\");document.body.appendChild(c);c.share()};var b=document.createElement(\"script\");b.src=\"https://unpkg.com/share-menu/social-icons.iife.min.js\";b.onload=()=>document.head.appendChild(a);document.head.appendChild(b);\n```\n_**Note:** these scripts will not work if the website implements a strict CSP \n(Content Security Policy). For example, these scripts won't work on GitHub._\n\n## Usage\n#### Basic usage\n```html\n<share-menu id=\"shareMenu\" title=\"Ohai!\" text=\"Just a test\" url=\"https://www.example.com/\"></share-menu>\n\n<button onclick=\"shareMenu.share()\">Share!</button>\n```\n#### All the properties set\n```html\n<share-menu\n  title=\"Awesome!\"\n  text=\"More customized share menu\"\n  url=\"https://www.example.com/\"\n  via=\"Dabolus\"\n  dialog-title=\"Share now!\"\n  is-image=\"auto\"\n  no-backdrop>\n</share-menu>\n```\n\n## Supported socials (in the fallback dialog)\nHere you can see the list of the supported socials, as well as the limitations \nthat each one gives:\n\n - Baidu - _URL and title only_\n - Blogger\n - Buffer - _URL and title only_\n - Copy to clipboard\n - Delicious - _URL and title only_\n - Digg - _URL and title only_\n - Douban - _URL and title only_\n - Email\n - Evernote - _URL only_\n - Facebook - _URL only if not using [Facebook JS SDK](https://developers.facebook.com/docs/javascript)_\n - FlipBoard - _URL and title only_\n - Google+ - _URL only_\n - Instapaper\n - Line - _URL only_\n - LinkedIn\n - LiveJournal\n - Myspace\n - Odnoklassniki (OK.ru) - _URL and title only_\n - Pinterest - _Will only be visible if the URL is an image. Look for the `isImage` parameter on the API docs for more info_\n - Pocket - _URL only_\n - Print - _Only prints the page at the given URL_\n - QZone - _URL only_\n - Reddit - _Shares an URL if there is no text provided, otherwise a text with the URL appended at the end will be shared._ \n - RenRen - _Currently disabled because it does not seem to work_\n - Skype - _URL only_\n - SMS\n - StumbleUpon - _URL and title only_\n - Telegram\n - Translate - _Only translates the page at the given URL_\n - Tumblr\n - Twitter\n - Viber\n - VKontakte - _URL only_\n - Weibo\n - WhatsApp\n - WordPress\n - Xing - _URL only_\n - Yahoo\n\n_The `via` parameter will only be used by Delicious, LinkedIn and Twitter._\n\n## Icons\nThe icons used by the component are just simple SVGs, so you can use them anywhere in your app simply by importing \n`social-icons.js` located in this package.\n\n## Styling\nThe following custom properties and shadow parts are available for styling:\n\n| Property             | Description                                                       | Default              |\n| -------------------- | ----------------------------------------------------------------- | -------------------- |\n| `--backdrop-color`   | The color of the backdrop                                         | `#000`               |\n| `--background-color` | The background color of the fallback dialog                       | `#fff`               |\n| `--title-color`      | The color of the title of the fallback dialog                     | `rgba(0, 0, 0, .6)`  |\n| `--ripple-color`     | The color of the ripple of the fallback dialog                    | `#000`               |\n| `--labels-color`     | The color of the social labels of the fallback dialog             | `rgba(0, 0, 0, .87)` |\n| `dialog`             | The part assigned to the fallback dialog                          | `-`                  |\n| `backdrop`           | The part assigned to the backdrop of the fallback dialog          | `-`                  |\n| `title`              | The part assigned to the title of the fallback dialog             | `-`                  |\n| `social-button`      | The part assigned to each social button of the fallback dialog    | `-`                  |\n| `social-icon`        | The part assigned to each social icon of the fallback dialog      | `-`                  |\n| `social-label`       | The part assigned to each social label of the fallback dialog     | `-`                  |\n","readmeFilename":"README.md","gitHead":"a9e989d5a31361f10cc4949d0df96bbefd16450a","_id":"share-menu@4.0.0-rc.1","_npmVersion":"6.5.0","_nodeVersion":"10.6.0","_npmUser":{"name":"dabolus","email":"giorgio@garasto.it"},"dist":{"integrity":"sha512-lCUjDwoLxK9BY5jagrPcg0jbBX5ngUVASk/9oPrj5LH+TE8UkkpY/PtnDpYT2exJfwC2Hp1PtlGcpq7fFFQTlw==","shasum":"4b17a395e5567ef50e99fb580bfff4dd73ee040f","tarball":"https://registry.npmjs.org/share-menu/-/share-menu-4.0.0-rc.1.tgz","fileCount":13,"unpackedSize":194796,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcJU8WCRA9TVsSAnZWagAAX9oP/jT01m6jQpFUDOjRDixR\nQQZfT0oF1qLlala0RF8EQL8beOs422bseSw8PkGwI19lonG+QiaTYyCxOZnp\nqTC2UpDmpiNWDsAChq4h8Dzdu+6UqBqcsuAd5h/RcLYYKBzimQf+//ZOa0fy\nyk3dRSapUx4zmh/Cd53OkRs3yoCt5mc3qSFnjfUUIiM7qRxjVQd3iH0dKwsn\nR4/bSlcLGcFj7eKRRIrk20VDY6dkmTQ142qMBkXAPq5WTXcds3nv+ebh4CMN\nr+SxTsaidxkbswb4G+TeDbici0gXSdUi73YjB7MsMYmNmbV4UY9DfUrvnGNc\nvKFm38dIvNmvx9EPPjT4liWAxUWi7sZjJETwSa3KiXUc/KyK36U/VEusAbRO\nDaOv6SyX+4wmpPYsASd2ihu7PUxwEiGtzo3VKPVON60wnYQ5FiPLmHqDXZCA\noW8c3gQnt3Mg6+O2YBg4fPFRzHw2iug05oNUFqedA5V8hwkE4xWWj8TwgA79\nZsvkaPPW/vIa6ou+T8sgIx9XuCQQVc8plVPl/hFXkDG9pdDxk04vFIl530Q5\nCfgu490Whf2eWCGQstNAm0zgXUeeN+7bcHKoU5W6yjA/MEUGe0kX5/VE/U/o\nxKPiD6DN+81MJ6Lk9K+Eo31FDt9vTY5tpI5WQvYwJ4GJBjfjrHxYRwoa7ttm\nJHT3\r\n=5WQj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4fzafqPkN1LNnNMcAf+/sTnm+94sB/LLsg6hPT2hbUAIhAKVqRtnTsVXolTPEJD8213MjKgJWo17FOdZQjvCY6f8T"}]},"maintainers":[{"name":"dabolus","email":"giorgio@garasto.it"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/share-menu_4.0.0-rc.1_1545948949372_0.726443238554392"},"_hasShrinkwrap":false},"4.0.0-rc.2":{"name":"share-menu","version":"4.0.0-rc.2","description":"A complete and simple to use share menu.","main":"share-menu.js","module":"share-menu.js","browser":"share-menu.iife.js","types":"share-menu.d.ts","scripts":{"start":"run-p watch serve browser-sync","watch":"rollup -w -c rollup.config.ts","serve":"polyserve --npm -p 8082","browser-sync":"browser-sync start --proxy 'localhost:8082' --port 8080 --ui-port 8081 --files 'demo' '*.js'","build":"NODE_ENV=production rollup -c rollup.config.ts","test":"jest","lint":"tslint -p .","format":"tslint -p . --fix","prepublishOnly":"npm run build"},"devDependencies":{"@polymer/iron-demo-helpers":"^3.0.2","@polymer/iron-flex-layout":"^3.0.1","@polymer/paper-button":"^3.0.1","@polymer/paper-input":"^3.0.1","@polymer/paper-styles":"^3.0.1","@polymer/paper-toggle-button":"^3.0.1","@skatejs/ssr":"^0.19.11","@types/jest":"^23.3.12","@webcomponents/webcomponentsjs":"^2.2.3","browser-sync":"^2.26.3","jest":"^23.6.0","npm-run-all":"^4.1.5","polyserve":"^0.27.15","rollup":"^1.1.0","rollup-plugin-minify-html-literals":"^1.1.2","rollup-plugin-terser":"^4.0.2","rollup-plugin-typescript2":"^0.18.1","ts-jest":"^23.10.5","tslint":"^5.12.1","typescript":"^3.2.2"},"repository":{"type":"git","url":"git+https://github.com/Dabolus/share-menu.git"},"keywords":["custom-element","web-component","share-menu","web-share-api"],"author":{"name":"Giorgio Garasto","email":"giorgio@garasto.it"},"license":"MIT","bugs":{"url":"https://github.com/Dabolus/share-menu/issues"},"homepage":"https://github.com/Dabolus/share-menu#readme","readme":"# \\<share-menu\\>\n[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/share-menu)\n[![GitHub release](https://img.shields.io/github/release/Dabolus/share-menu/all.svg)](https://github.com/Dabolus/share-menu)\n[![Build status](https://travis-ci.org/Dabolus/share-menu.svg?branch=master)](https://travis-ci.org/Dabolus/share-menu)\n[![Minified + gzipped size](https://img.shields.io/bundlephobia/minzip/share-menu.svg)](https://bundlephobia.com/result?p=share-menu)\n\n_[Demo and API docs](https://www.webcomponents.org/element/Dabolus/share-menu)_\n\nA complete and simple to use share menu that uses \n[Web Share API](https://developers.google.com/web/updates/2016/10/navigator-share) \nwhen possible, with a fallback to a nice share menu that tries to emulate the \nexperience of the native one.\n\n## Features\n- Incredibly simple to use. Just set the `title`, `text`, `url` and `via` \n  properties and call the `share()` method to make the magic happen.\n- Highly customizable. It offers a great material design UI by default, but \n  it is also designed to be as much customizable as possible through CSS custom \n  properties and shadow parts.\n- Compatible with any major browser. The Web Share API is still quite young, but \n  the fallback dialog works on any browser supporting Custom Elements (directly \n  or through a polyfill). Unlike the native share menu, the fallback will also \n  work on desktop browsers and insecure contexts, so you will be able to offer \n  a much more coherent experience to your users.\n\n## Installation\n```bash\nnpm i share-menu\n# or\nyarn add share-menu\n```\n\n## Without npm/yarn\nIf you don't use npm or yarn, an IIFE (Immediately Invoked Function Expression) \nversion of the element is also provided. The IIFE version of the element can \nalso be used if you're still on Bower  (e.g. if you're using Polymer < 3). To \nuse it, just use the `unpkg` CDN:\n\n```html\n<script src=\"https://unpkg.com/share-menu/social-icons.iife.min.js\"></script>\n<script src=\"https://unpkg.com/share-menu/share-menu.iife.min.js\"></script>\n```\n\n## Try it now!\nTry copy-pasting this code on your browser's console in any website:\n```js\nvar a=document.createElement(\"script\");a.type=\"module\";a.textContent=\"import'https://unpkg.com/share-menu/share-menu.min.js';var a=document.createElement('share-menu');document.body.appendChild(a),a.share()\";document.head.appendChild(a);\n```\n...or the IIFE version\n```js\nvar a=document.createElement(\"script\");a.src=\"https://unpkg.com/share-menu/share-menu.iife.min.js\";a.onload=()=>{var c=document.createElement(\"share-menu\");document.body.appendChild(c);c.share()};var b=document.createElement(\"script\");b.src=\"https://unpkg.com/share-menu/social-icons.iife.min.js\";b.onload=()=>document.head.appendChild(a);document.head.appendChild(b);\n```\n_**Note:** these scripts will not work if the website implements a strict CSP \n(Content Security Policy). For example, these scripts won't work on GitHub._\n\n## Usage\n#### Basic usage\n```html\n<share-menu id=\"shareMenu\" title=\"Ohai!\" text=\"Just a test\" url=\"https://www.example.com/\"></share-menu>\n\n<button onclick=\"shareMenu.share()\">Share!</button>\n```\n#### All the properties set\n```html\n<share-menu\n  title=\"Awesome!\"\n  text=\"More customized share menu\"\n  url=\"https://www.example.com/\"\n  via=\"Dabolus\"\n  dialog-title=\"Share now!\"\n  is-image=\"auto\"\n  no-backdrop>\n</share-menu>\n```\n\n## Supported socials (in the fallback dialog)\nHere you can see the list of the supported socials, as well as the limitations \nthat each one gives:\n\n - Baidu - _URL and title only_\n - Blogger\n - Buffer - _URL and title only_\n - Copy to clipboard\n - Delicious - _URL and title only_\n - Digg - _URL and title only_\n - Douban - _URL and title only_\n - Email\n - Evernote - _URL only_\n - Facebook - _URL only if not using [Facebook JS SDK](https://developers.facebook.com/docs/javascript)_\n - FlipBoard - _URL and title only_\n - Google+ - _URL only_\n - Instapaper\n - Line - _URL only_\n - LinkedIn\n - LiveJournal\n - Myspace\n - Odnoklassniki (OK.ru) - _URL and title only_\n - Pinterest - _Will only be visible if the URL is an image. Look for the `isImage` parameter on the API docs for more info_\n - Pocket - _URL only_\n - Print - _Only prints the page at the given URL_\n - QZone - _URL only_\n - Reddit - _Shares an URL if there is no text provided, otherwise a text with the URL appended at the end will be shared._ \n - RenRen - _Currently disabled because it does not seem to work_\n - Skype - _URL only_\n - SMS\n - StumbleUpon - _URL and title only_\n - Telegram\n - Translate - _Only translates the page at the given URL_\n - Tumblr\n - Twitter\n - Viber\n - VKontakte - _URL only_\n - Weibo\n - WhatsApp\n - WordPress\n - Xing - _URL only_\n - Yahoo\n\n_The `via` parameter will only be used by Delicious, LinkedIn and Twitter._\n\n## Icons\nThe icons used by the component are just simple SVGs, so you can use them anywhere in your app simply by importing \n`social-icons.js` located in this package.\n\n## Styling\nThe following custom properties and shadow parts are available for styling:\n\n| Property             | Description                                                       | Default              |\n| -------------------- | ----------------------------------------------------------------- | -------------------- |\n| `--backdrop-color`   | The color of the backdrop                                         | `#000`               |\n| `--background-color` | The background color of the fallback dialog                       | `#fff`               |\n| `--title-color`      | The color of the title of the fallback dialog                     | `rgba(0, 0, 0, .6)`  |\n| `--ripple-color`     | The color of the ripple of the fallback dialog                    | `#000`               |\n| `--labels-color`     | The color of the social labels of the fallback dialog             | `rgba(0, 0, 0, .87)` |\n| `dialog`             | The part assigned to the fallback dialog                          | `-`                  |\n| `backdrop`           | The part assigned to the backdrop of the fallback dialog          | `-`                  |\n| `title`              | The part assigned to the title of the fallback dialog             | `-`                  |\n| `social-button`      | The part assigned to each social button of the fallback dialog    | `-`                  |\n| `social-icon`        | The part assigned to each social icon of the fallback dialog      | `-`                  |\n| `social-label`       | The part assigned to each social label of the fallback dialog     | `-`                  |\n","readmeFilename":"README.md","gitHead":"9f4ba5eb93acf129bced12ff8273a6cc67c31dc2","_id":"share-menu@4.0.0-rc.2","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"dabolus","email":"giorgio@garasto.it"},"dist":{"integrity":"sha512-6hbdBK1nvQ2zOz8FRNlI1P7W78/CJ2CWT3O/VnF9cVql01IaUgniQlheSnuuc2WeYlno4DbTtYyA066NL9r3sA==","shasum":"a2201adba07792f1d1799e6022e16695a0002b54","tarball":"https://registry.npmjs.org/share-menu/-/share-menu-4.0.0-rc.2.tgz","fileCount":13,"unpackedSize":194901,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOjikCRA9TVsSAnZWagAAB8IP/0pYx2DaV8Xn+10u86BC\nSy/9nJcBic+729CLS+D9U1KvyKYWfziLF1XXaMTUBMzSa9/kK3wiRUuAjyJO\n9a6FqO0pou/+WkqdZ9CJhIzmag8fi3QZYIOFxHlru+1lnhn2dpKpduP1rSuK\n8PzumIYe1zdE4fVxJ/Ds3skyz9sFf0evC46HqNQ3/y6zHNQx3eOb7YAiVaBa\nWAPcRY7vYcoqbrGx5mjfngPRy71h44MhPcurxwik9+4cHrrp6UMzt+VDeb2Z\nDGXKv/q4qj4hBHlAjI6999AMYvTP3Ggv2SJQw2DWXXjZ2Rs/LBmdhxwGf7A/\nwYd+N4Hpvionap+SjimUZvfdZHTEnSO5gL5cQcCIqgAnUrM1/KFgmKHNm/cW\nwg3zfqbXl0P+Uds+OUxw6PoqfP3toow/IQWujmT13WhEPVnSN2AYdBUX8+qU\n/b6S6R8ZP2HR6IpcO+fN3YjBczGUYUyStndfWwNg7xh0hs1bQt5j/EEUX57Z\n1Y89q7Ntnx0rqYmgMrquV8OWH4cYlM7rI7UR55qYOlIDwbbmMjgjB1eq8ald\nDEuCjS7jUfCUSUYWwnVDVyhG8SxGmsxhYvpV/0U3aDC9KLD7ztIAolB8GmFb\ncbK7Kv5o3ycdo7MkcU3voXFKEVwJjfCRlPnij0rUgwyQdSIDEjnQawMy3/80\nEnpC\r\n=pQFt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCh5JA/u+vL2GdNrLFOhQ/12/in8o9sNhlEqDamB875FQIhAMqiYuGiy88A5kLLPCi73y6zkHWimNaXYNvy3dX57yrw"}]},"maintainers":[{"name":"dabolus","email":"giorgio@garasto.it"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/share-menu_4.0.0-rc.2_1547319459756_0.13108141294718867"},"_hasShrinkwrap":false},"4.0.0-rc.3":{"name":"share-menu","version":"4.0.0-rc.3","description":"A complete and simple to use share menu.","main":"share-menu.js","module":"share-menu.js","browser":"share-menu.iife.js","types":"share-menu.d.ts","scripts":{"start":"run-p watch serve browser-sync","watch":"rollup -w -c rollup.config.ts","serve":"polyserve --npm -p 8082","browser-sync":"browser-sync start --proxy 'localhost:8082' --port 8080 --ui-port 8081 --files 'demo' '*.js'","build":"NODE_ENV=production rollup -c rollup.config.ts","test":"jest","lint":"tslint -p .","format":"tslint -p . --fix","prepublishOnly":"npm run build"},"devDependencies":{"@polymer/iron-demo-helpers":"^3.0.2","@polymer/iron-flex-layout":"^3.0.1","@polymer/paper-button":"^3.0.1","@polymer/paper-input":"^3.0.1","@polymer/paper-styles":"^3.0.1","@polymer/paper-toggle-button":"^3.0.1","@skatejs/ssr":"^0.19.11","@types/jest":"^23.3.12","@webcomponents/webcomponentsjs":"^2.2.3","browser-sync":"^2.26.3","jest":"^23.6.0","npm-run-all":"^4.1.5","polyserve":"^0.27.15","rollup":"^1.1.0","rollup-plugin-minify-html-literals":"^1.1.2","rollup-plugin-replace":"^2.1.0","rollup-plugin-terser":"^4.0.2","rollup-plugin-typescript2":"^0.18.1","ts-jest":"^23.10.5","tslint":"^5.12.1","typescript":"^3.2.2"},"repository":{"type":"git","url":"git+https://github.com/Dabolus/share-menu.git"},"keywords":["custom-element","web-component","share-menu","web-share-api"],"author":{"name":"Giorgio Garasto","email":"giorgio@garasto.it"},"license":"MIT","bugs":{"url":"https://github.com/Dabolus/share-menu/issues"},"homepage":"https://github.com/Dabolus/share-menu#readme","gitHead":"48c4c0ecd0e42716a7cdce8a5d7e7bc238eb5eb0","_id":"share-menu@4.0.0-rc.3","_nodeVersion":"10.15.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-kUFfxlWkiJe6jmBi7cemZdfS+O+MPcC5lTDEOkTaflhrK5LeRU4ASjADyo8dJuzHgOZZ2J5ybFgdgBmgx8Y+ZA==","shasum":"e2693ac13fed0e0c1c301e97c8c55a2745ecccb2","tarball":"https://registry.npmjs.org/share-menu/-/share-menu-4.0.0-rc.3.tgz","fileCount":13,"unpackedSize":197910,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUU4NCRA9TVsSAnZWagAANBYP/1x436YQJkaP50DZoyPT\nb+ZajNXXF/hT2WUgLNe7a7SWzZ05RYjMVBiI/Oq3ZUiDz6NcUEajgwZDMucv\nurrUY2Cev/+vW/KoJxXw2nu/rXO+wU0k7XCMY1zpryPBe+El/yfCUjLuqx07\nubFEGWt2BhCZwrJPyj3emnaNUFam40gGuvrz943hFjECn7XamVlxldbPAest\nmlKQKV8REHwhV2JUezsv8iMCzbzonjyF7nsZpUtYgpAXvLHRAf3HbpwUWw8a\nDwerlO6Xu+bwRV6BmnvT+b3sIGZVIl3GHErXx3vi0Ft/f3BnFoqswMWhy8ST\nk+WbwQ1+qTeXPSxv7lcHARYcZrSQVjKbCoCeQQkVVZ907bEH3zEAhy5dfxa7\nDxhvyCEa5xDOGRC05AP9g4bQU/lHmZ1a7i5F3EALpN/TW3uvJm5yTn5yXfWx\nXqP+/1JHH4CJJmm6uqyKF07VdVZ+Y4VIdaWeFChJ1ZiFk7ioqV0IlRNaOCDA\nKzbQng/MPweqmFD2+NmzuLScN7Z+jkBiTQdx1SX/96qGIrkZqOOKa1C/+Cm6\nNN4I/3E6lpA35WTpMBjZh+U6IGlmtIysAEL+xsRQJU7aR/KYK3G+JWPJ1EPM\nqFWacoWk4dkfFkx/doz9BTR84DwQOOK8uKBR4Efr0hLdSIJXDnvxKoRzZFie\nwgPv\r\n=Vo3Y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC78bDlvPdFUFldvDTp0Z5ymHyfuOsjISRADr3twoUZ6AiEAleoFF3VRSqcNGMLMoQ2AW1eRtUKCarHDIA0JdE1qoiY="}]},"maintainers":[{"name":"dabolus","email":"giorgio@garasto.it"}],"_npmUser":{"name":"dabolus","email":"giorgio@garasto.it"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/share-menu_4.0.0-rc.3_1548832268423_0.07294254372520492"},"_hasShrinkwrap":false},"4.0.0-rc.4":{"name":"share-menu","version":"4.0.0-rc.4","description":"A complete and simple to use share menu.","main":"share-menu.js","module":"share-menu.js","browser":"share-menu.iife.js","types":"share-menu.d.ts","scripts":{"start":"run-p watch serve browser-sync","watch":"rollup -w -c rollup.config.ts","serve":"polyserve --npm -p 8082","browser-sync":"browser-sync start --proxy 'localhost:8082' --port 8080 --ui-port 8081 --files 'demo' '*.js'","build":"NODE_ENV=production rollup -c rollup.config.ts","test":"jest","lint":"tslint -p .","format":"tslint -p . --fix","prepublishOnly":"npm run build"},"devDependencies":{"@polymer/iron-demo-helpers":"^3.1.0","@polymer/iron-flex-layout":"^3.0.1","@polymer/paper-button":"^3.0.1","@polymer/paper-input":"^3.0.2","@polymer/paper-styles":"^3.0.1","@polymer/paper-toggle-button":"^3.0.1","@skatejs/ssr":"^0.19.11","@types/jest":"^24.0.12","@webcomponents/webcomponentsjs":"^2.2.10","browser-sync":"^2.26.5","jest":"^24.8.0","npm-run-all":"^4.1.5","polyserve":"^0.27.15","rollup":"^1.11.3","rollup-plugin-minify-html-literals":"^1.2.2","rollup-plugin-replace":"^2.2.0","rollup-plugin-terser":"^4.0.4","rollup-plugin-typescript2":"^0.21.0","ts-jest":"^24.0.2","tslint":"^5.16.0","typescript":"^3.4.5"},"repository":{"type":"git","url":"git+https://github.com/Dabolus/share-menu.git"},"keywords":["custom-element","web-component","share-menu","web-share-api"],"author":{"name":"Giorgio Garasto","email":"giorgio@garasto.it"},"license":"MIT","bugs":{"url":"https://github.com/Dabolus/share-menu/issues"},"homepage":"https://github.com/Dabolus/share-menu#readme","gitHead":"70127e6a9e0e73b5f770cf4d37e8a1374873e946","_id":"share-menu@4.0.0-rc.4","_nodeVersion":"12.0.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-GLsk9AFV1aSneP/V+A+ReacJLeaa/nGQyMtFRNzVGMQs/hfmpWaD+FuUGDOw2CwAJ+HU4cEqTP8EvyUS/AYIXA==","shasum":"f0c7aa3e10d733212aec7b857342a23cde450530","tarball":"https://registry.npmjs.org/share-menu/-/share-menu-4.0.0-rc.4.tgz","fileCount":13,"unpackedSize":192843,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc2xMVCRA9TVsSAnZWagAA4M8P/05Ok74wv8FDpb3/As+z\n+7rPmnPYx6Ou2iJHelR64YU3O5vSnId/i4sJM4H5O51TDjZzqlO4WcaplxIb\nqhI2WA25XtW7DQm6MnVs+WyxCb8lJU2ddcOMdbyfjT1SKUqkB7N79jqnIHQj\n7jC4D6GpyY+5l6Q5RLh+RrYNcyquPIbFW4qls/F73Z5QVK7kzWZQzEOnAX2q\nQJJNckJ3QnVkf8n49PVgl/9DAJ95UGzHYXhpCNL9Y8rXuclibpDcVnnmDcyW\nRtdlj1FS+W0wmVzKnAgYUGjN+v9+H4YTOt69CsdbKfgAmsqdkMwZKm9mVSX5\nURuc/ecb6M1yRX2vj0ChLCQVDNDnWu7bZ2mFVqTMj79bkRTplRkCx4/clwSd\nBER6971R0TRDnOb2QycRHWzLydOhg1WHTniVhqFHt0QZzDrLJcu78r3eRHy7\nUZTQcAZ05GqxNP3axr43iEcgxm2VVYfd12gpWfMF93X73BGFgCmVGU5pxpxl\n1oA7KuTs13fTvxrl8+jIEUI+ItHAFHgDzmv375nzszNBh2MekbbUIOv4+zQT\nirnUzu7mz69dcwHKLS697tWbK6110NjDsJLUY0owaozWMC7KjnfLH3wDL3SH\nt88T08xharvSM5gPzeYNxdjd0XyX2wCNWWqKIt+T5owUnd9e7gq+tPcxZsVB\nJkQ6\r\n=WMBE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFVzjw496Apy8Ii4e4FOuX62X9oRPlooloYvrp2aFZraAiBxpd/FePeXE52bZQMs2sHrAcEqzqWl3moLfs6LozRdhg=="}]},"maintainers":[{"name":"dabolus","email":"giorgio@garasto.it"}],"_npmUser":{"name":"dabolus","email":"giorgio@garasto.it"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/share-menu_4.0.0-rc.4_1557861140509_0.42812593585774494"},"_hasShrinkwrap":false},"4.0.0-rc.5":{"name":"share-menu","version":"4.0.0-rc.5","description":"A complete and simple to use share menu.","main":"share-menu.js","module":"share-menu.js","browser":"share-menu.iife.js","types":"share-menu.d.ts","scripts":{"start":"run-p watch serve browser-sync","watch":"rollup -w -c rollup.config.ts","serve":"polyserve --npm -p 8082","browser-sync":"browser-sync start --proxy 'localhost:8082' --port 8080 --ui-port 8081 --files 'demo' '*.js'","build":"NODE_ENV=production rollup -c rollup.config.ts","test":"jest","lint":"eslint --ext .ts '**/*.{js,ts}'","format":"eslint --ext .ts '**/*.{js,ts}' --fix","prepublishOnly":"npm run build"},"devDependencies":{"@polymer/iron-demo-helpers":"^3.1.0","@polymer/iron-flex-layout":"^3.0.1","@polymer/paper-button":"^3.0.1","@polymer/paper-input":"^3.0.2","@polymer/paper-styles":"^3.0.1","@polymer/paper-toggle-button":"^3.0.1","@skatejs/ssr":"^0.19.11","@types/jest":"^24.0.13","@typescript-eslint/eslint-plugin":"^1.10.2","@typescript-eslint/parser":"^1.10.2","@webcomponents/webcomponentsjs":"^2.2.10","browser-sync":"^2.26.5","eslint":"^5.16.0","eslint-config-prettier":"^5.0.0","eslint-plugin-prettier":"^3.1.0","jest":"^24.8.0","npm-run-all":"^4.1.5","polyserve":"^0.27.15","prettier":"^1.18.2","rollup":"^1.12.5","rollup-plugin-minify-html-literals":"^1.2.2","rollup-plugin-replace":"^2.2.0","rollup-plugin-terser":"^5.0.0","rollup-plugin-typescript2":"^0.21.1","ts-jest":"^24.0.2","typescript":"^3.5.1"},"repository":{"type":"git","url":"git+https://github.com/Dabolus/share-menu.git"},"keywords":["custom-element","web-component","share-menu","web-share-api"],"author":{"name":"Giorgio Garasto","email":"giorgio@garasto.it"},"license":"MIT","bugs":{"url":"https://github.com/Dabolus/share-menu/issues"},"homepage":"https://github.com/Dabolus/share-menu#readme","readme":"# \\<share-menu\\>\n[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/share-menu)\n[![GitHub release](https://img.shields.io/github/release/Dabolus/share-menu/all.svg)](https://github.com/Dabolus/share-menu)\n[![Build status](https://travis-ci.org/Dabolus/share-menu.svg?branch=master)](https://travis-ci.org/Dabolus/share-menu)\n[![Minified + gzipped size](https://img.shields.io/bundlephobia/minzip/share-menu.svg)](https://bundlephobia.com/result?p=share-menu)\n\n_[Demo and API docs](https://www.webcomponents.org/element/share-menu)_\n\nA complete and simple to use share menu that uses \n[Web Share API](https://developers.google.com/web/updates/2016/10/navigator-share) \nwhen possible, with a fallback to a nice share menu that tries to emulate the \nexperience of the native one.\n\n## Features\n- Incredibly simple to use. Just set the `title`, `text`, `url` and `via` \n  properties and call the `share()` method to make the magic happen.\n- Highly customizable. It offers a great material design UI by default, but \n  it is also designed to be as much customizable as possible through CSS custom \n  properties and shadow parts.\n- Compatible with any major browser. The Web Share API is still quite young, but \n  the fallback dialog works on any browser supporting Custom Elements (directly \n  or through a polyfill). Unlike the native share menu, the fallback will also \n  work on desktop browsers and insecure contexts, so you will be able to offer \n  a much more coherent experience to your users.\n\n## Installation\n```bash\nnpm i share-menu\n# or\nyarn add share-menu\n```\n\n## Without npm/yarn\nIf you don't use npm or yarn, an IIFE (Immediately Invoked Function Expression) \nversion of the element is also provided. The IIFE version of the element can \nalso be used if you're still on Bower  (e.g. if you're using Polymer < 3). To \nuse it, just use the `unpkg` CDN:\n\n```html\n<script src=\"https://unpkg.com/share-menu/social-icons.iife.js\"></script>\n<script src=\"https://unpkg.com/share-menu/share-menu.iife.js\"></script>\n```\n\n## Try it now!\nTry copy-pasting this code on your browser's console in any website:\n```js\nvar a=document.createElement(\"script\");a.type=\"module\";a.textContent=\"import'https://unpkg.com/share-menu/share-menu.js';var a=document.createElement('share-menu');document.body.appendChild(a),a.share()\";document.head.appendChild(a);\n```\n...or the IIFE version\n```js\nvar a=document.createElement(\"script\");a.src=\"https://unpkg.com/share-menu/share-menu.iife.js\";a.onload=()=>{var c=document.createElement(\"share-menu\");document.body.appendChild(c);c.share()};var b=document.createElement(\"script\");b.src=\"https://unpkg.com/share-menu/social-icons.iife.js\";b.onload=()=>document.head.appendChild(a);document.head.appendChild(b);\n```\n_**Note:** these scripts will not work if the website implements a strict CSP \n(Content Security Policy). For example, these scripts won't work on GitHub._\n\n## Usage\n#### Basic usage\n```html\n<share-menu id=\"shareMenu\" title=\"Ohai!\" text=\"Just a test\" url=\"https://www.example.com/\"></share-menu>\n\n<button onclick=\"shareMenu.share()\">Share!</button>\n```\n#### All the properties set\n```html\n<share-menu\n  title=\"Awesome!\"\n  text=\"More customized share menu\"\n  url=\"https://www.example.com/\"\n  via=\"Dabolus\"\n  dialog-title=\"Share now!\"\n  is-image=\"auto\"\n  no-backdrop>\n</share-menu>\n```\n\n## Supported socials (in the fallback dialog)\nHere you can see the list of the supported socials, as well as the limitations \nthat each one gives:\n\n - Baidu - _URL and title only_\n - Blogger\n - Buffer - _URL and title only_\n - Copy to clipboard\n - Delicious - _URL and title only_\n - Digg - _URL and title only_\n - Douban - _URL and title only_\n - Email\n - Evernote - _URL only_\n - Facebook - _URL only if not using [Facebook JS SDK](https://developers.facebook.com/docs/javascript)_\n - FlipBoard - _URL and title only_\n - Google+ - _URL only_\n - Instapaper\n - Line - _URL only_\n - LinkedIn\n - LiveJournal\n - Myspace\n - Odnoklassniki (OK.ru) - _URL and title only_\n - Pinterest - _Will only be visible if the URL is an image. Look for the `isImage` parameter on the API docs for more info_\n - Pocket - _URL only_\n - Print - _Only prints the page at the given URL_\n - QZone - _URL only_\n - Reddit - _Shares an URL if there is no text provided, otherwise a text with the URL appended at the end will be shared._ \n - RenRen - _Currently disabled because it does not seem to work_\n - Skype - _URL only_\n - SMS\n - StumbleUpon - _URL and title only_\n - Telegram\n - Translate - _Only translates the page at the given URL_\n - Tumblr\n - Twitter\n - Viber\n - VKontakte - _URL only_\n - Weibo\n - WhatsApp\n - WordPress\n - Xing - _URL only_\n - Yahoo\n\n_The `via` parameter will only be used by Delicious, LinkedIn and Twitter._\n\n## Icons\nThe icons used by the component are just simple SVGs, so you can use them anywhere in your app simply by importing \n`social-icons.js` located in this package.\n\n## Styling\nThe following custom properties and shadow parts are available for styling:\n\n| Property             | Description                                                       | Default              |\n| -------------------- | ----------------------------------------------------------------- | -------------------- |\n| `--backdrop-color`   | The color of the backdrop                                         | `#000`               |\n| `--background-color` | The background color of the fallback dialog                       | `#fff`               |\n| `--title-color`      | The color of the title of the fallback dialog                     | `rgba(0, 0, 0, .6)`  |\n| `--ripple-color`     | The color of the ripple of the fallback dialog                    | `#000`               |\n| `--labels-color`     | The color of the social labels of the fallback dialog             | `rgba(0, 0, 0, .87)` |\n| `dialog`             | The part assigned to the fallback dialog                          | -                    |\n| `backdrop`           | The part assigned to the backdrop of the fallback dialog          | -                    |\n| `title`              | The part assigned to the title of the fallback dialog             | -                    |\n| `social-button`      | The part assigned to each social button of the fallback dialog    | -                    |\n| `social-icon`        | The part assigned to each social icon of the fallback dialog      | -                    |\n| `social-label`       | The part assigned to each social label of the fallback dialog     | -                    |\n","readmeFilename":"README.md","gitHead":"fce0a42c3b514235288f03386ac00acfdf04b193","_id":"share-menu@4.0.0-rc.5","_nodeVersion":"12.10.0","_npmVersion":"6.10.3","dist":{"integrity":"sha512-RZ1aWwFR4FBi9jL4/Whq8QpknHz9bJ8K65Yy1TZXMgc6CVpDiXG7/A/4rQNJP2eYiscJ//guYNFAUN3iZPbUyA==","shasum":"052afd8fec4cfa98bb822386fdaf95e7d66aeddf","tarball":"https://registry.npmjs.org/share-menu/-/share-menu-4.0.0-rc.5.tgz","fileCount":10,"unpackedSize":93779,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdp1OdCRA9TVsSAnZWagAAFrcP/Rzqprzo6MR5ggbz4jvI\nMddrZ+tDj/XY+sQmqlA7n+4aGVYqlV03uyrqj60zLYbSWsyjXj2BgRMtuc0B\nikKzHhgV/fl9wHHeQHr13Ummv98q7ty65x9xzz3wKEErJTlBZ/7tTzbNhgjl\nu/kQuA4Ph39+LooqfTbyrY+Ku8sOQp1OT49AIOtrCg3coBhkL0Cv+PdjsKqJ\n3dza6C2Nc+lImNa1bZfQzzlV2D5KxbT6870Q6oE3mZKNHf7zHJHLC2xkvN1L\npvGPjPsLq/6bxrVa8opZNisTYcV1tQ7E66QtLqHeXI90n8vRPdMiKz8IZtCe\nCOa8QQwhFPq0nWkrzsmOoSCzsP3vQ/S7s3Pb+G16tObVNcvw3fMwIPAreJRU\nUxK1vU8XU74/L9YOLGdLHTCSl9siqxwDcyvtQMIDAPvt5xm3Jz/QXPSnEEL6\ncfTbQBiUfzD1ihv42S5x7XfCNqgnKyhdA6dAgPv8NZeGHAvdzaZ+LP21+nZw\ncCVUvJB2otNWDTbsgTS1mCCTPoqDn1kTl3vwlkuayF4voFbd7U2rIInNzVCs\nwWgs4M40cMmH48fA5CAZRJyMqtWjMgRTo7VhZnyQ14os0MEoFvupRMkXDhBH\nTSgnZNQBeUh05qElCeFsK6g8E6zG7D/0kS4GTlLyHiReNbuwC0E33k+5crA9\nJfzJ\r\n=RB0e\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICw8tDqeoCUVZbsC0e/wQnthQos9csL91hT8j1SMP7bNAiAHKVT8a9VxyPvhej9yHiKBfgh1zxMXNXmI9aB030025A=="}]},"maintainers":[{"name":"dabolus","email":"giorgio@garasto.it"}],"_npmUser":{"name":"dabolus","email":"giorgio@garasto.it"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/share-menu_4.0.0-rc.5_1571247004912_0.639032742447651"},"_hasShrinkwrap":false},"4.0.0":{"name":"share-menu","version":"4.0.0","description":"A complete and simple to use share menu.","main":"share-menu.js","module":"share-menu.js","browser":"share-menu.js","types":"share-menu.d.ts","type":"module","scripts":{"start":"run-p watch serve","watch":"rollup -w -c rollup.config.ts","serve":"es-dev-server --node-resolve --open --port 8080 --watch --app-index 'demo/index.html'","build":"NODE_ENV=production rollup -c rollup.config.ts","lint:src":"eslint --ext .ts 'src/**/*.{js,ts}'","lint:test":"eslint --ext .ts 'test/**/*.{js,ts}' --config .eslintrc.test","lint":"run-p lint:src lint:test","format:src":"yarn lint:src --fix","format:test":"yarn lint:test --fix","format":"run-p format:src format:test","prepublishOnly":"yarn build","test":"karma start --coverage","test:watch":"karma start --auto-watch=true --single-run=false"},"devDependencies":{"@babel/preset-typescript":"^7.6.0","@open-wc/testing":"^2.3.9","@open-wc/testing-karma":"^3.1.52","@polymer/iron-demo-helpers":"^3.1.0","@polymer/iron-flex-layout":"^3.0.1","@polymer/paper-button":"^3.0.1","@polymer/paper-input":"^3.0.2","@polymer/paper-styles":"^3.0.1","@polymer/paper-toggle-button":"^3.0.1","@typescript-eslint/eslint-plugin":"^2.6.1","@typescript-eslint/parser":"^2.6.1","@webcomponents/webcomponentsjs":"^2.3.0","es-dev-server":"^1.23.0","eslint":"^6.6.0","eslint-config-prettier":"^6.5.0","eslint-plugin-prettier":"^3.1.1","lit-html":"^1.1.2","npm-run-all":"^4.1.5","prettier":"^1.18.2","rollup":"^1.26.3","rollup-plugin-filesize":"^6.2.1","rollup-plugin-minify-html-literals":"^1.2.2","rollup-plugin-replace":"^2.2.0","rollup-plugin-terser":"^5.1.2","rollup-plugin-typescript2":"^0.24.3","sinon":"^7.5.0","typescript":"^3.7.2","webpack-merge":"^4.2.2"},"repository":{"type":"git","url":"git+https://github.com/Dabolus/share-menu.git"},"keywords":["custom-element","web-component","share-menu","web-share-api"],"author":{"name":"Giorgio Garasto","email":"giorgio@garasto.it"},"license":"MIT","bugs":{"url":"https://github.com/Dabolus/share-menu/issues"},"homepage":"https://github.com/Dabolus/share-menu#readme","gitHead":"81e066e86e71d16e66ff5330e949e4ba4e3c5f0b","_id":"share-menu@4.0.0","_nodeVersion":"12.10.0","_npmVersion":"6.10.3","dist":{"integrity":"sha512-VFKbzao6DsrsdxAKiDNuyhNSLQ7cxO4m6rfIvgn+S8Zcbb6FnDlxqH5EZHbiSV/O9X86+wOIfQwSOt7vHL6flw==","shasum":"d6ae096218336f2342d1a4261d1fd15f537a4f08","tarball":"https://registry.npmjs.org/share-menu/-/share-menu-4.0.0.tgz","fileCount":14,"unpackedSize":184665,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdw8UeCRA9TVsSAnZWagAA7wwP/0rRkRtdFwC7SFb1sxA3\np2s7N7ifJrOJuT3r5+oiZc+rIdDJu/bZ4W9emTdEzTR10R+TTroCuIiClkb9\n+3GASsKK+x080yNKxvireZILAQxIPTMBgXa8mKKJQhyti+CFeCWk04WAT5c1\nxayDGCNeKjXaxDCSMKxMpEdzVanaGVcRalCHOVkl9tx7/toNTj0Pc2UWfBi5\ntqe1ZexgaL3yuGqhcXuGAOyLpw14m0dFQmn970Jgq06Sy/1ySo4Xg8c24qHP\nzpthqEbNaHsDDmW9wsX9Tmc1gOPBYwQUX2tAZuTjeoDFgals5quaGsTCwgy5\nOZ18yuj9DwwrBO0MptFrfjNPNrBwWkIDuwm3iWEOzVTCAR15eCyW1AqpZ7xO\nVaMmDDQWUtRkFNcrZZTTWwAUloNu15/m8WPVVOJbhke3/myrM+VHFJsVldiL\nTIIt8n/i+paiebvZVWBKp7Cds6XsCRUtxrEIpZujv0JOXTWN5rcl3UnjNF/F\n+yuPCwGUjq+WOZ4g7N3c3b364ZsWAcZbhw0d1jnLh17tWIIlrFsLzlMceOkZ\nCzSICHY//VjtIjP3O30Ik/4Apvv70QuV/+h2KKzCP4TWNfIvN/7+s0TAMUWU\nXOaqhUQv7BtHYQRb1S6oc3PKOC8nhttGRm89xo0fyyVpkXepo163OBqJTsBb\nOtcI\r\n=TaLM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGEkkkd8tFAluKULqPIoElbBPVLScznap/xIZu2TgeI5AiBJMeSRqwPsKyDj3t0IlYjw3GAkuqjNRmivY0EfwWaeow=="}]},"maintainers":[{"name":"dabolus","email":"giorgio@garasto.it"}],"_npmUser":{"name":"dabolus","email":"giorgio@garasto.it"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/share-menu_4.0.0_1573111070085_0.8770043202235067"},"_hasShrinkwrap":false},"5.0.0-rc.1":{"name":"share-menu","version":"5.0.0-rc.1","description":"A complete and simple to use share menu.","main":"share-menu.js","module":"share-menu.js","browser":"share-menu.js","types":"share-menu.d.ts","scripts":{"start":"run-p watch serve","watch":"rollup -w -c rollup.config.ts","serve":"es-dev-server --node-resolve --port 8080 --watch --app-index 'demo/index.html'","build":"NODE_ENV=production rollup -c rollup.config.ts","lint:src":"eslint --ext .ts 'src/**/*.{js,ts}'","lint:test":"eslint --ext .ts 'test/**/*.{js,ts}' --config .eslintrc.test","lint":"run-p lint:src lint:test","format:src":"npm run lint:src -- --fix","format:test":"npm run lint:test -- --fix","format":"run-p format:src format:test","prepublishOnly":"npm run build","test":"karma start --coverage","test:watch":"karma start --auto-watch=true --single-run=false"},"devDependencies":{"@babel/preset-typescript":"^7.9.0","@open-wc/testing":"^2.5.16","@open-wc/testing-karma":"^3.3.17","@polymer/iron-demo-helpers":"^3.1.0","@polymer/iron-flex-layout":"^3.0.1","@polymer/paper-button":"^3.0.1","@polymer/paper-input":"^3.2.1","@polymer/paper-styles":"^3.0.1","@polymer/paper-toggle-button":"^3.0.1","@rollup/plugin-replace":"^2.3.2","@types/facebook-js-sdk":"^3.3.0","@types/glob":"^7.1.1","@typescript-eslint/eslint-plugin":"^2.30.0","@typescript-eslint/parser":"^2.30.0","@webcomponents/webcomponentsjs":"^2.4.3","es-dev-server":"^1.47.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","glob":"^7.1.6","lit-html":"^1.2.1","npm-run-all":"^4.1.5","prettier":"^2.0.5","rollup":"^2.7.6","rollup-plugin-filesize":"^8.0.2","rollup-plugin-minify-html-literals":"^1.2.3","rollup-plugin-terser":"^5.3.0","rollup-plugin-typescript2":"^0.27.0","sinon":"^9.0.2","typescript":"^3.8.3","webpack-merge":"^4.2.2"},"repository":{"type":"git","url":"git+https://github.com/Dabolus/share-menu.git"},"keywords":["custom-element","web-component","share-menu","web-share-api"],"author":{"name":"Giorgio Garasto","email":"giorgio@garasto.it"},"license":"MIT","bugs":{"url":"https://github.com/Dabolus/share-menu/issues"},"homepage":"https://github.com/Dabolus/share-menu#readme","readme":"# \\<share-menu\\>\n[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/share-menu)\n[![GitHub release](https://img.shields.io/github/release/Dabolus/share-menu/all.svg)](https://github.com/Dabolus/share-menu)\n[![Build status](https://github.com/Dabolus/share-menu/workflows/Lint%2C%20test%20and%20build/badge.svg)](https://github.com/Dabolus/share-menu/actions?query=workflow%3A%22Lint%2C+test+and+build%22)\n[![Minified + gzipped size](https://img.shields.io/bundlephobia/minzip/share-menu.svg)](https://bundlephobia.com/result?p=share-menu)\n\n_[Demo and API docs](https://www.webcomponents.org/element/share-menu)_\n\nA complete and simple to use share menu that uses \n[Web Share API](https://developers.google.com/web/updates/2016/10/navigator-share) \nwhen possible, with a fallback to a nice share menu that tries to emulate the \nexperience of the native one.\n\n## Features\n- Incredibly simple to use. Just set the `title`, `text`, `url` and `via` \n  properties and call the `share()` method to make the magic happen.\n- Highly customizable. It offers a great material design UI by default, but \n  it is also designed to be as much customizable as possible through CSS custom \n  properties and shadow parts.\n- Compatible with any major browser. The Web Share API is still quite young, but \n  the fallback dialog works on any browser supporting Custom Elements (directly \n  or through a polyfill). Unlike the native share menu, the fallback will also \n  work on desktop browsers and insecure contexts, so you will be able to offer \n  a much more coherent experience to your users.\n- Lightweight. If correctly minified (read the note about the bundle size below), \n  the `share-menu` element itself weighs 13.18 KB (4.34 KB gzipped, 3.76 KB brotli), \n  while the icons weigh 12.24 KB (5.66 KB gzipped, 4.9 KB brotli), for a total of \n  10 KB gzipped size and 8.66 KB brotli size.\n\n#### Note about the bundle size\nThe share menu repetitively uses some private helpers to avoid code duplication. \nAs a standard, these helpers always start with an underscore (_), so you can easily \ndrop the bundle size by telling your JS compiler to mangle all properties that start \nwith an underscore (to be safe, I would suggest to only apply this rule to the share \nmenu, but you might also get a smaller bundle size by applying this rule to any package, \nsince a property starting with an underscore is generally considered private). \nFor example, if you use Terser you might configure it in this way:\n```js\n{\n  mangle: {\n    properties: {\n      regex: /^_/,\n    },\n  },\n}\n```\nBy simply applying this rule, the minified package goes from 14.92 KB \n(4.5 KB gzipped, 3.93 KB brotli) to 13.18 KB (4.34 KB gzipped, 3.76 KB brotli). \nNote that the provided minified version already applies these optimizations, so you can \ndirectly import it if you want to same some bytes without having to change your compiler \nconfiguration.\n\n## Installation\n```bash\nnpm i share-menu\n# or\nyarn add share-menu\n```\n\n## Without npm/yarn\nIf you don't use npm or yarn, an IIFE (Immediately Invoked Function Expression) \nversion of the element is also provided. The IIFE version of the element can \nalso be used if you're still on Bower  (e.g. if you're using Polymer < 3). To \nuse it, just use the `unpkg` CDN:\n\n```html\n<script src=\"https://unpkg.com/share-menu/social-icons.iife.min.js\"></script>\n<script src=\"https://unpkg.com/share-menu/share-menu.iife.min.js\"></script>\n```\n\n## Try it now!\nTry copy-pasting this code on your browser's console in any website:\n```js\nvar a=document.createElement(\"script\");a.type=\"module\";a.textContent=\"import'https://unpkg.com/share-menu/share-menu.min.js';var a=document.createElement('share-menu');document.body.appendChild(a),a.share()\";document.head.appendChild(a);\n```\n...or the IIFE version\n```js\nvar a=document.createElement(\"script\");a.src=\"https://unpkg.com/share-menu/share-menu.iife.min.js\";a.onload=()=>{var c=document.createElement(\"share-menu\");document.body.appendChild(c);c.share()};var b=document.createElement(\"script\");b.src=\"https://unpkg.com/share-menu/social-icons.iife.min.js\";b.onload=()=>document.head.appendChild(a);document.head.appendChild(b);\n```\n_**Note:** these scripts will not work if the website implements a strict CSP \n(Content Security Policy). For example, these scripts won't work on GitHub._\n\n## Usage\n#### Basic usage\n```html\n<share-menu id=\"shareMenu\" title=\"Ohai!\" text=\"Just a test\" url=\"https://www.example.com/\"></share-menu>\n\n<button onclick=\"shareMenu.share()\">Share!</button>\n```\n#### All the properties set\n```html\n<share-menu\n  title=\"Awesome!\"\n  text=\"More customized share menu\"\n  url=\"https://www.example.com/\"\n  via=\"Dabolus\"\n  dialog-title=\"Share now!\"\n  is-image=\"auto\"\n  no-backdrop>\n</share-menu>\n```\n\n## Supported socials (in the fallback dialog)\nHere you can see the list of the supported socials, as well as the limitations \nthat each one gives:\n\n - Baidu - _URL and title only_\n - Blogger\n - Buffer - _URL and title only_\n - Copy to clipboard\n - Digg - _URL and title only_\n - Douban - _URL and title only_\n - Email\n - Evernote - _URL only_\n - Facebook - _URL only if not using [Facebook JS SDK](https://developers.facebook.com/docs/javascript)_\n - FlipBoard - _URL and title only_\n - Instapaper\n - Line - _URL only_\n - LinkedIn\n - LiveJournal\n - Myspace\n - Odnoklassniki (OK.ru) - _URL and title only_\n - Pinterest - _Will only be visible if the URL is an image. Look for the `isImage` parameter on the API docs for more info_\n - Pocket - _URL only_\n - Print - _Only prints the page at the given URL_\n - QZone - _URL only_\n - Reddit - _Shares an URL if there is no text provided, otherwise a text with the URL appended at the end will be shared._ \n - Skype - _URL only_\n - SMS\n - StumbleUpon - _URL and title only_\n - Telegram\n - Translate - _Only translates the page at the given URL_\n - Tumblr\n - Twitter\n - Viber\n - VKontakte - _URL only_\n - Weibo\n - WhatsApp\n - WordPress\n - Xing - _URL only_\n - Yahoo\n\n_The `via` parameter will only be used by LinkedIn and Twitter._\n\n## Icons\nThe icons used by the component are just simple SVG paths, so you can use them anywhere in your app simply by importing \n`social-icons.js` located in this package, e.g.\n\n```js\nimport { twitter } from 'share-menu/social-icons';\n\nmyIconContainer.innerHTML = `<svg viewBox=\"0 0 256 256\"><path d=\"${twitter}\"/></svg>`;\n```\n\n## Styling\nThe following custom properties and shadow parts are available for styling:\n\n| Property             | Description                                                       | Default              |\n| -------------------- | ----------------------------------------------------------------- | -------------------- |\n| `--backdrop-color`   | The color of the backdrop                                         | `#000`               |\n| `--background-color` | The background color of the fallback dialog                       | `#fff`               |\n| `--title-color`      | The color of the title of the fallback dialog                     | `rgba(0, 0, 0, .6)`  |\n| `--ripple-color`     | The color of the ripple of the fallback dialog                    | `#000`               |\n| `--labels-color`     | The color of the social labels of the fallback dialog             | `rgba(0, 0, 0, .87)` |\n| `dialog`             | The part assigned to the fallback dialog                          | -                    |\n| `backdrop`           | The part assigned to the backdrop of the fallback dialog          | -                    |\n| `title`              | The part assigned to the title of the fallback dialog             | -                    |\n| `social-button`      | The part assigned to each social button of the fallback dialog    | -                    |\n| `social-icon`        | The part assigned to each social icon of the fallback dialog      | -                    |\n| `social-label`       | The part assigned to each social label of the fallback dialog     | -                    |\n","readmeFilename":"README.md","gitHead":"b1fcd4359fcb784f8fc8605133a4a3220bcf34d2","_id":"share-menu@5.0.0-rc.1","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-bbnO7PSkQO6xNfxHqV2gbuh1ogFrTag10IjTPBSQE+QijQn6BxCNwt9oK/fQIw7lNdRdqDBBCBxUYhvtnEfnlg==","shasum":"c4867083ad1489eab74e5ceefcc3dfa9add9e0ba","tarball":"https://registry.npmjs.org/share-menu/-/share-menu-5.0.0-rc.1.tgz","fileCount":94,"unpackedSize":195940,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuoYhCRA9TVsSAnZWagAABYkQAIoAZNyvr8rO5HJ0Nmdn\nb1AspGzDLXfo4vRO1hzx8x3z0TxVmnIM/7ewN2bKvOfAQw8nhtQjkJSWuQ//\nLoB/T0oGl8AQweJZaA6WRgXd5Do+vTvx6zNGSeRfnuNj4kmMIK4ExXFQa/91\nWaI3RdGJ6NswyGBkGZlGYLqydT3dmnfJlU/rY44rftJrBrjuE/9lj5bS6Aj4\no+1Aw/2wzIWSTHxhA7C+se390bStsgYtKQiTXOkmcMcbEBwXRvjYvYweJO/1\n6gzzIu/gSP1B2LTgELlkj9T1Z+iMMSZ4JbVMaKjhHe6mMr51PEdhv7cqQL9Q\nLcI+vDt7lSUfjXZVJ00MHPJt+tw1u8eUD+KpXg5knL8RujY1HrkA/Ci+JkT+\njU5ENnA59+Y9TukurUG7W4FUx4ZWgRVbFSabnDR2uual8jonxAbldxfNuSlF\no3Z9W/01qij7ODu+Gq6ghrmG06BjMXmWk0G/n8UVggjb9rouOSFlSvsQMlAn\nBnVAQeHX2OKl/wc5rcDYb65Tlp97yFr0NhYOdzLfFav7ooBKYAFE40y4aCQl\nXa1od5EWIopM0cYFTvrTytLgTfTxaCquyZeQngKGNhpnQK2OoT17v6GU5BsB\nhDnKVxitM72PkWMajQ0t2jmRndVy4zUqyq9g3TIm/agcJaJ6RFlayebKy5m8\nbaGi\r\n=ZotO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAX33AlcCCFJg33KI3Rv/S3pl1/m2JnvUikUxA90ykfZAiALuvuMz7fDCdxnrxL0o66XQbsqUbOyzaZ2lCPPKqcMWw=="}]},"maintainers":[{"name":"dabolus","email":"giorgio@garasto.it"}],"_npmUser":{"name":"dabolus","email":"giorgio@garasto.it"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/share-menu_5.0.0-rc.1_1589282337270_0.9943825750143382"},"_hasShrinkwrap":false},"5.0.0-rc.2":{"name":"share-menu","version":"5.0.0-rc.2","description":"A complete and simple to use share menu.","main":"share-menu.js","module":"share-menu.js","browser":"share-menu.js","types":"share-menu.d.ts","scripts":{"start":"run-p watch serve","watch":"rollup -w -c rollup.config.ts","serve":"es-dev-server --node-resolve --port 8080 --watch --app-index 'demo/index.html'","build":"NODE_ENV=production rollup -c rollup.config.ts","lint:src":"eslint --ext .ts 'src/**/*.{js,ts}'","lint:test":"eslint --ext .ts 'test/**/*.{js,ts}' --config .eslintrc.test","lint":"run-p lint:src lint:test","format:src":"npm run lint:src -- --fix","format:test":"npm run lint:test -- --fix","format":"run-p format:src format:test","prepublishOnly":"npm run build","test":"karma start --coverage","test:watch":"karma start --auto-watch=true --single-run=false"},"devDependencies":{"@babel/preset-typescript":"^7.9.0","@open-wc/testing":"^2.5.16","@open-wc/testing-karma":"^3.3.17","@polymer/iron-demo-helpers":"^3.1.0","@polymer/iron-flex-layout":"^3.0.1","@polymer/paper-button":"^3.0.1","@polymer/paper-input":"^3.2.1","@polymer/paper-styles":"^3.0.1","@polymer/paper-toggle-button":"^3.0.1","@rollup/plugin-replace":"^2.3.2","@types/facebook-js-sdk":"^3.3.0","@types/glob":"^7.1.1","@typescript-eslint/eslint-plugin":"^2.30.0","@typescript-eslint/parser":"^2.30.0","@webcomponents/webcomponentsjs":"^2.4.3","es-dev-server":"^1.47.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","glob":"^7.1.6","lit-html":"^1.2.1","npm-run-all":"^4.1.5","prettier":"^2.0.5","rollup":"^2.7.6","rollup-plugin-filesize":"^8.0.2","rollup-plugin-minify-html-literals":"^1.2.3","rollup-plugin-terser":"^5.3.0","rollup-plugin-typescript2":"^0.27.0","sinon":"^9.0.2","typescript":"^3.8.3","webpack-merge":"^4.2.2"},"repository":{"type":"git","url":"git+https://github.com/Dabolus/share-menu.git"},"keywords":["custom-element","web-component","share-menu","web-share-api"],"author":{"name":"Giorgio Garasto","email":"giorgio@garasto.it"},"license":"MIT","bugs":{"url":"https://github.com/Dabolus/share-menu/issues"},"homepage":"https://github.com/Dabolus/share-menu#readme","readme":"# \\<share-menu\\>\n[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/share-menu)\n[![GitHub release](https://img.shields.io/github/release/Dabolus/share-menu/all.svg)](https://github.com/Dabolus/share-menu)\n[![Build status](https://github.com/Dabolus/share-menu/workflows/Lint%2C%20test%20and%20build/badge.svg)](https://github.com/Dabolus/share-menu/actions?query=workflow%3A%22Lint%2C+test+and+build%22)\n[![Minified + gzipped size](https://img.shields.io/bundlephobia/minzip/share-menu.svg)](https://bundlephobia.com/result?p=share-menu)\n\n_[Demo and API docs](https://www.webcomponents.org/element/share-menu)_\n\nA complete and simple to use share menu that uses \n[Web Share API](https://developers.google.com/web/updates/2016/10/navigator-share) \nwhen possible, with a fallback to a nice share menu that tries to emulate the \nexperience of the native one.\n\n## Features\n- Incredibly simple to use. Just set the `title`, `text`, `url` and `via` \n  properties and call the `share()` method to make the magic happen.\n- Highly customizable. It offers a great material design UI by default, but \n  it is also designed to be as much customizable as possible through CSS custom \n  properties and shadow parts.\n- Compatible with any major browser. The Web Share API is still quite young, but \n  the fallback dialog works on any browser supporting Custom Elements (directly \n  or through a polyfill). Unlike the native share menu, the fallback will also \n  work on desktop browsers and insecure contexts, so you will be able to offer \n  a much more coherent experience to your users.\n- Lightweight. If correctly minified (read the note about the bundle size below), \n  the `share-menu` element itself weighs 13.18 KB (4.34 KB gzipped, 3.76 KB brotli), \n  while the icons weigh 12.24 KB (5.66 KB gzipped, 4.9 KB brotli), for a total of \n  10 KB gzipped size and 8.66 KB brotli size.\n\n#### Note about the bundle size\nThe share menu repetitively uses some private helpers to avoid code duplication. \nAs a standard, these helpers always start with an underscore (_), so you can easily \ndrop the bundle size by telling your JS compiler to mangle all properties that start \nwith an underscore (to be safe, I would suggest to only apply this rule to the share \nmenu, but you might also get a smaller bundle size by applying this rule to any package, \nsince a property starting with an underscore is generally considered private). \nFor example, if you use Terser you might configure it in this way:\n```js\n{\n  mangle: {\n    properties: {\n      regex: /^_/,\n    },\n  },\n}\n```\nBy simply applying this rule, the minified package goes from 14.92 KB \n(4.5 KB gzipped, 3.93 KB brotli) to 13.18 KB (4.34 KB gzipped, 3.76 KB brotli). \nNote that the provided minified version already applies these optimizations, so you can \ndirectly import it if you want to same some bytes without having to change your compiler \nconfiguration.\n\n## Installation\n```bash\nnpm i share-menu\n# or\nyarn add share-menu\n```\n\n## Without npm/yarn\nIf you don't use npm or yarn, an IIFE (Immediately Invoked Function Expression) \nversion of the element is also provided. The IIFE version of the element can \nalso be used if you're still on Bower  (e.g. if you're using Polymer < 3). To \nuse it, just use the `unpkg` CDN:\n\n```html\n<script src=\"https://unpkg.com/share-menu/social-icons.iife.min.js\"></script>\n<script src=\"https://unpkg.com/share-menu/share-menu.iife.min.js\"></script>\n```\n\n## Try it now!\nTry copy-pasting this code on your browser's console in any website:\n```js\nvar a=document.createElement(\"script\");a.type=\"module\";a.textContent=\"import'https://unpkg.com/share-menu/share-menu.min.js';var a=document.createElement('share-menu');document.body.appendChild(a),a.share()\";document.head.appendChild(a);\n```\n...or the IIFE version\n```js\nvar a=document.createElement(\"script\");a.src=\"https://unpkg.com/share-menu/share-menu.iife.min.js\";a.onload=()=>{var c=document.createElement(\"share-menu\");document.body.appendChild(c);c.share()};var b=document.createElement(\"script\");b.src=\"https://unpkg.com/share-menu/social-icons.iife.min.js\";b.onload=()=>document.head.appendChild(a);document.head.appendChild(b);\n```\n_**Note:** these scripts will not work if the website implements a strict CSP \n(Content Security Policy). For example, these scripts won't work on GitHub._\n\n## Usage\n#### Basic usage\n```html\n<share-menu id=\"shareMenu\" title=\"Ohai!\" text=\"Just a test\" url=\"https://www.example.com/\"></share-menu>\n\n<button onclick=\"shareMenu.share()\">Share!</button>\n```\n#### All the properties set\n```html\n<share-menu\n  title=\"Awesome!\"\n  text=\"More customized share menu\"\n  url=\"https://www.example.com/\"\n  via=\"Dabolus\"\n  dialog-title=\"Share now!\"\n  is-image=\"auto\"\n  no-backdrop>\n</share-menu>\n```\n\n## Supported socials (in the fallback dialog)\nHere you can see the list of the supported socials, as well as the limitations \nthat each one gives:\n\n - Baidu - _URL and title only_\n - Blogger\n - Buffer - _URL and title only_\n - Copy to clipboard\n - Digg - _URL and title only_\n - Douban - _URL and title only_\n - Email\n - Evernote - _URL only_\n - Facebook - _URL only if not using [Facebook JS SDK](https://developers.facebook.com/docs/javascript)_\n - FlipBoard - _URL and title only_\n - Instapaper\n - Line - _URL only_\n - LinkedIn\n - LiveJournal\n - Myspace\n - Odnoklassniki (OK.ru) - _URL and title only_\n - Pinterest - _Will only be visible if the URL is an image. Look for the `isImage` parameter on the API docs for more info_\n - Pocket - _URL only_\n - Print - _Only prints the page at the given URL_\n - QZone - _URL only_\n - Reddit - _Shares an URL if there is no text provided, otherwise a text with the URL appended at the end will be shared._ \n - Skype - _URL only_\n - SMS\n - StumbleUpon - _URL and title only_\n - Telegram\n - Translate - _Only translates the page at the given URL_\n - Tumblr\n - Twitter\n - Viber\n - VKontakte - _URL only_\n - Weibo\n - WhatsApp\n - WordPress\n - Xing - _URL only_\n - Yahoo\n\n_The `via` parameter will only be used by LinkedIn and Twitter._\n\n## Icons\nThe icons used by the component are just simple SVG paths, so you can use them anywhere in your app simply by importing \n`social-icons.js` located in this package, e.g.\n\n```js\nimport { twitter } from 'share-menu/social-icons';\n\nmyIconContainer.innerHTML = `<svg viewBox=\"0 0 256 256\"><path d=\"${twitter}\"/></svg>`;\n```\n\n## Styling\nThe following custom properties and shadow parts are available for styling:\n\n| Property             | Description                                                       | Default              |\n| -------------------- | ----------------------------------------------------------------- | -------------------- |\n| `--backdrop-color`   | The color of the backdrop                                         | `#000`               |\n| `--background-color` | The background color of the fallback dialog                       | `#fff`               |\n| `--title-color`      | The color of the title of the fallback dialog                     | `rgba(0, 0, 0, .6)`  |\n| `--ripple-color`     | The color of the ripple of the fallback dialog                    | `#000`               |\n| `--labels-color`     | The color of the social labels of the fallback dialog             | `rgba(0, 0, 0, .87)` |\n| `dialog`             | The part assigned to the fallback dialog                          | -                    |\n| `backdrop`           | The part assigned to the backdrop of the fallback dialog          | -                    |\n| `title`              | The part assigned to the title of the fallback dialog             | -                    |\n| `social-button`      | The part assigned to each social button of the fallback dialog    | -                    |\n| `social-icon`        | The part assigned to each social icon of the fallback dialog      | -                    |\n| `social-label`       | The part assigned to each social label of the fallback dialog     | -                    |\n","readmeFilename":"README.md","gitHead":"1f96674be6392dc332ae2a4eb9829a03ee213c5b","_id":"share-menu@5.0.0-rc.2","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-1CSl22tlb8PMn9e7TNLdHY6JpGP3e64iRAzsUChmzAP8yl0sPmiKBHPFd/tvqFaa03RuREV8TsOWWLMvZN/n7Q==","shasum":"07ade443bcec5245d8e20ddd610c86d62b89782e","tarball":"https://registry.npmjs.org/share-menu/-/share-menu-5.0.0-rc.2.tgz","fileCount":94,"unpackedSize":210354,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeu4hvCRA9TVsSAnZWagAA0HoQAJEBVdIMa+bwdcgBjpyf\n38yUxM8vzfc5hsOA0JiiK1wbsNIKf0BgFOoCTY7n2NtXnlwIEgfgDf0KdNGQ\nqxvWiLncZhckhGa5YseifWm+8j1sq97s6ZlbXFttrUX803W0+B8e7wSp7Rji\nPI6HZcPEzXbZW/m/x8BjBvbpfMHvTiT9ITuyjvAA6D7y4ie6XIJMbgExzl77\n2srtyf92Skcl8AHWprxKyTj+FiyVjnWh8q4NWfruBqc6QIy8dP/KPVWOqZ7U\nwV+zfZTOjap5jl7lo9gWRlKUmI2yNUcCWFNSv8BkX3Xer3d6GN+vAsDBiaZu\nTq9We/N7Y4AYhodWwdMNDdyCnp2tUwtz7MCrrz49MJjAoZ7O+qu5KvdrPqnr\nWhnPwbG5x/djdnQZ8FJb/z2DfLZtJOh6UKHb8I0/ErHZIq38Qbo/xOQqiitr\n1jXyof3c8Ix/AtgHiPlBOcHX0eIfpRJCdt41Aj/u1+f5BRQruI7mLJp/MJIB\n5csJ5k9s78TeHXkUn84pCipqI+X9Yz/E2uWdkYxQz7+IYbH/trsH7U6LYjqv\nGQ06bM0cnpl5fS57loHYF98O6FZD4m4mgRnoGl+dFhxwftrbHkudofOd5MH0\nvEmFx0WZKF1NTIkl54Zeq7LaZHHogoEOv9TbtqlO/Xh96QBRViRMJwwMJ1Qq\nWKIB\r\n=WXqg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDTEb1YgRUHt08YNvUg87UaHRBv5eMdN/hvpNg/+X4fAIgUa99wj5+Pu1ZR3SGlJvQTxfsYGm2vxN6tHUv1EovdLM="}]},"maintainers":[{"name":"dabolus","email":"giorgio@garasto.it"}],"_npmUser":{"name":"dabolus","email":"giorgio@garasto.it"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/share-menu_5.0.0-rc.2_1589348463233_0.15135432491315437"},"_hasShrinkwrap":false},"5.0.0-rc.3":{"name":"share-menu","version":"5.0.0-rc.3","description":"A complete and simple to use share menu.","main":"share-menu.js","module":"share-menu.js","browser":"share-menu.js","types":"share-menu.d.ts","scripts":{"start":"run-p watch serve","watch":"rollup -w -c rollup.config.ts","serve":"es-dev-server --node-resolve --port 8080 --watch --app-index 'demo/index.html'","build":"NODE_ENV=production rollup -c rollup.config.ts","lint:src":"eslint --ext .ts 'src/**/*.{js,ts}'","lint:test":"eslint --ext .ts 'test/**/*.{js,ts}' --config .eslintrc.test","lint":"run-p lint:src lint:test","format:src":"npm run lint:src -- --fix","format:test":"npm run lint:test -- --fix","format":"run-p format:src format:test","prepublishOnly":"npm run build","test":"karma start --coverage","test:watch":"karma start --auto-watch=true --single-run=false"},"devDependencies":{"@babel/preset-typescript":"^7.9.0","@open-wc/testing":"^2.5.16","@open-wc/testing-karma":"^3.3.17","@rollup/plugin-replace":"^2.3.2","@types/facebook-js-sdk":"^3.3.0","@types/glob":"^7.1.1","@typescript-eslint/eslint-plugin":"^2.30.0","@typescript-eslint/parser":"^2.30.0","es-dev-server":"^1.47.0","eslint":"^6.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","glob":"^7.1.6","lit-html":"^1.2.1","npm-run-all":"^4.1.5","prettier":"^2.0.5","rollup":"^2.7.6","rollup-plugin-filesize":"^8.0.2","rollup-plugin-minify-html-literals":"^1.2.3","rollup-plugin-terser":"^5.3.0","rollup-plugin-typescript2":"^0.27.0","sinon":"^9.0.2","typescript":"^3.8.3","webpack-merge":"^4.2.2"},"repository":{"type":"git","url":"git+https://github.com/Dabolus/share-menu.git"},"keywords":["custom-element","web-component","share-menu","web-share-api"],"author":{"name":"Giorgio Garasto","email":"giorgio@garasto.it"},"license":"MIT","bugs":{"url":"https://github.com/Dabolus/share-menu/issues"},"homepage":"https://github.com/Dabolus/share-menu#readme","readme":"# \\<share-menu\\>\n[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/share-menu)\n[![GitHub release](https://img.shields.io/github/release/Dabolus/share-menu/all.svg)](https://github.com/Dabolus/share-menu)\n[![Build status](https://github.com/Dabolus/share-menu/workflows/Lint%2C%20test%20and%20build/badge.svg)](https://github.com/Dabolus/share-menu/actions?query=workflow%3A%22Lint%2C+test+and+build%22)\n[![Minified + gzipped size](https://img.shields.io/bundlephobia/minzip/share-menu.svg)](https://bundlephobia.com/result?p=share-menu)\n\n_[Demo and API docs](https://www.webcomponents.org/element/share-menu)_\n\nA complete and simple to use share menu that uses \n[Web Share API](https://developers.google.com/web/updates/2016/10/navigator-share) \nwhen possible, with a fallback to a nice share menu that tries to emulate the \nexperience of the native one.\n\n## Features\n- Incredibly simple to use. Just set the `title`, `text`, and `url`\n  properties and call the `share()` method to make the magic happen.\n- Highly customizable. It offers a great material design UI by default, but \n  it is also designed to be as much customizable as possible through CSS custom \n  properties and shadow parts.\n- Compatible with any major browser. The Web Share API is still quite young, but \n  the fallback dialog works on any browser supporting Custom Elements (directly \n  or through a polyfill). Unlike the native share menu, the fallback will also \n  work on desktop browsers and insecure contexts, so you will be able to offer \n  a much more coherent experience to your users.\n- Lightweight. If correctly minified (read the note about the bundle size below), \n  the `share-menu` element itself weighs 13.18 KB (4.34 KB gzipped, 3.76 KB brotli), \n  while the icons weigh 12.24 KB (5.66 KB gzipped, 4.9 KB brotli), for a total of \n  10 KB gzipped size and 8.66 KB brotli size.\n\n#### Note about the bundle size\nThe share menu repetitively uses some private helpers to avoid code duplication. \nAs a standard, these helpers always start with an underscore (_), so you can easily \ndrop the bundle size by telling your JS compiler to mangle all properties that start \nwith an underscore (to be safe, I would suggest to only apply this rule to the share \nmenu, but you might also get a smaller bundle size by applying this rule to any package, \nsince a property starting with an underscore is generally considered private). \nFor example, if you use Terser you might configure it in this way:\n```js\n{\n  mangle: {\n    properties: {\n      regex: /^_/,\n    },\n  },\n}\n```\nBy simply applying this rule, the minified package goes from 14.92 KB \n(4.5 KB gzipped, 3.93 KB brotli) to 13.18 KB (4.34 KB gzipped, 3.76 KB brotli). \nNote that the provided minified version already applies these optimizations, so you can \ndirectly import it if you want to same some bytes without having to change your compiler \nconfiguration.\n\n## Installation\n```bash\nnpm i share-menu\n# or\nyarn add share-menu\n```\n\n## Without npm/yarn\nIf you just want to directly include the script without installing it as a dependency, use the `unpkg` CDN:\n\n```html\n<script type=\"module\" src=\"https://unpkg.com/share-menu@5.0.0-rc.2\"></script>\n```\n\n## Try it now!\nTry copy-pasting this code on your browser's console in any website:\n```js\nvar a=document.createElement(\"script\");a.type=\"module\";a.textContent=\"import'https://unpkg.com/share-menu@5.0.0-rc.2';var a=document.createElement('share-menu');document.body.appendChild(a),a.share()\";document.head.appendChild(a);\n```\n_**Note:** these scripts will not work if the website implements a strict CSP \n(Content Security Policy). For example, these scripts won't work on GitHub._\n\n## Usage\n#### Basic usage\n```html\n<share-menu id=\"shareMenu\" title=\"Ohai!\" text=\"Just a test\" url=\"https://www.example.com/\"></share-menu>\n\n<button onclick=\"shareMenu.share()\">Share!</button>\n```\n#### All the properties set\n```html\n<share-menu\n  title=\"Awesome!\"\n  text=\"More customized share menu\"\n  url=\"https://www.example.com/\"\n  dialog-title=\"Share now!\"\n  no-backdrop>\n</share-menu>\n```\n\n## Supported socials (in the fallback dialog)\nHere you can see the list of the supported socials, as well as the limitations \nthat each one gives:\n\n - Baidu - _URL and title only_\n - Blogger\n - Buffer - _URL and title only_\n - Copy to clipboard\n - Digg - _URL and title only_\n - Douban - _URL and title only_\n - Email\n - Evernote - _URL only_\n - Facebook - _URL only if not using [Facebook JS SDK](https://developers.facebook.com/docs/javascript)_\n - FlipBoard - _URL and title only_\n - Instapaper\n - Line - _URL only_\n - LinkedIn\n - LiveJournal\n - Myspace\n - Odnoklassniki (OK.ru) - _URL and title only_\n - Pinterest - _Will only be visible if the URL is an image. Look for the `isImage` parameter on the API docs for more info_\n - Pocket - _URL only_\n - Print - _Only prints the page at the given URL_\n - QZone - _URL only_\n - Reddit - _Shares an URL if there is no text provided, otherwise a text with the URL appended at the end will be shared._ \n - Skype - _URL only_\n - SMS\n - StumbleUpon - _URL and title only_\n - Telegram\n - Translate - _Only translates the page at the given URL_\n - Tumblr\n - Twitter\n - Viber\n - VKontakte - _URL only_\n - Weibo\n - WhatsApp\n - WordPress\n - Xing - _URL only_\n - Yahoo\n\n## Icons\nThe icons used by the component are just simple SVG paths, so you can use them anywhere in your app simply by importing \n`social-icons.js` located in this package, e.g.\n\n```js\nimport { twitter } from 'share-menu/social-icons';\n\nmyIconContainer.innerHTML = `<svg viewBox=\"0 0 256 256\"><path d=\"${twitter}\"/></svg>`;\n```\n\n## Styling\nThe following custom properties and shadow parts are available for styling:\n\n| Property             | Description                                                       | Default              |\n| -------------------- | ----------------------------------------------------------------- | -------------------- |\n| `--backdrop-color`   | The color of the backdrop                                         | `#000`               |\n| `--background-color` | The background color of the fallback dialog                       | `#fff`               |\n| `--title-color`      | The color of the title of the fallback dialog                     | `rgba(0, 0, 0, .6)`  |\n| `--ripple-color`     | The color of the ripple of the fallback dialog                    | `#000`               |\n| `--labels-color`     | The color of the social labels of the fallback dialog             | `rgba(0, 0, 0, .87)` |\n| `dialog`             | The part assigned to the fallback dialog                          | -                    |\n| `backdrop`           | The part assigned to the backdrop of the fallback dialog          | -                    |\n| `title`              | The part assigned to the title of the fallback dialog             | -                    |\n| `social-button`      | The part assigned to each social button of the fallback dialog    | -                    |\n| `social-icon`        | The part assigned to each social icon of the fallback dialog      | -                    |\n| `social-label`       | The part assigned to each social label of the fallback dialog     | -                    |\n","readmeFilename":"README.md","gitHead":"4d5cbd4f59ccca70a55b37e1f4a66a426258f2ba","_id":"share-menu@5.0.0-rc.3","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-2nlmeDEjntcYsdIro0RxFx1KjyOPBbr4qveTSqklqCSl9CnWvuDA0TWdjOH4w9HRbqNj/nh4WXN8Vj7yuL1dZg==","shasum":"5559216648db6909448017169991d42d4fa122b0","tarball":"https://registry.npmjs.org/share-menu/-/share-menu-5.0.0-rc.3.tgz","fileCount":58,"unpackedSize":122227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJevD56CRA9TVsSAnZWagAA6aAP/1U9JI0wYkZOIf2VfGlJ\nEiFo1TAj6qA+nmuBlrS5cx6F7piVW3w2xZOoEt9L1GHiDD1VTF5yhMRaNU5t\nEbXfiaUxgkVa2hjdd1m/pICJu7FeGMSJ6NR7qUYBghNfec1QJb95QUHeBtmi\neJWgDd3DNIb8bnQH3i5ZeOjAM4wwTYXsUIZWQBdu1JqHpADMMJ4KssDmiwBq\nzMFscImtZhvK046S0+JAur5qUboqY8JcdOA3q2kfWoPvXKEorzUeEnUekymC\n8Xmh7xLB+pb/EDtPVsYY55m3hwcG9hzht/r2UYpYZ/y3MtgcaZ+FzoScOps9\nKzulaIYFg3WrqIFdE6VI7ABisyLJZAJa5OmhQs/zBj1OE7BR7Ul65HQKhRsp\nVyNm6XBW6Ry5MQy4PzVjlsLkSIuuXP+oSse/KZB4uaQEi6XnDZikhUrxXAyC\n6AeKQDZQPonXFh44Z8xy07Iml6NM96ZA2KjZhQxMB4hG4M/P1DCPYUIAq6NX\nVWLTN5noo+11LDHrbm09RNdUfNM1hwHV27HD+02SXjUOyDYjsYI6W9qnAfA+\nucJ4vYc13lG9VQJWUOO+UobT4hjQw0W6MVJOaR0lU+x8scxPmTe9j0TZgamv\nAk2NQnf+4zRt3Rebc4VpnRP4bscCjJAOoLDPsdLriJ74RxE2mqb6cPXBdti4\nL482\r\n=pys0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBQHO/prqClE4irTjKyeMyDycsrwFNkeHsnCIfKEwy2TAiB4mspo0A5pRYTSK0QkgGUjxwRtS7pIYzJQLBc32eF+3w=="}]},"maintainers":[{"name":"dabolus","email":"giorgio@garasto.it"}],"_npmUser":{"name":"dabolus","email":"giorgio@garasto.it"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/share-menu_5.0.0-rc.3_1589395065531_0.19207560709137428"},"_hasShrinkwrap":false},"5.0.0-rc.4":{"name":"share-menu","version":"5.0.0-rc.4","description":"A complete and simple to use share menu.","main":"share-menu.js","module":"share-menu.js","browser":"share-menu.js","types":"share-menu.d.ts","scripts":{"start":"run-p watch serve","watch":"rollup -w -c rollup.config.ts --configPlugin @rollup/plugin-typescript","serve":"wds --node-resolve --port 8080 --watch --app-index 'demo/index.html'","build":"NODE_ENV=production rollup -c rollup.config.ts --configPlugin @rollup/plugin-typescript","lint:src":"eslint --ext .ts 'src/**/*.{js,ts}'","lint:test":"eslint --ext .ts 'test/**/*.{js,ts}' --config .eslintrc.test","lint":"run-p lint:src lint:test","format:src":"yarn lint:src -- --fix","format:test":"yarn lint:test -- --fix","format":"run-p format:src format:test","prepublishOnly":"yarn build","test":"wtr \"test/**/*.spec.ts\"","test:watch":"yarn test --watch"},"devDependencies":{"@babel/preset-typescript":"^7.18.6","@open-wc/testing":"^3.1.7","@rollup/plugin-replace":"^5.0.1","@rollup/plugin-typescript":"^10.0.1","@types/facebook-js-sdk":"^3.3.6","@types/glob":"^8.0.0","@typescript-eslint/eslint-plugin":"^5.46.0","@typescript-eslint/parser":"^5.46.0","@web/dev-server":"^0.1.35","@web/dev-server-esbuild":"^0.3.3","@web/test-runner":"^0.15.0","@web/test-runner-commands":"^0.6.5","@web/test-runner-playwright":"^0.9.0","eslint":"^8.29.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","glob":"^8.0.3","npm-run-all":"^4.1.5","prettier":"^2.8.1","rollup":"^3.7.2","rollup-plugin-filesize":"^9.1.2","rollup-plugin-minify-html-literals":"^1.2.6","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript2":"^0.34.1","sinon":"^15.0.0","typescript":"^4.9.4","webpack-merge":"^5.8.0"},"repository":{"type":"git","url":"git+https://github.com/Dabolus/share-menu.git"},"keywords":["custom-element","web-component","share-menu","web-share-api"],"author":{"name":"Giorgio Garasto","email":"giorgio@garasto.it"},"license":"MIT","bugs":{"url":"https://github.com/Dabolus/share-menu/issues"},"homepage":"https://github.com/Dabolus/share-menu#readme","packageManager":"yarn@3.3.0","gitHead":"f73940c6878976fd4a5c59993382f2104c93ca04","_id":"share-menu@5.0.0-rc.4","_nodeVersion":"18.9.1","_npmVersion":"8.19.1","dist":{"integrity":"sha512-QRR2qIIuc2HHa5MAGrg32XCO8Gz4oBhAL2zuGtkWHQSlT0xyuRlR2DTPQB92xMImhROEJnXe0VoKbwkYUOnLUA==","shasum":"49ab4b42cdaee320aa12bd9456da2f2637d378a1","tarball":"https://registry.npmjs.org/share-menu/-/share-menu-5.0.0-rc.4.tgz","fileCount":97,"unpackedSize":173413,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMWR8ENjc9Vgc2n1szdOXS16R3xvkEg6TqA1lif9ErjQIhAIVIzXbPOYi7/zjqF35j4Cp5m8XHszcyb3gl+OzbLX3h"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjljr+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmod7A//b7MkmZKSQm0/08yYeoaSe1y1m8ZlcZ5eQUZCxlIeadqFbIus\r\nqhiVD0fYxv+U3bOqG9na/DLfyGs5Ij/ILDkg9kg2MnDP3wkEvODA87NqK3n+\r\nCIh1LcimxSNu1nq+/8aFrylWQUdhmFaG3Hy8XHeIBOs+YsswIcHBI5/yaOQo\r\n+TLXkPM1Go/mlW4Sy8CjYWJAbz8XSQ2GHYfj/G3SibGFV56jKjgVVQbsvIgA\r\nKLVLYLvX0tQXbzIKAgGsU2xumID3AaYp68jCfXtBGDbs238BnmT7B6bFzi7o\r\nkDHY2HFQ0wJ6pz/7fETzcZW/cXSRkp/Yl9UKy3QdFTv9Ii8mkh+KxBoTG1k4\r\n0sjOER8faCKj+TxoQvdPwxQuErltNbrO0fUch82ImQ7oaC2XWsuTxSjOzSIW\r\niPXgsy+bvueylkFfMP1XhgbzvRlCqotBLJ4JRf1cPRfQ1M2c/BfaBOPxthPP\r\nopVqnToxP2WP+h8PJQXDnXPD7XWC241Sv/ypo9j8TMwVe0hBm8eVwW7vIZS4\r\nYotm9VhhUHj6iTKIJNfZqM/Bm5NBqLlX8R8vGrc/L7NmeIH12PX2qWTeli1Z\r\n7ZO8rN7QPBMx7OPqS8//QO6wY59rMJWeS1KaN33xzJyJIc98UWBCZtqqUeeQ\r\nTSUKxGlT32Ff3BuxIx4hOHUux0uEt0ZEuvs=\r\n=B3WX\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dabolus","email":"giorgio@garasto.it"},"directories":{},"maintainers":[{"name":"dabolus","email":"giorgio@garasto.it"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/share-menu_5.0.0-rc.4_1670789885857_0.21096723395369144"},"_hasShrinkwrap":false},"5.0.0":{"name":"share-menu","version":"5.0.0","description":"A complete and simple to use share menu.","main":"share-menu.js","module":"share-menu.js","browser":"share-menu.js","types":"share-menu.d.ts","type":"module","scripts":{"start":"run-p watch serve","watch":"rollup -w -c rollup.config.ts --configPlugin @rollup/plugin-typescript","serve":"wds --node-resolve --port 8080 --watch --app-index 'demo/index.html'","build":"NODE_ENV=production rollup -c rollup.config.ts --configPlugin @rollup/plugin-typescript","lint:src":"eslint --ext .ts 'src/**/*.{js,ts}'","lint:test":"eslint --ext .ts 'test/**/*.{js,ts}' --config .eslintrc.test","lint":"run-p lint:src lint:test","format:src":"yarn lint:src -- --fix","format:test":"yarn lint:test -- --fix","format":"run-p format:src format:test","prepublishOnly":"yarn build","test":"wtr","test:watch":"yarn test --watch"},"devDependencies":{"@babel/preset-typescript":"^7.22.5","@esm-bundle/chai-as-promised":"^7.1.1","@open-wc/testing":"^3.2.0","@rollup/plugin-typescript":"^11.1.2","@types/chai-as-promised":"^7.1.5","@types/facebook-js-sdk":"^3.3.6","@types/glob":"^8.1.0","@typescript-eslint/eslint-plugin":"^6.2.1","@typescript-eslint/parser":"^6.2.1","@web/dev-server":"^0.3.0","@web/dev-server-esbuild":"^0.4.1","@web/test-runner":"^0.17.0","@web/test-runner-commands":"^0.8.0","@web/test-runner-playwright":"^0.10.1","eslint":"^8.46.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","glob":"^10.3.3","npm-run-all":"^4.1.5","prettier":"^3.0.1","rollup":"^3.27.2","rollup-plugin-filesize":"^10.0.0","rollup-plugin-minify-html-literals":"^1.2.6","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript2":"^0.35.0","sinon":"^15.2.0","typescript":"^5.1.6"},"repository":{"type":"git","url":"git+https://github.com/Dabolus/share-menu.git"},"keywords":["custom-element","web-component","share-menu","web-share-api"],"author":{"name":"Giorgio Garasto","email":"giorgio@garasto.it"},"license":"MIT","bugs":{"url":"https://github.com/Dabolus/share-menu/issues"},"homepage":"https://github.com/Dabolus/share-menu#readme","packageManager":"yarn@3.6.1","gitHead":"b16667caf6d7224096869aa1a7e55e17f4878f11","_id":"share-menu@5.0.0","_nodeVersion":"18.17.0","_npmVersion":"9.6.7","dist":{"integrity":"sha512-3LCMSj/eI/LD2eDvINONGWetypJN15tfBDt/BL1/D8zexVNtxvYolnexJ8gV2gm99k1mW+3V5X0DcDzFzTU85A==","shasum":"1518fdd8f4557ef62470c9dd2531646c5f698ce0","tarball":"https://registry.npmjs.org/share-menu/-/share-menu-5.0.0.tgz","fileCount":124,"unpackedSize":235987,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDM7IohPDUAVqvxYFDo7S0GR0eelwc+l9S+qEKLqqxQRQIgR1C5zyiSqQW5V1BfZFxMgIc99rd4nb7aAYDoog1Nvaw="}]},"_npmUser":{"name":"dabolus","email":"giorgio@garasto.it"},"directories":{},"maintainers":[{"name":"dabolus","email":"giorgio@garasto.it"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/share-menu_5.0.0_1692124033319_0.7504510705597665"},"_hasShrinkwrap":false},"5.0.1":{"name":"share-menu","version":"5.0.1","description":"A complete and simple to use share menu.","main":"share-menu.js","module":"share-menu.js","browser":"share-menu.js","types":"share-menu.d.ts","type":"module","scripts":{"start":"run-p watch serve","watch":"rollup -w -c rollup.config.ts --configPlugin @rollup/plugin-typescript","serve":"wds --node-resolve --port 8080 --watch --app-index 'demo/index.html'","build":"NODE_ENV=production rollup -c rollup.config.ts --configPlugin @rollup/plugin-typescript","lint:src":"eslint --ext .ts 'src/**/*.{js,ts}'","lint:test":"eslint --ext .ts 'test/**/*.{js,ts}' --config .eslintrc.test","lint":"run-p lint:src lint:test","format:src":"yarn lint:src -- --fix","format:test":"yarn lint:test -- --fix","format":"run-p format:src format:test","prepublishOnly":"yarn build","test":"wtr","test:watch":"yarn test --watch"},"devDependencies":{"@babel/preset-typescript":"^7.22.5","@esm-bundle/chai-as-promised":"^7.1.1","@open-wc/testing":"^3.2.0","@rollup/plugin-typescript":"^11.1.2","@types/chai-as-promised":"^7.1.5","@types/facebook-js-sdk":"^3.3.6","@types/glob":"^8.1.0","@typescript-eslint/eslint-plugin":"^6.2.1","@typescript-eslint/parser":"^6.2.1","@web/dev-server":"^0.3.0","@web/dev-server-esbuild":"^0.4.1","@web/test-runner":"^0.17.0","@web/test-runner-commands":"^0.8.0","@web/test-runner-playwright":"^0.10.1","eslint":"^8.46.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","glob":"^10.3.3","npm-run-all":"^4.1.5","prettier":"^3.0.1","rollup":"^3.27.2","rollup-plugin-filesize":"^10.0.0","rollup-plugin-minify-html-literals":"^1.2.6","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript2":"^0.35.0","sinon":"^15.2.0","typescript":"^5.1.6"},"repository":{"type":"git","url":"git+https://github.com/Dabolus/share-menu.git"},"keywords":["custom-element","web-component","share-menu","web-share-api"],"author":{"name":"Giorgio Garasto","email":"giorgio@garasto.it"},"license":"MIT","bugs":{"url":"https://github.com/Dabolus/share-menu/issues"},"homepage":"https://github.com/Dabolus/share-menu#readme","packageManager":"yarn@3.6.1","gitHead":"43e873c11307d59e297de8d8ab2c4441b4e71310","_id":"share-menu@5.0.1","_nodeVersion":"18.17.0","_npmVersion":"9.6.7","dist":{"integrity":"sha512-joh8gP7AwdPk7WqhC3g7MVUBr6/VQNcygN70+38mvswuoh0EuoFf/vZeeHSxK5EeXbgnm5Wor30EvNwZ1CMYHQ==","shasum":"3a60930d19a99454aac40204e20710842fc986f6","tarball":"https://registry.npmjs.org/share-menu/-/share-menu-5.0.1.tgz","fileCount":124,"unpackedSize":235987,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjFY3sOh1Kfdozh64M5r4uyGL+A2OUT+utp1QYegMK3AIgYMPBNU9TQY8pm8keoOmkcg/ujSXLAUiwa1q7z6XERyc="}]},"_npmUser":{"name":"dabolus","email":"giorgio@garasto.it"},"directories":{},"maintainers":[{"name":"dabolus","email":"giorgio@garasto.it"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/share-menu_5.0.1_1692125863494_0.5795526685296817"},"_hasShrinkwrap":false},"5.1.0":{"name":"share-menu","version":"5.1.0","description":"A complete and simple to use share menu.","main":"share-menu.js","module":"share-menu.js","browser":"share-menu.js","types":"share-menu.d.ts","type":"module","scripts":{"start":"concurrently bun:watch bun:serve","watch":"bun run --bun rollup -w -c rollup.config.ts","serve":"bun run --bun wds --port 8080 --watch --app-index 'demo/index.html'","build":"NODE_ENV=production bun run --bun rollup -c rollup.config.ts","lint:src":"bun run eslint --ext .ts 'src/**/*.{js,ts}'","lint:test":"bun run eslint --ext .ts 'test/**/*.{js,ts}' --config .eslintrc.test","lint":"concurrently bun:lint:src bun:lint:test","format:src":"bun run lint:src -- --fix","format:test":"bun run lint:test -- --fix","format":"concurrently bun:format:src bun:format:test","prepublishOnly":"bun run build","test":"bun run --bun wtr","upgrade-interactive":"ncu --interactive"},"devDependencies":{"@esm-bundle/chai-as-promised":"^7.1.1","@open-wc/testing":"^4.0.0","@types/chai-as-promised":"^7.1.8","@types/facebook-js-sdk":"^3.3.10","@types/glob":"^8.1.0","@typescript-eslint/eslint-plugin":"^7.1.1","@typescript-eslint/parser":"^7.1.1","@web/dev-server":"^0.4.3","@web/dev-server-esbuild":"^1.0.2","@web/test-runner":"^0.18.1","@web/test-runner-commands":"^0.9.0","@web/test-runner-playwright":"^0.11.0","concurrently":"^8.2.2","eslint":"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","glob":"^10.3.10","npm-check-updates":"^16.14.15","prettier":"^3.2.5","rollup":"^4.12.1","rollup-plugin-filesize":"^10.0.0","rollup-plugin-minify-html-literals":"^1.2.6","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript2":"^0.36.0","sinon":"^17.0.1","typescript":"^5.4.2"},"repository":{"type":"git","url":"git+https://github.com/Dabolus/share-menu.git"},"keywords":["custom-element","web-component","share-menu","web-share-api"],"author":{"name":"Giorgio Garasto","email":"giorgio@garasto.it"},"license":"MIT","bugs":{"url":"https://github.com/Dabolus/share-menu/issues"},"homepage":"https://github.com/Dabolus/share-menu#readme","_id":"share-menu@5.1.0","gitHead":"3a8539e74c0f91061f58915a1719da5809140903","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-n3d4SGyQrgTbxc3uokSFyOky93i8lUpBkpU0n/saWe53mLiu0o74ix/FRMLs8QNFMUYBQGOEY9rj7UuGCE3iUA==","shasum":"49f0bcd310ad1ba3d87e14a2e107b7164c414cd3","tarball":"https://registry.npmjs.org/share-menu/-/share-menu-5.1.0.tgz","fileCount":130,"unpackedSize":241895,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/bSQ3hOqU7Aln+iGmEnrPERSf6gSma41JMGfO9xREGgIgRp7RngbSlfe74XhTPv62ykGRitEpf9e80JIcWPlOWgE="}]},"_npmUser":{"name":"dabolus","email":"giorgio@garasto.it"},"directories":{},"maintainers":[{"name":"dabolus","email":"giorgio@garasto.it"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/share-menu_5.1.0_1709884284043_0.1531094811993603"},"_hasShrinkwrap":false}},"time":{"created":"2018-10-14T11:34:12.934Z","3.0.0-rc.1":"2018-10-14T11:34:13.179Z","modified":"2024-03-08T07:51:24.621Z","3.0.0-rc.2":"2018-10-14T18:43:45.149Z","3.0.0":"2018-10-16T20:03:20.871Z","3.0.1":"2018-12-19T20:26:45.450Z","3.0.2":"2018-12-21T20:37:26.568Z","4.0.0-rc.1":"2018-12-27T22:15:49.567Z","4.0.0-rc.2":"2019-01-12T18:57:39.898Z","4.0.0-rc.3":"2019-01-30T07:11:08.552Z","4.0.0-rc.4":"2019-05-14T19:12:20.689Z","4.0.0-rc.5":"2019-10-16T17:30:05.053Z","4.0.0":"2019-11-07T07:17:50.346Z","5.0.0-rc.1":"2020-05-12T11:18:57.393Z","5.0.0-rc.2":"2020-05-13T05:41:03.410Z","5.0.0-rc.3":"2020-05-13T18:37:45.699Z","5.0.0-rc.4":"2022-12-11T20:18:06.058Z","5.0.0":"2023-08-15T18:27:13.626Z","5.0.1":"2023-08-15T18:57:43.702Z","5.1.0":"2024-03-08T07:51:24.223Z"},"maintainers":[{"name":"dabolus","email":"giorgio@garasto.it"}],"description":"A complete and simple to use share menu.","homepage":"https://github.com/Dabolus/share-menu#readme","keywords":["custom-element","web-component","share-menu","web-share-api"],"repository":{"type":"git","url":"git+https://github.com/Dabolus/share-menu.git"},"author":{"name":"Giorgio Garasto","email":"giorgio@garasto.it"},"bugs":{"url":"https://github.com/Dabolus/share-menu/issues"},"license":"MIT","readme":"# \\<share-menu\\>\n\n[![Build status](https://github.com/Dabolus/share-menu/workflows/Lint%2C%20test%20and%20build/badge.svg)](https://github.com/Dabolus/share-menu/actions?query=workflow%3A%22Lint%2C+test+and+build%22)\n[![Code quality](https://app.codacy.com/project/badge/Grade/6d329cda2e744d94b4dfaa9d99848b1b)](https://app.codacy.com/gh/Dabolus/share-menu/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)\n[![Code coverage](https://app.codacy.com/project/badge/Coverage/6d329cda2e744d94b4dfaa9d99848b1b)](https://app.codacy.com/gh/Dabolus/share-menu/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_coverage)\n\n[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/share-menu)\n[![Release](https://img.shields.io/github/release/Dabolus/share-menu/all.svg)](https://github.com/Dabolus/share-menu)\n[![Minzipped size](https://img.shields.io/bundlephobia/minzip/share-menu.svg)](https://bundlephobia.com/result?p=share-menu)\n\n_[Demo and API docs](https://www.webcomponents.org/element/share-menu)_\n\nA complete and simple to use share menu that uses\n[Web Share API](https://developers.google.com/web/updates/2016/10/navigator-share)\nwhen possible, with a fallback to a nice share menu that tries to emulate the\nexperience of the native one.\n\n## Features\n\n- Incredibly simple to use. Just set one of the `title`, `text`, `url`, or\n  `image` properties and call the `share()` method to make the magic happen;\n- Highly customizable. It offers a great material design UI by default, but\n  it is also designed to be as much customizable as possible through CSS custom\n  properties and shadow parts. It also offers lots of built-in share targets\n  and presets, with support for custom ones if needed;\n- Compatible with any major browser. The Web Share API is still quite young,\n  but the fallback dialog works on any browser supporting Custom Elements\n  (directly or through a polyfill). Unlike the native share menu, the fallback\n  will also work on desktop browsers and insecure contexts, so you will be able\n  to offer a much more coherent experience to your users;\n- Lightweight. The `share-menu` element itself weighs ~11.7 KB (~3.7 KB when\n  compressed), while each built-in share target weighs on average ~700B (less\n  than half the size when compressed);\n- Thoroughly tested. Both the native and fallback behaviors are covered by tests,\n  including each share target and preset. Minimum code coverage is set to 90% to\n  ensure that each new feature maintains a high level of quality.\n\n## Installation\n\n```bash\nnpm i share-menu\n# or\nyarn add share-menu\n# or\nbun i share-menu\n```\n\n## Without npm/yarn/bun\n\nIf you just want to directly include the script without installing it as a dependency, use the `jsDelivr` ESM CDN (`esm.run`):\n\n```html\n<!-- Main component -->\n<script type=\"module\" src=\"https://esm.run/share-menu@5.1.0\"></script>\n<!-- Single share target -->\n<script\n  type=\"module\"\n  src=\"https://esm.run/share-menu@5.1.0/targets/email.js\"\n></script>\n<!-- Share target preset -->\n<script\n  type=\"module\"\n  src=\"https://esm.run/share-menu@5.1.0/targets/presets/all.js\"\n></script>\n```\n\n## Try it now!\n\nTry copy-pasting this code on your browser's console in any website:\n\n```js\nvar a = document.createElement('script');\na.type = 'module';\na.textContent =\n  'import\"https://esm.run/share-menu@5.1.0\";import\"https://esm.run/share-menu@5.1.0/targets/presets/all.js\";var b=document.createElement(\"share-menu\"),c=document.createElement(\"share-target-preset-all\");b.appendChild(c),document.body.appendChild(b),b.share();';\ndocument.head.appendChild(a);\n```\n\n_**Note:** these scripts will not work if the website implements a strict CSP\n(Content Security Policy). For example, these scripts won't work on GitHub._\n\n## Usage\n\n#### Basic usage\n\n```html\n<share-menu\n  id=\"basicShareMenu\"\n  title=\"Ohai!\"\n  text=\"Just a test\"\n  url=\"https://www.example.com/\"\n  image=\"https://www.example.com/image.png\"\n>\n  <share-target-preset-all></share-target-preset-all>\n</share-menu>\n\n<button onclick=\"basicShareMenu.share()\">Share!</button>\n```\n\n#### With more configuration options and custom share targets\n\n```html\n<share-menu\n  id=\"customShareMenu\"\n  title=\"Awesome!\"\n  text=\"More customized share menu\"\n  url=\"https://www.example.com/\"\n  image=\"https://www.example.com/image.png\"\n  dialog-title=\"Share now\"\n  copy-hint=\"Copy to clipboard\"\n  handle=\"always\"\n  no-backdrop\n>\n  <share-target-email></share-target-email>\n  <share-target-facebook></share-target-facebook>\n  <share-target-telegram></share-target-telegram>\n</share-menu>\n\n<button onclick=\"customShareMenu.share()\">Share!</button>\n```\n\n## Defining the share targets (for the fallback dialog)\n\n### Built-in targets\n\nThis component comes with a large number of built-in targets that can be used\nto share content to the most popular social networks and messaging apps. These\ntargets can be found in the `targets` folder and can be imported as follows:\n\n```js\nimport 'share-menu/targets/<target>.js';\n```\n\nHere you can see the list of the built-in targets, as well as the capabilities\nand limitations of each of them:\n\n| Target                | Title | Text | URL | Image | Notes                                                                                                                       |\n| --------------------- | ----- | ---- | --- | ----- | --------------------------------------------------------------------------------------------------------------------------- |\n| Clipboard             | ✅    | ✅   | ✅  | ✅    | Copying images is not supported on Firefox                                                                                  |\n| Blogger               | ✅    | ✅   | ✅  | ❌    |                                                                                                                             |\n| Bluesky               | ✅    | ✅   | ✅  | ❌    |                                                                                                                             |\n| Diaspora              | ✅    | ❌   | ✅  | ❌    |                                                                                                                             |\n| Douban                | ✅    | ✅   | ✅  | ❌    |                                                                                                                             |\n| Email                 | ✅    | ✅   | ✅  | ❌    |                                                                                                                             |\n| Evernote              | ✅    | ❌   | ✅  | ❌    |                                                                                                                             |\n| Facebook              | ✅    | ✅   | ✅  | ❌    | URL only if not using [Facebook JS SDK](https://developers.facebook.com/docs/javascript) or not providing a Facebook App ID |\n| Flipboard             | ✅    | ❌   | ✅  | ❌    |                                                                                                                             |\n| Gmail                 | ✅    | ✅   | ✅  | ❌    |                                                                                                                             |\n| Google Translate      | ❌    | ❌   | ✅  | ❌    | Translates the page at the given URL                                                                                        |\n| Hacker News           | ✅    | ❌   | ✅  | ❌    |                                                                                                                             |\n| Instapaper            | ✅    | ✅   | ✅  | ❌    |                                                                                                                             |\n| KakaoTalk             | ❌    | ❌   | ✅  | ❌    |                                                                                                                             |\n| LINE                  | ❌    | ❌   | ✅  | ❌    |                                                                                                                             |\n| LinkedIn              | ❌    | ❌   | ✅  | ❌    |                                                                                                                             |\n| LiveJournal           | ✅    | ✅   | ✅  | ❌    |                                                                                                                             |\n| Mastodon              | ✅    | ✅   | ✅  | ❌    | Uses [toot](https://toot.kytta.dev/) to ask for the instance on which to share the content                                  |\n| Messenger             | ❌    | ❌   | ✅  | ❌    | Requires a Facebook App ID                                                                                                  |\n| Mix                   | ❌    | ❌   | ✅  | ❌    |                                                                                                                             |\n| Odnoklassniki (OK.ru) | ✅    | ✅   | ✅  | ✅    |                                                                                                                             |\n| Pinterest             | ✅    | ✅   | ✅  | ✅    |                                                                                                                             |\n| Pocket                | ❌    | ❌   | ✅  | ❌    |                                                                                                                             |\n| Print                 | ❌    | ❌   | ✅  | ❌    | Prints the page at the given URL                                                                                            |\n| QZone                 | ✅    | ✅   | ✅  | ❌    |                                                                                                                             |\n| Reddit                | ✅    | ✅   | ✅  | ❌    | Shares an URL if there is no text provided, otherwise a text with the URL appended at the end                               |\n| Skype                 | ✅    | ✅   | ✅  | ❌    |                                                                                                                             |\n| SMS                   | ✅    | ✅   | ✅  | ❌    |                                                                                                                             |\n| Snapchat              | ❌    | ❌   | ✅  | ❌    |                                                                                                                             |\n| Substack Notes        | ✅    | ✅   | ✅  | ❌    |                                                                                                                             |\n| Telegram              | ✅    | ✅   | ✅  | ❌    |                                                                                                                             |\n| Tumblr                | ✅    | ✅   | ✅  | ❌    |                                                                                                                             |\n| X (Twitter)           | ✅    | ✅   | ✅  | ❌    |                                                                                                                             |\n| VKontakte (VK)        | ✅    | ✅   | ✅  | ❌    |                                                                                                                             |\n| Weibo                 | ✅    | ✅   | ✅  | ✅    |                                                                                                                             |\n| WhatsApp              | ✅    | ✅   | ✅  | ❌    |                                                                                                                             |\n| XING                  | ❌    | ❌   | ✅  | ❌    |                                                                                                                             |\n| Yahoo Mail            | ✅    | ✅   | ✅  | ❌    |                                                                                                                             |\n\n### Presets\n\nGiven the large number of built-in targets, it can be quite tedious to add them\nall to the share menu. For this reason, this component offers a few presets\nthat can be used to add a collection of targets at once. Presets can be found\nin the `targets/presets` folder and can be imported as follows:\n\n```js\nimport 'share-menu/targets/presets/<preset>.js';\n```\n\nHere is the list of the available presets, together with the targets included\nin each of them:\n\n| Preset           | Targets included                                                                                                                  | Notes                                                  |\n| ---------------- | --------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------ |\n| All              | All the built-in targets                                                                                                          | Requires Facebook App ID for Messenger to be displayed |\n| Top 15 Worldwide | Facebook, Messenger, WhatsApp, Weibo, Telegram, Snapchat, QZone, Pinterest, X (Twitter), Reddit, LinkedIn, Tumblr, Douban, VK, OK | Requires Facebook App ID for Messenger to be displayed |\n\n### Custom share targets\n\nShare targets in the fallback dialog are just simple HTML custom elements that\nimplement the `ShareTarget` interface. More specifically, they must expose:\n\n- A `displayName` field that contains the name of the target;\n- A `color` field that contains the hex color of the target **without the hash**;\n- An `icon` field that contains the SVG path of the icon of the target;\n  **Only the path must be provided** (i.e. what you have inside the the `d` attribute of your SVG), **not the whole SVG**.\n  Icon must will be rendered inside a 256x256 viewBox, so make sure that the icon fits correctly inside that area;\n- A `share` method that takes the `ShareMenu` instance as parameter and that performs\n  the actual share action when the target button is clicked;\n- Optionally, an `outline` field that contains the hex color of the outline of the target **without the hash**;\n- Optionally, a `hint` field that contains an additional hint text for the target.\n\nSee [any of the built-in targets](./src/targets/) for a practical example on how to implement yours.\n\n## Styling\n\nThe following custom properties and shadow parts are available for styling:\n\n| Property                          | Description                                             | Default   |\n| --------------------------------- | ------------------------------------------------------- | --------- |\n| `--sm-backdrop-color`             | The color of the backdrop                               | `#000`    |\n| `--sm-background-color`           | The background color                                    | `#ece6f0` |\n| `--sm-clipboard-background-color` | The background color of the \"copy to clipboard\" section | `#e6e0e9` |\n| `--sm-title-color`                | The color of the title                                  | `#1c1b1f` |\n| `--sm-ripple-color`               | The color of the ripple effect                          | `#fff`    |\n| `--sm-labels-color`               | The color of the social labels                          | `#1c1b1f` |\n| `--sm-hint-color`                 | The color of the hint labels                            | `#49454e` |\n| `--sm-handle-color`               | The color of the handle on top of the dialog            | `#79747e` |\n| `--sm-divider-color`              | The color of the dividers                               | `#c4c7c5` |\n| `--sm-preview-color`              | The color of the preview of what is being shared        | `#49454e` |\n\n| Part            | Description                             |\n| --------------- | --------------------------------------- |\n| `dialog`        | The part assigned to the dialog         |\n| `backdrop`      | The part assigned to the backdrop       |\n| `title`         | The part assigned to the title          |\n| `social-button` | The part assigned to each social button |\n| `social-icon`   | The part assigned to each social icon   |\n| `social-label`  | The part assigned to each social label  |\n\n_Note: for obvious reasons, these custom properties and shadow parts are not available when using the native share menu._\n","readmeFilename":"README.md"}