@mmb-digital/design-system-web 0.1.345 → 0.1.346

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 CHANGED
@@ -544,7 +544,7 @@ declare enum Spacing {
544
544
  xxxxl = "xxxxl",
545
545
  xxxxxl = "xxxxxl"
546
546
  }
547
- declare const resolveSpacingValue: (theme: Theme$1, spacing: Spacing) => "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "48px" | "56px" | "64px" | "0";
547
+ declare const resolveSpacingValue: (theme: Theme$1, spacing: Spacing) => "0" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "48px" | "56px" | "64px";
548
548
 
549
549
  declare enum WhiteSpace {
550
550
  inherit = "inherit",
@@ -1127,7 +1127,7 @@ declare enum BorderRadius {
1127
1127
  xl = "xl",
1128
1128
  full = "full"
1129
1129
  }
1130
- declare const resolveBorderRadiusValue: (theme: Theme$1, borderRadius: BorderRadius) => "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "9999px" | "0";
1130
+ declare const resolveBorderRadiusValue: (theme: Theme$1, borderRadius: BorderRadius) => "0" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "9999px";
1131
1131
 
1132
1132
  declare enum FlexWrap {
1133
1133
  noWrap = "noWrap",
@@ -1448,25 +1448,25 @@ declare const DatePickerControl: react.ForwardRefExoticComponent<DatePickerContr
1448
1448
  declare const DatePicker: react.ForwardRefExoticComponent<DatePickerControlProps & {
1449
1449
  label?: react.ReactNode;
1450
1450
  name?: string | undefined;
1451
- errorMessage?: react.ReactNode;
1452
- colorScheme?: ColorScheme | undefined;
1453
1451
  invalid?: boolean | undefined;
1454
- labelAs?: react.ElementType | undefined;
1455
- labelHiddenText?: string | undefined;
1456
- labelId?: string | undefined;
1457
- labelSuffix?: react.ReactNode;
1458
- tooltip?: TooltipInfoDescriptor | undefined;
1452
+ colorScheme?: ColorScheme | undefined;
1459
1453
  mediaType?: MediaType | undefined;
1460
1454
  addons?: FieldAddon[] | undefined;
1461
1455
  controlMobileWidth?: csstype.Property.Width | undefined;
1462
1456
  controlSectionWidth?: csstype.Property.Width | undefined;
1463
1457
  controlWidth?: csstype.Property.Width | undefined;
1458
+ errorMessage?: react.ReactNode;
1464
1459
  hiddenHintText?: react.ReactNode;
1465
1460
  hintText?: react.ReactNode;
1466
1461
  layout?: FieldWrapperLayout | undefined;
1467
1462
  note?: react.ReactNode;
1468
1463
  optionality?: FieldOptionality | undefined;
1469
1464
  successMessage?: react.ReactNode;
1465
+ labelAs?: react.ElementType | undefined;
1466
+ labelHiddenText?: string | undefined;
1467
+ labelId?: string | undefined;
1468
+ labelSuffix?: react.ReactNode;
1469
+ tooltip?: TooltipInfoDescriptor | undefined;
1470
1470
  } & react.RefAttributes<HTMLInputElement>>;
1471
1471
  type DatePickerProps = ComponentProps<typeof DatePicker>;
1472
1472
 
@@ -1483,25 +1483,25 @@ interface EmailInputControlProps extends InputProps {
1483
1483
  declare const EmailInput: react.ForwardRefExoticComponent<EmailInputControlProps & {
1484
1484
  label?: react.ReactNode;
1485
1485
  name?: string | undefined;
1486
- errorMessage?: react.ReactNode;
1487
- colorScheme?: ColorScheme | undefined;
1488
1486
  invalid?: boolean | undefined;
1489
- labelAs?: react.ElementType | undefined;
1490
- labelHiddenText?: string | undefined;
1491
- labelId?: string | undefined;
1492
- labelSuffix?: react.ReactNode;
1493
- tooltip?: TooltipInfoDescriptor | undefined;
1487
+ colorScheme?: ColorScheme | undefined;
1494
1488
  mediaType?: MediaType | undefined;
1495
1489
  addons?: FieldAddon[] | undefined;
1496
1490
  controlMobileWidth?: csstype.Property.Width | undefined;
1497
1491
  controlSectionWidth?: csstype.Property.Width | undefined;
1498
1492
  controlWidth?: csstype.Property.Width | undefined;
1493
+ errorMessage?: react.ReactNode;
1499
1494
  hiddenHintText?: react.ReactNode;
1500
1495
  hintText?: react.ReactNode;
1501
1496
  layout?: FieldWrapperLayout | undefined;
1502
1497
  note?: react.ReactNode;
1503
1498
  optionality?: FieldOptionality | undefined;
1504
1499
  successMessage?: react.ReactNode;
1500
+ labelAs?: react.ElementType | undefined;
1501
+ labelHiddenText?: string | undefined;
1502
+ labelId?: string | undefined;
1503
+ labelSuffix?: react.ReactNode;
1504
+ tooltip?: TooltipInfoDescriptor | undefined;
1505
1505
  } & react.RefAttributes<HTMLInputElement>>;
1506
1506
  type EmailInputProps = ComponentProps<typeof EmailInput>;
1507
1507
 
@@ -1585,25 +1585,25 @@ declare const FileInputControl: react.ForwardRefExoticComponent<FileInputControl
1585
1585
  declare const FileInput: react.ForwardRefExoticComponent<Omit<FileInputControlProps & {
1586
1586
  label?: react.ReactNode;
1587
1587
  name?: string | undefined;
1588
- errorMessage?: react.ReactNode;
1589
- colorScheme?: ColorScheme | undefined;
1590
1588
  invalid?: boolean | undefined;
1591
- labelAs?: react.ElementType | undefined;
1592
- labelHiddenText?: string | undefined;
1593
- labelId?: string | undefined;
1594
- labelSuffix?: react.ReactNode;
1595
- tooltip?: TooltipInfoDescriptor | undefined;
1589
+ colorScheme?: ColorScheme | undefined;
1596
1590
  mediaType?: MediaType | undefined;
1597
1591
  addons?: FieldAddon[] | undefined;
1598
1592
  controlMobileWidth?: csstype.Property.Width | undefined;
1599
1593
  controlSectionWidth?: csstype.Property.Width | undefined;
1600
1594
  controlWidth?: csstype.Property.Width | undefined;
1595
+ errorMessage?: react.ReactNode;
1601
1596
  hiddenHintText?: react.ReactNode;
1602
1597
  hintText?: react.ReactNode;
1603
1598
  layout?: FieldWrapperLayout | undefined;
1604
1599
  note?: react.ReactNode;
1605
1600
  optionality?: FieldOptionality | undefined;
1606
1601
  successMessage?: react.ReactNode;
1602
+ labelAs?: react.ElementType | undefined;
1603
+ labelHiddenText?: string | undefined;
1604
+ labelId?: string | undefined;
1605
+ labelSuffix?: react.ReactNode;
1606
+ tooltip?: TooltipInfoDescriptor | undefined;
1607
1607
  } & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
1608
1608
  type FileInputProps = ComponentProps<typeof FileInput>;
1609
1609
 
@@ -1854,25 +1854,25 @@ declare const MaskedInputBase: react.ForwardRefExoticComponent<Omit<MaskedInputB
1854
1854
  declare const MaskedInput: react.ForwardRefExoticComponent<Omit<MaskedInputBaseProps & {
1855
1855
  label?: react.ReactNode;
1856
1856
  name?: string | undefined;
1857
- errorMessage?: react.ReactNode;
1858
- colorScheme?: ColorScheme | undefined;
1859
1857
  invalid?: boolean | undefined;
1860
- labelAs?: react.ElementType | undefined;
1861
- labelHiddenText?: string | undefined;
1862
- labelId?: string | undefined;
1863
- labelSuffix?: react.ReactNode;
1864
- tooltip?: TooltipInfoDescriptor | undefined;
1858
+ colorScheme?: ColorScheme | undefined;
1865
1859
  mediaType?: MediaType | undefined;
1866
1860
  addons?: FieldAddon[] | undefined;
1867
1861
  controlMobileWidth?: csstype.Property.Width | undefined;
1868
1862
  controlSectionWidth?: csstype.Property.Width | undefined;
1869
1863
  controlWidth?: csstype.Property.Width | undefined;
1864
+ errorMessage?: react.ReactNode;
1870
1865
  hiddenHintText?: react.ReactNode;
1871
1866
  hintText?: react.ReactNode;
1872
1867
  layout?: FieldWrapperLayout | undefined;
1873
1868
  note?: react.ReactNode;
1874
1869
  optionality?: FieldOptionality | undefined;
1875
1870
  successMessage?: react.ReactNode;
1871
+ labelAs?: react.ElementType | undefined;
1872
+ labelHiddenText?: string | undefined;
1873
+ labelId?: string | undefined;
1874
+ labelSuffix?: react.ReactNode;
1875
+ tooltip?: TooltipInfoDescriptor | undefined;
1876
1876
  }, "ref"> & react.RefAttributes<HTMLInputElement>>;
1877
1877
  type MaskedInputProps = ComponentProps<typeof MaskedInput>;
1878
1878
 
@@ -1884,25 +1884,25 @@ declare const withMaskedInputField: <TProps extends ManagedMaskedInputProps>(Com
1884
1884
  declare const MaskedInputField: <TFieldValues extends FieldValues>(props: Omit<MaskedInputBaseProps & {
1885
1885
  label?: react.ReactNode;
1886
1886
  name?: string | undefined;
1887
- errorMessage?: react.ReactNode;
1888
- colorScheme?: ColorScheme | undefined;
1889
1887
  invalid?: boolean | undefined;
1890
- labelAs?: react.ElementType | undefined;
1891
- labelHiddenText?: string | undefined;
1892
- labelId?: string | undefined;
1893
- labelSuffix?: react.ReactNode;
1894
- tooltip?: TooltipInfoDescriptor | undefined;
1888
+ colorScheme?: ColorScheme | undefined;
1895
1889
  mediaType?: MediaType | undefined;
1896
1890
  addons?: FieldAddon[] | undefined;
1897
1891
  controlMobileWidth?: csstype.Property.Width | undefined;
1898
1892
  controlSectionWidth?: csstype.Property.Width | undefined;
1899
1893
  controlWidth?: csstype.Property.Width | undefined;
1894
+ errorMessage?: react.ReactNode;
1900
1895
  hiddenHintText?: react.ReactNode;
1901
1896
  hintText?: react.ReactNode;
1902
1897
  layout?: FieldWrapperLayout | undefined;
1903
1898
  note?: react.ReactNode;
1904
1899
  optionality?: FieldOptionality | undefined;
1905
1900
  successMessage?: react.ReactNode;
1901
+ labelAs?: react.ElementType | undefined;
1902
+ labelHiddenText?: string | undefined;
1903
+ labelId?: string | undefined;
1904
+ labelSuffix?: react.ReactNode;
1905
+ tooltip?: TooltipInfoDescriptor | undefined;
1906
1906
  }, "ref"> & react.RefAttributes<HTMLInputElement> & {
1907
1907
  name: react_hook_form.Path<TFieldValues>;
1908
1908
  options?: RegisterOptions<TFieldValues> | undefined;
@@ -2089,25 +2089,25 @@ declare const RadioButtonGroupControl: react.ForwardRefExoticComponent<RadioButt
2089
2089
  declare const RadioButtonGroup: react.ForwardRefExoticComponent<Omit<RadioButtonGroupControlProps & {
2090
2090
  label?: react.ReactNode;
2091
2091
  name?: string | undefined;
2092
- errorMessage?: react.ReactNode;
2093
- colorScheme?: ColorScheme | undefined;
2094
2092
  invalid?: boolean | undefined;
2095
- labelAs?: react.ElementType | undefined;
2096
- labelHiddenText?: string | undefined;
2097
- labelId?: string | undefined;
2098
- labelSuffix?: react.ReactNode;
2099
- tooltip?: TooltipInfoDescriptor | undefined;
2093
+ colorScheme?: ColorScheme | undefined;
2100
2094
  mediaType?: MediaType | undefined;
2101
2095
  addons?: FieldAddon[] | undefined;
2102
2096
  controlMobileWidth?: csstype.Property.Width | undefined;
2103
2097
  controlSectionWidth?: csstype.Property.Width | undefined;
2104
2098
  controlWidth?: csstype.Property.Width | undefined;
2099
+ errorMessage?: react.ReactNode;
2105
2100
  hiddenHintText?: react.ReactNode;
2106
2101
  hintText?: react.ReactNode;
2107
2102
  layout?: FieldWrapperLayout | undefined;
2108
2103
  note?: react.ReactNode;
2109
2104
  optionality?: FieldOptionality | undefined;
2110
2105
  successMessage?: react.ReactNode;
2106
+ labelAs?: react.ElementType | undefined;
2107
+ labelHiddenText?: string | undefined;
2108
+ labelId?: string | undefined;
2109
+ labelSuffix?: react.ReactNode;
2110
+ tooltip?: TooltipInfoDescriptor | undefined;
2111
2111
  } & react.RefAttributes<HTMLInputElement>, "ref"> & react.RefAttributes<HTMLInputElement>>;
2112
2112
  type RadioButtonGroupProps = ComponentProps<typeof RadioButtonGroup>;
2113
2113
 
@@ -2165,25 +2165,25 @@ declare const RadioGroupControl: react.ForwardRefExoticComponent<RadioGroupContr
2165
2165
  declare const RadioGroup: react.ForwardRefExoticComponent<Omit<RadioGroupControlProps & {
2166
2166
  label?: react.ReactNode;
2167
2167
  name?: string | undefined;
2168
- errorMessage?: react.ReactNode;
2169
- colorScheme?: ColorScheme | undefined;
2170
2168
  invalid?: boolean | undefined;
2171
- labelAs?: react.ElementType | undefined;
2172
- labelHiddenText?: string | undefined;
2173
- labelId?: string | undefined;
2174
- labelSuffix?: react.ReactNode;
2175
- tooltip?: TooltipInfoDescriptor | undefined;
2169
+ colorScheme?: ColorScheme | undefined;
2176
2170
  mediaType?: MediaType | undefined;
2177
2171
  addons?: FieldAddon[] | undefined;
2178
2172
  controlMobileWidth?: csstype.Property.Width | undefined;
2179
2173
  controlSectionWidth?: csstype.Property.Width | undefined;
2180
2174
  controlWidth?: csstype.Property.Width | undefined;
2175
+ errorMessage?: react.ReactNode;
2181
2176
  hiddenHintText?: react.ReactNode;
2182
2177
  hintText?: react.ReactNode;
2183
2178
  layout?: FieldWrapperLayout | undefined;
2184
2179
  note?: react.ReactNode;
2185
2180
  optionality?: FieldOptionality | undefined;
2186
2181
  successMessage?: react.ReactNode;
2182
+ labelAs?: react.ElementType | undefined;
2183
+ labelHiddenText?: string | undefined;
2184
+ labelId?: string | undefined;
2185
+ labelSuffix?: react.ReactNode;
2186
+ tooltip?: TooltipInfoDescriptor | undefined;
2187
2187
  } & react.RefAttributes<HTMLInputElement>, "ref"> & react.RefAttributes<HTMLInputElement>>;
2188
2188
  type RadioGroupProps = ComponentProps<typeof RadioGroup>;
2189
2189
 
@@ -2202,25 +2202,25 @@ interface SearchInputControlProps extends InputProps {
2202
2202
  declare const SearchInput: react.ForwardRefExoticComponent<SearchInputControlProps & {
2203
2203
  label?: ReactNode;
2204
2204
  name?: string | undefined;
2205
- errorMessage?: ReactNode;
2206
- colorScheme?: ColorScheme | undefined;
2207
2205
  invalid?: boolean | undefined;
2208
- labelAs?: react.ElementType | undefined;
2209
- labelHiddenText?: string | undefined;
2210
- labelId?: string | undefined;
2211
- labelSuffix?: ReactNode;
2212
- tooltip?: TooltipInfoDescriptor | undefined;
2206
+ colorScheme?: ColorScheme | undefined;
2213
2207
  mediaType?: MediaType | undefined;
2214
2208
  addons?: FieldAddon[] | undefined;
2215
2209
  controlMobileWidth?: csstype.Property.Width | undefined;
2216
2210
  controlSectionWidth?: csstype.Property.Width | undefined;
2217
2211
  controlWidth?: csstype.Property.Width | undefined;
2212
+ errorMessage?: ReactNode;
2218
2213
  hiddenHintText?: ReactNode;
2219
2214
  hintText?: ReactNode;
2220
2215
  layout?: FieldWrapperLayout | undefined;
2221
2216
  note?: ReactNode;
2222
2217
  optionality?: FieldOptionality | undefined;
2223
2218
  successMessage?: ReactNode;
2219
+ labelAs?: react.ElementType | undefined;
2220
+ labelHiddenText?: string | undefined;
2221
+ labelId?: string | undefined;
2222
+ labelSuffix?: ReactNode;
2223
+ tooltip?: TooltipInfoDescriptor | undefined;
2224
2224
  } & react.RefAttributes<HTMLInputElement>>;
2225
2225
  type SearchInputProps = ComponentProps<typeof SearchInput>;
2226
2226
 
@@ -2651,25 +2651,25 @@ interface TextAreaControlProps extends TextareaHTMLAttributes<HTMLTextAreaElemen
2651
2651
  declare const TextArea: react.ForwardRefExoticComponent<TextAreaControlProps & {
2652
2652
  label?: react.ReactNode;
2653
2653
  name?: string | undefined;
2654
- errorMessage?: react.ReactNode;
2655
- colorScheme?: ColorScheme | undefined;
2656
2654
  invalid?: boolean | undefined;
2657
- labelAs?: react.ElementType | undefined;
2658
- labelHiddenText?: string | undefined;
2659
- labelId?: string | undefined;
2660
- labelSuffix?: react.ReactNode;
2661
- tooltip?: TooltipInfoDescriptor | undefined;
2655
+ colorScheme?: ColorScheme | undefined;
2662
2656
  mediaType?: MediaType | undefined;
2663
2657
  addons?: FieldAddon[] | undefined;
2664
2658
  controlMobileWidth?: csstype.Property.Width | undefined;
2665
2659
  controlSectionWidth?: csstype.Property.Width | undefined;
2666
2660
  controlWidth?: csstype.Property.Width | undefined;
2661
+ errorMessage?: react.ReactNode;
2667
2662
  hiddenHintText?: react.ReactNode;
2668
2663
  hintText?: react.ReactNode;
2669
2664
  layout?: FieldWrapperLayout | undefined;
2670
2665
  note?: react.ReactNode;
2671
2666
  optionality?: FieldOptionality | undefined;
2672
2667
  successMessage?: react.ReactNode;
2668
+ labelAs?: react.ElementType | undefined;
2669
+ labelHiddenText?: string | undefined;
2670
+ labelId?: string | undefined;
2671
+ labelSuffix?: react.ReactNode;
2672
+ tooltip?: TooltipInfoDescriptor | undefined;
2673
2673
  } & react.RefAttributes<HTMLTextAreaElement>>;
2674
2674
  type TextAreaProps = ComponentProps<typeof TextArea>;
2675
2675
 
@@ -2686,25 +2686,25 @@ interface TextInputControlProps extends InputProps {
2686
2686
  declare const TextInput: react.ForwardRefExoticComponent<TextInputControlProps & {
2687
2687
  label?: react.ReactNode;
2688
2688
  name?: string | undefined;
2689
- errorMessage?: react.ReactNode;
2690
- colorScheme?: ColorScheme | undefined;
2691
2689
  invalid?: boolean | undefined;
2692
- labelAs?: react.ElementType | undefined;
2693
- labelHiddenText?: string | undefined;
2694
- labelId?: string | undefined;
2695
- labelSuffix?: react.ReactNode;
2696
- tooltip?: TooltipInfoDescriptor | undefined;
2690
+ colorScheme?: ColorScheme | undefined;
2697
2691
  mediaType?: MediaType | undefined;
2698
2692
  addons?: FieldAddon[] | undefined;
2699
2693
  controlMobileWidth?: csstype.Property.Width | undefined;
2700
2694
  controlSectionWidth?: csstype.Property.Width | undefined;
2701
2695
  controlWidth?: csstype.Property.Width | undefined;
2696
+ errorMessage?: react.ReactNode;
2702
2697
  hiddenHintText?: react.ReactNode;
2703
2698
  hintText?: react.ReactNode;
2704
2699
  layout?: FieldWrapperLayout | undefined;
2705
2700
  note?: react.ReactNode;
2706
2701
  optionality?: FieldOptionality | undefined;
2707
2702
  successMessage?: react.ReactNode;
2703
+ labelAs?: react.ElementType | undefined;
2704
+ labelHiddenText?: string | undefined;
2705
+ labelId?: string | undefined;
2706
+ labelSuffix?: react.ReactNode;
2707
+ tooltip?: TooltipInfoDescriptor | undefined;
2708
2708
  } & react.RefAttributes<HTMLInputElement>>;
2709
2709
  type TextInputProps = ComponentProps<typeof TextInput>;
2710
2710
 
@@ -2733,25 +2733,25 @@ interface TrailingTextInputControlProps extends InputProps {
2733
2733
  declare const TrailingTextInput: react.ForwardRefExoticComponent<TrailingTextInputControlProps & {
2734
2734
  label?: ReactNode;
2735
2735
  name?: string | undefined;
2736
- errorMessage?: ReactNode;
2737
- colorScheme?: ColorScheme | undefined;
2738
2736
  invalid?: boolean | undefined;
2739
- labelAs?: react.ElementType | undefined;
2740
- labelHiddenText?: string | undefined;
2741
- labelId?: string | undefined;
2742
- labelSuffix?: ReactNode;
2743
- tooltip?: TooltipInfoDescriptor | undefined;
2737
+ colorScheme?: ColorScheme | undefined;
2744
2738
  mediaType?: MediaType | undefined;
2745
2739
  addons?: FieldAddon[] | undefined;
2746
2740
  controlMobileWidth?: csstype.Property.Width | undefined;
2747
2741
  controlSectionWidth?: csstype.Property.Width | undefined;
2748
2742
  controlWidth?: csstype.Property.Width | undefined;
2743
+ errorMessage?: ReactNode;
2749
2744
  hiddenHintText?: ReactNode;
2750
2745
  hintText?: ReactNode;
2751
2746
  layout?: FieldWrapperLayout | undefined;
2752
2747
  note?: ReactNode;
2753
2748
  optionality?: FieldOptionality | undefined;
2754
2749
  successMessage?: ReactNode;
2750
+ labelAs?: react.ElementType | undefined;
2751
+ labelHiddenText?: string | undefined;
2752
+ labelId?: string | undefined;
2753
+ labelSuffix?: ReactNode;
2754
+ tooltip?: TooltipInfoDescriptor | undefined;
2755
2755
  } & react.RefAttributes<HTMLInputElement>>;
2756
2756
  type TrailingTextInputProps = ComponentProps<typeof TrailingTextInput>;
2757
2757
 
@@ -2839,11 +2839,11 @@ type UseFormReturn<TFieldValues extends FieldValues, TSubmitValues extends Field
2839
2839
  */
2840
2840
  declare const useForm: <TFieldValues extends FieldValues, TSubmitValues extends FieldValues | undefined = undefined>(props?: UseFormProps<TFieldValues>) => UseFormReturn<TFieldValues, TSubmitValues>;
2841
2841
 
2842
- interface FormProviderProps<TFieldValues extends FieldValues> {
2842
+ interface FormProviderProps<TFieldValues extends FieldValues, TSubmitValues extends FieldValues | undefined = undefined> {
2843
2843
  children: ReactNode;
2844
- form: UseFormReturn<TFieldValues>;
2844
+ form: UseFormReturn<TFieldValues, TSubmitValues>;
2845
2845
  }
2846
- declare const FormProvider: <TFieldValues extends FieldValues>(props: FormProviderProps<TFieldValues>) => react_jsx_runtime.JSX.Element;
2846
+ declare const FormProvider: <TFieldValues extends FieldValues, TSubmitValues extends FieldValues | undefined = undefined>(props: FormProviderProps<TFieldValues, TSubmitValues>) => react_jsx_runtime.JSX.Element;
2847
2847
 
2848
2848
  declare const FormConfigContext: react.Context<FormConfig>;
2849
2849
 
@@ -2856,7 +2856,7 @@ declare class ReCaptchaError extends Error {
2856
2856
  constructor(type: ReCaptchaErrorType);
2857
2857
  }
2858
2858
 
2859
- declare const useFormContext: <TFieldValues extends FieldValues>() => UseFormReturn<TFieldValues>;
2859
+ declare const useFormContext: <TFieldValues extends FieldValues, TSubmitValues extends FieldValues | undefined = undefined>() => UseFormReturn<TFieldValues, TSubmitValues>;
2860
2860
 
2861
2861
  declare const identityFormatter: afformative.Formatter<any, any, any, {
2862
2862
  [x: string]: any;