@esmate/shadcn 3.5.0 → 3.5.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.
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { type UseFormProps, type UseFormReturn
|
|
2
|
-
import type
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
export declare function useZodForm(props: UseZodFormProps): UseFormReturn<FieldValues>;
|
|
1
|
+
import { type UseFormProps, type UseFormReturn } from "react-hook-form";
|
|
2
|
+
import { type ZodType, z } from "zod";
|
|
3
|
+
export declare function useZodForm<TSchema extends ZodType<any, any>>(props: Omit<UseFormProps<z.infer<TSchema>>, "resolver"> & {
|
|
4
|
+
schema: TSchema;
|
|
5
|
+
}): UseFormReturn<z.infer<TSchema>>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esmate/shadcn",
|
|
3
3
|
"description": "Shadcn components, hooks, and styles in one package.",
|
|
4
|
-
"version": "3.5.
|
|
4
|
+
"version": "3.5.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"repository": {
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"input-otp": "^1.4.2",
|
|
78
78
|
"lucide-react": "^0.544.0",
|
|
79
79
|
"next-themes": "^0.4.6",
|
|
80
|
-
"react-day-picker": "^9.
|
|
80
|
+
"react-day-picker": "^9.12.0",
|
|
81
81
|
"react-hook-form": "^7.67.0",
|
|
82
82
|
"react-resizable-panels": "^3.0.6",
|
|
83
83
|
"recharts": "2.15.4",
|