notform 4.0.0 → 4.0.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -10
- package/dist/index.js +1 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
<
|
|
2
|
-
<img alt="NotForm
|
|
3
|
-
</
|
|
4
|
-
|
|
5
|
-
</
|
|
6
|
-
|
|
7
|
-
<p align="center">
|
|
8
|
-
Vue Forms Without the Friction.
|
|
9
|
-
</p>
|
|
1
|
+
<div align="center">
|
|
2
|
+
<img alt="NotForm logo" src="https://notform.favorodera.dev/favicon.svg" width="50" height="50">
|
|
3
|
+
<h1>NotForm</h1>
|
|
4
|
+
<p>Vue forms without the friction</p>
|
|
5
|
+
</div>
|
|
10
6
|
|
|
11
7
|
NotForm keeps your form's values, errors and field state in one place and leaves the markup to you. Describe the data with the schema library you already use, bind inputs, and read form states wherever you need them.
|
|
12
8
|
|
|
@@ -16,7 +12,7 @@ NotForm keeps your form's values, errors and field state in one place and leaves
|
|
|
16
12
|
- **Safe async validation.** Auto disposal of inflight validation results making sure stale results cannot overwrite newer form state.
|
|
17
13
|
- **No UI imposed.** The components render a native `<form>` and, for errors, a `<span>` you can change. Everything else is yours.
|
|
18
14
|
|
|
19
|
-
See the [Documentation](https://
|
|
15
|
+
See the [Documentation](https://notform.favorodera.dev/) for validation, submission, and array-field guides.
|
|
20
16
|
|
|
21
17
|
## License
|
|
22
18
|
|
package/dist/index.js
CHANGED
|
@@ -641,9 +641,7 @@ function createArrayField(host, options) {
|
|
|
641
641
|
if (list.length > length) releaseItems(list.splice(length), true);
|
|
642
642
|
return list;
|
|
643
643
|
}
|
|
644
|
-
/**
|
|
645
|
-
* Announces a finished mutation: refreshes `items` and validates per the field's config.
|
|
646
|
-
*/
|
|
644
|
+
/** Announces a finished mutation: refreshes `items` and validates per the field's config. */
|
|
647
645
|
function commit() {
|
|
648
646
|
triggerRef(ids);
|
|
649
647
|
base.parts.events.onChange();
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "notform",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.0.0",
|
|
4
|
+
"version": "4.0.1-alpha.0",
|
|
5
5
|
"private": false,
|
|
6
|
-
"description": "Vue
|
|
6
|
+
"description": "Vue forms without the friction",
|
|
7
7
|
"author": "Favour Emeka <favorodera@gmail.com>",
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"funding": "https://github.com/sponsors/favorodera",
|
|
10
|
-
"homepage": "https://
|
|
10
|
+
"homepage": "https://notform.favorodera.dev/",
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
13
13
|
"url": "git+https://github.com/favorodera/notform.git"
|