deps: update dependency bits-ui to v2.19.5 #74
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/bits-ui-2.x-lockfile"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
2.18.2→2.19.5Release Notes
huntabyte/bits-ui (bits-ui)
v2.19.5Compare Source
Patch Changes
fix(Select): ensure
Select.Valuelabels persist after the select is closed (#2066)fix(DismissibleLayer): dismiss on a touch tap whose
clickfollows itspointerdownwithin a few milliseconds. The click listener was armed only after a 10ms debounce, so on WebKit (mobile Safari) a quick tap on a sibling trigger landed before it and left the open layer open beside the new one. (#2182)fix(body-scroll-lock): restore only modified body styles to preserve concurrent changes (#2175)
Fix
DateRangePickerandDateRangeFieldnot reformatting their segments when thelocaleprop changes after mount. (#2150)fix(FocusScope): trap and restore focus inside a Shadow Root. Focus reads now follow
shadowRoot.activeElementand thefocusintarget comes fromcomposedPath(), so Tab wraps within the scope and focus returns to a trigger inside the root on close. (#2180)v2.19.4Compare Source
Patch Changes
fix(PopperLayer): destructure the internal
forceMountprop out ofrestPropsso it stops leaking onto the rendered content element as an invalidforcemountattribute (Popover, Select, Combobox, DropdownMenu, ContextMenu, Menubar, Tooltip, LinkPreview) (#2176)fix(DismissibleLayer): dismiss on a touch tap even when the tapped element stops click propagation. Touch outside-dismissal waits for the tap's
clickon the document, and a bubbling listener never hears a click whose target handler callsstopPropagation(), so the layer stayed open behind elements that own their clicks. (#2155)v2.19.3Compare Source
Patch Changes
Prevent delayed focus-scope autofocus from overriding focus already established in the scope or a nested scope. (#2165)
fix(Dialog, AlertDialog): pass
preventOverflowTextSelectionto the text selection layer explicitly instead of letting it ride the rest props onto the rendered content element as apreventoverflowtextselectionattribute. (#2154)fix(Floating): ignore
autoUpdatecallbacks that fire after the floating element's effect is destroyed to avoidderived_inert(#2164)Fix
user-select: nonebeing stranded on<body>after clicking insideforceMounted content (Popover, Tooltip, Dialog, AlertDialog, Menu, Select), which left the whole page unselectable until a reload. (#2161)refactor: the context-menu attribute names and the floating root/anchor state move to leaf modules, so
DismissibleLayerno longer imports the menu module for two strings, andFloatingLayer/FloatingLayer.Anchorno longer import the floating content module (and@floating-ui/dom) to register a root and its trigger. No behaviour change. (#2158)fix(Menu): the trigger's
aria-controlslinks to the content when the menu starts open. The content registers its id by replacing a plain field on the menu state, which a trigger rendered before the content had already read as empty and never re-read; the registration is now reactive. (#2159)fix(Combobox): open the trigger on a touch tap instead of on touch down, so a finger that lands on it while scrolling no longer opens the list. Takes the Select trigger's touch timing. (#2156)
perf: avoid O(n) work per rendered item on hot paths (#2110)
Select/Combobox: item props now derive from per-item booleans, so moving the highlight or changing the value only rebuilds props (and re-diffs attributes) for the items that actually changed instead of every mounted itemSelect/Combobox(multiple): selection lookups use a set instead of scanning the value array once per itemCalendar/RangeCalendar:data-todayresolves the local timezone once per calendar rather than once per cellMenufamily: the document-levelpointermovelistener is only attached while keyboard mode is activeScrollArea,Slider,NavigationMenu: internal resize observation shares a singleResizeObserveracross all observed elementsfix(TimeField): keep the day period when typing the hour and then editing another segment in 12-hour mode (#2148)
Fix
user-select: nonebeing left on<body>when something else on the page callspreventDefault()on apointerup, which made the whole page unselectable. The text-selection layer's release is internal cleanup and no longer skipped when the event's default action has been cancelled. (#2163)fix(Collapsible): invalidate deferred measurements when content is replaced or destroyed (#2149)
Fix outside clicks being lost while dismissible content such as DropdownMenu is opening. (#2143)
v2.19.2Compare Source
Patch Changes
fix: render the
idattribute on Popper-based content elements (Tooltip, Popover, Select, Combobox, DropdownMenu, ContextMenu, Menubar, LinkPreview) soaria-describedbyon triggers resolves correctly (#2094)fix: restore body styles on the captured document when delayed scroll-lock cleanup runs after the global document is torn down or replaced (#2133)
fix: respect an explicit
Tabs.Contenttabindex while preserving the default panel tab stop (#2132)v2.19.1Compare Source
Patch Changes
fix(Avatar): detach image handlers on destroy and actually apply the load cleanup - #2050 (#2128)
fix(Menu):
Menu.GroupHeadingno longer setsrole="group",Menu.Separatornow setsrole="separator"(#2091)fix(DismissibleLayer): guard the deferred focus handler against teardown - #2080 (#2126)
fix(DateField): apply date segments in year/month/day order so a valid day isn't clamped by the placeholder's month in day-first locales (#2123)
fix(Select): keep the user's scroll position when the scroll down button remounts. The button unmounts at the bottom of the list and remounts as soon as the viewport leaves it, and its mount effect realigned the viewport onto the highlighted item, so a small scroll up from the bottom jumped back to the highlighted item. (#2109)
fix(DismissibleLayer): outside clicks shortly after a layer opens no longer fail to dismiss it (#2111)
DismissibleLayerStatereset its per-interaction state through a 20ms debounce. Because thelayer's
watchruns its cleanup once on every open, each layer scheduled a reset 20ms into itsown lifetime. An outside
pointerdownlanding 10-20ms after that cleanup had its"responsible layer" flag cleared by the stale reset before the debounced interact-outside
handler ran, so the handler bailed and the layer stayed open. The reset is now synchronous.
fix(ScrollArea): prevent resize work from reading destroyed state after unmount (#2122)
fix(Combobox): highlight the first matching item after custom filtering updates the rendered items. (#2129)
fix(Accordion): cancel deferred content work on destroy to avoid
derived_inert(#2127)v2.19.0Compare Source
Minor Changes
formto the hidden input (#2089)Patch Changes
fix(DateField): keep focus on the year while correcting its first digit (#2100)
fix(Tooltip): close
Tooltip.Triggeronpointerdownfor any pointer button so right/middle click dismiss the tooltip and cancel a pending delayed open (#2101)fix(RadioGroup): don't select item on pointer-driven focus- #2098 (#2098)
Configuration
📅 Schedule: (UTC)
🚦 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.
This PR has been generated by Mend Renovate CLI.
da31f54b151981becf4b1981becf4baac714bd0baac714bd0b4e168d8b464e168d8b468341de9aa4deps: update dependency bits-ui to v2.19.0to deps: update dependency bits-ui to v2.19.18341de9aa40b683dc3ebdeps: update dependency bits-ui to v2.19.1to deps: update dependency bits-ui to v2.19.20b683dc3eb2c81f64fe82c81f64fe85c3fed485c5c3fed485ca332dd9745a332dd9745002fce3faddeps: update dependency bits-ui to v2.19.2to deps: update dependency bits-ui to v2.19.3002fce3fad3aeb424ce93aeb424ce9c5b3911b43deps: update dependency bits-ui to v2.19.3to deps: update dependency bits-ui to v2.19.4c5b3911b43158541d593deps: update dependency bits-ui to v2.19.4to deps: update dependency bits-ui to v2.19.5View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.