- Added
cursor: pointer
style by defalut to select options.
- (Nothing.)
- Added missing
valueKey
to custom option renderer params.
- Default option renderer supports a
className
property on options.
- Same as v2.4.2 but with an updated external dependency versions (eg react-virtualized 8.x to 9.x, new prop-types lib, react alpha 16, etc).
- Backwards compat bugfix for
require('...').default
usecase (see issue #57).
- 🎉 Default option renderer highlights selected option in bold (@the-spyke - #40)
Added a workaround for a bug in Creatable
(react-select 1.0.0-rc2).
Clicking on the placeholder item now successfully creates new options.
See issue #33.
Added listProps
prop to enable pass-through of additional, custom properties to the underlying react-virtualized List
.
Dramatically reduced library size by limiting the parts of react-virtualized that are imported.
Utilizes babel-plugin-transform-runtime
to remove babelHelpers
from the built dist.
This enables support without requiring the babel-external-helpers
plugin in application code.
Updates to react-virtualized
8.x release.
Read more about version 8 changes here.
Contains no new user-facing functionality but requires a major update due to the updated optionRenderer
interface.
Renderers will now receive 2 additional named properties: key
and style
.
Both should be passed through to the top-level element of their rendered response.
For example:
// react-virtualized-select 1.x
function optionRendererBefore ({ option, ...rest }) {
return (
<div>
{option.name}
</div>
)
}
// react-virtualized-select 2.x
function optionRendererAfter ({ key, option, style, ...rest }) {
return (
<div
key={key}
style={style}
>
{option.name}
</div>
)
}
Added selectComponent
option to enable users to choose a sepecific select HOC (eg Select.Creatable
).
Added support for disabled
attribute in options array.
Added support for async options (Select.Async
) via new async
boolean property.
Fixed a regression for non-function optionHeight
values.
Supports dynamic option heights via optionHeight
as a function.
Function should implement the following signature: ({ option: Object }): number
First major release; interface now stable.
Dependency bump for React 15.0 now that it has been released.
Finalized props signature of VirtualizedSelect
; changed rowRenderer
to optionRenderer
to better align with react-select
terminology.
Moved react-select
and react-virtualized
from peerDependencies
to dependencies
block.
Updated CommonJS/ES module build to export VirtualizedSelect
as a default.
Initial release.
Reserved NPM package name.