react-checkbox-tree
Advanced tools
Comparing version 1.0.1 to 1.0.2
# CHANGELOG | ||
## [v1.0.2](https://github.com/jakezatecky/react-checkbox-tree/compare/v1.0.1...v1.0.2) (2017-10-24) | ||
* [#57]: Fix an issue where node values with spaces in them would cause validation errors | ||
## [v1.0.1](https://github.com/jakezatecky/react-checkbox-tree/compare/v1.0.0...v1.0.1) (2017-09-30) | ||
@@ -4,0 +8,0 @@ |
@@ -32,6 +32,4 @@ const gulp = require('gulp'); | ||
.pipe(mocha({ | ||
compilers: [ | ||
'js:babel-core/register', | ||
], | ||
require: [ | ||
'babel-register', | ||
'./test/setup.js', | ||
@@ -38,0 +36,0 @@ ], |
{ | ||
"name": "react-checkbox-tree", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A simple and elegant checkbox tree for React.", | ||
@@ -33,3 +33,3 @@ "author": "Jake Zatecky", | ||
"babel-loader": "^7.0.0", | ||
"babel-preset-es2015": "^6.13.2", | ||
"babel-preset-env": "^1.6.0", | ||
"babel-preset-react": "^6.11.1", | ||
@@ -42,6 +42,6 @@ "babel-preset-stage-2": "^6.5.0", | ||
"eslint": "^4.3.0", | ||
"eslint-config-takiyon-react": "^0.2.1", | ||
"eslint-config-takiyon-react": "^0.3.0", | ||
"eslint-import-resolver-webpack": "^0.8.1", | ||
"eslint-plugin-import": "^2.2.0", | ||
"eslint-plugin-jsx-a11y": "^5.0.1", | ||
"eslint-plugin-jsx-a11y": "^6.0.2", | ||
"eslint-plugin-react": "^7.1.0", | ||
@@ -56,3 +56,3 @@ "gulp": "^3.9.1", | ||
"jsdom": "^11.0.0", | ||
"mocha": "^3.0.2", | ||
"mocha": "^4.0.1", | ||
"react": "^16.0.0", | ||
@@ -59,0 +59,0 @@ "react-dom": "^16.0.0", |
@@ -151,3 +151,3 @@ import classNames from 'classnames'; | ||
} = this.props; | ||
const inputId = `${treeId}-${value}`; | ||
const inputId = `${treeId}-${value.split(' ').join('_')}`; | ||
const nodeClass = classNames({ | ||
@@ -154,0 +154,0 @@ 'rct-node': true, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
478070
5013