@formisch/solid 0.9.0 → 0.9.1
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 +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -32,7 +32,7 @@ export default function LoginPage() {
|
|
|
32
32
|
});
|
|
33
33
|
|
|
34
34
|
return (
|
|
35
|
-
<Form of={loginForm} onSubmit={(output) => console.log(output)}>
|
|
35
|
+
<Form of={loginForm} onSubmit={(output, event) => console.log(output)}>
|
|
36
36
|
<Field of={loginForm} path={['email']}>
|
|
37
37
|
{(field) => (
|
|
38
38
|
<div>
|
package/dist/index.d.ts
CHANGED
|
@@ -206,11 +206,11 @@ type MaybePromise<TValue> = TValue | Promise<TValue>;
|
|
|
206
206
|
/**
|
|
207
207
|
* Makes all properties deeply optional.
|
|
208
208
|
*/
|
|
209
|
-
type DeepPartial<TValue> = TValue extends
|
|
209
|
+
type DeepPartial<TValue> = TValue extends Record<PropertyKey, unknown> | readonly unknown[] ? { [Key in keyof TValue]?: DeepPartial<TValue[Key]> | undefined } : TValue | undefined;
|
|
210
210
|
/**
|
|
211
211
|
* Makes all value properties optional.
|
|
212
212
|
*/
|
|
213
|
-
type PartialValues<TValue> = TValue extends
|
|
213
|
+
type PartialValues<TValue> = TValue extends Record<PropertyKey, unknown> | readonly unknown[] ? { [Key in keyof TValue]: PartialValues<TValue[Key]> } : TValue | undefined;
|
|
214
214
|
//#endregion
|
|
215
215
|
//#region src/types/form.d.ts
|
|
216
216
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formisch/solid",
|
|
3
3
|
"description": "The modular and type-safe form library for SolidJS",
|
|
4
|
-
"version": "0.9.
|
|
4
|
+
"version": "0.9.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Fabian Hiller",
|
|
7
7
|
"homepage": "https://formisch.dev",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"vitest": "3.2.4",
|
|
60
60
|
"@formisch/eslint-config": "0.1.0",
|
|
61
61
|
"@formisch/methods": "0.7.0",
|
|
62
|
-
"@formisch/core": "0.6.
|
|
62
|
+
"@formisch/core": "0.6.1"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
65
|
"solid-js": "^1.6.0",
|