github mui/base-ui v1.3.0

7 hours ago

General Changes

  • Warn when a component function is rendered directly (#4077) by @atomiks
  • Reset openMethod after close transition (#4128) by @atomiks
  • Fire Space activation on keydown in composite widgets (#4053) by @atomiks
  • Skip CSS-hidden items during keyboard navigation in composite widgets (#4195) by @atomiks
  • Optimize hot paths in useHover hooks and safePolygon (#4199) by @atomiks
  • Snap --anchor-width and --anchor-height to device pixel grid (#4082) by @flaviendelangle
  • Fix outside press dismissal when a component is portaled into a shadow DOM (#4230) by @dmitri-gb
  • Fix nested hoverable popups (#4206) by @dmitri-gb
  • Apply data-base-ui-inert to highest-level node (#3955) by @atomiks
  • Fix portable types (#4058) by @cgatian

Accordion

Autocomplete

Avatar

  • Remove fallback transition logic and prevent premature image display (#4110) by @atomiks

Button

Checkbox

Combobox

  • Avoid applying field attributes to input when it is inside popup (#4154) by @atomiks
  • Preserve inline input on Enter when nothing is highlighted (#4235) by @atomiks
  • Fix ARIA attributes during SSR (#4179) by @atomiks
  • Fix wrapping in virtualized grid arrow-key navigation (#4164) by @atomiks
  • Add InputGroup part (#3745) by @atomiks
  • Add support for a visually hidden close button and improve modal focus trapping (#4084) by @atomiks
  • Add Label part (#4167) by @atomiks

Context Menu

Drawer

  • Breaking change: Drawer is no longer marked as preview

    Drawer is now stable and should be imported as { Drawer } from '@base-ui/react/drawer' (#4293) by @atomiks
  • Fix React 17 support (#4178) by @atomiks
  • Include border in frontmost height variable (#4202) by @atomiks
  • Improve touch selection (#4104) by @atomiks
  • Preserve cross-axis scrolling during touch gestures (#4187) by @atomiks
  • Prevent swipe dismissal when component is controlled (#4133) by @flaviendelangle
  • Add SwipeArea part (#4102) by @atomiks
  • Make data-base-ui-swipe-ignore explicit for touch interactions (#4295) by @atomiks
  • Disable inheritance for swipe CSS variables (#4099) by @atomiks

Field

  • Fix field validation when Form errors or invalid prop are present at same time (#4112) by @mj12albert

Menu

Meter

Navigation Menu

Number Field

  • Fix increment/decrement press reason values in onValueCommitted (#4259) by @jijiseong

Popover

  • Trap focus when <Popover.Close> is rendered inside and modal is true, and add support for a visually hidden close button (#4084) by @atomiks
  • Fix nested hoverable popups (#3798) by @flaviendelangle

Preview Card

Progress

Radio Group

Scroll Area

Select

Slider

Switch

Tabs

Toast

Tooltip

All contributors of this release in alphabetical order : @aarongarciah, @atomiks, @cgatian, @chuganzy, @CiscoFran10, @dmitri-gb, @flaviendelangle, @jijiseong, @michaldudak, @mj12albert, @obeattie, @vcode-sh

Don't miss a new base-ui release

NewReleases is sending notifications on new releases.