Commit graph

15 commits

Author SHA1 Message Date
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)
![CleanShot 2024-07-04 at 18 47
49@2x](https://github.com/huacnlee/gpui-component/assets/5518/8bcaea2b-2b92-4bd2-8581-fe76c9887d3d)
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