Releases: themesberg/flowbite-react
flowbite-react@0.9.0
Introducing Drawer and Mega menu
Summary
Say hello to Drawer and Mega menu!
These long-awaited components from the vanilla Flowbite library have finally made their way to Flowbite React. Everything you need to get started - including full theme support, and the full set of examples to match the main Flowbite library - are ready at your fingertips.
Special thank you to @dhavalveera for your work on Drawer!
Changes
- added Drawer component
- added Mega menu component
flowbite-react@0.8.0
Minor Changes
-
#1344
bf1bdb0
Thanks @SutuSebastian! - Rework build process usingrollup
andtsc
Summary
In order to bring more performance to the build process of
flowbite-react
package, we have to consider transpiling the files using other tools rather thantsc
, which is very slow.After evaluating various tools including
tsup
,tshy
, andbun build
, we choserollup
with theesbuild
plugin for transpiling due to its performance and flexibility. We continue to usetsc
solely for generating*.d.ts
declaration files.Changes
- added
rollup
+esbuild
for transpiling files- all files in the
cjs
directory now have.cjs
extension - all files in the
esm
directory now have.mjs
extension - declaration file types (
*.d.ts
) have been moved fromdist/esm
todist/types
- all files in the
- changed the build output dir from
lib
todist
- created a facade layer for easier management of the
content
path as well as theplugin
- fixed turbo repo dependency tree configs in order for
apps/web
to properly pipe and require the build output ofpackages/ui
in certain script steps such asbuild
anddev
Breaking changes
tailwind.config.js
content
path:old:
"node_modules/flowbite-react/lib/esm/**/*.js"
new:
"node_modules/flowbite-react/dist/esm/**/*.mjs"
- (flowbite.content()
returns it)Before
/** @type {import('tailwindcss').Config} */ module.exports = { content: [ // ... "node_modules/flowbite-react/lib/esm/**/*.js", ], plugins: [ // ... require("flowbite/plugin"), ], };
After
const flowbite = require("flowbite-react/tailwind"); /** @type {import('tailwindcss').Config} */ module.exports = { content: [ // ... flowbite.content(), ], plugins: [ // ... flowbite.plugin(), ], };
Addresses Issues
- added
flowbite-react@0.7.8
Patch Changes
- #1339
8430004
Thanks @SutuSebastian! - fix package.json types path
flowbite-react@0.7.7
Patch Changes
- #1336
b6ebb31
Thanks @SutuSebastian! - fix build step, export types and improve DX
create-flowbite-react@1.0.6
Patch Changes
- #1336
b6ebb31
Thanks @SutuSebastian! - fixclean-package
flow
flowbite-react@0.7.6
What's Changed
- Monorepo conversion (using
bun
) by @SutuSebastian in #1264 - redwood-js.mdx update command to add flowbite-react into web workspace by @ganesshkumar in #1313
- fix: edit on github button issue resolved by @abdulbasithqb in #1317
- feat(ui): add With Icon storybook by @paghar in #1316
- Fix broken contributing link in UI README by @rnicholus in #1322
- ci: add
release
workflow by @SutuSebastian in #1324 - export
createTheme
API by @SutuSebastian in 7a8933d
New Contributors
- @ganesshkumar made their first contribution in #1313
- @abdulbasithqb made their first contribution in #1317
- @github-actions made their first contribution in #1325
Full Changelog: https://github.com/themesberg/flowbite-react/compare/v0.7.5...flowbite-react@0.7.6
v0.7.5
What's Changed
- fix(Datepicker): expose focus() and clear() methods via ref. by @MiroslavPetrik in #1300
- feat(lists component): add new with-icon state by @paghar in #1304
- fix: polymorphic component return types [button, dropdown item] by @SutuSebastian in #1308
New Contributors
- @MiroslavPetrik made their first contribution in #1300
Full Changelog: v0.7.3...v0.7.5
v0.7.4 - Broken
fix: revert package.json prune
v0.7.3
What's Changed
- docs: update Getting Started->Next.js for Next 13+ by @tulup-conner in #1185
- docs: new integration guides by @SutuSebastian in #1194
- fix(toggleswitch component): added forwardRef to ToggleSwitch component by @nikitadubyk in #1198
- feat(component): default to
type="text"
on<TextInput>
by @tulup-conner in #1206 - Update with new year (2024) by @SutuSebastian in #1215
- fix(badge): blue color on badge is cyan by @newarifrh in #1227
- feat(table): Wrap table components with forwardRef by @nigellima in #1239
- fix(button): Button ring on focus by @nigellima in #1238
- feat: Popover component by @nigellima in #1237
- docs(floatinglabel component): fix imports and code examples by @rizky201008 in #1242
- fix(button): Fixed Typescript error when using Next.js Link in the button
as
prop by @nigellima in #1244 - fix: homepage - use Link for internal links by @SutuSebastian in #1246
- fix(storybook): fix the
argTypes.weekStart.mapping
onDatepicker.stories.tsx
by @ktanoooo in #1254 - docs(examples/../timeline.horizontal.tsx): timeline Horizontal was missing the horizontal boolean value by @dhavalveera in #1262
- fix(navbar): on Mobile Screen Navbar remains open even page is changed by @dhavalveera in #1247
- fix(alert): blue color on alert is cyan by @Nicooow in #1282
- fix: typo in fileInput.dropzone.tsx by @Jeremia2001 in #1291
- fix(ButtonGroup): dynamic generated button with group wasn't styled properly by @dhavalveera in #1273
- Fix CSP violation in Carousel drag-scroll helper by @rnicholus in #1289
- fix(modal): modal overflowing bottom in chrome on ios by @DaniloSI in #1270
New Contributors
- @nikitadubyk made their first contribution in #1198
- @newarifrh made their first contribution in #1227
- @rizky201008 made their first contribution in #1242
- @ktanoooo made their first contribution in #1254
- @dhavalveera made their first contribution in #1262
- @Nicooow made their first contribution in #1282
- @Jeremia2001 made their first contribution in #1291
- @rnicholus made their first contribution in #1289
- @DaniloSI made their first contribution in #1270
Full Changelog: v0.7.2...v0.7.3
v0.7.2
What's Changed
- fix: absolute to relative import by @SutuSebastian in #1183
Full Changelog: v0.7.1...v0.7.2