{"_id":"@atlaskit/droplist-trigger","_rev":"11-4d1c6f76910f764e34c18523979f0501","name":"@atlaskit/droplist-trigger","dist-tags":{"latest":"1.1.4"},"versions":{"1.0.0":{"name":"@atlaskit/droplist-trigger","version":"1.0.0","keywords":["atlaskit","ui"],"author":{"name":"Atlassian Pty Ltd"},"license":"Apache-2.0","_id":"@atlaskit/droplist-trigger@1.0.0","maintainers":[{"name":"atlaskit","email":"design-platform@atlassian.com"}],"homepage":"https://bitbucket.org/atlassian/atlaskit#readme","dist":{"shasum":"0742182d59e1182cb936403ebc5cb4731f4d8fb5","tarball":"https://registry.npmjs.org/@atlaskit/droplist-trigger/-/droplist-trigger-1.0.0.tgz","integrity":"sha512-xw2dT4P4jqcTUgin+rRKkg+wXTRLQmiShGzviipvWdwJmGr+hpH4bZVZuPsXx7OfqQFWzfwSJk+jeH0IFslmNA==","signatures":[{"sig":"MEUCIGzdt1+QtdsxjerMl8D1PB72vI9mFoYDN+KK9/yyZt3EAiEAozFjHqmqt7NOXbQrtAT3UtilINpNbmTpaQs2hiNJgbw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":"packages/droplist-trigger","files":["dist","src/index.d.ts"],"types":"src/index.d.ts","config":{"access":"public"},"_shasum":"0742182d59e1182cb936403ebc5cb4731f4d8fb5","gitHead":"b3b4b75fad380312bd08645566e67eb3619f9891","scripts":{"prepublish":"../../node_modules/.bin/in-publish && { cd ../.. && npm run prepublish/single @atlaskit/droplist-trigger; } || ../../node_modules/.bin/not-in-publish"},"webpack":"dist/bundle-cjs.js","_npmUser":{"name":"atlaskit","email":"design-platform@atlassian.com"},"_resolved":"file:packages/droplist-trigger","repository":{"url":"git+https://bitbucket.org/atlassian/atlaskit.git","type":"git"},"_npmVersion":"3.10.7","description":"React component that is enabled by pressing 'space' or 'enter', or by clicking on it.","directories":{},"_nodeVersion":"6.7.0","dependencies":{"keycode":"^2.1.7","classnames":"^2.2.5","babel-runtime":"^6.11.6","akutil-shared-styles":"^37.0.0"},"ak:webpack:raw":"src/index.jsx","devDependencies":{"ak-avatar":"^5.0.5","ak-button":"^5.0.3"},"peerDependencies":{"react":"^15.3.2"},"_npmOperationalInternal":{"tmp":"tmp/droplist-trigger-1.0.0.tgz_1485733349529_0.184912619413808","host":"packages-18-east.internal.npmjs.com"}},"1.1.0":{"name":"@atlaskit/droplist-trigger","version":"1.1.0","keywords":["atlaskit","ui"],"author":{"name":"Atlassian Pty Ltd"},"license":"Apache-2.0","_id":"@atlaskit/droplist-trigger@1.1.0","maintainers":[{"name":"atlaskit","email":"design-platform@atlassian.com"}],"homepage":"https://bitbucket.org/atlassian/atlaskit#readme","dist":{"shasum":"3dbc8232717077e6c3db0804665cae4aa8eceb18","tarball":"https://registry.npmjs.org/@atlaskit/droplist-trigger/-/droplist-trigger-1.1.0.tgz","integrity":"sha512-y3GhjYUsULb/MNm8KOJkLS8/iCLEd6pond0aeUHuDyIBvDr5j2VPnuK7/SIxUcstbC1CEgKbRk3FQrS7KUyXdA==","signatures":[{"sig":"MEUCIQDcXtw4kCVobwmqJKYK4lh0tsaim20CiBYUw8o+i2SWSQIgdNuVTTS8ROgjxqV2bDEZ0IzkrEvy4cWDV3uHjXkx0mQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":"packages/droplist-trigger","files":["dist","src/index.d.ts"],"types":"src/index.d.ts","config":{"access":"public"},"_shasum":"3dbc8232717077e6c3db0804665cae4aa8eceb18","gitHead":"9ac2e323d517a67ae202a1dae5b12cfc8496d976","scripts":{"prepublish":"../../node_modules/.bin/in-publish && { cd ../.. && npm run prepublish/single @atlaskit/droplist-trigger; } || ../../node_modules/.bin/not-in-publish"},"webpack":"dist/bundle-cjs.js","_npmUser":{"name":"atlaskit","email":"design-platform@atlassian.com"},"_resolved":"file:packages/droplist-trigger","repository":{"url":"git+https://bitbucket.org/atlassian/atlaskit.git","type":"git"},"_npmVersion":"3.10.7","description":"React component that is enabled by pressing 'space' or 'enter', or by clicking on it.","directories":{},"_nodeVersion":"6.7.0","dependencies":{"keycode":"^2.1.7","classnames":"^2.2.5","babel-runtime":"^6.11.6","@atlaskit/util-shared-styles":"^1.0.0"},"ak:webpack:raw":"src/index.jsx","devDependencies":{"@atlaskit/avatar":"^1.0.0","@atlaskit/button":"^1.0.0"},"peerDependencies":{"react":"^15.3.2"},"_npmOperationalInternal":{"tmp":"tmp/droplist-trigger-1.1.0.tgz_1485894611789_0.2340437297243625","host":"packages-12-west.internal.npmjs.com"}},"1.1.1":{"name":"@atlaskit/droplist-trigger","version":"1.1.1","keywords":["atlaskit","ui"],"author":{"name":"Atlassian Pty Ltd"},"license":"Apache-2.0","_id":"@atlaskit/droplist-trigger@1.1.1","maintainers":[{"name":"atlaskit","email":"design-platform@atlassian.com"}],"homepage":"https://bitbucket.org/atlassian/atlaskit#readme","dist":{"shasum":"1ed06e8d0af580ac17283d40381fc9ff044bdf27","tarball":"https://registry.npmjs.org/@atlaskit/droplist-trigger/-/droplist-trigger-1.1.1.tgz","integrity":"sha512-OoudwVE/xU1t2XoNaEWEnPDHUZ1xyHpGho2GmKipwoI/qJBL9hApPWPQwb+Ki/HqoKLGwnAKDi0Cklhy9hzLGQ==","signatures":[{"sig":"MEYCIQC6ppq6FUbsA3Brj91i7h49GmP9OYCBbUQorF+uPOttrAIhAPuTbiuKxjlGC6ec9+j5qPDZTfe+icJDk53lDXM79lDY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":"packages/droplist-trigger","files":["dist","src/index.d.ts"],"types":"src/index.d.ts","config":{"access":"public"},"_shasum":"1ed06e8d0af580ac17283d40381fc9ff044bdf27","gitHead":"68530ceeb35bdf331343ec9fcd1b17c0e2d598b5","scripts":{"prepublish":"../../node_modules/.bin/in-publish && { cd ../.. && npm run prepublish/single @atlaskit/droplist-trigger; } || ../../node_modules/.bin/not-in-publish"},"webpack":"dist/bundle-cjs.js","_npmUser":{"name":"atlaskit","email":"design-platform@atlassian.com"},"_resolved":"file:packages/droplist-trigger","repository":{"url":"git+https://bitbucket.org/atlassian/atlaskit.git","type":"git"},"_npmVersion":"3.10.7","description":"React component that is enabled by pressing 'space' or 'enter', or by clicking on it.","directories":{},"_nodeVersion":"6.7.0","dependencies":{"keycode":"^2.1.7","classnames":"^2.2.5","babel-runtime":"^6.11.6","@atlaskit/util-shared-styles":"^1.0.0"},"ak:webpack:raw":"src/index.jsx","devDependencies":{"@atlaskit/avatar":"^1.0.0","@atlaskit/button":"^1.0.0"},"peerDependencies":{"react":"^15.3.2"},"_npmOperationalInternal":{"tmp":"tmp/droplist-trigger-1.1.1.tgz_1485970346633_0.4676864924840629","host":"packages-12-west.internal.npmjs.com"}},"1.1.2":{"name":"@atlaskit/droplist-trigger","version":"1.1.2","keywords":["atlaskit","ui"],"author":{"name":"Atlassian Pty Ltd"},"license":"Apache-2.0","_id":"@atlaskit/droplist-trigger@1.1.2","maintainers":[{"name":"atlaskit","email":"design-platform@atlassian.com"}],"homepage":"https://bitbucket.org/atlassian/atlaskit#readme","dist":{"shasum":"92d20dc407b2da0ec375d76196665a4de1607701","tarball":"https://registry.npmjs.org/@atlaskit/droplist-trigger/-/droplist-trigger-1.1.2.tgz","integrity":"sha512-tRvnrfQTR5sZDuMbGdHHqlqHs4ezCiUkRT0DaOpjrP2+Xpk1fjQX1GSROUnLGAeZ62jNMrIaXJ3iFO6DRXYqRQ==","signatures":[{"sig":"MEQCIF9lK9BL9UTzDmlAGz4Zih+MENrHaAugrA4UZpGICXlZAiAgKu7cuD6mek1hg/d36ZJK2pZ7x9fhBoNTzytB4QY7Xw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":"packages/droplist-trigger","files":["dist","src/index.d.ts"],"types":"src/index.d.ts","config":{"access":"public"},"_shasum":"92d20dc407b2da0ec375d76196665a4de1607701","gitHead":"6c868952463290c22df6fa82cb3fda971680e609","scripts":{"prepublish":"../../node_modules/.bin/in-publish && { cd ../.. && npm run prepublish/single @atlaskit/droplist-trigger; } || ../../node_modules/.bin/not-in-publish"},"webpack":"dist/bundle-cjs.js","_npmUser":{"name":"atlaskit","email":"design-platform@atlassian.com"},"_resolved":"file:packages/droplist-trigger","repository":{"url":"git+https://bitbucket.org/atlassian/atlaskit.git","type":"git"},"_npmVersion":"3.10.7","description":"React component that is enabled by pressing 'space' or 'enter', or by clicking on it.","directories":{},"_nodeVersion":"6.7.0","dependencies":{"keycode":"^2.1.7","classnames":"^2.2.5","babel-runtime":"^6.11.6","@atlaskit/util-shared-styles":"^1.0.0"},"ak:webpack:raw":"src/index.jsx","devDependencies":{"@atlaskit/avatar":"^1.0.0","@atlaskit/button":"^1.0.0"},"peerDependencies":{"react":"^15.3.2"},"_npmOperationalInternal":{"tmp":"tmp/droplist-trigger-1.1.2.tgz_1486429948260_0.21458868798799813","host":"packages-18-east.internal.npmjs.com"}},"1.1.3":{"name":"@atlaskit/droplist-trigger","version":"1.1.3","keywords":["atlaskit","ui"],"author":{"name":"Atlassian Pty Ltd"},"license":"Apache-2.0","_id":"@atlaskit/droplist-trigger@1.1.3","maintainers":[{"name":"atlaskit","email":"design-platform@atlassian.com"}],"homepage":"https://bitbucket.org/atlassian/atlaskit#readme","dist":{"shasum":"d6d7a678700326713f8ef4074e7227937f573396","tarball":"https://registry.npmjs.org/@atlaskit/droplist-trigger/-/droplist-trigger-1.1.3.tgz","integrity":"sha512-1NmRmgGzKbs971S5lPZflwGQ3sxp+kL/48DmQ7lganEEmsEosgDF9ipRyOrN1dwqHq70KGt8ETQftnVXgmUyyg==","signatures":[{"sig":"MEYCIQDXJ53yk3ALPGlNe4aiJrM3mPpjLOIR8bXmlBAJLbKPwwIhAOnnbPJSCEFZJxyylb241cNGzus3AMs0y2L04qj4YadW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":"packages/droplist-trigger","files":["dist","src/index.d.ts"],"types":"src/index.d.ts","config":{"access":"public"},"_shasum":"d6d7a678700326713f8ef4074e7227937f573396","gitHead":"956f813dda60f0efd750536bc10b7e0080549ee8","scripts":{"prepublish":"../../node_modules/.bin/in-publish && { cd ../.. && npm run prepublish/single @atlaskit/droplist-trigger; } || ../../node_modules/.bin/not-in-publish"},"webpack":"dist/bundle-cjs.js","_npmUser":{"name":"atlaskit","email":"design-platform@atlassian.com"},"_resolved":"file:packages/droplist-trigger","repository":{"url":"git+https://bitbucket.org/atlassian/atlaskit.git","type":"git"},"_npmVersion":"3.10.7","description":"React component that is enabled by pressing 'space' or 'enter', or by clicking on it.","directories":{},"_nodeVersion":"6.7.0","dependencies":{"keycode":"^2.1.7","classnames":"^2.2.5","babel-runtime":"^6.11.6","@atlaskit/util-shared-styles":"^1.0.0"},"ak:webpack:raw":"src/index.jsx","devDependencies":{"@atlaskit/avatar":"^1.0.0","@atlaskit/button":"^1.0.0"},"peerDependencies":{"react":"^15.3.2"},"_npmOperationalInternal":{"tmp":"tmp/droplist-trigger-1.1.3.tgz_1486757969206_0.6607469506561756","host":"packages-12-west.internal.npmjs.com"}},"1.1.4":{"name":"@atlaskit/droplist-trigger","version":"1.1.4","keywords":["atlaskit","ui","internal"],"author":{"name":"Atlassian Pty Ltd"},"license":"Apache-2.0","_id":"@atlaskit/droplist-trigger@1.1.4","maintainers":[{"name":"atlaskit","email":"design-platform@atlassian.com"}],"homepage":"https://bitbucket.org/atlassian/atlaskit#readme","dist":{"shasum":"818534119989dbecae7dc23d5c1029072058355e","tarball":"https://registry.npmjs.org/@atlaskit/droplist-trigger/-/droplist-trigger-1.1.4.tgz","integrity":"sha512-qAfLi2cmt6JIncohJn9dzPDTp8WjgF3Xol3+oq0t2T192sCaclUzyZQhkzRNU/+JLrTPSlGApK3AAbUJw4kHEA==","signatures":[{"sig":"MEQCIHJC91utTYumXHidElEvsNU9OLHVdaDZ+K1e7Wcn4yImAiB4HL5spNG5WROdjaxo0CW3qPvwlejtZQCMzdZ6razMQw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":"packages/droplist-trigger","files":["dist","src/index.d.ts"],"types":"src/index.d.ts","config":{"access":"public"},"_shasum":"818534119989dbecae7dc23d5c1029072058355e","gitHead":"67fd1ba347dd14960ea17387e08c82bbb610f566","scripts":{"prepublish":"../../node_modules/.bin/in-publish && { cd ../.. && npm run prepublish/single @atlaskit/droplist-trigger; } || ../../node_modules/.bin/not-in-publish"},"webpack":"dist/bundle-cjs.js","_npmUser":{"name":"atlaskit","email":"design-platform@atlassian.com"},"_resolved":"file:packages/droplist-trigger","deprecated":"This package is deprecated.","repository":{"url":"git+https://bitbucket.org/atlassian/atlaskit.git","type":"git"},"_npmVersion":"3.10.7","description":"React component that is enabled by pressing 'space' or 'enter', or by clicking on it.","directories":{},"_nodeVersion":"6.7.0","dependencies":{"keycode":"^2.1.7","classnames":"^2.2.5","babel-runtime":"^6.11.6","@atlaskit/util-shared-styles":"^1.0.0"},"ak:webpack:raw":"src/index.jsx","devDependencies":{"@atlaskit/avatar":"^1.0.0","@atlaskit/button":"^1.0.0"},"peerDependencies":{"react":"^15.3.2"},"_npmOperationalInternal":{"tmp":"tmp/droplist-trigger-1.1.4.tgz_1488232960779_0.7138217326719314","host":"packages-18-east.internal.npmjs.com"}}},"time":{"created":"2017-01-29T23:42:30.065Z","modified":"2025-01-29T23:24:21.042Z","1.0.0":"2017-01-29T23:42:30.065Z","1.1.0":"2017-01-31T20:30:13.903Z","1.1.1":"2017-02-01T17:32:28.369Z","1.1.2":"2017-02-07T01:12:28.961Z","1.1.3":"2017-02-10T20:19:31.011Z","1.1.4":"2017-02-27T22:02:41.366Z"},"author":{"name":"Atlassian Pty Ltd"},"license":"Apache-2.0","homepage":"https://bitbucket.org/atlassian/atlaskit#readme","keywords":["atlaskit","ui","internal"],"repository":{"url":"git+https://bitbucket.org/atlassian/atlaskit.git","type":"git"},"description":"React component that is enabled by pressing 'space' or 'enter', or by clicking on it.","maintainers":[{"email":"eng-development-tooling-secrets-and-artifacts@atlassian.com","name":"atlassianartifactteam"}],"readme":"[![AtlasKit component registry](https://img.shields.io/badge/AtlasKit-components-FF5230.svg)](http://aui-cdn.atlassian.com/atlaskit/registry/)\n[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://Commitizen.github.io/cz-cli/)\n[![semantic-release](https://img.shields.io/badge/GitHub-semantic_release-ffab00.svg)](https://github.com/semantic-release/semantic-release)\n[![Report an issue](https://img.shields.io/badge/Report-an_issue-6554C0.svg)](https://ecosystem.atlassian.net/browse/AK)\n[![Ask in our forum](https://img.shields.io/badge/Ask-in_our_forum-6554C0.svg)](https://answers.atlassian.com/questions/ask?title=AtlasKit%3A%20&topics=atlaskit,@atlaskit/droplist-trigger,@atlaskit/droplist-trigger@1.1.4)\n\n# Trigger\n\nThis is one of the building blocks of dropdowns and it gets activated by pressing \"space\" or \"enter\", or by clicking on it.\n\n![Example trigger](https://bytebucket.org/atlassian/atlaskit/raw/449fa6658e0546a54ddd3fefd4c059a8795e8c69/packages/ak-droplist-trigger/docs/trigger.gif)\n## Try it out\n\nInteract with a [live demo of the @atlaskit/droplist-trigger component](https://aui-cdn.atlassian.com/atlaskit/stories/@atlaskit/droplist-trigger/1.1.4/).\n\n## Installation\n\n```sh\nnpm install @atlaskit/droplist-trigger\n```\n\n## Using the component\n\n### HTML\n\nThis package exports the ak-droplist-trigger React component.\n\nImport the component in your React app as follows:\n\n```js\nimport Trigger from '@atlaskit/droplist-trigger';\n\nconst callback = () => {\n  // all the action should be happening in this callback\n}\n\nReactDOM.render(<Trigger onActivate={callback}>Some awesome text</Trigger>, container);\n```\n\n\n\n## Support and feedback\n\n### We're here to help!\n\nLet us know what you think of our components and docs, your feedback is really important for us.\n\n### Community support\n\nAsk a question in our [forum](https://answers.atlassian.com/questions/ask?title=AtlasKit%3A%20&topics=atlaskit,@atlaskit/droplist-trigger,@atlaskit/droplist-trigger@1.1.4).\n\nCheck [if someone has already asked the same question before](https://answers.atlassian.com/questions/topics/42926171/atlaskit).\n\n\n### Create a support ticket\n\nAre you in trouble? [Let us know](https://ecosystem.atlassian.net/browse/AK)!\n\n","readmeFilename":"README.md"}