Jason Lee
|
79958fc95c
|
Add to support Table column resizing. (#75)
https://github.com/user-attachments/assets/d56f2cd7-df08-437b-9eea-849d68094e1f
|
2024-07-28 00:51:37 +08:00 |
|
Floyd Wang
|
11034ec2ac
|
Improve dropdown render_empty builder result from AnyElement to impl IntoElement for better usage
|
2024-07-26 17:26:58 +08:00 |
|
Floyd Wang
|
55822144c4
|
Rename InputOtp to OTPInput (#74)
|
2024-07-26 17:12:23 +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 |
|
Floyd Wang
|
81ecb1e11b
|
InputEvent support clone (#72)
|
2024-07-25 18:43:29 +08:00 |
|
Jason Lee
|
2396c918f2
|
Hide scrollbar when scroll are is small than container. (#71)
|
2024-07-25 15:53:57 +08:00 |
|
Floyd Wang
|
f02c2a82b1
|
Do not preset padding when input with affix (#70)
|
2024-07-25 11:02:04 +08:00 |
|
尹吉峰
|
7489a4ffdd
|
Update WebView to pass wry::WebView instance (#69)
It's much prefer to use `WebViewBuilder` instead of
[WebView::new](https://docs.rs/wry/latest/wry/struct.WebView.html#method.new)
|
2024-07-24 19:32:05 +08:00 |
|
Jason Lee
|
4c81977639
|
Fix Label text_align again.
|
2024-07-24 19:01:43 +08:00 |
|
Jason Lee
|
ed132ad55e
|
Add more example to Label.
|
2024-07-24 18:56:32 +08:00 |
|
Jason Lee
|
c538a231c1
|
Fix Label text_align.
|
2024-07-24 18:39:13 +08:00 |
|
Jason Lee
|
6b019e3954
|
Impl InteractiveElement, StatefulInteractiveElement for Scrollable.
|
2024-07-24 17:59:44 +08:00 |
|
Jason Lee
|
030a706a4c
|
Refactor ScrollView into scrollable fluent method. (#68)
|
2024-07-24 17:50:50 +08:00 |
|
Jason Lee
|
7305967c09
|
Impl Scrollable for Focusable<E>, Stateful<E>.
|
2024-07-24 17:01:15 +08:00 |
|
Jason Lee
|
d63e256f19
|
Update Label masked char (#67)
|
2024-07-24 16:35:28 +08:00 |
|
Jason Lee
|
22a15c7dcc
|
Update scroll view (#66)
|
2024-07-24 15:41:20 +08:00 |
|
Jason Lee
|
4edf1e3427
|
Update ScrollView to let content is FnOnce. (#65)
|
2024-07-24 11:38:30 +08:00 |
|
Jason Lee
|
e0103d1d58
|
Add CI (#62)
|
2024-07-24 10:39:19 +08:00 |
|
Jason Lee
|
d60a1122d4
|
Scroll to top when list have searched. (#64)
|
2024-07-24 10:09:12 +08:00 |
|
Floyd Wang
|
764e7486e7
|
Set the default cleanable to false for new dropdown (#63)
|
2024-07-24 10:07:11 +08:00 |
|
Jason Lee
|
b4862082f1
|
Improve list item (#61)
|
2024-07-23 22:08:21 +08:00 |
|
Floyd Wang
|
1b715c431f
|
Fix new dropdown selected_index not work (#60)
|
2024-07-23 19:18:39 +08:00 |
|
Jason Lee
|
db14f0a2e5
|
Add pattern and validate to Input for limit input format. (#59)
|
2024-07-23 15:36:08 +08:00 |
|
Jason Lee
|
3ec35929ae
|
Add font-weight methods to styled: font_light, font_semibold, font_bold ... (#58)
https://tailwindcss.com/docs/font-weight
|
2024-07-23 14:57:16 +08:00 |
|
Jason Lee
|
30f34dc780
|
Fix button icon color support (#57)
|
2024-07-23 13:45:34 +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
|
8ff4658c96
|
Update Icon again, let new to support impl Into<Icon>.
|
2024-07-23 10:02:34 +08:00 |
|
Jason Lee
|
8609968ac2
|
Improve Icon::new to support impl Into<IconName>
|
2024-07-23 09:56:57 +08:00 |
|
Jason Lee
|
1eb44c4f1a
|
Update GPUI
|
2024-07-23 09:44:09 +08:00 |
|
Jason Lee
|
faa16fb660
|
Add ScrollView (#56)
|
2024-07-23 09:38:23 +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
|
4687a18ee4
|
Add to support Input history for undo & redo (#53)
https://github.com/user-attachments/assets/b898dc08-8e99-4247-8dc3-d5752d1bc2f3
Ref https://github.com/huacnlee/gpui-component/issues/27
|
2024-07-22 11:36:54 +08:00 |
|
Jason Lee
|
ca08be7038
|
Fix Popup modal mouse move crossed to back layer. (#51)
|
2024-07-20 02:39:27 +08:00 |
|
Jason Lee
|
e3a49f20ca
|
Update GPUI
|
2024-07-19 21:35:43 +08:00 |
|
Jason Lee
|
e54d1f600b
|
Add to masked Label and support children to Button (#50)
https://github.com/user-attachments/assets/9583ce15-b801-45f9-aafb-54f0ecdf7dc9
- Add masked mode to Label.
- Add to support any children to Button.
- Fix Popover to support selected state style.
|
2024-07-19 18:54:16 +08:00 |
|
Jason Lee
|
a69d30be6a
|
Add cx.theme auto import to support WindowContent.
|
2024-07-19 11:32:25 +08:00 |
|
Jason Lee
|
613cfebb65
|
Improve ActiveTheme trait to impl ViewContent and ModelContext to support auto import. (#49)
|
2024-07-19 11:20:45 +08:00 |
|
Jason Lee
|
e95971624e
|
Fix windows build.
|
2024-07-18 23:29:22 +08:00 |
|
Floyd Wang
|
e4b9e008ba
|
Use cx.quit() instead of std::process::exit(0) (#47)
|
2024-07-18 19:02:39 +08:00 |
|
Floyd Wang
|
653222db73
|
dropdown: Use event instead of callback (#46)
* Rule: use event for `Render`, use callback for `RenderOnce`
|
2024-07-18 18:40:32 +08:00 |
|
Jason Lee
|
bac5392e0a
|
Refactor Slider, Input, InputOtp to use EventEmiter to emit change (#45)
|
2024-07-18 18:38:58 +08:00 |
|
Jason Lee
|
f6146220e4
|
Add WebView (#2)
- https://github.com/huacnlee/zed/pull/6
- https://github.com/zed-industries/zed/pull/13730
|
2024-07-18 18:00:23 +08:00 |
|
Floyd Wang
|
91e123e942
|
input: TextEvent Add Focus & Blur events
|
2024-07-18 17:48:57 +08:00 |
|
Floyd Wang
|
07a1f3099e
|
dropdown: Add on change callback
|
2024-07-18 16:50:30 +08:00 |
|
尹吉峰
|
4ccbe9bd71
|
Update Dropdown (#42)
|
2024-07-18 16:12:12 +08:00 |
|
Jason Lee
|
683b22c4a4
|
Fix Resizable drag move position. #28 (#41)
|
2024-07-18 00:02:59 +08:00 |
|
Jason Lee
|
0fdf7be40d
|
Fix table scrollbar display layer.
|
2024-07-17 23:19:03 +08:00 |
|
Jason Lee
|
b8a7d6a2dd
|
Change InputOpt default masked: false and publish masked method.
|
2024-07-17 18:57:19 +08:00 |
|
Jason Lee
|
c7336fd5ea
|
Add InputOtp (#40)
https://github.com/user-attachments/assets/c92da4e7-21de-436f-968d-7cb47fa31aed
|
2024-07-17 18:49:41 +08:00 |
|