Skip to content

Commit

Permalink
feat(select): select reworked
Browse files Browse the repository at this point in the history
* enabled controlled and uncontrolled select
* enables native select usage
* keyboard controls and a11y

BREAKING CHANGE: API change: 'options' instead of 'items' and 'menuMaxHeight' instead of 'height' prop

Co-authored-by: Emily Kolar <emkolar@gmail.com>
  • Loading branch information
arturbien and sheminusminus committed Apr 6, 2020
1 parent 0228213 commit 22586da
Show file tree
Hide file tree
Showing 12 changed files with 1,430 additions and 236 deletions.
3 changes: 3 additions & 0 deletions src/components/Button/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ const commonButtonStyles = css`
height: 100%;
width: 100%;
}
&:not(:disabled) {
cursor: pointer;
}
`;

export const StyledButton = styled.button`
Expand Down
Loading

0 comments on commit 22586da

Please sign in to comment.