Skip to content

Commit

Permalink
Fixed versions
Browse files Browse the repository at this point in the history
  • Loading branch information
casufi committed Aug 4, 2018
1 parent 377bde5 commit efc7397
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 31 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ stayOpen | boolean | false | If the Select should stay open or not.
commaSeperated | boolean | false | If you want the selected values to be a comma seperated string, turn this to "true". ( Available only with multiple prop set to "true". )
singleLine | boolean | false | Where the selected values ( Select's Header ) should be contained to one line.
lifo | boolean | false | **Last In First Out Mode**. The user's last selection, goes first. ( Available only with multiple prop set to "true". )
searchIndex | boolean | true | Enable search by both Index and Value fields
selectAllButton | boolean | false | Whether a "select all button" should be visible on Select's header.
isDropDown | boolean | true | Set this to true if you want to use the Select as a **Dropdown**. When you select an option, the Select collapses and the header continue to have the placeholder as a value.
tags | boolean | false | Whether to support custom tags.
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

63 changes: 34 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,37 +12,42 @@
"author": "Stratos Vetsos",
"license": "MIT",
"dependencies": {
"prop-types": "*"
"prop-types": "^15.6.1"
},
"devDependencies": {
"babel-core": "*",
"babel-eslint": "*",
"babel-loader": "*",
"babel-preset-env": "*",
"babel-preset-react": "*",
"babel-preset-stage-2": "*",
"browser-sync": "*",
"css-loader": "*",
"eslint": "*",
"eslint-loader": "*",
"eslint-plugin-react": "*",
"extract-text-webpack-plugin": "*",
"node-sass": "*",
"react": "*",
"react-dom": "*",
"react-hot-loader": "*",
"react-redux": "*",
"redux": "*",
"redux-logger": "*",
"redux-thunk": "*",
"rimraf": "*",
"sass-loader": "*",
"style-loader": "*",
"uglifyjs-webpack-plugin": "*",
"webpack": "*",
"webpack-bundle-analyzer": "*",
"webpack-cli": "*",
"webpack-dev-server": "*"
"babel-core": "^6.26.0",
"babel-eslint": "^8.0.3",
"babel-loader": "^7.1.2",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"browser-sync": "^2.18.13",
"css-loader": "^0.28.7",
"eslint": "^4.13.0",
"eslint-loader": "^2.0.0",
"eslint-plugin-react": "^7.5.1",
"extract-text-webpack-plugin": "^3.0.2",
"gulp": "^3.9.1",
"gulp-autoprefixer": "^4.0.0",
"gulp-sass": "^3.1.0",
"gulp-sourcemaps": "^2.6.1",
"gulp-util": "^3.0.8",
"node-sass": "^4.7.2",
"react": "^16.3.2",
"react-dom": "^16.3.2",
"react-hot-loader": "^3.1.3",
"react-redux": "^5.0.7",
"redux": "^4.0.0",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.2.0",
"rimraf": "^2.6.2",
"sass-loader": "^6.0.6",
"style-loader": "^0.19.0",
"uglifyjs-webpack-plugin": "^1.2.5",
"webpack": "^4.8.1",
"webpack-bundle-analyzer": "^2.9.2",
"webpack-cli": "^2.1.3",
"webpack-dev-server": "^3.1.4"
},
"peerDependencies": {
"react": "*",
Expand Down
2 changes: 1 addition & 1 deletion src/reducers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ const reducer = ( state = initialState, action ) => {
active: true,
queryString: action.queryString,
resultSet: state.ajax.active && state.ajax.fetchOnSearch ? action.queryString.length < state.ajax.minLength ? [] : state.options : state.options.filter( o =>
o.label.toLowerCase().includes( queryString ) || (state.settings.searchIndex && o.key.toString().toLowerCase().includes( queryString ))
o.label.toLowerCase().includes( queryString ) || ( state.settings.searchIndex && o.key.toString().toLowerCase().includes( queryString ) )
)
} ),
focusedItem: null,
Expand Down

0 comments on commit efc7397

Please sign in to comment.