diff --git a/.changeset/old-jobs-decide.md b/.changeset/old-jobs-decide.md deleted file mode 100644 index 1d8d067ef..000000000 --- a/.changeset/old-jobs-decide.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -"flowbite-react": patch ---- - -### Datepicker Component Updates - -The Datepicker has been enhanced with several improvements: - -1. **Controlled Inputs**: Supports controlled inputs via `value` and `defaultValue` props, enabling programmatic date updates without manual clicks. -2. **State Management**: Optimized internal state management using `useMemo` and `useEffect`. -3. **Documentation**: Added sections in documentation for controlled usage and handling `null` values. -4. **Test Cases**: Comprehensive unit tests added for date handling. -5. **Storybook**: Improved stories, showcasing different states (controlled/uncontrolled). - -### Files Updated: - -- `apps/web/content/docs/components/datepicker.mdx`: Added controlled usage section. -- `Datepicker.spec.tsx`: Added unit tests. -- `Datepicker.stories.tsx`: Enhanced story variants. -- `Datepicker.tsx`: Expanded `DatepickerProps`. -- `DatepickerContext.tsx`: Adjusted `selectedDate` type. -- `Decades.tsx`, `Months.tsx`, `Years.tsx`: Updated logic to check for `selectedDate`. diff --git a/.changeset/plenty-lemons-bow.md b/.changeset/plenty-lemons-bow.md deleted file mode 100644 index 29ebd753d..000000000 --- a/.changeset/plenty-lemons-bow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"flowbite-react": patch ---- - -fix: autocomplete for string enums with dynamic value not working diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index b32fa7e29..3a69981d1 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -1,5 +1,30 @@ # Changelog +## 0.10.2 + +### Patch Changes + +- [#1190](https://github.com/themesberg/flowbite-react/pull/1190) [`25bb353`](https://github.com/themesberg/flowbite-react/commit/25bb353685c595c2b05f1a355a381c28fd57526a) Thanks [@ddiasfront](https://github.com/ddiasfront)! - ### Datepicker Component Updates + + The Datepicker has been enhanced with several improvements: + + 1. **Controlled Inputs**: Supports controlled inputs via `value` and `defaultValue` props, enabling programmatic date updates without manual clicks. + 2. **State Management**: Optimized internal state management using `useMemo` and `useEffect`. + 3. **Documentation**: Added sections in documentation for controlled usage and handling `null` values. + 4. **Test Cases**: Comprehensive unit tests added for date handling. + 5. **Storybook**: Improved stories, showcasing different states (controlled/uncontrolled). + + ### Files Updated: + + - `apps/web/content/docs/components/datepicker.mdx`: Added controlled usage section. + - `Datepicker.spec.tsx`: Added unit tests. + - `Datepicker.stories.tsx`: Enhanced story variants. + - `Datepicker.tsx`: Expanded `DatepickerProps`. + - `DatepickerContext.tsx`: Adjusted `selectedDate` type. + - `Decades.tsx`, `Months.tsx`, `Years.tsx`: Updated logic to check for `selectedDate`. + +- [#1484](https://github.com/themesberg/flowbite-react/pull/1484) [`38913e5`](https://github.com/themesberg/flowbite-react/commit/38913e51536ecf1c8e924a6de571880cb91d2ea0) Thanks [@KRTirtho](https://github.com/KRTirtho)! - fix: autocomplete for string enums with dynamic value not working + ## 0.10.1 ### Patch Changes diff --git a/packages/ui/package.json b/packages/ui/package.json index fbe98a40b..550fb0d27 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "flowbite-react", - "version": "0.10.1", + "version": "0.10.2", "description": "Official React components built for Flowbite and Tailwind CSS", "keywords": [ "design-system",