Releases: csandman/chakra-react-select
Releases · csandman/chakra-react-select
1.2.0
Features
- Switch completely over to TypeScript!
- Borrowed tsconfig, eslint settings, and build scripts inspiration from the Chakra UI library
- Add an export for the
<AsyncCreatableSelect />
offered by react-select - Add the
inputId
option manually so that it could be grabbed from a surrounding<FormControl />
if none is passed in manually - Add the
aria-invalid
prop to theinput
component based on the existingisInvalid
logic - Added more dynamic sizes to various sub components based on the
size
prop passed in by the user- This makes each size look more cohesive than they did before
- Added a
tagVariant
prop which sets thevariant
prop on each of the selected option tags in line with the Chakra docs- Also added the
variant
option which can be added to an option directly
- Also added the
- Added the
src/
directory to the distributed files so people open them if they have the package installed - Add the
hasStickyGroupHeaders
option the select component, which makes the headers for each of the option groups stay in view which their corresponding questions are
Cleanup & Fixes
- Removed some unnecessary optional chaining of props that were previously added to fix a build
- Remove the
aria-labelledby
prop which was not actually getting passed from the<FormControl />
- Cleaned up the examples in the
README.md
so GitHub will highlight their syntax properly - Fix an issue where the corners of the menu were getting an extra white background where they shouldn't be