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(icon-button): update story to Storybook v7 #11387

Conversation

m4olivei
Copy link
Contributor

@m4olivei m4olivei commented Jan 10, 2024

Related Ticket(s)

Closes #11386

Description

Adjustments to icon-button component stories to be compatible with Storybook v7.

Changelog

Changed

  • Updated icon-button Storybook stories for Storybook v7
  • Adding missing controls for closeOnActivation, isSelected, and kind
  • Set the default for defaultOpen to true to align with React
  • Renamed tooltip-content control to label to align with React

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Jan 10, 2024

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 kennylam merged commit 4c81038 into carbon-design-system:feat/cwc-storybook-7-vite Jan 11, 2024
7 of 13 checks passed
kennylam added a commit to kennylam/carbon-for-ibm-dotcom that referenced this pull request Jun 11, 2024
…#11387)

* chore(icon-button): update icon-button stories to sb v7

* fix(icon-button): missing default label

Co-authored-by: kennylam <[email protected]>

---------

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.

3 participants