Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency flowbite-react to ^0.10.0 #52

Merged
merged 1 commit into from
Jan 19, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 19, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
flowbite-react (source) ^0.7.0 -> ^0.10.0 age adoption passing confidence

Release Notes

themesberg/flowbite-react (flowbite-react)

v0.10.2

Compare Source

Patch Changes
  • #​1190 25bb353 Thanks @​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 38913e5 Thanks @​KRTirtho! - fix: autocomplete for string enums with dynamic value not working

v0.10.1

Compare Source

Patch Changes

v0.10.0

Compare Source

Minor Changes
Patch Changes

v0.9.0

Compare Source

Minor Changes
Summary

Say hello to Drawer and Mega menu!

These long-awaited components from the vanilla Flowbite library have finally made their way to Flowbite React. Everything you need to get started - including full theme support, and the full set of examples to match the main Flowbite library - are ready at your fingertips.

Changes
  • added Drawer component
  • added Mega menu component

v0.8.0

Compare Source

Minor Changes
Summary

In order to bring more performance to the build process of flowbite-react package, we have to consider transpiling the files using other tools rather than tsc, which is very slow.

After evaluating various tools including tsup, tshy, and bun build, we chose rollup with the esbuild plugin for transpiling due to its performance and flexibility. We continue to use tsc solely for generating *.d.ts declaration files.

Changes
  • added rollup + esbuild for transpiling files
    • all files in the cjs directory now have .cjs extension
    • all files in the esm directory now have .mjs extension
    • declaration file types (*.d.ts) have been moved from dist/esm to dist/types
  • changed the build output dir from lib to dist
  • created a facade layer for easier management of the content path as well as the plugin
  • fixed turbo repo dependency tree configs in order for apps/web to properly pipe and require the build output of packages/ui in certain script steps such as build and dev
Breaking changes

tailwind.config.js content path:

old: "node_modules/flowbite-react/lib/esm/**/*.js"

new: "node_modules/flowbite-react/dist/esm/**/*.mjs" - (flowbite.content() returns it)

Before

/** @​type {import('tailwindcss').Config} */
module.exports = {
  content: [
    // ...
    "node_modules/flowbite-react/lib/esm/**/*.js",
  ],
  plugins: [
    // ...
    require("flowbite/plugin"),
  ],
};

After

const flowbite = require("flowbite-react/tailwind");

/** @​type {import('tailwindcss').Config} */
module.exports = {
  content: [
    // ...
    flowbite.content(),
  ],
  plugins: [
    // ...
    flowbite.plugin(),
  ],
};

v0.7.8

Compare Source

Patch Changes

v0.7.7

Compare Source

Patch Changes

v0.7.6

Compare Source

Patch Changes

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.7.5 (2024-03-20)

Re-publish, broken build in 0.7.4.

0.7.4 (2024-03-20)
Bug Fixes
  • button: fix: polymorphic component return types [button, dropdown item] (#​1308) (f8775d8), closes #​962
0.7.3 (2024-03-12)
Features
Bug Fixes
0.7.2 (2023-12-12)
Bug Fixes
0.7.1 (2023-12-12)
⚠ BREAKING CHANGES
  • datepicker: As the WeekStart enum changed order to be aligned with Javascript Date object, now
    you have to change your weekStart attribute to be -1, so for Monday you should put 1, instead of 2.
    But it wasn't working before as the values were incorrectly rendered in the first place.
Features
Bug Fixes

v0.7.5

Compare Source

Re-publish, broken build in 0.7.4.

v0.7.4

Compare Source

v0.7.3

Compare Source

v0.7.2

Compare Source

v0.7.1

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (squash) January 19, 2025 13:22
@renovate renovate bot merged commit 09b2d96 into main Jan 19, 2025
2 checks passed
@renovate renovate bot deleted the renovate/flowbite-react-0.x branch January 19, 2025 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants