9.1.0
Important
This version removes the KeyboardKit 8 migration support! Migrate to the last 9.0 version before updating to 9.1 or later.
This version makes it easier to set up a custom KeyboardApp
, by removing the need to specify the application bundleId
.
This version makes it possible to dock the keyboard to the leading or trailing edge, to simplify one handed typing on iPhone.
This version makes it possible to add a locale context menu directly to the spacebar, instead of using an extra keyboard key.
✨ Features
Keyboard.DockEdge
is a new enum that can be used to enable keyboard docking.Keyboard.Settings
has a newkeyboardDockEdge
that enables keyboard docking.Keyboard.SpaceLongPressBehavior
has a new.moveInputCursorWithLocaleSwitcher
.KeyboardContext
has newenabledLocales
that usessaddedLocales
orlocales
.KeyboardView
can now docks to any horizontal edge, ifkeyboardDockEdge
is set.KeyboardView
now automatically augments emoji keyboard styles for input toolbars.Locale
has a newshortDisplayName
that returns the language code or identifier.View
has a new.keyboardDockEdge(...)
modifier, which can apply a custom value.
👑 Pro
EmojiKeyboard
now renders a lot better for more device types.Emoji.KeyboardMenu
now gets a style builder from the environment.iPadProLayoutService
now renders URL and email keyboard keys better.
💡 Adjustment
- Many types now conform to
Codable
,Sendable
and other essential protocols. - Upper-case shift and caps-lock has adjusted, default idle colors in dark mode.
KeyboardApp
no longer needs you to definebundleId
andkeyboardBundleId
.KeyboardLayout
&BaseLayoutService
removesnumber
from input toolbar naming.
🇪🇸 Localization
- All emojis and emoji catetegories have been localized in Spanish.
🐛 Bug Fixes
Keyboard.KeyboardType.URL
now renders input keys and bottom actions correctly.KeyboardView
doesn't remove the emoji key if a customemojiKeyboard
is used.
📄 Documentation
- The documentation has been updated with more information and examples.
🗑️ Deprecations
- All migration deprecations have been removed.
Gestures
space models have been moved toKeyboard
.KeyboardLayout.ipadProLayout
has been renamed toisIpadProLayout
.