@sonordev/site-kit 2.6.1 → 2.6.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/dist/forms/index.d.mts +2 -0
- package/dist/forms/index.d.ts +2 -0
- package/dist/forms/index.js +395 -211
- package/dist/forms/index.js.map +1 -1
- package/dist/forms/index.mjs +329 -149
- package/dist/forms/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/forms/index.d.mts
CHANGED
|
@@ -353,6 +353,8 @@ interface UseFormReturn {
|
|
|
353
353
|
isLoading: boolean;
|
|
354
354
|
/** Error fetching form */
|
|
355
355
|
fetchError: Error | null;
|
|
356
|
+
/** Human-readable error from the last submit attempt (null when none) */
|
|
357
|
+
submitError: string | null;
|
|
356
358
|
/** All form fields */
|
|
357
359
|
allFields: FormField$2[];
|
|
358
360
|
/** Fields for current step (multi-step) or all fields (single step) */
|
package/dist/forms/index.d.ts
CHANGED
|
@@ -353,6 +353,8 @@ interface UseFormReturn {
|
|
|
353
353
|
isLoading: boolean;
|
|
354
354
|
/** Error fetching form */
|
|
355
355
|
fetchError: Error | null;
|
|
356
|
+
/** Human-readable error from the last submit attempt (null when none) */
|
|
357
|
+
submitError: string | null;
|
|
356
358
|
/** All form fields */
|
|
357
359
|
allFields: FormField$2[];
|
|
358
360
|
/** Fields for current step (multi-step) or all fields (single step) */
|