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

Bump flowbite-react from 0.7.2 to 0.10.2 #2691

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 4, 2024

Bumps flowbite-react from 0.7.2 to 0.10.2.

Release notes

Sourced from flowbite-react's releases.

flowbite-react@0.10.2

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

What's Changed

New Contributors

Full Changelog: https://github.com/themesberg/flowbite-react/compare/create-flowbite-react@1.0.8...flowbite-react@0.10.2

flowbite-react@0.10.1

Patch Changes

... (truncated)

Changelog

Sourced from flowbite-react's changelog.

0.10.2

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

0.10.1

Patch Changes

0.10.0

Minor Changes

Patch Changes

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by Sourcery

Build:

  • Update flowbite-react dependency from version 0.7.2 to 0.10.2 in package.json.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 4, 2024
Copy link

sourcery-ai bot commented Nov 4, 2024

Reviewer's Guide by Sourcery

This PR updates the flowbite-react dependency from version 0.7.2 to 0.10.2. The update includes significant improvements to the Datepicker component, bug fixes for autocomplete functionality, and various other enhancements and fixes across different components.

Updated class diagram for Datepicker component

classDiagram
    class Datepicker {
        +value: Date
        +defaultValue: Date
        +useMemo()
        +useEffect()
    }
    class DatepickerContext {
        -selectedDate: Date
    }
    class Decades {
        +checkSelectedDate()
    }
    class Months {
        +checkSelectedDate()
    }
    class Years {
        +checkSelectedDate()
    }
    Datepicker --> DatepickerContext
    Datepicker --> Decades
    Datepicker --> Months
    Datepicker --> Years
    note for Datepicker "Supports controlled inputs via value and defaultValue props"
Loading

Updated class diagram for Dropdown component

classDiagram
    class Dropdown {
        +label: String (optional)
    }
    note for Dropdown "Label prop is now optional"
Loading

File-Level Changes

Change Details Files
Major enhancements to the Datepicker component functionality
  • Added support for controlled inputs via value and defaultValue props
  • Optimized internal state management with useMemo and useEffect
  • Added comprehensive unit tests for date handling
  • Improved documentation and Storybook examples
Datepicker.tsx
DatepickerContext.tsx
Decades.tsx
Months.tsx
Years.tsx
Datepicker.spec.tsx
Datepicker.stories.tsx
Bug fixes and improvements across various components
  • Fixed autocomplete for string enums with dynamic values
  • Made label prop optional in Dropdown component
  • Fixed year selection issues in Datepicker
  • Fixed duplicate month display in Datepicker
  • Fixed unclickable decade picker in Datepicker
package.json
yarn.lock

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/flowbite-react-0.10.2 branch from 22fb7d7 to 1a8d1ef Compare November 9, 2024 03:42
Bumps [flowbite-react](https://github.com/themesberg/flowbite-react/tree/HEAD/packages/ui) from 0.7.2 to 0.10.2.
- [Release notes](https://github.com/themesberg/flowbite-react/releases)
- [Changelog](https://github.com/themesberg/flowbite-react/blob/main/packages/ui/CHANGELOG.md)
- [Commits](https://github.com/themesberg/flowbite-react/commits/flowbite-react@0.10.2/packages/ui)

---
updated-dependencies:
- dependency-name: flowbite-react
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/flowbite-react-0.10.2 branch from 1a8d1ef to 0875f28 Compare November 9, 2024 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants