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

fix(deps): update dependency flex_color_picker to v3.6.0 #1381

Merged
merged 2 commits into from
Oct 3, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 3, 2024

This PR contains the following updates:

Package Type Update Change
flex_color_picker dependencies minor 3.5.1 -> 3.6.0

Release Notes

rydmike/flex_color_picker (flex_color_picker)

v3.6.0

Compare Source

September 25, 2024

NEW

The ColorPicker got the following new properties and features:

  • Boolean showEditIconButton, defaults to false.

    • Whether to show an edit icon button before the color code field. The edit icon button can be used to give users a visual que that the color code field can be edited. When set to true, the icon button is only shown when the wheel picker is active and colorCodeReadOnly is false. Tapping the icon button will focus the color code entry field.
    • Feature included in updated web demo app: YES
  • IconData editIcon, defaults to Icons.edit.

    • The icon to use on the edit icon button.
    • Feature included in updated web demo app: NO, only default icon used.
  • Boolean focusedEditHasNoColor, defaults to false.

    • Whether the color code entry field should have no color when focused. If the option, to make the color code field have the same color as the selected color is enabled via colorCodeHasColor, it makes it look and double like a big color indicator that shows the selected color. This can also make the edit of the color code confusing, as its color on purpose also changes as you edit and enter a new color value. If you find this behavior confusing and want to make the color code field always have no color during value entry, regardless of the selected color, then set this option to true.
    • Feature included in updated web demo app: YES
  • Boolean tonalPaletteFixedMinChroma, defaults to false.

    • Whether the tonal palette uses a fixed minimum chroma value for all tones, or if it uses the chroma value of the selected color. Prior to version 3.6.0, the tonal palette used minimum chroma value of 48 or chroma of the selected color. This was the default primary tonal palette behavior in Flutter's ColorScheme.fromSeed method before Flutter version 3.22.0. Starting from FlexColorPicker version 3.6.0, the picker creates a HCT color space tonal palette using whatever hue and chroma the selected color has. If you for some reason want to use the old behavior, set this property to true. This will make the tonal palette use the fixed minimum chroma value of 48 for all tones.
    • Feature included in updated web demo app: YES

FIX

  • Since version 3.4.0 the value of property ColorPickerCopyPasteBehavior.editUsesParsedPaste had no impact on the picker's paste behavior when the color code text field was focused. The color picker always behaved as if this property was true. Which incidentally is the behavior that pretty much all uses cases should use. This feature now again works as stated in its doc comments. However, the default value was changed from false to true, to match the actual default behavior it has had since version 3.4.0, and the behavior that should be preferred. The false setting was there to provide color code text field paste behavior backwards compatibility with versions before 2.0.0. We may deprecate this property in a future version, as it is not really recommended to use false at all, but for now it is fixed again.

TESTS

  • Improved the test coverage of the ColorPicker.

Configuration

📅 Schedule: Branch creation - "after 6pm every weekday,every weekend" in timezone Australia/Sydney, Automerge - "after 6pm every weekday,every weekend" in timezone Australia/Sydney.

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, 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 added the dependencies label Oct 3, 2024
@renovate renovate bot enabled auto-merge (squash) October 3, 2024 09:45
@renovate renovate bot merged commit 234f9ce into main Oct 3, 2024
16 checks passed
@renovate renovate bot deleted the renovate/flex_color_picker-3.x branch October 3, 2024 10:02
zeshuaro pushed a commit that referenced this pull request Oct 6, 2024
## [2.2.6](v2.2.5...v2.2.6) (2024-10-06)

### Bug Fixes

* **deps:** update dependency flex_color_picker to v3.6.0 ([#1381](#1381)) ([234f9ce](234f9ce))
* **deps:** update firebase dependencies ([#1383](#1383)) ([02f1da7](02f1da7))

### Miscellaneous Chores

* **deps:** lock file maintenance ([#1377](#1377)) ([0deb1a7](0deb1a7))
* **deps:** update dependency flutter_lints to v5 ([#1382](#1382)) ([dbb158e](dbb158e))
* **deps:** update dependency semantic-release to v24.1.2 ([#1379](#1379)) ([ea6f224](ea6f224))
* **node:** update dependency node to v20.18.0 ([#1384](#1384)) ([c9953a8](c9953a8))

### Continuous Integration

* **deps:** update codecov/codecov-action action to v4.6.0 ([#1380](#1380)) ([c731476](c731476))
* **deps:** update zeshuaro/github-actions-workflows digest to 478b37c ([#1385](#1385)) ([dbaa69f](dbaa69f))
* **deps:** update zeshuaro/github-actions-workflows digest to ce6c1c5 ([#1378](#1378)) ([aafd1e7](aafd1e7))
@zeshuaro
Copy link
Owner

zeshuaro commented Oct 6, 2024

🎉 This PR is included in version 2.2.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant