Releases: wykeenjenga/KitoFields
Releases · wykeenjenga/KitoFields
Release list
1.5.0
KitoFormController: validate a whole form, focus the first failure.
KitoCodeField.showsCaret(:) / .digitFont(:).
KitoCodeField.clearsOnError(after:), KitoResendCodeButton.
Fix .circle/.rounded flags leaving a gap around the artwork.
1.4.0
Password requirement checklist and strength meter customization (styles, icons, colours, scorer, strict rules). FocusState<V?> focus overload for building multi-field forms. Configurable error icon and separate error icon/text fonts.
1.3.0
Highlights
- New fields: name, username with async availability check, search, URL, text area, number, currency, date, card number / expiry / CVV with brand detection and Luhn, select (sheet or menu), country field with flag styles and currency data.
- Phone: defaults to the United States;
.defaultCountry(.deviceRegion)follows the device. Country picker with Recent and Suggested chips, recent searches, Your region, A–Z sections and ranked accent-insensitive search. - Error presentation: inline, floating bubble (space-aware, never covers the input), bubble while focused, or none.
- Animated icons that swap, bounce, wiggle or pulse with focus, error and success; animated password lock.
- Soft/hard character caps, masked digit input on the UIKit-backed field, email typo suggestions.
- Localization: English, Swahili and French for every built-in string, with a provider hook.
- Reduce Motion support. Platforms: tvOS 15, watchOS 8, visionOS 1 alongside iOS 15 and macOS 12, all verified on CI.
- Example app: 87-sample gallery with copyable code, About screen, app icon, language switcher.
Install
.package(url: "https://github.com/wykeenjenga/KitoFields.git", from: "1.3.0")pod 'KitoFields', '~> 1.3'1.1.2
Fixes
- Confirm-password matching:
mustMatchnow takes a Binding (.mustMatch($password)) or a closure, so identical passwords validate correctly. - Phone field on iOS is backed by a UITextField that formats inside the keystroke delegate; fast or hardware-keyboard typing never loses digits and the caret stays after the last typed digit.
- Text fields defer transform/character-limit rewrites so keystrokes are not overwritten.
Docs
- README screenshots, animation GIF and step-by-step installation.
1.1.1
CocoaPods podspec and Swift Package Index metadata.