{"_id":"react-disposable-modal","_rev":"35-5be795aba153f54a105c1dbdb7832e14","name":"react-disposable-modal","dist-tags":{"latest":"1.0.0"},"versions":{"0.1.0":{"name":"react-disposable-modal","version":"0.1.0","author":{"name":"Bret Little","email":"bret.little@gmail.com"},"license":"MIT","_id":"react-disposable-modal@0.1.0","maintainers":[{"name":"blittle","email":"bret.little@gmail.com"}],"homepage":"https://github.com/CanopyTax/react-disposable-modal#readme","bugs":{"url":"https://github.com/CanopyTax/react-disposable-modal/issues"},"dist":{"shasum":"fe4abf9edc56fcf46cc1112201ac4ea1d08b72c0","tarball":"https://registry.npmjs.org/react-disposable-modal/-/react-disposable-modal-0.1.0.tgz","integrity":"sha512-Qu2mDwddHIB/US3+iXJ6HqegMwGjJAGSOBZcNk5jzMgDZNuxeQfbijtevM9g98eI1S7M3FulfYbadTIF5ABVng==","signatures":[{"sig":"MEQCIBphzBb+J1BRuW/SlrSEkG46El65WdR0HOLPKMzvRH2iAiBa8z1X2VlJeQy0aohmBHFzfl6mr5gDbIhuAOTG2evdOA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/react-disposable-modal.js","gitHead":"c3332f857f78ad94fe825df0195fd6a6c355f9b8","scripts":{"test":"jest --coverage --config ./jest.json","build":"babel src --out-dir lib --source-maps","prepublish":"npm run build","test-watch":"jest --watch --config ./jest.json"},"_npmUser":{"name":"blittle","email":"bret.little@gmail.com"},"repository":{"url":"git+https://github.com/CanopyTax/react-disposable-modal.git","type":"git"},"_npmVersion":"5.5.1","description":"React-disposable-modal is a reactive API for building modal components in React.","directories":{},"_nodeVersion":"8.6.0","dependencies":{"rx":"^4.1.0","react":"^16.2.0","react-dom":"^16.2.0","disposable-component":"^0.2.0","react-disposable-decorator":"^2.1.0"},"devDependencies":{"babel-cli":"^6.26.0","babel-preset-react":"^6.24.1","babel-preset-es2015":"^6.24.1"},"_npmOperationalInternal":{"tmp":"tmp/react-disposable-modal-0.1.0.tgz_1512083407968_0.14165785163640976","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"react-disposable-modal","version":"0.2.0","author":{"name":"Bret Little","email":"bret.little@gmail.com"},"license":"MIT","_id":"react-disposable-modal@0.2.0","maintainers":[{"name":"blittle","email":"bret.little@gmail.com"}],"homepage":"https://github.com/CanopyTax/react-disposable-modal#readme","bugs":{"url":"https://github.com/CanopyTax/react-disposable-modal/issues"},"dist":{"shasum":"59b1a9105136b0a200c6ae6db00a0e9e4f9b2a0e","tarball":"https://registry.npmjs.org/react-disposable-modal/-/react-disposable-modal-0.2.0.tgz","integrity":"sha512-mwen3NIgavyXR3jvzW0xC9J8HnlkXAMOzGf0YGOly1XWZyXRH1qJIPt17g/xDC1B6jraknWfEdAPWlOeifkJ4g==","signatures":[{"sig":"MEUCIQC/sCz1RFDcAGmtO9OFR/nIyELa9aasUji7WAQeNPshWgIgFxekDzcmFjfUOpZrRSV14MeuehigBv5gRz/SQtW3et4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/disposable-modal.js","gitHead":"4d36ad5729620a05748cb3b3c2472d9c2ebe3b50","scripts":{"test":"jest --coverage --config ./jest.json","build":"babel src --out-dir lib --source-maps","prepublish":"npm run build","test-watch":"jest --watch --config ./jest.json"},"_npmUser":{"name":"blittle","email":"bret.little@gmail.com"},"repository":{"url":"git+https://github.com/CanopyTax/react-disposable-modal.git","type":"git"},"_npmVersion":"5.5.1","description":"React-disposable-modal is a reactive API for building modal components in React.","directories":{},"_nodeVersion":"8.6.0","dependencies":{"rx":"^4.1.0","react":"^16.2.0","react-dom":"^16.2.0","disposable-component":"^0.2.0","react-disposable-decorator":"^2.1.0"},"devDependencies":{"babel-cli":"^6.26.0","babel-preset-react":"^6.24.1","babel-preset-es2015":"^6.24.1"},"_npmOperationalInternal":{"tmp":"tmp/react-disposable-modal-0.2.0.tgz_1512083799779_0.21337560913525522","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"react-disposable-modal","version":"0.2.1","author":{"name":"Bret Little","email":"bret.little@gmail.com"},"license":"MIT","_id":"react-disposable-modal@0.2.1","maintainers":[{"name":"blittle","email":"bret.little@gmail.com"}],"homepage":"https://github.com/CanopyTax/react-disposable-modal#readme","bugs":{"url":"https://github.com/CanopyTax/react-disposable-modal/issues"},"dist":{"shasum":"b839b3a60d90e0aa5ad8c76424828bfee303f082","tarball":"https://registry.npmjs.org/react-disposable-modal/-/react-disposable-modal-0.2.1.tgz","integrity":"sha512-o7uPShvxhSY9+CPVdV6JpNW1Fdjo0lFerNfLYagLT/g8Y7mLuJdJtmToR5ahXc/ND8dl1vN9/6ymbv9tMMedVA==","signatures":[{"sig":"MEYCIQCj9v2Dp8h4z/a5R5PkELmIhd6U4a6zS8FyXeRifYEE/gIhAO+VJdQ7b63Pe6fbT73fZ/6heXUQje9jooFKqn7SqW5x","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/disposable-modal.js","files":["lib","src"],"gitHead":"36726e656e324b60dfc415f7eb180c801745f34d","scripts":{"test":"jest --coverage --config ./jest.json","build":"babel src --out-dir lib --source-maps","prepublish":"npm run build","test-watch":"jest --watch --config ./jest.json"},"_npmUser":{"name":"blittle","email":"bret.little@gmail.com"},"repository":{"url":"git+https://github.com/CanopyTax/react-disposable-modal.git","type":"git"},"_npmVersion":"5.5.1","description":"React-disposable-modal is a reactive API for building modal components in React.","directories":{},"_nodeVersion":"8.6.0","dependencies":{"rx":"^4.1.0","react":"^16.2.0","react-dom":"^16.2.0","disposable-component":"^0.2.0","react-disposable-decorator":"^2.1.0"},"devDependencies":{"babel-cli":"^6.26.0","babel-preset-react":"^6.24.1","babel-preset-es2015":"^6.24.1"},"_npmOperationalInternal":{"tmp":"tmp/react-disposable-modal-0.2.1.tgz_1512083894550_0.3249528876040131","host":"s3://npm-registry-packages"}},"0.2.2":{"name":"react-disposable-modal","version":"0.2.2","author":{"name":"Bret Little","email":"bret.little@gmail.com"},"license":"MIT","_id":"react-disposable-modal@0.2.2","maintainers":[{"name":"blittle","email":"bret.little@gmail.com"}],"homepage":"https://github.com/CanopyTax/react-disposable-modal#readme","bugs":{"url":"https://github.com/CanopyTax/react-disposable-modal/issues"},"dist":{"shasum":"37934b657ef97173344e58ece0b9e919ca72daaf","tarball":"https://registry.npmjs.org/react-disposable-modal/-/react-disposable-modal-0.2.2.tgz","integrity":"sha512-8Z9kZxd5wChA4ooJIoXT/80MG0qXbbK6lcOSkse5bJty7UQb42MLfNC1uSti/JLlevF1+uxMQQVH1F5f6Y27zQ==","signatures":[{"sig":"MEUCIDTEhCW4fKLe2mHwLMM0eZsjFQuY+cDHN6M/FtWcQMf5AiEA2YKe/cYxsFsxD+1CR+LsUN/hwJFThkqMQBpo6jpKuls=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/disposable-modal.js","files":["lib","src"],"gitHead":"0738a51b324a2e5b5b8070724b88102e95aa584f","scripts":{"test":"jest --coverage --config ./jest.json","build":"babel src --out-dir lib --source-maps","prepublish":"npm run build","test-watch":"jest --watch --config ./jest.json"},"_npmUser":{"name":"blittle","email":"bret.little@gmail.com"},"repository":{"url":"git+https://github.com/CanopyTax/react-disposable-modal.git","type":"git"},"_npmVersion":"5.5.1","description":"React-disposable-modal is a reactive API for building modal components in React.","directories":{},"_nodeVersion":"8.6.0","dependencies":{"rx":"^4.1.0","react":"^16.2.0","react-dom":"^16.2.0","disposable-component":"^0.2.0","react-disposable-decorator":"^2.1.0"},"devDependencies":{"babel-cli":"^6.26.0","babel-preset-react":"^6.24.1","babel-preset-es2015":"^6.24.1"},"_npmOperationalInternal":{"tmp":"tmp/react-disposable-modal-0.2.2.tgz_1512084517233_0.07065610866993666","host":"s3://npm-registry-packages"}},"0.2.3":{"name":"react-disposable-modal","version":"0.2.3","author":{"name":"Bret Little","email":"bret.little@gmail.com"},"license":"MIT","_id":"react-disposable-modal@0.2.3","maintainers":[{"name":"aaf","email":"afrehner.work@gmail.com"},{"name":"blittle","email":"bret.little@gmail.com"}],"homepage":"https://github.com/CanopyTax/react-disposable-modal#readme","bugs":{"url":"https://github.com/CanopyTax/react-disposable-modal/issues"},"dist":{"shasum":"f9ff97ae9e8a0fde90526efb5e6b4e8b5538d1bc","tarball":"https://registry.npmjs.org/react-disposable-modal/-/react-disposable-modal-0.2.3.tgz","integrity":"sha512-ChhVG5tAbOG19oKlOR6zPhbsI2xWQyRxB+wnCodwELB/EbndX6eYhpAeKBbrIZPSdxwEzqdjAgDnUZHg3lXSZQ==","signatures":[{"sig":"MEUCIEfmCVrYR0iYuHECrZDGGw0BPU1HF+cNKgxRNSYlmb6EAiEAlDRO6fclUIikEPQ4n0Q17LXEwPAuXeEcmvrDVPVflWQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/disposable-modal.js","_from":".","files":["lib","src"],"_shasum":"f9ff97ae9e8a0fde90526efb5e6b4e8b5538d1bc","gitHead":"fdb3b2f65486bc05d903dd74736af51f553560c7","scripts":{"test":"jest --coverage --config ./jest.json","build":"babel src --out-dir lib --source-maps","prepublish":"npm run build","test-watch":"jest --watch --config ./jest.json"},"_npmUser":{"name":"aaf","email":"afrehner.work@gmail.com"},"repository":{"url":"git+https://github.com/CanopyTax/react-disposable-modal.git","type":"git"},"_npmVersion":"3.10.10","description":"React-disposable-modal is a reactive API for building modal components in React.","directories":{},"_nodeVersion":"6.11.3","dependencies":{"rx":"^4.1.0","react":"^16.2.0","react-dom":"^16.2.0","disposable-component":"^0.2.0","react-disposable-decorator":"^2.1.0"},"devDependencies":{"babel-cli":"^6.26.0","babel-preset-react":"^6.24.1","babel-preset-es2015":"^6.24.1"},"_npmOperationalInternal":{"tmp":"tmp/react-disposable-modal-0.2.3.tgz_1512764701862_0.4842643029987812","host":"s3://npm-registry-packages"}},"0.2.4":{"name":"react-disposable-modal","version":"0.2.4","author":{"name":"Bret Little","email":"bret.little@gmail.com"},"license":"MIT","_id":"react-disposable-modal@0.2.4","maintainers":[{"name":"aaf","email":"afrehner.work@gmail.com"},{"name":"blittle","email":"bret.little@gmail.com"}],"homepage":"https://github.com/CanopyTax/react-disposable-modal#readme","bugs":{"url":"https://github.com/CanopyTax/react-disposable-modal/issues"},"dist":{"shasum":"a81daaffc0f92a516b2d83e683e9cb7721c6b95f","tarball":"https://registry.npmjs.org/react-disposable-modal/-/react-disposable-modal-0.2.4.tgz","integrity":"sha512-ZaVsjydBLWfJEmAN2pVGOq8qpK+kvzLrSA9LeKPh9tRL1twYfpAtuSrgWFx01vvV1xz7cQEUYPhIRN5Z09bVoA==","signatures":[{"sig":"MEYCIQD8aZKPF49CjVAHMoQtmWZmVUhM8n9bcDXTPA5aEyvo2gIhAPkixYZJZGoL8WGIb3vxmSpie4ZqRNqrffmhEeaE+qT4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/disposable-modal.js","files":["lib","src"],"gitHead":"5ef635923dca2ec5f20a0888c6edec69ca765bfc","scripts":{"test":"jest --coverage --config ./jest.json","build":"babel src --out-dir lib --source-maps","prepublish":"npm run build","test-watch":"jest --watch --config ./jest.json"},"_npmUser":{"name":"aaf","email":"afrehner.work@gmail.com"},"repository":{"url":"git+https://github.com/CanopyTax/react-disposable-modal.git","type":"git"},"_npmVersion":"5.5.1","description":"React-disposable-modal is a reactive API for building modal components in React.","directories":{},"_nodeVersion":"8.9.1","dependencies":{"rx":"^4.1.0","react":"^16.2.0","react-dom":"^16.2.0","disposable-component":"^0.2.0","react-disposable-decorator":"^2.1.0"},"devDependencies":{"babel-cli":"^6.26.0","babel-preset-react":"^6.24.1","babel-preset-es2015":"^6.24.1"},"_npmOperationalInternal":{"tmp":"tmp/react-disposable-modal-0.2.4.tgz_1513027945040_0.8922096537426114","host":"s3://npm-registry-packages"}},"0.2.5":{"name":"react-disposable-modal","version":"0.2.5","author":{"name":"Bret Little","email":"bret.little@gmail.com"},"license":"MIT","_id":"react-disposable-modal@0.2.5","maintainers":[{"name":"aaf","email":"afrehner.work@gmail.com"},{"name":"blittle","email":"bret.little@gmail.com"}],"homepage":"https://github.com/CanopyTax/react-disposable-modal#readme","bugs":{"url":"https://github.com/CanopyTax/react-disposable-modal/issues"},"dist":{"shasum":"62df489b20ac36edea5dd96f8b5181434be605d7","tarball":"https://registry.npmjs.org/react-disposable-modal/-/react-disposable-modal-0.2.5.tgz","integrity":"sha512-2rCnYEORkLw42QSlbPS6uz8ZqZ4oqdtNrj59PGbp0lzKwM1x5/ZNFaSs2nyx+jdbUuOb+FJlwaGz254kbC4ieA==","signatures":[{"sig":"MEQCIHm/N1TPfwjyO6+Paz0eqrOMtRExYw1AvQdJBQ6C1pdgAiAMY2U11ugmLkEVLpuuLKrICDJBJOt57wmpD9nxJZ0g0g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/disposable-modal.js","files":["lib","src"],"gitHead":"6af023155c2c694a412ddb60aa74360ee03101cf","scripts":{"test":"jest --coverage --config ./jest.json","build":"babel src --out-dir lib --source-maps","prepublish":"npm run build","test-watch":"jest --watch --config ./jest.json"},"_npmUser":{"name":"aaf","email":"afrehner.work@gmail.com"},"repository":{"url":"git+https://github.com/CanopyTax/react-disposable-modal.git","type":"git"},"_npmVersion":"5.5.1","description":"React-disposable-modal is a reactive API for building modal components in React.","directories":{},"_nodeVersion":"8.9.1","dependencies":{"rx":"^4.1.0","react":"^16.2.0","react-dom":"^16.2.0","disposable-component":"^0.2.0","react-disposable-decorator":"^2.1.0"},"devDependencies":{"babel-cli":"^6.26.0","babel-preset-react":"^6.24.1","babel-preset-es2015":"^6.24.1"},"_npmOperationalInternal":{"tmp":"tmp/react-disposable-modal-0.2.5.tgz_1513110414966_0.7028361440170556","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"react-disposable-modal","version":"0.3.0","author":{"name":"Bret Little","email":"bret.little@gmail.com"},"license":"MIT","_id":"react-disposable-modal@0.3.0","maintainers":[{"name":"aaf","email":"afrehner.work@gmail.com"},{"name":"blittle","email":"bret.little@gmail.com"}],"homepage":"https://github.com/CanopyTax/react-disposable-modal#readme","bugs":{"url":"https://github.com/CanopyTax/react-disposable-modal/issues"},"dist":{"shasum":"8d7499a829471bd23a2586237806e1e2e732804f","tarball":"https://registry.npmjs.org/react-disposable-modal/-/react-disposable-modal-0.3.0.tgz","fileCount":6,"integrity":"sha512-1QP5GDEgA8IviPlLhWjAfk5wWRTTmd9pNfjO7fYEd/15+iT2bJZODikbHw6aaw730T6JzzxBtQyky9z7CkpSHA==","signatures":[{"sig":"MEUCIQDYbqJLGq5tZbJdzFG6LWEssPJTYEqtsK6z9EOB8/43RQIgGp+HKAZIcjj4l9hBINQ1qhnqOgerWC1GahqurmmSKXc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21796,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6gYJCRA9TVsSAnZWagAAjb0P+wSYexoD5GkqhvhsVbOP\nHPS/oukhAmjxQTCZ8LMp8Rse7Cc4b7AWC4NsoyvEaZMIc/iGV4FLDnC5+7b0\nALhQsXBtrF37YcM8UP8ZjHVc78UX2w5pYzVE7GKJ9Rc8Yx99YCSX53IcKFkK\njNUYNXcGtyiAmw00f20xOqJczhKbS/hALjkMunFqXEPCwR7NNxbsRyRrh1tE\nTrYkouYef08TPLrN5wv5uVM27UnLgtV+x9IGqaffTt7ssx5L4F52rEoa0P+Z\nq4Rm+VHuP5lJQSgAK1ymJxNN9IhRyJtvarDUWVOs1z2GMtTlJgkcjd64unMl\nnJEpuWfnxfGuevMqKzahXoENV8cpDZOi3ziVMGQQGimD9JgH7Anat60GSwxw\nZrks1xSKJtJzcyzKmlsYRoSZvvceFYTjliFp/qZYe1eOjBQP2oiiFzFOVf9t\nX6CCccyWvSenM972yliVG4UTOmQlixiJqSJBNnSAxcA+HhpTeJ5y1SQpVlYG\nT4lbIMko6zUfDwNyUV0N+Hj9ta+C7mgohLbn9d2lhZ+b4Whwy+/fe0pECOKD\nlZ8UYyzAuGnyoVVQtx6I112XF0E8NO3PZejebFl3WBH9Ik/+912qyNk/8JAN\ndeKiOmT7q/99+WQGs3dTQyhNs2j7qH8gEUYTB3Iw9+7hiCwaCzE/rmntYbR9\ns2QC\r\n=gQMH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/disposable-modal.js","gitHead":"c99aba80cd386e694b2cbdc43577f62b19d2febc","scripts":{"test":"jest --coverage --config ./jest.json","build":"babel src --out-dir lib --source-maps","prepublish":"npm run build","test-watch":"jest --watch --config ./jest.json"},"_npmUser":{"name":"aaf","email":"afrehner.work@gmail.com"},"repository":{"url":"git+https://github.com/CanopyTax/react-disposable-modal.git","type":"git"},"_npmVersion":"5.6.0","description":"React-disposable-modal is a reactive API for building modal components in React.","directories":{},"_nodeVersion":"8.11.3","dependencies":{"rx":"^4.1.0","react":"^16.2.0","react-dom":"^16.2.0","disposable-component":"^0.3.0","react-disposable-decorator":"^2.1.0"},"_hasShrinkwrap":false,"devDependencies":{"babel-cli":"^6.26.0","babel-preset-react":"^6.24.1","babel-preset-es2015":"^6.24.1"},"_npmOperationalInternal":{"tmp":"tmp/react-disposable-modal_0.3.0_1542063624850_0.5732100189241207","host":"s3://npm-registry-packages"}},"0.3.1":{"name":"react-disposable-modal","version":"0.3.1","author":{"name":"Bret Little","email":"bret.little@gmail.com"},"license":"MIT","_id":"react-disposable-modal@0.3.1","maintainers":[{"name":"aaf","email":"afrehner.work@gmail.com"},{"name":"blittle","email":"bret.little@gmail.com"}],"homepage":"https://github.com/CanopyTax/react-disposable-modal#readme","bugs":{"url":"https://github.com/CanopyTax/react-disposable-modal/issues"},"dist":{"shasum":"5c5df7646ce88179fecc07e16af6267f94b98320","tarball":"https://registry.npmjs.org/react-disposable-modal/-/react-disposable-modal-0.3.1.tgz","fileCount":6,"integrity":"sha512-drTA38ZrjQZNPulRl6OjgRWjqPMpFMSq8qhe32a57MAujaWEZzFviP6Sv9PU8haJcyBo1ZeB51qt7fb15i/T0A==","signatures":[{"sig":"MEQCIGbuqjZ8b8hURZ1WceWXbO47iEJBH2g1xc7JRqs4YGfKAiA9EUflEm/ndDnYzU1ex+SmOSrQkGUfYeKlO2k9MSVr0g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21767,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6v5uCRA9TVsSAnZWagAAXcAP/iONCEd/gab0FdWrx8LH\nc39To8V/vEvXgZiZ7aF889LySSATXzrvk7P5ZXgpgYwxbeY942YNMaBsY121\npcmaPJVqUeJgwHzqvYt3LMwhbp3eoW5V31nhkFiDm8WRXbmLEbZUHV4Py6AC\nifOyrCVgz7IWx2R581eqEZoyaS9s2nUGQ5AGBqvVTMCb/oW9M3tEtq1HqDtL\ngxIeJz7VwTJTtL9zanaCp2gVDRnEletEQQ/SyRT7E2P5ddIBs3dMP0hf6q/W\nIrjrRlVcoZLz4c3sR9KpnuxGvaDu9KlTAECsZrq3qdds6Qjcryymy2CnTAHx\nmWMdtNDenIprX1A0yjfNBpezS3KUtoej54k/9d2hczV7x1HSYvaXgoiAuzHv\nGsYVlq8g0r2pXdarWUrsZsFJRAxom9YtfniqAN7DOctUETmfSuEykKC9jrzT\n/xjhDyq1irR/VrGQgowjxCZINym0Gzdf4fS9Thrzn3LmUluS4tea3aJtfQ3A\nRlL+CPq4Tx1InL3rJIXiKJreuyy52z+Yl1PszLxz4+B84UZeg94IjIlYBmli\nhSUrIM7iXaK+xNZ/7NeNhyegztch1KE2631LkyPECpHNEeJraqJiYAPoQHYg\n2u7ST2E34l+RjopwnlOT0Fp6QhfEn/B8Tp1ko2ArxV4smLB7x/Xg0SHXJ8Hb\nn7ve\r\n=YzE5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/disposable-modal.js","gitHead":"e75a3d48f374dc7fffa83fc15c862333794c281a","scripts":{"test":"jest --coverage --config ./jest.json","build":"babel src --out-dir lib --source-maps","prepublish":"npm run build","test-watch":"jest --watch --config ./jest.json"},"_npmUser":{"name":"aaf","email":"afrehner.work@gmail.com"},"repository":{"url":"git+https://github.com/CanopyTax/react-disposable-modal.git","type":"git"},"_npmVersion":"5.6.0","description":"React-disposable-modal is a reactive API for building modal components in React.","directories":{},"_nodeVersion":"8.11.3","dependencies":{"rx":"^4.1.0","react":"^16.2.0","react-dom":"^16.2.0","disposable-component":"^0.3.1","react-disposable-decorator":"^2.1.0"},"_hasShrinkwrap":false,"devDependencies":{"babel-cli":"^6.26.0","babel-preset-react":"^6.24.1","babel-preset-es2015":"^6.24.1"},"_npmOperationalInternal":{"tmp":"tmp/react-disposable-modal_0.3.1_1542127214085_0.65109059711561","host":"s3://npm-registry-packages"}},"0.3.5":{"name":"react-disposable-modal","version":"0.3.5","author":{"name":"Bret Little","email":"bret.little@gmail.com"},"license":"MIT","_id":"react-disposable-modal@0.3.5","maintainers":[{"name":"aaf","email":"afrehner.work@gmail.com"},{"name":"blittle","email":"bret.little@gmail.com"}],"homepage":"https://github.com/CanopyTax/react-disposable-modal#readme","bugs":{"url":"https://github.com/CanopyTax/react-disposable-modal/issues"},"dist":{"shasum":"5112116bfe8852bf7affd2ecc08a5ee58f1a7794","tarball":"https://registry.npmjs.org/react-disposable-modal/-/react-disposable-modal-0.3.5.tgz","fileCount":6,"integrity":"sha512-XBSJFZyey7oy+0330QDyB4CGSNs9A2+5TCkzZ+yRcYviaClw3TZcKca9PKfP6X1EGa0L5RuB/viSfWS0Ks/ksQ==","signatures":[{"sig":"MEUCIFnx9kqzKozZ7sqvJzox5Up0Jlnq1IfGjVCm/ErziMb5AiEA8kir/5QRosFGpgVyI/tkypERmJa+tfWMgaTXZvhfp10=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22367,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb60CQCRA9TVsSAnZWagAAbsEP/0s9UpLBQQwFyddCGBwV\nEwfQyWIiT/VjFFXOXFuosyFpnVcosgLMmj1mI2vj5zECv4gTWB1KyH01kTcn\nZ4+h4tEsNkNuyLpTfgX1OpvU73Jvb8eOM0nQ4nsm6xi4fa9/njXA+IBHju1e\nu1ZPaAaXU4Gsd/ws9VmOR0+dATOvQuho3OpP9HJ0CMiYhXoCPft41Mqe09jK\nhnnVBnp2EZgh9ubHbZO20lxdo2tf9tJHqLqmuAdRJkw7L2WeT0+oOtL5NqUn\nvMyzsJ1Y6SSyPZrcJ/P0qnEYFfN/4w/aLMAL8ZDITTJpvzairgmkakmzb3x0\nnJF72tO7UEtk1mwly1eKIpIt1QEuSpFd3U5Nov1yghBs9g4Biqp3wLYE0mtO\nnbXr/ZZF7fcqZPbxkZZbFrH0iYbM6d03K767Ra+ePW5SgjEE2WbUvRa9/JGx\nT8+akshTS2TkitN2shrFJfadzC+q4FtFa9zLv3RnU/IWN30O4Fy+tsiWtplJ\nUeLStGmxM24YaKQtSYj99I0uUNdUr5NlWnWGWFs8pkT803HatTK879p2LcVM\nCqCyXm1PmWU2kp+bbd38we3N2q46/pAh1u7be4uTc2MvILjRtD8ed4KE3OYV\nRkZT5fhxNEPsEmdA2vGKxpo8GEQOEm7P4EAEwjpU4C87e36cbNC/wrjfejH7\nlt/b\r\n=kB6i\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/disposable-modal.js","gitHead":"466cd651d3a3188eb36b537645e47bc76c365983","scripts":{"build":"babel src --out-dir lib --source-maps","prepublish":"npm run build"},"_npmUser":{"name":"kentmclean","email":"kent.mclean@gmail.com"},"repository":{"url":"git+https://github.com/CanopyTax/react-disposable-modal.git","type":"git"},"_npmVersion":"6.4.1","description":"React-disposable-modal is a reactive API for building modal components in React.","directories":{},"_nodeVersion":"10.13.0","dependencies":{"rx":"^4.1.0","react":"^16.6.3","react-dom":"^16.6.3","disposable-component":"^0.3.1","react-disposable-decorator":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"@babel/cli":"^7.1.5","@babel/core":"^7.1.5","@babel/preset-env":"^7.1.5","@babel/preset-react":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-disposable-modal_0.3.5_1542144143521_0.9094803779620837","host":"s3://npm-registry-packages"}},"0.3.6":{"name":"react-disposable-modal","version":"0.3.6","author":{"name":"Bret Little","email":"bret.little@gmail.com"},"license":"MIT","_id":"react-disposable-modal@0.3.6","maintainers":[{"name":"aaf","email":"afrehner.work@gmail.com"},{"name":"blittle","email":"bret.little@gmail.com"}],"homepage":"https://github.com/CanopyTax/react-disposable-modal#readme","bugs":{"url":"https://github.com/CanopyTax/react-disposable-modal/issues"},"dist":{"shasum":"909c87e13a693cbbc832fd04b95c7a7dcfdf8dc3","tarball":"https://registry.npmjs.org/react-disposable-modal/-/react-disposable-modal-0.3.6.tgz","fileCount":6,"integrity":"sha512-ZDsLwN/CMYmjt1qIarHjYHJxDqS9OoJuXLziNewwKoOOc8IAB7Meg7n9Ll85Eo0ZQonAtT8SUPfMKCgP4JHDkg==","signatures":[{"sig":"MEUCIDt9YcJ5eZqw8zvveQVGykHWm2ZVO8ZE01u68FxHbjiUAiEAw7tCkAv4vpApWyPiFIj5li3klCNIEFaRKlAnN0f/6Lg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22366,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcLSMvCRA9TVsSAnZWagAADiMP/3sqhzAJCqHkm8drgbhN\n9S5AYfBBsoHkiRRSb9PwVLAm5nT5pWn9nPlthFTEROwKq6uNsjJ1b/pdTECU\n1eUPDon8atEsg7U0ZaGLoo952xJCBZFzXMJkUsrzw0NqJon7B6v/qwruaGlE\nsh2ZVLbUIRWj7GB3VRko79LHFgqJlrZxpOVbbo7wILr6rmYslGKlK2n48OZu\nY7iaJNFeswGsbkYwBFJvndMjzRhjbp1KzkbzPQNpk8zSOuM00k1yGFLrFoPl\nHg/L7ITEYWPnjTFLtu8aGW7HcXva4j6fXbkwWwUGgTQ/RP6GifDKiIQkSqO8\np8LQyqxG6qBIPR9CzdCDLjVozfTTM6jPe1r52v+FEQM5doQc2iWS8UbJfQxA\nN2Z/LkWGFYv2Hh6bvqTQGZiGBYEwDKzIpPz/hrXbwk+oe7ah63ke8oxX6KvQ\nwEhxD6ru2FZVcd70Z7FEeMHT/zPJFhhKjEfbB/3Utew07IOKGp/n/rMjrEh0\nQZBECxJ/0liBpo3HoyQpvEhZRT5uZG7XBeklRvzMIcu6W9f6OAkg/fl1Y2nV\nNqf5Ot1lO7mh1rDtGv+4L+uHCyxpkGJEez0oukxNE3RfDyp6iPKh2PpGPvpB\nji1ciA3BmpAiWX7tkcNB0jg3xtspLyBtX0ltdhWWC935Q6vTwwaB38kQmMVB\nPIXw\r\n=yi7H\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/disposable-modal.js","gitHead":"47a9ab97e0ecf6867362600b31406f063fb7bc44","scripts":{"build":"babel src --out-dir lib --source-maps","prepublish":"yarn build"},"_npmUser":{"name":"joeldenning","email":"joeldenning@gmail.com"},"repository":{"url":"git+https://github.com/CanopyTax/react-disposable-modal.git","type":"git"},"_npmVersion":"6.4.1","description":"React-disposable-modal is a reactive API for building modal components in React.","directories":{},"_nodeVersion":"10.14.1","dependencies":{"disposable-component":"^0.3.2","react-disposable-decorator":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"@babel/cli":"^7.1.5","@babel/core":"^7.1.5","@babel/preset-env":"^7.1.5","@babel/preset-react":"^7.0.0"},"peerDependencies":{"react":">=15","react-dom":">=15"},"_npmOperationalInternal":{"tmp":"tmp/react-disposable-modal_0.3.6_1546461998688_0.2505243232847998","host":"s3://npm-registry-packages"}},"0.4.0":{"name":"react-disposable-modal","version":"0.4.0","author":{"name":"Bret Little","email":"bret.little@gmail.com"},"license":"MIT","_id":"react-disposable-modal@0.4.0","maintainers":[{"name":"aaf","email":"afrehner.work@gmail.com"},{"name":"blittle","email":"bret.little@gmail.com"},{"name":"courtyen","email":"courtney@mccleve.me"},{"name":"filoxo","email":"c.filoteo@live.com"},{"name":"greenjeffreym","email":"green.jeffreym@gmail.com"},{"name":"joeldenning","email":"joeldenning@gmail.com"},{"name":"junca8","email":"junca8@gmail.com"},{"name":"kentmclean","email":"kent.mclean@gmail.com"},{"name":"mmemory","email":"michaelmemoria@gmail.com"},{"name":"neiloler","email":"neiloler@gmail.com"},{"name":"oklandon","email":"oklandon@gmail.com"},{"name":"themcmurder","email":"mcmurdiej@gmail.com"}],"dist":{"shasum":"1866057233ab612ff46ab725968c9dba583aff24","tarball":"https://registry.npmjs.org/react-disposable-modal/-/react-disposable-modal-0.4.0.tgz","fileCount":9,"integrity":"sha512-APqyKuYkrhJcjqnovcEOhBXZhryH9G2kMJR9f/WKvrZdfELQy07JWQK/r+sB1dFRzI6voX8tliiFCyWpO9n7KA==","signatures":[{"sig":"MEQCIHd2e5K+sKzml7EIqDn8fvgV23/Wq2JZLtAuUgMpYHdnAiAzU1wHfVKd/dvUuXZAXlX+OW7Nv8gWocdCegsAeZf/nw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22416,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcvgBFCRA9TVsSAnZWagAA078P/A0UG22jikO+fHa/dia2\nE7tC36IOIzIr31d50XvnHe99ls0VMapjEnOghDQpvwogJbGw/Vd64plBMFwv\n77byxbSwZzgscHe0eOSSEtV8xcmTq4dRkrMx0ZuYdlVQznlsZNnl6Xh/G2d3\n520spr8pqvOtieEUXnm4NAprBtF6iPd6sORB1NYz0NvVYZsw9bP/xPKss2Qp\noduaLvhqkAw8dWwq8dcpnbTrhHOzWEuYFQPG+haQJ/TVdZHpYtpBlcYQIytY\n6scLluw17TSG4lSrdpQ6Ca/MCb0YwhqmnTUPPnK7ZSI7m7rQ8qzS+lrC9OxW\nRI/sEGdPNlJ+mqIS2HQInM8BJzuB38J6ZXCqbpVigyt1Qax0X30UKruWKeC2\nB3TeI1HwtICJhXfKzizUSOtU8gSROWVaZfval3LvzZSxAcFGXRGStVxB3rU3\n2918thP+T+VhMMWNVOHnwPamRZCKWaFGqNmATcSuW7hjaALLqcRaGTOTjE4A\nuvx0eMYZb4RqHf3HUZGlrs52VP+2bn0aOWQT9dCsSqirENGRb+TDNlFla8q5\n8H9LJSysvcv3NVtW30fBbomFDEC4BUF0P1vaJnWxntpP4UL4MlptytEYgoCx\nn5xcLgOhzqiPa3spdXvPnc4HuOzugYLlJuMLzqDzIKADNXg1wGtbFyv5J+YP\nFron\r\n=iu0f\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/disposable-modal.js","scripts":{"build":"babel src --out-dir lib --source-maps","prepublish":"yarn build"},"_npmUser":{"name":"kentmclean","email":"kent.mclean@gmail.com"},"repository":{"url":"https://github.com/CanopyTax/react-disposable-modal","type":"git"},"description":"React-disposable-modal is a reactive API for building modal components in React.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2017 Canopy\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","dependencies":{"disposable-component":"^0.4.2","react-disposable-decorator":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"@babel/cli":"^7.4.3","@babel/core":"^7.4.3","@babel/preset-env":"^7.4.3","@babel/preset-react":"^7.0.0"},"peerDependencies":{"react":">=15","react-dom":">=15"},"_npmOperationalInternal":{"tmp":"tmp/react-disposable-modal_0.4.0_1555955780805_0.09422600207116738","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"react-disposable-modal","version":"1.0.0","author":{"name":"Bret Little","email":"bret.little@gmail.com"},"license":"MIT","_id":"react-disposable-modal@1.0.0","maintainers":[{"name":"aaf","email":"afrehner.work@gmail.com"},{"name":"blittle","email":"bret.little@gmail.com"},{"name":"dckesler","email":"danielckesler@gmail.com"},{"name":"dvnrsn","email":"devin42r@gmail.com"},{"name":"geoctrl","email":"tonylefler@gmail.com"},{"name":"greenjeffreym","email":"green.jeffreym@gmail.com"},{"name":"joeldenning","email":"joeldenning@gmail.com"},{"name":"kentmclean","email":"kent.mclean@gmail.com"},{"name":"miracastillo","email":"mirajcastillo@gmail.com"},{"name":"mmemory","email":"michaelmemoria@gmail.com"},{"name":"oklandon","email":"oklandon@gmail.com"},{"name":"ron.douglas","email":"ron.douglas@canopytax.com"},{"name":"themcmurder","email":"mcmurdiej@gmail.com"}],"dist":{"shasum":"4bbe92fc4dd664e150bec0a4cd902d8fb9285e91","tarball":"https://registry.npmjs.org/react-disposable-modal/-/react-disposable-modal-1.0.0.tgz","fileCount":9,"integrity":"sha512-9XhA+l9A7L58l7RQdULNdjzpmKVzbuudBOrUW63dUOHdIYh7MA9fMIfKjtJ7JjS6TE3JMb0SXhgCj25U4gxyfg==","signatures":[{"sig":"MEYCIQCNJAkh47cMUbwDRAxVPU6btHeLAPP2eae9IyHqPARrBgIhAJ6EBpUdJVszftahI5UcF7EXMldJwLw4BLu/i7pQDQEm","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19176,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeUBeiCRA9TVsSAnZWagAAavsP/RouL50YMbdIqKcFCowz\nLo50FYAhBKhmkuoSZT4k+KK9bnwK61KsueoMqp1VCllOfkFNp+zCXSAjL8Q1\nLdMHmLEJIGlYimmgR2WhFPMfUmwkrS140U2Ey8wTpFw9qZtwhQ0FWkfq9NSC\nbh3JJDGXuY5VdeqZgdbltuCixakTWG/Uq11NYAqlhsd/VgLc26kOpiwM8H1B\nujn9atFplk0GjqgMjmUvHpt0eztZDAxNVgc3FqHbUVAog4hAdL4WtnzWlhch\nvl9TgkxVVSLUmsxAU5QhOt6PNKXJPq7uyItN9JU6Ttj641090KfOaJ9lI9oJ\nyMgVMHGngU6XkCx1bn9i1FEsZOVidiRpgM9XBFwHhBGQ7/P3QOz19+lyquod\n9thid8iY9MQjJF6/F5Q8ddbHI77oQYvkiyIUGLgRZIA9lgDbswhGzrOkZ0Ml\n857YqoTmQGMAk964MojYQOrgmY3lkKUAL5tOe3Sy73lBwUXVyHF7bifjW7Np\ncSUW3a42YgTrQMCTbYaldnzpg5Egrn0zK2+bZqTM1M/iDfstgaiWb7w+E/xp\nRX+VoFfWivLTvmKPcaZSGyfdlB2kc3TroKNAf2RrokBfk7qyUAe37NtSkIDk\nMvrngf8l1+zFm74fKaYiO7DPcevx9guN+nqJAhxGrvmr+987i3Dk5mO3p+sE\nNZPD\r\n=cbFi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/disposable-modal.js","scripts":{"build":"babel src --out-dir lib --source-maps","prepublish":"yarn build"},"_npmUser":{"name":"themcmurder","email":"mcmurdiej@gmail.com"},"repository":{"url":"https://github.com/CanopyTax/react-disposable-modal","type":"git"},"description":"React-disposable-modal is a reactive API for building modal components in React.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2017 Canopy\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","dependencies":{"disposable-component":"^1.0.0","react-disposable-decorator":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"@babel/cli":"^7.4.3","@babel/core":"^7.4.3","@babel/preset-env":"^7.4.3","@babel/preset-react":"^7.0.0"},"peerDependencies":{"react":">=15","react-dom":">=15"},"_npmOperationalInternal":{"tmp":"tmp/react-disposable-modal_1.0.0_1582307234331_0.5369253910754599","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-11-30T23:10:08.942Z","modified":"2026-07-27T21:52:01.318Z","0.1.0":"2017-11-30T23:10:08.942Z","0.2.0":"2017-11-30T23:16:40.775Z","0.2.1":"2017-11-30T23:18:15.496Z","0.2.2":"2017-11-30T23:28:37.312Z","0.2.3":"2017-12-08T20:25:02.782Z","0.2.4":"2017-12-11T21:32:25.914Z","0.2.5":"2017-12-12T20:26:55.894Z","0.3.0":"2018-11-12T23:00:25.001Z","0.3.1":"2018-11-13T16:40:14.314Z","0.3.5":"2018-11-13T21:22:23.666Z","0.3.6":"2019-01-02T20:46:38.812Z","0.4.0":"2019-04-22T17:56:20.960Z","1.0.0":"2020-02-21T17:47:14.485Z"},"author":{"name":"Bret Little","email":"bret.little@gmail.com"},"license":"MIT","repository":{"url":"https://github.com/CanopyTax/react-disposable-modal","type":"git"},"description":"React-disposable-modal is a reactive API for building modal components in React.","maintainers":[{"email":"ron.douglas@canopytax.com","name":"ron.douglas"},{"email":"mirajcastillo@gmail.com","name":"miracastillo"},{"email":"tonylefler@gmail.com","name":"geoctrl"},{"email":"rhys.childs@canopytax.com","name":"rchilds"},{"email":"despondentdonkey@gmail.com","name":"parkm"},{"email":"alize.nguyen@canopytax.com","name":"alizenguyen"},{"email":"mlwill07@gmail.com","name":"mlwill07"},{"email":"larry.custodio@canopytax.com","name":"larrycustodiocanopy"},{"email":"joeldenning@gmail.com","name":"joeldenning"},{"email":"bret.little@gmail.com","name":"blittle"},{"email":"danielckesler@gmail.com","name":"dckesler"},{"email":"kent.mclean@gmail.com","name":"kentmclean"},{"email":"michaelmemoria@gmail.com","name":"mmemory"},{"email":"neiloler@gmail.com","name":"neiloler"},{"email":"green.jeffreym@gmail.com","name":"greenjeffreym"},{"email":"oklandon@gmail.com","name":"oklandon"},{"email":"devin42r@gmail.com","name":"dvnrsn"},{"email":"PACHRON16@GMAIL.COM","name":"tannerrigby"},{"email":"afrehner.work+npm@gmail.com","name":"frehner"}],"readme":"# react-disposable-modal\nReact-disposable-modal is a reactive API for building modal components in React.\n\n[![npm version](https://img.shields.io/npm/v/react-disposable-modal.svg?style=flat-square)](https://www.npmjs.org/package/react-disposable-modal)\n\n## Motivation\nYou want to build a modal in React, but don't want that modal to be\ninserted in the DOM immediately where the Modal is rendered, instead you\nwant it to be appended to `document.body`.\n\nModals have are inherently an asyncronous ui component. A modal is\ndisplayed, at some point in the future an action is taken from within\nthe modal, and then it is closed. React-disposable-modal provides a\nreactive API for handling that asyncronous behavior.\n\n## Setup\nyarn add react-disposable-modal\n\n## Usage\n\nThere are two ways to use react-dispoable-modal: an imperative and\ndeclarative API:\n\n### 1. Imperative Usage\n\n`createCancelableModal(ModalComponent, props)` - Takes two parameters, a\ncustom modal component and optional parameters to pass to the modal.\n\n`ModalComponent` will be rendered with three extra props:\n`onNext` - Use to pass data to the subscription that invoked the modal. Can be called multiple times.\n`onError` - Use to pass an error to the subscription that invoked the modal.\n`onCompleted` - Use to close the modal.\n\n#### Example:\n\n```js\nimport { createCancelableModal } from \"react-disposable-modal\";\nimport React from \"react\";\n\nclass Modal extends React.Component {\n  render() {\n    return (\n      <div>\n        <div className=\"screen\" />\n        <div className=\"modal\">\n          <h1>My modal for {this.props.name}</h1>\n          <button onClick={this.props.onCompleted}>Cancel</button>\n          <button\n            onClick={() => (\n              this.props.onNext(\"I did it!\"), this.props.onCompleted()\n            )}\n          >\n            Save\n          </button>\n        </div>\n      </div>\n    );\n  }\n}\n\nclass App extends React.Component {\n  render() {\n    return (\n      <div>\n        <button onClick={this.showModal}>Show Modal</button>\n      </div>\n    );\n  }\n  showModal() {\n    const subscription = createCancelableModal(Modal, {\n      name: \"you\",\n    }).subscribe(data => {\n      data === \"I did it!\";\n    });\n\n    subscription.dispose(); // force the modal closed\n  }\n}\n```\n\n### 2. Declarative Usage\nAnything put inside the `Modal` component will be appended to `document.body`.\n\n#### Example:\n\n```js\nimport { Modal } from \"react-disposable-modal\";\nimport React from \"react\";\n\nclass App extends React.Component {\n  state = { showModal: false };\n\n  render() {\n    return (\n      <div>\n        <button onClick={() => this.setState({ showModal: true })}>\n          Show Modal\n        </button>\n        {this.showModal && (\n          <Modal>\n            <div>\n              <div className=\"screen\" />\n              <div className=\"modal\">\n                <h1>My modal for you</h1>\n                <button onClick={() => this.setState({ showModal: false })}>\n                  Cancel\n                </button>\n                <button onClick={() => this.setState({ showModal: false })}>\n                  Save\n                </button>\n              </div>\n            </div>\n          </Modal>\n        )}\n      </div>\n    );\n  }\n}\n```\n\n## Note\n\nReact-disposable-modal uses underneath the hood both [react-disposable-decorator](https://github.com/CanopyTax/react-disposable-decorator) and [disposable-component](https://github.com/CanopyTax/disposable-component);\n","readmeFilename":"README.md"}