react-native

πŸ““ Storybook for React Native!

MIT License

Downloads
3.2M
Stars
957
Committers
1.1K

Bot releases are visible (Hide)

react-native - v5.3.27

Published by dannyhw almost 2 years ago

  • fix: deprecated dimensions remove listener removed

Full Changelog: https://github.com/storybookjs/react-native/compare/v5.3.26...v5.3.27

react-native - v6.0.1-beta.8

Published by dannyhw about 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/storybookjs/react-native/compare/v6.0.1-beta.7...v6.0.1-beta.8

react-native - v6.0.1-beta.7

Published by dannyhw over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/storybookjs/react-native/compare/v6.0.1-beta.5...v6.0.1-beta.7

react-native - v5.3.26

Published by dannyhw over 2 years ago

note: only notes and knobs were updated in this release so there is no new version of storybook/react-native and instead only for those two packages.

What's Changed

New Contributors

Full Changelog: https://github.com/storybookjs/react-native/compare/v5.3.25...v5.3.26

react-native - v5.3.26-alpha.0

Published by dannyhw over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/storybookjs/react-native/compare/v5.3.25...v5.3.26-alpha.0

react-native - 6.0.1-beta.5

Published by dannyhw over 2 years ago

  • Story navigator now more closely matches web design (#326)
  • The Number range control now shows the current value (#336)
react-native - v6.0.1-beta.1

Published by dannyhw over 2 years ago

Feature

  • export preview for extendability (#312)

Fixes

  • should persist selection by default (#311)
  • better web controls (#322)

Breaking change

radios is now radio to better match the web

  • fixed inconsistent control type for 'radio' (#309)
react-native - v6.0.1-alpha.5

Published by dannyhw about 3 years ago

Features

  • you can now specify a config location and you can change the folder name #278
    • note that this folder should still contain all the same files
    • β€”absolute option will use absolute imports in the requires.js file
    • paths in general should work better with the watcher and get stories script
  • choosing an initial selection is now easier and is correctly typed #274

Breaking changes (since previous alpha):

  • In main.js stories are relative from the config directory and no longer add "../", this should fix absolute paths and other bugs #278
  • make sure to update your paths if you were using v6.0.1-alpha.3
  • sbn-get-stories and sbn-watcher are now sb-rn-get-stories and sb-rn-watcher so make sure to update these if you were using v6.0.1-alpha.3
  • @react-native-async-storage/async-storage is now a peer dependency and is required
  • AsyncStorage is no longer needed as an option to getStorybookUI
react-native - v6.0.1-alpha.3

Published by dannyhw about 3 years ago

  • Build now targets ES6 so that the ondeviceUI works out of the box on react-native-web 251
react-native - v6.0.1-alpha.2

Published by dannyhw about 3 years ago

  • moved storybook.requires and storybook.tsx to .storybook/ 252
  • fix for action appearing as invalid control 246
  • Improve the message shown on the Controls tab when the story has no controls configured. 254
  • fix(scripts): reduce watcher updates and fix small path bug 261
react-native - v6.0.1-alpha.1

Published by dannyhw about 3 years ago

fixes:

  • #237 adding util dependency
react-native - v6.0.1-alpha.0

Published by dannyhw over 3 years ago

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

react-native - v5.3.25

Published by dannyhw over 3 years ago

Includes a fallback for when theme values fail

react-native - v5.3.24

Published by dannyhw over 3 years ago

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
react-native -

Published by dannyhw almost 4 years ago

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)
react-native -

Published by dannyhw about 4 years ago

Updated links on npm and docs for react native package

react-native -

Published by dannyhw about 4 years ago

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