v3.0.2
heroui-inc/herouiv3.0.2Apr 3, 2026by jrgarciadev
AI Summary
A patch release focusing on improved animations for drawers, new theme variables for backdrops, and various accessibility and style improvements across trigger elements and tooltips.
Key Highlights
- Drawer panel transitions rewritten for smoother animations
- New --backdrop CSS theme variable
- Trigger elements now use inline-block for consistency
- Improved default arrow SVG for smoother curves
- New release workflow added with pnpm
New Features
- --backdrop theme variable
- Smoothed drawer animations
Full Release Notes
## Bug Fixes - **Autocomplete**: `--trigger-width` CSS variable on the popover now tracks the trigger element's width via `useResizeObserver` ([#6374](https://github.com/heroui-inc/heroui/pull/6374)) - **Drawer**: Panel transitions rewritten from Tailwind `animate-in`/`animate-out` to native CSS `translate` transitions for smoother animations ([#6393](https://github.com/heroui-inc/heroui/pull/6393)) - **InputGroup**: Secondary variant focus background triggers only on actual input/textarea focus ([#6362](https://github.com/heroui-inc/heroui/pull/6362)) - **Tag**: `CloseButton` now has explicit `aria-label="Remove tag"` for screen readers ([#6341](https://github.com/heroui-inc/heroui/pull/6341)) ## Features - **`--backdrop` theme variable**: New CSS variable for overlay backdrops — Modal, AlertDialog, Drawer now use `bg-backdrop` instead of hardcoded values ([#6375](https://github.com/heroui-inc/heroui/pull/6375)) ## Style Improvements - Trigger elements across Popover, Tooltip, Dropdown, Modal, AlertDialog, Drawer, Disclosure now apply `inline-block` ([#6373](https://github.com/heroui-inc/heroui/pull/6373)) - Default arrow SVG for Tooltip + Popover updated to a smoother cubic bezier curve ([#6372](https://github.com/heroui-inc/heroui/pull/6372)) - Tag `sm` and `md` sizes get increased horizontal padding ([#6315](https://github.com/heroui-inc/heroui/pull/6315)) ## Internal - Release workflow added with `pnpm publish` + `NPM_TOKEN` - Replaced changesets with bumpp for version management ([#6354](https://github.com/heroui-inc/heroui/pull/6354)) **Full release notes**: https://heroui.com/docs/releases/v3-0-2