⚠️ Breaking Changes
Text → Typography
The component shipped in v3.0.4 used text-* BEM modifiers, which collide with Tailwind's text-* utility family. tailwind-variants runs tailwind-merge on every variant composition and dedupes text--body-sm, text--color-muted, text--weight-normal to a single class — silently dropping the others.
Renaming the block to typography permanently fixes the collision (#6505, closes #6497).
Before:
import {Text} from "@heroui/react";
<Text type="body-sm" color="muted" weight="medium">
Hello world
</Text>;After:
import {Typography} from "@heroui/react";
<Typography type="body-sm" color="muted" weight="medium">
Hello world
</Typography>;What's Changed
- fix(styles): use accent soft foreground for default hover by @jrgarciadev in #6500
- fix(styles): disable twMerge for textVariants by @wingkwong in #6501
- refactor(styles): use unprefixed source tokens across components and theme builder by @diegonzs in #6499
- feat(docs): add CLI page by @wingkwong in #6498
- docs(native): document HeroUI Native v1.0.3 release by @vvv-sss in #6502
- docs(text): refine Text component docs — reorder sidebar and update usage demo by @jrgarciadev in #6504
- refactor(text): rename Text to Typography by @aosmcleod in #6505
- chore(deps): bump next version + action version by @wingkwong in #6529
- fix(styles): use field-border for radio default border color by @jrgarciadev in #6522
- fix(styles): add field border width to checkbox control by @jrgarciadev in #6521
- docs(releases): add v3.0.5 release notes by @jrgarciadev in #6531
- V3.0.5 by @jrgarciadev in #6503
New Contributors
- @aosmcleod made their first contribution in #6505
Full Changelog: v3.0.4...v3.0.5