Skip to content

Commit

Permalink
Version changed
Browse files Browse the repository at this point in the history
  • Loading branch information
casufi committed Aug 2, 2018
1 parent b767138 commit 377bde5
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 40 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

65 changes: 30 additions & 35 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-selectrix",
"version": "1.0.14",
"version": "1.0.15",
"description": "A beautiful, clean coded select replacement for React.js",
"main": "dist/index.js",
"scripts": {
Expand All @@ -12,42 +12,37 @@
"author": "Stratos Vetsos",
"license": "MIT",
"dependencies": {
"prop-types": "^15.6.1"
"prop-types": "*"
},
"devDependencies": {
"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"
"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": "*"
},
"peerDependencies": {
"react": "*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ export default class Searchable extends React.Component {

}

componentWillMount() {
UNSAFE_componentWillMount() {
this.calculateSize( this.props );
}

componentWillReceiveProps( nextProps ) {
UNSAFE_componentWillReceiveProps( nextProps ) {

if( nextProps.settings.multiple && ( this.props.queryString !== nextProps.queryString || this.props.selected.length !== nextProps.selected.length ) || this.props.settings.placeholder.length !== nextProps.settings.placeholder.length ) {
this.calculateSize( nextProps );
Expand Down
4 changes: 2 additions & 2 deletions src/components/Selectrix.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ export default class Selectrix extends React.Component {
} )
}

componentWillMount() {
UNSAFE_componentWillMount() {
this.props.setupInstance( this.props );
}

componentWillReceiveProps( nextProps ) {
UNSAFE_componentWillReceiveProps( nextProps ) {
this.props.updateInstance( nextProps );
}

Expand Down

0 comments on commit 377bde5

Please sign in to comment.