{"bugs":{"url":"https://github.com/storybookjs/storybook/issues"},"dist":{"shasum":"6942e1c42f2edf076db5a10802ba66a44d22a7b6","tarball":"https://registry.npmjs.org/@storybook/addon-notes/-/addon-notes-5.3.0-alpha.24.tgz","fileCount":21,"integrity":"sha512-FmwUZE1S6j5nEnZ0Y2Zux/yYgGX0fyJ102gUQXH6U2KBxJLVz8aeHRR2TT7nYxJKteYukk2O1Ibh3AbtFPIgRw==","signatures":[{"sig":"MEUCIQCbmK4e64o4GSaNTF+tveD5YMls5hz+R5VbGZwHNyhyrQIgYPZJRENsvb8U82QihgoIpWi2zczo79ubucnRxfahvlY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":189700,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdrmNOCRA9TVsSAnZWagAAKzEP/iPVv2HYIw80u6ABk0jR\np1NYRZu1QlEOKbfMYhtewGsnym7dqQO60ao4De5Kb5d15ljO0xOr+qbDH69f\nzmNRnY4O0Jqa+1sEOOQJfVuFqJe4grHfYGIjcDs9IBMqLrpAc/pRJGhunAnV\nB2K0Tct/zN2GMUzEOaSfrP0emwXpPt6imqvPYj6X7EQ0h/FB53OGh6z0n/wH\nhzF141tMyiRl2snYBZc1qmWoY14YDpqQ7wT0XXmDl3wtg/SMRAlJZNIO7kvP\n2NBJXDRwfnAhzP2h1HyBqHwzVsC/jNdbXlTmnB20ZY6gxtZO4+DgFo1szn4/\npKJQm+L1RLX1zJzolmWkgsrQYzKUo81RGa/ABLQO184+6YvaSK4VQLHj8o+t\nnSbSP+2Iq0Hto8nujFRLSMjQrIFlVJjQZHwfacg0Cgf6KdgPmeOB1aU+sipq\n6du++vCoJWjEEtBBl3FQwBAM6ZGrK5hq2BWiSS/cKiYYsI/BFAl/qU0G/2qZ\nltPo1qTqMGeOdIPXCw5m4DzUII+mcki1F86dtxPF444kn0dZbqLYF7Pb0rM/\n4WprduYyW5Ad5xZV4xcDVwY79RsfTPiPprFsIe/g2m9cbbgBapSZ9LHJIUeY\npW0dJKuAddVVlmZqP/RQZqKguqCHw6ETSDVZopZMtM8YcklGtsjPld17AAl0\nDvBe\r\n=MH6Q\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\nThen create a file called `addons.js` in your Storybook config.\n\nAdd following content to it:\n\n```js\n// register the notes addon as a tab\nimport '@storybook/addon-notes/register';\n// or register the notes addon as a panel. Only one can be used!\nimport '@storybook/addon-notes/register-panel';\n```\n\nNow, you can use the `notes` parameter to add a note to each story.\n\n### With React\n\n```js\nimport { storiesOf } from '@storybook/react';\n\nimport Component from './Component';\n\nstoriesOf('Component', module).add('with some emoji', () => <Component />, {\n  notes: 'An example of addon notes',\n});\n```\n\n### With Vue\n\n```js\nimport { storiesOf } from '@storybook/vue';\n\nimport MyButton from './MyButton.vue';\n\nstoriesOf('MyButton', module).add(\n  'with some emoji',\n  () => ({\n    components: { MyButton },\n    template: '<my-button>😀 😎 👍 💯</my-button>',\n  }),\n  {\n    notes: 'An example of addon notes',\n  }\n);\n```\n\n### With Angular\n\n```js\nimport { storiesOf } from '@storybook/vue';\n\nimport { ButtonComponent } from './button.component';\n\nstoriesOf('Button', module).add(\n  'with some emoji',\n  () => ({\n    component: ButtonComponent,\n    props: {\n      text: '😀 😎 👍 💯'\n    }\n  }),\n  {\n    notes: 'An  example of addon 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 { storiesOf } from '@storybook/react';\nimport Component from './Component';\nimport markdownNotes from './someMarkdownText.md';\n\nstoriesOf('Component', module).add('With Markdown', () => <Component />, {\n  notes: { markdown: markdownNotes },\n});\n```\n\n## Giphy\n\nWhen using Markdown, you can also embed gifs from Giphy into your Markdown. Currently, the value `gif` of the gif prop is used to search and return the first result returned by Giphy.\n\n```md\n# Title\n\n<Giphy gif='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';\nimport intro from './intro.md';\nimport design from './design.md';\n\nstoriesOf('Component', module).add('With Markdown', () => <Component />, {\n  notes: { Introduction: intro, 'Design Notes': design },\n});\n```\n","gitHead":"4ffcd90c08c46c1ee6d9217ebbe03153e89fa446","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.16.4/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":"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-alpha.24","util-deprecate":"^1.0.2","markdown-to-jsx":"^6.10.3","@storybook/addons":"5.3.0-alpha.24","@storybook/router":"5.3.0-alpha.24","@storybook/theming":"5.3.0-alpha.24","@storybook/components":"5.3.0-alpha.24","@storybook/core-events":"5.3.0-alpha.24","@storybook/client-logger":"5.3.0-alpha.24"},"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-alpha.24_1571709773350_0.17082533715252257","host":"s3://npm-registry-packages"},"_id":"@storybook/addon-notes@5.3.0-alpha.24","version":"5.3.0-alpha.24"}