Skip to content

Releases: themesberg/flowbite-react

flowbite-react@0.12.5

28 Jul 09:04
93c24aa
Compare
Choose a tag to compare

Patch Changes

flowbite-react@0.12.4

27 Jul 18:49
66abdf0
Compare
Choose a tag to compare

Patch Changes

  • #1607 a89a098 Thanks @SutuSebastian! - fix: Error: Cannot find module 'tailwindcss/plugin'

  • #1605 262cde0 Thanks @SutuSebastian! - Search for <ThemeInit /> in the project and warn if it's not found instead of warning all the time

    Changes

    • during commands build and dev check files content for custom configuration and display a warning if <ThemeInit /> is not found
    • switch tests in src/cli and src/helpers from vitest -> bun:test

flowbite-react@0.12.3

24 Jul 08:24
5f4e35e
Compare
Choose a tag to compare

Patch Changes

  • #1600 12d3290 Thanks @SutuSebastian! - fix(ui/cli/setup-init): nextjs warning

    Changes

    • rename config -> CONFIG export in .flowbite-react/init.(jsx|tsx)

flowbite-react@0.12.2

22 Jul 15:22
17c3380
Compare
Choose a tag to compare

Patch Changes

  • #1596 ab26436 Thanks @SutuSebastian! - refactor(setup-init): relax checks on React imports due to IDE formatters removing it if not necessary

    • filter out import React from "react" from the AST when parsing current and new content

flowbite-react@0.12.1

22 Jul 13:32
2df11f3
Compare
Choose a tag to compare

Patch Changes

  • #1594 9017065 Thanks @SutuSebastian! - fix(compareNodes): support:

    - different quote styles
    - with and without semicolons
    - trailing commas in objects and arrays
    
    • add tests

flowbite-react@0.12.0

22 Jul 12:04
29496c4
Compare
Choose a tag to compare

Minor Changes

  • #1566 7b79b18 Thanks @SutuSebastian! - # Breaking changes

    • removed flowbite-react patch CLI command

    Changes

    • flowbite-react/.gitignore, flowbite-react/config.json self manages, regenerates and repairs
    • new generated file init.(jsx|tsx) in .flowbite-react/ directory that syncs up values from config.json that also are needed in React app runtime (similar to how a React context works)
      • synced on CLI commands: init, build, dev, register
    • If you have custom configuration in .flowbite-react/config.json (different dark/prefix/version values), you must render <ThemeInit /> at the root level of your app to sync runtime with node config values
      • notify users to include <ThemeInit /> at the root level if custom dark, prefix, or version values are detected in the configuration file
    • expose flowbite-react/store import path
    • check if flowbite-react is installed when npx flowbite-react@latest init
      • bump the version to latest if below 0.11.x
    • remove redundant { flag: "w" } in fs.writeFile
    • update dark-mode.md and prefix.md documentation to reflect the <ThemeInit /> changes
    • add Tailwind CSS version support in theme mode handling and fix dark theme toggle class in Tailwind CSS v4

    Migration Guide

    1. Remove flowbite-react patch from your package.json

      {
        "scripts": {
      -   "postinstall": "flowbite-react patch"
        }
      }
      
    2. Add <ThemeInit /> (import from .flowbite-react/init.(jsx|tsx)) at the root level of your app if you have custom configuration in .flowbite-react/config.json (different dark/prefix/version values).

flowbite-react@0.11.9

12 Jul 14:00
213be8e
Compare
Choose a tag to compare

Patch Changes

flowbite-react@0.11.8

07 Jun 12:49
557d233
Compare
Choose a tag to compare

Patch Changes

What's Changed

New Contributors

Full Changelog: https://github.com/themesberg/flowbite-react/compare/flowbite-react@0.11.7...flowbite-react@0.11.8

flowbite-react@0.11.7

02 Apr 09:15
2dcc282
Compare
Choose a tag to compare

Patch Changes

flowbite-react@0.11.6

02 Apr 07:57
ffc962b
Compare
Choose a tag to compare

Patch Changes