Commit Graph
4 Commits
Author SHA1 Message Date
Ayman Bagabas 8fdc81c836 feat: add a Styler interface for styling bubbles
This change introduces a Styler interface that allows users to define
custom styles for bubbles. The interface is implemented by the StylerFunc
type, which is a function type that takes a boolean argument and returns
a value of any type.

This allows a user to define a custom StylerFunc that returns a custom
style for a bubble based on the background color of the terminal.
2024-10-29 15:54:40 -04:00
Ayman Bagabas 0fdf5f5be5 feat: use bubbletea/v2 2024-09-18 14:09:58 -04:00
d019ed3cc9 feat(list): add SetFilterText and SetFilterState (#335)
* Add SetFilterText and SetFilterState

* make linter happy

* make SetFilterState state not hardcoded

* tests for SetFilterText and SetFilterState

* fix small typo

---------

Co-authored-by: k-x7 <97758178+k-x7@users.noreply.github.com>
2024-09-10 14:22:03 -03:00
Weslei Juan Novaes PereiraandGitHub 57d79daf4d feat(list): ability to SetStatusBarItemName (#169) 2022-06-16 18:14:47 -04:00