solid-hook-form 1.5.3 → 1.6.0

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/README.md CHANGED
@@ -3,15 +3,15 @@
3
3
  [<img width="1291" height="834" alt="Screenshot 2025-10-17 at 02 07 00" src="https://github.com/user-attachments/assets/83ec4c9a-60e1-49be-9415-8f8b2df74d53" />](https://solid-hook-form.vercel.app)
4
4
 
5
5
  <p align="center">
6
- <a href="https://solid-hook-form.vercel.app/#/quickstart">Get started</a> |
6
+ <a href="https://solid-hook-form.vercel.app/get-started">Get started</a> |
7
7
  <a href="https://solid-hook-form-playground.vercel.app">Playground</a>
8
8
  </p>
9
9
 
10
10
  ### Features
11
11
 
12
- - Embraces native HTML form [validation](https://solid-hook-form.vercel.app/#/quickstart?id=apply-validation)
12
+ - Embraces native HTML form [validation](https://solid-hook-form.vercel.app/get-started#apply-validation)
13
13
  - [Small size](https://bundlephobia.com/package/solid-hook-form@latest) and no [dependencies](./package.json)
14
- - TypeScript [support](https://solid-hook-form.vercel.app/#/quickstart?id=typescript)
14
+ - TypeScript [support](https://solid-hook-form.vercel.app/get-started#typescript)
15
15
 
16
16
  ### Install
17
17
 
@@ -0,0 +1,4 @@
1
+ import { Path } from 'react-hook-form';
2
+ import { FormValues } from '../types/form';
3
+ import { Rules } from '../types/validate';
4
+ export declare const formatValue: <F extends FormValues, T>(value: T, rules: Rules<F, Path<F>>) => number | T;