Releases: charmbracelet/bubbles
Releases · charmbracelet/bubbles
v0.7.5
This release contains design updates to Spinner which provide spin-speeds on a per-spinner basis for a better out-of-the-box experience, as well as a bugfix.
New:
- Added default spinners:
spinner.MiniDot,spinner.Pulse,spinner.Points
Changed:
- Type
spinner.Spinneris now astructwith properiesFrames []stringandFPS time.Duration - Visual improvements to
spinner.Monkey,spinner.Globe, andspinner.Moon
Removed:
spinner.Bit8
Fixed:
spinner.TickMsgis now sent on both start and update; the previous version had an internal un-exported start message which made passing messages to spinners more cumbersome
v0.7.4
This release contains small design updates to make components feel more like the program structure introduced Bubble Tea v0.12.x. Note that this is an API change that will require some small adjustments to the Viewport, Paginator, and Spinner components. Note that Textinput was already updated to this format in v0.7.3.
Viewport
ViewandUpdateare now methods onModel
Paginator
ViewandUpdateare now methods onModel
Spinner
ViewandUpdateare now methods onModel- The
Tickcommand no longer takes an argument - More spinner types
v0.7.3
Textinput features, fixes and improvements:
- New: Textinput now supports multi-character (IME) input in Bubble Tea v0.12.2
- Improved: blink timer resets when moving the cursor for a better user experience
- Fixed: ctrl+f and ctrl+b keybindings for forwards/backwards cursor movement
Textinput API changes:
UpdateandVieware now methods on the textinput model rather than standalone functionsBlinkis now a simpletea.Cmd(it was previously afunc (textinput.Model) tea.Cmd).
v0.7.2
Fixes and Improvements:
Textarea:
- Make cursor visible when it changes position
- Support ctrl+w and alt+d to delete words left/right of cursor
- Support alt+backspace to delete previous word
- Fix panic when pasting into a textinput with no char limit
- Fix regression where cursor was misplaced after a paste
Viewport:
- Fix situation where short viewports would cause a panic
Paginator:
SetTotalPagesnow returns a page count of 1 when item count is less than 1
v0.7.1
New:
- Password-like behavior for textinupts: see EchoMode and EchoCharacter properties
- Additional standard keybindings for viewports
- Default home/end mappings for textinputs
Fixed:
- Delete key behavior on textinput