Displays associated JSON Schema documentation using a rich schema explorer interface, and adds a validating JSON Code Editor with semantic auto-complete to interact with your components, and copy configurations with ease.
Args are no longer transformed by kickstartDS' pack and unpack helper.
You can restore the old behavior with the new optional parameters fromArgs & toArgs:
(yes, we need to use dynamic imports b/c it seems storybook doesn't support external references in parameters function bodies 🫤)
📦 Published PR as canary version: 3.0.0--canary.24.ce201f4.0
:sparkles: Test out this PR locally via:
```bash
npm install @kickstartds/storybook-addon-jsonschema@3.0.0--canary.24.ce201f4.0
# or
yarn add @kickstartds/storybook-addon-jsonschema@3.0.0--canary.24.ce201f4.0
```
Breaking Change
parameters
shape changed fromto
pack
andunpack
helper.You can restore the old behavior with the new optional parameters
fromArgs
&toArgs
:(yes, we need to use dynamic imports b/c it seems storybook doesn't support external references in parameters function bodies 🫤)
📦 Published PR as canary version:
3.0.0--canary.24.ce201f4.0
:sparkles: Test out this PR locally via: ```bash npm install @kickstartds/storybook-addon-jsonschema@3.0.0--canary.24.ce201f4.0 # or yarn add @kickstartds/storybook-addon-jsonschema@3.0.0--canary.24.ce201f4.0 ```
Version
Published prerelease version:
v3.0.0-next.0
Changelog
#### 💥 Breaking Change - Transform parameter [#24](https://github.com/kickstartDS/storybook-addon-jsonschema/pull/24) ([@lmestel](https://github.com/lmestel)) #### 🚀 Enhancement - Connect validation tab with editor [#23](https://github.com/kickstartDS/storybook-addon-jsonschema/pull/23) ([@lmestel](https://github.com/lmestel)) #### Authors: 1 - Lukas Mestel ([@lmestel](https://github.com/lmestel))