@conform-to/dom 1.16.0 → 1.17.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 +1 -1
- package/dist/form.d.ts +1 -0
- package/dist/types.d.ts +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
╚══════╝ ╚═════╝ ╚═╝ ╚══╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝
|
|
8
8
|
```
|
|
9
9
|
|
|
10
|
-
Version 1.
|
|
10
|
+
Version 1.17.0 / License MIT / Copyright (c) 2025 Edmund Hung
|
|
11
11
|
|
|
12
12
|
Progressively enhance HTML forms with React. Build resilient, type-safe forms with no hassle using web standards.
|
|
13
13
|
|
package/dist/form.d.ts
CHANGED
package/dist/types.d.ts
CHANGED
|
@@ -81,7 +81,7 @@ export type FieldName<FieldShape> = string & {
|
|
|
81
81
|
'~shape'?: FieldShape;
|
|
82
82
|
};
|
|
83
83
|
/**
|
|
84
|
-
* The input attributes
|
|
84
|
+
* The input attributes related to form field constraints
|
|
85
85
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Constraint_validation
|
|
86
86
|
*/
|
|
87
87
|
export type ValidationAttributes = {
|
|
@@ -93,6 +93,7 @@ export type ValidationAttributes = {
|
|
|
93
93
|
step?: string | number | undefined;
|
|
94
94
|
multiple?: boolean | undefined;
|
|
95
95
|
pattern?: string | undefined;
|
|
96
|
+
accept?: string | undefined;
|
|
96
97
|
};
|
|
97
98
|
/**
|
|
98
99
|
* A type helper that makes sure the FormError type is serializable.
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "A set of opinionated helpers built on top of the Constraint Validation API",
|
|
4
4
|
"homepage": "https://conform.guide",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "1.17.0",
|
|
7
7
|
"main": "./dist/index.js",
|
|
8
8
|
"module": "./dist/index.mjs",
|
|
9
9
|
"types": "./dist/index.d.ts",
|