snipkit icon indicating copy to clipboard operation
snipkit copied to clipboard

Bump github.com/charmbracelet/bubbles from 0.11.0 to 0.14.0

Open dependabot[bot] opened this issue 1 year ago • 1 comments

Bumps github.com/charmbracelet/bubbles from 0.11.0 to 0.14.0.

Release notes

Sourced from github.com/charmbracelet/bubbles's releases.

v0.14.0

Table Bubble

This feature release of Bubbles includes a brand new table bubble that you can use to show and select tabular data! Huge thanks to @​wesleimp for contributing this change ❤️.

See the example code for an example of how to use the table in your Bubble Tea applications.

Getting Started

Create a new table:

t := table.New(
	table.WithColumns(columns),
	table.WithRows(rows),
	table.WithFocused(true),
	table.WithHeight(7),
)

Alternatively,

t := table.New(table.WithColumns(columns))
t.SetRows(rows)
t.Focus()
t.SetHeight(7)

Style the table how you want:

s := table.DefaultStyles()
s.Header = s.Header.
	BorderStyle(lipgloss.NormalBorder()).
	BorderForeground(lipgloss.Color("240")).
	BorderBottom(true).
	Bold(false)
s.Selected = s.Selected.
	Foreground(lipgloss.Color("229")).
	Background(lipgloss.Color("57")).
	Bold(false)
t.SetStyles(s)

And then Update and Render (View) the table:

</tr></table> 

... (truncated)

Commits
  • 13f52d6 fix(table): append headers/columns to zero sized string slice
  • 278edd1 fix(viewport): properly truncate to size (#228)
  • 09e1f00 textarea: support dynamic prompts
  • c099d31 textarea: add some comments
  • db2a8b4 textarea: new bindings for "go to begin" / "go to end"
  • afd6f58 feat(table): add function to set cursor position (#219)
  • d44e242 fix(viewport): honor width and height settings
  • 776062e fix(table): correct keybinding for page down (#220)
  • 1c26128 textarea: add uppercase/lowercase/capitalize word right (#210)
  • 649f78e fix(textarea): pre-allocation of value (#213)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

dependabot[bot] avatar Sep 12 '22 18:09 dependabot[bot]

Codecov Report

Merging #120 (0e1830b) into main (81dad27) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #120   +/-   ##
=======================================
  Coverage   89.07%   89.07%           
=======================================
  Files          79       79           
  Lines        3698     3698           
=======================================
  Hits         3294     3294           
  Misses        297      297           
  Partials      107      107           
Flag Coverage Δ
Linux 88.77% <ø> (ø)
macOS 89.07% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

codecov[bot] avatar Sep 12 '22 18:09 codecov[bot]