Releases: csandman/chakra-react-select
Releases · csandman/chakra-react-select
4.7.0
What's Changed
- chore: Update packages and simplify
ThemeObject
type by @csandman in #257 - fix: Add Chakra Menu to provide context for MenuIcon dependency by @malinskibeniamin in #269
- chore: Update all dependencies by @csandman in #270
- This PR also fixes some style issues that are caused by
@chakra-ui/[email protected]
, specifically@chakra-ui/[email protected]
in which the theme styles for theInput
component were changed, breaking the way they were being used by this package. This change should be backwards compatible with the other 2.x.x versions of Chakra.
- This PR also fixes some style issues that are caused by
New Contributors
- @malinskibeniamin made their first contribution in #269
Full Changelog: v4.6.0...v4.7.0
4.6.0
What's Changed
- Value Style Fixes by @csandman in #248
- Fix various styles, so they line up better with how the original
react-select
is laid out- In response to #246
- Fix the condition for setting the
aria-invalid
prop
- Fix various styles, so they line up better with how the original
- Prop Deprecation by @csandman in #247
- Add
@deprecated
flags to both the originalstyles
andtheme
props to help prevent people from using them by mistake.- Unfortunately, these props are not flagged when you attempt to pass them into the component, but at least the
@deprecated
label shows up when you hover over the prop.
- Unfortunately, these props are not flagged when you attempt to pass them into the component, but at least the
- Change the prop
selectedOptionColor
toselectedOptionColorScheme
to prevent confusion.- The
selectedOptionColor
prop will still function for the time being, but will be removed in the next major version
- The
- Remove the documentation for
hasStickyGroupHeaders
andisFixed
as a soft deprecation. They still function for now, but will probably be removed eventually (unless people start complaining).- These props were added very early on in this package's development, mostly as a way to try some things myself. Ultimately, they don't make much sense in the scope of other props, and these same customizations can be done from the user's side with custom
components
andchakraStyles
.
- These props were added very early on in this package's development, mostly as a way to try some things myself. Ultimately, they don't make much sense in the scope of other props, and these same customizations can be done from the user's side with custom
- Add
Full Changelog: v4.5.0...v4.6.0
4.5.0
What's Changed
- Fixed grammar and spelling mistakes in README.md by @JackHumphries9 in #217
- Make the
size
prop responsive by @csandman in #243- Make the
size
prop responsive, so either a breakpoint object or array can be passed in addition to a normal value.- Feature added in response to #241.
- Also added the
@chakra-ui/media-query
package in order to accomplish this.
- Update all packages.
- Make the
- Custom Variants by @csandman in #244
- Add the option to use custom variants for the
Input
andTag
components, pulled from the theme. This feature isn't widely tested and may not perform exactly how you expect it to.- Closes #215
- Add the option to use custom variants for the
New Contributors
- @JackHumphries9 made their first contribution in #217
Full Changelog: v4.4.3...v4.5.0
3.3.9
4.4.3
4.4.2
What's Changed
- getClassNames fix by @csandman in #224
- Fix #223
- Update
react-select
from^5.5.7
to5.7.0
- Pin
react-select
version to prevent future updates from causing issues with this package
- Pin
- Update
cleanCommonProps
function to reflect the new version inreact-select
- Update one other place to include
getClassNames
(customGroup
component)
- Update one other place to include
- Update
- Update all dev dependencies
- Fix #223
Full Changelog: v4.4.1...v4.4.2
4.4.1
4.4.0
What's Changed
- Menu shadow fix by @csandman in #209
- Fix an overflow issue causing
MenuList
shadow to get cut off - closes #208
- Fix an overflow issue causing
- Default Props from Input by @csandman in #210
- Use the
defaultProps
from Chakra'sInput
component theme to determine the defaultsize
andvariant
that will be applied to theSelect
- see #207
- Use the
- [email protected] by @csandman in #211
- Update
react-select
tov5.5.7
- Update all dev dependencies
- Update
Full Changelog: v4.3.0...v4.4.0
4.3.0
What's Changed
- Add the Package Size GH Action by @csandman in #204
- [email protected] by @csandman in #205
-
Auto-update menu position when using menu portalling - JedWatson/react-select#5256
-
Full Changelog: v4.2.6...v4.3.0