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

WB-1847: Dropdown - Update SelectOpener to match design specs #2422

Closed
wants to merge 7 commits into from
Prev Previous commit
Next Next commit
[dropdown-opener-light-fix] Reorg story layout
Juan Andrade committed Jan 10, 2025
commit 0a073a806cd6b699107e800e2d832a7a6f9af060
Original file line number Diff line number Diff line change
@@ -65,12 +65,12 @@ const KindVariants = ({light}: {light: boolean}) => {
]}
>
<LabelMedium style={light && {color: color.white}}>
Value selected
Disabled
</LabelMedium>
<SingleSelect
{...defaultProps}
selectedValue="1"
light={light}
disabled={true}
>
{selectItems}
</SingleSelect>
@@ -85,12 +85,12 @@ const KindVariants = ({light}: {light: boolean}) => {
]}
>
<LabelMedium style={light && {color: color.white}}>
Disabled
Error
</LabelMedium>
<SingleSelect
{...defaultProps}
light={light}
disabled={true}
error={true}
>
{selectItems}
</SingleSelect>
@@ -105,13 +105,12 @@ const KindVariants = ({light}: {light: boolean}) => {
]}
>
<LabelMedium style={light && {color: color.white}}>
Error
Value selected
</LabelMedium>
<SingleSelect
{...defaultProps}
selectedValue="1"
light={light}
error={true}
// selectedValue="1"
>
{selectItems}
</SingleSelect>