{"bugs":{"url":"https://github.com/storybooks/storybook/issues"},"dist":{"shasum":"a4cb5431c251ffa23ac9189b9a7ec2d51a7aa055","tarball":"https://registry.npmjs.org/@storybook/addon-notes/-/addon-notes-4.1.0-alpha.8.tgz","fileCount":13,"integrity":"sha512-V9r9sPJLb4U0lRw5QpORPz9TjkKdm0YAZbLD6ma9CO/zx786cGEGKbC+mnyvLhKS7LxjrpyXUp6zYJdrEFo55A==","signatures":[{"sig":"MEUCIEQsEF4mRNJ06nIbepzS9K019643Z84R3kK8ol4++/W+AiEArwOAnLkr8qLLb4PRGh43JYvzZ1LvzJCs1iWmvlhvk3E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":178522,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb+gMxCRA9TVsSAnZWagAAdnwP/jxWytmJdnXwFOjS4L7H\nX4Eeeag+l1UFUNlxUkYLS2fElQXKBJ3m9tDwpVaXsqsCFdZ7VFmDkQCqZ7tK\nlwwK809GDaydz7skeJsl/aeargMpQtNFqf8zdAEJs2V07PW0ipWX3L+8Ch/R\nWmZdQdNAebwMcjpmUA9892lKxuuEGJegRPyCIIaX3VFeQ/9+zHHfM5okbiFP\n8NA+fC2t4fpCee/8gg4j3giMSQEFr9+ATXUsG7nC6ikfm9/wew4hF9sKrp6u\nKqoWouZsdUqNE9eJEZVG3ZBn/9L27lUrjEt/b23tRPeV+3qQkBqaCuypsAiC\nw0Om1zeoHGdB5a8j3jjNnj0ahMJvoVywbv6eTk5vmiIzT5yAa9/Zbx51nMAw\nIczdzDL+d5RFz2OsPgLfC26PmIE3nghEXN+uF7w1mUWJCjwelMf0JwM0n0WN\n4NSCa/scgwFFPUQb+ECjlnB4RAwd7/kePD8PrEDS6UphprkWmQgjeWnCpFrj\nJz4Ye++UwhdBHsxh/Diug9u1CdHUBtj2IWlAdHk37jSia8JqiPIhWnPzuHFh\nVKZl6qzcm/Lsg07mzlg1FpUieHQoSNEf7lCjeVgAvLmuQu/xSv7KiYYUwsjy\nx1B7odfg/0zhYNraFjkQPN59I4tuJV9QLoH+zZVECSzStSRuMrF01BXu6xi9\nv23W\r\n=170x\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","name":"@storybook/addon-notes","readme":"# Storybook Addon Notes\n\nStorybook Addon Notes allows you to write notes (text or HTML) for your stories in [Storybook](https://storybook.js.org).\n\n[Framework Support](https://github.com/storybooks/storybook/blob/master/ADDONS_SUPPORT.md)\n\n![Storybook Addon Notes Demo](docs/demo.png)\n\n### Getting Started\n\n**NOTE: Documentation on master branch is for alpha version, stable release is on [master](https://github.com/storybooks/storybook/tree/master/addons/)**\n\n```sh\nyarn add -D @storybook/addon-notes\n```\n\nThen create a file called `addons.js` in your storybook config.\n\nAdd following content to it:\n\n```js\nimport '@storybook/addon-notes/register';\n```\n\nThen add the `withNotes` decorator to all stories in your `config.js`:\n\n```js\n// Import from @storybook/X where X is your framework\nimport { configure, addDecorator } from '@storybook/react';\nimport { withNotes } from '@storybook/addon-notes';\n\naddDecorator(withNotes);\n```\n\nYou can use the `notes` parameter to add a note to each story:\n\n```js\nimport { storiesOf } from '@storybook/react';\n\nimport Component from './Component';\n\nstoriesOf('Component', module).add('with some emoji', () => <Component />, {\n  notes: 'A very simple component',\n});\n```\n\n#### Using Markdown\n\nTo use markdown in your notes, either through import or inline, simply put it in the `markdown` property of your note.\n\n```js\nimport { storiesOf } from '@storybook/react';\nimport Component from './Component';\nimport someMarkdownText from './someMarkdownText.md';\n\nstoriesOf('Component', module).add('With Markdown', () => <Component />, {\n  notes: { markdown: someMarkdownText },\n});\n```\n","gitHead":"0833a4b8a97c8f95f484131b552c14a55194bdbf","license":"MIT","scripts":{"prepare":"node ../../scripts/prepare.js"},"_npmUser":{"name":"shilman","email":"michael@lab80.co"},"homepage":"https://github.com/storybooks/storybook/tree/master/addons/notes","keywords":["addon","notes","storybook"],"repository":{"url":"https://github.com/storybooks/storybook.git","type":"git"},"description":"Write notes for your Storybook stories.","directories":{},"jsnext:main":"src/index.js","maintainers":[{"name":"alexandrebodin","email":"bodin.alex@gmail.com"},{"name":"christianalfoni","email":"christianalfoni@gmail.com"},{"name":"danielduan","email":"dduan@yahoo.com"},{"name":"hypnosphi","email":"talpa@yandex.ru"},{"name":"igor-dv","email":"davydkin.igor@gmail.com"},{"name":"ndelangen","email":"ndelangen@me.com"},{"name":"pksunkara","email":"pavan.sss1991@gmail.com"},{"name":"shilman","email":"michael@lab80.co"},{"name":"tmeasday","email":"tom@thesnail.org"},{"name":"usulpro","email":"regx@usul.su"}],"dependencies":{"marked":"^0.5.1","prop-types":"^15.6.2","@emotion/styled":"^0.10.6","@storybook/addons":"4.1.0-alpha.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"react":"*"},"_npmOperationalInternal":{"tmp":"tmp/addon-notes_4.1.0-alpha.8_1543111472965_0.11674082445329947","host":"s3://npm-registry-packages"},"_id":"@storybook/addon-notes@4.1.0-alpha.8","version":"4.1.0-alpha.8"}