73 Commits
Author SHA1 Message Date
Andrey Nering e7748f0856 fix(table): add fixes to pageup/pagedown 2025-05-30 16:55:34 -03:00
Andrey Nering bf386dbad5 fix(table): fix cursor and offset handling 2025-05-30 16:34:35 -03:00
Andrey Nering f0f84c81f4 refactor(table): remove inner border attrs, get directly from lipgloss 2025-05-30 14:27:11 -03:00
Andrey Nering aa84c7f57b refactor(table): remove uneeded extra args from NewFromTemplate 2025-05-29 18:01:52 -03:00
Andrey Nering fe39af2a4d refactor(table): rename OverwriteStylesFromLipgloss to LipglossTable
Also, keeps any previously set data on the Lip Gloss table, if set.
2025-05-29 17:42:12 -03:00
Andrey Nering 2110223809 refactor(table): get data from lipgloss instead of storing it separately 2025-05-29 17:27:54 -03:00
Andrey Nering dcb67fb681 chore: fix linting issues 2025-05-29 14:04:14 -03:00
Andrey Nering 78e9bc479c test: re-enable tests and record golden files after fixes on lipgloss
https://github.com/charmbracelet/lipgloss/pull/526
2025-05-28 17:35:33 -03:00
Andrey Nering 8ee7e4bfda refactor(table): rename tests to match a convention 2025-05-23 14:11:10 -03:00
Andrey Nering 41f23fed58 test: review tests after merge. some yet to be addressed 2025-05-21 14:39:05 -03:00
Andrey Nering 57b6175d57 Merge branch 'v2-exp' into v2-table 2025-05-21 14:08:35 -03:00
Andrey Nering 47b0944fc8 test: fix tests by ignoring func references 2025-05-16 14:41:16 -03:00
Andrey Nering 73839850f7 test: update golden files with nbsp for v2 2025-05-16 14:24:38 -03:00
Andrey Nering dffbe595a1 Merge branch 'master' into v2-exp-table-tests 2025-05-16 14:23:52 -03:00
Broderick WestropeandGitHub f54a125f7d test(table): improve table unit tests (#601) 2025-05-16 14:13:06 -03:00
s0ders 11d52ca426 fix(table): preventing cursor from being out-of-bounds.
The following brings:
- Preventing table's cursor from being out-of-bound when the table's
  rows shrink.

ref: #782
2025-04-22 13:52:57 +02:00
bashbunni 7df895396b chore: tidy comments 2025-04-04 14:51:38 -07:00
bashbunni a291578e28 feat(table): remove FromValues feature 2025-04-04 10:25:28 -07:00
bashbunni 46da4a87cb feat(table): remove redundant SetFocused function 2025-04-04 10:08:40 -07:00
bashbunni 1360eaf0d3 fix(test): use valid naming for golden file 2025-04-04 09:28:56 -07:00
bashbunni 55b5472dcb test(table): add TestOverwriteStylesFromLipgloss test 2025-04-03 22:16:35 -07:00
bashbunni 9489b33613 docs(table): more godoc updates 2025-04-03 22:15:35 -07:00
bashbunni 242df040b8 feat(table): create table bubble from a lip gloss table 2025-04-03 21:36:54 -07:00
bashbunni 5191362e39 test(table): add style and border tests 2025-04-03 16:02:50 -07:00
bashbunni ae7fb0d592 feat(table): use padding for default cell styles 2025-04-03 16:02:02 -07:00
bashbunni a687f2fdc9 refactor: tidy + update godoc 2025-04-03 15:47:24 -07:00
bashbunni 738180eae6 feat(table): respect border settings 2025-04-02 14:37:51 -07:00
bashbunni a0c4366a92 feat(table): use lipgloss table to render 2025-04-01 09:48:48 -07:00
Carlos Alexandro Becker 9d2d5dfc71 Merge remote-tracking branch 'origin/master' into v2-exp 2025-03-31 14:20:56 -03:00
Carlos Alexandro BeckerandGitHub bd2a5b0c6a fix: golangci-lint 2 fixes (#769) 2025-03-31 14:18:18 -03:00
Carlos Alexandro Becker b1cef26c7d fix: normalize yoffset 2025-03-27 16:34:10 -03:00
Ayman Bagabas 601039139c test(table): update golden files for alignment tests 2025-03-26 21:53:03 +03:00
Andrey Nering fff86382cc chore(lint): remove custom min and max functions
These are now available as builtins.
2025-03-20 10:42:52 -03:00
Carlos Alexandro BeckerandGitHub 64c16e990e feat(v2)!: update to go 1.22 (#724)
* feat(v2)!: update to go 1.22

* fix: ci

* fix: more
2025-02-05 10:00:01 -03:00
Ayman Bagabas 3b1b9248be fix(table): crlf on windows 2025-02-04 13:27:29 -05:00
Christian Rocha 52bd03ed5b feat!(viewport): use getters and setters for width and height 2024-10-31 15:02:05 -04:00
Christian Rocha 3b879e7694 feat!(viewport): width and height are now optional args in New() 2024-10-31 15:02:05 -04:00
Ayman Bagabas db64e3cd78 feat: update lipgloss to v2 2024-10-29 15:54:24 -04:00
Christian Rocha 57ac102802 chore(merge): branch 'master' into v2-mini-tidy 2024-10-24 15:22:16 -04:00
Christian Rocha 358a6c58c8 chore(lint): fix and suppress all soft lint issues; update directives 2024-10-24 12:35:42 -04:00
Ayman Bagabas 287c9c4ffd chore: merge branch 'master' into v2-exp 2024-10-21 14:16:22 -04:00
cui fliterandGitHub 076b578512 chore: Remove duplicate and redundant code (#626)
Signed-off-by: cuishuang <imcusg@gmail.com>
2024-10-07 15:29:06 -03:00
Ayman Bagabas f81fd5246a fix: spacebar keybinding is now "space" instead of a literal space 2024-09-18 14:55:49 -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 a93bfef532 feat!: use bubbletea@v2-exp 2024-09-09 14:12:52 -04:00
Christian Rocha 235075af49 feat: add HelpView to table as a convenience 2024-08-20 15:22:27 -04:00
bashbunniandGitHub c1d9f7dd6b feat(table): remove StyleFunc + add tests for table alignment (#586)
* Revert "Add support fo style func to table bubble"

This reverts commit 04658fed8e.

* test(table): add tests for table alignment
2024-08-19 13:56:47 -07:00
Aditi PatelandGitHub 6202df1306 fix: update position constant in JoinHorizontal (#577) 2024-08-07 14:06:50 -04:00
Gabriel FuandGitHub 36baf3d64e Update table.go (#539) 2024-06-18 11:45:04 -04:00