@storybook/client-api
Storybook Client API
Last updated 4 years ago by shilman .
MIT · Repository · Bugs · Original npm
$ cnpm install @storybook/client-api 
SYNC missed versions from official npm registry.

@storybook/client-api -- Deprecated Story APIs (storiesOf)

NOTE This API is deprecated, and the CSF format is preferred for all stories.

storiesOf API

The @storybook/client API provides the storiesOf() API, which is proxied through to the CSF API.

Internals

In order to appear to the store like the CSF API, a call to storiesOf().add() does the following:

  • Tracks the story added in a synthetic StoryIndex data structure
  • Constructs a moduleExports object that is equivalent to the exports from a CSF file that produced the same stories.

In order to achieve the old storySort functionality, the client API also needs access to the project annotations.

Current Tags

  • 7.1.0-alpha.29                                ...           future (2 years ago)
  • 7.0.26                                ...           latest (2 years ago)
  • 7.1.0-beta.0                                ...           next (2 years ago)
  • 6.5.17-alpha.0                                ...           prerelease (2 years ago)

37 Versions

  • 7.0.0-alpha.10                                ...           3 years ago
  • 6.5.17-alpha.0                                ...           2 years ago
  • 7.1.0-beta.0                                ...           2 years ago
  • 7.0.26                                ...           2 years ago
  • 7.1.0-alpha.29                                ...           2 years ago
  • 6.5.16                                ...           3 years ago
  • 6.5.9-alpha.2                                ...           3 years ago
  • 6.5.9                                ...           3 years ago
  • 7.0.0-alpha.2                                ...           3 years ago
  • 6.4.0-alpha.27                                ...           4 years ago
  • 6.5.5-alpha.3                                ...           3 years ago
  • 6.5.0-rc.1                                ...           3 years ago
  • 6.5.5                                ...           3 years ago
  • 6.5.0-beta.8                                ...           3 years ago
  • 6.4.22                                ...           3 years ago
  • 6.5.0-alpha.38                                ...           4 years ago
  • 6.4.18                                ...           4 years ago
  • 6.5.0-alpha.23                                ...           4 years ago
  • 6.4.14                                ...           4 years ago
  • 6.5.0-alpha.18                                ...           4 years ago
  • 6.4.13                                ...           4 years ago
  • 6.4.12                                ...           4 years ago
  • 6.4.0-beta.0                                ...           4 years ago
  • 6.4.0-alpha.34                                ...           4 years ago
  • 6.3.8                                ...           4 years ago
  • 6.4.0-alpha.30                                ...           4 years ago
  • 6.3.7                                ...           4 years ago
  • 6.2.0-alpha.10                                ...           5 years ago
  • 6.0.28-alpha.3                                ...           5 years ago
  • 6.1.11                                ...           5 years ago
  • 5.3.21                                ...           5 years ago
  • 6.1.0-alpha.9                                ...           5 years ago
  • 6.1.0-alpha.3                                ...           5 years ago
  • 6.0.21                                ...           5 years ago
  • 5.3.19                                ...           5 years ago
  • 6.0.0-beta.27                                ...           5 years ago
  • 5.3.18                                ...           5 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (20)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org