Skip to content

Commit

Permalink
Updated to bootstrap4 beta
Browse files Browse the repository at this point in the history
  • Loading branch information
colintucker committed Aug 29, 2017
1 parent 0fc68c1 commit 2a49289
Show file tree
Hide file tree
Showing 4 changed files with 777 additions and 393 deletions.
2 changes: 1 addition & 1 deletion client/dist/js/parsley.js

Large diffs are not rendered by default.

29 changes: 15 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,23 @@
},
"dependencies": {},
"devDependencies": {
"autoprefixer": "^6.7.6",
"babel-core": "^6.23.1",
"babel-loader": "^6.3.2",
"babel-preset-es2015": "^6.22.0",
"clean-webpack-plugin": "^0.1.15",
"css-loader": "^0.26.2",
"extract-text-webpack-plugin": "^2.0.0",
"file-loader": "^0.10.1",
"autoprefixer": "^7.1.3",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-preset-es2015": "^6.24.1",
"clean-webpack-plugin": "^0.1.16",
"copy-webpack-plugin": "^4.0.1",
"css-loader": "^0.28.5",
"extract-text-webpack-plugin": "^3.0.0",
"file-loader": "^0.11.2",
"moment-mini": "^2.18.1",
"node-sass": "^4.5.0",
"node-sass": "^4.5.3",
"parsleyjs": "^2.7.2",
"postcss-loader": "^1.3.3",
"sass-loader": "^6.0.2",
"style-loader": "^0.13.2",
"url-loader": "^0.5.8",
"webpack": "^2.2.1"
"postcss-loader": "^2.0.6",
"sass-loader": "^6.0.6",
"style-loader": "^0.18.2",
"url-loader": "^0.5.9",
"webpack": "^3.5.5"
},
"babel": {
"presets": [
Expand Down
10 changes: 5 additions & 5 deletions src/Backends/ParsleyBackend.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,39 +65,39 @@ class ParsleyBackend extends Backend
* @var string
* @config
*/
private static $error_wrapper_class = 'form-control-feedback';
private static $error_wrapper_class = 'invalid-feedback';

/**
* Defines the class name to add to the field group element upon error.
*
* @var string
* @config
*/
private static $group_error_class = 'has-danger';
private static $group_error_class = 'has-invalid';

/**
* Defines the class name to add to the field group element upon success.
*
* @var string
* @config
*/
private static $group_success_class = 'has-success';
private static $group_success_class = 'has-valid';

/**
* Defines the class name to add to the field element upon error.
*
* @var string
* @config
*/
private static $field_error_class = 'form-control-danger';
private static $field_error_class = 'is-invalid';

/**
* Defines the class name to add to the field element upon success.
*
* @var string
* @config
*/
private static $field_success_class = 'form-control-success';
private static $field_success_class = 'is-valid';

/**
* A string of events which will trigger validation.
Expand Down
Loading

0 comments on commit 2a49289

Please sign in to comment.