Skip to content

Commit

Permalink
[FX-2646] Restore large size for Select (#4028)
Browse files Browse the repository at this point in the history
* Readd large size to Select

* Add changeset
  • Loading branch information
Augusto Moura authored Nov 28, 2023
1 parent a1ad38f commit a177c79
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .changeset/heavy-seals-sneeze.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@toptal/picasso': patch
'@toptal/picasso-forms': patch
---

### Select

- restore option for `large` size
4 changes: 2 additions & 2 deletions packages/picasso/src/NonNativeSelect/NonNativeSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export const NonNativeSelect = documentable(
</InputAdornment>
}
placeholder={searchPlaceholder}
size={size === 'large' ? 'medium' : size}
size={size}
value={filterOptionsValue}
testIds={testIds}
aria-autocomplete='list'
Expand Down Expand Up @@ -193,7 +193,7 @@ export const NonNativeSelect = documentable(
inputProps={{
size: 1, // let input to have smallest width by default for width:'shrink'
}}
size={size === 'large' ? 'medium' : size}
size={size}
role='textbox'
enableReset={enableReset ? selection.isSelected() : false}
autoComplete={
Expand Down

0 comments on commit a177c79

Please sign in to comment.