notform 4.0.0-alpha.3 → 4.0.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/dist/index.d.ts +7 -0
- package/dist/index.js +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @packageDocumentation
|
|
3
|
+
* Headless, schema-driven form handling for Vue.
|
|
4
|
+
*
|
|
5
|
+
* Bring any Standard Schema compatible schema (Zod, Valibot, ArkType, ...),
|
|
6
|
+
* create a form with `useForm`, and render it with `<Form>`, `<Field>` and `<ArrayField>`.
|
|
7
|
+
*/
|
|
1
8
|
import { Component, MaybeRefOrGetter } from "vue";
|
|
2
9
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
3
10
|
import { Get, PartialDeep, Paths } from "type-fest";
|
package/dist/index.js
CHANGED
|
@@ -599,7 +599,7 @@ function createArrayField(host, options) {
|
|
|
599
599
|
/**
|
|
600
600
|
* Reads the array, creating an empty one if the value is missing.
|
|
601
601
|
* @returns The reactive array.
|
|
602
|
-
* @throws
|
|
602
|
+
* @throws If an array cannot be created at the path.
|
|
603
603
|
*/
|
|
604
604
|
function ensureArray() {
|
|
605
605
|
const existing = readArray();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "notform",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.0.0
|
|
4
|
+
"version": "4.0.0",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Vue Forms Without the Friction",
|
|
7
7
|
"author": "Favour Emeka <favorodera@gmail.com>",
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
"@vitest/ui": "^5.1.0",
|
|
53
53
|
"@vue/test-utils": "^2.5.1",
|
|
54
54
|
"happy-dom": "^21.0.4",
|
|
55
|
-
"tsdown": "^0.23.
|
|
56
|
-
"vite": "^8.3.
|
|
55
|
+
"tsdown": "^0.23.7",
|
|
56
|
+
"vite": "^8.3.6",
|
|
57
57
|
"vitest": "^5.1.0",
|
|
58
|
-
"vue": "^3.5.
|
|
58
|
+
"vue": "^3.5.45",
|
|
59
59
|
"vue-tsc": "^3.3.13"
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|