Загрузка видео...

Не удалось загрузить видео

На главную

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.

Похожие видео