Skip to content

v0.3.0

Choose a tag to compare

@lbb00 lbb00 released this 11 Sep 12:47
· 15 commits to main since this release
c881dc2

Added

  • @devicekit/frame: add interaction-mode (mobile, mobile-no-touch, desktop, desktop-touch) for touch or mouse preview affordances, including the frame demo control and React prop. Default mobile now shows a centered touch-ring cursor over the screen, where previous releases used the normal cursor.
  • @devicekit/devices: bundled profiles now include releaseYear, and the preset exports use PresetDeviceProfile so selectors can sort models chronologically without handling a missing year.
  • @devicekit/devices and @devicekit/frame: add iPhone 18 Pro, iPhone 18 Pro Max, and beta iPhone Duo inner/outer profiles with foldable geometry, orientation-aware camera cutouts, Duo status chrome, and 1:1 CSS scaling in the frame demo.
  • @devicekit/frame: rebuild the hosted demo with Astro, with a static page, canonical URL and JSON-LD for every device profile, plus sitemap and robots routes.

Changed

  • @devicekit/frame: sort each demo device group by release year, newest first, and select iPhone 18 Pro by default.
  • @devicekit/devices and @devicekit/frame: render separate iOS, stock Android, Samsung, HyperOS and HarmonyOS status-bar typography, spacing and project-owned glyph masks. The frame demo applies the matching UI family and profile system version to its Light/Dark preview chrome.

Fixed

  • @devicekit/frame: shells with asymmetric bezel insets now derive concentric per-corner radii without overriding an explicit bodyRadius.