@formkit/core
Advanced tools
Comparing version 1.0.0-beta.5-bd20073 to 1.0.0-beta.5-c249001
@@ -75,2 +75,12 @@ /** | ||
/** | ||
* Creates the initial value for a node based on the options passed in and the | ||
* type of the input. | ||
* @param options - | ||
* @param type - | ||
* @returns | ||
* @internal | ||
*/ | ||
export declare function createValue(options: FormKitOptions): unknown; | ||
/** | ||
* Deregister a node from the registry. | ||
@@ -326,2 +336,4 @@ * @param node - A node to remove | ||
off: (receipt: string) => void; | ||
pause: (node?: FormKitNode) => void; | ||
play: (node?: FormKitNode) => void; | ||
} | ||
@@ -489,2 +501,3 @@ | ||
[index: string]: unknown; | ||
__init?: boolean; | ||
} | ||
@@ -767,2 +780,6 @@ | ||
/** | ||
* Reset a node’s value back to its original value. | ||
*/ | ||
reset: () => FormKitNode; | ||
/** | ||
* Sets errors on the input, and optionally, and child inputs. | ||
@@ -1135,2 +1152,11 @@ */ | ||
/** | ||
* Resets an input to it’s "initial" value — if the input is a group or list it | ||
* resets all the children as well. | ||
* @param id - The id of an input to reset | ||
* @returns | ||
* @public | ||
*/ | ||
export declare function reset(id: string | FormKitNode, resetTo?: unknown): FormKitNode | undefined; | ||
/** | ||
* Reports the global number of node registrations, useful for deterministic | ||
@@ -1137,0 +1163,0 @@ * node naming. |
{ | ||
"name": "@formkit/core", | ||
"version": "1.0.0-beta.5-bd20073", | ||
"version": "1.0.0-beta.5-c249001", | ||
"type": "module", | ||
@@ -36,5 +36,5 @@ "description": "The framework agnostic core of FormKit", | ||
"dependencies": { | ||
"@formkit/utils": "1.0.0-beta.5-bd20073" | ||
"@formkit/utils": "1.0.0-beta.5-c249001" | ||
}, | ||
"devDependencies": {} | ||
} |
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
204419
6109
+ Added@formkit/utils@1.0.0-beta.5-c249001(transitive)
- Removed@formkit/utils@1.0.0-beta.5-bd20073(transitive)