Skip to content

Is this package still the source of truth for Storybook's CSF? #120

@JuroOravec

Description

@JuroOravec

I noticed that in Storybook v8.5.5, the ComponentAnnotations type is taken from this package (@storybook/csf), but in Storybook's next branch, the ComponentAnnotations type is already integrated into Storybook's codebase.

I'm not involved in Storybook's community, so I don't know why that was made. But seeing that, my first thought was "Did Storybook integrate it in order to have own flavour of CSF?".

However, comparing the story.ts file, it's the same in both versions.

The reason why I'm asking is because I'm writing Python port of CSF types, to have type hints / intellisense in Python. It seems there's no such thing in python yet, and we were just looking into integrating Storybook with django-components (Vue-like framework for Django).

And so want to know, when I'm writing the Python types, whether to base them based on this repo's definition, or Storybook's own. And thus, whether to use this repo's versioning, or Storybook's, to account for any future changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions