Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(layer/dropdown/combo-box): update stories to Storybook v7 #11318

Conversation

IgnacioBecerra
Copy link
Contributor

Related Ticket(s)

Closes #11302 #11303 #11300

Description

This PR updates the stories of:

  • Layer
  • Dropdown
  • Combo-box

As well as including with-layer helper component to be included in the preview.js file for Storybook configs.

Changelog

Changed

  • layer, dropdown, and combo-box stories to storybook v7

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Jan 4, 2024

Copy link
Contributor

@m4olivei m4olivei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lots of small things. My intent here is to get on the same page so we have consistency across the components, since we're going through them all anyway. Sorry for the noise.

Copy link
Member

@kennylam kennylam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kennylam
Copy link
Member

kennylam commented Jan 8, 2024

@m4olivei Thanks for the thorough review. Completely agree on consistency across stories. Let me see if I can get the changes from #11248 into this branch to catch linter issues during commit.

Copy link
Contributor

@m4olivei m4olivei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great!

Would especially be nice to get this one in, b/c many stories depend on the <cds-layer> component. For instance @RichKummer and I noticed there were issues with the layers in #11312.

@m4olivei
Copy link
Contributor

m4olivei commented Jan 8, 2024

This looks great!

Would especially be nice to get this one in, b/c many stories depend on the <cds-layer> component. For instance @RichKummer and I noticed there were issues with the layers in #11312.

Scratch this. I was misunderstanding what was needed in other component stories to get layer's fully functioning. There were missing imports in some *.stories.ts files.

@kennylam kennylam merged commit 638da9b into carbon-design-system:feat/cwc-storybook-7-vite Jan 10, 2024
5 of 12 checks passed
kennylam added a commit to kennylam/carbon-for-ibm-dotcom that referenced this pull request Jun 11, 2024
…n-design-system#11318)

* feat(layer): updated to v7

* feat(dropdown): update story

* feat(combo-box): update to v7

* fix(stories): addressed feedback

* fix(markdown): replaced description

---------

Co-authored-by: kennylam <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants