Patch Changes
This release addresses critical Tailwind CSS v3 compatibility issues and improves theme handling for components with custom styling requirements.
π Bug Fixes
Tailwind CSS v3 Compatibility
- #218 1652d02 β fix(react): removed layers to fix collision with Tailwind 3. Thanks @KayleeWilliams!
- #208 41bfb71 β fix(react): no style component theme not removing default classes. Thanks @KayleeWilliams!
Key Fixes
- Removed CSS layering wrappers that caused conflicts with Tailwind CSS v3
- Fixed noStyle theme handling to properly exclude default component styles when
noStyleflag is set - Ensured theme-level
classNamesandstylesare still applied even withnoStyle: true
π§ Technical Details
CSS Layer Removal
- Removed
@layerwrappers from multiple components to prevent Tailwind CSS v3 collisions - This change maintains functionality while ensuring compatibility with modern Tailwind configurations
Enhanced noStyle Theme Support
- Added proper checks for
noStyleflag in component themes - When
noStyleis enabled, only theme-level styling is applied - Default component styles are correctly excluded