Releases: csandman/chakra-react-select
Releases · csandman/chakra-react-select
4.7.2
- Closes #281 -
useBasicStyleswas no longer defined.
Full Changelog: v4.7.1...v4.7.2
4.7.1
What's Changed
- fix: import chakraui/icon by @jonashger in #277
- This fixed an issue #276, in which the export of
Iconfrom@chakra-ui/iconchanged from a default export to a named export inv3.2.0. Thanks to @jonashger for the quick fix, but I went one step further here and removed the dependency on@chakra-ui/iconfrom theMenufile in general by switching to using the native<svg>, like they do in the originalMenucomponent.
- This fixed an issue #276, in which the export of
New Contributors
- @jonashger made their first contribution in #277
Full Changelog: v4.7.0...v4.7.1
4.7.0
What's Changed
- chore: Update packages and simplify
ThemeObjecttype 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/react@2.8.0, specifically@chakra-ui/theme@3.2.0in which the theme styles for theInputcomponent 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-selectis laid out- In response to #246
- Fix the condition for setting the
aria-invalidprop
- Fix various styles, so they line up better with how the original
- Prop Deprecation by @csandman in #247
- Add
@deprecatedflags to both the originalstylesandthemeprops 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
@deprecatedlabel 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
selectedOptionColortoselectedOptionColorSchemeto prevent confusion.- The
selectedOptionColorprop will still function for the time being, but will be removed in the next major version
- The
- Remove the documentation for
hasStickyGroupHeadersandisFixedas 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
componentsandchakraStyles.
- 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
sizeprop responsive by @csandman in #243- Make the
sizeprop 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-querypackage 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
InputandTagcomponents, 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-selectfrom^5.5.7to5.7.0- Pin
react-selectversion to prevent future updates from causing issues with this package
- Pin
- Update
cleanCommonPropsfunction to reflect the new version inreact-select- Update one other place to include
getClassNames(customGroupcomponent)
- 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
MenuListshadow to get cut off - closes #208
- Fix an overflow issue causing
- Default Props from Input by @csandman in #210
- Use the
defaultPropsfrom Chakra'sInputcomponent theme to determine the defaultsizeandvariantthat will be applied to theSelect- see #207
- Use the
- react-select@5.5.7 by @csandman in #211
- Update
react-selecttov5.5.7 - Update all dev dependencies
- Update
Full Changelog: v4.3.0...v4.4.0