Skip to content

Releases: JD557/interim

v0.2.0

18 May 19:13
Compare
Choose a tag to compare

This release of InterIm drops support for Scala Native 0.4 in favor of 0.5.

Also, everything is delayed by 1 frame in order to avoid some nasty issues. See #72 for more context.

This release adds the concept of implicit layouts/layout allocators, so now most components can be created without an explicit area.

New Features

Changes/Refactorings

  • Add a scratch state in the UI context. All operations are delayed by one frame to ensure consistency (#109)
  • Update Scala Native to 0.5 (#110)
  • Add a defaultLabel to select instead of undefinedFirstValue (#116)
  • Move some definitions outside of the api package (#119)

Bug fixes

  • Buttons below windows are no longer pressed accidentally (#109)

Other

  • Add tutorials to the microsite (#98)
  • Replace using lib with using dep in the examples (#102)

v0.1.6

15 Jan 09:30
Compare
Choose a tag to compare

New Features

  • Add undefinedFirstValue option to select (#87)
  • Add ComponentWithBody abstraction (#90)

Changes/Refactorings

  • Simplify skins color scheme (#88)

Bug fixes/Improvements

  • Fix slider positioning (#86, #89)

Other

  • Improve the example Minart backend (#94)

v0.1.5-1

18 Nov 17:34
Compare
Choose a tag to compare

Note: Release v0.1.5 is broken. Use v0.1.5-1 instead.

New Features

  • Add resizable windows (#62, #63)
  • Add mouse area layout (#64)
  • Add Rect#centerAt (#67)
  • Add clicked helper methods (#70)
  • Add rectangleOutline primitive (#74)
  • Add Ref#modifyRefs (#77)

Changes/Refactorings

  • Track historical input states (#61)
  • Make ComponentWithValue easier to implement (#73)
  • Make mouse position optional (#75)
  • Adjust color scheme (#80)

Bug fixes/Improvements

  • Fix window closing delay (#71)
  • Fix division by zero in sliders (#76)

Other

  • Improve the example Minart backend (#66, #81)

v0.1.4

14 Aug 20:29
Compare
Choose a tag to compare

This release adds many breaking changes to make the code easier to write.
It also includes some new components.

New features

  • Add withRefs/asRefs operations to destructure case classes (#33)
  • Adds a Font object to store font metadata (#38, #46)
  • Add Z-index operations and Z-sorting support (#40)
  • Add a select component (#41)
  • Add PanelState (#43)
  • Add new closable modifier to window (#43)

Changes

  • Make ComponentWithValue#apply take an union as argument (#35)
  • Replace Ref#value, Ref.get/Ref.set/Ref.modifywithRef#get/Ref#:=/Ref#modify` (#36)
  • Rename UiState to UiContest (#39)
  • Rename keyboardFocus to selected (#42)
  • Move extension methods to the interim package (#44)

Other

Setup microsite (#45)

v0.1.3

23 Jul 18:49
Compare
Choose a tag to compare

This release brings multiple improvements and fixes to the text layout.

New features

  • Added radioButton component (#29)
  • Added Ref.withRef and Ref.asRef operations (#29)
  • Improved text layout (breaks lines on spaces if possible) (#26, #27)

Bug fixes

  • Fix horizontal layout (#21)
  • Avoid runtime errors when using Ref (#30)

v0.1.2

08 Jul 22:20
Compare
Choose a tag to compare

Note: Release v0.1.1 is broken. This version is the same, but republished.

This release adds a new clip operation, a cleaner style and multiple bugfixes

New features

  • New clip operation (#14)
  • New Ref abstraction (#16)
  • Add Rect#isEmpty and Rect#intersect (#14)

Changes

  • RenderOp is now encoded as a sealed trait (#15)
  • Updated default skin (#17)
  • Change DefaultSkin[Skin] to DefaultSkin {type Default} (#2)

Bug fixes

  • Fix division by zero on empty layouts (#14)

v0.1.1

08 Jul 18:32
Compare
Choose a tag to compare

Note: This release is broken. Use v0.1.2 instead.

This release adds a new clip operation, a cleaner style and multiple bugfixes

New features

  • New clip operation (#14)
  • New Ref abstraction (#16)
  • Add Rect#isEmpty and Rect#intersect (#14)

Changes

  • RenderOp is now encoded as a sealed trait (#15)
  • Updated default skin (#17)
  • Change DefaultSkin[Skin] to DefaultSkin {type Default} (#2)

Bug fixes

  • Fix division by zero on empty layouts (#14)

v0.1.0

11 Jun 09:32
Compare
Choose a tag to compare

Initial release of the library 🚀

Features

Primitives and Components

  • Rectangles
  • Text
  • Buttons
  • Checkboxes
  • Sliders
  • Text Input
  • Movable components (including windows)

Layouts

  • Grid based
  • Row based (equally sized or dynamically sized)
  • Column based (equally sized or dynamically sized)

Skins

  • Configurable skins for all components
  • Light and dark mode