Skip to content

Releases: JeremyRH/storybook-addon-code-editor

v3.2.0

13 Dec 21:50
Compare
Choose a tag to compare

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

01 Jul 17:01
Compare
Choose a tag to compare

3.1.0 (2024-07-01)

Features

  • add editor options and wrapping component prop (5d47fd8)

Bug Fixes

v3.0.3

25 Jun 03:36
Compare
Choose a tag to compare

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

24 Jun 18:13
Compare
Choose a tag to compare

3.0.2 (2024-06-24)

Bug Fixes

  • iframed storybook sites fail due to window.top access (02f8255)

v3.0.1

12 Jun 01:15
Compare
Choose a tag to compare

3.0.1 (2024-06-12)

Bug Fixes

  • use os path separator for windows support (bb2d73a)

v3.0.0

17 May 08:14
Compare
Choose a tag to compare

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

15 May 03:46
Compare
Choose a tag to compare

2.2.2 (2024-05-15)

Bug Fixes

v2.2.1

13 Feb 01:54
Compare
Choose a tag to compare

2.2.1 (2024-02-13)

Bug Fixes

  • make getStaticDirs work with yarn zero installs (0daab18)

v2.2.0

14 Jun 04:23
Compare
Choose a tag to compare

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

04 Apr 21:25
Compare
Choose a tag to compare

2.1.0 (2023-04-04)

Features

  • Playground: add id to persist code changes until page reload (4a8ae8f)