{"_id":"react-click-outside","_rev":"39-10d599f5c63e3aa8fe249dde7dcff42e","name":"react-click-outside","time":{"modified":"2022-06-25T18:08:41.438Z","created":"2015-07-13T08:16:35.656Z","0.1.0":"2015-07-13T08:16:35.656Z","0.1.1":"2015-07-13T08:28:28.374Z","0.1.2":"2015-07-13T14:35:28.770Z","0.1.3":"2015-08-03T02:16:14.621Z","0.1.4":"2015-08-03T02:21:46.005Z","0.1.5":"2015-08-03T02:28:58.660Z","0.1.6":"2015-08-03T02:33:21.298Z","1.0.0":"2015-10-05T20:20:56.445Z","1.0.1":"2015-10-15T01:43:26.669Z","2.0.0":"2015-10-25T05:58:13.233Z","2.0.1":"2015-11-26T22:18:30.981Z","2.1.0":"2015-11-29T02:08:47.021Z","2.2.0":"2016-10-08T02:41:50.104Z","2.3.0":"2017-04-12T05:40:32.674Z","2.3.1":"2017-05-09T23:17:54.049Z","3.0.0":"2017-09-08T04:50:29.852Z","3.0.1":"2018-02-15T07:05:48.975Z"},"maintainers":[{"name":"kentor","email":"ken70r@gmail.com"}],"dist-tags":{"latest":"3.0.1"},"description":"A component wrapper that provides click outside detection.","readme":"# React Click Outside\n\n[![Build Status](https://travis-ci.org/kentor/react-click-outside.svg)](https://travis-ci.org/kentor/react-click-outside) [![npm](https://img.shields.io/npm/v/react-click-outside.svg)](https://www.npmjs.com/package/react-click-outside)\n\nEnhance a React component with a Higher Order Component that provides click\noutside detection.\n\n**Note:** React 0.14 required for version >= 2.x. This assumes `react` and\n`react-dom` is installed in your project. Continue using version 1.x for React\n0.13 support.\n\n**Note:** Use version >= 2.3.0 to get rid of `React.createClass`\nwarnings in React 15.5.\n\n## Usage\n\nInstallation:\n\n```\nnpm install react-click-outside\n```\n\nSome component that you wish to enhance with click outside detection:\n\n```js\nconst createReactClass = require('create-react-class');\nconst enhanceWithClickOutside = require('react-click-outside');\nconst React = require('react');\n\nconst Dropdown = createReactClass({\n  getInitialState() {\n    return {\n      isOpened: false,\n    };\n  },\n\n  handleClickOutside() {\n    this.toggle();\n  },\n\n  toggle() {\n    this.setState({ isOpened: !this.state.isOpened });\n  },\n\n  render() {\n    ...\n  },\n});\n\nmodule.exports = enhanceWithClickOutside(Dropdown);\n```\n\n**Note:** There will be no error thrown if `handleClickOutside` is not\nimplemented.\n\n### `wrappedRef` prop\n\nUse the `wrappedRef` prop to get access to the wrapped component instance. For\nexample:\n\n```js\n// Inside a component's render method\n<Dropdown\n  wrappedRef={instance => { this.toggle = instance.toggle; }}\n/>\n\n// Now you can call toggle externally\nthis.toggle();\n```\n\n## Details\n\nThe `enhanceWithClickOutside` function wraps the provided component in another\ncomponent that registers a click handler on `document` for the event capturing\nphase. Using the event capturing phase prevents elements with a click handler\nthat calls `stopPropagation` from cancelling the click event that would\neventually trigger the component's `handleClickOutside` function.\n\n## Why not a mixin?\n\nThere are some mixins that provide click outside detection functionality, but\nthey prevent the component from implementing the  `componentDidMount` and\n`componentWillUnmount` life cycle hooks. I recommend not using a mixin for this\ncase.\n\n## Limitations\n\n- IE9+ due to the usage of the event capturing phase.\n\n## Not working on iOS?\n\nIf the `handleClickOutside` handler is not firing on iOS, try adding the\n`cursor: pointer` css style to the `<body>` element. There are many ways to\nachieve this, here is just one example:\n\n```js\nif ('ontouchstart' in document.documentElement) {\n  document.body.style.cursor = 'pointer';\n}\n```\n\nIf your app already has a way for mobile detection (e.g. Modernizr), you may\nwant to use that instead.\n\n\nSee issue [#4][i] for a discussion.\n\n## License\n\n[MIT](LICENSE.txt)\n\n[i]: https://github.com/kentor/react-click-outside/issues/4\n","versions":{"1.0.0":{"name":"react-click-outside","version":"1.0.0","description":"A component wrapper that provides click outside detection.","main":"dist/index.js","scripts":{"build":"babel -d dist index.js","prepublish":"npm test && npm run build","test":"mocha --compilers js:babel/register --reporter nyan --require test-setup"},"repository":{"type":"git","url":"git+https://github.com/kentor/react-click-outside.git"},"keywords":["click outside","higher order component","onclickoutside","react"],"author":{"name":"Kenneth Chung","email":"ken70r@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/kentor/react-click-outside/issues"},"homepage":"https://github.com/kentor/react-click-outside","devDependencies":{"babel":"^5.8.23","expect":"^1.11.1","jsdom":"^6.5.1","mocha":"^2.3.3","react":"^0.13.3"},"gitHead":"103a4b14337a005f0fe21c71ae89ed7e213d80c0","_id":"react-click-outside@1.0.0","_shasum":"9366bd4e3a3418499fcd7afcc1a5343e5a4ef8de","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.0","_npmUser":{"name":"kentor","email":"ken70r@gmail.com"},"dist":{"shasum":"9366bd4e3a3418499fcd7afcc1a5343e5a4ef8de","tarball":"https://registry.npmjs.org/react-click-outside/-/react-click-outside-1.0.0.tgz","integrity":"sha512-LB5fotajpuGfAibxIV91iXu3d6SVIsbL3ivNmZYNAstVKN53V2NsYn8Ptxep34PuSYH7tDKefXODKwunAAPA9A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCONSjrk9LLAkcV3cN7WDvKpaxDW8wDXenUe+FUusRHzQIgAxSqc5H6K8z0MuU6wBz+tfFsGkjwlWFdMXHBPsQXt5Y="}]},"maintainers":[{"name":"kentor","email":"ken70r@gmail.com"}],"directories":{}},"1.0.1":{"name":"react-click-outside","version":"1.0.1","description":"A component wrapper that provides click outside detection.","main":"dist/index.js","scripts":{"build":"babel -d dist index.js","prepublish":"npm test && npm run build","test":"mocha --compilers js:babel/register --reporter nyan --require test-setup"},"repository":{"type":"git","url":"git+https://github.com/kentor/react-click-outside.git"},"keywords":["click outside","higher order component","onclickoutside","react"],"author":{"name":"Kenneth Chung","email":"ken70r@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/kentor/react-click-outside/issues"},"homepage":"https://github.com/kentor/react-click-outside","devDependencies":{"babel":"^5.8.23","expect":"^1.11.1","jsdom":"^6.5.1","mocha":"^2.3.3","react":"^0.13.3"},"gitHead":"1b6e6f4e5107cd90fd6e0bf4d27729665f6f6adf","_id":"react-click-outside@1.0.1","_shasum":"c9a7a6410d529412622a859cfa1faf32bd1da0f3","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.0","_npmUser":{"name":"kentor","email":"ken70r@gmail.com"},"dist":{"shasum":"c9a7a6410d529412622a859cfa1faf32bd1da0f3","tarball":"https://registry.npmjs.org/react-click-outside/-/react-click-outside-1.0.1.tgz","integrity":"sha512-kh2dqOimUkPvGe3GARHAIihjOW4OrLxvif+K2oOsMi6enQFCOyvlEtUpjAG6YTU8TdpRV2deiKuijR/9ve2huw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCItL67YRNfasrjYQlLLSfX3AAl0pV8/debjPKr/oGTNwIgFKcEjeRRZ2gWibVRZiWHM0B180/MiUXLYhapceg6ZF8="}]},"maintainers":[{"name":"kentor","email":"ken70r@gmail.com"}],"directories":{}},"2.0.0":{"name":"react-click-outside","version":"2.0.0","description":"A component wrapper that provides click outside detection.","main":"dist/index.js","scripts":{"build":"babel -d dist index.js","prepublish":"npm test && npm run build","lint":"eslint .","test":"npm run lint && mocha --compilers js:babel/register --reporter nyan --require test-setup"},"repository":{"type":"git","url":"git+https://github.com/kentor/react-click-outside.git"},"keywords":["click outside","higher order component","onclickoutside","react"],"author":{"name":"Kenneth Chung","email":"ken70r@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/kentor/react-click-outside/issues"},"homepage":"https://github.com/kentor/react-click-outside","devDependencies":{"babel":"^5.8.23","eslint":"^1.6.0","eslint-config-kentor":"^1.0.0","eslint-plugin-react":"^3.5.1","expect":"^1.11.1","jsdom":"^6.5.1","mocha":"^2.3.3","react":"^0.14.0","react-dom":"^0.14.0"},"gitHead":"76228f4e96fcec87c63853ea867d2e9ea8e4b9db","_id":"react-click-outside@2.0.0","_shasum":"871bee596165d268fbaedf68bb52f1f6c2ecce61","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"kentor","email":"ken70r@gmail.com"},"dist":{"shasum":"871bee596165d268fbaedf68bb52f1f6c2ecce61","tarball":"https://registry.npmjs.org/react-click-outside/-/react-click-outside-2.0.0.tgz","integrity":"sha512-1tfonpGD8rP2K1VKZnvQeH00JlySqlWMQoDKyMYJS7QPDEhcPPGhKlJ6/hteJOTlgV5wOpAqG0FL7EEJ2+xxLQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCrln1qmVcOQJr27xdEoMpaoVyojRU9GIzHoTr4u6dVugIhAK/P+MCqC9fGaFDxYwyQqahXnTNq4XozaAKwHfuqrTxP"}]},"maintainers":[{"name":"kentor","email":"ken70r@gmail.com"}],"directories":{}},"2.0.1":{"name":"react-click-outside","version":"2.0.1","description":"A component wrapper that provides click outside detection.","main":"dist/index.js","scripts":{"build":"babel -d dist index.js","prepublish":"npm test && npm run build","lint":"eslint .","test":"npm run lint && mocha --compilers js:babel/register --reporter nyan --require test-setup"},"repository":{"type":"git","url":"git+https://github.com/kentor/react-click-outside.git"},"keywords":["click outside","higher order component","onclickoutside","react"],"author":{"name":"Kenneth Chung","email":"ken70r@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/kentor/react-click-outside/issues"},"homepage":"https://github.com/kentor/react-click-outside","devDependencies":{"babel":"^5.8.23","eslint":"^1.10.1","eslint-config-kentor":"^1.0.0","eslint-plugin-react":"^3.10.0","expect":"^1.13.0","jsdom":"^7.1.0","mocha":"^2.3.4","react":"^0.14.3","react-dom":"^0.14.3"},"gitHead":"b139d4ad5b529e2dec013232ff2e446a63fdbbb9","_id":"react-click-outside@2.0.1","_shasum":"be10a5c71bd6ed880b100c818a64f97eefcd674f","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"kentor","email":"ken70r@gmail.com"},"dist":{"shasum":"be10a5c71bd6ed880b100c818a64f97eefcd674f","tarball":"https://registry.npmjs.org/react-click-outside/-/react-click-outside-2.0.1.tgz","integrity":"sha512-fGkW2yrCa1sI7b8WQ0Mrd1ApNvwUBNQ/MFCRZ1lZKXOO9FT3etXTGUg8vMIjlTkCc6Fdwpa40N8JoM7rKIdpmw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkw5O1uSRtA9OSu/N0YDdVHsER3COS01I1dBS5QA/hggIgdFAGcdvm1k6UICn1Vt/QItbpDlEENAPjIwqiceZ14xI="}]},"maintainers":[{"name":"kentor","email":"ken70r@gmail.com"}],"directories":{}},"2.1.0":{"name":"react-click-outside","version":"2.1.0","description":"A component wrapper that provides click outside detection.","main":"dist/index.js","scripts":{"build":"babel -d dist index.js","prepublish":"npm test && npm run build","lint":"eslint .","test":"npm run lint && mocha --compilers js:babel/register --require test-setup"},"repository":{"type":"git","url":"git+https://github.com/kentor/react-click-outside.git"},"keywords":["click outside","higher order component","onclickoutside","react"],"author":{"name":"Kenneth Chung","email":"ken70r@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/kentor/react-click-outside/issues"},"homepage":"https://github.com/kentor/react-click-outside","devDependencies":{"babel":"^5.8.23","eslint":"^1.10.1","eslint-config-kentor":"^1.0.0","eslint-plugin-react":"^3.10.0","expect":"^1.13.0","jsdom":"^7.1.0","mocha":"^2.3.4","react":"^0.14.3","react-dom":"^0.14.3"},"gitHead":"ec040cd0a2d9200392a36d52d6f71fd40ed033c6","_id":"react-click-outside@2.1.0","_shasum":"2e48b1a2ef3cc365a9fc1a873e67a50337c08767","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"kentor","email":"ken70r@gmail.com"},"dist":{"shasum":"2e48b1a2ef3cc365a9fc1a873e67a50337c08767","tarball":"https://registry.npmjs.org/react-click-outside/-/react-click-outside-2.1.0.tgz","integrity":"sha512-i1CoP20mAcVRqbWVeUEt3jxhhtHPZJ4l/R0hDPoiwI45raou3rhUMrECIofw8t8X+2+WrKtBIWYuSXWioE1qsA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIENcqPr9fSnoO/KuwgvJFIVsQecEJEJ4rk1+jWFmzub1AiB1tTZNgc0vWD6IxV1u3+PPitU8OF6Q+GzEF/l3Nd82wA=="}]},"maintainers":[{"name":"kentor","email":"ken70r@gmail.com"}],"directories":{}},"2.2.0":{"name":"react-click-outside","version":"2.2.0","description":"A component wrapper that provides click outside detection.","main":"dist/index.js","scripts":{"build":"npm test && babel -d dist index.js","lint":"eslint .","test":"npm run lint && mocha --compilers js:babel-register --require test-setup"},"repository":{"type":"git","url":"git+https://github.com/kentor/react-click-outside.git"},"keywords":["click outside","higher order component","onclickoutside","react"],"author":{"name":"Kenneth Chung","email":"ken70r@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/kentor/react-click-outside/issues"},"homepage":"https://github.com/kentor/react-click-outside","devDependencies":{"babel-cli":"6.16.0","babel-preset-es2015":"6.16.0","babel-preset-react":"6.16.0","babel-register":"6.16.3","eslint":"3.7.1","eslint-config-kentor":"3.7.1","eslint-plugin-react":"6.3.0","expect":"1.20.2","jsdom":"9.6.0","mocha":"3.1.0","react":"15.3.2","react-dom":"15.3.2"},"dependencies":{"hoist-non-react-statics":"^1.2.0"},"gitHead":"a653c31717e00d43230521f52e305c08df77a892","_id":"react-click-outside@2.2.0","_shasum":"fb815517cb6144bb5e670f69e1a61d6165338a59","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.6.0","_npmUser":{"name":"kentor","email":"ken70r@gmail.com"},"dist":{"shasum":"fb815517cb6144bb5e670f69e1a61d6165338a59","tarball":"https://registry.npmjs.org/react-click-outside/-/react-click-outside-2.2.0.tgz","integrity":"sha512-iCOGfnPFmAP5CTPYPhI68n1UBwMlENcZI0uQ3VU7gQZq3B6o1AKLsgWYFUSis0IMe5/vLBgHXq9OQmFGEZNImw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyuMXZWrxsDgm6+4au3NHr6hZ6UTNoSrdO1/CdsmZXTgIgau+An428MPKf6Cj6W29VFK4j97yJbaAamCzlH6wd1eo="}]},"maintainers":[{"name":"kentor","email":"ken70r@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/react-click-outside-2.2.0.tgz_1475894508586_0.7310727576259524"},"directories":{}},"2.3.0":{"name":"react-click-outside","version":"2.3.0","description":"A component wrapper that provides click outside detection.","main":"dist/index.js","scripts":{"build":"npm test && babel -d dist index.js","demo":"budo demo/app.js","lint":"eslint .","test":"mocha --compilers js:babel-register --require test-setup","test:ci":"npm run lint && npm run test"},"repository":{"type":"git","url":"git+https://github.com/kentor/react-click-outside.git"},"keywords":["click outside","higher order component","onclickoutside","react"],"author":{"name":"Kenneth Chung","email":"ken70r@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/kentor/react-click-outside/issues"},"homepage":"https://github.com/kentor/react-click-outside","devDependencies":{"babel-cli":"6.18.0","babel-preset-es2015":"6.18.0","babel-preset-react":"6.16.0","babel-register":"6.18.0","babelify":"7.3.0","browserify":"13.1.1","budo":"9.3.0","create-react-class":"15.5.2","eslint":"3.12.2","eslint-config-kentor":"3.12.2","eslint-plugin-react":"6.8.0","expect":"1.20.2","jsdom":"9.9.1","mocha":"3.2.0","react":"15.5.4","react-dom":"15.5.4"},"dependencies":{"hoist-non-react-statics":"^1.2.0"},"browserify":{"transform":["babelify"]},"gitHead":"0a443ee08778095cf19f6887821ff286808ff595","_id":"react-click-outside@2.3.0","_shasum":"928d04b0d5f622ac0c66e2d3c481db1b3cd81ace","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.5","_npmUser":{"name":"kentor","email":"ken70r@gmail.com"},"dist":{"shasum":"928d04b0d5f622ac0c66e2d3c481db1b3cd81ace","tarball":"https://registry.npmjs.org/react-click-outside/-/react-click-outside-2.3.0.tgz","integrity":"sha512-X00O6DXRnfhqR0E20qIBQ+4fouRgKVSjXZZ+UqvhaxJTCGQc8ZK1dRMjgxyunlFz/0028u2P2BVvkOfbcpCjGw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDs344aUKj1cyv+2nNwq307UWzFUwUfO7UISKmYYyR1rgIhAKlmEX0Xu/nSRN3EiPBcL0ek+N7cTlPjpFZtoUSYYzoE"}]},"maintainers":[{"name":"kentor","email":"ken70r@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/react-click-outside-2.3.0.tgz_1491975630668_0.9392774293664843"},"directories":{}},"2.3.1":{"name":"react-click-outside","version":"2.3.1","description":"A component wrapper that provides click outside detection.","main":"dist/index.js","scripts":{"build":"npm test && babel -d dist index.js","demo":"budo demo/app.js -- -t babelify","lint":"eslint .","test":"mocha --compilers js:babel-register --require test-setup","test:ci":"npm run lint && npm run test"},"repository":{"type":"git","url":"git+https://github.com/kentor/react-click-outside.git"},"keywords":["click outside","higher order component","onclickoutside","react"],"author":{"name":"Kenneth Chung","email":"ken70r@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/kentor/react-click-outside/issues"},"homepage":"https://github.com/kentor/react-click-outside","devDependencies":{"babel-cli":"6.18.0","babel-preset-es2015":"6.18.0","babel-preset-react":"6.16.0","babel-register":"6.18.0","babelify":"7.3.0","browserify":"13.1.1","budo":"9.3.0","create-react-class":"15.5.2","eslint":"3.12.2","eslint-config-kentor":"3.12.2","eslint-plugin-react":"6.8.0","expect":"1.20.2","jsdom":"9.9.1","mocha":"3.2.0","react":"15.5.4","react-dom":"15.5.4"},"dependencies":{"hoist-non-react-statics":"^1.2.0"},"gitHead":"126219d3010a649c07057b4b395d92ac71b46912","_id":"react-click-outside@2.3.1","_shasum":"318737ebdf081a4a3bcd46825663674cbe9836eb","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"kentor","email":"ken70r@gmail.com"},"dist":{"shasum":"318737ebdf081a4a3bcd46825663674cbe9836eb","tarball":"https://registry.npmjs.org/react-click-outside/-/react-click-outside-2.3.1.tgz","integrity":"sha512-LZgl4B90YSZHN5dDUTvrXO0TNweAgB1myARxzgVo2f6eOM0aI5CLLCOpXswMfSEbgG8Ni8sVrqeUC4YTCDImug==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCi39N3VPgCNYnZT83lBoVLOCmdhzO6F1RfHhwTpzry3QIhAPqQ+e+Rp5m4tyhNOQdDLa85LXKC8bwkAnzVoPjsd67s"}]},"maintainers":[{"name":"kentor","email":"ken70r@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-click-outside-2.3.1.tgz_1494371873784_0.15418251045048237"},"directories":{}},"3.0.0":{"name":"react-click-outside","version":"3.0.0","description":"A component wrapper that provides click outside detection.","main":"dist/index.js","scripts":{"build":"npm test && babel -d dist index.js","demo":"budo demo/app.js -- -t babelify","lint":"eslint .","test":"mocha --compilers js:babel-register --require test-setup","test:ci":"npm run lint && npm run test"},"repository":{"type":"git","url":"git+https://github.com/kentor/react-click-outside.git"},"keywords":["click outside","higher order component","onclickoutside","react"],"author":{"name":"Kenneth Chung","email":"ken70r@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/kentor/react-click-outside/issues"},"homepage":"https://github.com/kentor/react-click-outside","devDependencies":{"babel-cli":"6.18.0","babel-plugin-transform-object-rest-spread":"6.26.0","babel-preset-env":"1.6.0","babel-preset-react":"6.16.0","babel-register":"6.18.0","babelify":"7.3.0","browserify":"13.1.1","budo":"9.3.0","create-react-class":"15.5.2","eslint":"3.12.2","eslint-config-kentor":"3.12.2","eslint-plugin-react":"6.8.0","expect":"1.20.2","jsdom":"9.9.1","mocha":"3.2.0","react":"15.5.4","react-dom":"15.5.4"},"dependencies":{"hoist-non-react-statics":"^2.1.1"},"gitHead":"cfb06628dc801007e3f92712ae7b8bc487946b7a","_id":"react-click-outside@3.0.0","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"kentor","email":"ken70r@gmail.com"},"dist":{"integrity":"sha512-UAtqurGBae+B+1Hu5NtCyJaBDHO74iMMZpBvEMs0Do3N9yjCU9WJOclTYdUXg773c1QjTtu5M2WCQILCVX1Vnw==","shasum":"7a69a90d31b99204ef5d509cae91f52460d6fd69","tarball":"https://registry.npmjs.org/react-click-outside/-/react-click-outside-3.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6YQh3a5skVSqRm8I/2vq7VMIYhAxkMIaQv+b+a2cNegIhAPp9EvOGQ20vSFpnQhCD3deIlrwyqvPks+tjQg9xKWz0"}]},"maintainers":[{"name":"kentor","email":"ken70r@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-click-outside-3.0.0.tgz_1504846229688_0.4123435008805245"},"directories":{}},"3.0.1":{"name":"react-click-outside","version":"3.0.1","description":"A component wrapper that provides click outside detection.","main":"dist/index.js","scripts":{"build":"npm test && babel -d dist index.js","demo":"budo demo/app.js -- -t babelify","lint":"eslint .","test":"jest","test:ci":"npm run lint && npm run test"},"repository":{"type":"git","url":"git+https://github.com/kentor/react-click-outside.git"},"keywords":["click outside","higher order component","onclickoutside","react"],"author":{"name":"Kenneth Chung","email":"ken70r@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/kentor/react-click-outside/issues"},"homepage":"https://github.com/kentor/react-click-outside","devDependencies":{"babel-cli":"6.26.0","babel-jest":"21.2.0","babel-plugin-transform-object-rest-spread":"6.26.0","babel-preset-env":"1.6.0","babel-preset-react":"6.24.1","babelify":"7.3.0","browserify":"14.4.0","budo":"10.0.4","create-react-class":"15.6.2","enzyme":"3.0.0","enzyme-adapter-react-16":"1.0.0","eslint":"4.8.0","eslint-config-kentor":"5.0.0","jest":"21.2.1","react":"16.0.0","react-dom":"16.0.0","react-test-renderer":"16.0.0"},"dependencies":{"hoist-non-react-statics":"^2.1.1"},"gitHead":"ff29a952267691c174a3c26e51a60553bb59f079","_id":"react-click-outside@3.0.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"kentor","email":"ken70r@gmail.com"},"dist":{"integrity":"sha512-d0KWFvBt+esoZUF15rL2UBB7jkeAqLU8L/Ny35oLK6fW6mIbOv/ChD+ExF4sR9PD26kVx+9hNfD0FTIqRZEyRQ==","shasum":"6e77e84d2f17afaaac26dbad743cbbf909f5e24c","tarball":"https://registry.npmjs.org/react-click-outside/-/react-click-outside-3.0.1.tgz","fileCount":13,"unpackedSize":205702,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF1wm6dnhlj1GJ0QpvPpZn3FMEca6hIMxATLXTtlfmoPAiEA76gd7FwASuUGAKlbQ+WI+K9Ul+pG2PvH9vwtDn0PqRM="}]},"maintainers":[{"name":"kentor","email":"ken70r@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-click-outside_3.0.1_1518678348838_0.46413874282168677"},"_hasShrinkwrap":false}},"homepage":"https://github.com/kentor/react-click-outside","keywords":["click outside","higher order component","onclickoutside","react"],"repository":{"type":"git","url":"git+https://github.com/kentor/react-click-outside.git"},"author":{"name":"Kenneth Chung","email":"ken70r@gmail.com"},"bugs":{"url":"https://github.com/kentor/react-click-outside/issues"},"license":"MIT","readmeFilename":"README.md","users":{"princetoad":true,"fiatjaf":true,"rahulraghavankklm":true,"re8260":true,"daniel-zahariev":true,"zillding":true,"isenricho":true,"reyronald":true,"dwqs":true}}