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(NcButton): Add size prop to allow setting the button size to small, normal, large #5767

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Jul 3, 2024

☑️ Resolves

With our new 3 different clickable area sizes we have some places, like the header menu, where we still want to use "large" buttons. So this gives the ability to set the button size to either normal which is the default, large for main actions or small.

🖼️ Screenshots

Bildschirmaufnahme_20240703_133223.webm

🏁 Checklist

  • ⛑️ Tests are included or are not applicable
  • 📘 Component documentation has been extended, updated or is not applicable
  • 3️⃣ Backport to next requested with a Vue 3 upgrade

@susnux susnux added enhancement New feature or request 3. to review Waiting for reviews feature: button labels Jul 3, 2024
@susnux susnux added this to the 8.14.0 milestone Jul 3, 2024
@susnux
Copy link
Contributor Author

susnux commented Jul 3, 2024

/backport to next

…small`, `normal`, `large`

With our new 3 different clickable area sizes we have some places, like the header menu,
where we still want to use "large" buttons. So this gives the ability to set the button
size to either `normal` which is the default, `large` for main actions or `small`.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Copy link
Contributor

@Antreesy Antreesy left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@DorraJaouad DorraJaouad left a comment

Choose a reason for hiding this comment

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

It looks good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews enhancement New feature or request feature: button
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants