{"_id":"@curvenote/svg","_rev":"7-0f8aae36cd16da71bf55cad16ccc4851","name":"@curvenote/svg","dist-tags":{"latest":"0.0.9"},"versions":{"0.0.7":{"name":"@curvenote/svg","version":"0.0.7","description":"Scientific web components for interactive scientific writing, reactive documents and explorable explanations.","main":"dist/index.js","unpkg":"dist/curvenote.min.js","types":"dist/index.d.ts","keywords":["explorable explanations","web components","writing"],"author":{"name":"rowanc1"},"license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/curvenote/svg.git"},"bugs":{"url":"https://github.com/curvenote/svg/issues"},"homepage":"https://curvenote.dev/svg","scripts":{"test":"jest","lint":"eslint \"src/**/*.ts\" -c .eslintrc.json","clean":"rm -rf dist","link":"yarn unlink; yarn link; yarn link @curvenote/runtime; yarn link @curvenote/components","start":"webpack serve --config webpack.dev.js","build-dev":"webpack --config webpack.dev.js","build":"webpack --config webpack.prod.js; tsc; cp src/index.css dist/curvenote.css; rm -rf dist/src","prepublishOnly":"yarn run clean; yarn run build;"},"devDependencies":{"@types/d3-array":"^2.9.0","@types/d3-axis":"^2.0.0","@types/d3-drag":"^2.0.0","@types/d3-format":"^2.0.0","@types/d3-scale":"^3.2.2","@types/d3-scale-chromatic":"^2.0.0","@types/d3-selection":"^2.0.0","@types/d3-shape":"^2.0.0","@types/jest":"^26.0.20","@types/uuid":"^8.3.0","@typescript-eslint/eslint-plugin":"^4.15.0","clean-webpack-plugin":"^3.0.0","css-loader":"^5.0.2","eslint":"^7.20.0","eslint-config-airbnb-typescript":"^12.3.1","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^24.1.3","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-react":"^7.22.0","eslint-plugin-react-hooks":"^4.2.0","express":"^4.17.1","html-webpack-plugin":"^5.1.0","jest":"^26.6.3","style-loader":"^2.0.0","ts-loader":"^8.0.17","typescript":"^4.1.5","webpack":"^5.22.0","webpack-cli":"^4.5.0","webpack-dev-server":"^3.11.2","webpack-merge":"^5.7.3"},"dependencies":{"@curvenote/components":"^0.2.8","@curvenote/runtime":"^0.2.7","d3-array":"^2.11.0","d3-axis":"^2.0.0","d3-drag":"^2.0.0","d3-format":"^2.0.0","d3-scale":"^3.2.3","d3-scale-chromatic":"^2.0.0","d3-selection":"^2.0.0","d3-shape":"^2.0.0","lit-element":"^2.4.0","lit-html":"^1.3.0","redux":"^4.0.5","redux-thunk":"^2.3.0","uuid":"^8.3.2"},"sideEffects":false,"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2020 Iooxa Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@curvenote/svg@0.0.7","dist":{"shasum":"aa1f2b1b140ac7d71ee5f2ea822ad3f1fca41515","integrity":"sha512-q3xGogSlN/lE689k03Dh7mdiLmoKGyKvOZeWzt3SMnsFE4BP5yu5Bbh+9L+iwUHaGVlYM/rKrUEsGX4JRAbnqg==","tarball":"https://registry.npmjs.org/@curvenote/svg/-/svg-0.0.7.tgz","fileCount":44,"unpackedSize":690444,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgKrq2CRA9TVsSAnZWagAAzS0P/0X3EOwbNuX5O/U9YWMV\nVCqNQHBZPOeKQtZEYcsNVEBMVQxQHCsPtMERr2LUy4s53AdFUjiGUluMw+yh\neYxgltf5+RqK6wMIJNCoD//XQ9Huyvo0aLyHyTbp55FmeECxsRBCBjS0/fUo\nRA0dnN7kkhnu9qsoUdg42CkfFa+QYpiMXsvNDm6EkXtOq/Yl/hsKVP8+pYgy\nIrmKWbVxyvMRKZPy5S2GU5yQM6PZLLTmu9bUXmpp1G0k2vNdvhwKH6Psx7NS\nEnTua77qjK75jXIWvTnvh4RZNW6qJEq7AvzA1qTh/tURaHXHejn9TljgL7pk\nXalKqQ1orKOWhcxEFzTNR7mELuDsx9NUQ2CRJ7aye+Rhv5g1XxGj+GNU6j3l\nz4tvKLnLiCKjFmGGMIOAiYXOKVe+7nZhzp1KBUrI0Sv7EE/mwrdkgmRuq1IN\ng3zigfmSDJMTiAlnk8Jnjk5jcDNFyZLFbc11KOGtTR4kxb/L2FKwsaLwHw12\nTWV/zalUriMKXgwSOuEUp5/h3ikJvAztdHEnt+jy1gOsmN26hwDnfgNqPwQH\nG1+nWWS6MGdATp+Sacu5R1TsPjU3bNHn03rFt13Nj7PLtnk4dUfER4mvRC8Y\nwdL1N/lzkKOtDRsE/NxRjPhIKQ/6GPl7E0/UqyZHLVpFF25vGXeSk4dSR5Al\nfccA\r\n=oTyv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJr3oeFxIr002cZ5NRfhjy8F1/NfxF4raO5zMJSdZJegIgUttTrT+CgWRR6v0s2kZj2hrJUqmT2WpU8ko+8F9yxcE="}]},"_npmUser":{"name":"rowanc1","email":"rowanc1@gmail.com"},"directories":{},"maintainers":[{"name":"rowanc1","email":"rowanc1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svg_0.0.7_1613413045895_0.25441697175802136"},"_hasShrinkwrap":false},"0.0.8":{"name":"@curvenote/svg","version":"0.0.8","description":"Scientific web components for interactive scientific writing, reactive documents and explorable explanations.","main":"dist/index.js","unpkg":"dist/curvenote.min.js","types":"dist/index.d.ts","keywords":["explorable explanations","web components","writing"],"author":{"name":"rowanc1"},"license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/curvenote/svg.git"},"bugs":{"url":"https://github.com/curvenote/svg/issues"},"homepage":"https://curvenote.dev/svg","scripts":{"test":"jest","lint":"eslint \"src/**/*.ts\" -c .eslintrc.json","lint:format":"prettier --check \"src/**/*.ts\"","lint:format:fix":"prettier --write \"src/**/*.ts\"","clean":"rm -rf dist","link":"yarn unlink; yarn link; yarn link @curvenote/runtime; yarn link @curvenote/components","start":"webpack serve --config webpack.dev.js","build-dev":"webpack --config webpack.dev.js","build":"webpack --config webpack.prod.js; tsc; cp src/index.css dist/curvenote.css; rm -rf dist/src","prepublishOnly":"yarn run clean; yarn run build;"},"dependencies":{"@curvenote/components":"^0.3.0","@curvenote/runtime":"^0.2.8","d3-array":"^3.0.1","d3-axis":"^3.0.0","d3-drag":"^3.0.0","d3-format":"^3.0.1","d3-scale":"^4.0.0","d3-scale-chromatic":"^3.0.0","d3-selection":"^3.0.0","d3-shape":"^3.0.1","lit-element":"^2.5.1","lit-html":"^1.4.1","redux":"^4.1.0","redux-thunk":"^2.3.0","uuid":"^8.3.2"},"devDependencies":{"@types/d3-array":"^3.0.1","@types/d3-axis":"^3.0.1","@types/d3-drag":"^3.0.0","@types/d3-format":"^3.0.0","@types/d3-scale":"^4.0.0","@types/d3-scale-chromatic":"^3.0.0","@types/d3-selection":"^3.0.0","@types/d3-shape":"^3.0.0","@types/jest":"^26.0.23","@types/uuid":"^8.3.0","@typescript-eslint/eslint-plugin":"^4.28.0","clean-webpack-plugin":"^3.0.0","css-loader":"^5.2.6","eslint":"^7.29.0","eslint-config-airbnb-typescript":"^12.3.1","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.23.4","eslint-plugin-jest":"^24.3.6","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^3.4.0","eslint-plugin-react":"^7.24.0","eslint-plugin-react-hooks":"^4.2.0","express":"^4.17.1","html-webpack-plugin":"^5.3.2","jest":"^27.0.5","prettier":"^2.3.2","style-loader":"^3.0.0","ts-loader":"^9.2.3","typescript":"^4.3.4","webpack":"^5.40.0","webpack-cli":"^4.7.2","webpack-dev-server":"^3.11.2","webpack-merge":"^5.8.0"},"sideEffects":false,"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2021 Iooxa Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@curvenote/svg@0.0.8","dist":{"shasum":"e6814b177afd964545342643d95e49b898a0d8fb","integrity":"sha512-x9fBnZorBDKypG+zGexN2pU/Yef/fNKnhYFUKfhQYxw9W3EqMTbJQYzxN4/skxdv+DW7LinhA5dgOxi8fcZsnw==","tarball":"https://registry.npmjs.org/@curvenote/svg/-/svg-0.0.8.tgz","fileCount":44,"unpackedSize":366355,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg14ZNCRA9TVsSAnZWagAAfB4P/2X9hQswikh+DwJ0w2Yp\nq8/GssQ2VVeWiHtO68JrZ4b3WyQbZRwc1DCukh3YbuAVAndwYbMkeWez+bjr\n7CSgtsBEdO1Ihy0YuRf4qrhZ1VJ3+cWAIm80oQKnH4CiSwZ3V1cJIrHimZc6\n6nm3bX1oAWYJKssuReOEWEYIYYsUD9crocuT9y3NNTUnemkvhSLhrBO2uPXx\n4Dda4N1pBkXH3FZW/Opxky8C7C7G4wrc5hxKJbdU3Tlye7lUr6hoc2bF7Juj\nSawS/yyYAHcWDyQWPDeU08X00W0CxyTY+i5jY+DrS6G4zBGSW8+INxfHYJvv\nk1SbQFu1KBhm0VotQwevXrG10n01MEyZmROoChJUm7vklR5lwI3iMjXX8Bjg\nzKeojkrJ1yPJaNXvuS1WACDWrHuXySoDwzG3YgdUk5ctVy9rmCHruMN5y43o\n+GgdjJEozEeVsNnWpdrlyyA8p25dDdqSs1+hVMuTehv5DbKAOykrWyPoLr+x\nO7dfp/d3nkNWcsqVrqJjvSrFxpaPHb0esbAf1BKmd3lJSW9dSxbjaShWz0mn\nu0To9McF5KfZLApVuTIabnuwxByKNf0wgEotv1mRbvifC2L8IgFxhANcBlT1\nCm3TINmmNzfrY0VgddjmL+3dSu485pb90Qmsh7bgdEGYirjkSfd06S9MOTOU\nDPzK\r\n=VO9I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRMOj90Zknpg1ShYqMvueEq6KxwN4RcOSWVOmO47shKQIgE4aIGN1cuYySgzsw8JKwL1INtyVHfk4qRaU4iDX4jBI="}]},"_npmUser":{"name":"rowanc1","email":"rowanc1@gmail.com"},"directories":{},"maintainers":[{"name":"stevejpurves","email":"stevejpurves@gmail.com"},{"name":"rowanc1","email":"rowanc1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svg_0.0.8_1624737357246_0.4447484529014729"},"_hasShrinkwrap":false},"0.0.9":{"name":"@curvenote/svg","version":"0.0.9","description":"Scientific web components for interactive scientific writing, reactive documents and explorable explanations.","main":"dist/index.js","unpkg":"dist/curvenote.min.js","types":"dist/index.d.ts","keywords":["explorable explanations","web components","writing"],"author":{"name":"rowanc1"},"license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/curvenote/svg.git"},"bugs":{"url":"https://github.com/curvenote/svg/issues"},"homepage":"https://curvenote.dev/svg","scripts":{"test":"jest","lint":"eslint \"src/**/*.ts\" -c .eslintrc.json","lint:format":"prettier --check \"src/**/*.ts\"","lint:format:fix":"prettier --write \"src/**/*.ts\"","clean":"rm -rf dist","link":"yarn unlink; yarn link; yarn link @curvenote/runtime; yarn link @curvenote/components","start":"webpack serve --config webpack.dev.js","build-dev":"webpack --config webpack.dev.js","build":"webpack --config webpack.prod.js; tsc; cp src/index.css dist/curvenote.css; rm -rf dist/src","prepublishOnly":"yarn run clean; yarn run build;"},"dependencies":{"@curvenote/components":"^0.3.0","@curvenote/runtime":"^0.2.8","d3-array":"^3.0.1","d3-axis":"^3.0.0","d3-drag":"^3.0.0","d3-format":"^3.0.1","d3-scale":"^4.0.0","d3-scale-chromatic":"^3.0.0","d3-selection":"^3.0.0","d3-shape":"^3.0.1","lit-element":"^2.5.1","lit-html":"^1.4.1","redux":"^4.1.0","redux-thunk":"^2.3.0","uuid":"^8.3.2"},"devDependencies":{"@types/d3-array":"^3.0.1","@types/d3-axis":"^3.0.1","@types/d3-drag":"^3.0.0","@types/d3-format":"^3.0.0","@types/d3-scale":"^4.0.0","@types/d3-scale-chromatic":"^3.0.0","@types/d3-selection":"^3.0.0","@types/d3-shape":"^3.0.0","@types/jest":"^26.0.23","@types/uuid":"^8.3.0","@typescript-eslint/eslint-plugin":"^4.28.0","clean-webpack-plugin":"^3.0.0","css-loader":"^5.2.6","eslint":"^7.29.0","eslint-config-airbnb-typescript":"^12.3.1","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.23.4","eslint-plugin-jest":"^24.3.6","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^3.4.0","eslint-plugin-react":"^7.24.0","eslint-plugin-react-hooks":"^4.2.0","express":"^4.17.1","html-webpack-plugin":"^5.3.2","jest":"^27.0.5","prettier":"^2.3.2","style-loader":"^3.0.0","ts-loader":"^9.2.3","typescript":"^4.3.4","webpack":"^5.40.0","webpack-cli":"^4.7.2","webpack-dev-server":"^3.11.2","webpack-merge":"^5.8.0"},"sideEffects":false,"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2021 Iooxa Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@curvenote/svg@0.0.9","dist":{"shasum":"a98e2da6371bef4feb9480fa2a425f693335cece","integrity":"sha512-q3Osx9jgXXPdgjuEy/e3yunMccnh9j/Zt6cUUqI+oprpfJ6zpmoNKiAeNoDGwVmLBTg3gLRlDvgypm0DNbB3Fg==","tarball":"https://registry.npmjs.org/@curvenote/svg/-/svg-0.0.9.tgz","fileCount":44,"unpackedSize":369752,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhugzbCRA9TVsSAnZWagAAYbwP/RSaZDqP3qe6NMismbMH\n0pI62U/Ou7zUeXx2iFkczjCoHD94cXtlNBbh2bWNPO5580+tUAUrX9fOPAX/\ns4zfw1LuQcvDfTPP210OGdFeml31N1c8unz5/Vu9qLgwQwJ8N0/gVi0Xxv7m\nG5e/s5iQH/BJFRlr+s/t7O+OlBBBYntQxwkPsXmXOVEsgag/s32BVwv2pitK\nlCAv+oM5Nv4AYa49ZkqhzQzDetRyGmWTRp1w8+UR+nfrAMJnksAN/kWEPPlQ\n32jgg4cMmwwwvFmjm0+maT6p4So4KCCWfkv335PCBJ8DKK4F6a5xr6dOB6yl\nn/vd5J+6Z16+JkYFKW/tLLGzIwE41h3r2tKXAdC1DR59S3glm906225mZDAz\n+z0A1iX3IQTPHvLCzwrEmWuiNkskGiJNLm+kCry/vPkbS88P6KD+EegXDDcu\nZtwmRW14ZYskT5BVig9rXoXqcbWLMJ+XhRQUrFdNPy2WopEzOgvnk15LNm/L\n8bJa8vMC6nQdFEtmkU67R+CBLKemogIgKa253fcLv2XyRgDSu/ct3BP5QcXE\nVEaDeB5aEMklgUMyrl3CwqJlMm9FOVWuf11C7FDN3M3cht06WBX9hIPEasm/\nzrrtKQNRpMnDV9KtNZheKXH2MLp4opebAL3dG4ctj7G1dQotZ2WUjH+u3vBx\niaPS\r\n=CSXW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG58uOIv/F4/m6Qy6gwGPSf5M9BV5Wy5h/kpB4SX4HdEAiBB/n/ftQuWu9XEj7sPtdOM+rR9H9GqQk8KLgUSrwcZag=="}]},"_npmUser":{"name":"rowanc1","email":"rowanc1@gmail.com"},"directories":{},"maintainers":[{"name":"rowanc1","email":"rowanc1@gmail.com"},{"name":"stevejpurves","email":"stevejpurves@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svg_0.0.9_1639582939731_0.4265843589785987"},"_hasShrinkwrap":false}},"time":{"created":"2021-02-15T18:17:25.668Z","0.0.7":"2021-02-15T18:17:25.999Z","modified":"2022-09-23T20:32:46.325Z","0.0.8":"2021-06-26T19:55:57.366Z","0.0.9":"2021-12-15T15:42:19.862Z"},"maintainers":[{"email":"franklinwkoch@gmail.com","name":"fwkoch"},{"email":"rowanc1@gmail.com","name":"rowanc1"},{"email":"stevejpurves@gmail.com","name":"stevejpurves"}],"description":"Scientific web components for interactive scientific writing, reactive documents and explorable explanations.","homepage":"https://curvenote.dev/svg","keywords":["explorable explanations","web components","writing"],"repository":{"type":"git","url":"https://github.com/curvenote/svg.git"},"author":{"name":"rowanc1"},"bugs":{"url":"https://github.com/curvenote/svg/issues"},"license":"MIT","readme":"<p align=\"center\"><a href=\"https://curvenote.dev\"><img src=\"https://curvenote.dev/images/logo.png\" alt=\"curvenote.dev\" width=\"150\"></a></p>\n\n# @curvenote/svg\n\n[![Ink-Basic on npm](https://img.shields.io/npm/v/@curvenote/svg.svg)](https://www.npmjs.com/package/@curvenote/svg)\n[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/curvenote/svg/blob/master/LICENSE)\n[![Documentation](https://img.shields.io/badge/curvenote.dev-Docs-green)](https://curvenote.dev)\n\nThe goal of `@curvenote/svg` is to provide web-components for interactive scientific writing, reactive documents and [explorable explanations](https://explorabl.es). This library provides basic charting and diagram capabilities through basic, reactive SVG graphics.\n\n![Radius](images/radius.gif)\n\n```html\n<r-var name=\"a\" value=\"3\"></r-var>\n<r-var name=\"b\" value=\"3\"></r-var>\n<r-var name=\"r\" :value=\"Math.sqrt(a*a + b*b)\"></r-var>\n<r-svg-chart\n  xlim=\"[-5, 5]\"\n  ylim=\"[-5, 5]\"\n  height=\"400\"\n  width=\"400\"\n  x-axis-location=\"origin\"\n  y-axis-location=\"origin\"\n  style=\"text-align: center;\"\n>\n  <r-svg-eqn\n    :domain=\"[0, Math.atan2(b, a)]\"\n    eqn=\"[r * Math.cos(t), r * Math.sin(t)]\"\n    parameterize=\"t\"\n    stroke=\"#333\"\n    stroke-width=\"1\"\n    stroke-dasharray=\"3\"\n  ></r-svg-eqn>\n  <r-svg-path\n    :data=\"[[0, 0],[r * Math.cos(Math.atan2(b, a)), r * Math.sin(Math.atan2(b, a))]]\"\n    stroke=\"#333\"\n    stroke-width=\"1\"\n    stroke-dasharray=\"3\"\n  ></r-svg-path>\n  <r-svg-text\n    :x=\"(r/2) * Math.cos(Math.atan2(b, a) / 2)\"\n    :y=\"(r/2) * Math.sin(Math.atan2(b, a) / 2)\"\n    :text=\"Math.round(Math.atan2(b, a)*180/Math.PI) + '°'\"\n  ></r-svg-text>\n  <r-svg-node :x=\"a\" :y=\"b\" :drag=\"{a: x, b: y}\" fill=\"#ff7f0e\"></r-svg-node>\n</r-svg-chart>\n```\n\n## Getting Started\n\n`@curvenote/svg` is based on web-components, which creates custom HTML tags so that they can make writing documents easier.\nTo get started, copy the built javascript file to the head of your page:\n\n```html\n<script src=\"https://unpkg.com/@curvenote/svg\"></script>\n```\n\nYou can also download the [latest release](https://github.com/curvenote/svg/releases) from GitHub. If you are running this without a web server, ensure the script has `charset=\"utf-8\"` in the script tag. You can also [install from npm](https://www.npmjs.com/package/@curvenote/svg):\n\n```bash\n>> npm install @curvenote/svg\n```\n\nYou should then be able to extend the package as you see fit:\n\n```javascript\nimport components from '@curvenote/svg';\n```\n\nNote that the npm module does not setup the [@curvenote/runtime](https://github.com/curvenote/runtime) store, nor does it register the components. See the [curvenote.ts](/curvenote.ts) file for what the built package does to `setup` the store and `register` the components.\n\n## Documentation\n\nSee https://curvenote.dev for full documentation.\n\n## Basic Components\n\n- r-svg-chart\n- r-svg-text\n- r-svg-path\n- r-svg-eqn\n- r-svg-circle\n- r-svg-image\n- r-svg-node\n","readmeFilename":"README.md"}