{"_id":"@arzidava/svelte-portable-text","_rev":"5-0d6f1c2769489bd9e558c7fbc5c68383","name":"@arzidava/svelte-portable-text","dist-tags":{"latest":"0.1.1"},"versions":{"0.0.1":{"name":"@arzidava/svelte-portable-text","version":"0.0.1","description":"Portable Text for Svelte","svelte":"src/index.js","module":"dist/index.mjs","main":"dist/index.js","scripts":{"build":"rollup -c","prepublishOnly":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/arzidava/svelte-portable-text.git"},"keywords":["svelte","portable-text"],"author":{"name":"Stephane Vanraes"},"license":"ISC","bugs":{"url":"https://github.com/arzidava/svelte-portable-text/issues"},"homepage":"https://github.com/arzidava/svelte-portable-text#readme","devDependencies":{"@rollup/plugin-node-resolve":"^9.0.0","rollup":"^2.0.0","rollup-plugin-svelte":"^6.0.0","svelte":"^3.0.0"},"gitHead":"49634fc00d0a28bff2fe7d565ac517e9ca595eef","_id":"@arzidava/svelte-portable-text@0.0.1","_nodeVersion":"16.6.2","_npmVersion":"7.20.3","dist":{"integrity":"sha512-X/D85uASaC0THM1d2OEEkgWxJUKUuyoTg1OccygkK7mSAdQRSm0mNP0MYcFMfAXpzTg/0+5Lu0yEUONQL5A6dg==","shasum":"b750507e1a9f740a20baa10297a1fc712a4bdd17","tarball":"https://registry.npmjs.org/@arzidava/svelte-portable-text/-/svelte-portable-text-0.0.1.tgz","fileCount":33,"unpackedSize":171094,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhN6VXCRA9TVsSAnZWagAAiJMP/18Dv+cG3cTPFLAmoGF4\n65I33XjIRN9W/wy9N1SnlTWlnfZTk+Q9aTTLsEgUDPSxqbFJSEcfVZvTONC3\nnEMDngzStE+NCteQvoxYzFP1rcAkBK8K2+TXEqNk069RopeDisZMRBIGhluB\nVTJw0ywn+6yLRH+JaseIPJdjSoW2VBjdEKR1XwLfdIeGK8Rmu6gV08O1nypk\nud32xggbVTKqoko2sogGiKzCbPqOK+TJWCrVAETux0QYZNxweEcQbn8vA2eC\noLv3VDI7MIqeCDM0MEFodhFpD+UZS3x+PrUcwP1dlmBtvrwFDT+pAcq9HT6r\no7H/IDPEnk5SLBXN9eRiE48/Q22qLdaC9nVucR1QGpfeMsmlB/1gS8l94Nir\ngiLsURLUo31u2pSueEcqiYByrhyp4S7KIFgvdSpW46Hsj0gh+GRc8BQaYWGc\nlXAQy+JXYlzIP1mw8okmiqH+wNfgmuY5X1IoQfmKjFOV7BJkI0oMyA8EK0so\nAaXDM0mdRijaCne9L2Jm8YUN8FQPigeCqpMk8wCN0MWNwhp53i16x+e9WyE1\n2zx9Fe75AWxfezKdjCwwufO91U/yqD5b84ge0k2104IqSVal7IpEM/NbXWt/\nm0/VzVGCz1C+jmDNqMhJ2zcC4RRyDwexbfdrH/ZezWuJrU+Pf2cmCgGPCae1\nFDmD\r\n=qqVf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHC4I2tFTuIVCtzgq60wiqViGJGuayactqzb6zuL4b6CAiEAwHo3VyCc9w0sTeW/cYOAiKzbSONo+cLEOE8DgzJ2yHs="}]},"_npmUser":{"name":"rainlife","email":"stephane.vanraes@gmail.com"},"directories":{},"maintainers":[{"name":"rainlife","email":"stephane.vanraes@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-portable-text_0.0.1_1631036759430_0.41240886151330125"},"_hasShrinkwrap":false,"deprecated":"Use @portabletext/svelte instead"},"0.1.0":{"name":"@arzidava/svelte-portable-text","version":"0.1.0","description":"Portable Text for Svelte","svelte":"src/index.js","module":"dist/index.mjs","main":"dist/index.js","scripts":{"build":"rollup -c","prepublishOnly":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/arzidava/svelte-portable-text.git"},"keywords":["svelte","portable-text"],"author":{"name":"Stephane Vanraes"},"license":"ISC","bugs":{"url":"https://github.com/arzidava/svelte-portable-text/issues"},"homepage":"https://github.com/arzidava/svelte-portable-text#readme","devDependencies":{"@rollup/plugin-node-resolve":"^9.0.0","rollup":"^2.0.0","rollup-plugin-svelte":"^6.0.0","svelte":"^3.0.0"},"gitHead":"1803454ee19935f9b81a7cf9b12e679b57d315a7","_id":"@arzidava/svelte-portable-text@0.1.0","_nodeVersion":"16.6.2","_npmVersion":"7.20.3","dist":{"integrity":"sha512-r5tw7yWJue2/24JuYTuE6aek6YmFGnD+1qv4rAUkq8htt6RwMUxj1J2oYAzFv2rnBMEwmLGI6RswvcA6kW3guA==","shasum":"aa7682dfc12ca72101343c606054dc4f4e1d68be","tarball":"https://registry.npmjs.org/@arzidava/svelte-portable-text/-/svelte-portable-text-0.1.0.tgz","fileCount":33,"unpackedSize":172241,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhN6gCCRA9TVsSAnZWagAA9+8P/11Tbb7GoaDC29IpW1tK\ntHvLMhzJpcUxat1KzsS6fSMDxA+BMSn3ZZfhFtQ8Kx+GXcl/mtaAEUiCZwBt\niVfLLd6cKYxZYNOsrkoaMWLi+lm82D2VbGvFCAX7vDzt+6fP6HQTvtWbPj9R\nTgDxIPht/pSS/Y+Fe6Srmq27d7/rf233nxGgzqcj19PlY76nLxtxXsfAuf+N\ne7/aL6d/1r6VkWgpx8BRPmxLxO74MUMB+skqC0Oeo8+RvMG6JyOAyjNItTp0\nwBYnYW3kHGR6GPUIoGE6WRalIMl4IAkgeQave4c/4VKJp6fp3T9TAAa8z025\nLEqpfHcIYJ/ueOb8rElhawBlLikewabQ1fgHshyuy7CNFqtHEkwyihRC3gCa\nXuA/aUp+N60miqd7ckgHRDbNIlj5oPuc5PFTC7U7oNgM6AbhV2Ym3fQ9dPia\nZS42tVU1nUsOR4AP7yXDtVT8E+72+h4QF7iPn/C5BOGYO7KXfSmh2+sh520F\nMHFccAp77Uq4RZ4v3ZnqPDVx+FFUlMwZ11CZMUWVMIQpi5dRjFd/ZJ6FK/9P\nLPul3hJ0r2sPyPrtxmau/NGb7CEqIz9UbkD9zAlDraoQcqXFJi+RSeX2EN/M\n/ON3a/lokgt58HdhpAkTbYs5EaUog3PQjSVDdm8GbYzDJho6Rg+eJ7rJVmSx\nbFgu\r\n=/MBU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDi09SpPcyY0zVmACeaZVTsoJPjhDPWrHobewpEhGX+RgIhAJSPsC7A0tzhG+1Qv/86NMmRNRB+1QZP6hPZ5BKbcicd"}]},"_npmUser":{"name":"rainlife","email":"stephane.vanraes@gmail.com"},"directories":{},"maintainers":[{"name":"rainlife","email":"stephane.vanraes@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-portable-text_0.1.0_1631037441956_0.34345397412427836"},"_hasShrinkwrap":false,"deprecated":"Use @portabletext/svelte instead"},"0.1.1":{"name":"@arzidava/svelte-portable-text","version":"0.1.1","description":"Portable Text for Svelte","svelte":"src/index.js","module":"dist/index.mjs","main":"dist/index.js","scripts":{"build":"rollup -c","prepublishOnly":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/arzidava/svelte-portable-text.git"},"keywords":["svelte","portable-text"],"author":{"name":"Stephane Vanraes"},"license":"ISC","bugs":{"url":"https://github.com/arzidava/svelte-portable-text/issues"},"homepage":"https://github.com/arzidava/svelte-portable-text#readme","devDependencies":{"@rollup/plugin-node-resolve":"^9.0.0","rollup":"^2.0.0","rollup-plugin-svelte":"^6.0.0","svelte":"^3.0.0"},"gitHead":"d67898cabb17308891bf8e9cc9764663f829384a","_id":"@arzidava/svelte-portable-text@0.1.1","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-+27VNYArU8HpliOMZwlmYFJ6ylDVnfNeyrhydJ3O0AgJwssV+KSg2Y2Dq55jbgx2DGfB19htofTfahOwFKz6BQ==","shasum":"2afc027da2ca1fbabd71da51bbfc2ae645c8e5fc","tarball":"https://registry.npmjs.org/@arzidava/svelte-portable-text/-/svelte-portable-text-0.1.1.tgz","fileCount":33,"unpackedSize":172454,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEiC5zrazE1++Dgy82zqxvyQFD5VMb0PhpPaKkegVQb8AiBY2CEhI61Vn7K5bkd0hr9NZFkvlWjzOoJn5hyyI2QTwA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiTUVXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrnZhAApODRGSC2HcREdkPkDlATW+KISiYgF4ox9TXvmGAe//c+8U/C\r\nwCA0WKegj2ESvvV5X+iGwchoLHZYfaHVGrmllXq9uWA1+rsXVE5bsofPY3s9\r\nSGUN8zXo+IBFCluDyCfkl3Z3UFVyn/KqJNpcCyKMtGhj3LfaGBT5Ta1OkP10\r\nBTf3zKvh6Vy/xjJY7sXZQakVke8/YNdPdEHkUf/761Khg287AjrinlmDnBjP\r\n8l7cNraSJYgKyjd4gP0mlvCwxHKPGT9cNDQiTwdp8xdSVTllWx2RGohXXr/S\r\npVN8/sRJrRpesroJrGQt9FDLXBeChv5PIeAcBYOlIOzznntPUIWSJHvev2kr\r\n66T6UfJeJaqTtcFPrMYQPM/WdqcIYl7m6lm2zAHOlc79ZTrimvcyuerhDwtG\r\nXO1bjTLJXjyXJpT4Gry/76IRnyyiincSxzlrvYkFWVNNEE/trUAk8ecHM/64\r\nbI4WGLhi5c0IlqGuHF1H3SmzZRH5UdbC/v/xiJwtd+QwZHAP4DtDejY4WCT0\r\nvCB6aA4sHcTd5PmadeE/g71icyCYK0jIDNkfS1u1ObpdEWZ/QLH6NLFe7PaK\r\nc/UA0cfdvqgv8JF/UgaTbrKQzO7pEAwFiMq1bOjW5Rc1tZxiRt/8H7G4xjZR\r\nDA2N7lFAvoioUvCjNZOFQ2uhXsD9sWTglLM=\r\n=NOmr\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"rainlife","email":"stephane.vanraes@gmail.com"},"directories":{},"maintainers":[{"name":"rainlife","email":"stephane.vanraes@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-portable-text_0.1.1_1649231191231_0.6417402965927987"},"_hasShrinkwrap":false,"deprecated":"Use @portabletext/svelte instead"}},"time":{"created":"2021-09-07T17:45:59.372Z","0.0.1":"2021-09-07T17:45:59.581Z","modified":"2022-04-06T07:48:41.379Z","0.1.0":"2021-09-07T17:57:22.116Z","0.1.1":"2022-04-06T07:46:31.366Z"},"maintainers":[{"name":"rainlife","email":"stephane.vanraes@gmail.com"}],"description":"Portable Text for Svelte","homepage":"https://github.com/arzidava/svelte-portable-text#readme","keywords":["svelte","portable-text"],"repository":{"type":"git","url":"git+https://github.com/arzidava/svelte-portable-text.git"},"author":{"name":"Stephane Vanraes"},"bugs":{"url":"https://github.com/arzidava/svelte-portable-text/issues"},"license":"ISC","readme":"# ☣️ Deprecated\r\n\r\n> This package is deprecated and archived in favour of the official package that has been released https://github.com/portabletext/svelte-portabletext/\r\n\r\n\r\n# Portable Text for Svelte\r\n\r\nProvides a way to render [Portable Text](http://www.portabletext.org) in Svelte applications.\r\n\r\n## Install\r\n\r\n```\r\nnpm add --save-dev @arzidava/svelte-portable-text\r\n```\r\n\r\n## Usage\r\n\r\n```html\r\n<script>\r\n  import BlockContent from \"@arzidava/svelte-portable-text\";\r\n\r\n  import Image from \"./Image\";\r\n  import Link from \"./Link\";\r\n\r\n  export let content;\r\n  export const customSerializers = {\r\n    types: {\r\n      image: props => {\r\n        return {\r\n          component: Image,\r\n          props: {\r\n            url: props.node.url,\r\n          },\r\n        };\r\n      },\r\n    },\r\n    marks: {\r\n      link: props => {\r\n        return {\r\n          component: Link,\r\n          props: props.mark,\r\n        };\r\n      },\r\n    },\r\n  };\r\n</script>\r\n\r\n<BlockContent blocks=\"{content}\" serializers=\"{customSerializers}\" />\r\n```\r\n\r\n## Work in Progress\r\n\r\nThis package is under development but should cover the most basic usages.\r\nA demo setup of this package using [Sanity](http://www.sanity.io) can be found [here](https://github.com/stephane-vanraes/demo-sveltekit-sanity).\r\n\r\nIf you find bugs, just open an issue (or even better a Pull Request) 😀\r\n","readmeFilename":"README.md"}