app
app copied to clipboard
chore(deps): bump @reach/alert-dialog from 0.16.2 to 0.17.0 in /packages/web
Bumps @reach/alert-dialog from 0.16.2 to 0.17.0.
Release notes
Sourced from @reach/alert-dialog's releases.
v0.17.0
💔 Breaking Changes
disclosure
- In uncontrolled disclosures, previously we would render the disclosure as open on the first render, regardless of the
defaultOpenprop's value. This was done as a progressive enhancement to ensure content was visible to users without JavaScript, but in most cases it just meant that the user might see a flash before the state would change, causing unwanted layout shift.- We simplified this by simply respecting the
defaultOpenprop's value on the initial render. If you want the old behavior, control the state of your disclosures and ensure that the initial open state is always set totrue, then set the desired state for the following render inuseEffect.tabs
- Removed the
isSelectedfrom from theTabcomponent. This prop was useful before we had hooks, but we can now get the selected tab from context without using render props. (2dd0aec73c4cc2a9a1936cb6c3e43933b2d2765f)🐛 Bugfixes
auto-id
- Use the user-provided ID beyond the first render for deterministic behavior (b2f3bc010091a0bc7a99985657137101a58036ef)
tabs
- Stop managing focus on mouse clicks to fix
:focus-visiblelistbox
- Update submit button
querySelectorspecificity to fix incorrect button clicks (#903)menu-button,combobox,listbox
- Skip rendering of portaled popovers before hydration. This prevents unwanted layout shift when the server-rendered popover mounts to a temporary DOM node (a8f38a497c0481156a4da1fecef955f398101327).
🤜🤛 8 Committers
- Ashlee M Boyer (
@ashleemboyer)- Jeff Grannes (
@jeffgrannes)- Jonathan (
@jhogervorst)- Kendall Strautman (
@kendallstrautman)- Kent C. Dodds (
@kentcdodds)- Vlad Yanchevsky (
@chevsky)- Zach Gotsch (
@zgotsch)@rainmodredv0.16.5
In
@reach/combobox, we added adata-expandedattribute to the parent wrapper and popover for simpler styling based on the expanded state of the input.v0.16.4
This release fixes a bug in Combobox where the selection in a controlled combobox input would trigger a flash with the stale value. We should always defer to the user's value when the input is controlled (Thanks
@arackaf!) -- #865v0.16.3
This release reverts a change in
Comboboxthat, while addressing the issue in #755, was not tested thoroughly enough and caused a regression where in some cases the popover doesn't open until the user presses the down or up key after initial input. If you updated to v0.16.3 specifically as a workaround to this issue, I apologize! A new fix is in progress for the next release, and I'm working to ensure it's a bit more battle tested this time around.
Commits
d206aefv0.17.02f8c47drefactor(alert-dialog): use new context hook- See full diff in compare view
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 commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Looks like @reach/alert-dialog is up-to-date now, so this is no longer needed.