gabe565 / ascii-movie

🌌 Star Wars SSH + Telnet server written in Go
GNU General Public License v3.0
214 stars 10 forks source link

chore(deps): update module github.com/charmbracelet/bubbles to v0.20.0 #136

Open gabe565-renovate[bot] opened 1 month ago

gabe565-renovate[bot] commented 1 month ago

This PR contains the following updates:

Package Type Update Change
github.com/charmbracelet/bubbles require minor v0.19.0 -> v0.20.0

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 becomes conflicted, or you tick the rebase/retry checkbox.

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



This PR has been generated by Renovate Bot.

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud