@formisch/qwik 0.7.2 → 0.7.3
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 +2 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.qwik.js +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Formisch is a schema-based, headless form library for Qwik. 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-qwik)!
|
|
4
4
|
|
|
5
|
-
Formisch is also available for [Preact][formisch-preact], [SolidJS][formisch-solid], [Svelte][formisch-svelte] and [Vue][formisch-vue].
|
|
5
|
+
Formisch is also available for [Preact][formisch-preact], [React][formisch-react], [SolidJS][formisch-solid], [Svelte][formisch-svelte] and [Vue][formisch-vue].
|
|
6
6
|
|
|
7
7
|
## Highlights
|
|
8
8
|
|
|
@@ -81,6 +81,7 @@ Find a bug or have an idea how to improve the library? Please fill out an [issue
|
|
|
81
81
|
This project is available free of charge and licensed under the [MIT license](https://github.com/open-circle/formisch/blob/main/LICENSE.md).
|
|
82
82
|
|
|
83
83
|
[formisch-preact]: https://github.com/open-circle/formisch/tree/main/frameworks/preact
|
|
84
|
+
[formisch-react]: https://github.com/open-circle/formisch/tree/main/frameworks/react
|
|
84
85
|
[formisch-solid]: https://github.com/open-circle/formisch/tree/main/frameworks/solid
|
|
85
86
|
[formisch-svelte]: https://github.com/open-circle/formisch/tree/main/frameworks/svelte
|
|
86
87
|
[formisch-vue]: https://github.com/open-circle/formisch/tree/main/frameworks/vue
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as v from "valibot";
|
|
2
2
|
import { JSXOutput, NoSerialize, PropsOf, QRL, ReadonlySignal } from "@qwik.dev/core";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _qwik_dev_core_internal3 from "@qwik.dev/core/internal";
|
|
4
4
|
|
|
5
5
|
//#region ../../packages/core/dist/index.qwik.d.ts
|
|
6
6
|
|
|
@@ -966,7 +966,7 @@ interface FieldProps<TSchema extends Schema = Schema, TFieldPath extends Require
|
|
|
966
966
|
*
|
|
967
967
|
* @returns The UI of the field to be rendered.
|
|
968
968
|
*/
|
|
969
|
-
declare const Field: <TSchema extends Schema, TFieldPath extends RequiredPath>(props:
|
|
969
|
+
declare const Field: <TSchema extends Schema, TFieldPath extends RequiredPath>(props: _qwik_dev_core_internal3.PublicProps<FieldProps<TSchema, TFieldPath>>, key: string | null, flags: number, dev?: _qwik_dev_core_internal3.DevJSX) => JSXOutput;
|
|
970
970
|
//#endregion
|
|
971
971
|
//#region src/components/FieldArray/FieldArray.d.ts
|
|
972
972
|
/**
|
|
@@ -994,7 +994,7 @@ interface FieldArrayProps<TSchema extends Schema = Schema, TFieldArrayPath exten
|
|
|
994
994
|
*
|
|
995
995
|
* @returns The UI of the field array to be rendered.
|
|
996
996
|
*/
|
|
997
|
-
declare const FieldArray: <TSchema extends Schema, TFieldArrayPath extends RequiredPath>(props:
|
|
997
|
+
declare const FieldArray: <TSchema extends Schema, TFieldArrayPath extends RequiredPath>(props: _qwik_dev_core_internal3.PublicProps<FieldArrayProps<TSchema, TFieldArrayPath>>, key: string | null, flags: number, dev?: _qwik_dev_core_internal3.DevJSX) => JSXOutput;
|
|
998
998
|
//#endregion
|
|
999
999
|
//#region src/components/Form/Form.d.ts
|
|
1000
1000
|
/**
|
|
@@ -1016,7 +1016,7 @@ type FormProps<TSchema extends Schema = Schema> = Omit<PropsOf<'form'>, 'onSubmi
|
|
|
1016
1016
|
*
|
|
1017
1017
|
* @returns The a native form element.
|
|
1018
1018
|
*/
|
|
1019
|
-
declare const Form: <TSchema extends Schema>(props:
|
|
1019
|
+
declare const Form: <TSchema extends Schema>(props: _qwik_dev_core_internal3.PublicProps<FormProps<TSchema>>, key: string | null, flags: number, dev?: _qwik_dev_core_internal3.DevJSX) => JSXOutput;
|
|
1020
1020
|
//#endregion
|
|
1021
1021
|
//#region src/hooks/useField/useField.d.ts
|
|
1022
1022
|
/**
|
package/dist/index.qwik.js
CHANGED
|
@@ -404,8 +404,8 @@ function setFieldInput(internalFormStore, path, input) {
|
|
|
404
404
|
for (let index = 0; index < path.length; index++) {
|
|
405
405
|
internalFieldStore = internalFieldStore.children[path[index]];
|
|
406
406
|
if (index < path.length - 1) internalFieldStore.input.value = true;
|
|
407
|
-
else setNestedInput(internalFieldStore, input);
|
|
408
407
|
}
|
|
408
|
+
setNestedInput(internalFieldStore, input);
|
|
409
409
|
});
|
|
410
410
|
});
|
|
411
411
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formisch/qwik",
|
|
3
3
|
"description": "The modular and type-safe form library for Qwik",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.3",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Fabian Hiller",
|
|
7
7
|
"homepage": "https://formisch.dev",
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"tsdown": "0.12.9",
|
|
47
47
|
"typescript": "5.8.3",
|
|
48
48
|
"typescript-eslint": "8.36.0",
|
|
49
|
-
"valibot": "^1.
|
|
49
|
+
"valibot": "^1.2.0",
|
|
50
50
|
"vite": "7.0.4",
|
|
51
51
|
"vite-tsconfig-paths": "^5.1.4",
|
|
52
|
-
"@formisch/core": "0.4.
|
|
53
|
-
"@formisch/methods": "0.5.
|
|
52
|
+
"@formisch/core": "0.4.4",
|
|
53
|
+
"@formisch/methods": "0.5.2"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"@qwik.dev/core": ">=2",
|