Skip to content

v0.11.10

Pre-release
Pre-release
Compare
Choose a tag to compare
@bitspittle bitspittle released this 12 Feb 02:02
· 1679 commits to main since this release

This is a fairly small collection of miscellaneous, quality of life features and fixes.

Silk

  • Add missing modifiers for all remaining events (e.g. touch events, clipboard events)
  • Add a strongly-typed API for transitions
    • Before: transition("opacity 1s, color 2s"), after: transition(CSSTransition("opacity", 1.s), CSSTransition("color", 2.s))
    • Also, you can create a transition group: transition(*CSSTransition.group(listOf("opacity", "color", "background-color"), 1.s, Ease) if you want to apply the same transition values to multiple properties.
    • The provided API is now very similar to animations.
  • You can now set margin and padding modifiers on Tooltips, and the tooltip arrow will no longer be separated from the shifting content.
  • Tweaked the AnimatedColorSurfaceVariant recursive CSS logic to work just as well (as far as initial tests indicate) while being more selective in which children they affect.
    • This variant would previously interfere with users who were trying to use transitions on their own elements. It could still happen if you're adding a transition to a div, but all other elements are now excluded.

Backend

  • If any API route throws any sort of exception when a server is running in dev mode, it will be sent to and printed on the client in the console window.
    kobweb-server-crash-message