carbon-design-system / ibm-products

A Carbon-powered React component library for IBM Products
https://carbon-for-ibm-products.netlify.app/
Apache License 2.0
88 stars 126 forks source link

Sidepanel actions prop -> size prop does not change the size of the button #5538

Open CiaraGalvin1999 opened 2 weeks ago

CiaraGalvin1999 commented 2 weeks ago

Package

Carbon for IBM Products

Description

The button in a sidepanel always remains XL even if set to a different value. Should be able to customize button size

Component(s) impacted

Sidepanel

Example: Button size set to sm but button is still xl

Screenshot 2024-06-19 at 09 57 54 Screenshot 2024-06-19 at 09 58 13

Browser

Chrome

@carbon/ibm-products (previously @carbon/ibm-cloud-cognitive) version

2.21.0

Severity

Severity 4 = The problem is not visible to or noticeable to an average user. Affects minor functionality, no workaround needed.

Product/offering

SOAR

CodeSandbox or Stackblitz example

https://stackblitz.com/edit/github-g8vnkr?file=src%2FExample%2FExample.jsx

Steps to reproduce the issue (if applicable)

No response

Release date (if applicable)

No response

Code of Conduct

elycheea commented 2 weeks ago

Based on the design guidance under Button size^1, we should at a minimum support sizes lg (48px) and xl (64px).