Skip to content

Releases: sm-react/storybook-chapters

Security update

12 Apr 19:24
Compare
Choose a tag to compare

0.6.3

31 Jan 20:09
Compare
Choose a tag to compare

Move @storybook/addons to peerDependencies

fixes storybookjs/storybook#1981

Deprecation warning

03 Jul 20:49
Compare
Choose a tag to compare
0.4.1

Deprecation warning

0.6.0

12 Jun 21:53
Compare
Choose a tag to compare

New API added:

jumpTo

jumps to other stories. linkTo analog for chapters

.bookmark

puts bookmark and returns the functions for jumping to it

.bookmarkList

shows all bookmarks

see docs

v0.5.1 Storybook v3 compatible

12 Jun 21:46
Compare
Choose a tag to compare
Shift to Storybook v3

v0.5 @storybook/addon-chapters

23 May 18:38
Compare
Choose a tag to compare

Migrated to @storybook/addon-chapters on npm
#4

v0.4 Query string support

17 May 16:17
Compare
Choose a tag to compare

Added support for Storybook query params:

selectedKind - to select a chapter
selectedStory - to select a story

It means that when you refreshing the page you'll stick with the current chapter/story and you can store the links for pointing to the needed place in your storybook. It's the same behavior as in normal Storybook.

example

to enable this option you need to register this addon:

//addons.js:

import 'storybook-chapters/register';

0.3.0

06 May 14:28
Compare
Choose a tag to compare
  • added .addChapter API according to #1

  • code refactoring

2.0

20 Mar 09:45
Compare
Choose a tag to compare
2.0 Pre-release
Pre-release
Merge branch 'pre-release'

v0.2.1

20 Mar 10:08
Compare
Choose a tag to compare

enable/disable API

add enable/disable to hide/show stories. Allows to buid custom navigation logic.

  • Minor improvements

  • fixed minor bugs