@formisch/preact 0.7.2 → 0.7.4
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
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Formisch is a schema-based, headless form library for Preact. It manages form state and validation. It is type-safe, fast by default and its bundle size is small due to its modular design. Try it out in our [playground](https://stackblitz.com/edit/formisch-playground-preact)!
|
|
4
4
|
|
|
5
|
-
Formisch is also available for [Qwik][formisch-qwik], [SolidJS][formisch-solid], [Svelte][formisch-svelte] and [Vue][formisch-vue].
|
|
5
|
+
Formisch is also available for [Qwik][formisch-qwik], [React][formisch-react], [SolidJS][formisch-solid], [Svelte][formisch-svelte] and [Vue][formisch-vue].
|
|
6
6
|
|
|
7
7
|
## Highlights
|
|
8
8
|
|
|
@@ -76,6 +76,7 @@ Find a bug or have an idea how to improve the library? Please fill out an [issue
|
|
|
76
76
|
This project is available free of charge and licensed under the [MIT license](https://github.com/open-circle/formisch/blob/main/LICENSE.md).
|
|
77
77
|
|
|
78
78
|
[formisch-qwik]: https://github.com/open-circle/formisch/tree/main/frameworks/qwik
|
|
79
|
+
[formisch-react]: https://github.com/open-circle/formisch/tree/main/frameworks/react
|
|
79
80
|
[formisch-solid]: https://github.com/open-circle/formisch/tree/main/frameworks/solid
|
|
80
81
|
[formisch-svelte]: https://github.com/open-circle/formisch/tree/main/frameworks/svelte
|
|
81
82
|
[formisch-vue]: https://github.com/open-circle/formisch/tree/main/frameworks/vue
|
|
@@ -394,8 +394,8 @@ function setFieldInput(internalFormStore, path, input) {
|
|
|
394
394
|
for (let index = 0; index < path.length; index++) {
|
|
395
395
|
internalFieldStore = internalFieldStore.children[path[index]];
|
|
396
396
|
if (index < path.length - 1) internalFieldStore.input.value = true;
|
|
397
|
-
else setNestedInput(internalFieldStore, input);
|
|
398
397
|
}
|
|
398
|
+
setNestedInput(internalFieldStore, input);
|
|
399
399
|
});
|
|
400
400
|
});
|
|
401
401
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formisch/preact",
|
|
3
3
|
"description": "The modular and type-safe form library for Preact",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.4",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Fabian Hiller",
|
|
7
7
|
"homepage": "https://formisch.dev",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
],
|
|
19
19
|
"type": "module",
|
|
20
20
|
"main": "./dist/index.js",
|
|
21
|
-
"types": "./dist/
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
22
|
"exports": {
|
|
23
23
|
".": {
|
|
24
|
-
"types": "./dist/
|
|
24
|
+
"types": "./dist/index.d.ts",
|
|
25
25
|
"import": "./dist/index.js"
|
|
26
26
|
}
|
|
27
27
|
},
|
|
@@ -42,9 +42,10 @@
|
|
|
42
42
|
"tsdown": "^0.16.8",
|
|
43
43
|
"typescript": "^5.8.3",
|
|
44
44
|
"typescript-eslint": "^8.37.0",
|
|
45
|
+
"valibot": "^1.2.0",
|
|
45
46
|
"vite": "^6.0.4",
|
|
46
|
-
"@formisch/
|
|
47
|
-
"@formisch/
|
|
47
|
+
"@formisch/core": "0.4.4",
|
|
48
|
+
"@formisch/methods": "0.5.2"
|
|
48
49
|
},
|
|
49
50
|
"peerDependencies": {
|
|
50
51
|
"@preact/signals": "^2.0.0",
|
|
File without changes
|