This repository has been archived by the owner on Nov 29, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(deps): Bump react-hook-form from 7.45.1 to 7.47.0 in /api-edito…
…r/gui (#1446) Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form) from 7.45.1 to 7.47.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/react-hook-form/react-hook-form/releases">react-hook-form's releases</a>.</em></p> <blockquote> <h2>Version 7.47.0</h2> <p>🫡 allow keepIsSubmitSuccessful flag (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/9640">#9640</a>)</p> <pre lang="tsx"><code>const { reset } = useForm() <p><Form onSubmit={() => { reset(formValues, { keepIsSubmitSuccessful: true, }); }} /> </code></pre></p> <p>🦉 fix typo in form.ts (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10978">#10978</a>) 🤡 close <a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10907">#10907</a> potential fix on unmounted component (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10980">#10980</a>) 🪖 simplify logic for subscription by name (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10947">#10947</a>)</p> <p>thanks to <a href="https://github.com/stefanpl"><code>@stefanpl</code></a>, <a href="https://github.com/kai-dorschner-twinsity"><code>@kai-dorschner-twinsity</code></a> & <a href="https://github.com/nitschSB"><code>@nitschSB</code></a></p> <h2>Version 7.46.2</h2> <p>🐞 fix implicit type coercion (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10949">#10949</a>) 🙄 close <a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10932">#10932</a> omit disabled prop when not defined (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10937">#10937</a>) 🔧 fix controller test is dirty (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10899">#10899</a>)</p> <p>thanks to <a href="https://github.com/samimakicc"><code>@samimakicc</code></a> & <a href="https://github.com/pierluigigiancola"><code>@pierluigigiancola</code></a></p> <h2>Version 7.46.1</h2> <p>🐞 fix <a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10878">#10878</a> return disabled field state (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10879">#10879</a>)</p> <p>thanks to <a href="https://github.com/Moshyfawn"><code>@Moshyfawn</code></a></p> <h2>Version 7.46.0</h2> <p>🧟♂️ feat: support disabled prop for useController (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10810">#10810</a>)</p> <pre lang="tsx"><code>const [disabled, setDisabled] = useState(false) useController({ disabled }) </code></pre> <ul> <li>field value will be disabled</li> <li>field value will be omitted</li> </ul> <p>🫖 prevent reset argument mutation (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10847">#10847</a>) 🐞 fix: add exact option for array name in useWatch. (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10707">#10707</a>) 🐞 update isDirty when setting disabled in register (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10805">#10805</a>) 🧶 feat: trigger passed names to construct resolver options (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10590">#10590</a>)</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md">react-hook-form's changelog</a>.</em></p> <blockquote> <h2>[7.47.0] - 2023-10-02</h2> <h2>Added</h2> <ul> <li><code>reset</code> api with <code>keepIsSubmitSuccessful</code> option, keep successfully submitted form state.</li> </ul> <pre lang="tsx"><code><Form onSubmit={() => { reset(formValues, { keepIsSubmitSuccessful: true, }); }} /> </code></pre> <h2>[7.46.0] - 2023-09-03</h2> <h2>Added</h2> <ul> <li>Controller <code>disabled</code> prop</li> </ul> <pre lang="jsx"><code>const [disabled, setDisabled] = useState(false); useController({ disabled, }); </code></pre> <ul> <li>Trigger passed names to construct resolver options</li> <li>Add <code>exact</code> option for array name in <code>useWatch</code></li> </ul> <h2>Changed</h2> <ul> <li>Update <code>isDirty</code> when setting <code>disabled</code> in <code>register</code></li> </ul> <h2>Fixed</h2> <ul> <li>Prevent <code>reset</code> argument mutation</li> </ul> <h2>[7.45.0] - 2023-06-20</h2> <h2>Changed</h2> <ul> <li>Controller with type check on <code>onChange</code></li> </ul> <pre lang="diff"><code>- onChange: (...event: any[]) => void; + onChange: (event: ChangeEvent | FieldPathValue<TFieldValues, TName>) => void; </code></pre> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/react-hook-form/react-hook-form/commit/78f9870606db1887ba63b33d1432395c45b98377"><code>78f9870</code></a> 7.47.0</li> <li><a href="https://github.com/react-hook-form/react-hook-form/commit/d7d45c80d50f32b735c9d7574498e0242e130349"><code>d7d45c8</code></a> 🤡 close <a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10907">#10907</a> potential fix on unmounted component (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10980">#10980</a>)</li> <li><a href="https://github.com/react-hook-form/react-hook-form/commit/f540e343337902fec63e4b8639ded82101deb085"><code>f540e34</code></a> 🦉 fix typo in form.ts (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10978">#10978</a>)</li> <li><a href="https://github.com/react-hook-form/react-hook-form/commit/dab71a50841531779c7dd4151ff68c96e967bfae"><code>dab71a5</code></a> 📖 update README.md</li> <li><a href="https://github.com/react-hook-form/react-hook-form/commit/5dbe834b41b1b84dab2e89c1806fd06f714c81d9"><code>5dbe834</code></a> 🫡 allow <code>keepIsSubmitSuccessful</code> flag (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/9640">#9640</a>)</li> <li><a href="https://github.com/react-hook-form/react-hook-form/commit/ef34e906a983c6db0dba6fc166fcf07179df2889"><code>ef34e90</code></a> 📝 update README.md</li> <li><a href="https://github.com/react-hook-form/react-hook-form/commit/de4a917f801bf72434ecc199c9fa2773471199f3"><code>de4a917</code></a> 🪖 simplify logic for subscription by name (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10947">#10947</a>)</li> <li><a href="https://github.com/react-hook-form/react-hook-form/commit/75393f18fffc87e574fff08086689b8fc7f323af"><code>75393f1</code></a> 7.46.2</li> <li><a href="https://github.com/react-hook-form/react-hook-form/commit/27ff8af74c3f1a2198c1f8f52127c0e976b68ba3"><code>27ff8af</code></a> 🐞 fix implicit type coercion (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10949">#10949</a>)</li> <li><a href="https://github.com/react-hook-form/react-hook-form/commit/5fe56141a5b756e1d928efa0fbf2d5635edd8b58"><code>5fe5614</code></a> 🙄 close <a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10932">#10932</a> omit disabled prop when not defined (<a href="https://redirect.github.com/react-hook-form/react-hook-form/issues/10937">#10937</a>)</li> <li>Additional commits viewable in <a href="https://github.com/react-hook-form/react-hook-form/compare/v7.45.1...v7.47.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=react-hook-form&package-manager=npm_and_yarn&previous-version=7.45.1&new-version=7.47.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information