chore(deps): update module github.com/charmbracelet/bubbles to v0.16.1 - autoclosed #22

Closed
renovate wants to merge 1 commits from renovate/github.com-charmbracelet-bubbles-0.x into master
Contributor

This PR contains the following updates:

Package Type Update Change
github.com/charmbracelet/bubbles require minor v0.14.0 -> v0.16.1

Release Notes

charmbracelet/bubbles (github.com/charmbracelet/bubbles)

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.

File picker example

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.

picker := filepicker.New()
picker.CurrentDirectory, err = os.UserHomeDir()
if err != nil {
    // ...
}

m := model{
    picker: picker,
    // ...
}

Initialize the file picker in your Model's Init function.

func (m model) Init() tea.Cmd {
    return tea.Batch(
        m.picker.Init(),
        // ...
    )
}

Update the filepicker as any other bubble in the Update function.
After the picker.Update, use the DidSelectFile(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 the DirAllowed property. To see the currently selected file/directory use the Path property.

var cmd tea.Cmd
m.picker, cmd = m.picker.Update(msg)

// Did the user select a file?
if didSelect, path := m.picker.DidSelectFile(msg); didSelect {
	// Get the path of the selected file.
	return m, tea.Println("You selected: " + selectedPath)
}

return m, cmd

For the full example on how to use this bubble, take a look at the Example code.

New

Fixed

New Contributors

Full Changelog: https://github.com/charmbracelet/bubbles/compare/v0.15.0...v0.16.0


The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.

v0.16.0

Compare Source

v0.15.0

Compare Source

Ceci, Cela

This is primarily a housekeeping release with lots and lots of bugfixes and improvements from the community. Thanks, everyone, for all your support! 🤗

Please do feel free to say hello, ask questions, and tell us what else you want to see in our Discord. 💬

New

Fixed

New Contributors

Full Changelog: https://github.com/charmbracelet/bubbles/compare/v0.14.0...v0.15.0


The Charm logo

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

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/charmbracelet/bubbles](https://github.com/charmbracelet/bubbles) | require | minor | `v0.14.0` -> `v0.16.1` | --- ### Release Notes <details> <summary>charmbracelet/bubbles (github.com/charmbracelet/bubbles)</summary> ### [`v0.16.1`](https://github.com/charmbracelet/bubbles/releases/tag/v0.16.1) [Compare Source](https://github.com/charmbracelet/bubbles/compare/v0.16.0...v0.16.1) ### 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](https://charm.sh/chat). <img src="https://vhs.charm.sh/vhs-yET2HNiJNEbyqaVfYuLnY.gif" width="600" alt="File picker example"> For a quick start on how to use this bubble, take a look at the [Example code](https://github.com/charmbracelet/bubbletea/tree/master/examples/file-picker/main.go). ##### Getting Started Create a new file picker and add it to your Bubble Tea model. ```go picker := filepicker.New() picker.CurrentDirectory, err = os.UserHomeDir() if err != nil { // ... } m := model{ picker: picker, // ... } ``` Initialize the file picker in your `Model`'s `Init` function. ```go func (m model) Init() tea.Cmd { return tea.Batch( m.picker.Init(), // ... ) } ``` Update the filepicker as any other bubble in the `Update` function. After the `picker.Update`, use the `DidSelectFile(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 the `DirAllowed` property. To see the currently selected file/directory use the `Path` property. ```go var cmd tea.Cmd m.picker, cmd = m.picker.Update(msg) // Did the user select a file? if didSelect, path := m.picker.DidSelectFile(msg); didSelect { // Get the path of the selected file. return m, tea.Println("You selected: " + selectedPath) } return m, cmd ``` For the full example on how to use this bubble, take a look at the [Example code](https://github.com/charmbracelet/bubbletea/tree/master/examples/file-picker/main.go). #### New - Filepicker: new bubble by [@&#8203;maaslalani](https://github.com/maaslalani) in https://github.com/charmbracelet/bubbles/pull/343 - Textarea: max width/height configurable by [@&#8203;knz](https://github.com/knz) in https://github.com/charmbracelet/bubbles/pull/370 - Spinner: periods of ellipsis by [@&#8203;meowgorithm](https://github.com/meowgorithm) in https://github.com/charmbracelet/bubbles/pull/375 - List: infinite scrolling by [@&#8203;jon4hz](https://github.com/jon4hz) in https://github.com/charmbracelet/bubbles/pull/316 #### Fixed - app would crash if `deleteWordRight` was called at the end of line by [@&#8203;infastin](https://github.com/infastin) in https://github.com/charmbracelet/bubbles/pull/313 - support pastes that end with a newline character by [@&#8203;knz](https://github.com/knz) in https://github.com/charmbracelet/bubbles/pull/314 - data corruption after multi-line input by [@&#8203;knz](https://github.com/knz) in https://github.com/charmbracelet/bubbles/pull/318 - Remove unused `BackgroundStyle` in TextInput by [@&#8203;savannahostrowski](https://github.com/savannahostrowski) in https://github.com/charmbracelet/bubbles/pull/341 - add bounds checking to the `SelectedRow` by [@&#8203;MikaelFangel](https://github.com/MikaelFangel) in https://github.com/charmbracelet/bubbles/pull/351 - fix(progress): last gradient color off by one by [@&#8203;residualmind](https://github.com/residualmind) in https://github.com/charmbracelet/bubbles/pull/338 - deprecate `CursorStyle` in favour of `Cursor.Style` by [@&#8203;maaslalani](https://github.com/maaslalani) in https://github.com/charmbracelet/bubbles/pull/365 - Reset blink only when `CursorBlink` by [@&#8203;remiposo](https://github.com/remiposo) in https://github.com/charmbracelet/bubbles/pull/378 #### New Contributors - [@&#8203;infastin](https://github.com/infastin) made their first contribution in https://github.com/charmbracelet/bubbles/pull/313 - [@&#8203;gzipChrist](https://github.com/gzipChrist) made their first contribution in https://github.com/charmbracelet/bubbles/pull/332 - [@&#8203;savannahostrowski](https://github.com/savannahostrowski) made their first contribution in https://github.com/charmbracelet/bubbles/pull/341 - [@&#8203;MikaelFangel](https://github.com/MikaelFangel) made their first contribution in https://github.com/charmbracelet/bubbles/pull/351 - [@&#8203;stefanbildl](https://github.com/stefanbildl) made their first contribution in https://github.com/charmbracelet/bubbles/pull/339 - [@&#8203;residualmind](https://github.com/residualmind) made their first contribution in https://github.com/charmbracelet/bubbles/pull/338 - [@&#8203;bashbunni](https://github.com/bashbunni) made their first contribution in https://github.com/charmbracelet/bubbles/pull/359 - [@&#8203;squrki](https://github.com/squrki) made their first contribution in https://github.com/charmbracelet/bubbles/pull/373 - [@&#8203;remiposo](https://github.com/remiposo) made their first contribution in https://github.com/charmbracelet/bubbles/pull/378 **Full Changelog**: https://github.com/charmbracelet/bubbles/compare/v0.15.0...v0.16.0 *** <a href="https://charm.sh/"><img alt="The Charm logo" src="https://stuff.charm.sh/charm-badge.jpg?1" width="400"></a> Thoughts? Questions? We love hearing from you. Feel free to reach out on [Twitter](https://twitter.com/charmcli), [The Fediverse](https://mastodon.technology/@&#8203;charm), or on [Discord](https://charm.sh/chat). ### [`v0.16.0`](https://github.com/charmbracelet/bubbles/compare/v0.15.0...v0.16.0) [Compare Source](https://github.com/charmbracelet/bubbles/compare/v0.15.0...v0.16.0) ### [`v0.15.0`](https://github.com/charmbracelet/bubbles/releases/tag/v0.15.0) [Compare Source](https://github.com/charmbracelet/bubbles/compare/v0.14.0...v0.15.0) ### Ceci, Cela This is primarily a housekeeping release with lots and lots of bugfixes and improvements from the community. Thanks, everyone, for all your support! 🤗 Please do feel free to say hello, ask questions, and tell us what else you want to see in our [Discord](https://charm.sh/chat). 💬 #### New - `textinput + textarea`: support for forthcoming bracketed paste (see also https://github.com/charmbracelet/bubbletea/pull/397) and avoid ctrl chars in clipboard input by [@&#8203;knz](https://github.com/knz) in https://github.com/charmbracelet/bubbles/pull/214 - `textinput`: support key bindings textarea by [@&#8203;knz](https://github.com/knz) in https://github.com/charmbracelet/bubbles/pull/270 - `paginator`: make paginator keybindings customizable by [@&#8203;knz](https://github.com/knz) in https://github.com/charmbracelet/bubbles/pull/272 - `viewport`: Expose `TotalLineCount()` and `VisibleLineCount()` methods within viewport by [@&#8203;adaam2](https://github.com/adaam2) in https://github.com/charmbracelet/bubbles/pull/283 - `table`: make `UpdateViewport()` have constant runtime by [@&#8203;pja237](https://github.com/pja237) in https://github.com/charmbracelet/bubbles/pull/284 - `table`: add `SetColumns` method to set columns by [@&#8203;maaslalani](https://github.com/maaslalani) in https://github.com/charmbracelet/bubbles/pull/260 - `table`: expose rows by [@&#8203;marcantoineg](https://github.com/marcantoineg) in https://github.com/charmbracelet/bubbles/pull/287 #### Fixed - `textarea`: fix paste by [@&#8203;hhe07](https://github.com/hhe07) in https://github.com/charmbracelet/bubbles/pull/250 - `viewport`: fix performance scrolling by [@&#8203;meowgorithm](https://github.com/meowgorithm) in https://github.com/charmbracelet/bubbles/pull/312 - `help`: full help renders fully when width is unset by [@&#8203;craiggwilson](https://github.com/craiggwilson) in https://github.com/charmbracelet/bubbles/pull/218 - `cursor`: apply `TextStyle` inline by [@&#8203;knz](https://github.com/knz) in https://github.com/charmbracelet/bubbles/pull/230 - `cursor`: delegate cursor logic to cursor bubble by [@&#8203;maaslalani](https://github.com/maaslalani) in https://github.com/charmbracelet/bubbles/pull/181 - `cursor`: fix `SetValue` cursor movement by [@&#8203;maaslalani](https://github.com/maaslalani) in https://github.com/charmbracelet/bubbles/pull/267 - `general`: miscellaneous housekeeping by [@&#8203;twpayne](https://github.com/twpayne) in https://github.com/charmbracelet/bubbles/pull/243 #### New Contributors - [@&#8203;twpayne](https://github.com/twpayne) made their first contribution in https://github.com/charmbracelet/bubbles/pull/243 - [@&#8203;dependabot](https://github.com/dependabot) made their first contribution in https://github.com/charmbracelet/bubbles/pull/252 - [@&#8203;hhe07](https://github.com/hhe07) made their first contribution in https://github.com/charmbracelet/bubbles/pull/250 - [@&#8203;craiggwilson](https://github.com/craiggwilson) made their first contribution in https://github.com/charmbracelet/bubbles/pull/218 - [@&#8203;adaam2](https://github.com/adaam2) made their first contribution in https://github.com/charmbracelet/bubbles/pull/283 - [@&#8203;pja237](https://github.com/pja237) made their first contribution in https://github.com/charmbracelet/bubbles/pull/284 - [@&#8203;marcantoineg](https://github.com/marcantoineg) made their first contribution in https://github.com/charmbracelet/bubbles/pull/287 - [@&#8203;yusufmalikul](https://github.com/yusufmalikul) made their first contribution in https://github.com/charmbracelet/bubbles/pull/300 **Full Changelog**: https://github.com/charmbracelet/bubbles/compare/v0.14.0...v0.15.0 *** <a href="https://charm.sh/"><img alt="The Charm logo" src="https://stuff.charm.sh/charm-badge.jpg?1" width="400"></a> Thoughts? Questions? We love hearing from you. Feel free to reach out on [Twitter](https://twitter.com/charmcli), [The Fediverse](https://mastodon.technology/@&#8203;charm), or on [Discord](https://charm.sh/chat). </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzUuMTQwLjMiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIifQ==-->
renovate added 1 commit 2023-01-21 00:01:03 +00:00
chore(deps): update module github.com/charmbracelet/bubbles to v0.15.0
All checks were successful
continuous-integration/drone/pr Build is passing
deb06181c7
renovate force-pushed renovate/github.com-charmbracelet-bubbles-0.x from deb06181c7 to da638ebfb0 2023-02-08 16:00:56 +00:00 Compare
renovate force-pushed renovate/github.com-charmbracelet-bubbles-0.x from da638ebfb0 to d9efe41f4e 2023-02-09 08:00:55 +00:00 Compare
renovate force-pushed renovate/github.com-charmbracelet-bubbles-0.x from d9efe41f4e to 8f5560fc59 2023-05-31 19:31:23 +00:00 Compare
renovate changed title from chore(deps): update module github.com/charmbracelet/bubbles to v0.15.0 to chore(deps): update module github.com/charmbracelet/bubbles to v0.16.1 2023-05-31 19:31:23 +00:00
renovate force-pushed renovate/github.com-charmbracelet-bubbles-0.x from 8f5560fc59 to 934fe85e64 2023-06-13 19:31:11 +00:00 Compare
renovate force-pushed renovate/github.com-charmbracelet-bubbles-0.x from 934fe85e64 to 7814bf4446 2023-06-14 19:31:12 +00:00 Compare
renovate added 1 commit 2023-07-06 19:31:20 +00:00
chore(deps): update module github.com/charmbracelet/bubbles to v0.16.1
All checks were successful
continuous-integration/drone/pr Build is passing
3ce81a4558
renovate force-pushed renovate/github.com-charmbracelet-bubbles-0.x from 3ce81a4558 to a2561a7f00 2023-08-06 19:31:04 +00:00 Compare
renovate changed title from chore(deps): update module github.com/charmbracelet/bubbles to v0.16.1 to chore(deps): update module github.com/charmbracelet/bubbles to v0.16.1 - autoclosed 2023-08-20 19:31:17 +00:00
renovate closed this pull request 2023-08-20 19:31:17 +00:00
This repo is archived. You cannot comment on pull requests.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Kichiyaki/gootp#22
No description provided.