Skip to content

Releases: themesberg/flowbite-react

flowbite-react@0.9.0

16 Apr 23:16
8ae8b16
Compare
Choose a tag to compare

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

04 Apr 12:33
a3d282b
Compare
Choose a tag to compare

Minor Changes

  • #1344 bf1bdb0 Thanks @SutuSebastian! - Rework build process using rollup and tsc

    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 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

    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

    #1326, #1329, #1343

flowbite-react@0.7.8

01 Apr 18:54
65e7c89
Compare
Choose a tag to compare

Patch Changes

flowbite-react@0.7.7

01 Apr 18:31
19da9c3
Compare
Choose a tag to compare

Patch Changes

create-flowbite-react@1.0.6

01 Apr 18:31
19da9c3
Compare
Choose a tag to compare

Patch Changes

flowbite-react@0.7.6

29 Mar 15:06
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: https://github.com/themesberg/flowbite-react/compare/v0.7.5...flowbite-react@0.7.6

v0.7.5

20 Mar 16:13
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.7.3...v0.7.5

v0.7.4 - Broken

20 Mar 15:44
Compare
Choose a tag to compare
fix: revert package.json prune

v0.7.3

12 Mar 13:34
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.7.2...v0.7.3

v0.7.2

12 Dec 15:29
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.7.1...v0.7.2