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
inputIdoption manually so that it could be grabbed from a surrounding<FormControl />if none is passed in manually - Add the
aria-invalidprop to theinputcomponent based on the existingisInvalidlogic - Added more dynamic sizes to various sub components based on the
sizeprop passed in by the user- This makes each size look more cohesive than they did before
- Added a
tagVariantprop which sets thevariantprop on each of the selected option tags in line with the Chakra docs- Also added the
variantoption 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
hasStickyGroupHeadersoption 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-labelledbyprop which was not actually getting passed from the<FormControl /> - Cleaned up the examples in the
README.mdso 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

