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

Docs/update button component props #24013

Merged

Conversation

mateuswetah
Copy link
Contributor

Description

Added missing props to the Button component props list, such as className, target, icon, showTooltip and others related. Also, shows the props list more alike how it is done in other components: a list instead of a table.

Types of changes

Documentation improvements

mateuswetah and others added 11 commits July 13, 2020 14:48
Elaborates more on ToolbarComponent information, mentioning its accessibility features.

Co-authored-by: Daniel Richards <daniel.p.richards@gmail.com>
Proper documentation links on ToolbarButton page.

Co-authored-by: Marcus Kazmierczak <marcus@mkaz.com>
Proper links usage on ToolbarButton documentation page.

Co-authored-by: Marcus Kazmierczak <marcus@mkaz.com>
Proper links usage on ToolbarButton documentation page.

Co-authored-by: Marcus Kazmierczak <marcus@mkaz.com>
Proper links usage on ToolbarButton documentation page.

Co-authored-by: Marcus Kazmierczak <marcus@mkaz.com>
Copy link
Contributor

@youknowriad youknowriad left a comment

Choose a reason for hiding this comment

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

Seems like a nice addition, I don't understand why the formatting change is needed though.

- Toolbars
- Modals
- Forms
- Toolbars
Copy link
Contributor

Choose a reason for hiding this comment

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

Why all lists are not formatted differently?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @youknowriad. I am not sure why, but after installing the prettier extension as in here, every time I saved my file the one space that I inserted was converted to two spaces ¬¬'. Is there anything that I should change in my pretter settings?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think it's probably fine because we don't have strong linting checks for markdown. 👍

@youknowriad youknowriad added [Type] Developer Documentation Documentation for developers [Feature] UI Components Impacts or related to the UI component system labels Jul 20, 2020
@youknowriad youknowriad merged commit ba60270 into WordPress:master Jul 20, 2020
@github-actions github-actions bot added this to the Gutenberg 8.6 milestone Jul 20, 2020
@mateuswetah mateuswetah deleted the docs/update-button-component-props branch July 20, 2020 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] UI Components Impacts or related to the UI component system [Type] Developer Documentation Documentation for developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants