Git Product home page Git Product logo

Comments (6)

JoshRobertson avatar JoshRobertson commented on May 10, 2024 2

@pocka can there be an update to the peer dependencies to support storybook ^5.0.0 || ^6.0.0 to remove the warnings when installing with Storybook 6?

warning " > [email protected]" has incorrect peer dependency "@storybook/addons@^5.0.0".
warning " > [email protected]" has incorrect peer dependency "@storybook/components@^5.0.0".
warning " > [email protected]" has incorrect peer dependency "@storybook/theming@^5.0.0".

from addon-designs.

pocka avatar pocka commented on May 10, 2024 2

@JoshRobertson Thank you for pointing out!

I've just published v5.4.2 that uses ^5.0.0 || ^6.0.0 query for the Storybook modules in peerDependencies.

from addon-designs.

pocka avatar pocka commented on May 10, 2024 1

Yes, as described in README, this addon works with Storybook v5.0.0 and later.

If you encounter a bug, please file an issue with versions of Storybook and the addon you're using.
Since there are no issue templates yet, these would be helpful:

  • Versions
    • @storybook/<framework>
    • storybook-addon-designs
    • Other addons if needed
  • Reproduction repository (CodeSandbox is okay too) or Configuration
  • Is there an error OR the addon does not appear without any errors?

from addon-designs.

schonarth avatar schonarth commented on May 10, 2024 1

I got it. Had to change the myStory.story = { parameters: { ... for the Basic.parameters = { ... syntax. Then it worked.

Thanks!

from addon-designs.

schonarth avatar schonarth commented on May 10, 2024

I just waited to install the addon after upgrading Storybook, and now it won't work. I'm not sure if I'm doing something wrong or if it isn't compatible.

from addon-designs.

pocka avatar pocka commented on May 10, 2024

Ah, I missed that! I'll update README and docs later.

from addon-designs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.