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 dev.chrisbanes.haze:haze to v0.4.1 #1135

Merged
merged 4 commits into from
Dec 16, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 11, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
dev.chrisbanes.haze:haze 0.3.1 -> 0.4.1 age adoption passing confidence

Release Notes

chrisbanes/haze (dev.chrisbanes.haze:haze)

v0.4.1

Compare Source

What's Changed

New Contributors

Full Changelog: chrisbanes/haze@0.4.0...0.4.1

v0.4.0

Compare Source

New API!

I have broken the existing API, but hopefully you can see why. You no longer need to manually calculate bounds. HazeState + Modifier.haze() + Modifier.hazeChild() is all you need.

val hazeState = remember { HazeState() } 

Box {
  LazyColumn(
    modifier = Modifier
      .fillMaxSize()
      .haze(
        // Pass it the HazeState we stored above
        state = hazeState,
        // Need to provide background color of the content
        backgroundColor = MaterialTheme.colorScheme.surface,
      ),
  ) {
    // todo
  }

  Text(
    text = "Content will be blurred behind this",
    modifier = Modifier
      // We use hazeChild on anything where we want the background
      // blurred. We can even provide a shape.
      .hazeChild(
        state = hazeState,
        shape = RoundedCornerShape(16.dp),
      ),
  )
}

What's Changed

Full Changelog: chrisbanes/haze@0.3.1...0.4.0


Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title Update dependency dev.chrisbanes.haze:haze to v0.4.0 Update dependency dev.chrisbanes.haze:haze to v0.4.1 Dec 14, 2023
@renovate renovate bot force-pushed the renovate/dev.chrisbanes.haze-haze-0.x branch from df321c1 to 36e3d4a Compare December 14, 2023 20:51
Copy link
Contributor Author

renovate bot commented Dec 16, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@ZacSweers ZacSweers merged commit f36e170 into main Dec 16, 2023
1 check passed
@ZacSweers ZacSweers deleted the renovate/dev.chrisbanes.haze-haze-0.x branch December 16, 2023 05:18
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.

1 participant