diff --git a/examples/basic/package.json b/examples/basic/package.json index f01a1e90..84a9ba00 100644 --- a/examples/basic/package.json +++ b/examples/basic/package.json @@ -2,7 +2,7 @@ "name": "@conform-to/basic-example", "private": true, "dependencies": { - "@conform-to/react": "0.4.0-pre.2", + "@conform-to/react": "0.4.0-pre.3", "react": "^18.2.0", "react-dom": "^18.2.0", "react-scripts": "5.0.1" diff --git a/examples/material-ui/package.json b/examples/material-ui/package.json index bcf938b5..8d4a9aff 100644 --- a/examples/material-ui/package.json +++ b/examples/material-ui/package.json @@ -2,7 +2,7 @@ "name": "@conform-to/mui-example", "private": true, "dependencies": { - "@conform-to/react": "0.4.0-pre.2", + "@conform-to/react": "0.4.0-pre.3", "@emotion/react": "^11.10.0", "@emotion/styled": "^11.10.0", "@mui/material": "^5.10.2", diff --git a/examples/remix-run/package.json b/examples/remix-run/package.json index 1eedb90a..30f398f9 100644 --- a/examples/remix-run/package.json +++ b/examples/remix-run/package.json @@ -9,8 +9,8 @@ "start": "remix-serve build" }, "dependencies": { - "@conform-to/react": "0.4.0-pre.2", - "@conform-to/zod": "0.4.0-pre.2", + "@conform-to/react": "0.4.0-pre.3", + "@conform-to/zod": "0.4.0-pre.3", "@remix-run/node": "^1.6.3", "@remix-run/react": "^1.6.3", "@remix-run/serve": "^1.6.3", diff --git a/examples/todos/package.json b/examples/todos/package.json index 828cd8dc..10d2736b 100644 --- a/examples/todos/package.json +++ b/examples/todos/package.json @@ -2,7 +2,7 @@ "name": "@conform-to/todos-example", "private": true, "dependencies": { - "@conform-to/react": "0.4.0-pre.2", + "@conform-to/react": "0.4.0-pre.3", "react": "^18.2.0", "react-dom": "^18.2.0", "react-scripts": "5.0.1" diff --git a/examples/yup/package.json b/examples/yup/package.json index c8088f4b..6130985c 100644 --- a/examples/yup/package.json +++ b/examples/yup/package.json @@ -2,8 +2,8 @@ "name": "@conform-to/yup-example", "private": true, "dependencies": { - "@conform-to/react": "0.4.0-pre.2", - "@conform-to/yup": "0.4.0-pre.2", + "@conform-to/react": "0.4.0-pre.3", + "@conform-to/yup": "0.4.0-pre.3", "react": "^18.2.0", "react-dom": "^18.2.0", "react-scripts": "5.0.1", diff --git a/examples/zod/package.json b/examples/zod/package.json index 1273c2f7..ea15acfc 100644 --- a/examples/zod/package.json +++ b/examples/zod/package.json @@ -2,8 +2,8 @@ "name": "@conform-to/zod-example", "private": true, "dependencies": { - "@conform-to/react": "0.4.0-pre.2", - "@conform-to/zod": "0.4.0-pre.2", + "@conform-to/react": "0.4.0-pre.3", + "@conform-to/zod": "0.4.0-pre.3", "react": "^18.2.0", "react-dom": "^18.2.0", "react-scripts": "5.0.1", diff --git a/package-lock.json b/package-lock.json index 18349043..a027d83b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -36,7 +36,7 @@ "examples/basic": { "name": "@conform-to/basic-example", "dependencies": { - "@conform-to/react": "0.4.0-pre.2", + "@conform-to/react": "0.4.0-pre.3", "react": "^18.2.0", "react-dom": "^18.2.0", "react-scripts": "5.0.1" @@ -57,7 +57,7 @@ "examples/material-ui": { "name": "@conform-to/mui-example", "dependencies": { - "@conform-to/react": "0.4.0-pre.2", + "@conform-to/react": "0.4.0-pre.3", "@emotion/react": "^11.10.0", "@emotion/styled": "^11.10.0", "@mui/material": "^5.10.2", @@ -82,8 +82,8 @@ "name": "@conform-to/remix-example", "license": "MIT", "dependencies": { - "@conform-to/react": "0.4.0-pre.2", - "@conform-to/zod": "0.4.0-pre.2", + "@conform-to/react": "0.4.0-pre.3", + "@conform-to/zod": "0.4.0-pre.3", "@remix-run/node": "^1.6.3", "@remix-run/react": "^1.6.3", "@remix-run/serve": "^1.6.3", @@ -109,8 +109,8 @@ "name": "@conform-to/server-validation-example", "license": "MIT", "dependencies": { - "@conform-to/react": "0.4.0-pre.2", - "@conform-to/zod": "0.4.0-pre.2", + "@conform-to/react": "0.4.0-pre.3", + "@conform-to/zod": "0.4.0-pre.3", "@remix-run/node": "^1.6.3", "@remix-run/react": "^1.6.3", "@remix-run/serve": "^1.6.3", @@ -135,7 +135,7 @@ "examples/todos": { "name": "@conform-to/todos-example", "dependencies": { - "@conform-to/react": "0.4.0-pre.2", + "@conform-to/react": "0.4.0-pre.3", "react": "^18.2.0", "react-dom": "^18.2.0", "react-scripts": "5.0.1" @@ -156,8 +156,8 @@ "examples/yup": { "name": "@conform-to/yup-example", "dependencies": { - "@conform-to/react": "0.4.0-pre.2", - "@conform-to/yup": "0.4.0-pre.2", + "@conform-to/react": "0.4.0-pre.3", + "@conform-to/yup": "0.4.0-pre.3", "react": "^18.2.0", "react-dom": "^18.2.0", "react-scripts": "5.0.1", @@ -179,8 +179,8 @@ "examples/zod": { "name": "@conform-to/zod-example", "dependencies": { - "@conform-to/react": "0.4.0-pre.2", - "@conform-to/zod": "0.4.0-pre.2", + "@conform-to/react": "0.4.0-pre.3", + "@conform-to/zod": "0.4.0-pre.3", "react": "^18.2.0", "react-dom": "^18.2.0", "react-scripts": "5.0.1", @@ -26875,15 +26875,15 @@ }, "packages/conform-dom": { "name": "@conform-to/dom", - "version": "0.4.0-pre.2", + "version": "0.4.0-pre.3", "license": "MIT" }, "packages/conform-react": { "name": "@conform-to/react", - "version": "0.4.0-pre.2", + "version": "0.4.0-pre.3", "license": "MIT", "dependencies": { - "@conform-to/dom": "0.4.0-pre.2" + "@conform-to/dom": "0.4.0-pre.3" }, "peerDependencies": { "react": ">=16.8" @@ -26891,25 +26891,25 @@ }, "packages/conform-yup": { "name": "@conform-to/yup", - "version": "0.4.0-pre.2", + "version": "0.4.0-pre.3", "license": "MIT", "devDependencies": { "yup": "^0.32.11" }, "peerDependencies": { - "@conform-to/dom": "0.4.0-pre.2", + "@conform-to/dom": "0.4.0-pre.3", "yup": ">=0.32.0" } }, "packages/conform-zod": { "name": "@conform-to/zod", - "version": "0.4.0-pre.2", + "version": "0.4.0-pre.3", "license": "MIT", "devDependencies": { "zod": "^3.17.3" }, "peerDependencies": { - "@conform-to/dom": "0.4.0-pre.2", + "@conform-to/dom": "0.4.0-pre.3", "zod": "^3.0.0" } }, @@ -28179,7 +28179,7 @@ "@conform-to/basic-example": { "version": "file:examples/basic", "requires": { - "@conform-to/react": "0.4.0-pre.2", + "@conform-to/react": "0.4.0-pre.3", "@types/node": "^16.11.45", "@types/react": "^18.0.15", "@types/react-dom": "^18.0.6", @@ -28203,7 +28203,7 @@ "@conform-to/mui-example": { "version": "file:examples/material-ui", "requires": { - "@conform-to/react": "0.4.0-pre.2", + "@conform-to/react": "0.4.0-pre.3", "@emotion/react": "^11.10.0", "@emotion/styled": "^11.10.0", "@mui/material": "^5.10.2", @@ -28248,14 +28248,14 @@ "@conform-to/react": { "version": "file:packages/conform-react", "requires": { - "@conform-to/dom": "0.4.0-pre.2" + "@conform-to/dom": "0.4.0-pre.3" } }, "@conform-to/remix-example": { "version": "file:examples/remix-run", "requires": { - "@conform-to/react": "0.4.0-pre.2", - "@conform-to/zod": "0.4.0-pre.2", + "@conform-to/react": "0.4.0-pre.3", + "@conform-to/zod": "0.4.0-pre.3", "@remix-run/dev": "^1.6.3", "@remix-run/eslint-config": "^1.6.3", "@remix-run/node": "^1.6.3", @@ -28275,8 +28275,8 @@ "@conform-to/server-validation-example": { "version": "file:examples/server-validation", "requires": { - "@conform-to/react": "0.4.0-pre.2", - "@conform-to/zod": "0.4.0-pre.2", + "@conform-to/react": "0.4.0-pre.3", + "@conform-to/zod": "0.4.0-pre.3", "@remix-run/dev": "^1.6.3", "@remix-run/eslint-config": "^1.6.3", "@remix-run/node": "^1.6.3", @@ -28296,7 +28296,7 @@ "@conform-to/todos-example": { "version": "file:examples/todos", "requires": { - "@conform-to/react": "0.4.0-pre.2", + "@conform-to/react": "0.4.0-pre.3", "@types/node": "^16.11.45", "@types/react": "^18.0.15", "@types/react-dom": "^18.0.6", @@ -28323,8 +28323,8 @@ "@conform-to/yup-example": { "version": "file:examples/yup", "requires": { - "@conform-to/react": "0.4.0-pre.2", - "@conform-to/yup": "0.4.0-pre.2", + "@conform-to/react": "0.4.0-pre.3", + "@conform-to/yup": "0.4.0-pre.3", "@types/node": "^16.11.45", "@types/react": "^18.0.15", "@types/react-dom": "^18.0.6", @@ -28352,8 +28352,8 @@ "@conform-to/zod-example": { "version": "file:examples/zod", "requires": { - "@conform-to/react": "0.4.0-pre.2", - "@conform-to/zod": "0.4.0-pre.2", + "@conform-to/react": "0.4.0-pre.3", + "@conform-to/zod": "0.4.0-pre.3", "@types/node": "^16.11.45", "@types/react": "^18.0.15", "@types/react-dom": "^18.0.6", diff --git a/packages/conform-dom/package.json b/packages/conform-dom/package.json index e71618ea..71fc6adc 100644 --- a/packages/conform-dom/package.json +++ b/packages/conform-dom/package.json @@ -2,7 +2,7 @@ "name": "@conform-to/dom", "description": "A set of opinionated helpers built on top of the Constraint Validation API", "license": "MIT", - "version": "0.4.0-pre.2", + "version": "0.4.0-pre.3", "main": "index.js", "module": "module/index.js", "repository": { diff --git a/packages/conform-react/hooks.ts b/packages/conform-react/hooks.ts index 32231aa2..75efaf05 100644 --- a/packages/conform-react/hooks.ts +++ b/packages/conform-react/hooks.ts @@ -113,7 +113,7 @@ interface Form> { * Returns properties required to hook into form events. * Applied custom validation and define when error should be reported. * - * @see https://github.com/edmundhung/conform/tree/v0.4.0-pre.2/packages/conform-react/README.md#useform + * @see https://github.com/edmundhung/conform/tree/v0.4.0-pre.3/packages/conform-react/README.md#useform */ export function useForm>( config: FormConfig = {}, @@ -410,7 +410,7 @@ export interface FieldsetConfig> { /** * Returns all the information about the fieldset. * - * @see https://github.com/edmundhung/conform/tree/v0.4.0-pre.2/packages/conform-react/README.md#usefieldset + * @see https://github.com/edmundhung/conform/tree/v0.4.0-pre.3/packages/conform-react/README.md#usefieldset */ export function useFieldset>( ref: RefObject, @@ -633,7 +633,7 @@ type ListCommandPayload< * Returns a list of key and config, with a group of helpers * configuring buttons for list manipulation * - * @see https://github.com/edmundhung/conform/tree/v0.4.0-pre.2/packages/conform-react/README.md#usefieldlist + * @see https://github.com/edmundhung/conform/tree/v0.4.0-pre.3/packages/conform-react/README.md#usefieldlist */ export function useFieldList( ref: RefObject, @@ -813,7 +813,7 @@ interface InputControl void }> { * This is particular useful when integrating dropdown and datepicker whichs * introduces custom input mode. * - * @see https://github.com/edmundhung/conform/tree/v0.4.0-pre.2/packages/conform-react/README.md#usecontrolledinput + * @see https://github.com/edmundhung/conform/tree/v0.4.0-pre.3/packages/conform-react/README.md#usecontrolledinput */ export function useControlledInput< Element extends { focus: () => void } = HTMLInputElement, diff --git a/packages/conform-react/package.json b/packages/conform-react/package.json index d08b2e6a..db455167 100644 --- a/packages/conform-react/package.json +++ b/packages/conform-react/package.json @@ -2,7 +2,7 @@ "name": "@conform-to/react", "description": "Conform view adapter for react", "license": "MIT", - "version": "0.4.0-pre.2", + "version": "0.4.0-pre.3", "main": "index.js", "module": "module/index.js", "repository": { @@ -19,7 +19,7 @@ "url": "https://github.com/edmundhung/conform/issues" }, "dependencies": { - "@conform-to/dom": "0.4.0-pre.2" + "@conform-to/dom": "0.4.0-pre.3" }, "peerDependencies": { "react": ">=16.8" diff --git a/packages/conform-yup/package.json b/packages/conform-yup/package.json index bcd090a0..73d8e0ae 100644 --- a/packages/conform-yup/package.json +++ b/packages/conform-yup/package.json @@ -2,7 +2,7 @@ "name": "@conform-to/yup", "description": "Conform schema resolver for yup", "license": "MIT", - "version": "0.4.0-pre.2", + "version": "0.4.0-pre.3", "main": "index.js", "module": "module/index.js", "repository": { @@ -14,7 +14,7 @@ "url": "https://github.com/edmundhung/conform/issues" }, "peerDependencies": { - "@conform-to/dom": "0.4.0-pre.2", + "@conform-to/dom": "0.4.0-pre.3", "yup": ">=0.32.0" }, "devDependencies": { diff --git a/packages/conform-zod/package.json b/packages/conform-zod/package.json index 06578c6e..21469729 100644 --- a/packages/conform-zod/package.json +++ b/packages/conform-zod/package.json @@ -2,7 +2,7 @@ "name": "@conform-to/zod", "description": "Conform schema resolver for Zod", "license": "MIT", - "version": "0.4.0-pre.2", + "version": "0.4.0-pre.3", "main": "index.js", "module": "module/index.js", "repository": { @@ -14,7 +14,7 @@ "url": "https://github.com/edmundhung/conform/issues" }, "peerDependencies": { - "@conform-to/dom": "0.4.0-pre.2", + "@conform-to/dom": "0.4.0-pre.3", "zod": "^3.0.0" }, "devDependencies": {