downwrite
downwrite copied to clipboard
chore: bump @reach/dialog from 0.16.2 to 0.17.0
Bumps @reach/dialog from 0.16.2 to 0.17.0.
Release notes
Sourced from @reach/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
defaultOpen
prop'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
defaultOpen
prop'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
isSelected
from from theTab
component. 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-visible
listbox
- Update submit button
querySelector
specificity 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
)@rainmodred
v0.16.5
In
@reach/combobox
, we added adata-expanded
attribute 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
Combobox
that, 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
d206aef
v0.17.0- 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 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 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)
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated |
---|---|---|---|
downwrite | ❌ Failed (Inspect) | Jul 25, 2022 at 3:32PM (UTC) |
Superseded by #1249.