正在加载视频...

视频加载失败

HUGE React Aria release! 🍿 🔍 Autocomplete: Command Palette, Searchable Select and Submenu examples 🆕 3 new components: Toast, Tree, and Virtualizer 🧩 Custom Menu/Popover/Tooltip triggers 🌉 Table colspan 👆 usePress interop, fixing 15+ issues 💨 Tailwind v4 📅 DatePicker RTL

47,297 次观看 • 1 年前 •via X (Twitter)

12 条评论

Devon Govett 的头像
Devon Govett1 年前

This is the culmination of months of work by the team. Check out the release notes, and see the thread below for links to all the demos I've shared recently! 👇

Devon Govett 的头像
Devon Govett1 年前

Autocomplete makes it easy to build UI patterns like Command Palettes, combining a SearchField, Menu, and Dialog. No special command palette specific components, it's all built with composition. 🙂

Devon Govett 的头像
Devon Govett1 年前

You can also combine Autocomplete with other components, like Select.

Devon Govett 的头像
Devon Govett1 年前

We've also added support for submenus with more complex content, like an Autocomplete to filter items. You can really go wild with it and create multi-level nested submenus too. 🙂

Devon Govett 的头像
Devon Govett1 年前

Toast also comes to React Aria Components in this release! It supports animation with CSS View Transitions, so you can build stuff like this. 🪄

Devon Govett 的头像
Devon Govett1 年前

The Tree component is now stable! We've added Tailwind examples to our docs and starter kit as well. It supports all the features you'd expect: keyboard navigation, multi-selection, link items, disabled items, etc.

Devon Govett 的头像
Devon Govett1 年前

Virtualizer optimizes large collections, rendering only visible items to the DOM. It supports list, grid, waterfall, table, and custom layouts, manages accessibility, keyboard navigation, etc. Integrated via composition.

Devon Govett 的头像
Devon Govett1 年前

We added the <Pressable> and <Focusable> components, which can turn any element into an accessible menu, popover, or tooltip trigger. This lets you reuse existing components, or mix with other libraries more easily.

Devon Govett 的头像
Devon Govett1 年前

We've also done a major refactor to usePress, which powers nearly all of our components. This improves compatibility with other libraries, eliminating unintended side effects of preventDefault, and fixing over 15 open issues. 🥳

Devon Govett 的头像
Devon Govett1 年前

We also upgraded to Tailwind CSS v4 across all of our documentation, our Tailwind plugin, and our starter kit.

Devon Govett 的头像
Devon Govett1 年前

That's a lot, but it's not all! We added colSpan support to Table, fixed date and time formatting in RTL locales, added support for tooltips on Tags and Tabs, simplified our Popover API, and much more. 😲 Check out the release notes for all the details!

Christian Esmann 的头像
Christian Esmann1 年前

I just launched an all-in-one template for cross-platform development, based on the stack I use myself everyday. Expo, NextJS, TypeScript, Tailwind, Firebase, AppsFlyer, Authentication, Analytics, In-App Purchases, Stripe and a lot more, setup by default.

相关视频