v0.4.8
In this release, we replaced classnames
by tailwind-merge
for the entire design system, and removed !important
anywhere it was used in the default Flowbite React theme.
In general, you shouldn't need to use !important
in custom className
used on any component anymore either, so consider removing any you have.
You also shouldn't need to use theme={}
where a class in the theme was always overriding the one you passed in className
yourself anymore.
Breaking Changes
<Avatar img="somewhere.jpg" theme={..} />
now has aavatar.root.img.base
style to customize the output of the<img/>
. If you were customizing<Avatar>
theme with any ofavatar.root.img
, you might want to check out the changelog: 427a56f (we just moved arounded
fromon
/off
tobase
)
What's Changed
Features
- feat: replace
classnames
bytailwind-merge
by @tulup-conner in #816
Bug fixes
- fix(paginationbutton.tsx): button now has type button by @IuriPires in #811
Documentation
- chore(prettier): ignore CHANGELOG.md by @rluders in #788
- docs(font): load Inter font from Next by @zoltanszogyenyi in #790
- docs(fathom): add fathom analytics by @zoltanszogyenyi in #783
- docs(fathom): remove includedDomains attribute by @zoltanszogyenyi in #797
- docs: version from package.json by @rluders in #784
- docs: improve code preview by @tulup-conner in #798
- docs(code-preview): enable horizontal scroll by @zoltanszogyenyi in #804
- docs: add Theme section to each component's docs by @tulup-conner in #815
- docs: build
storybook
in addition toyarn build
with Vercel by @tulup-conner in #817
Full Changelog: v0.4.7...v0.4.8