Skip to content

v0.1.0

Pre-release
Pre-release

Choose a tag to compare

@apadmi-github-releaseplease apadmi-github-releaseplease released this 22 Oct 09:52
fc539e8

0.1.0 (2026-10-22)

⚠ BREAKING CHANGES

  • panelItems, panelTitle, panelIcon and isAttributionVisible are removed from DeviceWithConfigurationView and ConfigurationView. Pass panel instead:
    • panelItems = listOf({ A() }) -> panel = { defaults(); item { A() } }
    • panelTitle / panelIcon -> panel = { defaults { header.title = ...; header.icon = { ... } } }
    • isAttributionVisible = false -> panel = { defaults { attribution.isVisible = false } }
  • DeviceConfiguration has a new language field, which changes its constructor, copy and componentN.
  • the entries of DeviceKind, DeviceType, Backdrop, DeviceOrientation and Appearance are renamed, such as Backdrop.DARK to Backdrop.Dark and DeviceType.IOS to DeviceType.Ios.
  • DeviceConfiguration.isPortrait and isDarkMode are replaced by orientation: DeviceOrientation and appearance: Appearance. ConfigurationView takes initialSimulatedDevice and initialPreviewSettings, which its reset button returns to, so the button now resets the device too and goes back to the host's initial values rather than the library defaults. DeviceWithConfigurationView takes isPersistenceEnabled, on by default.

Features

  • keep settings in the URL and across reloads (#27) (94b5c2e)
  • language switcher localization bbd91c (#32) (aa75727)
  • panel customisation (#33) (02d816d)
  • refactor all enums to be pascal case (#29) (c5ecdb2)
  • save screenshots of the device on desktop (#30) (b33e851)