Skip to content

Releases

v0.0.0-alpha.5

v0.0.0-alpha.5 Pre-release
Pre-release

Choose a tag to compare

@lrstanley lrstanley released this 14 Nov 22:24
v0.0.0-alpha.5
3ac93f8

✨ Highlights

  • Fitted layers measure at their fixed size: a layer with one side fixed and the other fitted to its content,
    such as Layer(dialog).Size(40, 0), now measures its content at that fixed size. Before, it measured at the
    overlay's full size, so a component saw the screen's width in Context.Width, and text that wraps got a height too
    short for the width it was drawn at, cutting off its last rows.

Changelog

🐞 Bug Fixes

Full changelog: v0.0.0-alpha.4...v0.0.0-alpha.5

📦 Install

go get bloomfx.dev/bloom@v0.0.0-alpha.5

Docs: bloomfx.dev/bloom

💬 What to do next?

v0.0.0-alpha.4

v0.0.0-alpha.4 Pre-release
Pre-release

Choose a tag to compare

@lrstanley lrstanley released this 14 Nov 07:55
v0.0.0-alpha.4
146f9f6

✨ Highlights

  • Floating layers: Layer(menu).Float() places and draws a layer against the whole screen rather than the
    overlay it's declared in, so a dropdown inside a dialog or a form row isn't cut off at its edge. It's still part of
    what it's declared in: anchoring, on.ClickOutside, modal scopes, and focus treat it that way, and it's drawn over
    the dialog it's in. See the new dropdowns example.
  • Anchored layers flip: a layer anchored with AnchorTo that doesn't fit on the side asked for goes on the
    opposite one when it fits there, such as a dropdown opening above its field near the bottom of the screen. A corner
    flips each way on its own, and Offset is mirrored with it. A component in the layer reads the side it went on from
    Context.Side.

⚠️ Behavior changes

  • Anchored layers flip by default. One that fits on neither side is shifted over its node, as before.

Changelog

✨ New Features

  • b1d1c13: layers: float a layer past its overlay, and flip anchored ones (@lrstanley)

🧹 Misc

1 change
  • df1f716: move viewport text, selection, and memo internals out of root (@lrstanley)

Full changelog: v0.0.0-alpha.3...v0.0.0-alpha.4

📦 Install

go get bloomfx.dev/bloom@v0.0.0-alpha.4

Docs: bloomfx.dev/bloom

💬 What to do next?

v0.0.0-alpha.3

v0.0.0-alpha.3 Pre-release
Pre-release

Choose a tag to compare

@lrstanley lrstanley released this 13 Nov 00:53
v0.0.0-alpha.3
3524dbb

✨ Highlights

  • MinSize: bloom.MinSize(w, h, child) draws child when it has at least w×h cells, and otherwise a
    short centered note, such as "window too small, min 80x24".
  • Braille backdrop: fx.Braille redraws everything beneath a layer as gray braille dots that follow the shape of
    what was there, turning cells to dots in a scattered order as the layer enters.
  • Scrollbar hover styles: HoverStyle sets how a scrollbar looks while the pointer is over it or it's being
    dragged. Without one, it looks the same as it does otherwise.

⚠️ Breaking changes

  • ScrollbarNode.Thumb and ScrollbarNode.Track are replaced by Style(bloom.ScrollbarStyle{...}), which takes the
    glyph and style of both the thumb and the track. For example, .Thumb("┃", s) becomes
    .Style(bloom.ScrollbarStyle{Thumb: "┃", ThumbStyle: s}).

Changelog

✨ New Features

🐞 Bug Fixes

📚 Documentation

🧹 Misc

📦 Dependency Updates

Full changelog: v0.0.0-alpha.2...v0.0.0-alpha.3

📦 Install

$ go get bloomfx.dev/bloom@v0.0.0-alpha.3

💬 What to do next?