Jason Lee
|
b301c5b8fe
|
Optimize and simplify the BlinkCursor. (#133)
|
2024-08-11 21:12:29 +08:00 |
|
Jason Lee
|
bb6d8d8f60
|
Cleanup first version impls (#132)
|
2024-08-11 14:46:55 +08:00 |
|
Floyd Wang
|
283b319edd
|
Input add set_placeholder method (#131)
|
2024-08-09 17:24:29 +08:00 |
|
Floyd Wang
|
e073b60bc1
|
Fix the issue of repeatedly setting the input background color (#129)
|
2024-08-09 16:09:22 +08:00 |
|
Floyd Wang
|
eb53016d71
|
Use ViewContext<Self> instead of WindowContext for input affix (#126)
|
2024-08-09 11:37:13 +08:00 |
|
Jason Lee
|
ebdcf244e2
|
Add Calendar and DatePicker. (#117)
https://github.com/user-attachments/assets/dda87fa7-f080-418a-8dd7-ab8581eb3beb
|
2024-08-07 20:25:11 +08:00 |
|
Jason Lee
|
340c5fef3d
|
Improve OtpInput to add more size, use Icon to render mask. (#116)
- Add `default_value`, `set_value`, `masked` method.
- Add `set_value`, `value` method to set/get from OptInput.
<img width="390" alt="image"
src="https://github.com/user-attachments/assets/ef5368e9-132d-4de6-8506-aeecc47a9189">
|
2024-08-07 11:39:02 +08:00 |
|
Jason Lee
|
cbffb9a543
|
Fix Input clean button size. (#115)
|
2024-08-06 23:51:09 +08:00 |
|
Jason Lee
|
827f57fb6a
|
Add Sizable trait to impl small, xsmall, large and apply to Button, Input, Dropdown, Switch. (#113)
|
2024-08-06 17:19:54 +08:00 |
|
Jason Lee
|
e7a0d13b69
|
Fix windows build (#109)
|
2024-08-05 21:43:55 +08:00 |
|
Jason Lee
|
a5989f6a7c
|
Improve PopupMenu style (#108)
<img width="216" alt="image"
src="https://github.com/user-attachments/assets/9dcfd30f-62cc-41ff-a97d-f69b79bd997c">
<img width="346" alt="image"
src="https://github.com/user-attachments/assets/c7e564e9-c0f9-4282-9df1-9c2cd92efea9">
|
2024-08-05 21:23:57 +08:00 |
|
Jason Lee
|
c94e9feae2
|
Fix to work with new GPUI.
|
2024-07-31 10:12:26 +08:00 |
|
尹吉峰
|
6e58edd349
|
input: Expose TextInput::disabled (#81)
|
2024-07-29 18:51:46 +08:00 |
|
Floyd Wang
|
97d139f9ec
|
Expose focus method for otp input (#83)
|
2024-07-29 16:20:58 +08:00 |
|
Floyd Wang
|
66698bfe27
|
Rename dropdown render_empty to empty (#82)
Also, `OTPInput` to `OtpInput`
|
2024-07-29 15:37:38 +08:00 |
|
Floyd Wang
|
55822144c4
|
Rename InputOtp to OTPInput (#74)
|
2024-07-26 17:12:23 +08:00 |
|
Floyd Wang
|
81ecb1e11b
|
InputEvent support clone (#72)
|
2024-07-25 18:43:29 +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
|
b4862082f1
|
Improve list item (#61)
|
2024-07-23 22:08:21 +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
|
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
|
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
|
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 |
|
Jason Lee
|
35cec4cf5c
|
Update to use better implementation of selection support for Input. (#31)
Co-authored-by: Conrad Irwin <conrad@zed.dev>
|
2024-07-13 09:40:42 +08:00 |
|
Jason Lee
|
41a83e6f6f
|
Improve Input (#29)
Continue #27
- Fix selection color in dark mode.
- Allow to continue selection, even mouse is out of the input.
- Pause cursor blinking when keep typing.
https://github.com/user-attachments/assets/ce9e722c-5c47-4daa-b2ba-cbe1680c4932
|
2024-07-13 00:34:55 +08:00 |
|
Jason Lee
|
2785f38eeb
|
Add to blinking currsor support for Input.
|
2024-06-29 15:38:02 +08:00 |
|