{"_id":"react-edit","_rev":"30-0dac839588ee9394f16952f8e0e1e81e","name":"react-edit","description":"Inline editing utilities for React","dist-tags":{"latest":"6.4.1","canary":"2.0.5-alpha.331d29a6"},"versions":{"1.2.6-alpha.61e29539":{"name":"react-edit","version":"1.2.6-alpha.61e29539","description":"Inline editing utilities for React","scripts":{"build":"rimraf ./dist-modules && babel ./src --out-dir ./dist-modules","prepublish":"npm run build"},"files":["dist-modules","src","CHANGELOG.md","LICENSE","README.md"],"repository":{"type":"git","url":"git+https://github.com/reactabular/reactabular.git"},"keywords":["react","reactjs","inline","edit","editing"],"author":{"name":"Juho Vepsalainen","email":"bebraw@gmail.com","url":"http://github.com/bebraw"},"license":"MIT","bugs":{"url":"https://github.com/reactabular/reactabular/issues"},"homepage":"http://reactabular.js.org/","main":"dist-modules","module":"src","jsnext:main":"src","dependencies":{},"devDependencies":{"babel-cli":"^6.11.4","rimraf":"^2.5.4"},"peerDependencies":{"react":">= 0.11.2 < 16.0.0"},"_id":"react-edit@1.2.6-alpha.61e29539","_shasum":"45af426c0277b4f439cb0249fc3efb69ae8ddec4","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.12.0","_npmUser":{"name":"bebraw","email":"bebraw@gmail.com"},"dist":{"shasum":"45af426c0277b4f439cb0249fc3efb69ae8ddec4","tarball":"https://registry.npmjs.org/react-edit/-/react-edit-1.2.6-alpha.61e29539.tgz","integrity":"sha512-hHVtVV87BOlqrlHW6X6elPhIXRt/gt3cltEvWJlNSMezZ7Avu1koBQGImrYTwQNMZL62iGV2CCNuF4jIhgOT4g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAjIFNRJ9cQO4rHrbaBccfKgbEnBQw9Xhpv885sQuRlXAiBzGs/Kf2pANa+lC7y5vDwDwpuX72AszFyV31uB7Soinw=="}]},"maintainers":[{"name":"bebraw","email":"bebraw@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-edit-1.2.6-alpha.61e29539.tgz_1471281987187_0.8769024938810617"},"directories":{}},"2.0.0":{"name":"react-edit","version":"2.0.0","description":"Inline editing utilities for React","scripts":{"build:all":"npm run build:es5 && npm run build:es6","build:es5":"rimraf ./dist-es5 && cross-env BABEL_ENV=es5 babel ./src --out-dir ./dist-es5","build:es6":"rimraf ./dist-es6 && cross-env BABEL_ENV=es6 babel ./src --out-dir ./dist-es6","prepublish":"npm run build:all"},"files":["dist-es5","dist-es6","CHANGELOG.md","LICENSE","README.md"],"repository":{"type":"git","url":"git+https://github.com/reactabular/reactabular.git"},"keywords":["react","reactjs","inline","edit","editing"],"author":{"name":"Juho Vepsalainen","email":"bebraw@gmail.com","url":"http://github.com/bebraw"},"license":"MIT","bugs":{"url":"https://github.com/reactabular/reactabular/issues"},"homepage":"http://reactabular.js.org/","main":"dist-es5","module":"dist-es6","jsnext:main":"dist-es6","dependencies":{},"devDependencies":{"babel-cli":"^6.11.4","cross-env":"^2.0.0","rimraf":"^2.5.4"},"peerDependencies":{"react":">= 0.11.2 < 16.0.0"},"_id":"react-edit@2.0.0","_shasum":"6c3228814a593ddda0165e3bb98e3db92ce33a2b","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.12.0","_npmUser":{"name":"bebraw","email":"bebraw@gmail.com"},"dist":{"shasum":"6c3228814a593ddda0165e3bb98e3db92ce33a2b","tarball":"https://registry.npmjs.org/react-edit/-/react-edit-2.0.0.tgz","integrity":"sha512-9KTfGQBJN/8dUF4DYVrihHDXOEYeCmDns10B0ARyqvmnUGEz3efBP7Ptsu5f4Rv4EfBMhS/aYGX6mkNBsBelkw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHYz6wONA+FDYEUvRCOgBcrYp6skPMrZOY7mfb6N7k8pAiEAhGbTnCCdnpfp45ayQfo/UchcDioMTEjYdyrxxi96m+0="}]},"maintainers":[{"name":"bebraw","email":"bebraw@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-edit-2.0.0.tgz_1471365765296_0.18243473349139094"},"directories":{}},"2.0.1":{"name":"react-edit","version":"2.0.1","description":"Inline editing utilities for React","scripts":{"build":"rimraf ./dist && babel ./src --out-dir ./dist","prepublish":"npm run build"},"files":["dist","CHANGELOG.md","LICENSE","README.md"],"repository":{"type":"git","url":"git+https://github.com/reactabular/reactabular.git"},"keywords":["react","reactjs","inline","edit","editing"],"author":{"name":"Juho Vepsalainen","email":"bebraw@gmail.com","url":"http://github.com/bebraw"},"license":"MIT","bugs":{"url":"https://github.com/reactabular/reactabular/issues"},"homepage":"http://reactabular.js.org/","main":"dist","module":"dist","jsnext:main":"dist","dependencies":{},"devDependencies":{"babel-cli":"^6.11.4","rimraf":"^2.5.4"},"peerDependencies":{"react":">= 0.11.2 < 16.0.0"},"_id":"react-edit@2.0.1","_shasum":"cad1c3881d855b17ffa60f37c0642fa3e94dec39","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.12.0","_npmUser":{"name":"bebraw","email":"bebraw@gmail.com"},"dist":{"shasum":"cad1c3881d855b17ffa60f37c0642fa3e94dec39","tarball":"https://registry.npmjs.org/react-edit/-/react-edit-2.0.1.tgz","integrity":"sha512-3MQRapvS2pb6C3sTVeAEz6yVJyP49K1+590ozzHPkQrewD1/RDfJJjJ70Dpi2djCs4rswgKzaSqMD3RD2Pb2Cg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDp87og8vLA2MH843ce1Gx2CSijzG6UBf5FkU86XPeWawIgHPPwNN6qCbTw4M81k+GJiiiRHtLZrdeaMQKv1uBC//I="}]},"maintainers":[{"name":"bebraw","email":"bebraw@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/react-edit-2.0.1.tgz_1471373709156_0.4817124377004802"},"directories":{}},"2.0.2":{"name":"react-edit","version":"2.0.2","description":"Inline editing utilities for React","scripts":{"build":"rimraf ./dist && babel ./src --out-dir ./dist","prepublish":"npm run build"},"files":["dist","CHANGELOG.md","LICENSE","README.md"],"repository":{"type":"git","url":"git+https://github.com/reactabular/reactabular.git"},"keywords":["react","reactjs","inline","edit","editing"],"author":{"name":"Juho Vepsalainen","email":"bebraw@gmail.com","url":"http://github.com/bebraw"},"license":"MIT","bugs":{"url":"https://github.com/reactabular/reactabular/issues"},"homepage":"http://reactabular.js.org/","main":"dist","module":"dist","jsnext:main":"dist","dependencies":{},"devDependencies":{"babel-cli":"^6.11.4","rimraf":"^2.5.4"},"peerDependencies":{"react":">= 0.11.2 < 16.0.0"},"_id":"react-edit@2.0.2","_shasum":"9eb8e7ec8e958f6dcddfb26af4cc44fb839727ae","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.12.0","_npmUser":{"name":"bebraw","email":"bebraw@gmail.com"},"dist":{"shasum":"9eb8e7ec8e958f6dcddfb26af4cc44fb839727ae","tarball":"https://registry.npmjs.org/react-edit/-/react-edit-2.0.2.tgz","integrity":"sha512-0D9ozeaPnE3Ir07xXFZVLAQ/ViWwgl60G72wQ5M4pxTTEFpSgmaxu6I2jCu1miMOOjL2ayI9tQMfWq+qRbadLA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDP9PxtUvnMCVRBiFSEZCteko2k+cu3MHJMD6HFbWEEHwIhALMDoaWze0MG75MH5i7urXpD69ucwJ4bt+fbQr7qKOML"}]},"maintainers":[{"name":"bebraw","email":"bebraw@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-edit-2.0.2.tgz_1471415286616_0.2247447243425995"},"directories":{}},"2.0.5-alpha.f20b57cb":{"name":"react-edit","version":"2.0.5-alpha.f20b57cb","description":"Inline editing utilities for React","scripts":{"build":"rimraf ./dist && babel ./src --out-dir ./dist","prepublish":"npm run build"},"files":["dist","CHANGELOG.md","LICENSE","README.md"],"repository":{"type":"git","url":"git+https://github.com/reactabular/reactabular.git"},"keywords":["react","reactjs","inline","edit","editing"],"author":{"name":"Juho Vepsalainen","email":"bebraw@gmail.com","url":"http://github.com/bebraw"},"license":"MIT","bugs":{"url":"https://github.com/reactabular/reactabular/issues"},"homepage":"http://reactabular.js.org/","main":"dist","module":"dist","jsnext:main":"dist","dependencies":{},"devDependencies":{"babel-cli":"^6.11.4","rimraf":"^2.5.4"},"peerDependencies":{"react":">= 0.11.2 < 16.0.0"},"_id":"react-edit@2.0.5-alpha.f20b57cb","_shasum":"d13a59864523bb71c4357b22556443661ed0e14a","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.12.0","_npmUser":{"name":"bebraw","email":"bebraw@gmail.com"},"dist":{"shasum":"d13a59864523bb71c4357b22556443661ed0e14a","tarball":"https://registry.npmjs.org/react-edit/-/react-edit-2.0.5-alpha.f20b57cb.tgz","integrity":"sha512-t/7NFLOS6bTUnh5dLyBKbLbJNL/uRoW1DcnPKWf8sZ2i3j/fMZ80d4amgWb9m2Oh10obynnFu4R0uM07xdXoBA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2xikRGxwAgSLOXsKib6jbdWlGopShgyVFWrvp9WQOKAIgIZvlChtHObKJr89g+lzp7MlpK2L0m4j5pVq+uTxRBS0="}]},"maintainers":[{"name":"bebraw","email":"bebraw@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-edit-2.0.5-alpha.f20b57cb.tgz_1472665957345_0.3622333314269781"},"directories":{}},"2.0.5-alpha.331d29a6":{"name":"react-edit","version":"2.0.5-alpha.331d29a6","description":"Inline editing utilities for React","scripts":{"build":"rimraf ./dist && babel ./src --out-dir ./dist","prepublish":"npm run build"},"files":["dist","CHANGELOG.md","LICENSE","README.md"],"repository":{"type":"git","url":"git+https://github.com/reactabular/reactabular.git"},"keywords":["react","reactjs","inline","edit","editing"],"author":{"name":"Juho Vepsalainen","email":"bebraw@gmail.com","url":"http://github.com/bebraw"},"license":"MIT","bugs":{"url":"https://github.com/reactabular/reactabular/issues"},"homepage":"http://reactabular.js.org/","main":"dist","module":"dist","jsnext:main":"dist","dependencies":{},"devDependencies":{"babel-cli":"^6.11.4","rimraf":"^2.5.4"},"peerDependencies":{"react":">= 0.11.2 < 16.0.0"},"_id":"react-edit@2.0.5-alpha.331d29a6","_shasum":"ee007ab4edbb39b4f97cbdc32e730ad905e485b1","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.12.0","_npmUser":{"name":"bebraw","email":"bebraw@gmail.com"},"dist":{"shasum":"ee007ab4edbb39b4f97cbdc32e730ad905e485b1","tarball":"https://registry.npmjs.org/react-edit/-/react-edit-2.0.5-alpha.331d29a6.tgz","integrity":"sha512-pfkDkOLOZpbnciUzZ9srKOui7ROycE7BFq/QOQtnN7TFAYBYUrzGYWVoSwxyg6wIx6v7Tk8eSILrmlVJzMfz8Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVDsnH83o7bCsDcYADt8t4Vk3Wptpj22ze53O49uY06QIhAOOIIGKYCR2TllD1FyStgNC43+k30Wh/V78ONmGOS5iL"}]},"maintainers":[{"name":"bebraw","email":"bebraw@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-edit-2.0.5-alpha.331d29a6.tgz_1472666511778_0.16056752461008728"},"directories":{}},"3.0.0":{"name":"react-edit","version":"3.0.0","description":"Inline editing utilities for React","scripts":{"build":"rimraf ./dist && babel ./src --out-dir ./dist","prepublish":"npm run build"},"files":["dist","CHANGELOG.md","LICENSE","README.md"],"repository":{"type":"git","url":"git+https://github.com/reactabular/reactabular.git"},"keywords":["react","reactjs","inline","edit","editing"],"author":{"name":"Juho Vepsalainen","email":"bebraw@gmail.com","url":"http://github.com/bebraw"},"license":"MIT","bugs":{"url":"https://github.com/reactabular/reactabular/issues"},"homepage":"http://reactabular.js.org/","main":"dist","module":"dist","jsnext:main":"dist","dependencies":{},"devDependencies":{"babel-cli":"^6.11.4","rimraf":"^2.5.4"},"peerDependencies":{"react":">= 0.11.2 < 16.0.0"},"_id":"react-edit@3.0.0","_shasum":"cbfeb5b65d58435e33a49f8b299490642f10d954","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.12.0","_npmUser":{"name":"bebraw","email":"bebraw@gmail.com"},"dist":{"shasum":"cbfeb5b65d58435e33a49f8b299490642f10d954","tarball":"https://registry.npmjs.org/react-edit/-/react-edit-3.0.0.tgz","integrity":"sha512-qT4eBROE+j7HiBb6SsqE6gV8VZCz/jzECUp+nfvLbv8SXW6njXF6A1znEsxzfKEL8lbfew+8o6tLGHJwp8EXlw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyYUnuCM1ZzAsLqWPX2u1gvl9zHubhJ6CTfPdapNd86QIgGdotfcf/PEUMxOAx+jJhn1J1jMrFeIuj8x+5oBRis5g="}]},"maintainers":[{"name":"bebraw","email":"bebraw@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-edit-3.0.0.tgz_1472736178190_0.22442520479671657"},"directories":{}},"4.1.0":{"name":"react-edit","version":"4.1.0","description":"Inline editing utilities for React","scripts":{"build":"rimraf ./dist && babel ./src --out-dir ./dist","prepublish":"npm run build"},"files":["dist","CHANGELOG.md","LICENSE","README.md"],"repository":{"type":"git","url":"git+https://github.com/reactabular/reactabular.git"},"keywords":["react","reactjs","inline","edit","editing"],"author":{"name":"Juho Vepsalainen","email":"bebraw@gmail.com","url":"http://github.com/bebraw"},"license":"MIT","bugs":{"url":"https://github.com/reactabular/reactabular/issues"},"homepage":"http://reactabular.js.org/","main":"dist","module":"dist","jsnext:main":"dist","dependencies":{},"devDependencies":{"babel-cli":"^6.11.4","rimraf":"^2.5.4"},"peerDependencies":{"react":">= 0.11.2 < 16.0.0"},"_id":"react-edit@4.1.0","_shasum":"dafae540e412e480b4b5b7c993d468e34c3b1243","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"bebraw","email":"bebraw@gmail.com"},"dist":{"shasum":"dafae540e412e480b4b5b7c993d468e34c3b1243","tarball":"https://registry.npmjs.org/react-edit/-/react-edit-4.1.0.tgz","integrity":"sha512-3sqBcIA4TN7v5tdO6Hix6MUxkH22shw3e2D9/eQC8c0cZQhZZ39tLVNpwDAxEnCLQ9fZXpbg9JVxIDeGxxjBQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfNcKFX3fbWigt73EHTAzCC6j8sJh/iIuqM0a/YGBsLAIgHd9oGuH4NaLzhHQqu2PALVtv0avj2qkyF9Wv5F/n0C8="}]},"maintainers":[{"name":"bebraw","email":"bebraw@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-edit-4.1.0.tgz_1474360196773_0.2649394928012043"},"directories":{}},"6.0.0":{"name":"react-edit","version":"6.0.0","description":"Inline editing utilities for React","scripts":{"build":"rimraf ./dist && babel ./src --out-dir ./dist","prepublish":"npm run build"},"files":["dist","CHANGELOG.md","LICENSE","README.md"],"repository":{"type":"git","url":"git+https://github.com/reactabular/reactabular.git"},"keywords":["react","reactjs","inline","edit","editing"],"author":{"name":"Juho Vepsalainen","email":"bebraw@gmail.com","url":"http://github.com/bebraw"},"license":"MIT","bugs":{"url":"https://github.com/reactabular/reactabular/issues"},"homepage":"http://reactabular.js.org/","main":"dist","module":"dist","jsnext:main":"dist","dependencies":{},"devDependencies":{"babel-cli":"^6.11.4","rimraf":"^2.5.4"},"peerDependencies":{"react":">= 0.11.2 < 16.0.0"},"_id":"react-edit@6.0.0","_shasum":"b37ecb6994e68b0d438b8552f508d3d92193d9a8","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"bebraw","email":"bebraw@gmail.com"},"dist":{"shasum":"b37ecb6994e68b0d438b8552f508d3d92193d9a8","tarball":"https://registry.npmjs.org/react-edit/-/react-edit-6.0.0.tgz","integrity":"sha512-Ox68AnTWCMx03VR+x7ZULl6DJghp6MV0oh4mmnjY2L8obOtwbu/sqy8pB6tCfFkuwoje7DwB0aWJshL1d/ETrg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF5cmic9v7d20/+DTJIOPkRFP8BWblNmiCS9ORQp7AB5AiA7REXquimaFA6c4gkPq5hrgDC04Bj0J7MVQtdx1sEn1w=="}]},"maintainers":[{"name":"bebraw","email":"bebraw@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/react-edit-6.0.0.tgz_1476455660700_0.13754472974687815"},"directories":{}},"6.1.0":{"name":"react-edit","version":"6.1.0","description":"Inline editing utilities for React","scripts":{"test:all":"npm test && npm run test:lint","test":"jest --","test:coverage":"jest --coverage --","test:lint":"eslint . --ext .js --cache","test:watch":"jest --watch --","dist:build":"rimraf ./dist && babel ./src --out-dir ./dist","preversion":"npm run test:all && npm run dist:build && git commit --allow-empty -am \"Update dist\""},"main":"dist","repository":{"type":"git","url":"git+https://github.com/reactabular/react-edit.git"},"keywords":["react","reactjs","inline","edit","editing"],"files":["dist"],"jest":{"collectCoverage":true,"moduleFileExtensions":["js"],"moduleDirectories":["node_modules"]},"author":{"name":"Juho Vepsalainen","email":"bebraw@gmail.com","url":"http://github.com/bebraw"},"license":"MIT","bugs":{"url":"https://github.com/reactabular/react-edit/issues"},"dependencies":{},"devDependencies":{"babel-cli":"^6.18.0","babel-core":"^6.18.2","babel-eslint":"^7.1.1","babel-jest":"^17.0.2","babel-plugin-syntax-object-rest-spread":"^6.13.0","babel-plugin-transform-object-rest-spread":"^6.19.0","babel-preset-es2015":"^6.18.0","babel-preset-react":"^6.16.0","classnames":"^2.2.5","eslint":"^3.10.2","eslint-config-airbnb":"^13.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^2.2.3","eslint-plugin-react":"^6.7.1","git-prepush-hook":"^1.0.1","jest":"^17.0.3","react":"^15.4.1","react-addons-test-utils":"^15.4.1","react-dom":"^15.4.1","rimraf":"^2.5.4"},"peerDependencies":{"classnames":">= 2.0.0 < 3.0.0","lodash":">= 3.0.0 < 5.0.0","react":">= 15.0.0 < 16.0.0"},"pre-push":["test:all"],"gitHead":"c042935fbd5414f359a63fa757b3af59cf56d4be","homepage":"https://github.com/reactabular/react-edit#readme","_id":"react-edit@6.1.0","_shasum":"c9d12e3f5c067d8ec6eaaae08d79c6b83fcadd6f","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"bebraw","email":"bebraw@gmail.com"},"dist":{"shasum":"c9d12e3f5c067d8ec6eaaae08d79c6b83fcadd6f","tarball":"https://registry.npmjs.org/react-edit/-/react-edit-6.1.0.tgz","integrity":"sha512-z+FIVem+0bcgzoboLPnsR9x741DQfyj8UlNiLj6hA0/ckpb6lRYMVnR3snhXPI686ql9SKFbbmDI/KuWIQAuBA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEbNEqW6/VkPSlUMUtAXt1Nq8jRE3/toOLZwII6dn8eJAiA4zCTXPeF7et5JtozVN//9+tCRc5Eqa/pJM9pK/kbKPQ=="}]},"maintainers":[{"name":"bebraw","email":"bebraw@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-edit-6.1.0.tgz_1480105690082_0.64879430225119"},"directories":{}},"6.1.1":{"name":"react-edit","version":"6.1.1","description":"Inline editing utilities for React","scripts":{"test:all":"npm test && npm run test:lint","test":"jest --","test:coverage":"jest --coverage --","test:lint":"eslint . --ext .js --cache","test:watch":"jest --watch --","dist:build":"rimraf ./dist && babel ./src --out-dir ./dist","preversion":"npm run test:all && npm run dist:build && git commit --allow-empty -am \"Update dist\""},"main":"dist","repository":{"type":"git","url":"git+https://github.com/reactabular/react-edit.git"},"keywords":["react","reactjs","inline","edit","editing"],"files":["dist"],"jest":{"collectCoverage":true,"moduleFileExtensions":["js"],"moduleDirectories":["node_modules"]},"author":{"name":"Juho Vepsalainen","email":"bebraw@gmail.com","url":"http://github.com/bebraw"},"license":"MIT","bugs":{"url":"https://github.com/reactabular/react-edit/issues"},"dependencies":{},"devDependencies":{"babel-cli":"^6.18.0","babel-core":"^6.18.2","babel-eslint":"^7.1.1","babel-jest":"^17.0.2","babel-plugin-syntax-object-rest-spread":"^6.13.0","babel-plugin-transform-object-rest-spread":"^6.19.0","babel-preset-es2015":"^6.18.0","babel-preset-react":"^6.16.0","classnames":"^2.2.5","eslint":"^3.10.2","eslint-config-airbnb":"^13.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^2.2.3","eslint-plugin-react":"^6.7.1","git-prepush-hook":"^1.0.1","jest":"^17.0.3","react":"^15.4.1","react-addons-test-utils":"^15.4.1","react-dom":"^15.4.1","rimraf":"^2.5.4"},"peerDependencies":{"react":">= 15.0.0 < 16.0.0"},"pre-push":["test:all"],"gitHead":"b4dd2d95d50f827c557b45a1f5fece7c2860ec4c","homepage":"https://github.com/reactabular/react-edit#readme","_id":"react-edit@6.1.1","_shasum":"8f3c0c10f8e6ccd99da968506e51e0126a4861c9","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"bebraw","email":"bebraw@gmail.com"},"dist":{"shasum":"8f3c0c10f8e6ccd99da968506e51e0126a4861c9","tarball":"https://registry.npmjs.org/react-edit/-/react-edit-6.1.1.tgz","integrity":"sha512-gc+GY8zWONrb938gar3ovhTmIrovLA1U/MqFBCyX5rLBsEHU6V1onXQ1VgtXmQopedpcegA3ue64Ra7Qi1Z3Jg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHOT6RF9ogwbAl93bgkEfk9IyMvBFGuQe7Xp7KS+1pxkAiAYeuUZuhG+V+LYMBqz+1ox42GSzUz0QyepAi5wcqFJlw=="}]},"maintainers":[{"name":"bebraw","email":"bebraw@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-edit-6.1.1.tgz_1480106065737_0.48423097655177116"},"directories":{}},"6.2.0":{"name":"react-edit","version":"6.2.0","description":"Inline editing utilities for React","scripts":{"test:all":"npm test && npm run test:lint","test":"jest --","test:coverage":"jest --coverage --","test:lint":"eslint . --ext .js --cache","test:watch":"jest --watch --","dist:build":"rimraf ./dist && babel ./src --out-dir ./dist","preversion":"npm run test:all && npm run dist:build && git commit --allow-empty -am \"Update dist\""},"main":"dist","repository":{"type":"git","url":"git+https://github.com/reactabular/react-edit.git"},"keywords":["react","reactjs","inline","edit","editing"],"files":["dist"],"jest":{"collectCoverage":true,"moduleFileExtensions":["js"],"moduleDirectories":["node_modules"]},"author":{"name":"Juho Vepsalainen","email":"bebraw@gmail.com","url":"http://github.com/bebraw"},"license":"MIT","bugs":{"url":"https://github.com/reactabular/react-edit/issues"},"dependencies":{},"devDependencies":{"babel-cli":"^6.18.0","babel-core":"^6.18.2","babel-eslint":"^7.1.1","babel-jest":"^17.0.2","babel-plugin-syntax-object-rest-spread":"^6.13.0","babel-plugin-transform-object-rest-spread":"^6.19.0","babel-preset-es2015":"^6.18.0","babel-preset-react":"^6.16.0","classnames":"^2.2.5","eslint":"^3.10.2","eslint-config-airbnb":"^13.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^2.2.3","eslint-plugin-react":"^6.7.1","git-prepush-hook":"^1.0.1","jest":"^17.0.3","react":"^15.4.1","react-addons-test-utils":"^15.4.1","react-dom":"^15.4.1","rimraf":"^2.5.4"},"peerDependencies":{"react":">= 15.0.0 < 16.0.0"},"pre-push":["test:all"],"gitHead":"7d9016bd3ab734689e03fc19500860ac7f6fcebe","homepage":"https://github.com/reactabular/react-edit#readme","_id":"react-edit@6.2.0","_shasum":"3911441149e85a257bf778565569897c5321beca","_from":".","_npmVersion":"4.0.5","_nodeVersion":"6.9.1","_npmUser":{"name":"bebraw","email":"bebraw@gmail.com"},"dist":{"shasum":"3911441149e85a257bf778565569897c5321beca","tarball":"https://registry.npmjs.org/react-edit/-/react-edit-6.2.0.tgz","integrity":"sha512-cQBVkztGMSgRL8+v0uvldVBk+jQHzSKsXcLmlTRDcK3LihP45SmQRIRHolHmhP4GQ/W+1aEXbVqSkiJ8sgv5vQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEuEciu434ApQZCtPL8E6tWfQqdYu8DSWsWJ7I+EAa2wIhAKxE8nUmOpdshIPR56DlpuIK2Skuqoa2621RJfUNM950"}]},"maintainers":[{"name":"bebraw","email":"bebraw@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/react-edit-6.2.0.tgz_1484854486811_0.165877124061808"},"directories":{}},"6.3.0":{"name":"react-edit","version":"6.3.0","description":"Inline editing utilities for React","scripts":{"test:all":"npm test && npm run test:lint","test":"jest --","test:coverage":"jest --coverage --","test:lint":"eslint . --ext .js --cache","test:watch":"jest --watch --","dist:build":"rimraf ./dist && babel ./src --out-dir ./dist","preversion":"npm run test:all && npm run dist:build && git commit --allow-empty -am \"Update dist\""},"main":"dist","repository":{"type":"git","url":"git+https://github.com/reactabular/react-edit.git"},"keywords":["react","reactjs","inline","edit","editing"],"files":["dist"],"jest":{"collectCoverage":true,"moduleFileExtensions":["js"],"moduleDirectories":["node_modules"]},"author":{"name":"Juho Vepsalainen","email":"bebraw@gmail.com","url":"http://github.com/bebraw"},"license":"MIT","bugs":{"url":"https://github.com/reactabular/react-edit/issues"},"dependencies":{},"devDependencies":{"babel-cli":"^6.23.0","babel-core":"^6.23.1","babel-eslint":"^7.1.1","babel-jest":"^19.0.0","babel-plugin-syntax-object-rest-spread":"^6.13.0","babel-plugin-transform-object-rest-spread":"^6.23.0","babel-preset-es2015":"^6.22.0","babel-preset-react":"^6.23.0","classnames":"^2.2.5","eslint":"^3.16.0","eslint-config-airbnb":"^14.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^4.0.0","eslint-plugin-react":"^6.10.0","git-prepush-hook":"^1.0.2","jest":"^19.0.2","prop-types":"^15.5.8","react":"^15.5.4","react-dom":"^15.5.4","rimraf":"^2.6.0"},"peerDependencies":{"react":">= 15.0.0 < 16.0.0"},"pre-push":["test:all"],"gitHead":"c27e2d73ae2a042b7d7b24d6087446d84b7289d2","homepage":"https://github.com/reactabular/react-edit#readme","_id":"react-edit@6.3.0","_shasum":"5657a520a940c7c2b1209ec20aa7ff43859061f4","_from":".","_npmVersion":"4.2.0","_nodeVersion":"6.9.1","_npmUser":{"name":"bebraw","email":"bebraw@gmail.com"},"dist":{"shasum":"5657a520a940c7c2b1209ec20aa7ff43859061f4","tarball":"https://registry.npmjs.org/react-edit/-/react-edit-6.3.0.tgz","integrity":"sha512-wYGzepuCmW543nDKXALOgrj/gzWS9J59/6QY7T8EqsLpY19nuFoLoczIkS0uUyniFwPKNkwKq6V1TkE93pqXdQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCl7S9y2CKWueqGBRpib7MSjaEf+act33teeHAyEDzMOQIhALnOyJVuHy3pmDneHiUxMAmYlYJRy1QUjhcCquIBzIKN"}]},"maintainers":[{"name":"bebraw","email":"bebraw@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-edit-6.3.0.tgz_1493894273551_0.9382143092807382"},"directories":{}},"6.4.0":{"name":"react-edit","version":"6.4.0","description":"Inline editing utilities for React","scripts":{"test:all":"npm test && npm run test:lint","test":"jest --","test:coverage":"jest --coverage --","test:lint":"eslint . --ext .js --cache","test:watch":"jest --watch --","dist:build":"rimraf ./dist && babel ./src --out-dir ./dist","preversion":"npm run test:all && npm run dist:build && git commit --allow-empty -am \"Update dist\""},"main":"dist","repository":{"type":"git","url":"git+https://github.com/reactabular/react-edit.git"},"keywords":["react","reactjs","inline","edit","editing"],"files":["dist"],"jest":{"collectCoverage":true,"moduleFileExtensions":["js"],"moduleDirectories":["node_modules"]},"author":{"name":"Juho Vepsalainen","email":"bebraw@gmail.com","url":"http://github.com/bebraw"},"license":"MIT","bugs":{"url":"https://github.com/reactabular/react-edit/issues"},"dependencies":{},"devDependencies":{"babel-cli":"^6.23.0","babel-core":"^6.23.1","babel-eslint":"^7.1.1","babel-jest":"^19.0.0","babel-plugin-syntax-object-rest-spread":"^6.13.0","babel-plugin-transform-object-rest-spread":"^6.23.0","babel-preset-es2015":"^6.22.0","babel-preset-react":"^6.23.0","classnames":"^2.2.5","eslint":"^3.16.0","eslint-config-airbnb":"^14.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^4.0.0","eslint-plugin-react":"^6.10.0","git-prepush-hook":"^1.0.2","jest":"^19.0.2","prop-types":"^15.6.0","react":"^16.0.0","react-dom":"^16.0.0","rimraf":"^2.6.0"},"peerDependencies":{"react":">= 15.0.0 < 17.0.0"},"pre-push":["test:all"],"gitHead":"0019c978027404493c1ba5aeaf24fc624ed862c6","homepage":"https://github.com/reactabular/react-edit#readme","_id":"react-edit@6.4.0","_npmVersion":"5.4.2","_nodeVersion":"8.5.0","_npmUser":{"name":"bebraw","email":"bebraw@gmail.com"},"dist":{"integrity":"sha512-WjWzeCGiMsKPUf6riH2sTFOLRs1Cj46CbHpgQ1g2fKnOndVtfToXE0GsfL5VpYmOF56k6A+i2DjJ7fp5IhmISA==","shasum":"84d70e1e11e9cb13e3b29d5dabc81181ecd18a4c","tarball":"https://registry.npmjs.org/react-edit/-/react-edit-6.4.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEQaXjt6D/0DXBAtPmGdMhhuo89IPrxYhGt/l+cq5V09AiBFLkfNetvgw0BxU84tIgBzpR73Z3heLNSErhUg88wsLw=="}]},"maintainers":[{"name":"bebraw","email":"bebraw@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-edit-6.4.0.tgz_1506950297137_0.3605928532779217"},"directories":{}},"6.4.1":{"name":"react-edit","version":"6.4.1","description":"Inline editing utilities for React","scripts":{"test:all":"npm test && npm run test:lint","test":"jest --","test:coverage":"jest --coverage --","test:lint":"eslint . --ext .js --cache","test:watch":"jest --watch --","dist:build":"rimraf ./dist && babel ./src --out-dir ./dist","preversion":"npm run test:all && npm run dist:build && git commit --allow-empty -am \"Update dist\""},"main":"dist","repository":{"type":"git","url":"git+https://github.com/reactabular/react-edit.git"},"keywords":["react","reactjs","inline","edit","editing"],"files":["dist"],"jest":{"collectCoverage":true,"moduleFileExtensions":["js"],"moduleDirectories":["node_modules"]},"author":{"name":"Juho Vepsalainen","email":"bebraw@gmail.com","url":"http://github.com/bebraw"},"license":"MIT","bugs":{"url":"https://github.com/reactabular/react-edit/issues"},"dependencies":{},"devDependencies":{"babel-cli":"^6.23.0","babel-core":"^6.23.1","babel-eslint":"^7.1.1","babel-jest":"^19.0.0","babel-plugin-syntax-object-rest-spread":"^6.13.0","babel-plugin-transform-object-rest-spread":"^6.23.0","babel-preset-es2015":"^6.22.0","babel-preset-react":"^6.23.0","classnames":"^2.2.5","eslint":"^3.16.0","eslint-config-airbnb":"^14.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^4.0.0","eslint-plugin-react":"^6.10.0","git-prepush-hook":"^1.0.2","jest":"^19.0.2","prop-types":"^15.6.0","react":"^16.0.0","react-dom":"^16.0.0","rimraf":"^2.6.0"},"peerDependencies":{"react":">= 15.0.0 < 17.0.0"},"pre-push":["test:all"],"gitHead":"1b5276fe7b3d6936cef1d9b292e7a743bd78dd8f","homepage":"https://github.com/reactabular/react-edit#readme","_id":"react-edit@6.4.1","_npmVersion":"5.8.0","_nodeVersion":"9.7.1","_npmUser":{"name":"bebraw","email":"bebraw@gmail.com"},"dist":{"integrity":"sha512-AiB2bT6DZAY1JBss/ac7xwS1DpxF0SXrUwRVegkmP0zcYE8Y1969jzLA9mlGxOu88lBQq8rkUoxmeUrh1i1T3Q==","shasum":"7ff7bdc191156db300e4348e0122ae95a062758e","tarball":"https://registry.npmjs.org/react-edit/-/react-edit-6.4.1.tgz","fileCount":9,"unpackedSize":17744,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHRgVsaUURLVGdqBRi/GNFppJGj1WKttWTDlZa+xYefxAiBIQeYef0BELhMo829a6aWcA9IyctxtKaTlMz7F+FJnVQ=="}]},"maintainers":[{"name":"bebraw","email":"bebraw@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-edit_6.4.1_1522953551939_0.9218213040925431"},"_hasShrinkwrap":false}},"readme":"[![build status](https://secure.travis-ci.org/reactabular/react-edit.svg)](http://travis-ci.org/reactabular/react-edit) [![bitHound Score](https://www.bithound.io/github/reactabular/react-edit/badges/score.svg)](https://www.bithound.io/github/reactabular/react-edit) [![codecov](https://codecov.io/gh/reactabular/react-edit/branch/master/graph/badge.svg)](https://codecov.io/gh/reactabular/react-edit)\n\n# react-edit - Inline editing utilities for React\n\n`react-edit` provides a set of inline editing related utilities for React. The library comes with a couple of basic editors and you can implement your own as long as you follow the same interface (`value`, `onValue` props).\n\n## API\n\nThe `edit` transform has been designed to allow inline editing. It expects you to define how to manipulate the state. It also expects you to pass an editor.\n\n**Example:**\n\n```jsx\n...\nimport cloneDeep from 'lodash/cloneDeep';\nimport findIndex from 'lodash/findIndex';\nimport * as edit from 'react-edit';\n\n...\n\n// Define how to manipulate rows through edit.\nconst editable = edit.edit({\n  // Determine whether the current cell is being edited or not.\n  isEditing: ({ columnIndex, rowData }) => columnIndex === rowData.editing,\n\n  // The user requested activation, mark the current cell as edited.\n  // IMPORTANT! If you stash the rows at this.state.rows, DON'T\n  // mutate it as that will break Table.Body optimization check.\n  //\n  // You also have access to `event` here.\n  onActivate: ({ columnIndex, rowData, event }) => {\n    event.stopPropagation();\n\n    const index = findIndex(this.state.rows, { id: rowData.id });\n    const rows = cloneDeep(this.state.rows);\n\n    rows[index].editing = columnIndex;\n\n    this.setState({ rows });\n  },\n\n  // Capture the value when the user has finished and update\n  // application state.\n  onValue: ({ value, rowData, property }) => {\n    const index = findIndex(this.state.rows, { id: rowData.id });\n    const rows = cloneDeep(this.state.rows);\n\n    rows[index][property] = value;\n    rows[index].editing = false;\n\n    this.setState({ rows });\n  },\n\n  // It's possible to shape the value passed to the editor. See\n  // the Excel example for a concrete example.\n  // getEditedValue: v => v.value\n\n  // If you want to change default value/onValue, you can do it through\n  // editingProps: { value: 'value', onValue: 'onValue' }\n\n  // In case you want to trigger activation using something else than\n  // onClick, adjust it like this:\n  // activateEvent: 'onDoubleClick'\n});\n\n...\n\n// Wrap within an element and render.\nReact.createElement('div', editable(edit.input())(\n  value, { columnIndex, rowData }, { ... custom props ... }\n), (value, extraParameters, props) => ({\n  children: <div>{value}</div>\n}));\n\n// Or in JSX\n<div {...editable(edit.input())(...)} />\n```\n\n## Editing Interface\n\nAn editor should follow the following interface:\n\n* `({ value, onValue, extraParameters }) => <React element>`\n\nIt will receive the current `value` and is expected to emit the result through `onValue` upon completion. You can capture row data, property name, and such through `extraParameters`.\n\n## Editors\n\n`react-edit` provides a few editors by default:\n\n* `edit.boolean({ props: <props> })` - If the initial value is true, allows setting to false and vice versa. Demo value defaults to false always\n* `edit.dropdown({ options: [[<value>, <name>]], props: <props> })` - The dropdown expects an array of value-name object pairs and emits the selected one.\n* `edit.input({ props: <props> })` - A wrapper for a regular input.\n\n## Writing a Custom Editor\n\nIf you want to implement a custom editor, you should accept `value` and `onValue` prop pair. The former will contain the current value and `onValue` should return a new one. It can be convenient to curry your editor so that you can pass custom `props` to it easily. Consider the following example.\n\n```jsx\n/*\nimport React from 'react';\nimport PropTypes from 'prop-types';\n*/\n\nconst boolean = ({ props } = {}) => {\n  const Boolean = ({ value, onValue }) => (\n    <div {...props}>\n      <button\n        disabled={value}\n        onClick={() => onValue(true)}\n      >&#10003;\n      </button>\n      <button\n        disabled={!value}\n        onClick={() => onValue(false)}\n      >&#10007;\n      </button>\n    </div>\n  );\n  Boolean.propTypes = {\n    value: PropTypes.any,\n    onClick: PropTypes.func,\n    onValue: PropTypes.func\n  };\n\n  return Boolean;\n};\n\nconst Boolean = boolean({ style: {\n  backgroundColor: '#ddd'\n}});\n\n<Boolean value onValue={v => alert(`You chose ${v}`)} />\n```\n\n## License\n\nMIT. See LICENSE for details.\n\n","maintainers":[{"email":"andrey@okonet.ru","name":"okonet"},{"email":"bebraw@gmail.com","name":"bebraw"}],"time":{"modified":"2022-06-25T20:50:50.931Z","created":"2016-08-15T17:26:29.158Z","1.2.6-alpha.61e29539":"2016-08-15T17:26:29.158Z","2.0.0":"2016-08-16T16:42:47.866Z","2.0.1":"2016-08-16T18:55:12.345Z","2.0.2":"2016-08-17T06:28:08.411Z","2.0.5-alpha.f20b57cb":"2016-08-31T17:52:39.198Z","2.0.5-alpha.331d29a6":"2016-08-31T18:01:53.682Z","3.0.0":"2016-09-01T13:22:59.842Z","4.1.0":"2016-09-20T08:29:58.863Z","6.0.0":"2016-10-14T14:34:21.851Z","6.0.0-readme-QN7IS":"2016-11-03T18:31:28.118Z","6.1.0":"2016-11-25T20:28:12.275Z","6.1.1":"2016-11-25T20:34:27.752Z","6.2.0":"2017-01-19T19:34:47.386Z","6.3.0":"2017-05-04T10:37:55.221Z","6.4.0":"2017-10-02T13:18:18.039Z","6.4.1":"2018-04-05T18:39:12.111Z"},"homepage":"https://github.com/reactabular/react-edit#readme","keywords":["react","reactjs","inline","edit","editing"],"repository":{"type":"git","url":"git+https://github.com/reactabular/react-edit.git"},"author":{"name":"Juho Vepsalainen","email":"bebraw@gmail.com","url":"http://github.com/bebraw"},"bugs":{"url":"https://github.com/reactabular/react-edit/issues"},"license":"MIT","readmeFilename":"README.md"}