@gmcode/forms 0.2.1 → 0.2.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.mts +18 -18
- package/dist/index.d.mts.map +1 -1
- package/package.json +6 -5
package/dist/index.d.mts
CHANGED
|
@@ -35,7 +35,7 @@ interface ErrorData {
|
|
|
35
35
|
}
|
|
36
36
|
//#endregion
|
|
37
37
|
//#region src/components/calendar-field.d.ts
|
|
38
|
-
declare function CalendarField<TFieldValues extends FieldValues$1 = FieldValues$1>({ control, dateToString, disabled, inputId, inputName, label, locale, stringToDate, ...props }: ComponentProps<typeof Field> & {
|
|
38
|
+
export declare function CalendarField<TFieldValues extends FieldValues$1 = FieldValues$1>({ control, dateToString, disabled, inputId, inputName, label, locale, stringToDate, ...props }: ComponentProps<typeof Field> & {
|
|
39
39
|
control: Control<TFieldValues>;
|
|
40
40
|
dateToString?: (date: Date) => string;
|
|
41
41
|
disabled?: Matcher | Matcher[];
|
|
@@ -47,7 +47,7 @@ declare function CalendarField<TFieldValues extends FieldValues$1 = FieldValues$
|
|
|
47
47
|
}): import("react").JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
//#region src/components/checkbox-field.d.ts
|
|
50
|
-
declare function CheckboxField<TFieldValues extends FieldValues$1 = FieldValues$1>({ control, disabled, inputId, inputName, label, onCheckedChange, orientation, readOnly, uncheckedValue, value, ...props }: ComponentProps<typeof Field> & {
|
|
50
|
+
export declare function CheckboxField<TFieldValues extends FieldValues$1 = FieldValues$1>({ control, disabled, inputId, inputName, label, onCheckedChange, orientation, readOnly, uncheckedValue, value, ...props }: ComponentProps<typeof Field> & {
|
|
51
51
|
control: Control<TFieldValues>;
|
|
52
52
|
disabled?: boolean;
|
|
53
53
|
inputId?: string;
|
|
@@ -60,7 +60,7 @@ declare function CheckboxField<TFieldValues extends FieldValues$1 = FieldValues$
|
|
|
60
60
|
}): import("react").JSX.Element;
|
|
61
61
|
//#endregion
|
|
62
62
|
//#region src/components/input-field.d.ts
|
|
63
|
-
declare function InputField<TFieldValues extends FieldValues$1 = FieldValues$1>({ autoComplete, control, disabled, inputClassName, inputId, inputName, label, labelClassName, placeholder, readOnly, type, ...props }: Omit<ComponentProps<typeof Field>, 'onChange'> & {
|
|
63
|
+
export declare function InputField<TFieldValues extends FieldValues$1 = FieldValues$1>({ autoComplete, control, disabled, inputClassName, inputId, inputName, label, labelClassName, placeholder, readOnly, type, ...props }: Omit<ComponentProps<typeof Field>, 'onChange'> & {
|
|
64
64
|
autoComplete?: HTMLInputAutoCompleteAttribute;
|
|
65
65
|
control: Control<TFieldValues>;
|
|
66
66
|
disabled?: boolean;
|
|
@@ -76,15 +76,15 @@ declare function InputField<TFieldValues extends FieldValues$1 = FieldValues$1>(
|
|
|
76
76
|
}): import("react").JSX.Element;
|
|
77
77
|
//#endregion
|
|
78
78
|
//#region src/components/email-field.d.ts
|
|
79
|
-
declare function EmailField<TFieldValues extends FieldValues$1 = FieldValues$1>({ autoComplete, type, ...props }: ComponentProps<typeof InputField<TFieldValues>>): import("react").JSX.Element;
|
|
79
|
+
export declare function EmailField<TFieldValues extends FieldValues$1 = FieldValues$1>({ autoComplete, type, ...props }: ComponentProps<typeof InputField<TFieldValues>>): import("react").JSX.Element;
|
|
80
80
|
//#endregion
|
|
81
81
|
//#region src/components/error-monitor.d.ts
|
|
82
|
-
declare function ErrorMonitor({ error }: {
|
|
82
|
+
export declare function ErrorMonitor({ error }: {
|
|
83
83
|
error?: ErrorData;
|
|
84
84
|
}): import("react").JSX.Element | null;
|
|
85
85
|
//#endregion
|
|
86
86
|
//#region src/components/fancy-radio-field.d.ts
|
|
87
|
-
declare function FancyRadioField<TFieldValues extends FieldValues$1 = FieldValues$1>({ control, defaultValue, description, disabled, groupId, inputName, label, options, ...props }: ComponentProps<typeof FieldSet> & {
|
|
87
|
+
export declare function FancyRadioField<TFieldValues extends FieldValues$1 = FieldValues$1>({ control, defaultValue, description, disabled, groupId, inputName, label, options, ...props }: ComponentProps<typeof FieldSet> & {
|
|
88
88
|
control: Control<TFieldValues>;
|
|
89
89
|
defaultValue: string;
|
|
90
90
|
description?: string;
|
|
@@ -103,7 +103,7 @@ type RenderFN<TValues extends FieldValues$1> = ({ errors, form, loading }: {
|
|
|
103
103
|
form: UseFormReturn<TValues>;
|
|
104
104
|
loading: boolean;
|
|
105
105
|
}) => ReactNode;
|
|
106
|
-
declare function Form<TRuleset extends Ruleset$1, TSchema extends Schema<TRuleset>, TValues extends InferSchema$1<TSchema>>({ children, className, defaults, onBefore, onBeforeUpdate, onCancel, onCancelToken, onError, onFinish, onFlash, onPrefetched, onPrefetching, onProgress, onStart, onSuccess, preserveScroll, resetOnSuccess, rootError: displayRootError, route, schema, setDefaultsOnSuccess, ...props }: Omit<ComponentProps<'form'>, 'action' | 'children' | 'method' | 'onSubmit'> & {
|
|
106
|
+
export declare function Form<TRuleset extends Ruleset$1, TSchema extends Schema<TRuleset>, TValues extends InferSchema$1<TSchema>>({ children, className, defaults, onBefore, onBeforeUpdate, onCancel, onCancelToken, onError, onFinish, onFlash, onPrefetched, onPrefetching, onProgress, onStart, onSuccess, preserveScroll, resetOnSuccess, rootError: displayRootError, route, schema, setDefaultsOnSuccess, ...props }: Omit<ComponentProps<'form'>, 'action' | 'children' | 'method' | 'onSubmit'> & {
|
|
107
107
|
children: RenderFN<TValues>;
|
|
108
108
|
defaults?: Partial<DefaultValues<TValues>>;
|
|
109
109
|
onBefore?: GlobalEventCallback<'before', RequestPayload>;
|
|
@@ -146,10 +146,10 @@ declare function Form<TRuleset extends Ruleset$1, TSchema extends Schema<TRulese
|
|
|
146
146
|
}): import("react").JSX.Element;
|
|
147
147
|
//#endregion
|
|
148
148
|
//#region src/components/hidden-field.d.ts
|
|
149
|
-
declare function HiddenField<TFieldValues extends FieldValues$1 = FieldValues$1>({ autoComplete, className, type, ...props }: ComponentProps<typeof InputField<TFieldValues>>): import("react").JSX.Element;
|
|
149
|
+
export declare function HiddenField<TFieldValues extends FieldValues$1 = FieldValues$1>({ autoComplete, className, type, ...props }: ComponentProps<typeof InputField<TFieldValues>>): import("react").JSX.Element;
|
|
150
150
|
//#endregion
|
|
151
151
|
//#region src/components/info-checkbox-field.d.ts
|
|
152
|
-
declare function InfoCheckboxField<TFieldValues extends FieldValues$1 = FieldValues$1>({ children, className, control, disabled, inputId, inputName, label, onCheckedChange, orientation, readOnly, text, uncheckedValue, value, ...props }: ComponentProps<typeof Field> & {
|
|
152
|
+
export declare function InfoCheckboxField<TFieldValues extends FieldValues$1 = FieldValues$1>({ children, className, control, disabled, inputId, inputName, label, onCheckedChange, orientation, readOnly, text, uncheckedValue, value, ...props }: ComponentProps<typeof Field> & {
|
|
153
153
|
control: Control<TFieldValues>;
|
|
154
154
|
disabled?: boolean;
|
|
155
155
|
inputId?: string;
|
|
@@ -163,7 +163,7 @@ declare function InfoCheckboxField<TFieldValues extends FieldValues$1 = FieldVal
|
|
|
163
163
|
}): import("react").JSX.Element;
|
|
164
164
|
//#endregion
|
|
165
165
|
//#region src/components/nullable-select-field.d.ts
|
|
166
|
-
declare function NullableSelectField<TFieldValues extends FieldValues$1 = FieldValues$1>({ autoComplete, control, description, disabled, inputId, inputName, label, options, placeholder, setValue, ...props }: ComponentProps<typeof Field> & {
|
|
166
|
+
export declare function NullableSelectField<TFieldValues extends FieldValues$1 = FieldValues$1>({ autoComplete, control, description, disabled, inputId, inputName, label, options, placeholder, setValue, ...props }: ComponentProps<typeof Field> & {
|
|
167
167
|
autoComplete?: HTMLInputAutoCompleteAttribute;
|
|
168
168
|
control: Control<TFieldValues>;
|
|
169
169
|
description?: string;
|
|
@@ -178,7 +178,7 @@ declare function NullableSelectField<TFieldValues extends FieldValues$1 = FieldV
|
|
|
178
178
|
}): import("react").JSX.Element;
|
|
179
179
|
//#endregion
|
|
180
180
|
//#region src/components/numeric-field.d.ts
|
|
181
|
-
declare function NumericField<TFieldValues extends FieldValues$1 = FieldValues$1>({ autoComplete, control, disabled, inputId, inputMode, inputName, label, placeholder, type, ui, ...props }: ComponentProps<typeof Field> & {
|
|
181
|
+
export declare function NumericField<TFieldValues extends FieldValues$1 = FieldValues$1>({ autoComplete, control, disabled, inputId, inputMode, inputName, label, placeholder, type, ui, ...props }: ComponentProps<typeof Field> & {
|
|
182
182
|
autoComplete?: HTMLInputAutoCompleteAttribute;
|
|
183
183
|
control: Control<TFieldValues>;
|
|
184
184
|
disabled?: boolean;
|
|
@@ -197,10 +197,10 @@ declare function NumericField<TFieldValues extends FieldValues$1 = FieldValues$1
|
|
|
197
197
|
}): import("react").JSX.Element;
|
|
198
198
|
//#endregion
|
|
199
199
|
//#region src/components/password-field.d.ts
|
|
200
|
-
declare function PasswordField<TFieldValues extends FieldValues$1 = FieldValues$1>({ autoComplete, type, ...props }: ComponentProps<typeof InputField<TFieldValues>>): import("react").JSX.Element;
|
|
200
|
+
export declare function PasswordField<TFieldValues extends FieldValues$1 = FieldValues$1>({ autoComplete, type, ...props }: ComponentProps<typeof InputField<TFieldValues>>): import("react").JSX.Element;
|
|
201
201
|
//#endregion
|
|
202
202
|
//#region src/components/select-field.d.ts
|
|
203
|
-
declare function SelectField<TFieldValues extends FieldValues$1 = FieldValues$1>({ autoComplete, control, description, disabled, inputId, inputName, label, options, placeholder, ...props }: ComponentProps<typeof Field> & {
|
|
203
|
+
export declare function SelectField<TFieldValues extends FieldValues$1 = FieldValues$1>({ autoComplete, control, description, disabled, inputId, inputName, label, options, placeholder, ...props }: ComponentProps<typeof Field> & {
|
|
204
204
|
autoComplete?: HTMLInputAutoCompleteAttribute;
|
|
205
205
|
control: Control<TFieldValues>;
|
|
206
206
|
description?: string;
|
|
@@ -214,13 +214,13 @@ declare function SelectField<TFieldValues extends FieldValues$1 = FieldValues$1>
|
|
|
214
214
|
}): import("react").JSX.Element;
|
|
215
215
|
//#endregion
|
|
216
216
|
//#region src/components/submit.d.ts
|
|
217
|
-
declare function Submit({ label, loading, type, ...props }: ComponentProps<typeof Button> & {
|
|
217
|
+
export declare function Submit({ label, loading, type, ...props }: ComponentProps<typeof Button> & {
|
|
218
218
|
label?: string;
|
|
219
219
|
loading?: boolean;
|
|
220
220
|
}): import("react").JSX.Element;
|
|
221
221
|
//#endregion
|
|
222
222
|
//#region src/components/switch-field.d.ts
|
|
223
|
-
declare function SwitchField<TFieldValues extends FieldValues$1 = FieldValues$1>({ control, disabled, inputId, inputName, label, onCheckedChange, orientation, readOnly, uncheckedValue, value, ...props }: ComponentProps<typeof Field> & {
|
|
223
|
+
export declare function SwitchField<TFieldValues extends FieldValues$1 = FieldValues$1>({ control, disabled, inputId, inputName, label, onCheckedChange, orientation, readOnly, uncheckedValue, value, ...props }: ComponentProps<typeof Field> & {
|
|
224
224
|
control: Control<TFieldValues>;
|
|
225
225
|
disabled?: boolean;
|
|
226
226
|
inputId?: string;
|
|
@@ -233,10 +233,10 @@ declare function SwitchField<TFieldValues extends FieldValues$1 = FieldValues$1>
|
|
|
233
233
|
}): import("react").JSX.Element;
|
|
234
234
|
//#endregion
|
|
235
235
|
//#region src/components/text-field.d.ts
|
|
236
|
-
declare function TextField<TFieldValues extends FieldValues$1 = FieldValues$1>({ autoComplete, type, ...props }: ComponentProps<typeof InputField<TFieldValues>>): import("react").JSX.Element;
|
|
236
|
+
export declare function TextField<TFieldValues extends FieldValues$1 = FieldValues$1>({ autoComplete, type, ...props }: ComponentProps<typeof InputField<TFieldValues>>): import("react").JSX.Element;
|
|
237
237
|
//#endregion
|
|
238
238
|
//#region src/components/textarea-field.d.ts
|
|
239
|
-
declare function TextareaField<TFieldValues extends FieldValues$1 = FieldValues$1>({ cacheMeasurements, control, inputId, inputName, label, maxRows, minRows, onHeightChange, placeholder, resize, ...props }: ComponentProps<typeof Field> & {
|
|
239
|
+
export declare function TextareaField<TFieldValues extends FieldValues$1 = FieldValues$1>({ cacheMeasurements, control, inputId, inputName, label, maxRows, minRows, onHeightChange, placeholder, resize, ...props }: ComponentProps<typeof Field> & {
|
|
240
240
|
cacheMeasurements?: boolean;
|
|
241
241
|
control: Control<TFieldValues>;
|
|
242
242
|
inputId?: string;
|
|
@@ -249,5 +249,5 @@ declare function TextareaField<TFieldValues extends FieldValues$1 = FieldValues$
|
|
|
249
249
|
resize?: 'both' | 'none' | 'x' | 'y';
|
|
250
250
|
}): import("react").JSX.Element;
|
|
251
251
|
//#endregion
|
|
252
|
-
export {
|
|
252
|
+
export { type ErrorData, type FieldValues, type InferSchema, InputCheckboxRule, InputColorRule, InputEmailRule, InputNumberRule, InputPasswordRule, InputRule, InputSelectRule, InputTextRule, Message, type MessageParams, type Method, type Option, type RouteDefinition, type Ruleset, type Sanitized, type SanitizedValues, Schema, type SchemaOptions, type SchemaRule, type SchemaValues, i18n, useTsvResolver };
|
|
253
253
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/i18n.ts","../src/types/index.d.ts","../src/components/calendar-field.tsx","../src/components/checkbox-field.tsx","../src/components/input-field.tsx","../src/components/email-field.tsx","../src/components/error-monitor.tsx","../src/components/fancy-radio-field.tsx","../src/components/form.tsx","../src/components/hidden-field.tsx","../src/components/info-checkbox-field.tsx","../src/components/nullable-select-field.tsx","../src/components/numeric-field.tsx","../src/components/password-field.tsx","../src/components/select-field.tsx","../src/components/submit.tsx","../src/components/switch-field.tsx","../src/components/text-field.tsx","../src/components/textarea-field.tsx"],"mappings":";;;;;;;;;;;;;;cAMM,MAAM;;;KCHA;KAEA,gBAAgB,gBAAgB,SAAS;EACnD;KACG,gBAAgB;EAAa,SAAS;;EAAc,QAAQ;;UAEhD;EACf;EACA;EACA,OAAO;EACP;;UAGe;EACf;EACA,SAAS;;;;
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/i18n.ts","../src/types/index.d.ts","../src/components/calendar-field.tsx","../src/components/checkbox-field.tsx","../src/components/input-field.tsx","../src/components/email-field.tsx","../src/components/error-monitor.tsx","../src/components/fancy-radio-field.tsx","../src/components/form.tsx","../src/components/hidden-field.tsx","../src/components/info-checkbox-field.tsx","../src/components/nullable-select-field.tsx","../src/components/numeric-field.tsx","../src/components/password-field.tsx","../src/components/select-field.tsx","../src/components/submit.tsx","../src/components/switch-field.tsx","../src/components/text-field.tsx","../src/components/textarea-field.tsx"],"mappings":"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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gmcode/forms",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Fully functional inertia react forms with client side validations.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"i18next",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"./package.json": "./package.json"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@gmcode/react-ui": "0.4.
|
|
35
|
+
"@gmcode/react-ui": "0.4.1",
|
|
36
36
|
"@gmcode/tsv-hookform": "0.1.8",
|
|
37
37
|
"@gmcode/tsv-input": "0.3.3",
|
|
38
38
|
"i18next": "^26.3.4",
|
|
@@ -51,10 +51,11 @@
|
|
|
51
51
|
"@types/react": "^19.2.17",
|
|
52
52
|
"@types/react-dom": "^19.2.3",
|
|
53
53
|
"msw": "^2.15.0",
|
|
54
|
+
"sonner": "^2.0.8",
|
|
54
55
|
"typescript": "^6.0.3",
|
|
55
|
-
"vite": "npm:@voidzero-dev/vite-plus-core@0.3.
|
|
56
|
-
"vite-plus": "0.3.
|
|
57
|
-
"vitest": "4.1.
|
|
56
|
+
"vite": "npm:@voidzero-dev/vite-plus-core@0.3.3",
|
|
57
|
+
"vite-plus": "0.3.3",
|
|
58
|
+
"vitest": "4.1.11",
|
|
58
59
|
"vitest-browser-react": "^2.2.0"
|
|
59
60
|
},
|
|
60
61
|
"peerDependencies": {
|