Sage / carbon

Carbon by Sage | ReactJS UI Component Library
https://carbon.sage.com
Apache License 2.0
278 stars 85 forks source link

Select list width #6991

Closed edleeks87 closed 1 month ago

edleeks87 commented 1 month ago

fix #6861

Proposed behaviour

Removes left and right options from listPlacement type, only top and bottom remain supported

BREAKING CHANGE: listPlacement prop only supports top and bottom now

Adds support for overriding the list width via listWidth prop. Adds support for placing list at top-start, top-end, bottom-start and botton-end. When top or bottom is passed to listPlacement it will internally append -end to it.

image

image

Current behaviour

listPlacement supports left and right no support for listWidth

Checklist

QA

Additional context

Testing instructions

carbonci commented 1 month ago

:tada: This PR is included in version 143.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: