{"bugs":{"url":"https://github.com/storybookjs/storybook/issues"},"dist":{"shasum":"92265f7c3bdbe5868fb51f835cbf56bb2a63e547","tarball":"https://registry.npmjs.org/@storybook/addon-notes/-/addon-notes-6.0.0-alpha.0.tgz","fileCount":21,"integrity":"sha512-AMNHBeDfEY8ZVShTHtDPVlLW6tTRMNVz2IvfI+oF2fe/0tshBA60F9CUy7W7jhAqETY4a6Mqkfhy9F0Ke+TYFw==","signatures":[{"sig":"MEUCIQD7WI7aTs0xCbOfHVhnO81YZZqmgXzu7+xewnlyHFSmtgIgFdqC1jVDDnfXJX7jppyUImNBXIcUeGGbaDsfcaLQn/c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":124453,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeJwmfCRA9TVsSAnZWagAAfmEP/24BXZqvDNeXix+MSySI\nRIMOhzEp6ODm2heUO9QYvHQOhDoOK7Y6F2H9vCUyx8n4KaTXdrIdb2UARcG1\niF6dGUfQNxPBpTUBhBMOZ+WSSMLVfJv+OUX65nRSWCQtVgn9lm6Jq8KcxX3P\nUZic5ZikCvTx45UF1IhchCeE/ydPWdS96EydV0kCU2xP1XtgbXBz+aG8P4V1\nBKB0oWQBKgaQU8z23ZJ6m92SILYq10Kyc0l2aN/7LI3/SVF8QNMJJSwYPkYT\n4Ru2TOeeBB14bOwSU2ZqQkcPqv1t2O3ddUJpo1ZHU8AvfyobI8TPsBU0lWZp\nHc89bNiN2duxBi3KK4QPoxgjvC0ys3DHBva+UD0/QAITfEG7T6YSsOIBHjue\n4l1l1+LHdFqnMFJtBkmkOyEW+g/nNzXgu2wTvWVjhE1wOuSxRDo/HyrPklik\nrExwoYp/jTDjH5bp2s1aghM9u9yuXNJnwoQ58lUfKp20ReseqW70GjproBTb\nck8Ha3S29fHMRqqwfrKgKIu4O0KrEG+okswY6dE/u9apA8IUCQIYGhxTbj6F\nVG12CzBhjcbSnNPKk3sVdHpWohOC15MlBbPfhUWzrltW10dMy50kz4kIGlyD\nKNw3V6v2TZjZIpryXve9mZdAnlAIYdmAC6UfTt/a7nKsfL3WwC7REvdF+TAK\nI2ug\r\n=AJOS\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### Upgrading to CSF Format\n\nAdd `notes` to the `parameters` object:\n\n```js\nexport default {\n  parameters: {\n    notes: 'My notes',\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":"0cccdabb536469fb0bfce9e59ee70d4fe39881a9","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":"6.0.0-alpha.0","util-deprecate":"^1.0.2","markdown-to-jsx":"^6.10.3","@storybook/addons":"6.0.0-alpha.0","@storybook/router":"6.0.0-alpha.0","@storybook/theming":"6.0.0-alpha.0","@storybook/components":"6.0.0-alpha.0","@storybook/core-events":"6.0.0-alpha.0","@storybook/client-logger":"6.0.0-alpha.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@types/prop-types":"^15.5.9","@types/webpack-env":"^1.15.0","@types/util-deprecate":"^1.0.0"},"peerDependencies":{"react":"*"},"_npmOperationalInternal":{"tmp":"tmp/addon-notes_6.0.0-alpha.0_1579616671062_0.9503921821783368","host":"s3://npm-registry-packages"},"_id":"@storybook/addon-notes@6.0.0-alpha.0","version":"6.0.0-alpha.0"}