- Fixes compatibility with Storybook 6.1.21 by updating all dependencies #42
- All updates are minor and patch versions, but since the Storybook deps have been updated to 6.1.21 it is not guaranteed that this addon will work with previous versions of Storybook.
- Add ability to show line numbers and disable line-wrapping. See Readme for example.
N/A
- Allow root element to be overridden using the
root
parameter. See Readme for example.
Thank you @savgrace for contributing 👏
N/A
- Security update for
ini
package.
- Show error message when trying to use framework-specific module, e.g.
@whitespace/storybook-addon-html/react
. It should now be simply@whitespace/storybook-addon-html
.
- Add support for all frameworks 🎂
- Add preset support 🍰
- Use
@whitespace/storybook-addon-html
instead of the framework-specific modules like@whitespace/storybook-addon-html/react
. - Remove the decorator in .storybook/preview.js. This is handled by the preset.
- Update dependencies, including new major version of React Syntax Highlighter.
- Fix issue with react-syntax-highlighter by downgrading it from 13.x to 12.x.
- Add support for Storybook 6
- Restructure repository structure and add Yarn workspaces
- Fix: Pin “Copy” button to bottom of panel
- Fix: Ensure code is shown on first render
Note: Previous versions of Storybook are no longer compatible with this addon. Stay on 1.x if you’re still using Storybook 5.
Thank you @alexlafroscia for contributing 🎉