Releases: themesberg/flowbite-react
flowbite-react@0.12.5
Patch Changes
- #1608
e1b5bb1
Thanks @SutuSebastian! - fix: (node:50743) [DEP0190] DeprecationWarning
flowbite-react@0.12.4
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 timeChanges
- during commands
build
anddev
check files content for custom configuration and display a warning if<ThemeInit />
is not found - switch tests in
src/cli
andsrc/helpers
fromvitest
->bun:test
- during commands
flowbite-react@0.12.3
Patch Changes
-
#1600
12d3290
Thanks @SutuSebastian! - fix(ui/cli/setup-init): nextjs warningChanges
- rename
config
->CONFIG
export in.flowbite-react/init.(jsx|tsx)
- rename
flowbite-react@0.12.2
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
- filter out
flowbite-react@0.12.1
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
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 fromconfig.json
that also are needed in React app runtime (similar to how a React context works)- synced on CLI commands:
init
,build
,dev
,register
- synced on CLI commands:
- If you have custom configuration in
.flowbite-react/config.json
(differentdark
/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 customdark
,prefix
, orversion
values are detected in the configuration file
- notify users to include
- expose
flowbite-react/store
import path - check if
flowbite-react
is installed whennpx flowbite-react@latest init
- bump the version to latest if below
0.11.x
- bump the version to latest if below
- remove redundant
{ flag: "w" }
infs.writeFile
- update
dark-mode.md
andprefix.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
-
Remove
flowbite-react patch
from yourpackage.json
{ "scripts": { - "postinstall": "flowbite-react patch" } }
-
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
(differentdark
/prefix
/version
values).
- removed
flowbite-react@0.11.9
flowbite-react@0.11.8
Patch Changes
- #1579
d44648d
Thanks @SutuSebastian! - fix(Datepicker): switch hardcoded colorcyan
->primary
What's Changed
- Improve table pagination by @jfacoustic in #1567
- fix(Datepicker): switch hardcoded color
cyan
->primary
by @SutuSebastian in #1579
New Contributors
- @jfacoustic made their first contribution in #1567
Full Changelog: https://github.com/themesberg/flowbite-react/compare/flowbite-react@0.11.7...flowbite-react@0.11.8
flowbite-react@0.11.7
Patch Changes
- #1556
f0724b9
Thanks @SutuSebastian! - fix(ui~cli):patch
command windows support
flowbite-react@0.11.6
Patch Changes
-
#1552
bab6c75
Thanks @bigbyte-stuart! - make drawer close button type button -
#1555
2f461ea
Thanks @SutuSebastian! - refactor(ui~convertUtilitiesToV4): dropjs-regexp-lookbehind
in favor of more simpler regex for improved browser support