Releases: themesberg/flowbite-react
[email protected]
Patch Changes
- #1631
615fda0Thanks @SutuSebastian! - up packages
[email protected]
Patch Changes
- #1624
e2b007fThanks @SutuSebastian! - fix(wrapDefaultExport): handle complex multiline exports
[email protected]
Patch Changes
- #1621
c02a977Thanks @SutuSebastian! - fix: Error: spawn npm ENOENT
[email protected]
Patch Changes
- #1615
50ae2eeThanks @SutuSebastian! - fix(ui/cli/plugins):setup-plugin-bunalso detectBun.build
[email protected]
Patch Changes
-
#1612
941a075Thanks @SutuSebastian! - Fixnextjsplugin to work on all environmentsChanges
- fix(ui):
nextjsplugin to run properly onNODE_ENVenvironments:production,developmentandtest - log file writes in
dev
Breaking changes
withFlowbiteReactnow always returns async configuration (see: Async Configuration) so make sure to wrap any other HOC (higher-order-functions) such aswithContentlayerbecause most of them do not forward pass async config arguments (eg:phase, options)// ❌ not working export default withContentlayer(withFlowbiteReact(nextConfig)); // ✅ working export default withFlowbiteReact(withContentlayer(nextConfig));
- fix(ui):
[email protected]
Patch Changes
- #1608
e1b5bb1Thanks @SutuSebastian! - fix: (node:50743) [DEP0190] DeprecationWarning
[email protected]
Patch Changes
-
#1607
a89a098Thanks @SutuSebastian! - fix:Error: Cannot find module 'tailwindcss/plugin' -
#1605
262cde0Thanks @SutuSebastian! - Search for<ThemeInit />in the project and warn if it's not found instead of warning all the timeChanges
- during commands
buildanddevcheck files content for custom configuration and display a warning if<ThemeInit />is not found - switch tests in
src/cliandsrc/helpersfromvitest->bun:test
- during commands
[email protected]
Patch Changes
-
#1600
12d3290Thanks @SutuSebastian! - fix(ui/cli/setup-init): nextjs warningChanges
- rename
config->CONFIGexport in.flowbite-react/init.(jsx|tsx)
- rename
[email protected]
Patch Changes
-
#1596
ab26436Thanks @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
[email protected]
Patch Changes
-
#1594
9017065Thanks @SutuSebastian! - fix(compareNodes): support:- different quote styles - with and without semicolons - trailing commas in objects and arrays- add tests