github varabyte/kobweb v0.9.10

latest releases: v0.24.0, v0.23.3, v0.23.2...
pre-release4 years ago

An overall small update, but the Gradle bugfix around input / output files makes it worth releasing.

Frontend

  • Fixed a bug with transparency not working when using Silk colors
    • That is, Color.rgba(255, 0, 0, 128) would just become red, not half-transparent red.
  • (Experimental) Added support for adding extra modifiers to a component style directly, as a way to accommodate attribute modifiers which are not otherwise allowed in that scope.
    • Before:
         val ButtonStyle = ComponentStyle("my-button") { ... }
         ...
      
         // Set tab index so this element can receive keyboard focus
         Button(ButtonStyle.toModifier().tabIndex(0)
      
    • After:
       val ButtonStyle = ComponentStyle("my-button") { ... }
          + Modifier.tabIndex(0) // Set tab index so this element can receive keyboard focus
          
       ...
       Button(ButtonStyle.toModifier())
      

Gradle

  • Updated the "generate site" tasks so that files they output no longer makes those tasks think that they need to run again
  • Updated task listener logic so that the code is less fragile allowing the "Building..." indicator to show up more consistently

Don't miss a new kobweb release

NewReleases is sending notifications on new releases.