{"_id":"@artibox/slate-image","_rev":"6-110db5c3556f582187d3340764ec739e","name":"@artibox/slate-image","dist-tags":{"latest":"1.2.2"},"versions":{"0.2.0":{"name":"@artibox/slate-image","version":"0.2.0","description":"<div align=\"center\">   <img     src=\"https://raw.githubusercontent.com/ianstormtaylor/slate/master/docs/images/banner.png\"     height=\"200\"   /> </div>","author":{"name":"Rytass"},"homepage":"https://github.com/React-Artibox/artibox#readme","license":"MIT","sideEffects":false,"main":"./index.js","module":"./esm/index.js","typings":"./esm/index.d.ts","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/React-Artibox/artibox.git"},"bugs":{"url":"https://github.com/React-Artibox/artibox/issues"},"scripts":{"clean":"npm run build:clean","prebuild":"npm run build:clean && node ../../tools/build/sync-publish-files-to-dist.js","build:ts":"tsc --project ./tsconfig.app.json && tsc --project ./tsconfig.app.json -m esnext -outDir ./dist/esm","build:css":"rollup --config rollup.config.js","build":"npm run build:ts && npm run build:css","postbuild":"node ../../tools/build/sync-dist-to-node_modules.js","build:clean":"node ../../tools/build/clean.js"},"dependencies":{"@artibox/slate-common":"^0.2.0","@artibox/slate-jsx-serializer":"^0.2.0","@types/react":"^16.9.17","@types/slate":"^0.47.5","@types/slate-react":"^0.22.9"},"peerDependencies":{"react":"^16.8.6","slate":"^0.47.0","slate-react":"^0.22.0"},"_id":"@artibox/slate-image@0.2.0","_nodeVersion":"12.14.0","_npmVersion":"lerna/3.19.0/node@v12.14.0+x64 (darwin)","dist":{"integrity":"sha512-Dc9gKV9x+aWNGu/mf+sbEASr/TDj/3NDXxaGsBHoj3/3fwQb11Lq3iFaqPkF4wY5tYFrwtWiDEeQzUScU8/skQ==","shasum":"b44135d9a8080ffe39fac5ef07f6b309e453892f","tarball":"https://registry.npmjs.org/@artibox/slate-image/-/slate-image-0.2.0.tgz","fileCount":88,"unpackedSize":74999,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeErjyCRA9TVsSAnZWagAAgMwP/2dJQ6Cpq9WtObPfzYtE\no/XQPacOL00Gnv++A7WV3EipVcyxl2uoyEBPoRLfr0yhDll/BmvMpRN2PPsS\nz5m8nz5OvSL8xtukWtGdjwA3+OhP6AY/3iL3taNSkyq6jPX+L4U30CxutUiV\nWLHrQwdeJvwCdQQm3GwZtlINElUglUhx+ZJ8N0JRJNu+I/icC0uZ9rc64rpU\nURynwZXr8i8kPT7+Z2EPT2X8U9+gFLElEtmPPo4iaqNNiuUhbx0csQ0rHC0z\nuA9DDoNc8Dz07oitFU9e7gtLeR+QVNAZ6lhAlmXYeT2J/l1GglASXPLxr5qh\na4PqpOU8guWSsHAI8KIZgLVr5YoW58Y4IKuniExG8Lkh8l+w3eCoAtNupLxc\nYHx93UMlCp8692Xml7tzmsfzZUygO3NCtn55lsovsFOEQ5191FExzyzCpYuZ\nF8DFw+EF9idQ2uNVmOS//O2ub+VI38mrYxnJSy7MfqOmo6/335hSNSlLSgCj\nh36YhZYzFKZEoiZxrLmg0+dd4+IBVg+MmBHExbhE+0R7m5PoculHpJ5NHeR5\nKFvb/kgAE8WPiZzX75WZ8q2oTrMdn5NaDH7oJZeqayf/mo11kHgMSpWgpL/L\nQCUTgio8Kel85/LkR5vTerBKR+7guPs9hnfhMk55gkS+ZVlvzopUTUnUrLpM\nJlj+\r\n=U3ZE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICuOjp6QaEpUUgNkNpDnXn18StBrgJkgX/is0B81AnQ0AiEAxrXVVY7cff5Ej9tBez1hQR9z1LpJX6Qs+4Zgi/dJaM8="}]},"maintainers":[{"name":"jay0328","email":"gcobs135102@gmail.com"},{"name":"fantasywind","email":"fantasyatelier@gmail.com"}],"_npmUser":{"name":"jay0328","email":"gcobs135102@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/slate-image_0.2.0_1578285298012_0.4803225385214711"},"_hasShrinkwrap":false},"1.0.0":{"name":"@artibox/slate-image","version":"1.0.0","description":"<div align=\"center\">   <img     src=\"https://raw.githubusercontent.com/ianstormtaylor/slate/master/docs/images/banner.png\"     height=\"200\"   /> </div>","author":{"name":"Rytass"},"homepage":"https://github.com/React-Artibox/artibox#readme","license":"MIT","sideEffects":false,"main":"./index.js","module":"./esm/index.js","typings":"./esm/index.d.ts","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/React-Artibox/artibox.git"},"bugs":{"url":"https://github.com/React-Artibox/artibox/issues"},"scripts":{"clean":"npm run build:clean","prebuild":"npm run build:clean && node ../../tools/build/sync-publish-files-to-dist.js","build:ts":"tsc --project ./tsconfig.app.json && tsc --project ./tsconfig.app.json -m esnext -outDir ./dist/esm","build:css":"rollup --config rollup.config.js","build":"npm run build:ts && npm run build:css","postbuild":"node ../../tools/build/sync-dist-to-node_modules.js","build:clean":"node ../../tools/build/clean.js"},"dependencies":{"@artibox/slate-common":"^1.0.0","@artibox/slate-jsx-serializer":"^1.0.0","@types/react":"^16.9.17","@types/slate":"^0.47.5","@types/slate-react":"^0.22.9"},"peerDependencies":{"react":"^16.8.6","slate":"^0.47.0","slate-react":"^0.22.0"},"_id":"@artibox/slate-image@1.0.0","_nodeVersion":"12.14.0","_npmVersion":"lerna/3.20.2/node@v12.14.0+x64 (darwin)","dist":{"integrity":"sha512-hq2ymHNRVItA+z9hWE5gX9iJ5k2R7C+Y+42SyoaPmw2BXKJTIf6zsvKbwolq1l/lGPP9rpY1VDNWBSuC131Bwg==","shasum":"7ec8dea1c3f4bb3334bdc1e6aa15fa9db6da4d22","tarball":"https://registry.npmjs.org/@artibox/slate-image/-/slate-image-1.0.0.tgz","fileCount":88,"unpackedSize":75198,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuii3CRA9TVsSAnZWagAAaWgP/RVCA7ZwqqHYNZHzneig\neU53iZxNDXyCHIcI3GbxWMeorP4k1nTXsawY9mXEuFE9kauP/Oh7nMoDHcYs\nPXSJl+tbV5PvyvrEVWMisNggbrM/mesM7P5EvCZAHyx86st3q+PMICunGJh0\nzHzbloGZOfmtyOvIHeDgOQthZAc5eUUf4bE3NwSucsBPXSo/7M+915X9PRxV\nrlSSmwxLCvHYIQ2AnF40+jWhGnZbok2i+VbdyMN5Yor4MSxXEb1z0vhIZt5P\nNLvotkRr1s0VU9+LciiUUDuuGn4sDUEB6+oJWq0vhPyfxpYEgembMI0+dAK3\nMxL8WJx/yYuM7wxRHGzLnHezRijbkmcgAapoIVQP96IPuutOs1JH7Ss/8GjY\nuPOlG2B8+xDjWpYxvK3aZk9mBRU9MrbNKmc2+vuxObw9/nFQ4M1ftq5GXtsT\nIhPkBw0miScNLSw8tBTPfbqrMaGD3vtl46OCJx79BGWD4fSNpK0W7b1s52l0\nqnrSzFQPNJuRR4SaQpayuViPwXVrdqtdM+aU1DokjJozJuSbdtAAyh8jz+Wd\nPuH4j95q+SjBGN7Ow9lWLv0Ne8d1EHxMnml/IM49thgwXoKYwwBX5P0gBs8L\n9w9MKD/l25lRZtPdsTGDe0vub7I81U30fgUcgulPahsgQ1OA+KWbM4qMZzJ3\noW9Y\r\n=bq2A\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbMKEmIT1A5E3l62kgI52S9As2plFmITFlZXR8HbJDsQIhAKHKyIsh6JRjS9L+dQSWJjIrWPUbJRT4LHKa07BBKY4u"}]},"maintainers":[{"name":"fantasywind","email":"fantasyatelier@gmail.com"},{"name":"jay0328","email":"gcobs135102@gmail.com"}],"_npmUser":{"name":"jay0328","email":"gcobs135102@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/slate-image_1.0.0_1589258423234_0.1414350134682989"},"_hasShrinkwrap":false},"1.1.0":{"name":"@artibox/slate-image","version":"1.1.0","description":"<div align=\"center\">   <img     src=\"https://raw.githubusercontent.com/ianstormtaylor/slate/master/docs/images/banner.png\"     height=\"200\"   /> </div>","author":{"name":"Rytass"},"homepage":"https://github.com/React-Artibox/artibox#readme","license":"MIT","sideEffects":false,"main":"./index.js","module":"./esm/index.js","typings":"./esm/index.d.ts","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/React-Artibox/artibox.git"},"bugs":{"url":"https://github.com/React-Artibox/artibox/issues"},"scripts":{"clean":"npm run build:clean","prebuild":"npm run build:clean && node ../../tools/build/sync-publish-files-to-dist.js","build:ts":"tsc --project ./tsconfig.app.json && tsc --project ./tsconfig.app.json -m esnext -outDir ./dist/esm","build:css":"rollup --config rollup.config.js","build":"npm run build:ts && npm run build:css","postbuild":"node ../../tools/build/sync-dist-to-node_modules.js","build:clean":"node ../../tools/build/clean.js"},"dependencies":{"@artibox/slate-common":"^1.1.0","@artibox/slate-jsx-serializer":"^1.1.0","@types/react":"^16.9.17","@types/slate":"^0.47.5","@types/slate-react":"^0.22.9"},"peerDependencies":{"react":"^16.8.6","slate":"^0.47.0","slate-react":"^0.22.0"},"_id":"@artibox/slate-image@1.1.0","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.22.1/node@v12.18.3+x64 (darwin)","dist":{"integrity":"sha512-TU8UlcH0JXt7P3VnIA/0WFvbZxLsmUOuyJBl6dalUds6RNlh7b0E/hawG0f2OsFE9TOtUpE07kEtLUknL+fH9g==","shasum":"0167d44a529ad2bb5e96eadf475b675d43c871e0","tarball":"https://registry.npmjs.org/@artibox/slate-image/-/slate-image-1.1.0.tgz","fileCount":88,"unpackedSize":77699,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfXyQQCRA9TVsSAnZWagAA2MwP/1oa2eeTR67qkaM57x6L\nGQNQxR6gQJnyOjztrr7EUkBb36aV2vmQO9RP2wU5+crjL1AAQFXQnuCaf1Vm\nZfu2ejpvqws+sZCWL31K+GAed4JpjGjs4WU2T1iseejfj+AxyyD4Bcg8jae0\n+7g20mA9q7P1Om2ZuLYFKd2NGOJmwDPFnOKO+SXfVrjjCc3sigbcOmeCSmv1\nwqKqATzMKPlLvar1jX3Y9dJc9jubcbSMw4X33woGMRetVH3yoby05z+fJ++2\n4V8Onw0lm6s6k4vWxlcDpX0W/bnQM7lwSPn/VW2ay0iRDoloepVEhlXvV1wS\n0yc6NmcbsLL96puOxpaqf1+5yGZ7XMQYvivgSyTqAUqgcBABCvBJqEglbZVx\nr2z3O78GeBRTsAth8GsFSLkRD6HPtUwyYC3tkysrOwrhg8/V3acHmlz4CZ9i\nGsTuikMv2FnxymxKNV7O4b/64ZBN8/iLeuM497EeBqAbFm9Iyt1zVBXXvtYX\nUtBaP8S8TNdsUdz1l9cX/b6KjW8FIdp/8tHJLOFz9c7QDWAmRDSfGHQUNsgR\nDrhc+y+CDts1S6VfqeUwbZMW8NxntWFK+lCebJYHIVzgPXtR5PtvHXbrFwtK\n68DQucXB9gH2x4c37U5R1YgBHXDeSF+JWw8wAaek4bVhT008bXNhpf2LF5DM\nP2ca\r\n=sodZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBykylGog68AsWvNZEi4I3SnpiF/dOEMrezzXkiBkTUUAiAwdIz80UltpeSyP796dORzg3THTqBPRnFJElnXNvgiLQ=="}]},"maintainers":[{"name":"jay0328","email":"gcobs135102@gmail.com"},{"name":"fantasywind","email":"fantasyatelier@gmail.com"}],"_npmUser":{"name":"jay0328","email":"gcobs135102@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/slate-image_1.1.0_1600070672209_0.7250256620857891"},"_hasShrinkwrap":false},"1.2.1":{"name":"@artibox/slate-image","version":"1.2.1","description":"<div align=\"center\">   <img     src=\"https://raw.githubusercontent.com/ianstormtaylor/slate/master/docs/images/banner.png\"     height=\"200\"   /> </div>","author":{"name":"Rytass"},"homepage":"https://github.com/React-Artibox/artibox#readme","license":"MIT","sideEffects":false,"main":"./index.js","module":"./esm/index.js","typings":"./esm/index.d.ts","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/React-Artibox/artibox.git"},"bugs":{"url":"https://github.com/React-Artibox/artibox/issues"},"scripts":{"clean":"npm run build:clean","prebuild":"npm run build:clean && node ../../tools/build/sync-publish-files-to-dist.js","build:ts":"tsc --project ./tsconfig.app.json && tsc --project ./tsconfig.app.json -m esnext -outDir ./dist/esm","build:css":"rollup --config rollup.config.js","build":"npm run build:ts && npm run build:css","postbuild":"node ../../tools/build/sync-dist-to-node_modules.js","build:clean":"node ../../tools/build/clean.js"},"dependencies":{"@artibox/slate-common":"^1.2.0","@artibox/slate-jsx-serializer":"^1.2.0","@types/is-hotkey":"^0.1.2","@types/react":"^16.9.17","@types/slate":"^0.47.5","@types/slate-react":"^0.22.9","is-hotkey":"^0.1.6"},"peerDependencies":{"react":"^16.8.6","slate":"^0.47.0","slate-react":"^0.22.0"},"_id":"@artibox/slate-image@1.2.1","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.22.1/node@v12.18.3+x64 (darwin)","dist":{"integrity":"sha512-HxfmhhGK/uFZKV3a2ejri/kfQHPz619DiLxi5jAjxzooEit7deQ2C/XnSB8mIiqm0xRYUGyeo6DD6dRxLj38kw==","shasum":"f24a5db39a62acf94106ccc0d363709bfef787a9","tarball":"https://registry.npmjs.org/@artibox/slate-image/-/slate-image-1.2.1.tgz","fileCount":100,"unpackedSize":105540,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfbp/9CRA9TVsSAnZWagAAeF0P/2iQZffQ6lx8VDLKiIbM\nIQrCVxLJhPfY9idIJjUPkr+CTlY7ysEqLokJenwlJbHLuzHegq5JO31diLlu\nhLd4/jAXHoZpwl9OuUKRz4IKmWue9R8rlFU00F/g2u3j4z2kdtLywdDv2/VE\nzvyeypX/hcT0BPka+9MrY7kBYommL3GZqMUR1jCINug7BzXbWemMCDAY/+BM\nQCEzUYK7DJvS50pRelOI2rXFeEXGjqvGaqbnNKesAd/11MPrBpLLIUsgGNiU\nCwlXv3lQoP2k1hUeasx0cWSn9+NTWSqvTOtf3mwsi4PQePf1BYx8XKoU/abO\nSwc7T6sPPOHU1YEydyrA8hKE/JHiO4Hm2WZnqeeJkOAT+t7PYxzQDywmDyWw\n5/KuSLOwz7Fh61mHiont13kw0QenQO9DvJQNDaZPMtJwXqyGimqWvvJX/FsZ\nb/QCj1eSAbclC+w6XmQ+/e9oaXrQY3F/LzRBpfvRrKojil/cxwnBD2+A9Rfn\nGUbeOPb/cLkbj4ZnGpVQ41JTqP/K4427W4V5iu2AcrPrFnrT+/0C0G3m06M8\n+vEdRkzmGvZtMkGqi+V+mGA9IZFPYrckVdckx2yVSodN+z4EunKOfeuIEOPj\nd5s+rWAD9qS1y1e78VEr8bTF2NH9kEEnHgaLtwUV8s2yw8gigQpXTFqci0Tp\nETnT\r\n=6DIo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAE0JxBIRTwJfDoheFbk7qgLjoqT3STj++rs02V7aNKIAiEArK88meEy9u1HPOCXD2fHPWBdsoDhWQdf/KGk/txwCqs="}]},"maintainers":[{"name":"jay0328","email":"gcobs135102@gmail.com"},{"name":"fantasywind","email":"fantasyatelier@gmail.com"}],"_npmUser":{"name":"jay0328","email":"gcobs135102@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/slate-image_1.2.1_1601085436629_0.7259501963166262"},"_hasShrinkwrap":false},"1.2.2":{"name":"@artibox/slate-image","version":"1.2.2","description":"<div align=\"center\">   <img     src=\"https://raw.githubusercontent.com/ianstormtaylor/slate/master/docs/images/banner.png\"     height=\"200\"   /> </div>","author":{"name":"Rytass"},"homepage":"https://github.com/React-Artibox/artibox#readme","license":"MIT","sideEffects":false,"main":"./index.js","module":"./esm/index.js","typings":"./esm/index.d.ts","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/React-Artibox/artibox.git"},"bugs":{"url":"https://github.com/React-Artibox/artibox/issues"},"scripts":{"clean":"npm run build:clean","prebuild":"npm run build:clean && node ../../tools/build/sync-publish-files-to-dist.js","build:ts":"tsc --project ./tsconfig.app.json && tsc --project ./tsconfig.app.json -m esnext -outDir ./dist/esm","build:css":"rollup --config rollup.config.js","build":"npm run build:ts && npm run build:css","postbuild":"node ../../tools/build/sync-dist-to-node_modules.js","build:clean":"node ../../tools/build/clean.js"},"dependencies":{"@artibox/components":"^1.2.0","@artibox/slate-common":"^1.2.0","@artibox/slate-jsx-serializer":"^1.2.0","@artibox/utils":"^1.0.0","@types/is-hotkey":"^0.1.2","@types/react":"^16.9.17","@types/slate":"^0.47.5","@types/slate-react":"^0.22.9","is-hotkey":"^0.1.6"},"peerDependencies":{"react":"^16.8.6","slate":"^0.47.0","slate-react":"^0.22.0"},"_id":"@artibox/slate-image@1.2.2","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.22.1/node@v12.18.3+x64 (darwin)","dist":{"integrity":"sha512-WLZ2uYWLSywA7WekxRqaxR56lazFWv+4KAVGXIdlyyAWKotqLHykpd2hcuWswO9kr2GMei/Z7LT3UExW1v0ksw==","shasum":"a0f99974e384a629861bcd90f26a3ed3ff80a0cb","tarball":"https://registry.npmjs.org/@artibox/slate-image/-/slate-image-1.2.2.tgz","fileCount":100,"unpackedSize":105856,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfbvnFCRA9TVsSAnZWagAAHdgP/3BsR+eccrmVgJRxefyW\n23yc5G1xeV4hujYhu+XPR12IRXO21tSVbZIkZgRzKeuB1E86I1AH/EF6DHJ+\nOsB0/9FIHA+EuqOnsjpYXfjKdAzzQL5J/vBO/NykQBX9BxaUfD+tu+Oxb4NB\nIBu+8S76tgjTV9FtQlPAkl/KgfYM90wNxCvw03zq7+o1lBlgATnHjLuWskEp\nRkir3Jl9RdxSlVnYm+BzUv9cMCfckJXtpk0bFn9/Dhb67SM+iODXIVZZOd5T\n1sRVFjDxfwKRx4zcVgadlWvSB6cdZgu2uDmHLxLieuSCWNT5WnM+B5uE8Ru2\ni2E//IOxNXIHB8E2cjWHrxW/PeOsSac8W0qoyKGHJ7pg/XZV+jg6lPV34EaI\nBkgYw3sXN8kcycfmCeI6rgCh3/2RPd7fNVQt8Fw4Szr4ndOqPvsFZ1kw8Tm2\n2/WVdHR3/oqxaOHxMnMR1l1jDA0bdxatm9CreyRUcakyXZs4sS5YNWxhq6gS\n4SR2oVkODUnB9U9MGOCuazIXU7PdfjxNJFBtaloSW1DGgTM503zZoZPT26xH\nuBHEAWcwB6gmJGMXvFoABozFo9DePxLWX4lAiEhAV8QT/TURdIfoVVKwZuX+\nZd2ycCWE6itn6GyYl1oWCmQ9enIdBnqOExpSgtGDLKu0tqrVTUKCWNQWm0Ho\nkiX9\r\n=VR4e\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHVjovJoEJG9ZsNESktI1R5VEvHy6VqbvKnC43lUrVkwIhALvixv6FVhFe1J6PB/SG/AaU2UNYrd5WrT5rx7RsesO9"}]},"maintainers":[{"name":"jay0328","email":"gcobs135102@gmail.com"},{"name":"fantasywind","email":"fantasyatelier@gmail.com"}],"_npmUser":{"name":"jay0328","email":"gcobs135102@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/slate-image_1.2.2_1601108420725_0.4973870232309765"},"_hasShrinkwrap":false}},"time":{"created":"2020-01-06T04:34:57.794Z","0.2.0":"2020-01-06T04:34:58.117Z","modified":"2022-04-04T15:37:44.376Z","1.0.0":"2020-05-12T04:40:23.351Z","1.1.0":"2020-09-14T08:04:32.328Z","1.2.1":"2020-09-26T01:57:16.969Z","1.2.2":"2020-09-26T08:20:20.871Z"},"maintainers":[{"email":"fantasyatelier@gmail.com","name":"fantasywind"}],"description":"<div align=\"center\">   <img     src=\"https://raw.githubusercontent.com/ianstormtaylor/slate/master/docs/images/banner.png\"     height=\"200\"   /> </div>","homepage":"https://github.com/React-Artibox/artibox#readme","repository":{"type":"git","url":"git+https://github.com/React-Artibox/artibox.git"},"author":{"name":"Rytass"},"bugs":{"url":"https://github.com/React-Artibox/artibox/issues"},"license":"MIT","readme":"<div align=\"center\">\n  <img\n    src=\"https://raw.githubusercontent.com/ianstormtaylor/slate/master/docs/images/banner.png\"\n    height=\"200\"\n  />\n</div>\n\n<h1 align=\"center\">@artibox/slate-image</h1>\n\n<div align=\"center\">\n\n[Slate](https://github.com/ianstormtaylor/slate) image.\n\n[![npm package](https://img.shields.io/npm/v/@artibox/slate-image.svg?maxAge=60)](https://www.npmjs.com/package/@artibox/slate-image)\n[![npm downloads](https://img.shields.io/npm/dt/@artibox/slate-image.svg?maxAge=60)](https://www.npmjs.com/package/@artibox/slate-image)\n\n</div>\n\n## Installation\n\n```bash\nnpm install @artibox/slate-image --save\n\nor\n\n$ yarn add @artibox/slate-image\n```\n\n## Usage\n\n### Editor\n\n```js\nimport React from 'react';\nimport { Image as ImageIcon } from '@artibox/icons';\nimport { createArtiboxEditor } from '@artibox/slate-editor';\nimport { createImage } from '@artibox/slate-image';\nimport { Toolbar } from '@artibox/slate-toolbar';\n\nconst Image = createImage();\n\nconst plugins = [\n  Image.forPlugin(),\n  Toolbar.forPlugin({\n    collapsedTools: [{ icon: Image, hook: Image.forToolHook() }]\n  })\n];\n\nconst Editor = createArtiboxEditor({\n  plugins\n});\n\nexport default Editor;\n```\n\n### Jsx Serializer\n\n```tsx\nimport { createJsxSerializer } from '@artibox/slate-jsx-serializer';\nimport { createImageJsxSerializerRule } from '@artibox/slate-image';\n\nconst jsxSerializer = createJsxSerializer({\n  blocks: [\n    createImageJsxSerializerRule()\n  ]\n});\n\n...\n\nreturn (\n  <div>\n    {jsxSerializer(valueJSON /* from slate */)}\n  </div>\n);\n```\n\n## API\n\n- [constants](./src/constants.ts)\n- [typings](./src/typings.ts)\n- [createImage](./src/image.ts#L23)\n- [createImageJsxSerializerRule](./src/jsx-serializer.ts)\n- [Image.forPlugin](./src/image.ts#L42)\n- [Image.forToolHook](./src/image.ts#L60)\n- [ImageController](./src/controller.ts)\n\n### Utils\n\n- [getImagePropsFromBlock](./src/utils/get-image-props-from-block.ts)\n- [getImageSrcFromBlock](./src/utils/get-image-src-from-block.ts)\n- [getImageStyleFromBlock](./src/utils/get-image-style-from-block.ts)\n\n### Components\n\n- [Image](./src/components/image/index.tsx) - Default component only for renderer of editor since it provide resizer.\n","readmeFilename":"README.md"}