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!
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 than tsc, which is very slow.
After evaluating various tools including tsup, tshy, and bun build, we chose rollup with the esbuild plugin for transpiling due to its performance and flexibility. We continue to use tsc 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 from dist/esm to dist/types
changed the build output dir from lib to dist
created a facade layer for easier management of the content path as well as the plugin
fixed turbo repo dependency tree configs in order for apps/web to properly pipe and require the build output of packages/ui in certain script steps such as build and dev
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.
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 than tsc, which is very slow.
After evaluating various tools including tsup, tshy, and bun build, we chose rollup with the esbuild plugin for transpiling due to its performance and flexibility. We continue to use tsc 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 from dist/esm to dist/types
changed the build output dir from lib to dist
created a facade layer for easier management of the content path as well as the plugin
fixed turbo repo dependency tree configs in order for apps/web to properly pipe and require the build output of packages/ui in certain script steps such as build and dev
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps flowbite-react from 0.7.2 to 0.9.0.
Release notes
Sourced from flowbite-react's releases.
... (truncated)
Changelog
Sourced from flowbite-react's changelog.
... (truncated)
Commits
8ae8b16
Version Packages (#1369)1028222
feat(component): add\<MegaMenu/>
(#1331)1ffd9dc
feat(component): add\<Drawer/>
(#1342)a3d282b
Version Packages (#1349)bf1bdb0
packages(ui): build step using rollup + tsc (#1344)65e7c89
Version Packages (#1340)8430004
fix: packages(ui) package.json types path (#1339)19da9c3
Version Packages (#1338)b6ebb31
fix(ui): build step + improve DX (#1336)cccda3e
fix: align config files extentions (js/cjs/mjs) + remove"type": "module"
f...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show