diff --git a/.changeset/tricky-planes-shake.md b/.changeset/tricky-planes-shake.md deleted file mode 100644 index c2785cbb6..000000000 --- a/.changeset/tricky-planes-shake.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -"flowbite-react": minor ---- - -# 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 `` at the root level of your app to sync runtime with node config values - - notify users to include `` 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 `` 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` - - ```diff - { - "scripts": { - - "postinstall": "flowbite-react patch" - } - } - ``` - -2. Add `` (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). diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index 23acb7882..eb4a4d64c 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -1,5 +1,41 @@ # Changelog +## 0.12.0 + +### Minor Changes + +- [#1566](https://github.com/themesberg/flowbite-react/pull/1566) [`7b79b18`](https://github.com/themesberg/flowbite-react/commit/7b79b18e63bc1bf25250186a55c439a534b8a254) Thanks [@SutuSebastian](https://github.com/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 `` at the root level of your app to sync runtime with node config values + - notify users to include `` 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 `` 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` + + ```diff + { + "scripts": { + - "postinstall": "flowbite-react patch" + } + } + ``` + + 2. Add `` (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). + ## 0.11.9 ### Patch Changes diff --git a/packages/ui/package.json b/packages/ui/package.json index fc13eb96b..47e298662 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "flowbite-react", - "version": "0.11.9", + "version": "0.12.0", "description": "Official React components built for Flowbite and Tailwind CSS", "keywords": [ "design-system",