Commit graph

520 commits

Author SHA1 Message Date
Ayman Bagabas
ec08f6f335
chore: examples: update dependencies 2025-08-06 10:06:18 -04:00
Ayman Bagabas
aa832ac614
chore: bump x/ansi to v0.10.0 2025-08-05 15:21:24 -04:00
Ayman Bagabas
5ba56e2bec
chore: go mod tidy 2025-07-24 13:26:07 -04:00
Ayman Bagabas
9bfcf3f7ff
chore(examples): update lipgloss to latest v2-exp 2025-07-16 17:14:38 -04:00
Ayman Bagabas
7d819d88e2
chore(examples): update go.mod and go.sum 2025-07-16 15:01:21 -04:00
Ayman Bagabas
144080f3d8 chore: bump dependencies 2025-07-08 11:27:37 -04:00
Ayman Bagabas
f4b2ad3636 chore: bump ultraviolet 2025-07-08 10:59:40 -04:00
Ayman Bagabas
f4c5598bfc
Merge branch 'v2-exp' into v2-exp-tv-io-viewable 2025-07-07 16:49:52 -04:00
Ayman Bagabas
911530d0a3
Merge branch 'main' into v2-exp 2025-07-07 16:42:38 -04:00
Ayman Bagabas
24fc6de7fb
chore: bump dependencies 2025-07-07 16:11:26 -04:00
Ayman Bagabas
1b86faa5b9
chore: bump x/input to v0.3.6 2025-07-07 12:26:22 -04:00
Ayman Bagabas
34f66cd585
chore: bump x/input to v0.3.5 2025-07-07 11:22:54 -04:00
Ayman Bagabas
b755bb7258
chore: update dependencies 2025-07-01 13:51:01 -04:00
Ayman Bagabas
efd37e6e54
chore: update to use ultraviolet repository name 2025-06-30 11:05:36 -04:00
Ayman Bagabas
a2fcb4d642
Merge branch 'v2-exp' into v2-exp-tv-io-viewable 2025-06-23 10:48:49 -04:00
Andrey Nering
576a623d54 fix(example): fix keyboard-enhancements example 2025-06-03 11:41:02 -03:00
Ayman Bagabas
99a80e67ee
feat: keyboard: split keyboard enhancements into separate functions
This commit refactors the keyboard enhancements functionality by
splitting the `WithKeyboardEnhancements` function into three separate
functions:
- `WithKeyReleases`: Enables support for reporting key release events.
- `WithUniformKeyLayout`: Enables support for reporting key events in a
  uniform layout format.
- `RequestKeyDisambiguation`: Enables support for disambiguated key events.

This change improves clarity and usability by allowing users to enable
specific keyboard enhancements individually, rather than requiring them
to use a single function with multiple options.
2025-06-02 14:09:47 -04:00
Ayman Bagabas
e67ab35fde
feat(examples): add layer hit message to canvas example 2025-06-02 13:04:36 -04:00
Ayman Bagabas
9ea9a8c513
feat(examples): add clickable example 2025-06-02 13:02:47 -04:00
Ayman Bagabas
f1eadf45ea
feat: embed mouse events in hit messages 2025-06-02 13:02:37 -04:00
Ayman Bagabas
765f948675
Merge branch 'v2-exp' into v2-exp-tv-io-viewable 2025-06-02 12:42:36 -04:00
Ayman Bagabas
abe6d212a9
chore: bump ansi package to latest main and update color handling 2025-06-02 11:44:15 -04:00
Ayman Bagabas
31fb5031cc
feat: update to use uv package 2025-05-30 17:44:58 -04:00
Andrey Nering
ca493b9828 chore: run modernize 2025-05-30 17:22:31 -03:00
Ayman Bagabas
7f2ee3da98
feat(examples): add a canvas example 2025-05-27 18:19:35 -04:00
Ayman Bagabas
a887076e8c
Merge branch 'v2-exp' into v2-exp-tv-io 2025-05-27 17:20:02 -04:00
Ayman Bagabas
5c68cf5125
wip 2025-05-27 10:37:13 -04:00
Christian Rocha
af1fcd396c
docs(examples): update textinput and textarea examples per Bubbles v2 API changes (#1425)
* docs(examples): update textinput examples per Bubbles v2 API changes
* docs(examples): clean up textinput example a little
* docs(examples): update examples using textinput/textarea per API updates
* docs(examples): bump bubbles/v2 to latest v2-exp
2025-05-26 09:20:56 -04:00
Christian Rocha
42c169ad30 docs(examples/textinput): support virtual cursor 2025-05-24 19:38:57 -04:00
Ayman Bagabas
598ccb5639
chore: upgrade dependencies 2025-05-16 12:10:40 -04:00
Ayman Bagabas
b62fc32f3e
fix(examples): tui-daemon-combo: modelView must also implement Init and Update 2025-05-15 17:33:59 -04:00
Andrey Nering
2adf84ec62
chore(v2): pin the right lipgloss v2 tag on go.mod (#1418) 2025-05-14 17:59:42 -03:00
Ayman Bagabas
b489f8a23f
chore(examples): go mod tidy 2025-05-12 13:28:40 -04:00
Mattis
f502dc548b
docs: add isbn form validation example (#1401)
Co-authored-by: Andrey Nering <andreynering@users.noreply.github.com>
2025-05-12 14:20:41 -03:00
Ayman Bagabas
a7172501d8
chore: bump x/input 2025-05-09 10:25:59 -04:00
Ayman Bagabas
185e28113f
fix: renderer: use mapnl when terminal is not a tty 2025-05-05 11:10:56 -04:00
Ayman Bagabas
34f2e71067
chore: bump cellbuf to main 2025-05-01 14:36:28 -04:00
Ayman Bagabas
0ed772736b
fix(examples): we don't need to wait for background color query (#1407)
Assume default styles for dark mode until we get a background color
response if the terminal supports it. This falls back to use dark styles
if the terminal doesn't support it.

Fixes: https://github.com/charmbracelet/bubbletea/issues/1406
2025-05-01 13:36:34 -04:00
Ayman Bagabas
4ae19f4109
chore: update glamour to v2-exp and mod tidy 2025-05-01 11:54:25 -04:00
Ayman Bagabas
db124faf92
chore(examples): update go.mod and go.sum 2025-04-30 14:22:45 -04:00
Ayman Bagabas
551bf9cc65
fix(examples): textarea: remove debug log 2025-04-30 14:22:17 -04:00
Ayman Bagabas
f4c85670c5
fix(examples): credit-card-form: use VirtualCursor in inputs 2025-04-30 14:12:54 -04:00
Ayman Bagabas
b8c94510fa
chore: merge branch 'main' into v2-exp 2025-04-30 10:56:32 -04:00
Ayman Bagabas
b17caccca4
chore: upgrade colorprofile 2025-04-24 17:14:26 +02:00
Ayman Bagabas
60b6f30124
feat: add keystroke representation to Key struct (#1399)
This splits the String() method into two methods:
- String() returns the text representation of the key and falls back to
  Keystroke() if there is no text representation
- Keystroke() returns the keystroke representation of the key

Needs: https://github.com/charmbracelet/x/pull/439
2025-04-24 12:25:08 +02:00
dependabot[bot]
12e598b196
chore(deps): bump github.com/charmbracelet/glamour in /examples (#1397)
Bumps [github.com/charmbracelet/glamour](https://github.com/charmbracelet/glamour) from 0.9.1 to 0.10.0.
- [Release notes](https://github.com/charmbracelet/glamour/releases)
- [Changelog](https://github.com/charmbracelet/glamour/blob/master/.goreleaser.yml)
- [Commits](https://github.com/charmbracelet/glamour/compare/v0.9.1...v0.10.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/glamour
  dependency-version: 0.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-21 10:54:37 +00:00
Ayman Bagabas
7ecd519150
chore: merge branch 'main' into v2-exp 2025-04-20 12:22:30 +02:00
dependabot[bot]
540d584029
chore(deps): bump golang.org/x/net from 0.36.0 to 0.38.0 in /examples (#1392)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.36.0 to 0.38.0.
- [Commits](https://github.com/golang/net/compare/v0.36.0...v0.38.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.38.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-16 23:16:21 +00:00
dependabot[bot]
5aca88cf80
chore(deps): bump github.com/charmbracelet/bubbles in /examples (#1389)
Bumps [github.com/charmbracelet/bubbles](https://github.com/charmbracelet/bubbles) from 0.20.0 to 0.21.0.
- [Release notes](https://github.com/charmbracelet/bubbles/releases)
- [Changelog](https://github.com/charmbracelet/bubbles/blob/master/.goreleaser.yml)
- [Commits](https://github.com/charmbracelet/bubbles/compare/v0.20.0...v0.21.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbles
  dependency-version: 0.21.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-14 09:20:59 +00:00
Andrey Nering
9fab4a1333 chore: run go mod tidy on examples/ 2025-04-07 14:38:08 -03:00