@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 CHANGED
@@ -7,7 +7,7 @@
7
7
  ╚══════╝ ╚═════╝ ╚═╝ ╚══╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝
8
8
  ```
9
9
 
10
- Version 1.16.0 / License MIT / Copyright (c) 2025 Edmund Hung
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
@@ -31,6 +31,7 @@ export type Constraint = {
31
31
  step?: string | number;
32
32
  multiple?: boolean;
33
33
  pattern?: string;
34
+ accept?: string;
34
35
  };
35
36
  export type FormMeta<FormError> = {
36
37
  formId: string;
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 with related to the Constraint Validation API
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.16.0",
6
+ "version": "1.17.0",
7
7
  "main": "./dist/index.js",
8
8
  "module": "./dist/index.mjs",
9
9
  "types": "./dist/index.d.ts",