Releases: JeremyRH/storybook-addon-code-editor
Releases · JeremyRH/storybook-addon-code-editor
v3.2.0
3.2.0 (2024-12-13)
Features
Bug Fixes
- combine post-build scripts (8ba7432)
- Node 22.12 error with cjs imports (6c8719c)
- remove top-level getStaticDirs and only rely on package.json exports (31dc7a4)
v3.1.0
3.1.0 (2024-07-01)
Features
- add editor options and wrapping component prop (5d47fd8)
Bug Fixes
v3.0.3
3.0.3 (2024-06-25)
Bug Fixes
- only use window.parent and fall back to window to prevent manager from throwing (cc48522)
v3.0.2
3.0.2 (2024-06-24)
Bug Fixes
- iframed storybook sites fail due to window.top access (02f8255)
v3.0.1
3.0.1 (2024-06-12)
Bug Fixes
- use os path separator for windows support (bb2d73a)
v3.0.0
3.0.0 (2024-05-17)
⚠ BREAKING CHANGES
- Update to storybook 8
- Drop support for StoryBook version 6 & 7.
- Drop support for React 16. Use react/jsx-runtime for jsx.
createLiveEditStory
changed to accept all story fields.
// Before:
export const StoryA = createLiveEditStory({ code: StoryASource });
// Had to mutate the Story
StoryA.args = { foo: 'foo' };
// After:
export const StoryA = createLiveEditStory({
code: StoryASource,
args: { foo: 'foo' },
});
- Remove automatic configuration for webpack.
- MDX updated, some breaking changes.
- Update TypeScript which may cause breaking changes in types.
- Add package.json "exports" and "type: module".
Features
Bug Fixes
v2.2.2
2.2.2 (2024-05-15)
Bug Fixes
v2.2.1
2.2.1 (2024-02-13)
Bug Fixes
- make getStaticDirs work with yarn zero installs (0daab18)
v2.2.0
2.2.0 (2023-06-14)
Features
Bug Fixes
- detect react import default and named (bed3329)
- resolve package location without require.resolve (b097d3f)
v2.1.0
2.1.0 (2023-04-04)
Features
- Playground: add id to persist code changes until page reload (4a8ae8f)