Skip to content

Commit

Permalink
replace addon-info with addon-docs
Browse files Browse the repository at this point in the history
apparently `@storybook/addon-info` [is
deprecated](storybookjs/storybook#9673) in favor of
[`@storybook/addon-docs`](https://github.com/storybookjs/storybook/tree/master/addons/docs)
  • Loading branch information
saltycrane committed Apr 7, 2020
1 parent 3e3c0d3 commit efb3369
Show file tree
Hide file tree
Showing 23 changed files with 2,921 additions and 200 deletions.
2 changes: 1 addition & 1 deletion .out/iframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@
}</script><style>#root[hidden],
#docs-root[hidden] {
display: none !important;
}</style></head><body><div class="sb-nopreview sb-wrapper"><div class="sb-nopreview_main"><h1 class="sb-nopreview_heading sb-heading">No Preview</h1><p>Sorry, but you either have no stories or none are selected somehow.</p><ul><li>Please check the Storybook config.</li><li>Try reloading the page.</li></ul><p>If the problem persists, check the browser console, or the terminal you've run Storybook from.</p></div></div><div class="sb-errordisplay sb-wrapper"><pre id="error-message" class="sb-heading"></pre><pre class="sb-errordisplay_code"><code id="error-stack"></code></pre></div><div id="root"></div><div id="docs-root"></div><script src="runtime~main.be5783a1cd4a608e66d1.bundle.js"></script><script src="vendors~main.be5783a1cd4a608e66d1.bundle.js"></script><script src="main.be5783a1cd4a608e66d1.bundle.js"></script></body></html>
}</style></head><body><div class="sb-nopreview sb-wrapper"><div class="sb-nopreview_main"><h1 class="sb-nopreview_heading sb-heading">No Preview</h1><p>Sorry, but you either have no stories or none are selected somehow.</p><ul><li>Please check the Storybook config.</li><li>Try reloading the page.</li></ul><p>If the problem persists, check the browser console, or the terminal you've run Storybook from.</p></div></div><div class="sb-errordisplay sb-wrapper"><pre id="error-message" class="sb-heading"></pre><pre class="sb-errordisplay_code"><code id="error-stack"></code></pre></div><div id="root"></div><div id="docs-root"></div><script src="runtime~main.5150a661bdf3e4f386de.bundle.js"></script><script src="vendors~main.5150a661bdf3e4f386de.bundle.js"></script><script src="main.5150a661bdf3e4f386de.bundle.js"></script></body></html>
2 changes: 1 addition & 1 deletion .out/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
}</script><style>#root[hidden],
#docs-root[hidden] {
display: none !important;
}</style></head><body><div id="root"></div><div id="docs-root"></div><script>window['DOCS_MODE'] = false;</script><script src="runtime~main.411d3c3c7829aaabb366.bundle.js"></script><script src="vendors~main.4dbafb93c30658f805c5.bundle.js"></script><script src="main.7ed520eee32dec9169a9.bundle.js"></script></body></html>
}</style></head><body><div id="root"></div><div id="docs-root"></div><script>window['DOCS_MODE'] = false;</script><script src="runtime~main.411d3c3c7829aaabb366.bundle.js"></script><script src="vendors~main.451002de00caf5017630.bundle.js"></script><script src="main.55bad4228ca109171411.bundle.js"></script></body></html>
2 changes: 2 additions & 0 deletions .out/main.5150a661bdf3e4f386de.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .out/main.5150a661bdf3e4f386de.bundle.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .out/main.55bad4228ca109171411.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion .out/main.7ed520eee32dec9169a9.bundle.js

This file was deleted.

2 changes: 0 additions & 2 deletions .out/main.be5783a1cd4a608e66d1.bundle.js

This file was deleted.

1 change: 0 additions & 1 deletion .out/main.be5783a1cd4a608e66d1.bundle.js.map

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .out/runtime~main.5150a661bdf3e4f386de.bundle.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion .out/runtime~main.be5783a1cd4a608e66d1.bundle.js.map

This file was deleted.

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions .out/vendors~main.5150a661bdf3e4f386de.bundle.js

Large diffs are not rendered by default.

112 changes: 112 additions & 0 deletions .out/vendors~main.5150a661bdf3e4f386de.bundle.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/

/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/

/*!
* https://github.com/es-shims/es5-shim
* @license es5-shim Copyright 2009-2020 by contributors, MIT License
* see https://github.com/es-shims/es5-shim/blob/master/LICENSE
*/

/*!
* https://github.com/paulmillr/es6-shim
* @license es6-shim Copyright 2013-2016 by Paul Miller (http://paulmillr.com)
* and contributors, MIT License
* es6-shim: v0.35.4
* see https://github.com/paulmillr/es6-shim/blob/0.35.3/LICENSE
* Details and documentation:
* https://github.com/paulmillr/es6-shim/
*/

/*!
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/

/*!
* isobject <https://github.com/jonschlinkert/isobject>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/

/**
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/

/** @license React v0.19.1
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v16.13.1
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v16.13.1
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v16.8.6
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**!
* @fileOverview Kickass library to create and place poppers near their reference elements.
* @version 1.16.1
* @license
* Copyright (c) 2016 Federico Zivolo and contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
1 change: 1 addition & 0 deletions .out/vendors~main.5150a661bdf3e4f386de.bundle.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions .out/vendors~main.be5783a1cd4a608e66d1.bundle.js

This file was deleted.

62 changes: 0 additions & 62 deletions .out/vendors~main.be5783a1cd4a608e66d1.bundle.js.LICENSE.txt

This file was deleted.

1 change: 0 additions & 1 deletion .out/vendors~main.be5783a1cd4a608e66d1.bundle.js.map

This file was deleted.

4 changes: 2 additions & 2 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
addons: ["@storybook/preset-typescript"],
stories: ["../src/**/*.stories.[tj]s*"],
addons: ["@storybook/preset-typescript", "@storybook/addon-docs"],
stories: ["../src/**/*.stories.(js|ts|tsx|mdx)"],
};
Loading

0 comments on commit efb3369

Please sign in to comment.