Skip to content

v0.1.22

Choose a tag to compare

@lipish lipish released this 02 Nov 04:43
· 16 commits to main since this release

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