Skip to content

v0.1.2

Choose a tag to compare

@CoreyKaylor CoreyKaylor released this 17 Jul 16:21
· 21 commits to main since this release

This release aligns Artboard frame bodies with IDE Compose @Preview host semantics so preview-only branches work the same on the board as in Android Studio and IntelliJ.

What’s new

• Preview frame bodies set LocalInspectionMode to true, matching Compose tooling.
• Consumer code that already switches on inspection mode—sample drawables instead of network images, placeholders, skipped side effects—behaves correctly in the gallery without host-specific workarounds.
• New PreviewFrameEnvironment wraps each frame body with system theme, inspection mode, and locale layout direction.
• Gallery chrome (toolbar, board, menus) stays outside inspection mode so the host remains a normal interactive UI.
• README documents the preview environment contract.

Upgrade

plugins {
    id("io.github.crowded-libs.artboard") version "0.1.2"
}

No consumer source changes or additional dependencies are required. If your previews already use LocalInspectionMode for samples or placeholders, they should start working on the board after the version bump alone.