{"bugs":{"url":"https://github.com/storybookjs/storybook/issues"},"dist":{"shasum":"93f1aa3c12955b4a4fabe4043f7b94bfb7a332f4","tarball":"https://registry.npmjs.org/@storybook/addon-notes/-/addon-notes-5.3.0-rc.0.tgz","fileCount":21,"integrity":"sha512-JkUGmK4bSBZzt5rQlEeHMaQNOwO9077alZrxephbo3/L1Jgmy1bS2PTItKLNS3e5ulG38wbrx1ZiN4V/mbH5Cw==","signatures":[{"sig":"MEQCIEQq2+obbj3aZ1B7ftw4knXMcTGZgjz0jpJbEAE+voW1AiB4lEzfuhcEb5jOwduYvvC2PG+kDK4O9c4+TvWgdjm0XQ==","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\nwsFcBAEBCAAQBQJd+ztWCRA9TVsSAnZWagAAhs0P/0QuvCuFTer9y462gsae\ndioE0sNed+9ceo4YWem0aRLz/XzP9EjHZZvELyLxBxbebTnZ0qFwx+dU4kKF\nWvVWCXHZ8i2lpY35HAy0HfNjCCU+Pa6M8NyrAA4uEm+J8o3IdfqdEK9Eg1B7\nvRSJTtueDHFwzvn8YP185D2jAeZTZ6hre2qOV8yr0ChE1ti7G9bv8ru3Mqzy\nlWb28gMMuKY3NUOCEAoqtwUOawdCzc+f0m40Z7ifOH1VJTV0qZSEAOFedu8S\nK7ula0Chl+aF/8m26tbvnk9zKl/Tmo3YAfhsFl1qsqMXc0FK/fzSFPN45JVK\nYtA/hAFehCkl2bcIRnb0rCyqBGH7fFyV9ov92urSskiulEBlY6ko+8hhjsdk\nA8x7FLWcDKL1h+iwRO1O3yhTdXCf97Kk7+C1ZrBlyFwTJr1TTTd9GgDyIk+u\n9nNgIlSEucMSIjocpyHWfeq9se19ecP3q3sWPfI1a3nha7q6KFTfZYMDq/fv\nSTlz83wJ3o8RjaO6eex+CbI045bdwFaNdDG9ARNx4c+EkX7Sg1jxoicm2vaU\nbB3ojKOENe06YDyNc+4gRoU1le14FxZDGbBpeBrVLvZh/SQAn0hI2Oi4p5J1\noRMXwgk0yus6XPPSSp1fhS/1z8Ggtt9wbKjy70SVLti4KcT5JjVcxG8tSj7q\nxc7S\r\n=XZzy\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 master 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":"7acb51d15ddc748b464394a8cd63f018bf96b527","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.0","util-deprecate":"^1.0.2","markdown-to-jsx":"^6.10.3","@storybook/addons":"5.3.0-rc.0","@storybook/router":"5.3.0-rc.0","@storybook/theming":"5.3.0-rc.0","@storybook/components":"5.3.0-rc.0","@storybook/core-events":"5.3.0-rc.0","@storybook/client-logger":"5.3.0-rc.0"},"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.0_1576745814538_0.1872133977282182","host":"s3://npm-registry-packages"},"_id":"@storybook/addon-notes@5.3.0-rc.0","version":"5.3.0-rc.0"}