Skip to content

9.1.0

Compare
Choose a tag to compare
@danielsaidi danielsaidi released this 30 Jan 15:54
· 1 commit to master since this release

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 new keyboardDockEdge that enables keyboard docking.
  • Keyboard.SpaceLongPressBehavior has a new .moveInputCursorWithLocaleSwitcher.
  • KeyboardContext has new enabledLocales that usess addedLocales or locales.
  • KeyboardView can now docks to any horizontal edge, if keyboardDockEdge is set.
  • KeyboardView now automatically augments emoji keyboard styles for input toolbars.
  • Locale has a new shortDisplayName 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 define bundleId and keyboardBundleId.
  • KeyboardLayout & BaseLayoutService removes number 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 custom emojiKeyboard 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 to Keyboard.
  • KeyboardLayout.ipadProLayout has been renamed to isIpadProLayout.