Skip to content

1.2.0

Compare
Choose a tag to compare
@csandman csandman released this 24 Sep 21:18
· 450 commits to main since this release

Features

  • Switch completely over to TypeScript!
  • 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 the input component based on the existing isInvalid 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 the variant 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
  • 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

sticky-grouped-headers

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

image