github unovue/reka-ui v3.0.0-alpha.1

pre-releaseone hour ago

   🚨 Breaking Changes

  • Require Vue 3.5 and Node 22, upgrade VueUse to 15  -  by @zernonia and Claude Fable 5.2 in #3156 (59107c8)
  • Use data-popup-open on popup triggers instead of data-state  -  by @zernonia and Claude Fable 5.2 in #3158 (77fdb17)
  • Remove deprecated aliases before 3.0  -  by @zernonia and Claude Fable 5.2 in #3205 (2234161)
  • Make v2's opt-in behaviour props the v3 default  -  by @zernonia and Claude Fable 5.2 in #3426 (8422304)
  • Combobox:
    • Use null as the empty value and allow '' items  -  by @zernonia and Claude Fable 5.2 in #3159 (45d9638)
    • Move focus on open and close as base ui does  -  by @zernonia and Claude Fable 5.2 in #3173 (5116ef9)
    • Clear the value from ComboboxCancel by default  -  by @zernonia and Claude Fable 5.2 in #3188 (7665bdb)
    • Add items with createComboboxItems and the ComboboxValue part  -  by @zernonia and Claude Fable 5.2 in #3206 (75ac7f8)
  • Form:
    • Reset form controls to their default value on a native form reset  -  by @zernonia and Claude Fable 5.2 in #3209 (bb1a79b)
  • NumberField:
    • Update the value while typing and add valueCommit  -  by @zernonia and Claude Fable 5.2 in #3167 (a9aba14)
  • Select:
    • Use null as the empty value and allow '' items  -  by @zernonia and Claude Fable 5.2 in #3157 (3fb1431)
    • Close on tab and move focus past the trigger  -  by @zernonia and Claude Fable 5.2 in #3168 (ae34c68)
  • Stepper:
    • Mark the current step on the trigger only, render the title as a div  -  by @zernonia and Claude Fable 5.2 in #3603 (a790b3d)
  • Tabs:
    • Select the first enabled tab without a default value  -  by @zernonia and Claude Fable 5.2 in #3164 (7d7ae95)
    • Activate on click and unmount inactive panels, as Base UI does  -  by @zernonia and Claude Fable 5.2 in #3172 (87d0b2a)
  • Toast:

   🚀 Features

  • Accept html attributes in component types for strict templates  -  by @zernonia and Claude Fable 5.2 in #3191 (5603e95)
  • Calendar, RangeCalendar, DateField:
  • Carousel:
  • Checkbox:
  • ColorSwatchPicker:
    • Leave keepFocusOnValueChange out of the inherited Listbox props  -  by @zernonia and Claude Fable 5.2 in #3325 (f382017)
  • Combobox:
  • ConfigProvider:
  • Dialog:
    • Add a style hook for dialogs below an open nested dialog  -  by @zernonia and Claude Fable 5.2 in #3407 (fd1273e)
    • Add a style hook for dialogs below an open nested dialog  -  by @zernonia and Claude Fable 5.2 in #3407 (523b334)
  • DropdownMenu, Menubar, ContextMenu:
  • Field:
    • Public useFieldControl, useField and useForm composables  -  by @zernonia and Claude Fable 5.2 in #3208 (f5a1e31)
  • Listbox:
    • Highlight an item without moving focus  -  by @zernonia and Claude Fable 5.2 in #3300 (bc39365)
    • Add keepFocusOnValueChange to keep focus on programmatic value changes  -  by @zernonia, @kricsleo and Claude Fable 5.2 in #3325 (60b6099)
    • Highlight an item without moving focus  -  by @zernonia and Claude Fable 5.2 in #3300 (fb5fe94)
    • Add keepFocusOnValueChange to keep focus on programmatic value changes  -  by @zernonia and Claude Fable 5.2 in #3325 (db527af)
  • NumberField:
    • Add keepValueOnUnparsableInput to keep the value when committed input cannot be parsed  -  by @61021 and Claude Fable 5.2 in #3024 (8134586)
    • Add keepValueOnUnparsableInput to keep the value when committed input cannot be parsed  -  by @zernonia and Claude Fable 5.2 in #3024 (68202b3)
  • NumberField, PinInput, Editable, Slider, ColorArea, ColorSlider, ColorSwatch:
  • PinInput:
  • Popover:
  • Popper:
    • Add an opt-in fallback to perpendicular sides on collisions  -  by @sean0407 and Claude Fable 5.2 in #3011 (7721b0f)
    • Add an opt-in fallback to perpendicular sides on collisions  -  by @zernonia and Claude Fable 5.2 in #3011 (895b0eb)
  • ScrollArea:
  • SliderArea:
  • Stepper:
  • TimeRangeField:
  • Toast:
  • agent:
    • Agent bridge with snapshot, query and act tools  -  by @zernonia and Claude Fable 5.2 in #3375 (93aaea4)
  • nuxt:
  • vapor:

   🐞 Bug Fixes

  • Set type="button" on Tooltip, HoverCard and NavigationMenu triggers  -  by @giaBaoJS and Claude Fable 5.2 in #3008 (71c9758)
  • Treat a press inside a trigger's shadow child as a trigger press  -  by @zernonia and Claude Fable 5.2 (08de633)
  • HoverCard close timer, Menu Space typeahead, PinInput index lookup  -  by @zernonia and Claude Fable 5.2 in #3195 (3fbd197)
  • Release closed dropdown menu and popover content  -  by @shuvroroy and Claude Fable 5.2 in #3202 (aed8509)
  • Respect a consumer id on triggers and keep aria-labelledby pointing at it  -  by @chiliec and Claude Fable 5.2 in #3060 (41ffb42)
  • Keep aria-controls pointing at the rendered content id  -  by @TerrorSquad and Claude Fable 5.2 in #2866 (9d38b79)
  • Keep overlay triggers' aria-controls resolvable or absent  -  by @zernonia and Claude Fable 5.2 in #3235 (7ba9cbb)
  • Let compiler-sfc resolve FieldRootEmits and renamed type exports  -  by @lazerg in #3233 (47e7990)
  • Reference overlay content only while its element is rendered  -  by @zernonia and Claude Fable 5.2 in #3242 (d36c6a3)
  • Declare payload-less emits as [] instead of [void]  -  by @zernonia and Claude Fable 5.2 in #3250 (236af4c)
  • Emit forwarded content events once  -  by @zernonia and Claude Fable 5.2 in #3252 (267ab8e)
  • Keep fallthrough attributes on parts whose template started with a comment  -  by @benjamincanac in #3256 (8eecd97)
  • Clear HoverCard timers and the Tooltip pointerup listener on unmount  -  by @rivajunior and Claude Fable 5.2 in #3293 (cff36a3)
  • Omit the disabled attribute when a part rendered as a non-button is enabled  -  by @zernonia and Claude Fable 5.2 in #3327 (1cc2b21)
  • Follow a consumer id on referenced parts  -  by @zernonia and Claude Fable 5.2 in #3377 (9025f41)
  • Keep dev warnings in the published build  -  by @zernonia and Claude Fable 5.2 in #3382 (f601db2)
  • Keyboard and ARIA fixes for Splitter, TagsInput, calendars and Pagination  -  by @zernonia and Claude Fable 5.2 in #3388 (ca9fba4)
  • Editable, NumberField, PinInput and ColorArea bug fixes  -  by @zernonia and Claude Fable 5.2 in #3385 (9207426)
  • Connect v2's new families and shared modules to v3's barrels  -  by @zernonia and Claude Fable 5.2 (6c4348c)
  • List the merged components once in constant/components.ts  -  by @zernonia and Claude Fable 5.2 (e8487ea)
  • Pagination clampPage under Vapor and destructured Menu context hooks  -  by @zernonia and Claude Fable 5.2 in #3433 (a90e93d)
  • Port v2.12 fixes to v3  -  by @zernonia and Claude Fable 5.2 in #3434 (f262e5b)
  • Reset as-child controls and ColorSwatchPicker with their form  -  by @zernonia and Claude Fable 5.2 in #3435 (b4a05c0)
  • Move SliderArea parts and ScrollAreaVirtualizer onto the element-first ref contract  -  by @zernonia and Claude Fable 5.2 in #3443 (781620b)
  • Stop wrapper-only attrs rendering on Dialog, Drawer and Combobox content  -  by @zernonia and Claude Fable 5.2 in #3514 (44acb2e)
  • Port the v2 form-family fixes to v3 (Field, Form, TagGroup, Stepper, NumberField, Slider, Splitter, Collapsible)  -  by @zernonia and Claude Fable 5.2 in #3596 (8ec5aa8)
  • Alpha.1 leftovers (DateField zero entry, step snap at max, Combobox search-term attribute)  -  by @zernonia and Claude Fable 5.2 in #3602 (c3bad7d)
  • Accordion:
    • Label the content by the id on an asChild trigger's child  -  by @zernonia and Claude Fable 5.2 in #3060 (ad71c27)
  • AlertDialog:
  • Autocomplete:
  • Autocomplete, Drawer:
    • Declare renamed prop and emit types as aliases  -  by @tlq5l and Claude Fable 5.2 in #3122 (34bd5c3)
  • Calendar:
    • Keep disabled and outside cells out of the tab order in every picker  -  by @lazerg and Claude Fable 5.2 in #3280 (9220c8c)
    • Name the prev and next buttons of the month and year views with their own messages  -  by @zernonia and Claude Fable 5.2 in #3418 (f520ab3)
  • Calendar, RangeCalendar:
    • Keep disabled and outside cells out of the tab order in every view  -  by @zernonia and Claude Fable 5.2 in #3280 (5c75edd)
    • Handle the numeric keypad in cell triggers  -  by @zernonia and Claude Fable 5.2 in #3388 (cac284a)
  • Calendar, RangeCalendar, DatePicker, DateRangePicker:
    • Omit the disabled attribute when an enabled part renders as a non-button  -  by @zernonia and Claude Fable 5.2 in #3327 (179a346)
  • Calendar, RangeCalendar, DatePicker, DateRangePicker, DateField, DateRangeField, TimeField, TimeRangeField:
    • Key internal contexts with createRekaContext  -  by @zernonia and Claude Fable 5.2 in #2763 (53eafa1)
  • Carousel:
  • Checkbox:
  • Checkbox, RadioGroup:
    • Make the first focusable item the tab stop before mount when no item is active  -  by @zernonia and Claude Fable 5.2 in #3369 (2e7a4ad)
  • Checkbox, RadioGroup, Field:
    • Let compiler-sfc resolve FieldRootEmits and renamed type exports  -  by @zernonia and Claude Fable 5.2 in #3233 (f16be86)
  • Checkbox, Switch:
    • Allow different types for trueValue and falseValue  -  by @xerox0213 and Claude Fable 5.2 in #3031 (0421b95)
  • Checkbox, Switch, ColorField, Editable, PinInput:
    • Omit the disabled attribute when rendered as an enabled non-button  -  by @zernonia and Claude Fable 5.2 in #3327 (4bd024a)
  • Collapsible:
    • Do not replay the open animation when content is moved  -  by @zernonia and Claude Fable 5.2 in #3165 (85dc49e)
    • Keep the animation replay guard off a toggle in the same frame  -  by @zernonia and Claude Fable 5.2 (d53be6c)
  • Collection:
  • ColorArea:
  • ColorField:
  • ColorSwatch:
    • Keep the contrast color warning in the published build  -  by @zernonia and Claude Fable 5.2 (f9dca43)
    • Warn only for a color it cannot read  -  by @zernonia and Claude Fable 5.2 in #3382 (c3ae840)
  • Combobox:
  • Combobox,Popover,DismissableLayer:
    • Port the popup fixes from v2 for alpha.1  -  by @zernonia, Claude Fable 5.2 and Benjamin Canac in #3595 (bf59630)
  • ContextMenu:
  • DateField:
  • DatePicker, DateRangePicker:
    • Keep Popover's unmountOnHide off the picker roots  -  by @zernonia and Claude Fable 5.2 in #2066 (e270dbe)
  • DateRangeField:
    • Do not check the day after a single-day range  -  by @zernonia and Claude Fable 5.2 (15ca676)
  • DateRangeField, TimeRangeField:
    • Submit an empty value for an empty range so required validation works  -  by @zernonia and Claude Fable 5.2 in #3228 (bbc43fb)
    • Submit an empty value until the range is complete  -  by @zernonia and Claude Fable 5.2 in #3228 (3febd1f)
  • Dialog:
    • Fall back to the trigger and re-record focus on each open  -  by @zernonia and Claude Fable 5.2 in #3169 (0e674f7)
    • Keep body scroll locked until the exit animation has finished  -  by @zernonia, yan-ad and Claude Fable 5.2 in #3240 (7f40da5)
    • Release the exit scroll lock when the dialog reopens without an overlay  -  by @zernonia and Claude Fable 5.2 in #3247 (5b9b814)
    • Leave focus in another layer when a kept-mounted dialog finishes closing  -  by @zernonia and Claude Fable 5.2 in #3254 (618614b)
    • Return focus to the right element when opened under another dialog  -  by @ValentinYoushkevich in #3286 (add3807)
    • Release the dismissal layer when the dialog closes  -  by @shuvroroy and Claude Fable 5.2 in #3344 (2ba1443)
    • Return focus to the right element when opened under another dialog  -  by @zernonia and Claude Fable 5.2 in #3286 (947d79d)
    • Release the dismissal layer when the dialog closes  -  by @zernonia and Claude Fable 5.2 in #3344 (1e8073e)
    • Release closed content from a root that stays mounted  -  by @zernonia and Claude Fable 5.2 in #3202 (dafda9a)
    • Render the trigger and close with renderAsControl (port of #3327, #3370)  -  by @zernonia and Claude Fable 5.2 in #3327 and #3370 (be328e3)
    • Key contexts with createRekaContext  -  by @zernonia and Claude Fable 5.2 in #2763 (9236aaf)
    • Reference the first consumer id and an asChild child's id  -  by @zernonia and Claude Fable 5.2 in #3377 (24944af)
    • Drop the trigger's aria-controls while the content isn't rendered (port of #3235, #3242)  -  by @zernonia and Claude Fable 5.2 in #3235 and #3242 (36c87ab)
    • Keep the internal backdrop below the DialogOverlay  -  by @zernonia and Claude Fable 5.2 (f5ca7f7)
  • DismissableLayer:
    • Close a layer when a trigger outside it opens another  -  by @yan-ad in #2741 (bbcc2e0)
    • Handle a touch press's focus move after the press  -  by @zernonia and Claude Fable 5.2 in #3366 (d693cad)
    • Close a layer when a trigger outside it opens another  -  by @zernonia and Claude Fable 5.2 in #2741 (993f45b)
    • Handle a touch press's focus move after the press  -  by @zernonia and Claude Fable 5.2 in #3366 (f26374b)
    • Keep unpositioned modal content above its internal backdrop  -  by @zernonia and Claude Fable 5.2 (8ea9b07)
    • Keep a backdrop press from dropping the returned focus on body  -  by @zernonia and Claude Fable 5.2 (186de25)
    • Keep the returned focus after a backdrop press in WebKit  -  by @zernonia and Claude Fable 5.2 (a085e63)
    • Record touch press eligibility by layer, not stack index  -  by @zernonia and Claude Fable 5.2 in #3438 (4def252)
  • Drawer:
  • DropdownMenu:
  • DropdownMenu, Menubar, NavigationMenu:
    • Omit the disabled attribute on an enabled non-button trigger  -  by @zernonia and Claude Fable 5.2 in #3327 (ddca582)
  • Editable:
  • Field:
  • FocusScope:
    • Treat a native radio group as one tab stop  -  by @ybai08 and Claude Fable 5.2 in #3019 (2c82d3f)
    • Leave controls disabled by a fieldset out of the tab order  -  by @zernonia and Claude Fable 5.2 in #3218 (1a6ae6f)
    • Remove the scope from the stack when it unmounts before its mount effect finishes  -  by @rivajunior and Claude Fable 5.2 in #3290 (30b0e75)
    • Resume a scope when it returns to the top of the stack  -  by @zernonia, Tran Manh Dung and Claude Fable 5.2 in #3320 (5c181e7)
    • Do not pull focus into a paused scope, recover when it resumes  -  by @ShangYJQ in #3336 (8a9e6de)
    • Treat a native radio group as one tab stop, skip fieldset-disabled controls (port of #3019, #3218)  -  by @zernonia and Claude Fable 5.2 in #3019 and #3218 (5a6ead5)
    • Do not pull focus into a paused scope, recover when it resumes  -  by @zernonia and Claude Fable 5.2 in #3336 (fc206b2)
    • Keep focus on a first field that already has it  -  by @zernonia and Claude Fable 5.2 in #3527 (c6fc13a)
  • HoverCard:
  • HoverCard, Tooltip:
    • Clear HoverCard timers and the Tooltip pointerup listener on unmount  -  by @zernonia and Claude Fable 5.2 in #3293 (d59e6c0)
  • Listbox:
  • Listbox, Combobox:
    • Clear aria-activedescendant when the content closes  -  by @lazerg and Claude Fable 5.2 in #3026 (318bfc6)
    • Keep the highlighted option mounted in a virtualized list  -  by @jrandolf in #3211 (47587f0)
    • Release the highlight of an item that leaves the document  -  by @jrandolf in #3215 (4ba3077)
    • Keep the highlight on its option when a virtualized list reorders  -  by @zernonia and Claude Fable 5.2 in #3229 (8f30f49)
    • Keep the highlighted row mounted and on its option in a virtualized list (port of #3211, #3229)  -  by @zernonia and Claude Fable 5.2 in #3211 and #3229 (a5cf5d0)
  • Menu:
    • Keep the submenu open when the highlight returns to its trigger  -  by @javangriff in #2999 (75747cc)
    • Forward sideFlip, alignFlip and the other positioning props to the popper content  -  by @zernonia and Claude Fable 5.2 in #3232 (0629c58)
    • Extend typeahead with Space while a search is in progress  -  by @ValentinYoushkevich and Claude Fable 5.2 in #3340 (641116c)
    • Release a closing menu's dismissal layer at close start  -  by @zernonia and Claude Fable 5.2 in #3371 (b930993)
    • Forward sideFlip, alignFlip and the other positioning props to the popper content  -  by @zernonia and Claude Fable 5.2 in #3232 (36b0d92)
    • Put Space in the typeahead search behind spaceExtendsTypeahead  -  by @zernonia and Claude Fable 5.2 in #3340 (91a59ae)
    • Release a closing menu's dismissal layer at close start  -  by @zernonia and Claude Fable 5.2 in #3371 (83b004a)
    • Release closed content without clearing replacements  -  by @zernonia and Claude Fable 5.2 in #3202 (997034c)
    • Keep the internal present props out of the sub content props  -  by @zernonia and Claude Fable 5.2 (23a25c0)
    • Adopt consumer sub-trigger and sub-content ids, reference only a rendered content (port of #3060, #3235, #3242)  -  by @zernonia and Claude Fable 5.2 in #3060, #3235 and #3242 (07ae306)
    • Reference a consumer id on MenuLabel  -  by @zernonia and Claude Fable 5.2 in #3377 (0fc6b57)
  • Menu, ContextMenu, Drawer:
  • Menu, Tooltip, HoverCard, NavigationMenu:
  • Menubar:
  • MonthPicker:
  • NavigationMenu:
  • NumberField:
    • Clear percent input that has no numeral instead of committing zero  -  by @zernonia and Claude Fable 5.2 in #3220 (1d1ef42)
    • Clear percent input that has no numeral instead of committing zero  -  by @zernonia and Claude Fable 5.2 in #3220 (72d55df)
    • Ignore Home and End when readonly or disabled  -  by @zernonia and Claude Fable 5.2 in #3385 (fe5eb99)
    • Render the increment and decrement buttons with renderAsControl (port of #3327, #3370)  -  by @zernonia and Claude Fable 5.2 in #3327 and #3370 (4b9048b)
  • NumberField, PinInput, Editable, Slider, ColorArea, ColorField, ColorSlider, ColorSwatchPicker, Checkbox, RadioGroup, Switch, Rating, Field, Form:
  • Pagination:
  • PinInput:
  • Popover:
  • Popover, Menubar:
  • Popper:
    • Preserve positioning when composing floating triggers  -  by @shuvroroy in #3213 (f3edab1)
    • Keep popups in place and drop pending opens when a KeepAlive page is deactivated  -  by @ValentinYoushkevich and Claude Fable 5.2 in #3343 (4c3f6aa)
    • Preserve positioning when composing floating triggers  -  by @zernonia and Claude Fable 5.2 in #3213 (87f8f8d)
    • Keep popups in place and drop pending opens when a KeepAlive page is deactivated  -  by @zernonia and Claude Fable 5.2 in #3343 (c483034)
    • Declare the payload-less placed emit as [] instead of [void]  -  by @zernonia and Claude Fable 5.2 in #3250 (0190828)
    • Measure the arrow while positioning, so a late arrow is offset  -  by @zernonia and Claude Fable 5.2 in #3479 (0acf352)
  • Presence:
    • A close during the enter no longer waits for that enter  -  by @zernonia and Claude Fable 5.2 in #3450 (6df2664)
  • Primitive:
  • Progress:
  • RadioGroup:
  • Rating:
  • RovingFocus:
  • RovingFocus, Toolbar, Tree, TagGroup, ToggleGroup:
  • ScrollArea:
    • Unwrap hasThumb ref for thumb data-state  -  by @tlq5l and Claude Fable 5.2 in #3035 (83f8f16)
    • Stop thumb RAF loop after scrolling  -  by @yan-ad in #3036 (97fbbaf)
    • Port the idle thumb frame loop from v2  -  by @zernonia and Claude Fable 5.2 (bdf17ec)
    • Respect viewport tabindex overrides  -  by @shuvroroy and Claude Fable 5.2 in #3355 (c0eaaa9)
    • Listen for wheel events on the scrollbar instead of the document  -  by @ShangYJQ and ShangYJQ in #3337 (34178a8)
    • Listen for wheel events on the scrollbar instead of the document  -  by @zernonia and Claude Fable 5.2 in #3337 (28a8780)
    • Respect viewport tabindex overrides  -  by @zernonia and Claude Fable 5.2 in #3355 (753c2c5)
    • Read the viewport ref's value before writing to it  -  by @zernonia and Claude Fable 5.2 in #3297 (a807f5a)
  • Select:
    • Disable options when root is disabled  -  by @Xapollon430 and Claude Fable 5.2 in #3127 (cac55aa)
    • Select touch and pen items on click so a scroll cannot pick one  -  by @nahojj and Claude Fable 5.2 in #3134 (6a1565c)
    • Select the typed match while the trigger is closed  -  by @samyipsh and Claude Fable 5.2 in #3061 (bc42a92)
    • Play the exit animation of item-aligned content  -  by @zernonia and Claude Fable 5.2 in #3251 (7a5bb1c)
    • Keep the selected label while the menu closes  -  by @dominic-soh and Cursor in #3180 (4c84f84)
    • Submit every value of a multiple Select in a form  -  by @ValentinYoushkevich and Claude Fable 5.2 in #3345 (0b2e1f4)
    • Keep the content for the leave of a Vue Transition around it  -  by @zernonia and Claude Fable 5.2 in #3417 (81ae0f1)
    • Stop rendering the content's own props as DOM attributes  -  by @zernonia and Claude Fable 5.2 (3988b7e)
    • Disable options when the root is disabled  -  by @zernonia and Claude Fable 5.2 in #3127 (f5c8c8e)
    • Select touch items on click so a scroll cannot pick one  -  by @zernonia and Claude Fable 5.2 in #3134 (45ddf3f)
    • Match same-text items, select through the item and focus while open in the trigger typeahead  -  by @zernonia and Claude Fable 5.2 in #3061 (5d7ff3a)
    • Submit the nullable value of a multiple Select whose model is null  -  by @zernonia and Claude Fable 5.2 in #3345 (9a50495)
    • Name the hidden native select after its form field  -  by @zernonia and Claude Fable 5.2 in #3217 (dd70988)
    • Render the trigger with renderAsControl (port of #3327, #3370)  -  by @zernonia and Claude Fable 5.2 in #3327 and #3370 (282d278)
    • Key contexts with createRekaContext  -  by @zernonia and Claude Fable 5.2 in #2763 (95ef893)
    • Render a consumer content id and reference only a rendered content (port of #3235, #3242)  -  by @zernonia and Claude Fable 5.2 in #3235 and #3242 (5811f9f)
    • Reference a consumer id on SelectLabel and SelectItemText  -  by @zernonia and Claude Fable 5.2 in #3377 (e2cee54)
    • Align a multiple select on its first selected item's text  -  by @zernonia and Claude Fable 5.2 in #3473 (07c5ca9)
  • Select, Combobox, Autocomplete:
    • Preserve positioning when composing floating triggers  -  by @zernonia and Claude Fable 5.2 in #3213 (b4772dc)
  • Select, DropdownMenu:
    • Leave focus where another layer took it on close  -  by @zernonia and Claude Fable 5.2 in #2741 (e82b27d)
  • Slider:
  • Slider, NavigationMenu:
    • Address review on the v2 merge  -  by @zernonia and Claude Fable 5.2 (6e17451)
  • SliderArea:
    • Reset with the form, emit change details and keep each pointer's grab offset  -  by @zernonia and Claude Fable 5.2 in #3439 (44cba50)
  • Splitter:
    • Keep eager layout in sync when pressing Enter on a resize handle  -  by @lazerg in #3132 (4a57902)
    • Treat SVG pointer targets as elements above a resize handle  -  by @dannote and Claude Fable 5.2 in #3136 (1ab8b2d)
    • Attach keyboard handler to handle remounted after group  -  by @chiliec and Claude Fable 5.2 in #3129 (7cb5a98)
    • Skip disabled handles on F6 and mark focused handles keyboard-active  -  by @zernonia and Claude Fable 5.2 in #3176 (02e69e1)
    • Port remounted-handle keyboard and disabled-handle fixes from v2  -  by @zernonia and Claude Fable 5.2 (3e6977e)
    • Register a resize handle whose element is already set  -  by @zernonia and Claude Fable 5.2 (a1f0ebe)
    • Clear an unmounted handle from the intersecting handles  -  by @rivajunior and Claude Fable 5.2 in #3292 (5f66c02)
    • Drop a deactivated KeepAlive resize handle from pointer hit testing  -  by @onmax and @zernonia in #3287 (0d8699a)
    • Restore the previous size when Enter expands a collapsed panel  -  by @zernonia and Claude Fable 5.2 in #3403 (80b92cd)
    • Follow the pointer back to where a drag started  -  by @zernonia and Claude Fable 5.2 in #3404 (308b349)
    • Drop a deactivated KeepAlive resize handle from pointer hit testing  -  by @zernonia and Claude Fable 5.2 in #3287 (936da71)
    • Expose the resize handle's orientation and disabled state  -  by @zernonia and Claude Fable 5.2 in #3388 (d8f18f4)
    • Follow the pointer back to where a drag started  -  by @zernonia and Claude Fable 5.2 in #3404 (73ad2fc)
    • Restore the previous size when Enter expands a collapsed panel  -  by @zernonia and Claude Fable 5.2 in #3403 (6ebf882)
  • Stepper:
  • Switch:
  • Tabs:
    • Don't activate tabs on right or middle click  -  by @b84330808 and Claude Fable 5.2 in #3027 (c3c07e7)
    • Don't throw when a trigger or content has an undefined value  -  by @zernonia and Claude Fable 5.2 (7b8289d)
    • Keep aria-controls and aria-labelledby on the hydrated ids  -  by @zernonia and Claude Fable 5.2 in #2866 (0333d5b)
    • Give the server HTML a tab stop when no tab is selected  -  by @zernonia and Claude Fable 5.2 in #3369 (5f37915)
  • TagGroup:
  • TagsInput:
  • Toast:
  • Toggle:
  • Toggle,VisuallyHidden:
    • Submit the right form value and bubble events after update  -  by @zernonia and Claude Fable 5.2 in #3097 (0547ab8)
  • ToggleGroup:
  • Toolbar:
    • Render ToolbarButton with renderAsControl (port of #3327, #3370)  -  by @zernonia and Claude Fable 5.2 in #3327 and #3370 (53cd6da)
    • Key contexts with createRekaContext  -  by @zernonia and Claude Fable 5.2 in #2763 (bb95077)
  • Tooltip:
    • Read the open ref's value on trigger pointer down  -  by @zernonia and Claude Fable 5.2 in #3297 (aa0fad2)
    • Render the trigger with renderAsControl (port of #3327, #3370)  -  by @zernonia and Claude Fable 5.2 in #3327 and #3370 (5aca3b8)
    • Describe the trigger only by a rendered content (port of #3235, #3242)  -  by @zernonia and Claude Fable 5.2 in #3235 and #3242 (f28b7be)
    • Keep the accessible label in step with the content text  -  by @zernonia and Claude Fable 5.2 in #3475 (d13ff80)
  • Tree:
    • Use custom child accessors for descendant selection  -  by @shuvroroy in #3310 (c8963e9)
    • Ignore named keys in typeahead  -  by @zernonia and Claude Fable 5.2 in #3282 (499f93a)
    • Key contexts with createRekaContext  -  by @zernonia and Claude Fable 5.2 in #2763 (b96b805)
    • Reach the last item of a virtual tree with End  -  by @zernonia and Claude Fable 5.2 (7349a02)
  • VisuallyHidden:
    • Label hidden native form controls  -  by @shuvroroy and Claude Fable 5.2 in #3217 (7601c96)
    • Never submit the string "undefined" for an empty value  -  by @zernonia and Claude Fable 5.2 in #3241 (b0386ee)
    • Label hidden native form controls  -  by @zernonia and Claude Fable 5.2 in #3217 (5c3bcf9)
  • agent:
    • Register v3's components with the agent bridge  -  by @zernonia and Claude Fable 5.2 (66544e2)
  • date:
    • Don't check the day after the end of a range  -  by @ValentinYoushkevich in #3284 (c0ec119)
    • Generate consecutive years for asymmetric decade ranges  -  by @shuvroroy in #3317 (7d60c7a)
    • Generate consecutive years for asymmetric decade ranges  -  by @zernonia and Claude Fable 5.2 in #3317 (85fbe28)
    • Walk whole days when checking the days inside a range  -  by @zernonia and Claude Fable 5.2 in #3284 (860a93b)
  • deps:
  • docs:
    • Read a family import's folder in the API meta generator  -  by @zernonia and Claude Fable 5.2 (c0aca2c)
  • elements:
    • Read an empty number attribute as unset  -  by @zernonia and Claude Fable 5.2 (9e666e2)
  • playground:
    • Resolve Vue demos to their Tailwind components  -  by @shuvroroy in #3315 (8830219)
  • plugins:
    • Register missing Drawer and ScrollArea components  -  by @shuvroroy and Claude Fable 5.2 in #3314 (e0e8902)
    • Regenerate the namespaced entry and mock addImports in the Nuxt test  -  by @zernonia and Claude Fable 5.2 (5761890)
  • shared:
    • Preserve iOS taps with negligible touch movement  -  by @gavgrego in #3055 (d4f2fd8)
    • Release useHideOthers cleanup references  -  by @Youhan and Cursor in #3046 (0f9a8a0)
    • Keep the body's own padding and margin while scroll is locked  -  by @Yueliup and Claude Fable 5.2 in #2997 (b463e70)
    • Compensate the scrollbar once when only the margin option is set  -  by @zernonia and Claude Fable 5.2 in #3234 (67421e0)
    • Coordinate modal hiding with focus changes  -  by @shuvroroy in #3259 (f40e75a)
    • Create context with Symbol.for to fix duplicates  -  by @TheAlexLichter and Claude Fable 5.2 in #2763 (0e49dba)
    • Keep useIsUsingKeyboard listening after its first subscriber unmounts  -  by @ShangYJQ and ShangYJQ in #3338 (b003f08)
    • Key core-lane contexts with createRekaContext  -  by @zernonia and Claude Fable 5.2 in #2763 (1e3a28c)
    • Keep the keyed selector consistent in three edge cases (port of bade06a, e25334d)  -  by @zernonia and Claude Fable 5.2 (922d993)
    • Export the calendar cell tab-stop and row-boundary helpers (part of #3280, #3388)  -  by @zernonia and Claude Fable 5.2 in #3280 and #3388 (9a1d2e1)
    • Bring useForwardExpose up to v2 (port of #3057, #3202, #3223, #3419)  -  by @zernonia and Claude Fable 5.2 in #3057, #3202, #3223 and #3419 (8a28004)
    • Fall back to English translations outside an injection context  -  by @zernonia and Claude Fable 5.2 (16f2208)
    • Keep the body's own padding and margin with an explicit scrollBody offset (port of #2997, #3234)  -  by @zernonia and Claude Fable 5.2 in #2997 and #3234 (34e4e49)
    • Coordinate modal hiding with focus changes  -  by @zernonia and Claude Fable 5.2 in #3259 (ee4472e)
    • Forward a prop again after a chained forward dropped it  -  by @zernonia and Claude Fable 5.2 in #3487 (9dd9e04)
  • types:
  • useForwardExpose:
    • Never resolve currentElement to an element outside the forwarded child  -  by @zernonia, arkida39 and Claude Fable 5.2 in #3223 (553cac0)
  • vapor:
    • Mirror v3's Primitive, Presence and Collection in the Vapor build  -  by @zernonia and Claude Fable 5.2 (27c1e8b)
    • Export ScrollAreaVirtualizer again now that v3 exports it  -  by @zernonia and Claude Fable 5.2 (29accd4)
    • Render renderAsControl parts through the Vapor Primitive  -  by @zernonia and Claude Fable 5.2 (a255209)
    • Follow a part's id prop change in usePartId  -  by @zernonia and Claude Fable 5.2 in #3377 (25fa062)
    • Port the Vapor parity fixes from v2  -  by @zernonia, Saeid Zareie and Claude Fable 5.2 in #3428 and #3436 (581fb6f)

   🏎 Performance

  • Lazy load content implementations  -  by @danielroe in #3114 (2e5e312)
  • Leave unused popup handle, Collection, message and Field code out of component bundles  -  by @zernonia and Claude Fable 5.2 in #3447 (1f2bb81)
  • Build each list item's element props in one object, without merging empty attrs  -  by @zernonia and Claude Fable 5.2 in #3462 (29f38bc)
  • Let bundlers drop unused module-level tables and singletons  -  by @zernonia and Claude Fable 5.2 in #3470 (2d129d9)
  • Closed popups render no portal in Vue Vapor apps  -  by @zernonia and Claude Fable 5.2 in #3468 (2c856c9)
  • Mount form controls with one render  -  by @zernonia and Claude Fable 5.2 in #3476 (cb87e5a)
  • Split popup content attrs once instead of on every open and close  -  by @zernonia and Claude Fable 5.2 in #3482 (632b66a)
  • Read fallthrough attrs untracked in form and disclosure parts  -  by @zernonia and Claude Fable 5.2 in #3491 (dbaade2)
  • Seven small per-instance mount and heap cuts (Tabs, Accordion, Slider, shared)  -  by @zernonia and Claude Fable 5.2 in #3511 (726e37e)
  • Compare values and merge Tooltip and date-step props without hashing or deep-merge libraries; gate family sizes in brotli  -  by @zernonia and Claude Fable 5.2 in #3513 (f0745cd)
  • Accordion:
    • Lighter items and re-render only the item that changed  -  by @zernonia and Claude Fable 5.2 in #3411 (e524d69)
    • Lighter items and re-render only the item that changed  -  by @zernonia and Claude Fable 5.2 in #3411 (e76f65a)
    • One watcher per content, no ref watcher per trigger, plain getters in place of part surfaces  -  by @zernonia and Claude Fable 5.2 in #3463 (05c4318)
  • Checkbox:
    • Render once on mount and keep roving focus out of a standalone checkbox  -  by @zernonia and Claude Fable 5.2 in #3414 (4428b6e)
    • List grouped checkboxes for a parent only once allValues is set  -  by @zernonia and Claude Fable 5.2 (69e5e21)
    • Keep roving focus out of a standalone checkbox  -  by @zernonia and Claude Fable 5.2 in #3427 (587ce73)
  • Collapsible:
    • Bind the animation replay guard without a per-instance listener  -  by @zernonia and Claude Fable 5.2 (02b12e3)
    • Skip the size measurement for panels mounted closed  -  by @zernonia and Claude Fable 5.2 in #3299 (4a57a26)
    • Skip the size measurement for panels mounted closed  -  by @zernonia and Claude Fable 5.2 in #3299 (e37b54d)
    • Mount Accordion and Collapsible content without a Presence or CollapsibleContent in between  -  by @zernonia and Claude Fable 5.2 in #3449 (3466846)
  • Collection:
    • Cache the ordered item list between getItems() calls  -  by @zernonia and Claude Fable 5.2 in #3412 (9271a77)
  • Combobox:
    • Re-render only the items a typed character hides or shows  -  by @zernonia and Claude Fable 5.2 in #3402 (563ffc4)
    • Hand the input's focusOnOpen to the root as a prop ref  -  by @zernonia and Claude Fable 5.2 (3c61544)
    • Start the closed-highlight watcher when the content first sets up  -  by @zernonia and Claude Fable 5.2 (001489f)
    • Render the item indicator without a wrapped Listbox indicator  -  by @zernonia and Claude Fable 5.2 in #3477 (9da70ab)
    • Render each option as one component through a shared Listbox item composable  -  by @zernonia and Claude Fable 5.2 in #3493 (962d9b0)
  • DismissableLayer:
    • Measure backdrop cutouts after inserting the backdrop  -  by @zernonia and Claude Fable 5.2 in #3461 (1838056)
  • DropdownMenu:
    • Keep the root context on fast properties  -  by @zernonia and Claude Fable 5.2 (4c01eea)
    • Track trigger presses from one document listener  -  by @zernonia and Claude Fable 5.2 (c7b5923)
  • FocusGuards:
    • Keep the guard pair per root instead of searching for it  -  by @zernonia and Claude Fable 5.2 in #3481 (a371b2a)
  • FocusScope:
    • Trim focus-trap and backdrop work on popup open  -  by @zernonia and Claude Fable 5.2 in #3496 (3c382f5)
  • HoverCard:
    • Create open requesters and their cleanups on first use  -  by @zernonia and Claude Fable 5.2 (3cd2ddd)
  • Listbox:
    • Re-render only the items a highlight move flips  -  by @zernonia and Claude Fable 5.2 in #3400 (083e310)
    • Re-render only the items a selection changes  -  by @zernonia and Claude Fable 5.2 in #3401 (6240ab5)
    • Skip the props merge when an item's only attribute is its id  -  by @zernonia and Claude Fable 5.2 in #3478 (dd28bf7)
    • Sync an item's label from its lifecycle hooks, not two watchers  -  by @zernonia and Claude Fable 5.2 in #3484 (0c56459)
  • Menu:
    • Register items without wrapper components, track the highlight per item  -  by @zernonia and Claude Fable 5.2 in #3413 (b95b67f)
    • Share the content-hide hook and read unmountOnHide through a getter  -  by @zernonia and Claude Fable 5.2 (c529d1e)
    • Focus the first item directly on a keyboard open  -  by @zernonia and Claude Fable 5.2 in #3471 (283afbb)
    • Skip the attrs merge on attr-less items; O(1) label lookup under a function by  -  by @zernonia and Claude Fable 5.2 in #3509 (306dd10)
  • Menubar:
    • Follow the trigger's consumer id from its render  -  by @zernonia and Claude Fable 5.2 (e98621e)
  • NavigationMenu:
    • Follow clipping ancestors only once avoidClipping is set  -  by @zernonia and Claude Fable 5.2 (f80ae8b)
  • Pagination:
    • Observe every ellipsis with one shared MutationObserver  -  by @zernonia and Claude Fable 5.2 (c9812c3)
    • Start the clampPage watcher only once clampPage is set  -  by @zernonia and Claude Fable 5.2 (81a36b6)
  • Popover:
    • Keep the root context on fast properties  -  by @zernonia and Claude Fable 5.2 (a6081d9)
  • Popper:
    • Render the content once while it is placed  -  by @zernonia and Claude Fable 5.2 in #3420 (a8c5071)
    • Render the content once while it is placed  -  by @zernonia and Claude Fable 5.2 in #3420 (bb8594f)
    • Provide the popper root without a component, build Tooltip and HoverCard surfaces lazily  -  by @zernonia and Claude Fable 5.2 in #3510 (ceab421)
  • Presence:
    • Skip the animation name read when leaving the mounted state  -  by @zernonia, jevin98 and Claude Fable 5.2 in #3222 (f03c8b5)
    • Mount on the render that opens it, not a tick later  -  by @zernonia and Claude Fable 5.2 in #3469 (e0ae560)
  • Primitive:
    • Skip the setup context and attrs tracking  -  by @zernonia and Claude Fable 5.2 in #3398 (12f1e02)
    • Render asChild without a nested Slot component  -  by @zernonia and Claude Fable 5.2 in #3399 (c0592ef)
    • Render a part's tag name as an element block, so list items stop re-rendering with their popup  -  by @zernonia and Claude Fable 5.2 in #3448 (95bbaf0)
  • RadioGroup,ToggleGroup:
    • Render each item's element without a nested component  -  by @zernonia and Claude Fable 5.2 in #3512 (f70be2e)
  • RovingFocus:
    • Mount an item without its wrapper components  -  by @zernonia and Claude Fable 5.2 in #3415 (dfa3406)
    • Skip the pre-mount tab stop on client-side mounts  -  by @zernonia and Claude Fable 5.2 (3a28f24)
  • Select:
    • Look options up by value instead of scanning the set  -  by @zernonia and Claude Fable 5.2 in #3391 (1d8f8c7)
    • Render each item once when it mounts  -  by @zernonia and Claude Fable 5.2 in #3392 (f037818)
    • Mount a Presence only for the indicator of a selected item  -  by @zernonia and Claude Fable 5.2 in #3397 (cd161f4)
    • Keep the trigger typeahead helpers and the nullable-option check out of setup  -  by @zernonia and Claude Fable 5.2 (37b5ebf)
    • Observe the open items' texts with one observer  -  by @zernonia and Claude Fable 5.2 in #3483 (2868d3a)
    • Drop the per-option item-text watcher and indicator computed  -  by @zernonia and Claude Fable 5.2 in #3528 (3f9d82c)
  • Stepper:
    • Drop the per-part watchers, hooks and refs of the ported naming and announcement  -  by @zernonia and Claude Fable 5.2 (a43d640)
  • Tabs:
    • Re-render only the tabs that changed  -  by @zernonia and Claude Fable 5.2 in #3410 (eaf3aa7)
    • Re-render only the tabs that changed  -  by @zernonia and Claude Fable 5.2 in #3410 (4435251)
    • Follow the rendered id only for a part that may render another  -  by @zernonia and Claude Fable 5.2 (2e941b3)
    • Track rendered contents per key with a reactive set  -  by @zernonia and Claude Fable 5.2 (6c76f18)
    • No per-part id watchers, one shared ResizeObserver for indicators  -  by @zernonia and Claude Fable 5.2 in #3451 (7e92f17)
    • Part ids on one object per part, unmount cleanups without hooks  -  by @zernonia and Claude Fable 5.2 in #3464 (5d28f61)
    • Mount a panel without a Presence component in between  -  by @zernonia and Claude Fable 5.2 in #3467 (a74b010)
  • Tooltip:
    • Register the pointerup and KeepAlive cleanups on first use  -  by @zernonia and Claude Fable 5.2 (4e4b2ad)
  • Tree:
    • Look expanded keys up in a Set when flattening  -  by @kdumontnu and Claude Fable 5.2 in #3364 (ead8463)
    • Look selected keys up in a Set  -  by @zernonia and Claude Fable 5.2 in #3367 (2590b87)
    • Limit model watch depth  -  by @zernonia and Claude Fable 5.2 in #3409 (b90b89f)
  • shared:
    • Compare primitives in isEqual without serializing  -  by @zernonia and Claude Fable 5.2 (69db963)
    • Keep reactive-id contexts on fast properties  -  by @zernonia and Claude Fable 5.2 (ca9403f)
    • Watch a part's rendered id only when it can differ  -  by @zernonia and Claude Fable 5.2 (225f7ab)
    • Check a trigger's rendered id only when it can differ  -  by @zernonia and Claude Fable 5.2 (95880e3)
    • Add SharedMutationObserver, one observer per component family  -  by @zernonia and Claude Fable 5.2 (49607c2)
    • Create a reactive id's ref on its first read  -  by @zernonia and Claude Fable 5.2 (7ec966c)
    • Keep reactive ids as plain strings until read, add a hook-free trigger id  -  by @zernonia and Claude Fable 5.2 (bb9089d)
    • Probe scrollbar-gutter support once per page scroller  -  by @zernonia and Claude Fable 5.2 in #3486 (e483bdd)
  • useForwardExpose:
    • Skip building exposed on the server  -  by @onmax in #3057 (e99ddec)
    • Keep the exposed object while the forwarded target is unchanged  -  by @zernonia and Claude Fable 5.2 in #3419 (48d3f03)
    View changes on GitHub

Don't miss a new reka-ui release

NewReleases is sending notifications on new releases.