{"bugs":{"url":"https://github.com/storybookjs/storybook/issues"},"dist":{"shasum":"1d36d8bf614642f90cfaf3a4d07ac4214e070278","tarball":"https://registry.npmjs.org/@storybook/addon-notes/-/addon-notes-5.2.0-alpha.37.tgz","fileCount":32,"integrity":"sha512-Ggoc/4q8m9kjhxbiy3+8lfHwd5aYW++KYbT3lMpXEjxFa7oplxBJtf3vgW3BkyFLDEBMh609eWnDbfvDwkPRgw==","signatures":[{"sig":"MEUCICxo3bDIrI0N6OsmhxXzbfuNL+2yHeqfLHp/D861f1hOAiEA+dEysQMS6Gw+XB8PtChvX/xadVlt/weZ9INfVeKUo78=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":202208,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdItAbCRA9TVsSAnZWagAAB7cQAI6fG1R1KuMVd6/3HvtW\np0ONWXObsPr37SLqKC+aulUiW+9by0sEHQjH/83yKAmjU5qenTVk+gGyyLRB\nASpuffIRA3mP8hLjKuNldUwF6+rz8pgRHiF3rUrCXx3hkB45tg91v8xMY5gR\n8fFjbcMBfuzl9cKUN/0KFagZIOpxdSe6vkMSFOJBYX9ZDYLBCP2ULaIPaT/I\nBX9wybcP7zqiKhmcWxBP4mizDckehWSuFLq8jPRtcOUje6jjDo6em1HBXLQN\nxXGK/25HtjA4Ggk20xADrvMKsrnxPlaz+cXShQn3jjSxaY0d8mVGZmuYDQiC\nKxpCnRRPPPntf6t0yFYDSNSgoBgWC43UBRh7J4AL9mGtJ0qPm0S9NHcth8Zb\nc5fsexJVLup+a/YC+uO5kkDQj5liiLPco01gmj/qEJORlllBYRVBb43YT6Xp\nofxogs2D5a/+VuZl24nxA+oie/gAtWjhZsmj85sFpAXrmAPSXdyvZAZoINc7\nAjB5K+CSPdj+vjmflR3Rh2ap03Kot2UmJAZUnCI6b/swjyPEG2zlfQ5X5nUM\n29HyJ1lKDXTmZpJ0xeB8ZhI1EgKCsVqwchh4zHUBNb1/gNZvRtFpZ8i9T3ms\ndKW1Q5rMm6iYAJwe97yXlG5Cmcz6j3gUEp4YuEnBqfCiAHzOGtMZC3LNNAT4\ngdqa\r\n=Pq+u\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: 'A very simple 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: 'A very simple 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: 'A very simple 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":"8d82c6a62b4cb827f759e292f053f2d8cdf428fe","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.14.1/node@v8.16.0+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":"8.16.0","dependencies":{"global":"^4.3.2","core-js":"^3.0.1","prop-types":"^15.7.2","memoizerific":"^1.11.3","@storybook/api":"5.2.0-alpha.37","util-deprecate":"^1.0.2","markdown-to-jsx":"^6.9.3","@storybook/addons":"5.2.0-alpha.37","@storybook/router":"5.2.0-alpha.37","@storybook/theming":"5.2.0-alpha.37","@storybook/components":"5.2.0-alpha.37","@storybook/core-events":"5.2.0-alpha.37","@storybook/client-logger":"5.2.0-alpha.37"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@types/prop-types":"^15.5.9","@types/webpack-env":"^1.13.7","@types/util-deprecate":"^1.0.0"},"peerDependencies":{"react":"*"},"_npmOperationalInternal":{"tmp":"tmp/addon-notes_5.2.0-alpha.37_1562562586785_0.8251545615246225","host":"s3://npm-registry-packages"},"_id":"@storybook/addon-notes@5.2.0-alpha.37","version":"5.2.0-alpha.37"}