Commit graph

89 commits

Author SHA1 Message Date
Floyd Wang
75e4451764
Add text align property for Label (#19) 2024-07-09 15:56:41 +08:00
Jason Lee
310e5e3cde Avoid PickerStory clone vec. 2024-07-08 23:22:08 +08:00
Floyd Wang
cab6dc9f6e Update the drag split edge fraction 2024-07-08 16:46:54 +08:00
Floyd Wang
84de8a88a4 Fix resize dock not work 2024-07-08 11:19:20 +08:00
Jason Lee
a02c981b74 table: Fix incorrect column selection bg render. 2024-07-08 09:47:13 +08:00
Jason Lee
9b51a5b998
Remove picker, add list instead. (#17) 2024-07-07 02:07:17 +08:00
Jason Lee
3c52d5f428 Rename ScrollableHandleElement to ScrollableMask. 2024-07-06 22:31:51 +08:00
Jason Lee
ac789b2379
Add Table (#16)
https://github.com/huacnlee/gpui-component/assets/5518/8603cbcc-c416-4d10-84a0-8cfe2e021e1a
2024-07-06 21:01:16 +08:00
Jason Lee
6eb63dfd28 Removed Button shadow in Light mode for ghost style button. 2024-07-05 11:26:11 +08:00
Jason Lee
c925a6aa61 Add ButtonStyle::Outline, ButtonStyle::Glost 2024-07-05 00:18:36 +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
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
24348ec874 Fix TitleBar 2024-07-04 10:14:44 +08:00
Jason Lee
f78d50b5e9 Update dock layout 2024-07-04 01:05:32 +08:00
Jason Lee
19930e46db
Add SvgImg to render svg, and with a Chart example (#13)
https://github.com/huacnlee/gpui-component/assets/5518/576da9f9-4bff-4faf-a17e-19860cf6f948
2024-07-03 19:09:59 +08:00
Floyd Wang
b8ffa12a90 Fix typo 2024-07-03 16:56:41 +08:00
Jason Lee
537dbfab9e Fix Input avoid copy, cut a empty into into clipboard. 2024-07-02 17:35:23 +08:00
Jason Lee
88dcca590d Simple Tooltip usage. 2024-07-02 00:13:07 +08:00
Jason Lee
f2703122b8 Move title_bar, util into workspace. 2024-07-01 23:51:47 +08:00
Jason Lee
f84e8b82ef
Add prefix and suffix to Input. (#12)
<img width="393" alt="image"
src="https://github.com/huacnlee/gpui-component/assets/5518/5df8d269-ea04-4d42-95c5-a3358cdee9b5">
2024-07-01 23:30:06 +08:00
Jason Lee
cbbd20867f
Add Icon Button support. (#11)
When the Button have no label present, it will use the Icon mode.

<img width="891" alt="image"
src="https://github.com/huacnlee/gpui-component/assets/5518/ca6240d5-02c8-4201-9a79-4afdf9938dd8">
2024-07-01 21:32:03 +08:00
Jason Lee
f9e075113e Update README 2024-07-01 15:46:11 +08:00
Jason Lee
d067fea4f8
Update README.md 2024-07-01 14:22:02 +08:00
Jason Lee
502d4df135
Add Dock & Panel (#10)
https://github.com/huacnlee/gpui-component/assets/5518/51622a5e-f51d-4ede-8cae-04cae703f8aa
2024-07-01 14:20:56 +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
29dc803014 Fix dropdown selected icon. 2024-06-30 19:17:52 +08:00
Jason Lee
6503e00b69 Fix dropdown height. 2024-06-30 19:04:53 +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
93779164f0
Rewrite Popover (#7)
https://github.com/huacnlee/gpui-app/assets/5518/dfe0ba05-ecb7-4604-a057-56daed53c16c
2024-06-29 23:49:59 +08:00
Jason Lee
709ee29fe0 Update README 2024-06-29 18:09:37 +08:00
Jason Lee
329b116980 Use Element to paint DropdownMenu to fix layer priority. 2024-06-29 18:04:47 +08:00
Jason Lee
08fc62ada0 Fix Windows Title button hover, active color. 2024-06-29 16:17:34 +08:00
Jason Lee
2785f38eeb Add to blinking currsor support for Input. 2024-06-29 15:38:02 +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
a3c14e1515 Sync with system appearance. 2024-06-29 09:06:52 +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
3c4891cb69 Add icon support to Button. 2024-06-29 02:37:22 +08:00
Floyd Wang
a5aea36f75
Add Tooltip (#5) 2024-06-28 18:03:28 +08:00
Floyd Wang
11901dc1e4
Add Notification (#4) 2024-06-28 14:08:06 +08:00
Jason Lee
5393580789 Update Dropdown icon to ChevronsUpDown 2024-06-28 10:19:24 +08:00
Jason Lee
e0050c5ebe Fix light theme 2024-06-28 10:11:00 +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
1a54a47ec8 Update foreground color in dark mode. 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
1d1803f348 Fix Input keybinding on Windows. 2024-06-28 10:11:00 +08:00
Jason Lee
910f27a66a Add Dropdown. 2024-06-28 10:11:00 +08:00