@conform-to/react
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -75,3 +75,3 @@ /// <reference types="react" /> | ||
*/ | ||
value?: true; | ||
value?: boolean; | ||
}>; | ||
@@ -142,3 +142,3 @@ /** | ||
*/ | ||
export declare function getInputProps<Schema>(metadata: FieldMetadata<Schema, any, any>, options: InputOptions): InputProps; | ||
export declare function getInputProps<Schema, Options extends InputOptions>(metadata: FieldMetadata<Schema, any, any>, options: Options): InputProps & Pick<Options, 'type'>; | ||
/** | ||
@@ -145,0 +145,0 @@ * Derives the properties of a select element based on the field metadata, |
@@ -6,3 +6,3 @@ { | ||
"license": "MIT", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"main": "index.js", | ||
@@ -20,2 +20,11 @@ "module": "index.mjs", | ||
}, | ||
"scripts": { | ||
"build:js": "rollup -c", | ||
"build:ts": "tsc", | ||
"build": "pnpm run \"/^build:.*/\"", | ||
"dev:js": "pnpm run build:js --watch", | ||
"dev:ts": "pnpm run build:ts --watch", | ||
"dev": "pnpm run \"/^dev:.*/\"", | ||
"prepare": "pnpm run build" | ||
}, | ||
"repository": { | ||
@@ -35,7 +44,15 @@ "type": "git", | ||
"dependencies": { | ||
"@conform-to/dom": "1.1.2" | ||
"@conform-to/dom": "1.1.3" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.17.8", | ||
"@babel/preset-env": "^7.20.2", | ||
"@babel/preset-react": "^7.18.6", | ||
"@babel/preset-typescript": "^7.20.2", | ||
"@rollup/plugin-babel": "^5.3.1", | ||
"@rollup/plugin-node-resolve": "^13.3.0", | ||
"@types/react": "^18.2.43", | ||
"react": "^18.2.0" | ||
"react": "^18.2.0", | ||
"rollup-plugin-copy": "^3.4.0", | ||
"rollup": "^2.79.1" | ||
}, | ||
@@ -42,0 +59,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
93936
21
2256
10
+ Added@conform-to/dom@1.1.3(transitive)
- Removed@conform-to/dom@1.1.2(transitive)
Updated@conform-to/dom@1.1.3