github varabyte/kobweb v0.13.5

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

The biggest feature to be excited about in this release is probably the new Silk Switch widget. (Thanks @stevdza-san for his contribution!! 🎉 )

However, this release also contains a fair number of miscellaneous fixes (and docs cleanup) as well.

Frontend

  • Various fixes to the background modifier
    • Blend mode support.
    • Support for separate horizontal and vertical repeat modes.
  • Fixed a poorly designed "extent" parameter in radial gradients.
    • extent should have been part of the gradient's size instead of a separate parameter.
      // Before:
      radialGradient(Ellipse, extent = ClosestSide)
      // After:
      radialGradient(Ellipse(ClosestSide))
  • New isolation Modifier
    • Can occasionally be useful if you are having issues with how browsers blend transparent layers into each other.
  • Added weight modifiers for rows and columns
    • e.g. Row { Box(Modifier.weight(1)); Box(Modifier.weight(0.5)); Box(Modifier.weight(1)) }
    • This is essentially a convenience modifier provided for Android devs who might be familiar with it. It delegates to flexGrow behind the scenes.

Silk

  • New switch widget, supporting multiple sizes and (not shown here) color schemes
    silk-switch
  • Improved tooltip / popover behavior when the element it is attached to moves

Gradle

  • Allow users to specify a custom location for the favicon path
    kobweb {
      app {
        index {
          faviconPath("/logo.png")
        }
      }
    }

Markdown

  • Fixed a compile error you'd get when using void tags (e.g. <br>, <hr>, which don't need closing tags and never have a body)
  • Fixed a compile error you'd get when using escaped quotes in the frontmatter block
    • For example, this used to cause problems:
      title: "Deploying to the Cloud using \"Render\" Web Services"

Don't miss a new kobweb release

NewReleases is sending notifications on new releases.