{"bugs":{"url":"https://github.com/storybookjs/storybook/issues"},"dist":{"shasum":"d54eb479b0d5dcea9472ded92899b215d6070c45","tarball":"https://registry.npmjs.org/@storybook/addon-notes/-/addon-notes-5.3.0-rc.9.tgz","fileCount":21,"integrity":"sha512-1KUJOM0LX4IkPTMQ9zLEKwXq0Qv6JxdB1SNkdL6em8ID6z+Pn8TeugfzAvUcwI8n46z9DJJKYSc7lmtQs81oWw==","signatures":[{"sig":"MEQCIGmrD+Xjx5PY9Sn2EzgJaXF0JDNvEdv25m5PDAlaqd7fAiB7ISjeN8ZN9uoz+TlxRkI1B2tFqQSR4RfUS8jxUSILJw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":124286,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeEIxyCRA9TVsSAnZWagAA8XkP/2Bl5A6iibrFyE98qnWa\nM/rEbHKZ8QnSUhdkO78zV0ieaaXVFfpk1IO4g8a3HDk8c5y1b1nE6ZxLBAGP\nSyfnFskHObmZi8gB+Alk5phZciBr5UQm9gQ4QRzN8k0ruEXPXWOHCae8ttu1\nTlFFHQinRMj3QISSqqe51gPIakWvZAppp/OiNUgHPko0Qf6dcbjMy291pBDR\nk91XbXQ3tw2WsvUI4ftV2igrzrJqCFu3ymzn5VxZTlhkP+o2kNslCQn6a1MP\nRuqry+Czxcfu260/NJL6YpyBC++1ZnIUdXpZA8VComJ0K+oAVrb3T9w4IbEr\nxuXsF4oZxrPm6tZVEOkMMZA9KW69im65n+w6rRXQ00/I9H//195hDlNdU2VD\nsOjYTysPn34uq1TJDUd5Uzckyhv5R1v8Ejey/GGAqjAP/6Il7UZBVQMjK/DZ\ndpuDiNvssu6yn4UWqWHsx5eBtKaUJFSbUBZaz0xUeepwpLy0BK2IP3Tli2uA\n5xMnFb9/ip+XPyD/BzasWduTabhzkwRh+W31RXSeijQnR6Z2ZFr6Iq5Ygc3C\nAvnvXC96DPjfxIiojAmbbHr+BCT51fUspx37w13Sz5DN2iJ6hFoFvIqjHgtp\nZViWdbzYks06A2rjNiR9ZcFoPem1iUSVUKlfO388gsYwFJNhv5xasb/S1Jvd\nP8I2\r\n=93An\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/public_api.js","name":"@storybook/addon-notes","types":"dist/public_api.d.ts","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/storybookjs/storybook/blob/master/ADDONS_SUPPORT.md)\n\n![Storybook Addon Notes Demo](docs/demo.png)\n\n## Getting Started\n\n**NOTE: Documentation on `next` branch is for alpha version, stable release is on [master](https://github.com/storybookjs/storybook/tree/master/addons/)**\n\n```sh\nyarn add -D @storybook/addon-notes\n```\n\nwithin `.storybook/main.js`:\n\n```js\nmodule.exports = {\n  addons: ['@storybook/addon-notes/register']\n}\n```\n\nAlternatively register the notes addon into a panel. Choose only one, not both.\n\n```js\nmodule.exports = {\n  addons: ['@storybook/addon-notes/register-panel']\n}\n```\n\nNow, you can use the `notes` parameter to add a note to each story.\n\n\n```js\nimport Component from './Component';\n\nexport default {\n  title: 'Component',\n  parameters: {\n    notes: 'some documentation here',\n  },\n};\n```\n\n## Using Markdown\n\nUsing Markdown in your notes is supported, Storybook will load Markdown as raw by default.\n\n```js\nimport Component from './Component';\nimport markdown from './someMarkdownText.md';\n\nexport default {\n  title: 'Component',\n};\n\nexport const withMarkdown = () => <Component />;\nwithmarkdown.story = {\n  parameters: {\n    notes: { markdown },\n  }\n};\n```\n\n## Giphy\n\nWhen using Markdown, you can also embed gifs from Giphy into your Markdown. Currently, the value `cheese` of the query prop is used to search and return the first result returned by Giphy.\n\n```md\n# Title\n\n<Giphy query='cheese' />\n```\n\n## Multiple Notes Sections\n\nIf you need to display different notes for different consumers of your storybook (e.g design, developers), you can configure multiple notes pages. The following will render a tab with unique notes for both `Introduction` and `Design`.\n\n```js\nimport { storiesOf } from '@storybook/react';\nimport Component from './Component';\n\nimport intro from './intro.md';\nimport design from './design.md';\n\nexport default {\n  title: 'Component',\n  parameters: {\n    notes: { Introduction: intro, 'Design Notes': design },\n  },\n};\n```\n","gitHead":"16da56cf90998ec4da7c423dd3868850bbd250c9","license":"MIT","scripts":{"prepare":"node ../../scripts/prepare.js"},"_npmUser":{"name":"shilman","email":"michael@lab80.co"},"homepage":"https://github.com/storybookjs/storybook/tree/master/addons/notes","keywords":["addon","notes","storybook"],"repository":{"url":"git+https://github.com/storybookjs/storybook.git","type":"git","directory":"addons/notes"},"_npmVersion":"lerna/3.19.0/node@v10.16.3+x64 (darwin)","description":"Write notes for your Storybook stories.","directories":{},"maintainers":[{"name":"alexandrebodin","email":"bodin.alex@gmail.com"},{"name":"danielduan","email":"dduan@yahoo.com"},{"name":"domyen","email":"dom@hichroma.com"},{"name":"ghengeveld","email":"info@ghengeveld.nl"},{"name":"gongreg","email":"gytis.vinclovas@gmail.com"},{"name":"hypnosphi","email":"talpa@yandex.ru"},{"name":"igor-dv","email":"davydkin.igor@gmail.com"},{"name":"kylesuss","email":"susskyle@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"}],"_nodeVersion":"10.16.3","dependencies":{"global":"^4.3.2","core-js":"^3.0.1","prop-types":"^15.7.2","memoizerific":"^1.11.3","@storybook/api":"5.3.0-rc.9","util-deprecate":"^1.0.2","markdown-to-jsx":"^6.10.3","@storybook/addons":"5.3.0-rc.9","@storybook/router":"5.3.0-rc.9","@storybook/theming":"5.3.0-rc.9","@storybook/components":"5.3.0-rc.9","@storybook/core-events":"5.3.0-rc.9","@storybook/client-logger":"5.3.0-rc.9"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@types/prop-types":"^15.5.9","@types/webpack-env":"^1.14.0","@types/util-deprecate":"^1.0.0"},"peerDependencies":{"react":"*"},"_npmOperationalInternal":{"tmp":"tmp/addon-notes_5.3.0-rc.9_1578142833996_0.9631882546859796","host":"s3://npm-registry-packages"},"_id":"@storybook/addon-notes@5.3.0-rc.9","version":"5.3.0-rc.9"}