Skip to content

Releases: storybookjs/react-native

v6.0.1-alpha.0

18 Jul 17:55
Compare
Choose a tag to compare
v6.0.1-alpha.0 Pre-release
Pre-release

Features

Many of these features come from the web storybook so you can find more info by looking at the storybook documentation.

  • New story format CSF
  • Args
  • Knobs replaced by Controls
  • ondevice addons Notes, actions and backgrounds have all been updated to work for 6.0+
  • New declarative config style
  • Auto story detection built in. Including an optional watcher.
  • Overall simplified implementation

Bug fixes

  • Much less warnings when using controls (knobs replacement) - no longer using deprecated components.
  • Promises no longer break for the entire app when using storybook.
  • Weird storylist bottom margin is now gone

Breaking Changes

  • Knobs are no longer supported, use controls instead
  • storiesOf syntax is no longer recommended and you should move to CSF
  • You now require a main.js and preview.js file to configure storybook.
  • in order to resolve issues with polyfills that caused promises to break and much more you should change your metro config to include
    • resolverMainFields: ['sbmodern', 'main'] in the resolver field

See https://github.com/storybookjs/react-native/blob/next-6.0/v6README.md for a guide to try out this alpha

v5.3.25

21 Feb 21:28
Compare
Choose a tag to compare

Includes a fallback for when theme values fail

v5.3.24

21 Feb 19:40
Compare
Choose a tag to compare

Bug fixes

  • size of radios is inconsistent with other knobs (#118)
  • type annotation for storiesOf method (#124)
  • ondevice select knob undefined value causes key error (#111)
  • reset groupId in selectStory handler (#137)
  • fix for status bar covering stories on android+expo (#88)
  • on device knobs - number knob will convert a coma to a dot (#136)Β 
  • some minor ui fixes

v5.3.24-alpha.0

22 Nov 15:10
Compare
Choose a tag to compare
v5.3.24-alpha.0 Pre-release
Pre-release

Bug Fixes

  • size of radios is inconsistent with other knobs (#118)
  • type annotation for storiesOf method (#124)
  • ondevice select knob undefined value causes key error (#111)
  • reset groupId in selectStory handler (#137)

v5.3.23

25 Sep 22:51
Compare
Choose a tag to compare

Updated links on npm and docs for react native package

v5.3.22

25 Sep 22:49
Compare
Choose a tag to compare

Bug Fixes

  • server addons and update all dependencies to use storybook 5.3.20 #100
  • color picker will no longer crash the app #85
  • boolean knob no longer throws a warning #70
  • modal selector no longer causes the app to freeze/crash #74

Features

  • radios knob type added #83