Jason Lee
a3df086e79
theme: Fix list, table theme colors. ( #79 )
...
- Fix list, table theme colors.
- Fix table hover bg.
- Add avatar to table list.
- Update dropdown Size:Small style.
2024-07-29 13:52:45 +08:00
Floyd Wang
d278d85058
Imporve dropdown ( #73 )
...
* Remove min-height
* Provide `render_empty` for custom empty view
* Fix crash when delegate is empty
2024-07-26 14:31:47 +08:00
Jason Lee
d60a1122d4
Scroll to top when list have searched. ( #64 )
2024-07-24 10:09:12 +08:00
Jason Lee
b4862082f1
Improve list item ( #61 )
2024-07-23 22:08:21 +08:00
Jason Lee
652efd187c
Update list to save the task on the struct.
2024-07-23 10:51:11 +08:00
Jason Lee
80bdf20376
Export set_query and query method to List.
2024-07-23 10:15:38 +08:00
Jason Lee
5034152f21
Improved Input prefix, suffix with a builder to support Element. ( #54 )
...
- Add loading to List query input and changed perform_search now return
a Task.
2024-07-22 15:30:07 +08:00
Jason Lee
bac5392e0a
Refactor Slider, Input, InputOtp to use EventEmiter to emit change ( #45 )
2024-07-18 18:38:58 +08:00
Floyd Wang
91e123e942
input: TextEvent Add Focus & Blur events
2024-07-18 17:48:57 +08:00
Jason Lee
36411750ee
Fix to limit change when Input is disabled.
...
Add clean button to List query input.
Add ButtonRouneded with px support.
2024-07-17 10:47:25 +08:00
Jason Lee
07e1296916
Add cleanable to Input ( #36 )
2024-07-16 19:44:16 +08:00
Jason Lee
ce7c1a3a34
Add Small, Large size support to Input and Dropdown and let them use same height. ( #35 )
...
- Add `Dropdown::string_list` to use `Vec<SharedString>` to create
dropdown for easy use.
- Add `input_px`, `input_py`, `input_h` trait methods to `Styled`
element.
2024-07-16 15:14:12 +08:00
Jason Lee
2b184ca8d5
New Scrollbar ( #33 )
...
https://github.com/user-attachments/assets/30d890bc-49cc-4abe-8652-387ddbb73198
2024-07-16 12:00:51 +08:00
Jason Lee
9b51a5b998
Remove picker, add list instead. ( #17 )
2024-07-07 02:07:17 +08:00
Jason Lee
acbc029eed
Add PopupMenu ( #15 )
...

2024-07-05 00:04:34 +08:00
Jason Lee
29dc803014
Fix dropdown selected icon.
2024-06-30 19:17:52 +08:00
Jason Lee
586569f241
Add a List example ( #8 )
...
https://github.com/huacnlee/gpui-component/assets/5518/2554bb6c-94f6-4808-87d6-9a04d7421b26
2024-06-30 16:56:23 +08:00
Jason Lee
3288270b49
Add Popover ( #6 )
2024-06-29 10:03:59 +08:00
Jason Lee
daf4e713d1
Fix ListItem check icon.
2024-06-28 10:11:00 +08:00
Jason Lee
8489a3f7f7
Fix Picker to search filter.
2024-06-27 18:07:08 +08:00
Jason Lee
672240d750
Fix picker_story to display selected value.
2024-06-26 19:01:52 +08:00
Jason Lee
085b8e578b
Add ListItem and update PickerStory base on it.
2024-06-26 18:31:50 +08:00