hay-kot / scaffold

A cookie cutter alternative with in-project scaffolding for generating components, controllers, or other common code patterns.
https://hay-kot.github.io/scaffold/
MIT License
63 stars 8 forks source link

fix(deps): update module github.com/charmbracelet/bubbles to v0.20.0 - autoclosed #215

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 2 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/charmbracelet/bubbles v0.19.0 -> v0.20.0 age adoption passing confidence

Release Notes

charmbracelet/bubbles (github.com/charmbracelet/bubbles) ### [`v0.20.0`](https://redirect.github.com/charmbracelet/bubbles/releases/tag/v0.20.0) [Compare Source](https://redirect.github.com/charmbracelet/bubbles/compare/v0.19.0...v0.20.0) ### Focus. Breathe. This features support for Bubble Tea's new focus-blur feature as well as a quality-of-life update to `paginator`. Enjoy! #### Focus You heard that right. Focus-blur window events are now enabled for `textinput` and `textarea` which were recently added to [Bubble Tea v1.1.0](https://redirect.github.com/charmbracelet/bubbletea/releases/tag/v1.1.0). As long as [`WithReportFocus`](https://pkg.go.dev/github.com/charmbracelet/bubbletea#WithReportFocus) is enabled in your Program you'll automatically get nicer inputs. To enable focus reporting: ```go p := tea.NewProgram(model{}, tea.WithReportFocus()) ``` Remember to stay focused and hydrated! #### Paginator opts Speaking of functional arguments, `paginator` also received some some new quality-of-life startup options, courtesy [@​nervo](https://redirect.github.com/nervo). ```go p := paginator.New( paginator.WithPerPage(42), paginator.WithTotalPages(42), ) ``` Of course, you can still set the values on the model directly too: ```go p := paginator.New() p.PerPage = 42 p.TotalPages = 24 ``` Happy paging! #### Changelog ##### New! - [`d3bd075`](https://redirect.github.com/charmbracelet/bubbles/commit/d3bd075ed2b27a3b5d76bb79b5d1c928dcd780d0): feat(cursor): focus/blur support ([#​581](https://redirect.github.com/charmbracelet/bubbles/issues/581)) ([@​caarlos0](https://redirect.github.com/caarlos0)) - [`5110925`](https://redirect.github.com/charmbracelet/bubbles/commit/5110925e8788a8ecfd206df0da8dbeed36cde0f0): feat: Introduce paginator options ([@​nervo](https://redirect.github.com/nervo)) ##### Deps - [`3eaf8da`](https://redirect.github.com/charmbracelet/bubbles/commit/3eaf8da348203f12a72ce4f994334dc4cd8d91ba): feat(deps): bump github.com/charmbracelet/bubbletea from 0.27.0 to 1.0.0 ([#​604](https://redirect.github.com/charmbracelet/bubbles/issues/604)) ([@​dependabot](https://redirect.github.com/dependabot)\[bot]) - [`6fc27e9`](https://redirect.github.com/charmbracelet/bubbles/commit/6fc27e99d3b0e0cf5db13111e518b47435c42f5a): feat(deps): bump github.com/charmbracelet/bubbletea from 1.0.0 to 1.1.0 ([#​607](https://redirect.github.com/charmbracelet/bubbles/issues/607)) ([@​dependabot](https://redirect.github.com/dependabot)\[bot]) *** The Charm logo Thoughts? Questions? We love hearing from you. Feel free to reach out on [Twitter](https://twitter.com/charmcli), [The Fediverse](https://mastodon.technology/@​charm), or on [Discord](https://charm.sh/chat).

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 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.



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