17 Dec 2024
Release 2.0.0
Intent UI v2 adds Tailwind CSS v4 support, OKLCH colors, redesigned components, and updated theme utilities.
What's new
- Upgraded to Tailwind CSS v4.
- Changed the color format to OKLCH to match Tailwind CSS v4.
- Removed TRAC.
- Redesigned every component.
- Removed the
accent-subtle,accent-subtle-fg,tertiary, andtertiary-fgcolor tokens. - Added the
sidebar,sidebar-fg,navbar, andnavbar-fgcolor tokens. - Added the
chart-1,chart-2,chart-3,chart-4, andchart-5color tokens. - Calendar and Range Calendar now use
rounded-lginstead ofrounded-fullby default. - Some existing components, such as Chart, Sidebar, Disclosure, and TagGroup, no longer use the compound component pattern.
- Added the Blocks page.
- Moved Grid to alpha and removed its collections support.
- Moved
cn()toutils/classes.ts. - Moved
useMediaQuerytoutils/use-media-query.ts. - Pagination now uses the
segmentprop instead ofvariant. - Added
visibleDurationsupport to Date Range Picker and Range Calendar. - Rewrote the following components:
- Sidebar
- Disclosure
- Navbar
- Button
- Field
Pages
This release adds Blocks and updates the Themes and Colors pages.
Blocks
The Blocks page provides examples of layouts built with components such as Sidebar and Navbar.
Themes
Use the Themes page to build custom themes.
Colors
The Colors page now uses OKLCH to match Tailwind CSS v4.
CLI
The CLI also supports Tailwind CSS v3 projects. It detects the project type and installs the required packages.
Changelog
The entries below preserve the original pull request titles and contributor credits.
- Biomejs Integration by @Makisuo in https://github.com/irsyadadl/intentui/pull/250
- Cleanup by @Makisuo in https://github.com/irsyadadl/intentui/pull/251
- chore(deps): upgrade @intentui/icons to v1.10.0 by @phucto2001 in https://github.com/irsyadadl/intentui/pull/248
- chore(deps): upgrade @intentui/icons to v1.10.0 by @irsyadadl in https://github.com/irsyadadl/intentui/pull/252
- Tailwind v4 by @irsyadadl in https://github.com/irsyadadl/intentui/pull/243
- Main by @irsyadadl in https://github.com/irsyadadl/intentui/pull/255
- Merge pull request #255 from irsyadadl/main by @irsyadadl in https://github.com/irsyadadl/intentui/pull/256
- clean v2 by @irsyadadl in https://github.com/irsyadadl/intentui/pull/258
- to 2.x by @irsyadadl in https://github.com/irsyadadl/intentui/pull/262
- wip by @irsyadadl in https://github.com/irsyadadl/intentui/pull/263
- Merge pull request #263 from irsyadadl/main by @irsyadadl in https://github.com/irsyadadl/intentui/pull/264
- Makisuo/main by @irsyadadl in https://github.com/irsyadadl/intentui/pull/268
- feat: add react compiler + nextconfig.ts by @Makisuo in https://github.com/irsyadadl/intentui/pull/267
New contributors
- @Makisuo made their first contribution in https://github.com/irsyadadl/intentui/pull/250
- @phucto2001 made their first contribution in https://github.com/irsyadadl/intentui/pull/248