@saas-ui/forms 2.6.7 → 2.6.8

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @saas-ui/forms
2
2
 
3
+ ## 2.6.8
4
+
5
+ ### Patch Changes
6
+
7
+ - fc62212: Fixed type of formRef to accept ref function handler
8
+
3
9
  ## 2.6.7
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -607,7 +607,7 @@ interface FormOptions<TSchema = unknown, TFieldValues extends FieldValues = Fiel
607
607
  /**
608
608
  * The Hook Form state ref.
609
609
  */
610
- formRef?: React$1.RefObject<UseFormReturn$1<TFieldValues, TContext>>;
610
+ formRef?: React$1.Ref<UseFormReturn$1<TFieldValues, TContext>>;
611
611
  /**
612
612
  * The form children, can be a render prop or a ReactNode.
613
613
  */
package/dist/index.d.ts CHANGED
@@ -607,7 +607,7 @@ interface FormOptions<TSchema = unknown, TFieldValues extends FieldValues = Fiel
607
607
  /**
608
608
  * The Hook Form state ref.
609
609
  */
610
- formRef?: React$1.RefObject<UseFormReturn$1<TFieldValues, TContext>>;
610
+ formRef?: React$1.Ref<UseFormReturn$1<TFieldValues, TContext>>;
611
611
  /**
612
612
  * The form children, can be a render prop or a ReactNode.
613
613
  */