Release v0.1.22
π Password Masking Modes
Added - TextInput Password Masking
- Password Mask Modes π
PasswordMaskMode::All - Mask all characters with bullets (β’) (default)
PasswordMaskMode::Partial - Show first and last few characters, mask the middle
- Example: Password
f26612345678944u9 displays as f2β’β’β’β’β’β’β’β’β’β’β’β’β’β’44u9 with prefix_len=2, suffix_len=2
- New method
.password_mask_mode() to set masking mode
- New method
.toggle_password_visibility() to toggle password visibility programmatically
- New method
.show_password() to set initial password visibility state
- All password masking logic properly handles cursor positioning, text selection, and mouse interactions
π Documentation Improvements
Improved - Documentation
- Comprehensive Rustdoc Documentation π
- Added detailed documentation comments (all in English) for all TextInput methods
- Added extensive examples and usage guides for each method
- Improved documentation for
PasswordMaskMode enum with examples
- Enhanced
TextInputEvent documentation with detailed explanations
- Complete API documentation now available on docs.rs
π¦ Installation
[dependencies]
fluix = "0.1.22"
π Links