|
3 | 3 | <Subtitle>Changelogs for each Base UI release.</Subtitle> |
4 | 4 | <Meta name="description" content="Changelogs for each Base UI release." /> |
5 | 5 |
|
| 6 | +## v1.0.0-beta.3 |
| 7 | + |
| 8 | +**Sep 3, 2025** |
| 9 | + |
| 10 | +### General changes |
| 11 | + |
| 12 | +- **Breaking change:** Base UI event details. |
| 13 | + Custom event callbacks provide BaseUIEventDetails object as their second parameter. |
| 14 | + This object contains the source event, reason and methods to customize the behavior (where applicable). |
| 15 | + For example, `onOpenChange(open, event, reason)` becomes `onOpenChange(open, eventDetails)`, where `eventDetails` contains `event` and `reason` properties. |
| 16 | + ([#2382](https://github.com/mui/base-ui/pull/2382)) |
| 17 | + |
| 18 | +### Alert Dialog |
| 19 | + |
| 20 | +- **Breaking change:** Support `initialFocus` and `finalFocus` functions. |
| 21 | + The `initialFocus` and `finalFocus` props can be functions that return DOM elements to focus. |
| 22 | + This is a new feature for `finalFocus` and a breaking change for `initialFocus` as the element must be returned directly (not as a ref). |
| 23 | + ([#2536](https://github.com/mui/base-ui/pull/2536)) |
| 24 | + |
| 25 | +### Autocomplete |
| 26 | + |
| 27 | +- New Autocomplete component ([#2105](https://github.com/mui/base-ui/pull/2105)) |
| 28 | + |
| 29 | +### Checkbox |
| 30 | + |
| 31 | +- Fix missing validity attributes when wrapped in `Field` ([#2572](https://github.com/mui/base-ui/pull/2572)) |
| 32 | + |
| 33 | +### Combobox |
| 34 | + |
| 35 | +- New Combobox component ([#2105](https://github.com/mui/base-ui/pull/2105)) |
| 36 | + |
| 37 | +### Context Menu |
| 38 | + |
| 39 | +- Fix default offsets when `align="center"` or `side` differs ([#2601](https://github.com/mui/base-ui/pull/2601)) |
| 40 | + |
| 41 | +### Dialog |
| 42 | + |
| 43 | +- **Breaking change:** Support `initialFocus` and `finalFocus` functions. |
| 44 | + The `initialFocus` and `finalFocus` props can be functions that return DOM elements to focus. |
| 45 | + This is a new feature for `finalFocus` and a breaking change for `initialFocus` as the element must be returned directly (not as a ref). |
| 46 | + ([#2536](https://github.com/mui/base-ui/pull/2536)) |
| 47 | +- Restore focus to popup when focused element is removed ([#2479](https://github.com/mui/base-ui/pull/2479)) |
| 48 | + |
| 49 | +### Field |
| 50 | + |
| 51 | +- Prevent defaultValue reset on focus for uncontrolled inputs ([#2543](https://github.com/mui/base-ui/pull/2543)) |
| 52 | +- Allow `onValueChange` to fire when `defaultValue`/`value` are not set ([#2600](https://github.com/mui/base-ui/pull/2600)) |
| 53 | + |
| 54 | +### Input |
| 55 | + |
| 56 | +- Allow `onValueChange` to fire when `defaultValue`/`value` are not set ([#2600](https://github.com/mui/base-ui/pull/2600)) |
| 57 | + |
| 58 | +### Menu |
| 59 | + |
| 60 | +- **Breaking change:** Fix `closeParentOnEsc` default value. |
| 61 | + The default value of `closeParentOnEsc` in Menu.SubmenuRoot is now false. |
| 62 | + When the <kbd>Esc</kbd> key is pressed in a Submenu, the Submenu closes, and the focus correctly moves to the SubmenuTrigger. |
| 63 | + ([#2493](https://github.com/mui/base-ui/pull/2493)) |
| 64 | +- **Breaking change:** Support `initialFocus` and `finalFocus` functions. |
| 65 | + The `initialFocus` and `finalFocus` props can be functions that return DOM elements to focus. |
| 66 | + This is a new feature for `finalFocus` and a breaking change for `initialFocus` as the element must be returned directly (not as a ref). |
| 67 | + ([#2536](https://github.com/mui/base-ui/pull/2536)) |
| 68 | +- Fix menu not opening when inside context menu trigger ([#2506](https://github.com/mui/base-ui/pull/2506)) |
| 69 | +- Fix `transform-origin` variable calculation when Positioner `sideOffset` is a function ([#2511](https://github.com/mui/base-ui/pull/2511)) |
| 70 | +- Fix submenu events ([#2483](https://github.com/mui/base-ui/pull/2483)) |
| 71 | +- Fix `limitShift` offset based on arrow size ([#2571](https://github.com/mui/base-ui/pull/2571)) |
| 72 | + |
| 73 | +### Navigation Menu |
| 74 | + |
| 75 | +- **Breaking change:** Semantic element structure and `active` page prop. |
| 76 | + `NavigationMenu.List` renders `<ul>` and `NavigationMenu.Item` renders `<li>` by default. |
| 77 | + ([#2526](https://github.com/mui/base-ui/pull/2526)) |
| 78 | +- Unshare `AbortController` instance ([#2441](https://github.com/mui/base-ui/pull/2441)) |
| 79 | +- Close on link click by default ([#2535](https://github.com/mui/base-ui/pull/2535)) |
| 80 | + |
| 81 | +### Number Field |
| 82 | + |
| 83 | +- Fix duplicate `onValueChange` calls ([#2591](https://github.com/mui/base-ui/pull/2591)) |
| 84 | + |
| 85 | +### Popover |
| 86 | + |
| 87 | +- **Breaking change:** Support `initialFocus` and `finalFocus` functions. |
| 88 | + The `initialFocus` and `finalFocus` props can be functions that return DOM elements to focus. |
| 89 | + This is a new feature for `finalFocus` and a breaking change for `initialFocus` as the element must be returned directly (not as a ref). |
| 90 | + ([#2536](https://github.com/mui/base-ui/pull/2536)) |
| 91 | +- Fix outside click after right clicking in popup ([#2508](https://github.com/mui/base-ui/pull/2508)) |
| 92 | +- Fix unexpected close when nested inside two popovers ([#2481](https://github.com/mui/base-ui/pull/2481)) |
| 93 | +- Fix `transform-origin` variable calculation when Positioner `sideOffset` is a function ([#2511](https://github.com/mui/base-ui/pull/2511)) |
| 94 | +- Restore focus to popup when focused element is removed ([#2479](https://github.com/mui/base-ui/pull/2479)) |
| 95 | +- Fix `limitShift` offset based on arrow size ([#2571](https://github.com/mui/base-ui/pull/2571)) |
| 96 | + |
| 97 | +### Preview Card |
| 98 | + |
| 99 | +- Fix `transform-origin` variable calculation when Positioner `sideOffset` is a function ([#2511](https://github.com/mui/base-ui/pull/2511)) |
| 100 | +- Fix `limitShift` offset based on arrow size ([#2571](https://github.com/mui/base-ui/pull/2571)) |
| 101 | + |
| 102 | +### Radio Group |
| 103 | + |
| 104 | +- Return null in form data when no option selected ([#2473](https://github.com/mui/base-ui/pull/2473)) |
| 105 | + |
| 106 | +### Scroll Area |
| 107 | + |
| 108 | +- Prevent pointer events from sibling portals triggering hover ([#2542](https://github.com/mui/base-ui/pull/2542)) |
| 109 | + |
| 110 | +### Select |
| 111 | + |
| 112 | +- Fix stale `items` prop ([#2397](https://github.com/mui/base-ui/pull/2397)) |
| 113 | +- Fix unexpected close when nested inside two popovers ([#2481](https://github.com/mui/base-ui/pull/2481)) |
| 114 | +- Fix `onValueChange` type inference ([#2372](https://github.com/mui/base-ui/pull/2372)) |
| 115 | +- Fix `transform-origin` variable calculation when Positioner `sideOffset` is a function ([#2511](https://github.com/mui/base-ui/pull/2511)) |
| 116 | +- Reset state when selected item is removed ([#2577](https://github.com/mui/base-ui/pull/2577)) |
| 117 | +- Fix `data-highlighted` and DOM focus item desync ([#2569](https://github.com/mui/base-ui/pull/2569)) |
| 118 | +- Fix item click with `defaultOpen` prop ([#2570](https://github.com/mui/base-ui/pull/2570)) |
| 119 | +- Fix scroll arrows not propagating scroll fully to start/end of list ([#2523](https://github.com/mui/base-ui/pull/2523)) |
| 120 | +- Fix `limitShift` offset based on arrow size ([#2571](https://github.com/mui/base-ui/pull/2571)) |
| 121 | + |
| 122 | +### Slider |
| 123 | + |
| 124 | +- **Breaking change:** Instead of the thumb div, the `input type="range"` element receives focus. Focus styles that were targeting the thumb, should be updated. |
| 125 | + For example `.Thumb:focus-visible` should be replaced with `.Thumb:has(:focus-visible)`. |
| 126 | + The `tabIndex` prop is moved from Root to Thumb where it gets forwarded to the input. |
| 127 | + The thumb's `render` prop no longer contains the third `inputProps` argument; the input element is instead merged with children. |
| 128 | + ([#2578](https://github.com/mui/base-ui/pull/2578)) |
| 129 | +- Reduce bundle size ([#2551](https://github.com/mui/base-ui/pull/2551)) |
| 130 | +- Fix thumb `:focus-visible` with mixed keyboard and pointer modality ([#2584](https://github.com/mui/base-ui/pull/2584)) |
| 131 | +- Add `index` prop to `Slider.Thumb` ([#2593](https://github.com/mui/base-ui/pull/2593)) |
| 132 | + |
| 133 | +### Tabs |
| 134 | + |
| 135 | +- Fix tab size rounding ([#2488](https://github.com/mui/base-ui/pull/2488)) |
| 136 | +- Fix highlight sync when focus is inside list ([#2487](https://github.com/mui/base-ui/pull/2487)) |
| 137 | + |
| 138 | +### Tooltip |
| 139 | + |
| 140 | +- Fix `transform-origin` variable calculation when Positioner `sideOffset` is a function ([#2511](https://github.com/mui/base-ui/pull/2511)) |
| 141 | +- Fix `limitShift` offset based on arrow size ([#2571](https://github.com/mui/base-ui/pull/2571)) |
| 142 | + |
| 143 | +### useRender |
| 144 | + |
| 145 | +- Add support for data-\* attributes ([#2524](https://github.com/mui/base-ui/pull/2524)) |
| 146 | +- Add `defaultTagName` parameter ([#2527](https://github.com/mui/base-ui/pull/2527)) |
| 147 | + |
6 | 148 | ## v1.0.0-beta.2 |
7 | 149 |
|
8 | 150 | **Jul 30, 2025** |
|
0 commit comments