@formisch/qwik 0.9.1 → 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/dist/index.d.ts +6 -6
- package/package.json +3 -3
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
|
|
|
@@ -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
|
/**
|
|
@@ -985,7 +985,7 @@ interface FieldProps<TSchema extends Schema = Schema, TFieldPath extends Require
|
|
|
985
985
|
*
|
|
986
986
|
* @returns The UI of the field to be rendered.
|
|
987
987
|
*/
|
|
988
|
-
declare const Field: <TSchema extends Schema, TFieldPath extends RequiredPath>(props:
|
|
988
|
+
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;
|
|
989
989
|
//#endregion
|
|
990
990
|
//#region src/components/FieldArray/FieldArray.d.ts
|
|
991
991
|
/**
|
|
@@ -1013,7 +1013,7 @@ interface FieldArrayProps<TSchema extends Schema = Schema, TFieldArrayPath exten
|
|
|
1013
1013
|
*
|
|
1014
1014
|
* @returns The UI of the field array to be rendered.
|
|
1015
1015
|
*/
|
|
1016
|
-
declare const FieldArray: <TSchema extends Schema, TFieldArrayPath extends RequiredPath>(props:
|
|
1016
|
+
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;
|
|
1017
1017
|
//#endregion
|
|
1018
1018
|
//#region src/components/Form/Form.d.ts
|
|
1019
1019
|
/**
|
|
@@ -1035,7 +1035,7 @@ type FormProps<TSchema extends Schema = Schema> = Omit<PropsOf<'form'>, 'onSubmi
|
|
|
1035
1035
|
*
|
|
1036
1036
|
* @returns The a native form element.
|
|
1037
1037
|
*/
|
|
1038
|
-
declare const Form: <TSchema extends Schema>(props:
|
|
1038
|
+
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;
|
|
1039
1039
|
//#endregion
|
|
1040
1040
|
//#region src/hooks/useField/useField.d.ts
|
|
1041
1041
|
/**
|
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.1",
|
|
50
51
|
"@formisch/eslint-config": "0.1.0",
|
|
51
|
-
"@formisch/methods": "0.7.0"
|
|
52
|
-
"@formisch/core": "0.6.0"
|
|
52
|
+
"@formisch/methods": "0.7.0"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"@qwik.dev/core": ">=2",
|