fix(deps): update module github.com/charmbracelet/bubbles to v0.20.0 #106
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.16.0
->v0.20.0
Release Notes
charmbracelet/bubbles (github.com/charmbracelet/bubbles)
v0.20.0
Compare Source
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
andtextarea
which were recently added to Bubble Tea v1.1.0. As long asWithReportFocus
is enabled in your Program you'll automatically get nicer inputs.To enable focus reporting:
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.Of course, you can still set the values on the model directly too:
Happy paging!
Changelog
New!
d3bd075
: feat(cursor): focus/blur support (#581) (@caarlos0)5110925
: feat: Introduce paginator options (@nervo)Deps
3eaf8da
: feat(deps): bump github.com/charmbracelet/bubbletea from 0.27.0 to 1.0.0 (#604) (@dependabot[bot])6fc27e9
: feat(deps): bump github.com/charmbracelet/bubbletea from 1.0.0 to 1.1.0 (#607) (@dependabot[bot])Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v0.19.0
Compare Source
Bugs? Squashed (along with a few nice lil’ features).
Community-Driven Development?! Yep, the majority of the changes in this release were done by the community. Thank you all for your contributions that made this release possible.
Progress: custom chars
You can now customize the filled and empty characters of the progress bar.
Table improvements
Help is on the way
Table now includes a short and full help view so it's easier than ever to tell your users how to interact with the table.
Accessing columns
You can also now get the table's columns (this already existed for rows).
List: page navigation is fixed!
Previously,
list.NextPage()
andlist.PrevPage()
didn't work because the methods did not have pointer receivers. We've fixed this…by making them pointer receivers!What’s Changed
Changed
Added
Fixed
Test coverage ✅
New Contributors
Full Changelog: charmbracelet/bubbles@v0.18.0...v0.19.0
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v0.18.0
Compare Source
Textarea, but faster
This release features several fixes and big performance improvements for the
textarea
bubble.What's Changed
New
Improved
uniseg.StringWidth
by @maaslalani in https://github.com/charmbracelet/bubbles/pull/462Fixed
New Contributors
Full Changelog: charmbracelet/bubbles@v0.17.1...v0.18.0
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v0.17.1
Compare Source
What's Changed
Full Changelog: charmbracelet/bubbles@v0.17.0...v0.17.1
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v0.17.0
Compare Source
Text input autocompletions and various improvements
Autocompletion in Text Input
So @toadle wanted
textinput
s to support autocompletion in a ghost-text kind of a way. Rather than wait for us to do it he did what any dedicated open source developer would: he sent a PR! And now we can all benefit from his hard work.Autocompletion is super easy to use:
By default you can press ctrl+n and ctrl+p to cycle through suggestions, but those keybindings can be changed as you, the application developer, see fit. For details check out
textinput.SetSuggestions
and the correspondingKeyMap
in the docs.Is the progress bar done yet?
@yrashk acutely noticed that to nicely transition from one state to another after an animated progress bar fills up it's helpful to know when the animated has finished animating before transitioning. To solve for this he added an
IsAnimating
method to theprogress
model. Thanks, @yrashk!Changelog
New!
Improved
filterItems
by @naglis in https://github.com/charmbracelet/bubbles/pull/396Fixed
Full Changelog: charmbracelet/bubbles@v0.16.1...v0.17.0
New Contributors
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v0.16.1
Compare Source
File Picker Bubble 📁 🫧
This release introduces a brand new
filepicker
bubble, new features, and a tonne of bugfixes.Let us know what you think, ask questions, or just say hello in our Discord.
For a quick start on how to use this bubble, take a look at the Example code.
Getting Started
Create a new file picker and add it to your Bubble Tea model.
Initialize the file picker in your
Model
'sInit
function.Update the filepicker as any other bubble in the
Update
function.After the
picker.Update
, use theDidSelectFile(msg tea.Msg)
function to perform an action when the user selects a valid file.You may allow only certain file types to be selected with the
AllowedTypes
property and allow directories to be selected with theDirAllowed
property. To see the currently selected file/directory use thePath
property.For the full example on how to use this bubble, take a look at the Example code.
New
Fixed
deleteWordRight
was called at the end of line by @infastin in https://github.com/charmbracelet/bubbles/pull/313BackgroundStyle
in TextInput by @savannahostrowski in https://github.com/charmbracelet/bubbles/pull/341SelectedRow
by @MikaelFangel in https://github.com/charmbracelet/bubbles/pull/351CursorStyle
in favour ofCursor.Style
by @maaslalani in https://github.com/charmbracelet/bubbles/pull/365CursorBlink
by @remiposo in https://github.com/charmbracelet/bubbles/pull/378New Contributors
Full Changelog: charmbracelet/bubbles@v0.15.0...v0.16.0
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
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.