@formisch/qwik 0.9.0 → 0.9.2
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 +1 -1
- package/dist/index.d.ts +3 -3
- package/package.json +4 -4
package/README.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -213,11 +213,11 @@ type MaybePromise<TValue> = TValue | Promise<TValue>;
|
|
|
213
213
|
/**
|
|
214
214
|
* Makes all properties deeply optional.
|
|
215
215
|
*/
|
|
216
|
-
type DeepPartial<TValue> = TValue extends
|
|
216
|
+
type DeepPartial<TValue> = TValue extends Record<PropertyKey, unknown> | readonly unknown[] ? { [Key in keyof TValue]?: DeepPartial<TValue[Key]> | undefined } : TValue | undefined;
|
|
217
217
|
/**
|
|
218
218
|
* Makes all value properties optional.
|
|
219
219
|
*/
|
|
220
|
-
type PartialValues<TValue> = TValue extends
|
|
220
|
+
type PartialValues<TValue> = TValue extends Record<PropertyKey, unknown> | readonly unknown[] ? { [Key in keyof TValue]: PartialValues<TValue[Key]> } : TValue | undefined;
|
|
221
221
|
//#endregion
|
|
222
222
|
//#region src/types/form.d.ts
|
|
223
223
|
/**
|
|
@@ -1027,7 +1027,7 @@ type FormProps<TSchema extends Schema = Schema> = Omit<PropsOf<'form'>, 'onSubmi
|
|
|
1027
1027
|
/**
|
|
1028
1028
|
* The submit handler called when the form is submitted and validation succeeds.
|
|
1029
1029
|
*/
|
|
1030
|
-
readonly onSubmit$: QRL<SubmitHandler<TSchema
|
|
1030
|
+
readonly onSubmit$: QRL<SubmitHandler<TSchema>> | QRL<SubmitEventHandler<TSchema>>;
|
|
1031
1031
|
};
|
|
1032
1032
|
/**
|
|
1033
1033
|
* Form component that manages form submission and applies internal state.
|
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.9.
|
|
4
|
+
"version": "0.9.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Fabian Hiller",
|
|
7
7
|
"homepage": "https://formisch.dev",
|
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
"valibot": "^1.2.0",
|
|
48
48
|
"vite": "7.0.4",
|
|
49
49
|
"vite-tsconfig-paths": "^5.1.4",
|
|
50
|
-
"@formisch/core": "0.6.
|
|
51
|
-
"@formisch/
|
|
52
|
-
"@formisch/
|
|
50
|
+
"@formisch/core": "0.6.1",
|
|
51
|
+
"@formisch/eslint-config": "0.1.0",
|
|
52
|
+
"@formisch/methods": "0.7.0"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"@qwik.dev/core": ">=2",
|