spekni
spekni copied to clipboard
Update dependency @headlessui/react to v1.7.15
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
@headlessui/react | 1.6.5 -> 1.7.15 |
Release Notes
tailwindlabs/headlessui
v1.7.15
Added
- [internal] add demo mode to
Menu
andPopover
components (#β2448)
Fixed
- Ensure
FocusTrap
is only active when the givenenabled
value istrue
(#β2456) - Stop
<Transition appear>
from overwriting classes on re-render (#β2457) - Improve control over
Menu
andListbox
options while searching (#β2471) - Consider clicks inside iframes to be "outside" (#β2485)
- Ensure moving focus within a
Portal
component, does not close thePopover
component (#β2492)
Changed
- Move
types
condition to the front (#β2469)
v1.7.14
Fixed
- Fix focus styles showing up when using the mouse (#β2347)
- Fix "Can't perform a React state update on an unmounted component." when using the
Transition
component (#β2374) - Add
FocusTrap
event listeners once document has loaded (#β2389) - Fix
className
hydration for<Transition appear>
(#β2390) - Improve
Combobox
types to improve false positives (#β2411) - Merge
className
correctly when itβs a function (#β2412) - Correctly handle IME composition in
<Combobox.Input>
(#β2426)
Added
- Add
form
prop to form-like components such asRadioGroup
,Switch
,Listbox
, andCombobox
(#β2356)
v1.7.13
Fixed
- Ensure
Transition
component completes if nothing is transitioning (#β2318) - Enable native label behavior for
<Switch>
where possible (#β2265) - Allow root containers from the
Dialog
component in theFocusTrap
component (#β2322) - Fix
XYZPropsWeControl
and cleanup internal TypeScript types (#β2329) - Fix invalid warning when using multiple
Popover.Button
components inside aPopover.Panel
(#β2333) - Fix restore focus to buttons in Safari, when
Dialog
component closes (#β2326)
v1.7.12
Added
- Add explicit props types for every component (#β2282)
Fixed
- Ensure the main tree and parent
Dialog
components are marked asinert
(#β2290) - Fix nested
Popover
components not opening (#β2293) - Make React types more compatible with other libraries (#β2282)
- Fix
Dialog
cleanup when theDialog
becomes hidden (#β2303)
v1.7.11
Fixed
- Ensure we handle
null
values for thedataRef
correctly (#β2258) - Move
aria-multiselectable
to[role=listbox]
in theCombobox
component (#β2271) - Re-focus
Combobox.Input
when aCombobox.Option
is selected (#β2272) - Ensure we reset the
activeOptionIndex
if the active option is unmounted (#β2274) - Improve
Ref
type for forwardedSwitch
's ref (#β2277) - Start cleanup phase of the
Dialog
component when going into theClosing
state (#β2264)
v1.7.10
Fixed
- Revert "Use the
import * as React from 'react'
pattern (#β2242)
v1.7.9
Fixed
- Fix SSR tab hydration when using Strict Mode in development (#β2231)
- Don't break overflow when multiple dialogs are open at the same time (#β2215)
- Fix "This
Suspense
boundary received an update before it finished hydrating" error in theDisclosure
component (#β2238) - Use the
import * as React from 'react'
pattern (#β2242)
v1.7.8
Fixed
- Fix SSR tab rendering on React 17 (#β2102)
- Fix arrow key handling in
Tab
(after DOM order changes) (#β2145) - Fix false positive warning about using multiple
<Popover.Button>
components (#β2146) - Fix
Tab
key with non focusable elements inPopover.Panel
(#β2147) - Fix false positive warning when using
<Popover.Button />
in React 17 (#β2163) - Fix
failed to removeChild on Node
bug (#β2164) - Donβt overwrite classes during SSR when rendering fragments (#β2173)
- Improve
Combobox
accessibility (#β2153) - Fix crash when reading
headlessuiFocusGuard
ofrelatedTarget
in theFocusTrap
component (#β2203) - Fix
FocusTrap
inDialog
when there is only 1 focusable element (#β2172) - Improve
Tabs
wrapping around when controlling the component and overflowing theselectedIndex
(#β2213) - Fix
shadow-root
bug closingDialog
containers (#β2217)
Added
- Allow setting
tabIndex
on theTab.Panel
(#β2214)
v1.7.7
Fixed
- Improve scroll restoration after
Dialog
closes (b20e48dd)
v1.7.6
Fixed
- Fix regression where
displayValue
crashes (#β2087) - Fix
displayValue
syncing whenCombobox.Input
is unmounted and re-mounted in different trees (#β2090) - Fix FocusTrap escape due to strange tabindex values (#β2093)
- Improve scroll locking on iOS (#β2100, 28234b0e)
v1.7.5
Fixed
- Reset form-like components when the parent
<form>
resets (#β2004) - Add warning when using
<Popover.Button />
multiple times (#β2007) - Ensure Popover doesn't crash when
focus
is going towindow
(#β2019) - Ensure
shift+home
andshift+end
works as expected in theCombobox.Input
component (#β2024) - Improve syncing of the
Combobox.Input
value (#β2042) - Fix crash when using
multiple
mode withoutvalue
prop (uncontrolled) forListbox
andCombobox
components (#β2058) - Apply
enter
andenterFrom
classes in SSR forTransition
component (#β2059) - Allow passing in your own
id
prop (#β2060) - Fix
Dialog
unmounting problem due to incorrecttransitioncancel
event in theTransition
component on Android (#β2071) - Ignore pointer events in Listbox, Menu, and Combobox when cursor hasn't moved (#β2069)
- Allow clicks inside dialog panel when target is inside shadow root (#β2079)
v1.7.4
Fixed
- Fix
<Popover.Button as={Fragment} />
crash (#β1889) - Expose
close
function forMenu
andMenu.Item
components (#β1897) - Fix
useOutsideClick
, add improvements for ShadowDOM (#β1914) - Fire
<Combobox.Input>
'sonChange
handler when changing the value internally (#β1916) - Add
client-only
to mark everything as client components (#β1981)
Added
- Warn when changing components between controlled and uncontrolled (#β1878)
v1.7.3
Fixed
- Improve
Portal
detection forPopover
components (#β1842) - Fix
useOutsideClick
swallowing events inside ShadowDOM (#β1876) - Fix
Tab
incorrectly activating onfocus
event (#β1887)
v1.7.2
Fixed
- Prevent option selection in
Combobox.Input
while composing (#β1850) - Ensure we handle the
static
prop inTab.Panel
components correctly (#β1856)
v1.7.1
Added
- [internal] add demo mode to
Menu
andPopover
components (#β2448)
Fixed
- Ensure
FocusTrap
is only active when the givenenabled
value istrue
(#β2456) - Stop
<Transition appear>
from overwriting classes on re-render (#β2457) - Improve control over
Menu
andListbox
options while searching (#β2471) - Consider clicks inside iframes to be "outside" (#β2485)
- Ensure moving focus within a
Portal
component, does not close thePopover
component (#β2492)
Changed
- Move
types
condition to the front (#β2469)
v1.7.0
Added
- Add
by
prop forListbox
,Combobox
andRadioGroup
(#β1482, #β1717, #β1814, #β1815) - Make form components uncontrollable (#β1683)
- Add
@headlessui/tailwindcss
plugin (#β1487)
Fixed
- Fixed SSR support on Deno (#β1671)
- Donβt close dialog when opened during mouse up event (#β1667)
- Donβt close dialog when drag ends outside dialog (#β1667)
- Fix outside clicks to close dialog when nested, unopened dialogs are present (#β1667)
- Close
Menu
component when usingtab
key (#β1673) - Resync input when display value changes (#β1679, #β1755)
- Ensure controlled
Tabs
don't change automagically (#β1680) - Don't scroll lock when a Transition + Dialog is mounted but hidden (#β1681)
- Allow
Popover
close
to be passed directly toonClick
handlers (#β1696) - Improve outside click on Safari iOS (#β1712)
- Improve event handler merging (#β1715)
- Fix incorrect scrolling to the bottom when opening a
Dialog
(#β1716) - Improve
Combobox
re-opening keyboard issue on mobile (#β1732) - Ensure
Disclosure.Panel
is properly linked (#β1747) - Only select the active option when using "singular" mode when pressing
<tab>
in theCombobox
component (#β1750) - Improve the types of the
Combobox
component (#β1761) - Only restore focus to the
Menu.Button
if necessary when activating aMenu.Option
(#β1782) - Don't scroll when wrapping around in focus trap (#β1789)
- Fix
Transition
component's incorrect cleanup and order of events (#β1803) - Ensure enter transitions work when using
unmount={false}
(#β1811) - Improve accessibility when announcing
Listbox.Option
andCombobox.Option
components (#β1812) - Fix
ref
stealing from children (#β1820) - Expose the
value
from theCombobox
andListbox
components render prop (#β1822) - Improve
scroll lock
on iOS (#β1824) - Fix maximum call stack size exceeded error on
Tab
component when usingas={Fragment}
(#β1826) - Fix "blank" screen on initial load of
Transition
component (#β1823)
v1.6.6
Fixed
- Ensure
CMD
+Backspace
works in nullable mode forCombobox
component (#β1617)
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
The latest updates on your projects. Learn more about Vercel for Git βοΈ
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
spekni | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Jun 7, 2023 4:56am |