3.0.2 โข Published 9 months ago
@idesigncode/storybook-tools v3.0.2
@idesigncode/storybook-tools
A collection of ESM tools to document component implementation examples in Storybook.
Documentation
Check out the documentation for all examples and configuration details.
Installation
npm i @idesigncode/storybook-tools --save-dev
Features
- โ๏ธ Write functional "example components" for actual use cases of a component.
- ๐ PropsTable: automatically document static & "live-updating" props details.
- ๐ฅ๏ธ Source: output production-ready source code with Raw Imports & Import Path Replacements.
- ๐ DocsContainer: dark mode support for Storybook Docs with storybook-dark-mode.
- ๐ธ Image snapshot testing compatible.
- ๐ Compatible with
MDX
andCSF
stories. - ๐งช Tested with Storybook Test Runner to run User Interaction, DOM & Image Snapshot tests.
Requirements
- See peer dependencies
- The default Webpack builder for Storybook.
- A small amount of configuration for Webpack & the default CSS styles.