cerebral-forms
Advanced tools
Comparing version 1.0.0-b-alpha.e6ad4291 to 1.0.0-b-alpha.ebdf3add
@@ -24,3 +24,3 @@ 'use strict'; | ||
exports.default = [(0, _operators.set)((0, _tags.state)(_templateObject, (0, _tags.input)(_templateObject2)), (0, _tags.input)(_templateObject3)), (0, _validateField2.default)((0, _tags.state)(_templateObject4, (0, _tags.input)(_templateObject2)))]; | ||
exports.default = [(0, _operators.set)((0, _tags.state)(_templateObject, (0, _tags.props)(_templateObject2)), (0, _tags.props)(_templateObject3)), (0, _validateField2.default)((0, _tags.state)(_templateObject4, (0, _tags.props)(_templateObject2)))]; | ||
//# sourceMappingURL=changeField.js.map |
@@ -17,3 +17,3 @@ 'use strict'; | ||
var state = _ref.state, | ||
input = _ref.input, | ||
props = _ref.props, | ||
resolve = _ref.resolve; | ||
@@ -20,0 +20,0 @@ |
{ | ||
"name": "cerebral-forms", | ||
"version": "1.0.0-b-alpha.e6ad4291", | ||
"version": "1.0.0-b-alpha.ebdf3add", | ||
"description": "Signals, actions and state factories to create forms", | ||
@@ -28,7 +28,7 @@ "main": "lib/index.js", | ||
"peerDependencies": { | ||
"cerebral": "2.0.0-b-alpha.e6ad4291" | ||
"cerebral": "2.0.0-b-alpha.ebdf3add" | ||
}, | ||
"devDependencies": { | ||
"@cerebral/monorepo": "0.0.1-alpha.e6ad4291", | ||
"cerebral": "2.0.0-b-alpha.e6ad4291" | ||
"@cerebral/monorepo": "0.0.1-alpha.ebdf3add", | ||
"cerebral": "2.0.0-b-alpha.ebdf3add" | ||
}, | ||
@@ -35,0 +35,0 @@ "nyc": { |
@@ -203,3 +203,3 @@ # cerebral-forms | ||
```js | ||
import {input} from 'cerebral/operators' | ||
import {props} from 'cerebral/tags' | ||
import {validateField} from 'cerebral-forms' | ||
@@ -212,3 +212,3 @@ | ||
// dynamic | ||
validateField(input`fieldPath`), | ||
validateField(props`fieldPath`), | ||
doThat | ||
@@ -222,3 +222,3 @@ ] | ||
```js | ||
import {input} from 'cerebral/operators' | ||
import {props} from 'cerebral/tags' | ||
import {validateForm} from 'cerebral-forms' | ||
@@ -230,3 +230,3 @@ | ||
// dynamic | ||
validateForm(input`formPath`), | ||
validateForm(props`formPath`), | ||
isFormValid, { | ||
@@ -247,3 +247,3 @@ true: [ | ||
```js | ||
import {input} from 'cerebral/operators' | ||
import {props} from 'cerebral/tags' | ||
import {resetForm} from 'cerebral-forms' | ||
@@ -256,3 +256,3 @@ | ||
// dynamic | ||
resetForm(input`formPath`), | ||
resetForm(props`formPath`), | ||
doThat | ||
@@ -348,3 +348,3 @@ ] | ||
```js | ||
import {input} from 'cerebral/operators' | ||
import {props} from 'cerebral/tags' | ||
import {isValidForm} from 'cerebral-forms' | ||
@@ -356,3 +356,3 @@ | ||
// dynamic | ||
isValidForm(input`formPath`), { | ||
isValidForm(props`formPath`), { | ||
true: [], | ||
@@ -359,0 +359,0 @@ false: [] |
Sorry, the diff of this file is not supported yet
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
72256