From bab7adca0afbface00f256db2f112d6ad17424af Mon Sep 17 00:00:00 2001 From: Jonathan Buchanan Date: Tue, 13 Jan 2015 13:09:34 +0000 Subject: [PATCH] v0.3.1 Added buttonActive prop to classNames Will fall back to using custom `button` if necessary --- .npmignore | 1 - CHANGELOG.md | 8 ++++++ README.md | 6 +++- demo/app.jsx | 8 +++++- dist/react-filtered-multiselect.js | 39 ++++++++++++++++++-------- dist/react-filtered-multiselect.min.js | 6 ++-- package.json | 2 +- src/index.jsx | 35 +++++++++++++++++------ 8 files changed, 78 insertions(+), 27 deletions(-) diff --git a/.npmignore b/.npmignore index 9b079aa..0a13a28 100644 --- a/.npmignore +++ b/.npmignore @@ -1,6 +1,5 @@ demo dist -node_modules src .gitignore .jshintrc diff --git a/CHANGELOG.md b/CHANGELOG.md index 93c30a9..c9fd157 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## 0.3.1 - 2015-01-13 + +Added: new `buttonActive` property for the `classNames` prop - this will be +used when one or more options are selected, otherwise `button` will be used. + +Changed: `classNames` prop no longer has to provide all properties - defaults +will be used where not provided. + ## 0.3.0 - 2015-01-01 Added: double-clicking now adds the selected option to the selection. diff --git a/README.md b/README.md index 7ff1885..7bcb120 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,9 @@ objects each time the selection is added to. `className` - class name for the component's `
` container. -`classNames` - class names for each of the component's child elements. +`classNames` - class names for each of the component's child elements. See the +default props below for properties. Defaults will be used for any properties not +specified via this prop. `defaultFilter` - default filter text to be applied to the `