Skip to content

3.0.0

Latest
Compare
Choose a tag to compare
@tevelee tevelee released this 19 Dec 16:32
· 1 commit to main since this release
3.0.0
860e93e
  • Flexibility behavior: new .flexibility(.natural) modifier with 3 options: .minimum, .natural, and .maximum.
    • Minimum mode creates a rigid view taking as little space as possible.
    • Natural mode expands the same way it would outside of the flow layout.
    • Maximum mode expands and takes as much space as possible, even push itself out to create a whole new line.
  • Manual line break support: new LineBreak() view and .startInNewLine() modifier.
  • Justified argument: breaking change. This was previously an enum with 3 cases, now it's simplified to a single boolean. It became more powerful with the introduction of flexibility behaviors.