Commit graph

6 commits

Author SHA1 Message Date
Jason Lee
b301c5b8fe
Optimize and simplify the BlinkCursor. (#133) 2024-08-11 21:12:29 +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
c94e9feae2 Fix to work with new GPUI. 2024-07-31 10:12:26 +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
Renamed from crates/ui/src/input/input_otp.rs (Browse further)