Skip to content

Storybook: Add stories for the panel-color-settings Component#68127

Open
SainathPoojary wants to merge 4 commits intoWordPress:trunkfrom
SainathPoojary:storybook/panel-color-settings
Open

Storybook: Add stories for the panel-color-settings Component#68127
SainathPoojary wants to merge 4 commits intoWordPress:trunkfrom
SainathPoojary:storybook/panel-color-settings

Conversation

@SainathPoojary
Copy link
Contributor

@SainathPoojary SainathPoojary commented Dec 19, 2024

Part of #67165

What?

This PR adds a Storybook story for the PanelColorSettings component in the block editor, along with JSDoc addition and some adjustments to the README.

Testing Instructions

  • Start Storybook by running npm run storybook:dev
  • Open Storybook at http://localhost:50240/
  • Navigate to "BlockEditor/PanelColorSettings" in the Storybook sidebar
  • Test the stories

Screenshots or screencast

2024-12-20.09-58-15.mp4

@github-actions
Copy link

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: SainathPoojary <sainathpoojary@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@Mamaduka Mamaduka added [Type] Developer Documentation Documentation for developers Storybook Storybook and its stories for components labels Jan 13, 2025
- Improved prop descriptions in README.md for clarity.
- Added JSDoc for PanelColorSettings props
- Added detailed controls for props with descriptions and types.
- Enhanced Default story with examples for Background, Text, and Link colors.
@SainathPoojary SainathPoojary force-pushed the storybook/panel-color-settings branch from 804bb18 to 7e0561d Compare January 30, 2025 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Storybook Storybook and its stories for components [Type] Developer Documentation Documentation for developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants