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
db64e3cd78
feat: update lipgloss to v2
2024-10-29 15:54:24 -04:00
Christian Rocha
9f3b67a0ef
fix(help): fix tests
2024-10-24 16:44:30 -04:00
Christian Rocha
fadc27c4bf
chore(help): minimal updates for Lip Gloss v2
2024-10-24 16:44:30 -04:00
Christian Rocha
4070e9cc1f
chore(help): fix tests
2024-10-24 15:24:20 -04:00
Ayman Bagabas
287c9c4ffd
chore: merge branch 'master' into v2-exp
2024-10-21 14:16:22 -04:00
Christian Rocha
60796500b2
chore(help): add full help test to support #554
2024-10-11 11:17:18 -04:00
David Luevano Alvarado and Christian Rocha
81d444a207
fix(help): wrong full help sep rendering
2024-10-10 15:50:30 -04:00
Ayman Bagabas
09242fdf67
refactor!: remove deprecated references
...
This removes all the `NewModel` functions from all the bubbles and any
deprecated fields and types.
2024-09-19 13:44:03 -04:00
Ayman Bagabas
a2602f8509
feat!: v2: move to v2 module
2024-09-18 14:12:55 -04:00
Ayman Bagabas
0fdf5f5be5
feat: use bubbletea/v2
2024-09-18 14:09:58 -04:00
Ayman Bagabas and GitHub
11a9fccd58
chore: fix lint issues ( #534 )
2024-05-31 16:48:29 -04:00
Gabe Cook and Christian Rocha
613d1cb46e
fix(help): Fix help bubble not centering correctly
2024-05-23 16:50:38 -04:00
Maas Lalani
dc58240609
chore(lint): help msg unused param
2023-05-01 12:56:08 -04:00
Glenn Gonda and Christian Rocha
3d3ed883d3
docs: fix typos and improve comment clarity
2023-02-16 17:49:32 -05:00
Christian Rocha
30c01cabdc
chore: apply appropriate GoDoc syntax to deprecated items
2022-11-17 10:41:13 -05:00
Craig Wilson and Maas Lalani
aea42690e7
fix(help): full help renders fully when width is unset.
2022-10-07 12:36:11 -04:00
Ayman Bagabas
f5ac64216b
fix: lint warn
2022-04-29 12:20:18 -04:00
Christian Rocha
091c915462
Fix various godoc comments
2022-01-19 12:31:50 -05:00
Christian Rocha
b35f96cd2d
Deprecate NewModel() constructors; use New() instead
2022-01-11 11:26:13 -05:00
Christian Rocha and Christian Muehlhaeuser
0be588365e
Add simple helper package for making user-definable keymappings and help bubble
2021-08-23 17:00:29 +02:00