dmn-js-shared
Advanced tools
Comparing version 2.0.0-alpha1 to 2.0.0-alpha2
@@ -8,5 +8,25 @@ import { Component } from 'inferno'; | ||
super(props, context); | ||
const { value } = props; | ||
this.state = { | ||
value | ||
}; | ||
} | ||
componentWillReceiveProps(props) { | ||
const { value } = props; | ||
this.setState({ | ||
value | ||
}); | ||
} | ||
onChange = (event) => { | ||
const { value } = event.target; | ||
this.setState({ | ||
value | ||
}); | ||
const { onChange } = this.props; | ||
@@ -18,3 +38,3 @@ | ||
onChange(event.target.value); | ||
onChange(value); | ||
} | ||
@@ -25,6 +45,7 @@ | ||
className, | ||
options, | ||
value | ||
options | ||
} = this.props; | ||
const { value } = this.state; | ||
return ( | ||
@@ -31,0 +52,0 @@ <select |
{ | ||
"name": "dmn-js-shared", | ||
"description": "Shared components used by dmn-js", | ||
"version": "2.0.0-alpha1", | ||
"version": "2.0.0-alpha2", | ||
"scripts": { | ||
@@ -15,3 +15,3 @@ "test": "karma start", | ||
"dependencies": { | ||
"diagram-js": "^0.27.1", | ||
"diagram-js": "^0.28.2", | ||
"didi": "^0.1.1", | ||
@@ -18,0 +18,0 @@ "dmn-moddle": "^2.0.3", |
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
53689
31
1886
0
8
+ Addeddiagram-js@0.28.3(transitive)
- Removeddiagram-js@0.27.2(transitive)
Updateddiagram-js@^0.28.2