Releases: csandman/chakra-react-select
Releases · csandman/chakra-react-select
1.3.2
1.3.1
What's Changed
- [ImgBot] Optimize images by @imgbot in #9
- Move @types/react-select to dependencies by @csandman in #11
- Move
@types/react-select
fromdevDependencies
todependencies
(mentioned in #10 (comment))
- Move
- Csandman/loading indicator by @csandman in #12
- Remove unused
<MenuPortal />
component - Add a custom
<LoadingIndicator />
component using the Chakra UI Spinner
- Remove unused
Full Changelog: v1.3.0...v1.3.1
1.3.0
Changes
- Style the selected options to match react-select, with a default of a blue highlight (
blue.500
in light mode,blue.300
in dark mode) - Add the
selectedOptionStyle
prop, which can be passed"color"
(default) or"check"
which will change the styling of a selected option to match the Chakra UI menu component - Add the
selectedOptionColor
prop which will change the highlight color for selected options (whenselectedOptionStyle
is left at its default,"color"
) - Add a roadmap to the README with features that are on the way.
Full Changelog: v1.2.2...v1.3.0
1.2.2
1.2.1
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