Commit graph

20 commits

Author SHA1 Message Date
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
Floyd Wang
b1bb22fd1d Fix clippy warning 2024-07-15 11:42:14 +08:00
Jason Lee
9b51a5b998
Remove picker, add list instead. (#17) 2024-07-07 02:07:17 +08:00
Jason Lee
3ccadf6cc3
Improve focus (#14)
- Add `FocusableCycle` trait to help impl cycle focus.
- Add `outline` style to StyledExt.
2024-07-04 14:05:14 +08:00
Jason Lee
d183bacc73
Add Scrollbar (#9)
https://github.com/huacnlee/gpui-component/assets/5518/5e4b7809-f2d0-4e45-a0f2-b9578323a11e
2024-06-30 23:31:16 +08:00
Jason Lee
6503e00b69 Fix dropdown height. 2024-06-30 19:04:53 +08:00
Jason Lee
329b116980 Use Element to paint DropdownMenu to fix layer priority. 2024-06-29 18:04:47 +08:00
Jason Lee
ddadcda140 Improve Picker details. 2024-06-29 14:39:15 +08:00
Jason Lee
3288270b49
Add Popover (#6) 2024-06-29 10:03:59 +08:00
Jason Lee
3e8421c495 Fix Icon default use theme foreground and allows to override. 2024-06-29 03:10:14 +08:00
Jason Lee
5393580789 Update Dropdown icon to ChevronsUpDown 2024-06-28 10:19:24 +08:00
Jason Lee
5d3f19bdd8 Fix Label text_size support. 2024-06-28 10:11:00 +08:00
Jason Lee
63076725f2 Add up, down, enter, esc keybinding for Dropdown. 2024-06-28 10:11:00 +08:00
Jason Lee
720672b0e2 Update Input, Button, Dropdown based on theme.radius 2024-06-28 10:11:00 +08:00
Jason Lee
daf4e713d1 Fix ListItem check icon. 2024-06-28 10:11:00 +08:00
Jason Lee
cb8067d89b Fix Checkbox story. 2024-06-28 10:11:00 +08:00
Jason Lee
910f27a66a Add Dropdown. 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
085b8e578b Add ListItem and update PickerStory base on it. 2024-06-26 18:31:50 +08:00
Jason Lee
d5f446a351 Add to support no appearance for TextField and fix invalid key handle. 2024-06-26 17:47:42 +08:00